ref: refs/heads/ma-misc
commit 7af06e257146821d3bc38c039bac7fb863d1d933
Author: Michael Andres
Date: Mon Jul 27 15:28:22 2009 +0200
Print satsolver version (runtime/compiletime).
---
zypp/ZConfig.cc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/zypp/ZConfig.cc b/zypp/ZConfig.cc
index 6dc5900..8a2cebe 100644
--- a/zypp/ZConfig.cc
+++ b/zypp/ZConfig.cc
@@ -724,7 +724,12 @@ namespace zypp
std::ostream & ZConfig::about( std::ostream & str ) const
{
str << "libzypp: " << VERSION << " built " << __DATE__ << " " << __TIME__ << endl;
- str << "satsolver: " << SATSOLVER_VERSION_STRING << endl;
+
+ str << "satsolver: " << sat_version;
+ if ( ::strcmp( sat_version, SATSOLVER_VERSION_STRING ) )
+ str << " (built against " << SATSOLVER_VERSION_STRING << ")";
+ str << endl;
+
str << "zypp.conf: '" << _pimpl->_parsedZyppConf << "'" << endl;
str << "TextLocale: '" << textLocale() << "' (" << defaultTextLocale() << ")" << endl;
str << "SystemArchitecture: '" << systemArchitecture() << "' (" << defaultSystemArchitecture() << ")" << endl;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org