[Lunar-commits] <moonbase> ntl: Tweaking the BUILD and adding a CONFIGURE you can choose to run the performance

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun Oct 9 15:18:36 CEST 2011


commit 50bccb095d7d866d0ca96e23166ec487d03d284b
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Oct 9 09:18:36 2011 -0400

    ntl: Tweaking the BUILD and adding a CONFIGURE you can choose to run the performance
    
    related flags of ntl.
---
 libs/ntl/BUILD     |    8 +++-----
 libs/ntl/CONFIGURE |    1 +
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/libs/ntl/BUILD b/libs/ntl/BUILD
index c56c103..f677344 100644
--- a/libs/ntl/BUILD
+++ b/libs/ntl/BUILD
@@ -2,11 +2,9 @@
 
   cd src  &&
 
-  ./configure PREFIX=/usr      \
-              NTL_STD_CXX=on   \
-              NTL_GMP_LIP=on   \
-              SHARED=on        \
-              $OPTS           &&
+  OPTS+=" DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on SHARED=on" &&
+
+  ./configure $OPTS &&
 
   default_make
 
diff --git a/libs/ntl/CONFIGURE b/libs/ntl/CONFIGURE
new file mode 100644
index 0000000..39b9ddd
--- /dev/null
+++ b/libs/ntl/CONFIGURE
@@ -0,0 +1 @@
+mquery RUN_WIZ "Automagically set some performace related flags in config.h?" n "WIZARD=on" "WIZARD=off"


More information about the Lunar-commits mailing list