Changeset 1450
- Timestamp:
- Nov 25, 2009 12:30:13 PM (11 years ago)
- Location:
- ThirdParty/HSL/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/HSL/trunk/Makefile.am
r1411 r1450 1 # Copyright (C) 2003, 200 8International Business Machines and others1 # Copyright (C) 2003, 2009 International Business Machines and others 2 2 # All Rights Reserved. 3 3 # This file is distributed under the Common Public License. … … 30 30 endif 31 31 32 if COIN_HAS_MA77 33 nodist_libcoinhsl_la_SOURCES += hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f 34 endif 35 32 36 lib_LTLIBRARIES = 33 37 if INSTALL_LOADABLE_LIBRARY … … 40 44 41 45 libcoinhsl_la_LDFLAGS = $(LT_LDFLAGS) 46 47 # dependencies 48 hsl_ma77d.lo: hsl_ma77d.deps90.lo 42 49 43 50 ############################################################################# … … 81 88 endif 82 89 90 # Need to overwrite automake definition since otherwise libtool does not 91 # understand the fortran file (need to add --tag=F77) 92 LTFCCOMPILE = $(LIBTOOL) --tag=F77 --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) 93 94 83 95 ######################################################################## 84 96 # Maintainer Stuff # -
ThirdParty/HSL/trunk/Makefile.in
r1411 r1450 15 15 @SET_MAKE@ 16 16 17 # Copyright (C) 2003, 200 8International Business Machines and others17 # Copyright (C) 2003, 2009 International Business Machines and others 18 18 # All Rights Reserved. 19 19 # This file is distributed under the Common Public License. … … 57 57 @COIN_HAS_MA28_TRUE@ mc21ad.f mc22ad.f mc23ad.f mc24ad.f 58 58 59 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@am__append_5 = libhsl.la 59 @COIN_HAS_MA77_TRUE@am__append_5 = hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f 60 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@am__append_6 = libhsl.la 60 61 DIST_COMMON = $(am__configure_deps) \ 61 62 $(srcdir)/../../BuildTools/Makemain.inc $(srcdir)/Makefile.am \ 62 63 $(srcdir)/Makefile.in $(top_srcdir)/configure config.guess \ 63 64 config.sub depcomp install-sh ltmain.sh missing 64 @HAVE_EXTERNALS_TRUE@am__append_ 6= Externals65 @HAVE_EXTERNALS_TRUE@am__append_ 7= .Externals-stamp65 @HAVE_EXTERNALS_TRUE@am__append_7 = Externals 66 @HAVE_EXTERNALS_TRUE@am__append_8 = .Externals-stamp 66 67 subdir = . 67 68 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 … … 90 91 @COIN_HAS_MA28_TRUE@ mc20ad.lo mc21ad.lo mc22ad.lo mc23ad.lo \ 91 92 @COIN_HAS_MA28_TRUE@ mc24ad.lo 93 @COIN_HAS_MA77_TRUE@am__objects_5 = hsl_ma77d.lo hsl_ma77d.deps90.lo \ 94 @COIN_HAS_MA77_TRUE@ hsl_ma77d.deps77.lo 92 95 nodist_libcoinhsl_la_OBJECTS = dummy.lo $(am__objects_1) \ 93 $(am__objects_2) $(am__objects_3) $(am__objects_4) 96 $(am__objects_2) $(am__objects_3) $(am__objects_4) \ 97 $(am__objects_5) 94 98 libcoinhsl_la_OBJECTS = $(nodist_libcoinhsl_la_OBJECTS) 95 99 libhsl_la_LIBADD = 96 100 am__libhsl_la_SOURCES_DIST = dummy.c ma27ad.f ma57ad.f mc19ad.f \ 97 101 ma28ad.f ma30ad.f mc13dd.f mc20ad.f mc21ad.f mc22ad.f mc23ad.f \ 98 mc24ad.f 99 am__objects_ 5= dummy.lo $(am__objects_1) $(am__objects_2) \100 $(am__objects_3) $(am__objects_4) 101 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@am_libhsl_la_OBJECTS = $(am__objects_ 5)102 mc24ad.f hsl_ma77d.f90 hsl_ma77d.deps90.f90 hsl_ma77d.deps77.f 103 am__objects_6 = dummy.lo $(am__objects_1) $(am__objects_2) \ 104 $(am__objects_3) $(am__objects_4) $(am__objects_5) 105 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@am_libhsl_la_OBJECTS = $(am__objects_6) 102 106 libhsl_la_OBJECTS = $(am_libhsl_la_OBJECTS) 103 107 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@am_libhsl_la_rpath = -rpath \ … … 120 124 F77LINK = $(LIBTOOL) --tag=F77 --mode=link $(F77LD) $(AM_FFLAGS) \ 121 125 $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 126 FCCOMPILE = $(FC) $(AM_FCFLAGS) $(FCFLAGS) 127 FCLD = $(FC) 128 FCLINK = $(LIBTOOL) --mode=link $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) \ 129 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 122 130 SOURCES = $(nodist_libcoinhsl_la_SOURCES) $(libhsl_la_SOURCES) 123 131 DIST_SOURCES = $(am__libhsl_la_SOURCES_DIST) … … 161 169 COIN_HAS_MA57_FALSE = @COIN_HAS_MA57_FALSE@ 162 170 COIN_HAS_MA57_TRUE = @COIN_HAS_MA57_TRUE@ 171 COIN_HAS_MA77_FALSE = @COIN_HAS_MA77_FALSE@ 172 COIN_HAS_MA77_TRUE = @COIN_HAS_MA77_TRUE@ 163 173 COIN_HAS_MC19_FALSE = @COIN_HAS_MC19_FALSE@ 164 174 COIN_HAS_MC19_TRUE = @COIN_HAS_MC19_TRUE@ … … 188 198 F77_SHARED_CMD = @F77_SHARED_CMD@ 189 199 FADDLIBS = @FADDLIBS@ 200 FC = @FC@ 201 FCFLAGS = @FCFLAGS@ 190 202 FFLAGS = @FFLAGS@ 191 203 HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@ … … 241 253 ac_ct_CXX = @ac_ct_CXX@ 242 254 ac_ct_F77 = @ac_ct_F77@ 255 ac_ct_FC = @ac_ct_FC@ 243 256 ac_ct_RANLIB = @ac_ct_RANLIB@ 244 257 ac_ct_STRIP = @ac_ct_STRIP@ … … 286 299 target_alias = @target_alias@ 287 300 AUTOMAKE_OPTIONS = foreign 288 EXTRA_DIST = INSTALL.HSL $(am__append_ 6)301 EXTRA_DIST = INSTALL.HSL $(am__append_7) 289 302 noinst_LTLIBRARIES = libcoinhsl.la 290 303 nodist_libcoinhsl_la_SOURCES = dummy.c $(am__append_1) $(am__append_2) \ 291 $(am__append_3) $(am__append_4) 292 lib_LTLIBRARIES = $(am__append_ 5)304 $(am__append_3) $(am__append_4) $(am__append_5) 305 lib_LTLIBRARIES = $(am__append_6) 293 306 @EXTRA_SHARED_COMMAND_FALSE@@INSTALL_LOADABLE_LIBRARY_TRUE@libhsl_la_SOURCES = $(nodist_libcoinhsl_la_SOURCES) 294 307 libcoinhsl_la_LDFLAGS = $(LT_LDFLAGS) 295 308 @EXTRA_SHARED_COMMAND_TRUE@CLEANFILES = $(HSL_SHARED_LIB) $(DEFFILE) 296 309 310 # Need to overwrite automake definition since otherwise libtool does not 311 # understand the fortran file (need to add --tag=F77) 312 LTFCCOMPILE = $(LIBTOOL) --tag=F77 --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS) 313 297 314 ######################################################################## 298 315 # Maintainer Stuff # … … 300 317 301 318 # Files that are generated and should be cleaned with make distclean 302 DISTCLEANFILES = $(am__append_ 7) $(VPATH_DISTCLEANFILES)319 DISTCLEANFILES = $(am__append_8) $(VPATH_DISTCLEANFILES) 303 320 DocFiles = README AUTHORS LICENSE 304 321 DocInstallDir = $(prefix)/share/doc/coin/$(PACKAGE_NAME) … … 306 323 307 324 .SUFFIXES: 308 .SUFFIXES: .c .f . lo .o .obj325 .SUFFIXES: .c .f .f90 .lo .o .obj 309 326 am--refresh: 310 327 @: … … 418 435 .f.lo: 419 436 $(LTF77COMPILE) -c -o $@ $< 437 438 .f90.o: 439 $(FCCOMPILE) -c -o $@ $< 440 441 .f90.obj: 442 $(FCCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 443 444 .f90.lo: 445 $(LTFCCOMPILE) -c -o $@ $< 420 446 421 447 mostlyclean-libtool: … … 711 737 712 738 739 # dependencies 740 hsl_ma77d.lo: hsl_ma77d.deps90.lo 741 713 742 ############################################################################# 714 743 # Generating a shared library for delay loading -
ThirdParty/HSL/trunk/configure
r1411 r1450 10 10 # 11 11 # 12 # Copyright 2006 International Business Machines and others.12 # Copyright 2006, 2009 International Business Machines and others. 13 13 # All Rights Reserved. 14 14 # This file is part of the open source package Coin which is distributed … … 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 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 COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE 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 ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 EGREP FC FCFLAGS ac_ct_FC 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 COIN_HAS_MA27_TRUE COIN_HAS_MA27_FALSE COIN_HAS_MC19_TRUE COIN_HAS_MC19_FALSE COIN_HAS_MA57_TRUE COIN_HAS_MA57_FALSE COIN_HAS_MA28_TRUE COIN_HAS_MA28_FALSE COIN_HAS_MA77_TRUE COIN_HAS_MA77_FALSE F77_SHARED_CMD F77_DLL_LINKFLAGS HSL_SHARED_LIB EXPORT_SYMBOLS DEFFILE INSTALL_LOADABLE_LIBRARY_TRUE INSTALL_LOADABLE_LIBRARY_FALSE NEED_DEFFILE_TRUE NEED_DEFFILE_FALSE EXTRA_SHARED_COMMAND_TRUE EXTRA_SHARED_COMMAND_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 974 974 ac_cv_env_MPIF77_set=${MPIF77+set} 975 975 ac_cv_env_MPIF77_value=$MPIF77 976 ac_env_FC_set=${FC+set} 977 ac_env_FC_value=$FC 978 ac_cv_env_FC_set=${FC+set} 979 ac_cv_env_FC_value=$FC 980 ac_env_FCFLAGS_set=${FCFLAGS+set} 981 ac_env_FCFLAGS_value=$FCFLAGS 982 ac_cv_env_FCFLAGS_set=${FCFLAGS+set} 983 ac_cv_env_FCFLAGS_value=$FCFLAGS 976 984 ac_env_CPP_set=${CPP+set} 977 985 ac_env_CPP_value=$CPP … … 1122 1130 FFLAGS Fortran 77 compiler flags 1123 1131 MPIF77 Fortran MPI Compiler 1132 FC Fortran compiler command 1133 FCFLAGS Fortran compiler flags 1124 1134 CPP C preprocessor 1125 1135 CXX C++ compiler command … … 1234 1244 1235 1245 1236 Copyright 2006 International Business Machines and others.1246 Copyright 2006, 2009 International Business Machines and others. 1237 1247 All Rights Reserved. 1238 1248 This file is part of the open source package Coin which is distributed … … 3304 3314 3305 3315 # Provide some information about the compiler. 3306 echo "$as_me:33 06:" \3316 echo "$as_me:3316:" \ 3307 3317 "checking for Fortran 77 compiler version" >&5 3308 3318 ac_compiler=`set X $ac_compile; echo $2` … … 3837 3847 3838 3848 3849 # Also set up the FC compiler variable, required to compile .f90 3850 # files. We use the same compile and flags as F77 and FFLAGS, unless 3851 # the user has set FC and FCFLAGS explicitly. 3852 if test "$FC" = ""; then 3853 FC="$F77" 3854 fi 3855 if test "$FCFLAGS" = ""; then 3856 FCFLAGS="$FFLAGS" 3857 fi 3858 ac_ext=${FC_SRCEXT-f} 3859 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' 3860 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' 3861 ac_compiler_gnu=$ac_cv_fc_compiler_gnu 3862 if test -n "$ac_tool_prefix"; then 3863 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77 3864 do 3865 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3866 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3867 echo "$as_me:$LINENO: checking for $ac_word" >&5 3868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3869 if test "${ac_cv_prog_FC+set}" = set; then 3870 echo $ECHO_N "(cached) $ECHO_C" >&6 3871 else 3872 if test -n "$FC"; then 3873 ac_cv_prog_FC="$FC" # Let the user override the test. 3874 else 3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3876 for as_dir in $PATH 3877 do 3878 IFS=$as_save_IFS 3879 test -z "$as_dir" && as_dir=. 3880 for ac_exec_ext in '' $ac_executable_extensions; do 3881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3882 ac_cv_prog_FC="$ac_tool_prefix$ac_prog" 3883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3884 break 2 3885 fi 3886 done 3887 done 3888 3889 fi 3890 fi 3891 FC=$ac_cv_prog_FC 3892 if test -n "$FC"; then 3893 echo "$as_me:$LINENO: result: $FC" >&5 3894 echo "${ECHO_T}$FC" >&6 3895 else 3896 echo "$as_me:$LINENO: result: no" >&5 3897 echo "${ECHO_T}no" >&6 3898 fi 3899 3900 test -n "$FC" && break 3901 done 3902 fi 3903 if test -z "$FC"; then 3904 ac_ct_FC=$FC 3905 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77 3906 do 3907 # Extract the first word of "$ac_prog", so it can be a program name with args. 3908 set dummy $ac_prog; ac_word=$2 3909 echo "$as_me:$LINENO: checking for $ac_word" >&5 3910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3911 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then 3912 echo $ECHO_N "(cached) $ECHO_C" >&6 3913 else 3914 if test -n "$ac_ct_FC"; then 3915 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. 3916 else 3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3918 for as_dir in $PATH 3919 do 3920 IFS=$as_save_IFS 3921 test -z "$as_dir" && as_dir=. 3922 for ac_exec_ext in '' $ac_executable_extensions; do 3923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3924 ac_cv_prog_ac_ct_FC="$ac_prog" 3925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3926 break 2 3927 fi 3928 done 3929 done 3930 3931 fi 3932 fi 3933 ac_ct_FC=$ac_cv_prog_ac_ct_FC 3934 if test -n "$ac_ct_FC"; then 3935 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5 3936 echo "${ECHO_T}$ac_ct_FC" >&6 3937 else 3938 echo "$as_me:$LINENO: result: no" >&5 3939 echo "${ECHO_T}no" >&6 3940 fi 3941 3942 test -n "$ac_ct_FC" && break 3943 done 3944 3945 FC=$ac_ct_FC 3946 fi 3947 3948 3949 # Provide some information about the compiler. 3950 echo "$as_me:3950:" \ 3951 "checking for Fortran compiler version" >&5 3952 ac_compiler=`set X $ac_compile; echo $2` 3953 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 3954 (eval $ac_compiler --version </dev/null >&5) 2>&5 3955 ac_status=$? 3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3957 (exit $ac_status); } 3958 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 3959 (eval $ac_compiler -v </dev/null >&5) 2>&5 3960 ac_status=$? 3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3962 (exit $ac_status); } 3963 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 3964 (eval $ac_compiler -V </dev/null >&5) 2>&5 3965 ac_status=$? 3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3967 (exit $ac_status); } 3968 rm -f a.out 3969 3970 # If we don't use `.F' as extension, the preprocessor is not run on the 3971 # input file. (Note that this only needs to work for GNU compilers.) 3972 ac_save_ext=$ac_ext 3973 ac_ext=F 3974 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5 3975 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6 3976 if test "${ac_cv_fc_compiler_gnu+set}" = set; then 3977 echo $ECHO_N "(cached) $ECHO_C" >&6 3978 else 3979 cat >conftest.$ac_ext <<_ACEOF 3980 program main 3981 #ifndef __GNUC__ 3982 choke me 3983 #endif 3984 3985 end 3986 _ACEOF 3987 rm -f conftest.$ac_objext 3988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3989 (eval $ac_compile) 2>conftest.er1 3990 ac_status=$? 3991 grep -v '^ *+' conftest.er1 >conftest.err 3992 rm -f conftest.er1 3993 cat conftest.err >&5 3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3995 (exit $ac_status); } && 3996 { ac_try='test -z "$ac_fc_werror_flag" 3997 || test ! -s conftest.err' 3998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3999 (eval $ac_try) 2>&5 4000 ac_status=$? 4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4002 (exit $ac_status); }; } && 4003 { ac_try='test -s conftest.$ac_objext' 4004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4005 (eval $ac_try) 2>&5 4006 ac_status=$? 4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4008 (exit $ac_status); }; }; then 4009 ac_compiler_gnu=yes 4010 else 4011 echo "$as_me: failed program was:" >&5 4012 sed 's/^/| /' conftest.$ac_ext >&5 4013 4014 ac_compiler_gnu=no 4015 fi 4016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4017 ac_cv_fc_compiler_gnu=$ac_compiler_gnu 4018 4019 fi 4020 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5 4021 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6 4022 ac_ext=$ac_save_ext 4023 ac_test_FFLAGS=${FCFLAGS+set} 4024 ac_save_FFLAGS=$FCFLAGS 4025 FCFLAGS= 4026 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5 4027 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6 4028 if test "${ac_cv_prog_fc_g+set}" = set; then 4029 echo $ECHO_N "(cached) $ECHO_C" >&6 4030 else 4031 FCFLAGS=-g 4032 cat >conftest.$ac_ext <<_ACEOF 4033 program main 4034 4035 end 4036 _ACEOF 4037 rm -f conftest.$ac_objext 4038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4039 (eval $ac_compile) 2>conftest.er1 4040 ac_status=$? 4041 grep -v '^ *+' conftest.er1 >conftest.err 4042 rm -f conftest.er1 4043 cat conftest.err >&5 4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4045 (exit $ac_status); } && 4046 { ac_try='test -z "$ac_fc_werror_flag" 4047 || test ! -s conftest.err' 4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4049 (eval $ac_try) 2>&5 4050 ac_status=$? 4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4052 (exit $ac_status); }; } && 4053 { ac_try='test -s conftest.$ac_objext' 4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4055 (eval $ac_try) 2>&5 4056 ac_status=$? 4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4058 (exit $ac_status); }; }; then 4059 ac_cv_prog_fc_g=yes 4060 else 4061 echo "$as_me: failed program was:" >&5 4062 sed 's/^/| /' conftest.$ac_ext >&5 4063 4064 ac_cv_prog_fc_g=no 4065 fi 4066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4067 4068 fi 4069 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5 4070 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6 4071 if test "$ac_test_FFLAGS" = set; then 4072 FCFLAGS=$ac_save_FFLAGS 4073 elif test $ac_cv_prog_fc_g = yes; then 4074 if test "x$ac_cv_fc_compiler_gnu" = xyes; then 4075 FCFLAGS="-g -O2" 4076 else 4077 FCFLAGS="-g" 4078 fi 4079 else 4080 if test "x$ac_cv_fc_compiler_gnu" = xyes; then 4081 FCFLAGS="-O2" 4082 else 4083 FCFLAGS= 4084 fi 4085 fi 4086 4087 ac_ext=c 4088 ac_cpp='$CPP $CPPFLAGS' 4089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4091 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4092 4093 3839 4094 # Initialize autotools 3840 4095 … … 5459 5714 *-*-irix6*) 5460 5715 # Find out which ABI we are using. 5461 echo '#line 5 461"configure"' > conftest.$ac_ext5716 echo '#line 5716 "configure"' > conftest.$ac_ext 5462 5717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5463 5718 (eval $ac_compile) 2>&5 … … 7888 8143 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7889 8144 -e 's:$: $lt_compiler_flag:'` 7890 (eval echo "\"\$as_me: 7890: $lt_compile\"" >&5)8145 (eval echo "\"\$as_me:8145: $lt_compile\"" >&5) 7891 8146 (eval "$lt_compile" 2>conftest.err) 7892 8147 ac_status=$? 7893 8148 cat conftest.err >&5 7894 echo "$as_me: 7894: \$? = $ac_status" >&58149 echo "$as_me:8149: \$? = $ac_status" >&5 7895 8150 if (exit $ac_status) && test -s "$ac_outfile"; then 7896 8151 # The compiler can only warn and ignore the option if not recognized … … 8156 8411 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8157 8412 -e 's:$: $lt_compiler_flag:'` 8158 (eval echo "\"\$as_me:8 158: $lt_compile\"" >&5)8413 (eval echo "\"\$as_me:8413: $lt_compile\"" >&5) 8159 8414 (eval "$lt_compile" 2>conftest.err) 8160 8415 ac_status=$? 8161 8416 cat conftest.err >&5 8162 echo "$as_me:8 162: \$? = $ac_status" >&58417 echo "$as_me:8417: \$? = $ac_status" >&5 8163 8418 if (exit $ac_status) && test -s "$ac_outfile"; then 8164 8419 # The compiler can only warn and ignore the option if not recognized … … 8260 8515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8261 8516 -e 's:$: $lt_compiler_flag:'` 8262 (eval echo "\"\$as_me:8 262: $lt_compile\"" >&5)8517 (eval echo "\"\$as_me:8517: $lt_compile\"" >&5) 8263 8518 (eval "$lt_compile" 2>out/conftest.err) 8264 8519 ac_status=$? 8265 8520 cat out/conftest.err >&5 8266 echo "$as_me:8 266: \$? = $ac_status" >&58521 echo "$as_me:8521: \$? = $ac_status" >&5 8267 8522 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8268 8523 then … … 10605 10860 lt_status=$lt_dlunknown 10606 10861 cat > conftest.$ac_ext <<EOF 10607 #line 10 607"configure"10862 #line 10862 "configure" 10608 10863 #include "confdefs.h" 10609 10864 … … 10705 10960 lt_status=$lt_dlunknown 10706 10961 cat > conftest.$ac_ext <<EOF 10707 #line 10 707"configure"10962 #line 10962 "configure" 10708 10963 #include "confdefs.h" 10709 10964 … … 13049 13304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13050 13305 -e 's:$: $lt_compiler_flag:'` 13051 (eval echo "\"\$as_me:13 051: $lt_compile\"" >&5)13306 (eval echo "\"\$as_me:13306: $lt_compile\"" >&5) 13052 13307 (eval "$lt_compile" 2>conftest.err) 13053 13308 ac_status=$? 13054 13309 cat conftest.err >&5 13055 echo "$as_me:13 055: \$? = $ac_status" >&513310 echo "$as_me:13310: \$? = $ac_status" >&5 13056 13311 if (exit $ac_status) && test -s "$ac_outfile"; then 13057 13312 # The compiler can only warn and ignore the option if not recognized … … 13153 13408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13154 13409 -e 's:$: $lt_compiler_flag:'` 13155 (eval echo "\"\$as_me:13 155: $lt_compile\"" >&5)13410 (eval echo "\"\$as_me:13410: $lt_compile\"" >&5) 13156 13411 (eval "$lt_compile" 2>out/conftest.err) 13157 13412 ac_status=$? 13158 13413 cat out/conftest.err >&5 13159 echo "$as_me:13 159: \$? = $ac_status" >&513414 echo "$as_me:13414: \$? = $ac_status" >&5 13160 13415 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13161 13416 then … … 14723 14978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14724 14979 -e 's:$: $lt_compiler_flag:'` 14725 (eval echo "\"\$as_me:14 725: $lt_compile\"" >&5)14980 (eval echo "\"\$as_me:14980: $lt_compile\"" >&5) 14726 14981 (eval "$lt_compile" 2>conftest.err) 14727 14982 ac_status=$? 14728 14983 cat conftest.err >&5 14729 echo "$as_me:14 729: \$? = $ac_status" >&514984 echo "$as_me:14984: \$? = $ac_status" >&5 14730 14985 if (exit $ac_status) && test -s "$ac_outfile"; then 14731 14986 # The compiler can only warn and ignore the option if not recognized … … 14827 15082 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14828 15083 -e 's:$: $lt_compiler_flag:'` 14829 (eval echo "\"\$as_me:1 4829: $lt_compile\"" >&5)15084 (eval echo "\"\$as_me:15084: $lt_compile\"" >&5) 14830 15085 (eval "$lt_compile" 2>out/conftest.err) 14831 15086 ac_status=$? 14832 15087 cat out/conftest.err >&5 14833 echo "$as_me:1 4833: \$? = $ac_status" >&515088 echo "$as_me:15088: \$? = $ac_status" >&5 14834 15089 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14835 15090 then … … 17034 17289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17035 17290 -e 's:$: $lt_compiler_flag:'` 17036 (eval echo "\"\$as_me:17 036: $lt_compile\"" >&5)17291 (eval echo "\"\$as_me:17291: $lt_compile\"" >&5) 17037 17292 (eval "$lt_compile" 2>conftest.err) 17038 17293 ac_status=$? 17039 17294 cat conftest.err >&5 17040 echo "$as_me:17 040: \$? = $ac_status" >&517295 echo "$as_me:17295: \$? = $ac_status" >&5 17041 17296 if (exit $ac_status) && test -s "$ac_outfile"; then 17042 17297 # The compiler can only warn and ignore the option if not recognized … … 17302 17557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17303 17558 -e 's:$: $lt_compiler_flag:'` 17304 (eval echo "\"\$as_me:17 304: $lt_compile\"" >&5)17559 (eval echo "\"\$as_me:17559: $lt_compile\"" >&5) 17305 17560 (eval "$lt_compile" 2>conftest.err) 17306 17561 ac_status=$? 17307 17562 cat conftest.err >&5 17308 echo "$as_me:17 308: \$? = $ac_status" >&517563 echo "$as_me:17563: \$? = $ac_status" >&5 17309 17564 if (exit $ac_status) && test -s "$ac_outfile"; then 17310 17565 # The compiler can only warn and ignore the option if not recognized … … 17406 17661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17407 17662 -e 's:$: $lt_compiler_flag:'` 17408 (eval echo "\"\$as_me:17 408: $lt_compile\"" >&5)17663 (eval echo "\"\$as_me:17663: $lt_compile\"" >&5) 17409 17664 (eval "$lt_compile" 2>out/conftest.err) 17410 17665 ac_status=$? 17411 17666 cat out/conftest.err >&5 17412 echo "$as_me:17 412: \$? = $ac_status" >&517667 echo "$as_me:17667: \$? = $ac_status" >&5 17413 17668 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17414 17669 then … … 20312 20567 ############################################################################# 20313 20568 20569 echo "$as_me:$LINENO: checking whether we can compile Fortran 90 code" >&5 20570 echo $ECHO_N "checking whether we can compile Fortran 90 code... $ECHO_C" >&6 20571 ac_ext=f 20572 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 20573 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20574 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 20575 20576 cat >conftest.$ac_ext <<_ACEOF 20577 MODULE BLA 20578 DOUBLE PRECISION, DIMENSION(:), ALLOCATABLE :: BLUBB 20579 END MODULE BLA 20580 _ACEOF 20581 rm -f conftest.$ac_objext 20582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 20583 (eval $ac_compile) 2>conftest.er1 20584 ac_status=$? 20585 grep -v '^ *+' conftest.er1 >conftest.err 20586 rm -f conftest.er1 20587 cat conftest.err >&5 20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20589 (exit $ac_status); } && 20590 { ac_try='test -z "$ac_f77_werror_flag" 20591 || test ! -s conftest.err' 20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20593 (eval $ac_try) 2>&5 20594 ac_status=$? 20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20596 (exit $ac_status); }; } && 20597 { ac_try='test -s conftest.$ac_objext' 20598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20599 (eval $ac_try) 2>&5 20600 ac_status=$? 20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20602 (exit $ac_status); }; }; then 20603 have_f90=yes 20604 else 20605 echo "$as_me: failed program was:" >&5 20606 sed 's/^/| /' conftest.$ac_ext >&5 20607 20608 have_f90=no 20609 fi 20610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 20611 echo "$as_me:$LINENO: result: $have_f90" >&5 20612 echo "${ECHO_T}$have_f90" >&6 20613 ac_ext=c 20614 ac_cpp='$CPP $CPPFLAGS' 20615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20617 ac_compiler_gnu=$ac_cv_c_compiler_gnu 20618 20619 20620 20621 20314 20622 20315 20623 … … 20402 20710 COIN_HAS_MA28_TRUE='#' 20403 20711 COIN_HAS_MA28_FALSE= 20712 fi 20713 20714 if test $have_f90 = yes; then 20715 if test -r $srcdir/hsl_ma77d.f90; then 20716 hsl_files="$hsl_files hsl_ma77d.f" 20717 coin_has_hsl_ma77d=yes 20718 : 20719 else 20720 coin_has_hsl_ma77d=no 20721 : 20722 fi 20723 20724 else 20725 coin_has_hsl_ma77d=no 20726 fi 20727 20728 20729 if test $coin_has_hsl_ma77d = yes; then 20730 COIN_HAS_MA77_TRUE= 20731 COIN_HAS_MA77_FALSE='#' 20732 else 20733 COIN_HAS_MA77_TRUE='#' 20734 COIN_HAS_MA77_FALSE= 20404 20735 fi 20405 20736 … … 20744 21075 Usually this means the macro was only invoked conditionally." >&5 20745 21076 echo "$as_me: error: conditional \"COIN_HAS_MA28\" was never defined. 21077 Usually this means the macro was only invoked conditionally." >&2;} 21078 { (exit 1); exit 1; }; } 21079 fi 21080 if test -z "${COIN_HAS_MA77_TRUE}" && test -z "${COIN_HAS_MA77_FALSE}"; then 21081 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MA77\" was never defined. 21082 Usually this means the macro was only invoked conditionally." >&5 21083 echo "$as_me: error: conditional \"COIN_HAS_MA77\" was never defined. 20746 21084 Usually this means the macro was only invoked conditionally." >&2;} 20747 21085 { (exit 1); exit 1; }; } … … 21322 21660 s,@MPIF77@,$MPIF77,;t t 21323 21661 s,@EGREP@,$EGREP,;t t 21662 s,@FC@,$FC,;t t 21663 s,@FCFLAGS@,$FCFLAGS,;t t 21664 s,@ac_ct_FC@,$ac_ct_FC,;t t 21324 21665 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 21325 21666 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t … … 21399 21740 s,@COIN_HAS_MA28_TRUE@,$COIN_HAS_MA28_TRUE,;t t 21400 21741 s,@COIN_HAS_MA28_FALSE@,$COIN_HAS_MA28_FALSE,;t t 21742 s,@COIN_HAS_MA77_TRUE@,$COIN_HAS_MA77_TRUE,;t t 21743 s,@COIN_HAS_MA77_FALSE@,$COIN_HAS_MA77_FALSE,;t t 21401 21744 s,@F77_SHARED_CMD@,$F77_SHARED_CMD,;t t 21402 21745 s,@F77_DLL_LINKFLAGS@,$F77_DLL_LINKFLAGS,;t t -
ThirdParty/HSL/trunk/configure.ac
r1411 r1450 1 # Copyright (C) 2006 International Business Machines.1 # Copyright (C) 2006, 2009 International Business Machines. 2 2 # All Rights Reserved. 3 3 # This file is distributed under the Common Public License. … … 17 17 18 18 AC_COPYRIGHT([ 19 Copyright 2006 International Business Machines and others.19 Copyright 2006, 2009 International Business Machines and others. 20 20 All Rights Reserved. 21 21 This file is part of the open source package Coin which is distributed … … 63 63 AC_PROG_EGREP 64 64 65 # Also set up the FC compiler variable, required to compile .f90 66 # files. We use the same compile and flags as F77 and FFLAGS, unless 67 # the user has set FC and FCFLAGS explicitly. 68 if test "$FC" = ""; then 69 FC="$F77" 70 fi 71 if test "$FCFLAGS" = ""; then 72 FCFLAGS="$FFLAGS" 73 fi 74 AC_PROG_FC 75 65 76 # Initialize autotools 66 77 … … 74 85 ############################################################################# 75 86 87 AC_MSG_CHECKING([whether we can compile Fortran 90 code]) 88 AC_LANG_PUSH(Fortran 77) 89 AC_COMPILE_IFELSE([ MODULE BLA 90 DOUBLE PRECISION, DIMENSION(:), ALLOCATABLE :: BLUBB 91 END MODULE BLA],[have_f90=yes],[have_f90=no]) 92 AC_MSG_RESULT([$have_f90]) 93 AC_LANG_POP(Fortran 77) 94 76 95 AC_DEFUN([MY_CHECK_HSLFILE], 77 96 [AC_COIN_CHECK_FILE([$srcdir/$1.f], … … 79 98 coin_has_$1=yes], 80 99 [coin_has_$1=no]) 100 AM_CONDITIONAL([COIN_HAS_$2],[test $coin_has_$1 = yes])]) 101 102 AC_DEFUN([MY_CHECK_HSLFILE_F90], 103 [if test $have_f90 = yes; then 104 AC_COIN_CHECK_FILE([$srcdir/$1.f90], 105 [hsl_files="$hsl_files $1.f" 106 coin_has_$1=yes], 107 [coin_has_$1=no]) 108 else 109 coin_has_$1=no 110 fi 81 111 AM_CONDITIONAL([COIN_HAS_$2],[test $coin_has_$1 = yes])]) 82 112 … … 94 124 MY_CHECK_HSLFILE(ma57ad,MA57) 95 125 MY_CHECK_HSLFILE(ma28ad,MA28) 126 MY_CHECK_HSLFILE_F90(hsl_ma77d,MA77) 96 127 97 128 if test x$enable_loadable_library = xyes; then
Note: See TracChangeset
for help on using the changeset viewer.