dbertoni 02/05/05 22:34:06 Modified: c/src runConfigure Log: Implemented multiple compiler options. Revision Changes Path 1.8 +13 -5 xml-xalan/c/src/runConfigure Index: runConfigure =================================================================== RCS file: /home/cvs/xml-xalan/c/src/runConfigure,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- runConfigure 27 Nov 2001 14:29:43 -0000 1.7 +++ runConfigure 6 May 2002 05:34:06 -0000 1.8 @@ -58,6 +58,9 @@ # # # $Log: runConfigure,v $ +# Revision 1.8 2002/05/06 05:34:06 dbertoni +# Implemented multiple compiler options. +# # Revision 1.7 2001/11/27 14:29:43 dbertoni # Reverted previous changes. # @@ -108,6 +111,7 @@ echo " -r <thread option> can be 'pthread' or 'dce' (only used on HP-11)" echo " -l <extra linker options>" echo " -z <extra compiler options>" + echo " -C <any one extra configure options>" echo " -h (to get help on the above commands)" } @@ -167,8 +171,11 @@ linkeroption=$2; shift 2;; -z) - compileroption=$2; shift 2;; + compileroptions="$compileroptions $2"; shift 2;; + -C) + configureoptions="$configureoptions $2"; shift 2;; + -h) usage exit ${ERROR_EXIT_CODE};; @@ -182,9 +189,10 @@ echo "Platform: $platform" echo "C Compiler: $ccompiler" echo "C++ Compiler: $cppcompiler" -echo "Extra compile options: $compileroption" +echo "Extra compile options: $compileroptions" echo "Extra link options: $linkeroption" echo "Thread option: $thread" +echo "Extra configure options: $configureoptions" # @@ -269,10 +277,10 @@ # Set the extra C and C++ compiler flags # -CXXFLAGS="$compileroption $debugflag $transcodingDefines $threadingDefines" +CXXFLAGS="$compileroptions $debugflag $transcodingDefines $threadingDefines" export CXXFLAGS -CFLAGS="$compileroption $debugflag $transcodingDefines $threadingDefines" +CFLAGS="$compileroptions $debugflag $transcodingDefines $threadingDefines" export CFLAGS LIBS="$transcodingLibs $threadingLibs " @@ -283,7 +291,7 @@ rm -f config.cache rm -f config.log rm -f config.status -./configure +./configure $configureoptions echo echo If the result of the above commands look OK to you, go to the directory
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]