Author: wyoung
Date: Thu Mar  2 09:13:01 2006
New Revision: 1188

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1188&view=rev
Log:
Made multiple option parsing in bootstrap script more general

Modified:
    branches/v2.1-bakefile/bootstrap

Modified: branches/v2.1-bakefile/bootstrap
URL: 
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/bootstrap?rev=1188&r1=1187&r2=1188&view=diff
==============================================================================
--- branches/v2.1-bakefile/bootstrap (original)
+++ branches/v2.1-bakefile/bootstrap Thu Mar  2 09:13:01 2006
@@ -1,17 +1,17 @@
 #!/bin/sh
 
 ARGS=1
-OPT_EXAMPLES=
+BF_OPTIONS=
 while [ $ARGS != 0 ]
 do
        case "$1" in
-               pedantic)
-                       export CXXFLAGS="-g -O2 -ansi -pedantic -Wall -W 
-Wold-style-cast -Wfloat-equal -Wwrite-strings -Woverloaded-virtual 
-Wno-long-long"
+               noexamples)
+                       BF_OPTIONS="-DEXAMPLES=no $BF_OPTIONS"
                        shift
                        ;;
 
-               noexamples)
-                       OPT_EXAMPLES="-DEXAMPLES=no"
+               pedantic)
+                       export CXXFLAGS="-g -O2 -ansi -pedantic -Wall -W 
-Wold-style-cast -Wfloat-equal -Wwrite-strings -Woverloaded-virtual 
-Wno-long-long"
                        shift
                        ;;
 
@@ -24,7 +24,7 @@
 rm -f config.cache
 set -x
 
-./rebake $OPT_EXAMPLES &&
+./rebake $BF_OPTIONS &&
        aclocal -I config -I /usr/local/share/aclocal &&
        autoheader &&
        autoconf &&


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to