[complement-svn] SF.net SVN: complement: [1716] trunk/complement/explore/configure
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2007-08-30 15:44:49
|
Revision: 1716 http://complement.svn.sourceforge.net/complement/?rev=1716&view=rev Author: complement Date: 2007-08-30 08:44:47 -0700 (Thu, 30 Aug 2007) Log Message: ----------- fix environment variables traits; add env vars description to help message Modified Paths: -------------- trunk/complement/explore/configure Modified: trunk/complement/explore/configure =================================================================== --- trunk/complement/explore/configure 2007-08-30 14:35:47 UTC (rev 1715) +++ trunk/complement/explore/configure 2007-08-30 15:44:47 UTC (rev 1716) @@ -59,6 +59,14 @@ --enable-static build static --disable-shared don't build shared +Environment variables: + + \$CXX C++ compiler name (use --target= for cross-compilation) + \$CC C compiler name (use --target= for cross-compilation) + \$CXXFLAGS pass extra options to C++ compiler + + Options has preference over environment variables. + EOF } @@ -195,13 +203,12 @@ done if [ "$CXX" != "" ]; then - if [ "$target_set" != "" ]; then - echo "For cross-compilation with gcc use --target option only" - else - write_option "$CXX" _FORCE_CXX - fi if [ "$cxx_set" != "" ]; then echo "Both --with-cxx and \$CXX set, using the first" + elif [ "$target_set" = "" ]; then + write_option "$CXX" _FORCE_CXX + else + echo "For cross-compilation with gcc use --target option only" fi if [ "$CC" = "" ] && [ "$cc_set" = "" ]; then echo "\$CXX set, but I don't see \$CC!" @@ -211,6 +218,8 @@ if [ "$CC" != "" ]; then if [ "$cxx_set" != "" ]; then echo "Both --with-cc and \$CC set, using the first" + else + write_option "$CC" _FORCE_CC fi fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |