Changeset 1102


Ignore:
Timestamp:
Aug 11, 2008 5:21:59 AM (12 years ago)
Author:
stefan
Message:

make fflags for DLAMCH depend on whether in debug mode or not

Location:
ThirdParty/Lapack/stable/BSP
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Lapack/stable/BSP/Makefile.am

    r1101 r1102  
    6565
    6666dlamch.lo: dlamch.f
    67         $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(ADD_FFLAGS) -c -o $@ $<
     67        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(DLAMCH_FFLAGS) -c -o $@ $<
    6868
    6969########################################################################
  • ThirdParty/Lapack/stable/BSP/Makefile.in

    r1101 r1102  
    142142DEFS = @DEFS@
    143143DEPDIR = @DEPDIR@
     144DLAMCH_FFLAGS = @DLAMCH_FFLAGS@
    144145ECHO = @ECHO@
    145146ECHO_C = @ECHO_C@
     
    653654
    654655dlamch.lo: dlamch.f
    655         $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(ADD_FFLAGS) -c -o $@ $<
     656        $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(AM_FFLAGS) $(DLAMCH_FFLAGS) -c -o $@ $<
    656657
    657658install-doc: $(DocFiles)
  • ThirdParty/Lapack/stable/BSP/configure

    r1100 r1102  
    473473#endif"
    474474
    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 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 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS FLIBS COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_BUILD_BLAS_TRUE COIN_BUILD_BLAS_FALSE COIN_HAS_LAPACK_TRUE COIN_HAS_LAPACK_FALSE COIN_BUILD_LAPACK_TRUE COIN_BUILD_LAPACK_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     475ac_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 DLAMCH_FFLAGS 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 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS FLIBS COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE COIN_BUILD_BLAS_TRUE COIN_BUILD_BLAS_FALSE COIN_HAS_LAPACK_TRUE COIN_HAS_LAPACK_FALSE COIN_BUILD_LAPACK_TRUE COIN_BUILD_LAPACK_FALSE MAKEOKFILE SKIPMAKE_TRUE SKIPMAKE_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    38033803
    38043804
     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
     3807if test "$coin_debug_compile" = true ; then
     3808  DLAMCH_FFLAGS="$DBG_FFLAGS"
     3809else
     3810  DLAMCH_FFLAGS="$coin_add_fflags $coin_warn_fflags $ADD_FFLAGS"
     3811fi
     3812
     3813
    38053814# Initialize autotools
    38063815{
     
    54365445*-*-irix6*)
    54375446  # Find out which ABI we are using.
    5438   echo '#line 5438 "configure"' > conftest.$ac_ext
     5447  echo '#line 5447 "configure"' > conftest.$ac_ext
    54395448  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    54405449  (eval $ac_compile) 2>&5
     
    78657874   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78667875   -e 's:$: $lt_compiler_flag:'`
    7867    (eval echo "\"\$as_me:7867: $lt_compile\"" >&5)
     7876   (eval echo "\"\$as_me:7876: $lt_compile\"" >&5)
    78687877   (eval "$lt_compile" 2>conftest.err)
    78697878   ac_status=$?
    78707879   cat conftest.err >&5
    7871    echo "$as_me:7871: \$? = $ac_status" >&5
     7880   echo "$as_me:7880: \$? = $ac_status" >&5
    78727881   if (exit $ac_status) && test -s "$ac_outfile"; then
    78737882     # The compiler can only warn and ignore the option if not recognized
     
    81338142   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81348143   -e 's:$: $lt_compiler_flag:'`
    8135    (eval echo "\"\$as_me:8135: $lt_compile\"" >&5)
     8144   (eval echo "\"\$as_me:8144: $lt_compile\"" >&5)
    81368145   (eval "$lt_compile" 2>conftest.err)
    81378146   ac_status=$?
    81388147   cat conftest.err >&5
    8139    echo "$as_me:8139: \$? = $ac_status" >&5
     8148   echo "$as_me:8148: \$? = $ac_status" >&5
    81408149   if (exit $ac_status) && test -s "$ac_outfile"; then
    81418150     # The compiler can only warn and ignore the option if not recognized
     
    82378246   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82388247   -e 's:$: $lt_compiler_flag:'`
    8239    (eval echo "\"\$as_me:8239: $lt_compile\"" >&5)
     8248   (eval echo "\"\$as_me:8248: $lt_compile\"" >&5)
    82408249   (eval "$lt_compile" 2>out/conftest.err)
    82418250   ac_status=$?
    82428251   cat out/conftest.err >&5
    8243    echo "$as_me:8243: \$? = $ac_status" >&5
     8252   echo "$as_me:8252: \$? = $ac_status" >&5
    82448253   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    82458254   then
     
    1058210591  lt_status=$lt_dlunknown
    1058310592  cat > conftest.$ac_ext <<EOF
    10584 #line 10584 "configure"
     10593#line 10593 "configure"
    1058510594#include "confdefs.h"
    1058610595
     
    1068210691  lt_status=$lt_dlunknown
    1068310692  cat > conftest.$ac_ext <<EOF
    10684 #line 10684 "configure"
     10693#line 10693 "configure"
    1068510694#include "confdefs.h"
    1068610695
     
    1302613035   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1302713036   -e 's:$: $lt_compiler_flag:'`
    13028    (eval echo "\"\$as_me:13028: $lt_compile\"" >&5)
     13037   (eval echo "\"\$as_me:13037: $lt_compile\"" >&5)
    1302913038   (eval "$lt_compile" 2>conftest.err)
    1303013039   ac_status=$?
    1303113040   cat conftest.err >&5
    13032    echo "$as_me:13032: \$? = $ac_status" >&5
     13041   echo "$as_me:13041: \$? = $ac_status" >&5
    1303313042   if (exit $ac_status) && test -s "$ac_outfile"; then
    1303413043     # The compiler can only warn and ignore the option if not recognized
     
    1313013139   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1313113140   -e 's:$: $lt_compiler_flag:'`
    13132    (eval echo "\"\$as_me:13132: $lt_compile\"" >&5)
     13141   (eval echo "\"\$as_me:13141: $lt_compile\"" >&5)
    1313313142   (eval "$lt_compile" 2>out/conftest.err)
    1313413143   ac_status=$?
    1313513144   cat out/conftest.err >&5
    13136    echo "$as_me:13136: \$? = $ac_status" >&5
     13145   echo "$as_me:13145: \$? = $ac_status" >&5
    1313713146   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1313813147   then
     
    1470014709   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1470114710   -e 's:$: $lt_compiler_flag:'`
    14702    (eval echo "\"\$as_me:14702: $lt_compile\"" >&5)
     14711   (eval echo "\"\$as_me:14711: $lt_compile\"" >&5)
    1470314712   (eval "$lt_compile" 2>conftest.err)
    1470414713   ac_status=$?
    1470514714   cat conftest.err >&5
    14706    echo "$as_me:14706: \$? = $ac_status" >&5
     14715   echo "$as_me:14715: \$? = $ac_status" >&5
    1470714716   if (exit $ac_status) && test -s "$ac_outfile"; then
    1470814717     # The compiler can only warn and ignore the option if not recognized
     
    1480414813   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1480514814   -e 's:$: $lt_compiler_flag:'`
    14806    (eval echo "\"\$as_me:14806: $lt_compile\"" >&5)
     14815   (eval echo "\"\$as_me:14815: $lt_compile\"" >&5)
    1480714816   (eval "$lt_compile" 2>out/conftest.err)
    1480814817   ac_status=$?
    1480914818   cat out/conftest.err >&5
    14810    echo "$as_me:14810: \$? = $ac_status" >&5
     14819   echo "$as_me:14819: \$? = $ac_status" >&5
    1481114820   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1481214821   then
     
    1701117020   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1701217021   -e 's:$: $lt_compiler_flag:'`
    17013    (eval echo "\"\$as_me:17013: $lt_compile\"" >&5)
     17022   (eval echo "\"\$as_me:17022: $lt_compile\"" >&5)
    1701417023   (eval "$lt_compile" 2>conftest.err)
    1701517024   ac_status=$?
    1701617025   cat conftest.err >&5
    17017    echo "$as_me:17017: \$? = $ac_status" >&5
     17026   echo "$as_me:17026: \$? = $ac_status" >&5
    1701817027   if (exit $ac_status) && test -s "$ac_outfile"; then
    1701917028     # The compiler can only warn and ignore the option if not recognized
     
    1727917288   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1728017289   -e 's:$: $lt_compiler_flag:'`
    17281    (eval echo "\"\$as_me:17281: $lt_compile\"" >&5)
     17290   (eval echo "\"\$as_me:17290: $lt_compile\"" >&5)
    1728217291   (eval "$lt_compile" 2>conftest.err)
    1728317292   ac_status=$?
    1728417293   cat conftest.err >&5
    17285    echo "$as_me:17285: \$? = $ac_status" >&5
     17294   echo "$as_me:17294: \$? = $ac_status" >&5
    1728617295   if (exit $ac_status) && test -s "$ac_outfile"; then
    1728717296     # The compiler can only warn and ignore the option if not recognized
     
    1738317392   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1738417393   -e 's:$: $lt_compiler_flag:'`
    17385    (eval echo "\"\$as_me:17385: $lt_compile\"" >&5)
     17394   (eval echo "\"\$as_me:17394: $lt_compile\"" >&5)
    1738617395   (eval "$lt_compile" 2>out/conftest.err)
    1738717396   ac_status=$?
    1738817397   cat out/conftest.err >&5
    17389    echo "$as_me:17389: \$? = $ac_status" >&5
     17398   echo "$as_me:17398: \$? = $ac_status" >&5
    1739017399   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1739117400   then
     
    2032520334ac_save_FFLAGS=$FFLAGS
    2032620335FFLAGS="$FFLAGS $ac_verb"
    20327 (eval echo $as_me:20327: \"$ac_link\") >&5
     20336(eval echo $as_me:20336: \"$ac_link\") >&5
    2032820337ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2032920338echo "$ac_f77_v_output" >&5
     
    2040320412ac_save_FFLAGS=$FFLAGS
    2040420413FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    20405 (eval echo $as_me:20405: \"$ac_link\") >&5
     20414(eval echo $as_me:20414: \"$ac_link\") >&5
    2040620415ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2040720416echo "$ac_f77_v_output" >&5
     
    2584725856s,@ac_ct_F77@,$ac_ct_F77,;t t
    2584825857s,@MPIF77@,$MPIF77,;t t
     25858s,@DLAMCH_FFLAGS@,$DLAMCH_FFLAGS,;t t
    2584925859s,@EGREP@,$EGREP,;t t
    2585025860s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  • ThirdParty/Lapack/stable/BSP/configure.ac

    r1046 r1102  
    5151AC_COIN_PROG_F77
    5252
     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
     55if test "$coin_debug_compile" = true ; then
     56  DLAMCH_FFLAGS="$DBG_FFLAGS"
     57else
     58  DLAMCH_FFLAGS="$coin_add_fflags $coin_warn_fflags $ADD_FFLAGS"
     59fi
     60AC_SUBST(DLAMCH_FFLAGS)
     61
    5362# Initialize autotools
    5463AC_COIN_INIT_AUTO_TOOLS
Note: See TracChangeset for help on using the changeset viewer.