Changeset 710 for trunk/configure
- Timestamp:
- Jul 26, 2007 8:40:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r640 r710 477 477 ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas" 478 478 ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack" 479 ac_subdirs_all="$ac_subdirs_all ThirdParty/Glpk" 479 480 ac_subdirs_all="$ac_subdirs_all CoinUtils" 480 481 ac_subdirs_all="$ac_subdirs_all Data/Netlib" … … 487 488 ac_subdirs_all="$ac_subdirs_all Cgl" 488 489 ac_subdirs_all="$ac_subdirs_all Cbc" 490 ac_subdirs_all="$ac_subdirs_all SYMPHONY" 489 491 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS subdirs COIN_SKIP_PROJECTS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 490 492 ac_subst_files='' … … 1712 1714 case "${enableval}" in 1713 1715 yes) coin_debug_compile=true 1714 enable_shared=no 1716 if test "${enable_shared+set}" = set; then :; else 1717 enable_shared=no 1718 fi 1715 1719 ;; 1716 1720 no) coin_debug_compile=false … … 2650 2654 cl* | */cl* | CL* | */CL*) 2651 2655 coin_opt_cflags='-MT -O2' 2652 coin_add_cflags='-nologo -wd4996 '2656 coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE' 2653 2657 coin_dbg_cflags='-MTd' 2654 2658 ;; … … 3385 3389 fi 3386 3390 3391 # It seems that we need to cleanup something here for the Windows 3392 case "$CXX" in 3393 cl* | */cl* | CL* | */CL* ) 3394 sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh 3395 mv confdefs.hh confdefs.h 3396 ;; 3397 esac 3398 3387 3399 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 3388 3400 case "$CXX" in … … 3485 3497 # The MT and MTd options are mutually exclusive 3486 3498 coin_opt_cxxflags='-MT -O2' 3487 coin_add_cxxflags='-nologo -EHsc -GR -wd4996 '3499 coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE' 3488 3500 coin_dbg_cxxflags='-MTd' 3489 3501 ;; … … 3830 3842 *-cygwin* | *-mingw*) 3831 3843 if test "$enable_doscompile" = msvc ; then 3832 coin_f77_comps="ifort fl32 "3844 coin_f77_comps="ifort fl32 compile_f2c" 3833 3845 else 3834 coin_f77_comps="gfortran g77 ifort fl32 "3846 coin_f77_comps="gfortran g77 ifort fl32 compile_f2c" 3835 3847 fi ;; 3836 3848 sparc-sun-solaris*) … … 4007 4019 4008 4020 # Provide some information about the compiler. 4009 echo "$as_me:40 09:" \4021 echo "$as_me:4021:" \ 4010 4022 "checking for Fortran 77 compiler version" >&5 4011 4023 ac_compiler=`set X $ac_compile; echo $2` … … 4225 4237 coin_add_fflags='-fpp -nologo -MT' 4226 4238 coin_dbg_fflags='-debug' 4239 ;; 4240 compile_f2c*) 4241 coin_opt_fflags='-MT -O2' 4242 coin_add_fflags='-nologo -wd4996' 4243 coin_dbg_fflags='-MTd' 4227 4244 ;; 4228 4245 esac … … 5518 5535 correct_version='1.5.22' 5519 5536 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 5520 as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh` 5521 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5 5522 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6 5523 if eval "test \"\${$as_ac_File+set}\" = set"; then 5524 echo $ECHO_N "(cached) $ECHO_C" >&6 5525 else 5526 test "$cross_compiling" = yes && 5527 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 5528 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 5529 { (exit 1); exit 1; }; } 5530 if test -r "$want_dir/libtool/ltmain.sh"; then 5531 eval "$as_ac_File=yes" 5532 else 5533 eval "$as_ac_File=no" 5534 fi 5535 fi 5536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 5537 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 5538 if test `eval echo '${'$as_ac_File'}'` = yes; then 5537 if test -r $want_dir/libtool/ltmain.sh; then 5539 5538 have_ltmain=yes 5539 : 5540 5540 else 5541 5541 have_ltmain=no 5542 : 5542 5543 fi 5543 5544 … … 5570 5571 want_dir=$AUTOTOOLS_DIR/share 5571 5572 fi 5572 as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh` 5573 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5 5574 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6 5575 if eval "test \"\${$as_ac_File+set}\" = set"; then 5576 echo $ECHO_N "(cached) $ECHO_C" >&6 5577 else 5578 test "$cross_compiling" = yes && 5579 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 5580 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 5581 { (exit 1); exit 1; }; } 5582 if test -r "$want_dir/aclocal/libtool.m4"; then 5583 eval "$as_ac_File=yes" 5584 else 5585 eval "$as_ac_File=no" 5586 fi 5587 fi 5588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 5589 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 5590 if test `eval echo '${'$as_ac_File'}'` = yes; then 5573 if test -r $want_dir/aclocal/libtool.m4; then 5591 5574 LIBTOOLM4="$want_dir/aclocal/libtool.m4" 5575 : 5592 5576 else 5593 5577 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5 5594 5578 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;} 5595 5579 { (exit 1); exit 1; }; } 5580 : 5596 5581 fi 5597 5582 … … 6279 6264 *-*-irix6*) 6280 6265 # Find out which ABI we are using. 6281 echo '#line 62 81"configure"' > conftest.$ac_ext6266 echo '#line 6266 "configure"' > conftest.$ac_ext 6282 6267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6283 6268 (eval $ac_compile) 2>&5 … … 8243 8228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8244 8229 -e 's:$: $lt_compiler_flag:'` 8245 (eval echo "\"\$as_me:82 45: $lt_compile\"" >&5)8230 (eval echo "\"\$as_me:8230: $lt_compile\"" >&5) 8246 8231 (eval "$lt_compile" 2>conftest.err) 8247 8232 ac_status=$? 8248 8233 cat conftest.err >&5 8249 echo "$as_me:82 49: \$? = $ac_status" >&58234 echo "$as_me:8234: \$? = $ac_status" >&5 8250 8235 if (exit $ac_status) && test -s "$ac_outfile"; then 8251 8236 # The compiler can only warn and ignore the option if not recognized … … 8511 8496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8512 8497 -e 's:$: $lt_compiler_flag:'` 8513 (eval echo "\"\$as_me:8 513: $lt_compile\"" >&5)8498 (eval echo "\"\$as_me:8498: $lt_compile\"" >&5) 8514 8499 (eval "$lt_compile" 2>conftest.err) 8515 8500 ac_status=$? 8516 8501 cat conftest.err >&5 8517 echo "$as_me:85 17: \$? = $ac_status" >&58502 echo "$as_me:8502: \$? = $ac_status" >&5 8518 8503 if (exit $ac_status) && test -s "$ac_outfile"; then 8519 8504 # The compiler can only warn and ignore the option if not recognized … … 8615 8600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8616 8601 -e 's:$: $lt_compiler_flag:'` 8617 (eval echo "\"\$as_me:86 17: $lt_compile\"" >&5)8602 (eval echo "\"\$as_me:8602: $lt_compile\"" >&5) 8618 8603 (eval "$lt_compile" 2>out/conftest.err) 8619 8604 ac_status=$? 8620 8605 cat out/conftest.err >&5 8621 echo "$as_me:86 21: \$? = $ac_status" >&58606 echo "$as_me:8606: \$? = $ac_status" >&5 8622 8607 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8623 8608 then … … 10960 10945 lt_status=$lt_dlunknown 10961 10946 cat > conftest.$ac_ext <<EOF 10962 #line 109 62"configure"10947 #line 10947 "configure" 10963 10948 #include "confdefs.h" 10964 10949 … … 11060 11045 lt_status=$lt_dlunknown 11061 11046 cat > conftest.$ac_ext <<EOF 11062 #line 110 62"configure"11047 #line 11047 "configure" 11063 11048 #include "confdefs.h" 11064 11049 … … 13404 13389 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13405 13390 -e 's:$: $lt_compiler_flag:'` 13406 (eval echo "\"\$as_me:13 406: $lt_compile\"" >&5)13391 (eval echo "\"\$as_me:13391: $lt_compile\"" >&5) 13407 13392 (eval "$lt_compile" 2>conftest.err) 13408 13393 ac_status=$? 13409 13394 cat conftest.err >&5 13410 echo "$as_me:13 410: \$? = $ac_status" >&513395 echo "$as_me:13395: \$? = $ac_status" >&5 13411 13396 if (exit $ac_status) && test -s "$ac_outfile"; then 13412 13397 # The compiler can only warn and ignore the option if not recognized … … 13508 13493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13509 13494 -e 's:$: $lt_compiler_flag:'` 13510 (eval echo "\"\$as_me:13 510: $lt_compile\"" >&5)13495 (eval echo "\"\$as_me:13495: $lt_compile\"" >&5) 13511 13496 (eval "$lt_compile" 2>out/conftest.err) 13512 13497 ac_status=$? 13513 13498 cat out/conftest.err >&5 13514 echo "$as_me:13 514: \$? = $ac_status" >&513499 echo "$as_me:13499: \$? = $ac_status" >&5 13515 13500 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13516 13501 then … … 15078 15063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15079 15064 -e 's:$: $lt_compiler_flag:'` 15080 (eval echo "\"\$as_me:150 80: $lt_compile\"" >&5)15065 (eval echo "\"\$as_me:15065: $lt_compile\"" >&5) 15081 15066 (eval "$lt_compile" 2>conftest.err) 15082 15067 ac_status=$? 15083 15068 cat conftest.err >&5 15084 echo "$as_me:150 84: \$? = $ac_status" >&515069 echo "$as_me:15069: \$? = $ac_status" >&5 15085 15070 if (exit $ac_status) && test -s "$ac_outfile"; then 15086 15071 # The compiler can only warn and ignore the option if not recognized … … 15182 15167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15183 15168 -e 's:$: $lt_compiler_flag:'` 15184 (eval echo "\"\$as_me:151 84: $lt_compile\"" >&5)15169 (eval echo "\"\$as_me:15169: $lt_compile\"" >&5) 15185 15170 (eval "$lt_compile" 2>out/conftest.err) 15186 15171 ac_status=$? 15187 15172 cat out/conftest.err >&5 15188 echo "$as_me:151 88: \$? = $ac_status" >&515173 echo "$as_me:15173: \$? = $ac_status" >&5 15189 15174 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15190 15175 then … … 17389 17374 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17390 17375 -e 's:$: $lt_compiler_flag:'` 17391 (eval echo "\"\$as_me:173 91: $lt_compile\"" >&5)17376 (eval echo "\"\$as_me:17376: $lt_compile\"" >&5) 17392 17377 (eval "$lt_compile" 2>conftest.err) 17393 17378 ac_status=$? 17394 17379 cat conftest.err >&5 17395 echo "$as_me:173 95: \$? = $ac_status" >&517380 echo "$as_me:17380: \$? = $ac_status" >&5 17396 17381 if (exit $ac_status) && test -s "$ac_outfile"; then 17397 17382 # The compiler can only warn and ignore the option if not recognized … … 17657 17642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17658 17643 -e 's:$: $lt_compiler_flag:'` 17659 (eval echo "\"\$as_me:176 59: $lt_compile\"" >&5)17644 (eval echo "\"\$as_me:17644: $lt_compile\"" >&5) 17660 17645 (eval "$lt_compile" 2>conftest.err) 17661 17646 ac_status=$? 17662 17647 cat conftest.err >&5 17663 echo "$as_me:176 63: \$? = $ac_status" >&517648 echo "$as_me:17648: \$? = $ac_status" >&5 17664 17649 if (exit $ac_status) && test -s "$ac_outfile"; then 17665 17650 # The compiler can only warn and ignore the option if not recognized … … 17761 17746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17762 17747 -e 's:$: $lt_compiler_flag:'` 17763 (eval echo "\"\$as_me:177 63: $lt_compile\"" >&5)17748 (eval echo "\"\$as_me:17748: $lt_compile\"" >&5) 17764 17749 (eval "$lt_compile" 2>out/conftest.err) 17765 17750 ac_status=$? 17766 17751 cat out/conftest.err >&5 17767 echo "$as_me:177 67: \$? = $ac_status" >&517752 echo "$as_me:17752: \$? = $ac_status" >&5 17768 17753 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17769 17754 then … … 20468 20453 { echo "$as_me:$LINENO: Build is \"$build\"." >&5 20469 20454 echo "$as_me: Build is \"$build\"." >&6;} 20455 mydos2unix='| dos2unix' 20470 20456 case $build in 20471 20457 *-mingw*) 20472 20458 CYGPATH_W=echo 20459 mydos2unix= 20473 20460 ;; 20474 20461 esac … … 20496 20483 -e 's%lib /OUT:%lib -OUT:%' \ 20497 20484 -e "s%cygpath -w%$CYGPATH_W%" \ 20498 -e 's%$AR x \\$f_ex_an_ar_oldlib%bla=\\`lib -nologo -list \\$f_ex_an_ar_oldlib | xargs echo \\`; echo \\$bla; for i in \\$bla; do lib -nologo -extract:\\$i \\$f_ex_an_ar_oldlib; done%' \20485 -e 's%$AR x \\$f_ex_an_ar_oldlib%bla=\\`lib -nologo -list \\$f_ex_an_ar_oldlib | xargs echo '"$mydos2unix"'\\`; echo \\$bla; for i in \\$bla; do lib -nologo -extract:\\$i \\$f_ex_an_ar_oldlib; done%' \ 20499 20486 -e 's/$AR t/lib -nologo -list/' \ 20500 20487 -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \ … … 20743 20730 fi 20744 20731 20732 echo "$as_me:$LINENO: checking whether code for third party package Glpk is available" >&5 20733 echo $ECHO_N "checking whether code for third party package Glpk is available... $ECHO_C" >&6 20734 coin_skip=no 20735 if test x"$COIN_SKIP_PROJECTS" != x; then 20736 for dir in $COIN_SKIP_PROJECTS; do 20737 if test $dir = ThirdParty/Glpk; then 20738 coin_skip=yes 20739 fi 20740 done 20741 fi 20742 if test $coin_skip = yes; then 20743 echo "$as_me:$LINENO: result: skipping" >&5 20744 echo "${ECHO_T}skipping" >&6 20745 else 20746 coin_tmp=`echo $srcdir/ThirdParty/Glpk/glpk/src/glplpx01.c` 20747 # There is probably a more elegant way to get the first thing out here... 20748 for i in $coin_tmp; do 20749 coin_tmp2=$i 20750 #break 1 20751 done 20752 if test -r $coin_tmp2; then 20753 coin_subdirs="$coin_subdirs ThirdParty/Glpk" 20754 echo "$as_me:$LINENO: result: yes" >&5 20755 echo "${ECHO_T}yes" >&6 20756 20757 20758 subdirs="$subdirs ThirdParty/Glpk" 20759 20760 else 20761 echo "$as_me:$LINENO: result: no" >&5 20762 echo "${ECHO_T}no" >&6 20763 fi 20764 fi 20765 20745 20766 20746 20767 ############################################################################# … … 21129 21150 21130 21151 21152 21153 echo "$as_me:$LINENO: checking whether directory SYMPHONY is available" >&5 21154 echo $ECHO_N "checking whether directory SYMPHONY is available... $ECHO_C" >&6 21155 coin_skip=no 21156 if test x"$COIN_SKIP_PROJECTS" != x; then 21157 for dir in $COIN_SKIP_PROJECTS; do 21158 if test $dir = SYMPHONY; then 21159 coin_skip=yes 21160 fi 21161 done 21162 fi 21163 if test $coin_skip = yes; then 21164 echo "$as_me:$LINENO: result: skipping" >&5 21165 echo "${ECHO_T}skipping" >&6 21166 elif test -r $srcdir/SYMPHONY/configure; then 21167 coin_subdirs="$coin_subdirs SYMPHONY" 21168 echo "$as_me:$LINENO: result: yes" >&5 21169 echo "${ECHO_T}yes" >&6 21170 21171 21172 subdirs="$subdirs SYMPHONY" 21173 21174 else 21175 echo "$as_me:$LINENO: result: no" >&5 21176 echo "${ECHO_T}no" >&6 21177 fi 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21131 21190 ############################################################################## 21132 21191 # Finishing up by writing all the output # … … 21139 21198 21140 21199 # Finally, we let configure write all the output... 21200 21201 21202 21203 21204 echo "$as_me:$LINENO: checking which command should be used to link input files" >&5 21205 echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6 21206 coin_link_input_cmd="$LN_S" 21207 if test "$enable_doscompile" = mingw; then 21208 coin_link_input_cmd=cp 21209 fi 21210 case "$CC" in 21211 cl* | */cl* | CL* | */CL*) 21212 coin_link_input_cmd=cp ;; 21213 esac 21214 echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5 21215 echo "${ECHO_T}$coin_link_input_cmd" >&6 21216 21217 21141 21218 21142 21219 if test x$coin_skip_ac_output != xyes; then … … 22613 22690 22614 22691 if test x"$coin_vpath_link_files" = x; then : ; else 22615 lnkcmd= 22616 if test "$enable_doscompile" = yes; then 22617 lnkcmd=cp 22618 fi 22619 case "$CC" in 22620 cl* | */cl* | CL* | */CL*) 22621 lnkcmd=cp ;; 22622 esac 22692 lnkcmd="$coin_link_input_cmd" 22623 22693 if test "$lnkcmd" = cp; then 22624 22694 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5 22625 22695 echo "$as_me: Copying data files for VPATH configuration" >&6;} 22626 22696 else 22627 echo "$as_me:$LINENO: checking whether ln -s works" >&522628 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&622629 LN_S=$as_ln_s22630 if test "$LN_S" = "ln -s"; then22631 echo "$as_me:$LINENO: result: yes" >&522632 echo "${ECHO_T}yes" >&622633 else22634 echo "$as_me:$LINENO: result: no, using $LN_S" >&522635 echo "${ECHO_T}no, using $LN_S" >&622636 fi22637 22638 22697 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5 22639 22698 echo "$as_me: Creating VPATH links for data files" >&6;} 22640 lnkcmd="$LN_S"22641 22699 fi 22642 22700 for file in $coin_vpath_link_files; do
Note: See TracChangeset
for help on using the changeset viewer.