[Lunar-commits] r16935 - moonbase/trunk/libs/ncurses

Moritz Heiber moe at lunar-linux.org
Thu Oct 13 23:04:07 UTC 2005


Author: moe
Date: 2005-10-13 23:04:05 +0000 (Thu, 13 Oct 2005)
New Revision: 16935

Modified:
   moonbase/trunk/libs/ncurses/BUILD
   moonbase/trunk/libs/ncurses/CONFIGURE
Log:
I hate old cruft. mquery'ed the CONFIGURE. Adjusted BUILD
accordingly.



Modified: moonbase/trunk/libs/ncurses/BUILD
===================================================================
--- moonbase/trunk/libs/ncurses/BUILD	2005-10-13 21:40:23 UTC (rev 16934)
+++ moonbase/trunk/libs/ncurses/BUILD	2005-10-13 23:04:05 UTC (rev 16935)
@@ -1,5 +1,17 @@
 (
+  if [ $WITH_DEBUG == "y" ]; then
+    OPTS="$OPTS --with-debug"
+  else
+    OPTS="$OPTS --without-debug"
+  fi;
 
+  if [ $WITH_PROFILING == "y" ]; then
+    OPTS="$OPTS --with-profile"
+  else
+    OPTS="$OPTS --without-profile"
+  fi;
+
+
 # ************************ WARNING *************************
 # DO NOT MESS WITH THE CONFIGURE STUFF here unless you
 # really know what you're doing! We chose the lib location

Modified: moonbase/trunk/libs/ncurses/CONFIGURE
===================================================================
--- moonbase/trunk/libs/ncurses/CONFIGURE	2005-10-13 21:40:23 UTC (rev 16934)
+++ moonbase/trunk/libs/ncurses/CONFIGURE	2005-10-13 23:04:05 UTC (rev 16935)
@@ -1,19 +1,2 @@
-if  !  grep  -q  CONFIGURED  $MODULE_CONFIG;  then
-
-  if    query  "Do you want to install debug libraries ?" n
-  then
-      OPTS=$OPTS" --with-debug"
-  else
-      OPTS=$OPTS" --without-debug"
-  fi
-
-  if    query  "Do you want to install profiling libraries ?" n
-  then
-      OPTS=$OPTS" --with-profile"
-  else
-      OPTS=$OPTS" --without-profile"
-  fi
-
-  echo  OPTS=\"$OPTS\"    >>  $MODULE_CONFIG
-  echo  'CONFIGURED="y"'  >>  $MODULE_CONFIG
-fi
+mquery WITH_DEBUG "Do you want to install debug libraries ?" n
+mquery WITH_PROFILING "Do you want to install profiling libraries ?" n



More information about the Lunar-commits mailing list