aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 11:17:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 11:17:17 +0000
commitd4ec805ae4a2b96f5b4a0c386cdc7c163060454a (patch)
tree4986660c89de8846b037b8262161a7dcde58e48b
parentb5b6b35d5970361f9aa971b85054456ec5aa5bf4 (diff)
downloadpaludis-d4ec805ae4a2b96f5b4a0c386cdc7c163060454a.tar.gz
paludis-d4ec805ae4a2b96f5b4a0c386cdc7c163060454a.tar.xz
Tinker with --version
-rw-r--r--src/paludis.cc16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/paludis.cc b/src/paludis.cc
index 8df9fe0..7101d2e 100644
--- a/src/paludis.cc
+++ b/src/paludis.cc
@@ -118,17 +118,23 @@ main(int argc, char *argv[])
cout << "Built by " << PALUDIS_BUILD_USER << "@" << PALUDIS_BUILD_HOST
<< " on " << PALUDIS_BUILD_DATE << endl;
cout << "CXX: " << PALUDIS_BUILD_CXX
-#ifdef __VERSION__
- << " " << __VERSION__
-#else
-# ifdef __ICC
+#if defined(__ICC)
<< " " << __ICC
-# endif
+#elif defined(__VERSION__)
+ << " " << __VERSION__
#endif
<< endl;
cout << "CXXFLAGS: " << PALUDIS_BUILD_CXXFLAGS << endl;
cout << "LDFLAGS: " << PALUDIS_BUILD_LDFLAGS << endl;
cout << "SYSCONFDIR: " << SYSCONFDIR << endl;
+ cout << "stdlib: "
+#if defined(__GLIBCXX__)
+ << "GNU libstdc++" << __GLIBCXX__
+#elif defined(__GLIBCPP__)
+ << "GNU libstdc++" << __GLIBCPP__
+#endif
+ << endl;
+
cout << "libebt: " << LIBEBT_VERSION_MAJOR << "." << LIBEBT_VERSION_MINOR
<< "." << LIBEBT_VERSION_MICRO << endl;
cout << endl;