Changeset 1267
- Timestamp:
- Apr 22, 2009 8:03:27 PM (12 years ago)
- Location:
- ThirdParty/Mumps/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Mumps/trunk/Makefile.am
r1251 r1267 85 85 DEFS = 86 86 CFLAGS += $(MY_DEFS) 87 FFLAGS += $(MY_FDEFS) 87 88 88 89 ######################################################################## -
ThirdParty/Mumps/trunk/Makefile.in
r1251 r1267 142 142 COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@ 143 143 COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@ 144 COIN_HAS_METIS_FALSE = @COIN_HAS_METIS_FALSE@ 145 COIN_HAS_METIS_TRUE = @COIN_HAS_METIS_TRUE@ 144 146 COIN_HAS_MUMPS_FALSE = @COIN_HAS_MUMPS_FALSE@ 145 147 COIN_HAS_MUMPS_TRUE = @COIN_HAS_MUMPS_TRUE@ … … 165 167 F77 = @F77@ 166 168 FADDLIBS = @FADDLIBS@ 167 FFLAGS = @FFLAGS@ 169 FFLAGS = @FFLAGS@ $(MY_FDEFS) 168 170 FLIBS = @FLIBS@ 169 171 HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@ … … 194 196 MUMPS_INCFLAGS = @MUMPS_INCFLAGS@ 195 197 MY_DEFS = @MY_DEFS@ 198 MY_FDEFS = @MY_FDEFS@ 196 199 OBJEXT = @OBJEXT@ 197 200 OPT_CFLAGS = @OPT_CFLAGS@ -
ThirdParty/Mumps/trunk/configure
r1251 r1267 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 ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_BUILD_BLAS_TRUE COIN_BUILD_BLAS_FALSE MUMPSINCDIR MUMPSLIB COIN_HAS_MUMPS_TRUE COIN_HAS_MUMPS_FALSE MUMPS_INCFLAGS COIN_BUILD_MUMPS_TRUE COIN_BUILD_MUMPS_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE MUMPSDIRLIBEXT 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 ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_BUILD_BLAS_TRUE COIN_BUILD_BLAS_FALSE COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSINCDIR MUMPSLIB COIN_HAS_MUMPS_TRUE COIN_HAS_MUMPS_FALSE MUMPS_INCFLAGS COIN_BUILD_MUMPS_TRUE COIN_BUILD_MUMPS_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE MUMPSDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1103 1103 include additional configurations [automatic] 1104 1104 --with-blas specify BLAS library (or BUILD for compilation) 1105 --with-metis specify flags to link with METIS library 1105 1106 --with-mumps-incdir specify the header file directory for library mumps 1106 1107 --with-mumps-lib specify the flags used to link with the library mumps … … 3292 3293 3293 3294 # Provide some information about the compiler. 3294 echo "$as_me:329 4:" \3295 echo "$as_me:3295:" \ 3295 3296 "checking for Fortran 77 compiler version" >&5 3296 3297 ac_compiler=`set X $ac_compile; echo $2` … … 3860 3861 ac_save_FFLAGS=$FFLAGS 3861 3862 FFLAGS="$FFLAGS $ac_verb" 3862 (eval echo $as_me:386 2: \"$ac_link\") >&53863 (eval echo $as_me:3863: \"$ac_link\") >&5 3863 3864 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 3864 3865 echo "$ac_f77_v_output" >&5 … … 3938 3939 ac_save_FFLAGS=$FFLAGS 3939 3940 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 3940 (eval echo $as_me:394 0: \"$ac_link\") >&53941 (eval echo $as_me:3941: \"$ac_link\") >&5 3941 3942 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 3942 3943 echo "$ac_f77_v_output" >&5 … … 5373 5374 MY_DEFS="$MY_DEFS -DALLOW_NON_INIT -DMUMPS_ARITH=MUMPS_ARITH_d" 5374 5375 5375 5376 echo "$as_me:$LINENO: checking for additional preprocessor C flags" >&55377 echo $ECHO_N "checking for additional preprocessor C flags... $ECHO_C" >&65378 echo "$as_me:$LINENO: result: $MY_DEFS" >&55379 echo "${ECHO_T}$MY_DEFS" >&65380 5376 5381 5377 # Initialize automake … … 6997 6993 *-*-irix6*) 6998 6994 # Find out which ABI we are using. 6999 echo '#line 699 9"configure"' > conftest.$ac_ext6995 echo '#line 6995 "configure"' > conftest.$ac_ext 7000 6996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7001 6997 (eval $ac_compile) 2>&5 … … 8993 8989 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8994 8990 -e 's:$: $lt_compiler_flag:'` 8995 (eval echo "\"\$as_me:899 5: $lt_compile\"" >&5)8991 (eval echo "\"\$as_me:8991: $lt_compile\"" >&5) 8996 8992 (eval "$lt_compile" 2>conftest.err) 8997 8993 ac_status=$? 8998 8994 cat conftest.err >&5 8999 echo "$as_me:899 9: \$? = $ac_status" >&58995 echo "$as_me:8995: \$? = $ac_status" >&5 9000 8996 if (exit $ac_status) && test -s "$ac_outfile"; then 9001 8997 # The compiler can only warn and ignore the option if not recognized … … 9261 9257 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9262 9258 -e 's:$: $lt_compiler_flag:'` 9263 (eval echo "\"\$as_me:92 63: $lt_compile\"" >&5)9259 (eval echo "\"\$as_me:9259: $lt_compile\"" >&5) 9264 9260 (eval "$lt_compile" 2>conftest.err) 9265 9261 ac_status=$? 9266 9262 cat conftest.err >&5 9267 echo "$as_me:926 7: \$? = $ac_status" >&59263 echo "$as_me:9263: \$? = $ac_status" >&5 9268 9264 if (exit $ac_status) && test -s "$ac_outfile"; then 9269 9265 # The compiler can only warn and ignore the option if not recognized … … 9365 9361 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9366 9362 -e 's:$: $lt_compiler_flag:'` 9367 (eval echo "\"\$as_me:936 7: $lt_compile\"" >&5)9363 (eval echo "\"\$as_me:9363: $lt_compile\"" >&5) 9368 9364 (eval "$lt_compile" 2>out/conftest.err) 9369 9365 ac_status=$? 9370 9366 cat out/conftest.err >&5 9371 echo "$as_me:93 71: \$? = $ac_status" >&59367 echo "$as_me:9367: \$? = $ac_status" >&5 9372 9368 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9373 9369 then … … 11782 11778 lt_status=$lt_dlunknown 11783 11779 cat > conftest.$ac_ext <<EOF 11784 #line 1178 4"configure"11780 #line 11780 "configure" 11785 11781 #include "confdefs.h" 11786 11782 … … 11882 11878 lt_status=$lt_dlunknown 11883 11879 cat > conftest.$ac_ext <<EOF 11884 #line 1188 4"configure"11880 #line 11880 "configure" 11885 11881 #include "confdefs.h" 11886 11882 … … 14242 14238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14243 14239 -e 's:$: $lt_compiler_flag:'` 14244 (eval echo "\"\$as_me:1424 4: $lt_compile\"" >&5)14240 (eval echo "\"\$as_me:14240: $lt_compile\"" >&5) 14245 14241 (eval "$lt_compile" 2>conftest.err) 14246 14242 ac_status=$? 14247 14243 cat conftest.err >&5 14248 echo "$as_me:1424 8: \$? = $ac_status" >&514244 echo "$as_me:14244: \$? = $ac_status" >&5 14249 14245 if (exit $ac_status) && test -s "$ac_outfile"; then 14250 14246 # The compiler can only warn and ignore the option if not recognized … … 14346 14342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14347 14343 -e 's:$: $lt_compiler_flag:'` 14348 (eval echo "\"\$as_me:1434 8: $lt_compile\"" >&5)14344 (eval echo "\"\$as_me:14344: $lt_compile\"" >&5) 14349 14345 (eval "$lt_compile" 2>out/conftest.err) 14350 14346 ac_status=$? 14351 14347 cat out/conftest.err >&5 14352 echo "$as_me:143 52: \$? = $ac_status" >&514348 echo "$as_me:14348: \$? = $ac_status" >&5 14353 14349 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14354 14350 then … … 15916 15912 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15917 15913 -e 's:$: $lt_compiler_flag:'` 15918 (eval echo "\"\$as_me:1591 8: $lt_compile\"" >&5)15914 (eval echo "\"\$as_me:15914: $lt_compile\"" >&5) 15919 15915 (eval "$lt_compile" 2>conftest.err) 15920 15916 ac_status=$? 15921 15917 cat conftest.err >&5 15922 echo "$as_me:159 22: \$? = $ac_status" >&515918 echo "$as_me:15918: \$? = $ac_status" >&5 15923 15919 if (exit $ac_status) && test -s "$ac_outfile"; then 15924 15920 # The compiler can only warn and ignore the option if not recognized … … 16020 16016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16021 16017 -e 's:$: $lt_compiler_flag:'` 16022 (eval echo "\"\$as_me:160 22: $lt_compile\"" >&5)16018 (eval echo "\"\$as_me:16018: $lt_compile\"" >&5) 16023 16019 (eval "$lt_compile" 2>out/conftest.err) 16024 16020 ac_status=$? 16025 16021 cat out/conftest.err >&5 16026 echo "$as_me:1602 6: \$? = $ac_status" >&516022 echo "$as_me:16022: \$? = $ac_status" >&5 16027 16023 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16028 16024 then … … 18227 18223 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18228 18224 -e 's:$: $lt_compiler_flag:'` 18229 (eval echo "\"\$as_me:1822 9: $lt_compile\"" >&5)18225 (eval echo "\"\$as_me:18225: $lt_compile\"" >&5) 18230 18226 (eval "$lt_compile" 2>conftest.err) 18231 18227 ac_status=$? 18232 18228 cat conftest.err >&5 18233 echo "$as_me:182 33: \$? = $ac_status" >&518229 echo "$as_me:18229: \$? = $ac_status" >&5 18234 18230 if (exit $ac_status) && test -s "$ac_outfile"; then 18235 18231 # The compiler can only warn and ignore the option if not recognized … … 18495 18491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18496 18492 -e 's:$: $lt_compiler_flag:'` 18497 (eval echo "\"\$as_me:1849 7: $lt_compile\"" >&5)18493 (eval echo "\"\$as_me:18493: $lt_compile\"" >&5) 18498 18494 (eval "$lt_compile" 2>conftest.err) 18499 18495 ac_status=$? 18500 18496 cat conftest.err >&5 18501 echo "$as_me:18 501: \$? = $ac_status" >&518497 echo "$as_me:18497: \$? = $ac_status" >&5 18502 18498 if (exit $ac_status) && test -s "$ac_outfile"; then 18503 18499 # The compiler can only warn and ignore the option if not recognized … … 18599 18595 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18600 18596 -e 's:$: $lt_compiler_flag:'` 18601 (eval echo "\"\$as_me:18 601: $lt_compile\"" >&5)18597 (eval echo "\"\$as_me:18597: $lt_compile\"" >&5) 18602 18598 (eval "$lt_compile" 2>out/conftest.err) 18603 18599 ac_status=$? 18604 18600 cat out/conftest.err >&5 18605 echo "$as_me:1860 5: \$? = $ac_status" >&518601 echo "$as_me:18601: \$? = $ac_status" >&5 18606 18602 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18607 18603 then … … 23519 23515 23520 23516 23517 # Check if Metis is available 23518 23519 case "$PACKAGE_NAME" in 23520 ThirdParty*) 23521 coin_metisobjdir=../Metis 23522 ;; 23523 *) 23524 coin_metisobjdir=../ThirdParty/Metis 23525 ;; 23526 esac 23527 23528 MAKEOKFILE=.MakeOk 23529 23530 #check if user provides a METIS library (that works) 23531 ac_ext=c 23532 ac_cpp='$CPP $CPPFLAGS' 23533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23535 ac_compiler_gnu=$ac_cv_c_compiler_gnu 23536 23537 23538 # Check whether --with-metis or --without-metis was given. 23539 if test "${with_metis+set}" = set; then 23540 withval="$with_metis" 23541 METISLIB="$withval"; coin_has_metis=true 23542 else 23543 coin_has_metis=no 23544 fi; 23545 23546 if test $coin_has_metis = true; then 23547 coin_save_LIBS="$LIBS" 23548 LIBS="$METISLIB $ADDLIBS" 23549 echo "$as_me:$LINENO: checking whether symbol metis_nodend is available with " >&5 23550 echo $ECHO_N "checking whether symbol metis_nodend is available with ... $ECHO_C" >&6 23551 cat >conftest.$ac_ext <<_ACEOF 23552 /* confdefs.h. */ 23553 _ACEOF 23554 cat confdefs.h >>conftest.$ac_ext 23555 cat >>conftest.$ac_ext <<_ACEOF 23556 /* end confdefs.h. */ 23557 23558 #ifdef F77_DUMMY_MAIN 23559 23560 # ifdef __cplusplus 23561 extern "C" 23562 # endif 23563 int F77_DUMMY_MAIN() { return 1; } 23564 23565 #endif 23566 int 23567 main () 23568 { 23569 metis_nodend() 23570 ; 23571 return 0; 23572 } 23573 _ACEOF 23574 rm -f conftest.$ac_objext conftest$ac_exeext 23575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 23576 (eval $ac_link) 2>conftest.er1 23577 ac_status=$? 23578 grep -v '^ *+' conftest.er1 >conftest.err 23579 rm -f conftest.er1 23580 cat conftest.err >&5 23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23582 (exit $ac_status); } && 23583 { ac_try='test -z "$ac_c_werror_flag" 23584 || test ! -s conftest.err' 23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23586 (eval $ac_try) 2>&5 23587 ac_status=$? 23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23589 (exit $ac_status); }; } && 23590 { ac_try='test -s conftest$ac_exeext' 23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23592 (eval $ac_try) 2>&5 23593 ac_status=$? 23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23595 (exit $ac_status); }; }; then 23596 echo "$as_me:$LINENO: result: yes" >&5 23597 echo "${ECHO_T}yes" >&6 23598 else 23599 echo "$as_me: failed program was:" >&5 23600 sed 's/^/| /' conftest.$ac_ext >&5 23601 23602 echo "$as_me:$LINENO: result: no" >&5 23603 echo "${ECHO_T}no" >&6 23604 { { echo "$as_me:$LINENO: error: User-supplied METIS library does not work" >&5 23605 echo "$as_me: error: User-supplied METIS library does not work" >&2;} 23606 { (exit 1); exit 1; }; } 23607 fi 23608 rm -f conftest.err conftest.$ac_objext \ 23609 conftest$ac_exeext conftest.$ac_ext 23610 LIBS="$coin_save_LIBS" 23611 fi 23612 ac_ext=c 23613 ac_cpp='$CPP $CPPFLAGS' 23614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23616 ac_compiler_gnu=$ac_cv_c_compiler_gnu 23617 23618 23619 if test "$coin_has_metis" = "true"; then # user provided metis library 23620 use_metis=yes 23621 coin_has_metis=yes 23622 23623 ADDLIBS="$METISLIB $ADDLIBS" 23624 23625 else # no user provided library, so we try to build our own 23626 use_metis=BUILD 23627 23628 # Check if the METIS' ThirdParty project has been configured 23629 if test "$PACKAGE_NAME" != ThirdPartyMetis; then 23630 if test -r $coin_metisobjdir/.MakeOk; then 23631 use_metis=BUILD 23632 else 23633 use_metis= 23634 fi 23635 fi 23636 23637 if test x"$use_metis" != x; then 23638 coin_has_metis=yes 23639 else 23640 coin_has_metis=no 23641 fi 23642 echo "$as_me:$LINENO: checking whether METIS is available" >&5 23643 echo $ECHO_N "checking whether METIS is available... $ECHO_C" >&6 23644 echo "$as_me:$LINENO: result: $coin_has_metis" >&5 23645 echo "${ECHO_T}$coin_has_metis" >&6 23646 fi 23647 23648 23649 23650 if test $coin_has_metis = yes; then 23651 COIN_HAS_METIS_TRUE= 23652 COIN_HAS_METIS_FALSE='#' 23653 else 23654 COIN_HAS_METIS_TRUE='#' 23655 COIN_HAS_METIS_FALSE= 23656 fi 23657 23658 if test $coin_has_metis = yes; then 23659 23660 cat >>confdefs.h <<\_ACEOF 23661 #define COIN_HAS_METIS 1 23662 _ACEOF 23663 23664 fi 23665 23666 23667 if test "$coin_has_metis" = yes; then 23668 MY_DEFS="$MY_DEFS -Dmetis" 23669 MY_FDEFS="$MY_FDEFS -Dmetis" 23670 fi 23671 23521 23672 ## Check if Mumps is already provided by user 23522 23673 … … 23980 24131 MUMPSDIR=MUMPS 23981 24132 24133 24134 # Fix Fortran preprocessor flags 24135 case $F77 in 24136 *xlf*) 24137 fdefs= 24138 for flag in "$MY_FDEFS"; do 24139 fdefs="$fdefs -WF,$flag" 24140 done 24141 MY_FDEFS="$fdefs" 24142 ;; 24143 esac 24144 24145 24146 echo "$as_me:$LINENO: checking for additional preprocessor C flags" >&5 24147 echo $ECHO_N "checking for additional preprocessor C flags... $ECHO_C" >&6 24148 echo "$as_me:$LINENO: result: $MY_DEFS" >&5 24149 echo "${ECHO_T}$MY_DEFS" >&6 24150 echo "$as_me:$LINENO: checking for additional preprocessor Fortran flags" >&5 24151 echo $ECHO_N "checking for additional preprocessor Fortran flags... $ECHO_C" >&6 24152 echo "$as_me:$LINENO: result: $MY_FDEFS" >&5 24153 echo "${ECHO_T}$MY_FDEFS" >&6 23982 24154 23983 24155 ac_config_files="$ac_config_files Makefile" … … 24216 24388 Usually this means the macro was only invoked conditionally." >&5 24217 24389 echo "$as_me: error: conditional \"COIN_BUILD_BLAS\" was never defined. 24390 Usually this means the macro was only invoked conditionally." >&2;} 24391 { (exit 1); exit 1; }; } 24392 fi 24393 if test -z "${COIN_HAS_METIS_TRUE}" && test -z "${COIN_HAS_METIS_FALSE}"; then 24394 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_METIS\" was never defined. 24395 Usually this means the macro was only invoked conditionally." >&5 24396 echo "$as_me: error: conditional \"COIN_HAS_METIS\" was never defined. 24218 24397 Usually this means the macro was only invoked conditionally." >&2;} 24219 24398 { (exit 1); exit 1; }; } … … 24876 25055 s,@COIN_BUILD_BLAS_TRUE@,$COIN_BUILD_BLAS_TRUE,;t t 24877 25056 s,@COIN_BUILD_BLAS_FALSE@,$COIN_BUILD_BLAS_FALSE,;t t 25057 s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t 25058 s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t 24878 25059 s,@MUMPSINCDIR@,$MUMPSINCDIR,;t t 24879 25060 s,@MUMPSLIB@,$MUMPSLIB,;t t … … 24887 25068 s,@SKIPMAKE_FALSE@,$SKIPMAKE_FALSE,;t t 24888 25069 s,@MUMPSDIR@,$MUMPSDIR,;t t 25070 s,@MY_FDEFS@,$MY_FDEFS,;t t 24889 25071 s,@LIBEXT@,$LIBEXT,;t t 24890 25072 s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t -
ThirdParty/Mumps/trunk/configure.ac
r1251 r1267 90 90 AC_SUBST(MY_DEFS) 91 91 92 AC_MSG_CHECKING([for additional preprocessor C flags])93 AC_MSG_RESULT([$MY_DEFS])94 95 92 # Initialize automake 96 93 AC_COIN_INIT_AUTO_TOOLS … … 98 95 # Check for user-provided BLAS library 99 96 AC_COIN_HAS_BLAS 97 98 # Check if Metis is available 99 AC_COIN_HAS_METIS 100 if test "$coin_has_metis" = yes; then 101 MY_DEFS="$MY_DEFS -Dmetis" 102 MY_FDEFS="$MY_FDEFS -Dmetis" 103 fi 100 104 101 105 ## Check if Mumps is already provided by user … … 130 134 AC_SUBST(MUMPSDIR) 131 135 136 # Fix Fortran preprocessor flags 137 case $F77 in 138 *xlf*) 139 fdefs= 140 for flag in "$MY_FDEFS"; do 141 fdefs="$fdefs -WF,$flag" 142 done 143 MY_FDEFS="$fdefs" 144 ;; 145 esac 146 AC_SUBST(MY_FDEFS) 147 148 AC_MSG_CHECKING([for additional preprocessor C flags]) 149 AC_MSG_RESULT([$MY_DEFS]) 150 AC_MSG_CHECKING([for additional preprocessor Fortran flags]) 151 AC_MSG_RESULT([$MY_FDEFS]) 152 132 153 AC_CONFIG_FILES([Makefile]) 133 154
Note: See TracChangeset
for help on using the changeset viewer.