Changeset 1178
- Timestamp:
- Sep 12, 2008 5:31:12 AM (13 years ago)
- Location:
- ThirdParty/Lapack/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Lapack/trunk/configure
r1123 r1178 974 974 ac_cv_env_MPIF77_set=${MPIF77+set} 975 975 ac_cv_env_MPIF77_value=$MPIF77 976 ac_env_DLAMCH_FFLAGS_set=${DLAMCH_FFLAGS+set} 977 ac_env_DLAMCH_FFLAGS_value=$DLAMCH_FFLAGS 978 ac_cv_env_DLAMCH_FFLAGS_set=${DLAMCH_FFLAGS+set} 979 ac_cv_env_DLAMCH_FFLAGS_value=$DLAMCH_FFLAGS 976 980 ac_env_CPP_set=${CPP+set} 977 981 ac_env_CPP_value=$CPP … … 1122 1126 FFLAGS Fortran 77 compiler flags 1123 1127 MPIF77 Fortran MPI Compiler 1128 DLAMCH_FFLAGS 1129 Fortran compiler options for DLAMCH.F 1124 1130 CPP C preprocessor 1125 1131 CXX C++ compiler command … … 3287 3293 3288 3294 # Provide some information about the compiler. 3289 echo "$as_me:32 89:" \3295 echo "$as_me:3295:" \ 3290 3296 "checking for Fortran 77 compiler version" >&5 3291 3297 ac_compiler=`set X $ac_compile; echo $2` … … 3803 3809 3804 3810 3805 #Setup special Fortran flags for dlamch.f: 3806 #do not use optimiziation flags in default (=optimized) mode, but use debug flags in debug mode 3807 if test "$coin_debug_compile" = true ; then 3808 DLAMCH_FFLAGS="$DBG_FFLAGS" 3809 else 3810 DLAMCH_FFLAGS="$coin_add_fflags $coin_warn_fflags $ADD_FFLAGS" 3811 # Take care that optimization is diabled for DLAMCH.F 3812 3813 if test "x$DLAMCH_FFLAGS" = x ; then 3814 #disable optimiziation for dlamch.f by adding -Od or -O0 at end of FFLAGS (hope to overwrite previous -O? option, if present) 3815 case $F77 in 3816 ifort* | */ifort* | IFORT* | */IFORT* ) 3817 DLAMCH_FFLAGS="$FFLAGS -Od" 3818 ;; 3819 compile_f2c*) 3820 case "$CC" in 3821 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 3822 DLAMCH_FFLAGS="$FFLAGS -Od" 3823 ;; 3824 *) 3825 DLAMCH_FFLAGS="$FFLAGS -O0" 3826 ;; 3827 esac 3828 ;; 3829 *) 3830 DLAMCH_FFLAGS="$FFLAGS -O0" 3831 ;; 3832 esac 3811 3833 fi 3812 3834 … … 5445 5467 *-*-irix6*) 5446 5468 # Find out which ABI we are using. 5447 echo '#line 54 47"configure"' > conftest.$ac_ext5469 echo '#line 5469 "configure"' > conftest.$ac_ext 5448 5470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5449 5471 (eval $ac_compile) 2>&5 … … 7874 7896 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7875 7897 -e 's:$: $lt_compiler_flag:'` 7876 (eval echo "\"\$as_me:78 76: $lt_compile\"" >&5)7898 (eval echo "\"\$as_me:7898: $lt_compile\"" >&5) 7877 7899 (eval "$lt_compile" 2>conftest.err) 7878 7900 ac_status=$? 7879 7901 cat conftest.err >&5 7880 echo "$as_me:7 880: \$? = $ac_status" >&57902 echo "$as_me:7902: \$? = $ac_status" >&5 7881 7903 if (exit $ac_status) && test -s "$ac_outfile"; then 7882 7904 # The compiler can only warn and ignore the option if not recognized … … 8142 8164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8143 8165 -e 's:$: $lt_compiler_flag:'` 8144 (eval echo "\"\$as_me:81 44: $lt_compile\"" >&5)8166 (eval echo "\"\$as_me:8166: $lt_compile\"" >&5) 8145 8167 (eval "$lt_compile" 2>conftest.err) 8146 8168 ac_status=$? 8147 8169 cat conftest.err >&5 8148 echo "$as_me:81 48: \$? = $ac_status" >&58170 echo "$as_me:8170: \$? = $ac_status" >&5 8149 8171 if (exit $ac_status) && test -s "$ac_outfile"; then 8150 8172 # The compiler can only warn and ignore the option if not recognized … … 8246 8268 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8247 8269 -e 's:$: $lt_compiler_flag:'` 8248 (eval echo "\"\$as_me:82 48: $lt_compile\"" >&5)8270 (eval echo "\"\$as_me:8270: $lt_compile\"" >&5) 8249 8271 (eval "$lt_compile" 2>out/conftest.err) 8250 8272 ac_status=$? 8251 8273 cat out/conftest.err >&5 8252 echo "$as_me:82 52: \$? = $ac_status" >&58274 echo "$as_me:8274: \$? = $ac_status" >&5 8253 8275 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8254 8276 then … … 10591 10613 lt_status=$lt_dlunknown 10592 10614 cat > conftest.$ac_ext <<EOF 10593 #line 10 593"configure"10615 #line 10615 "configure" 10594 10616 #include "confdefs.h" 10595 10617 … … 10691 10713 lt_status=$lt_dlunknown 10692 10714 cat > conftest.$ac_ext <<EOF 10693 #line 10 693"configure"10715 #line 10715 "configure" 10694 10716 #include "confdefs.h" 10695 10717 … … 13035 13057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13036 13058 -e 's:$: $lt_compiler_flag:'` 13037 (eval echo "\"\$as_me:130 37: $lt_compile\"" >&5)13059 (eval echo "\"\$as_me:13059: $lt_compile\"" >&5) 13038 13060 (eval "$lt_compile" 2>conftest.err) 13039 13061 ac_status=$? 13040 13062 cat conftest.err >&5 13041 echo "$as_me:130 41: \$? = $ac_status" >&513063 echo "$as_me:13063: \$? = $ac_status" >&5 13042 13064 if (exit $ac_status) && test -s "$ac_outfile"; then 13043 13065 # The compiler can only warn and ignore the option if not recognized … … 13139 13161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13140 13162 -e 's:$: $lt_compiler_flag:'` 13141 (eval echo "\"\$as_me:131 41: $lt_compile\"" >&5)13163 (eval echo "\"\$as_me:13163: $lt_compile\"" >&5) 13142 13164 (eval "$lt_compile" 2>out/conftest.err) 13143 13165 ac_status=$? 13144 13166 cat out/conftest.err >&5 13145 echo "$as_me:131 45: \$? = $ac_status" >&513167 echo "$as_me:13167: \$? = $ac_status" >&5 13146 13168 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13147 13169 then … … 14709 14731 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14710 14732 -e 's:$: $lt_compiler_flag:'` 14711 (eval echo "\"\$as_me:147 11: $lt_compile\"" >&5)14733 (eval echo "\"\$as_me:14733: $lt_compile\"" >&5) 14712 14734 (eval "$lt_compile" 2>conftest.err) 14713 14735 ac_status=$? 14714 14736 cat conftest.err >&5 14715 echo "$as_me:147 15: \$? = $ac_status" >&514737 echo "$as_me:14737: \$? = $ac_status" >&5 14716 14738 if (exit $ac_status) && test -s "$ac_outfile"; then 14717 14739 # The compiler can only warn and ignore the option if not recognized … … 14813 14835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14814 14836 -e 's:$: $lt_compiler_flag:'` 14815 (eval echo "\"\$as_me:148 15: $lt_compile\"" >&5)14837 (eval echo "\"\$as_me:14837: $lt_compile\"" >&5) 14816 14838 (eval "$lt_compile" 2>out/conftest.err) 14817 14839 ac_status=$? 14818 14840 cat out/conftest.err >&5 14819 echo "$as_me:148 19: \$? = $ac_status" >&514841 echo "$as_me:14841: \$? = $ac_status" >&5 14820 14842 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14821 14843 then … … 17020 17042 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17021 17043 -e 's:$: $lt_compiler_flag:'` 17022 (eval echo "\"\$as_me:170 22: $lt_compile\"" >&5)17044 (eval echo "\"\$as_me:17044: $lt_compile\"" >&5) 17023 17045 (eval "$lt_compile" 2>conftest.err) 17024 17046 ac_status=$? 17025 17047 cat conftest.err >&5 17026 echo "$as_me:170 26: \$? = $ac_status" >&517048 echo "$as_me:17048: \$? = $ac_status" >&5 17027 17049 if (exit $ac_status) && test -s "$ac_outfile"; then 17028 17050 # The compiler can only warn and ignore the option if not recognized … … 17288 17310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17289 17311 -e 's:$: $lt_compiler_flag:'` 17290 (eval echo "\"\$as_me:17 290: $lt_compile\"" >&5)17312 (eval echo "\"\$as_me:17312: $lt_compile\"" >&5) 17291 17313 (eval "$lt_compile" 2>conftest.err) 17292 17314 ac_status=$? 17293 17315 cat conftest.err >&5 17294 echo "$as_me:17 294: \$? = $ac_status" >&517316 echo "$as_me:17316: \$? = $ac_status" >&5 17295 17317 if (exit $ac_status) && test -s "$ac_outfile"; then 17296 17318 # The compiler can only warn and ignore the option if not recognized … … 17392 17414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17393 17415 -e 's:$: $lt_compiler_flag:'` 17394 (eval echo "\"\$as_me:17 394: $lt_compile\"" >&5)17416 (eval echo "\"\$as_me:17416: $lt_compile\"" >&5) 17395 17417 (eval "$lt_compile" 2>out/conftest.err) 17396 17418 ac_status=$? 17397 17419 cat out/conftest.err >&5 17398 echo "$as_me:17 398: \$? = $ac_status" >&517420 echo "$as_me:17420: \$? = $ac_status" >&5 17399 17421 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17400 17422 then … … 20334 20356 ac_save_FFLAGS=$FFLAGS 20335 20357 FFLAGS="$FFLAGS $ac_verb" 20336 (eval echo $as_me:203 36: \"$ac_link\") >&520358 (eval echo $as_me:20358: \"$ac_link\") >&5 20337 20359 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 20338 20360 echo "$ac_f77_v_output" >&5 … … 20412 20434 ac_save_FFLAGS=$FFLAGS 20413 20435 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 20414 (eval echo $as_me:204 14: \"$ac_link\") >&520436 (eval echo $as_me:20436: \"$ac_link\") >&5 20415 20437 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 20416 20438 echo "$ac_f77_v_output" >&5 -
ThirdParty/Lapack/trunk/configure.ac
r1123 r1178 51 51 AC_COIN_PROG_F77 52 52 53 #Setup special Fortran flags for dlamch.f: 54 #do not use optimiziation flags in default (=optimized) mode, but use debug flags in debug mode 55 if test "$coin_debug_compile" = true ; then 56 DLAMCH_FFLAGS="$DBG_FFLAGS" 57 else 58 DLAMCH_FFLAGS="$coin_add_fflags $coin_warn_fflags $ADD_FFLAGS" 53 # Take care that optimization is diabled for DLAMCH.F 54 AC_ARG_VAR(DLAMCH_FFLAGS,[Fortran compiler options for DLAMCH.F]) 55 if test "x$DLAMCH_FFLAGS" = x ; then 56 #disable optimiziation for dlamch.f by adding -Od or -O0 at end of FFLAGS (hope to overwrite previous -O? option, if present) 57 case $F77 in 58 ifort* | */ifort* | IFORT* | */IFORT* ) 59 DLAMCH_FFLAGS="$FFLAGS -Od" 60 ;; 61 compile_f2c*) 62 case "$CC" in 63 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 64 DLAMCH_FFLAGS="$FFLAGS -Od" 65 ;; 66 *) 67 DLAMCH_FFLAGS="$FFLAGS -O0" 68 ;; 69 esac 70 ;; 71 *) 72 DLAMCH_FFLAGS="$FFLAGS -O0" 73 ;; 74 esac 59 75 fi 60 76 AC_SUBST(DLAMCH_FFLAGS)
Note: See TracChangeset
for help on using the changeset viewer.