[Lunar-commits] r22058 - moonbase/trunk/libs/libstdc++5
Auke Kok
sofar at lunar-linux.org
Sun Nov 5 00:41:47 CET 2006
Author: sofar
Date: 2006-11-05 00:41:47 +0100 (Sun, 05 Nov 2006)
New Revision: 22058
Modified:
moonbase/trunk/libs/libstdc++5/CONFIGURE
Log:
gcc-4.x compat
Modified: moonbase/trunk/libs/libstdc++5/CONFIGURE
===================================================================
--- moonbase/trunk/libs/libstdc++5/CONFIGURE 2006-11-04 23:37:35 UTC (rev 22057)
+++ moonbase/trunk/libs/libstdc++5/CONFIGURE 2006-11-04 23:41:47 UTC (rev 22058)
@@ -1,4 +1,5 @@
-if [ "$(installed_version gcc | cut -d. -f1-2)" != "3.4" ]; then
+if [ "$(installed_version gcc | cut -d. -f1-2)" != "3.4" ] &&
+ [ "$(installed_version gcc | cut -d. -f1)" != 4 ]; then
error_message "${PROBLEM_COLOR}This module can only be installed when you have gcc-3.4.x or higher!${DEFAULT_COLOR}"
error_message "${PROBLEM_COLOR}You do not need it when you have gcc-3.3.x${DEFAULT_COLOR}"
exit 1
More information about the Lunar-commits
mailing list