Changeset 1411 for ThirdParty/Metis/trunk/configure
- Timestamp:
- Sep 13, 2009 2:24:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Metis/trunk/configure
r1388 r1411 473 473 #endif" 474 474 475 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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC 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 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS METISDIR LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'475 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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC 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 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE METISDIR LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1084 1084 --with-tags[=TAGS] 1085 1085 include additional configurations [automatic] 1086 --with-metis specify flags to link with METIS library 1086 1087 1087 1088 Some influential environment variables: … … 4726 4727 *-*-irix6*) 4727 4728 # Find out which ABI we are using. 4728 echo '#line 472 8"configure"' > conftest.$ac_ext4729 echo '#line 4729 "configure"' > conftest.$ac_ext 4729 4730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4730 4731 (eval $ac_compile) 2>&5 … … 6325 6326 6326 6327 # Provide some information about the compiler. 6327 echo "$as_me:632 7:" \6328 echo "$as_me:6328:" \ 6328 6329 "checking for Fortran 77 compiler version" >&5 6329 6330 ac_compiler=`set X $ac_compile; echo $2` … … 7392 7393 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7393 7394 -e 's:$: $lt_compiler_flag:'` 7394 (eval echo "\"\$as_me:739 4: $lt_compile\"" >&5)7395 (eval echo "\"\$as_me:7395: $lt_compile\"" >&5) 7395 7396 (eval "$lt_compile" 2>conftest.err) 7396 7397 ac_status=$? 7397 7398 cat conftest.err >&5 7398 echo "$as_me:739 8: \$? = $ac_status" >&57399 echo "$as_me:7399: \$? = $ac_status" >&5 7399 7400 if (exit $ac_status) && test -s "$ac_outfile"; then 7400 7401 # The compiler can only warn and ignore the option if not recognized … … 7660 7661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7661 7662 -e 's:$: $lt_compiler_flag:'` 7662 (eval echo "\"\$as_me:766 2: $lt_compile\"" >&5)7663 (eval echo "\"\$as_me:7663: $lt_compile\"" >&5) 7663 7664 (eval "$lt_compile" 2>conftest.err) 7664 7665 ac_status=$? 7665 7666 cat conftest.err >&5 7666 echo "$as_me:766 6: \$? = $ac_status" >&57667 echo "$as_me:7667: \$? = $ac_status" >&5 7667 7668 if (exit $ac_status) && test -s "$ac_outfile"; then 7668 7669 # The compiler can only warn and ignore the option if not recognized … … 7764 7765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7765 7766 -e 's:$: $lt_compiler_flag:'` 7766 (eval echo "\"\$as_me:776 6: $lt_compile\"" >&5)7767 (eval echo "\"\$as_me:7767: $lt_compile\"" >&5) 7767 7768 (eval "$lt_compile" 2>out/conftest.err) 7768 7769 ac_status=$? 7769 7770 cat out/conftest.err >&5 7770 echo "$as_me:777 0: \$? = $ac_status" >&57771 echo "$as_me:7771: \$? = $ac_status" >&5 7771 7772 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7772 7773 then … … 10109 10110 lt_status=$lt_dlunknown 10110 10111 cat > conftest.$ac_ext <<EOF 10111 #line 1011 1"configure"10112 #line 10112 "configure" 10112 10113 #include "confdefs.h" 10113 10114 … … 10209 10210 lt_status=$lt_dlunknown 10210 10211 cat > conftest.$ac_ext <<EOF 10211 #line 1021 1"configure"10212 #line 10212 "configure" 10212 10213 #include "confdefs.h" 10213 10214 … … 12553 12554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12554 12555 -e 's:$: $lt_compiler_flag:'` 12555 (eval echo "\"\$as_me:1255 5: $lt_compile\"" >&5)12556 (eval echo "\"\$as_me:12556: $lt_compile\"" >&5) 12556 12557 (eval "$lt_compile" 2>conftest.err) 12557 12558 ac_status=$? 12558 12559 cat conftest.err >&5 12559 echo "$as_me:125 59: \$? = $ac_status" >&512560 echo "$as_me:12560: \$? = $ac_status" >&5 12560 12561 if (exit $ac_status) && test -s "$ac_outfile"; then 12561 12562 # The compiler can only warn and ignore the option if not recognized … … 12657 12658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12658 12659 -e 's:$: $lt_compiler_flag:'` 12659 (eval echo "\"\$as_me:126 59: $lt_compile\"" >&5)12660 (eval echo "\"\$as_me:12660: $lt_compile\"" >&5) 12660 12661 (eval "$lt_compile" 2>out/conftest.err) 12661 12662 ac_status=$? 12662 12663 cat out/conftest.err >&5 12663 echo "$as_me:1266 3: \$? = $ac_status" >&512664 echo "$as_me:12664: \$? = $ac_status" >&5 12664 12665 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12665 12666 then … … 14227 14228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14228 14229 -e 's:$: $lt_compiler_flag:'` 14229 (eval echo "\"\$as_me:142 29: $lt_compile\"" >&5)14230 (eval echo "\"\$as_me:14230: $lt_compile\"" >&5) 14230 14231 (eval "$lt_compile" 2>conftest.err) 14231 14232 ac_status=$? 14232 14233 cat conftest.err >&5 14233 echo "$as_me:1423 3: \$? = $ac_status" >&514234 echo "$as_me:14234: \$? = $ac_status" >&5 14234 14235 if (exit $ac_status) && test -s "$ac_outfile"; then 14235 14236 # The compiler can only warn and ignore the option if not recognized … … 14331 14332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14332 14333 -e 's:$: $lt_compiler_flag:'` 14333 (eval echo "\"\$as_me:1433 3: $lt_compile\"" >&5)14334 (eval echo "\"\$as_me:14334: $lt_compile\"" >&5) 14334 14335 (eval "$lt_compile" 2>out/conftest.err) 14335 14336 ac_status=$? 14336 14337 cat out/conftest.err >&5 14337 echo "$as_me:1433 7: \$? = $ac_status" >&514338 echo "$as_me:14338: \$? = $ac_status" >&5 14338 14339 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14339 14340 then … … 16538 16539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16539 16540 -e 's:$: $lt_compiler_flag:'` 16540 (eval echo "\"\$as_me:1654 0: $lt_compile\"" >&5)16541 (eval echo "\"\$as_me:16541: $lt_compile\"" >&5) 16541 16542 (eval "$lt_compile" 2>conftest.err) 16542 16543 ac_status=$? 16543 16544 cat conftest.err >&5 16544 echo "$as_me:1654 4: \$? = $ac_status" >&516545 echo "$as_me:16545: \$? = $ac_status" >&5 16545 16546 if (exit $ac_status) && test -s "$ac_outfile"; then 16546 16547 # The compiler can only warn and ignore the option if not recognized … … 16806 16807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16807 16808 -e 's:$: $lt_compiler_flag:'` 16808 (eval echo "\"\$as_me:1680 8: $lt_compile\"" >&5)16809 (eval echo "\"\$as_me:16809: $lt_compile\"" >&5) 16809 16810 (eval "$lt_compile" 2>conftest.err) 16810 16811 ac_status=$? 16811 16812 cat conftest.err >&5 16812 echo "$as_me:1681 2: \$? = $ac_status" >&516813 echo "$as_me:16813: \$? = $ac_status" >&5 16813 16814 if (exit $ac_status) && test -s "$ac_outfile"; then 16814 16815 # The compiler can only warn and ignore the option if not recognized … … 16910 16911 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16911 16912 -e 's:$: $lt_compiler_flag:'` 16912 (eval echo "\"\$as_me:1691 2: $lt_compile\"" >&5)16913 (eval echo "\"\$as_me:16913: $lt_compile\"" >&5) 16913 16914 (eval "$lt_compile" 2>out/conftest.err) 16914 16915 ac_status=$? 16915 16916 cat out/conftest.err >&5 16916 echo "$as_me:1691 6: \$? = $ac_status" >&516917 echo "$as_me:16917: \$? = $ac_status" >&5 16917 16918 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16918 16919 then … … 19813 19814 19814 19815 # ## Check if Metis is already provided by user 19815 # AC_COIN_HAS_METIS 19816 19817 #rm -f $MAKEOKFILE 19818 #if test $coin_has_metis = yes && test "$use_metis" != BUILD; then 19819 # AC_MSG_NOTICE([The Metis sources don't need to be compiled]) 19820 # MAKEOKFILE= 19821 #else 19822 # touch $MAKEOKFILE 19823 #fi 19824 #AC_SUBST(MAKEOKFILE) 19825 #AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE") 19816 19817 case "$PACKAGE_NAME" in 19818 ThirdParty*) 19819 coin_metisobjdir=../Metis 19820 ;; 19821 *) 19822 coin_metisobjdir=../ThirdParty/Metis 19823 ;; 19824 esac 19825 19826 MAKEOKFILE=.MakeOk 19827 19828 #check if user provides a METIS library (that works) 19829 ac_ext=c 19830 ac_cpp='$CPP $CPPFLAGS' 19831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19833 ac_compiler_gnu=$ac_cv_c_compiler_gnu 19834 19835 19836 # Check whether --with-metis or --without-metis was given. 19837 if test "${with_metis+set}" = set; then 19838 withval="$with_metis" 19839 METISLIB="$withval"; coin_has_metis=true 19840 else 19841 coin_has_metis=no 19842 fi; 19843 19844 if test $coin_has_metis = true; then 19845 coin_save_LIBS="$LIBS" 19846 LIBS="$METISLIB $ADDLIBS" 19847 echo "$as_me:$LINENO: checking whether symbol metis_nodend is available with " >&5 19848 echo $ECHO_N "checking whether symbol metis_nodend is available with ... $ECHO_C" >&6 19849 cat >conftest.$ac_ext <<_ACEOF 19850 /* confdefs.h. */ 19851 _ACEOF 19852 cat confdefs.h >>conftest.$ac_ext 19853 cat >>conftest.$ac_ext <<_ACEOF 19854 /* end confdefs.h. */ 19855 19856 int 19857 main () 19858 { 19859 metis_nodend() 19860 ; 19861 return 0; 19862 } 19863 _ACEOF 19864 rm -f conftest.$ac_objext conftest$ac_exeext 19865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 19866 (eval $ac_link) 2>conftest.er1 19867 ac_status=$? 19868 grep -v '^ *+' conftest.er1 >conftest.err 19869 rm -f conftest.er1 19870 cat conftest.err >&5 19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19872 (exit $ac_status); } && 19873 { ac_try='test -z "$ac_c_werror_flag" 19874 || test ! -s conftest.err' 19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19876 (eval $ac_try) 2>&5 19877 ac_status=$? 19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19879 (exit $ac_status); }; } && 19880 { ac_try='test -s conftest$ac_exeext' 19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19882 (eval $ac_try) 2>&5 19883 ac_status=$? 19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19885 (exit $ac_status); }; }; then 19886 echo "$as_me:$LINENO: result: yes" >&5 19887 echo "${ECHO_T}yes" >&6 19888 else 19889 echo "$as_me: failed program was:" >&5 19890 sed 's/^/| /' conftest.$ac_ext >&5 19891 19892 echo "$as_me:$LINENO: result: no" >&5 19893 echo "${ECHO_T}no" >&6 19894 { { echo "$as_me:$LINENO: error: User-supplied METIS library does not work" >&5 19895 echo "$as_me: error: User-supplied METIS library does not work" >&2;} 19896 { (exit 1); exit 1; }; } 19897 fi 19898 rm -f conftest.err conftest.$ac_objext \ 19899 conftest$ac_exeext conftest.$ac_ext 19900 LIBS="$coin_save_LIBS" 19901 fi 19902 ac_ext=c 19903 ac_cpp='$CPP $CPPFLAGS' 19904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 19905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 19906 ac_compiler_gnu=$ac_cv_c_compiler_gnu 19907 19908 19909 if test "$coin_has_metis" = "true"; then # user provided metis library 19910 use_metis=yes 19911 coin_has_metis=yes 19912 19913 ADDLIBS="$METISLIB $ADDLIBS" 19914 19915 else # no user provided library, so we try to build our own 19916 use_metis=BUILD 19917 19918 # Check if the METIS' ThirdParty project has been configured 19919 if test "$PACKAGE_NAME" != ThirdPartyMetis; then 19920 if test -r $coin_metisobjdir/.MakeOk; then 19921 use_metis=BUILD 19922 else 19923 use_metis= 19924 fi 19925 fi 19926 19927 if test x"$use_metis" != x; then 19928 coin_has_metis=yes 19929 else 19930 coin_has_metis=no 19931 fi 19932 echo "$as_me:$LINENO: checking whether METIS is available" >&5 19933 echo $ECHO_N "checking whether METIS is available... $ECHO_C" >&6 19934 echo "$as_me:$LINENO: result: $coin_has_metis" >&5 19935 echo "${ECHO_T}$coin_has_metis" >&6 19936 fi 19937 19938 19939 19940 if test $coin_has_metis = yes; then 19941 COIN_HAS_METIS_TRUE= 19942 COIN_HAS_METIS_FALSE='#' 19943 else 19944 COIN_HAS_METIS_TRUE='#' 19945 COIN_HAS_METIS_FALSE= 19946 fi 19947 19948 if test $coin_has_metis = yes; then 19949 19950 cat >>confdefs.h <<\_ACEOF 19951 #define COIN_HAS_METIS 1 19952 _ACEOF 19953 19954 fi 19955 19956 19957 19958 rm -f $MAKEOKFILE 19959 if test $coin_has_metis = yes && test "$use_metis" != BUILD; then 19960 { echo "$as_me:$LINENO: The Metis sources don't need to be compiled" >&5 19961 echo "$as_me: The Metis sources don't need to be compiled" >&6;} 19962 MAKEOKFILE= 19963 else 19964 touch $MAKEOKFILE 19965 fi 19966 19967 19968 19969 if test -z "$MAKEOKFILE"; then 19970 SKIPMAKE_TRUE= 19971 SKIPMAKE_FALSE='#' 19972 else 19973 SKIPMAKE_TRUE='#' 19974 SKIPMAKE_FALSE= 19975 fi 19976 19826 19977 19827 19978 # We need to create a dummy header file for Windows … … 19936 20087 19937 20088 20089 19938 20090 METISDIR=metis-4.0 19939 20091 19940 20092 19941 ac_config_files="$ac_config_files Makefile metis_addlibs.txt"20093 ac_config_files="$ac_config_files Makefile" 19942 20094 19943 20095 … … 20160 20312 Usually this means the macro was only invoked conditionally." >&5 20161 20313 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 20314 Usually this means the macro was only invoked conditionally." >&2;} 20315 { (exit 1); exit 1; }; } 20316 fi 20317 if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then 20318 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined. 20319 Usually this means the macro was only invoked conditionally." >&5 20320 echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined. 20321 Usually this means the macro was only invoked conditionally." >&2;} 20322 { (exit 1); exit 1; }; } 20323 fi 20324 if test -z "${SKIPMAKE_TRUE}" && test -z "${SKIPMAKE_FALSE}"; then 20325 { { echo "$as_me:$LINENO: error: conditional \"SKIPMAKE\" was never defined. 20326 Usually this means the macro was only invoked conditionally." >&5 20327 echo "$as_me: error: conditional \"SKIPMAKE\" was never defined. 20162 20328 Usually this means the macro was only invoked conditionally." >&2;} 20163 20329 { (exit 1); exit 1; }; } … … 20603 20769 # Handling of arguments. 20604 20770 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20605 "metis_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES metis_addlibs.txt" ;;20606 20771 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 20607 20772 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 … … 20783 20948 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 20784 20949 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t 20950 s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t 20951 s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t 20952 s,@MAKEOKFILE@,$MAKEOKFILE,;t t 20953 s,@SKIPMAKE_TRUE@,$SKIPMAKE_TRUE,;t t 20954 s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t 20785 20955 s,@METISDIR@,$METISDIR,;t t 20786 20956 s,@LIBEXT@,$LIBEXT,;t t
Note: See TracChangeset
for help on using the changeset viewer.