Changeset 141
- Timestamp:
- Nov 27, 2006 6:42:50 PM (14 years ago)
- Location:
- ThirdParty/Lapack/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Lapack/trunk/INSTALL.LAPACK
r70 r141 23 23 24 24 Alternatively, if you want to have the necessary LAPACK routines compiled 25 within this distribution, please download the 'lapack .tgz' tarball from26 http://www.netlib.org/lapack and unpack it in this directory25 within this distribution, please download the 'lapack-lite-3.1.0.tgz' tarball 26 from http://www.netlib.org/lapack and unpack it in this directory 27 27 (COIN/Ipopt/SOURCES/OTHERS/lapack): 28 28 29 gunzip lapack.tgz 30 tar xf lapack.tar 29 gunzip lapack-lite-3.1.0.tgz 30 tar xf lapack-lite-3.1.0.tar 31 mv lapack-3.1.0 LAPACK 32 33 The last step is necessary since the projects expect the source code to 34 be in that directory. 31 35 32 36 If you then run the configure script again, it would automatically detect the … … 34 38 35 39 NOTE: The LAPACK source files are expected to be in the subdirectory 36 LAPACK/SRC of this directory.40 LAPACK/SRC and LAPACK/INSTALL of this directory. -
ThirdParty/Lapack/trunk/Makefile.am
r49 r141 43 43 dsytrd.f \ 44 44 ieeeck.f \ 45 ilaenv.f 45 ilaenv.f \ 46 iparmq.f 46 47 47 48 nodist_libcoinlapack_la_SOURCES = $(LAPACK_FILES) -
ThirdParty/Lapack/trunk/Makefile.in
r94 r141 56 56 $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \ 57 57 $(srcdir)/../../missing $(srcdir)/Makefile.am \ 58 $(srcdir)/Makefile.in $(top_srcdir)/configure 58 $(srcdir)/Makefile.in $(top_srcdir)/LAPACK/INSTALL/dlamch.f \ 59 $(top_srcdir)/configure 59 60 @HAVE_EXTERNALS_TRUE@am__append_1 = Externals 60 61 @HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp … … 68 69 configure.lineno configure.status.lineno 69 70 mkinstalldirs = $(install_sh) -d 70 CONFIG_CLEAN_FILES = 71 CONFIG_CLEAN_FILES = dlamch.f 71 72 LTLIBRARIES = $(noinst_LTLIBRARIES) 72 73 libcoinlapack_la_LIBADD = … … 76 77 dorg2l.lo dorg2r.lo dorgql.lo dorgqr.lo dorgtr.lo dpotf2.lo \ 77 78 dpotrf.lo dpotrs.lo dsteqr.lo dsterf.lo dsyev.lo dsytd2.lo \ 78 dsytrd.lo ieeeck.lo ilaenv.lo 79 dsytrd.lo ieeeck.lo ilaenv.lo iparmq.lo 79 80 nodist_libcoinlapack_la_OBJECTS = $(am__objects_1) 80 81 libcoinlapack_la_OBJECTS = $(nodist_libcoinlapack_la_OBJECTS) … … 103 104 ACLOCAL = @ACLOCAL@ 104 105 ADDLIBS = @ADDLIBS@ 106 ADD_CFLAGS = @ADD_CFLAGS@ 105 107 ADD_FFLAGS = @ADD_FFLAGS@ 106 108 ALWAYS_FALSE_FALSE = @ALWAYS_FALSE_FALSE@ … … 118 120 CC = @CC@ 119 121 CCDEPMODE = @CCDEPMODE@ 122 CDEFS = @CDEFS@ 120 123 CFLAGS = @CFLAGS@ 121 124 CPP = @CPP@ … … 126 129 CXXFLAGS = @CXXFLAGS@ 127 130 CYGPATH_W = @CYGPATH_W@ 131 DBG_CFLAGS = @DBG_CFLAGS@ 128 132 DBG_FFLAGS = @DBG_FFLAGS@ 129 133 DEFS = @DEFS@ … … 157 161 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 158 162 MAKEINFO = @MAKEINFO@ 163 MPICC = @MPICC@ 159 164 MPIF77 = @MPIF77@ 160 165 OBJEXT = @OBJEXT@ 166 OPT_CFLAGS = @OPT_CFLAGS@ 161 167 OPT_FFLAGS = @OPT_FFLAGS@ 162 168 PACKAGE = @PACKAGE@ … … 259 265 dsytrd.f \ 260 266 ieeeck.f \ 261 ilaenv.f 267 ilaenv.f \ 268 iparmq.f 262 269 263 270 nodist_libcoinlapack_la_SOURCES = $(LAPACK_FILES) … … 396 403 $(am__remove_distdir) 397 404 mkdir $(distdir) 398 $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools 405 $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools $(distdir)/LAPACK/INSTALL 399 406 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 400 407 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ -
ThirdParty/Lapack/trunk/configure
r100 r141 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 ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS LDFLAGS ac_ct_F77 EXEEXT OBJEXT 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 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 CC CFLAGS CPPFLAGS ac_ct_CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_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 LT_LDFLAGS RPATH_FLAGS 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 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 LT_LDFLAGS RPATH_FLAGS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 914 914 ac_cv_env_target_alias_set=${target_alias+set} 915 915 ac_cv_env_target_alias_value=$target_alias 916 ac_env_CDEFS_set=${CDEFS+set} 917 ac_env_CDEFS_value=$CDEFS 918 ac_cv_env_CDEFS_set=${CDEFS+set} 919 ac_cv_env_CDEFS_value=$CDEFS 920 ac_env_ADD_CFLAGS_set=${ADD_CFLAGS+set} 921 ac_env_ADD_CFLAGS_value=$ADD_CFLAGS 922 ac_cv_env_ADD_CFLAGS_set=${ADD_CFLAGS+set} 923 ac_cv_env_ADD_CFLAGS_value=$ADD_CFLAGS 924 ac_env_DBG_CFLAGS_set=${DBG_CFLAGS+set} 925 ac_env_DBG_CFLAGS_value=$DBG_CFLAGS 926 ac_cv_env_DBG_CFLAGS_set=${DBG_CFLAGS+set} 927 ac_cv_env_DBG_CFLAGS_value=$DBG_CFLAGS 928 ac_env_OPT_CFLAGS_set=${OPT_CFLAGS+set} 929 ac_env_OPT_CFLAGS_value=$OPT_CFLAGS 930 ac_cv_env_OPT_CFLAGS_set=${OPT_CFLAGS+set} 931 ac_cv_env_OPT_CFLAGS_value=$OPT_CFLAGS 932 ac_env_CC_set=${CC+set} 933 ac_env_CC_value=$CC 934 ac_cv_env_CC_set=${CC+set} 935 ac_cv_env_CC_value=$CC 936 ac_env_CFLAGS_set=${CFLAGS+set} 937 ac_env_CFLAGS_value=$CFLAGS 938 ac_cv_env_CFLAGS_set=${CFLAGS+set} 939 ac_cv_env_CFLAGS_value=$CFLAGS 940 ac_env_LDFLAGS_set=${LDFLAGS+set} 941 ac_env_LDFLAGS_value=$LDFLAGS 942 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 943 ac_cv_env_LDFLAGS_value=$LDFLAGS 944 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 945 ac_env_CPPFLAGS_value=$CPPFLAGS 946 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 947 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 948 ac_env_MPICC_set=${MPICC+set} 949 ac_env_MPICC_value=$MPICC 950 ac_cv_env_MPICC_set=${MPICC+set} 951 ac_cv_env_MPICC_value=$MPICC 916 952 ac_env_ADD_FFLAGS_set=${ADD_FFLAGS+set} 917 953 ac_env_ADD_FFLAGS_value=$ADD_FFLAGS … … 934 970 ac_cv_env_FFLAGS_set=${FFLAGS+set} 935 971 ac_cv_env_FFLAGS_value=$FFLAGS 936 ac_env_LDFLAGS_set=${LDFLAGS+set}937 ac_env_LDFLAGS_value=$LDFLAGS938 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}939 ac_cv_env_LDFLAGS_value=$LDFLAGS940 972 ac_env_MPIF77_set=${MPIF77+set} 941 973 ac_env_MPIF77_value=$MPIF77 942 974 ac_cv_env_MPIF77_set=${MPIF77+set} 943 975 ac_cv_env_MPIF77_value=$MPIF77 944 ac_env_CC_set=${CC+set}945 ac_env_CC_value=$CC946 ac_cv_env_CC_set=${CC+set}947 ac_cv_env_CC_value=$CC948 ac_env_CFLAGS_set=${CFLAGS+set}949 ac_env_CFLAGS_value=$CFLAGS950 ac_cv_env_CFLAGS_set=${CFLAGS+set}951 ac_cv_env_CFLAGS_value=$CFLAGS952 ac_env_CPPFLAGS_set=${CPPFLAGS+set}953 ac_env_CPPFLAGS_value=$CPPFLAGS954 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}955 ac_cv_env_CPPFLAGS_value=$CPPFLAGS956 976 ac_env_CPP_set=${CPP+set} 957 977 ac_env_CPP_value=$CPP … … 1053 1073 --enable-debug compile all projects with debug options tests 1054 1074 --enable-debug-lapack compile this project (Lapack) with debug options 1075 --enable-doscompile Under Cygwin, compile so that executables run under 1076 DOS (default: disabled) 1055 1077 --enable-static[=PKGS] 1056 1078 build static libraries [default=no] 1079 --disable-dependency-tracking speeds up one-time build 1080 --enable-dependency-tracking do not reject slow dependency extractors 1057 1081 --enable-maintainer-mode enable make rules and dependencies not useful 1058 1082 (and sometimes confusing) to the casual installer 1059 --disable-dependency-tracking speeds up one-time build1060 --enable-dependency-tracking do not reject slow dependency extractors1061 1083 --enable-shared[=PKGS] 1062 1084 build shared libraries [default=yes] … … 1078 1100 1079 1101 Some influential environment variables: 1102 CDEFS Additional -D flags to be used when compiling C code. 1103 ADD_CFLAGS Additional C compiler options 1104 DBG_CFLAGS Debug C compiler options 1105 OPT_CFLAGS Optimize C compiler options 1106 CC C compiler command 1107 CFLAGS C compiler flags 1108 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1109 nonstandard directory <lib dir> 1110 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1111 headers in a nonstandard directory <include dir> 1112 MPICC C MPI Compiler 1080 1113 ADD_FFLAGS Additional Fortran compiler options 1081 1114 DBG_FFLAGS Debug Fortran compiler options … … 1083 1116 F77 Fortran 77 compiler command 1084 1117 FFLAGS Fortran 77 compiler flags 1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a1086 nonstandard directory <lib dir>1087 1118 MPIF77 Fortran MPI Compiler 1088 CC C compiler command1089 CFLAGS C compiler flags1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have1091 headers in a nonstandard directory <include dir>1092 1119 CPP C preprocessor 1093 1120 CXX C++ compiler command … … 1749 1776 esac 1750 1777 1751 1752 1753 ac_ext=f 1754 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 1755 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1756 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 1757 1758 1759 1760 1761 1762 1763 coin_has_f77=yes 1764 1765 save_fflags="$FFLAGS" 1778 # Check whether --enable-doscompile or --disable-doscompile was given. 1779 if test "${enable_doscompile+set}" = set; then 1780 enableval="$enable_doscompile" 1781 if test "$enable_doscompile = yes"; then 1782 case $build in 1783 *-cygwin*) ;; 1784 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only sense under Cygwin" >&5 1785 echo "$as_me: error: --enable-doscompile option makes only sense under Cygwin" >&2;} 1786 { (exit 1); exit 1; }; } ;; 1787 esac 1788 fi 1789 else 1790 enable_doscompile=no 1791 fi; 1792 1793 1794 1795 1796 ac_ext=c 1797 ac_cpp='$CPP $CPPFLAGS' 1798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1800 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1801 1802 1803 # For consistency, we set the C compiler to the same value of the C++ 1804 # compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl) 1805 if test x"$CXX" != x; then 1806 case "$CXX" in 1807 cl*) 1808 if test x"$CC" = x; then 1809 CC="$CXX" 1810 { echo "$as_me:$LINENO: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&5 1811 echo "$as_me: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&2;} 1812 fi 1813 ;; 1814 esac 1815 fi 1816 1817 1818 1819 1820 1821 1822 coin_has_cc=yes 1823 1824 save_cflags="$CFLAGS" 1766 1825 case $build in 1767 1826 *-cygwin* | *-mingw*) 1768 comps="gfortran g77 ifort fl32" ;; 1769 *) comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;; 1827 comps="gcc cl" ;; 1828 *-linux-*) comps="xlc gcc cc pgcc icc" ;; 1829 *) comps="xlc_r xlc cc gcc pgcc icc" ;; 1770 1830 esac 1771 1831 1772 1832 # We delete the cached value, since the test might not have been 1773 1833 # performed with out choise of compilers earlier 1774 $as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; } 1775 ac_ext=f 1776 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 1777 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1778 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 1834 $as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; } 1835 ac_ext=c 1836 ac_cpp='$CPP $CPPFLAGS' 1837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1839 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1779 1840 if test -n "$ac_tool_prefix"; then 1780 1841 for ac_prog in $comps … … 1784 1845 echo "$as_me:$LINENO: checking for $ac_word" >&5 1785 1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1786 if test "${ac_cv_prog_ F77+set}" = set; then1847 if test "${ac_cv_prog_CC+set}" = set; then 1787 1848 echo $ECHO_N "(cached) $ECHO_C" >&6 1788 1849 else 1789 if test -n "$ F77"; then1790 ac_cv_prog_ F77="$F77" # Let the user override the test.1850 if test -n "$CC"; then 1851 ac_cv_prog_CC="$CC" # Let the user override the test. 1791 1852 else 1792 1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1797 1858 for ac_exec_ext in '' $ac_executable_extensions; do 1798 1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1799 ac_cv_prog_ F77="$ac_tool_prefix$ac_prog"1860 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1800 1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1801 1862 break 2 … … 1806 1867 fi 1807 1868 fi 1808 F77=$ac_cv_prog_F77 1809 if test -n "$ F77"; then1810 echo "$as_me:$LINENO: result: $ F77" >&51811 echo "${ECHO_T}$ F77" >&61869 CC=$ac_cv_prog_CC 1870 if test -n "$CC"; then 1871 echo "$as_me:$LINENO: result: $CC" >&5 1872 echo "${ECHO_T}$CC" >&6 1812 1873 else 1813 1874 echo "$as_me:$LINENO: result: no" >&5 … … 1815 1876 fi 1816 1877 1817 test -n "$ F77" && break1878 test -n "$CC" && break 1818 1879 done 1819 1880 fi 1820 if test -z "$ F77"; then1821 ac_ct_ F77=$F771881 if test -z "$CC"; then 1882 ac_ct_CC=$CC 1822 1883 for ac_prog in $comps 1823 1884 do … … 1826 1887 echo "$as_me:$LINENO: checking for $ac_word" >&5 1827 1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1828 if test "${ac_cv_prog_ac_ct_ F77+set}" = set; then1889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1829 1890 echo $ECHO_N "(cached) $ECHO_C" >&6 1830 1891 else 1831 if test -n "$ac_ct_ F77"; then1832 ac_cv_prog_ac_ct_ F77="$ac_ct_F77" # Let the user override the test.1892 if test -n "$ac_ct_CC"; then 1893 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1833 1894 else 1834 1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1839 1900 for ac_exec_ext in '' $ac_executable_extensions; do 1840 1901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1841 ac_cv_prog_ac_ct_ F77="$ac_prog"1902 ac_cv_prog_ac_ct_CC="$ac_prog" 1842 1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1843 1904 break 2 … … 1848 1909 fi 1849 1910 fi 1850 ac_ct_ F77=$ac_cv_prog_ac_ct_F771851 if test -n "$ac_ct_ F77"; then1852 echo "$as_me:$LINENO: result: $ac_ct_ F77" >&51853 echo "${ECHO_T}$ac_ct_ F77" >&61911 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1912 if test -n "$ac_ct_CC"; then 1913 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1914 echo "${ECHO_T}$ac_ct_CC" >&6 1854 1915 else 1855 1916 echo "$as_me:$LINENO: result: no" >&5 … … 1857 1918 fi 1858 1919 1859 test -n "$ac_ct_ F77" && break1920 test -n "$ac_ct_CC" && break 1860 1921 done 1861 1922 1862 F77=$ac_ct_F77 1863 fi 1864 1923 CC=$ac_ct_CC 1924 fi 1925 1926 1927 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1928 See \`config.log' for more details." >&5 1929 echo "$as_me: error: no acceptable C compiler found in \$PATH 1930 See \`config.log' for more details." >&2;} 1931 { (exit 1); exit 1; }; } 1865 1932 1866 1933 # Provide some information about the compiler. 1867 echo "$as_me: 1867:" \1868 "checking for Fortran 77compiler version" >&51934 echo "$as_me:$LINENO:" \ 1935 "checking for C compiler version" >&5 1869 1936 ac_compiler=`set X $ac_compile; echo $2` 1870 1937 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 … … 1883 1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1884 1951 (exit $ac_status); } 1885 rm -f a.out1886 1952 1887 1953 cat >conftest.$ac_ext <<_ACEOF 1888 program main 1889 1890 end 1954 /* confdefs.h. */ 1955 _ACEOF 1956 cat confdefs.h >>conftest.$ac_ext 1957 cat >>conftest.$ac_ext <<_ACEOF 1958 /* end confdefs.h. */ 1959 1960 int 1961 main () 1962 { 1963 1964 ; 1965 return 0; 1966 } 1891 1967 _ACEOF 1892 1968 ac_clean_files_save=$ac_clean_files … … 1895 1971 # It will help us diagnose broken compilers, and finding out an intuition 1896 1972 # of exeext. 1897 echo "$as_me:$LINENO: checking for Fortran 77compiler default output file name" >&51898 echo $ECHO_N "checking for Fortran 77compiler default output file name... $ECHO_C" >&61973 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1974 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1899 1975 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1900 1976 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 1939 2015 sed 's/^/| /' conftest.$ac_ext >&5 1940 2016 1941 { { echo "$as_me:$LINENO: error: Fortran 77compiler cannot create executables2017 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1942 2018 See \`config.log' for more details." >&5 1943 echo "$as_me: error: Fortran 77compiler cannot create executables2019 echo "$as_me: error: C compiler cannot create executables 1944 2020 See \`config.log' for more details." >&2;} 1945 2021 { (exit 77); exit 77; }; } … … 1952 2028 # Check the compiler produces executables we can run. If not, either 1953 2029 # the compiler is broken, or we cross compile. 1954 echo "$as_me:$LINENO: checking whether the Fortran 77compiler works" >&51955 echo $ECHO_N "checking whether the Fortran 77compiler works... $ECHO_C" >&62030 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2031 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1956 2032 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1957 2033 # If not cross compiling, check that we can run a simple program. … … 1968 2044 cross_compiling=yes 1969 2045 else 1970 { { echo "$as_me:$LINENO: error: cannot run Fortran 77compiled programs.2046 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1971 2047 If you meant to cross compile, use \`--host'. 1972 2048 See \`config.log' for more details." >&5 1973 echo "$as_me: error: cannot run Fortran 77compiled programs.2049 echo "$as_me: error: cannot run C compiled programs. 1974 2050 If you meant to cross compile, use \`--host'. 1975 2051 See \`config.log' for more details." >&2;} … … 2032 2108 else 2033 2109 cat >conftest.$ac_ext <<_ACEOF 2034 program main 2035 2036 end 2110 /* confdefs.h. */ 2111 _ACEOF 2112 cat confdefs.h >>conftest.$ac_ext 2113 cat >>conftest.$ac_ext <<_ACEOF 2114 /* end confdefs.h. */ 2115 2116 int 2117 main () 2118 { 2119 2120 ; 2121 return 0; 2122 } 2037 2123 _ACEOF 2038 2124 rm -f conftest.o conftest.obj … … 2066 2152 OBJEXT=$ac_cv_objext 2067 2153 ac_objext=$OBJEXT 2068 # If we don't use `.F' as extension, the preprocessor is not run on the2069 # input file. (Note that this only needs to work for GNU compilers.)2070 ac_save_ext=$ac_ext2071 ac_ext=F2072 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&52073 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&62074 if test "${ac_cv_f77_compiler_gnu+set}" = set; then2075 echo $ECHO_N "(cached) $ECHO_C" >&62076 else2077 cat >conftest.$ac_ext <<_ACEOF2078 program main2079 #ifndef __GNUC__2080 choke me2081 #endif2082 2083 end2084 _ACEOF2085 rm -f conftest.$ac_objext2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52087 (eval $ac_compile) 2>conftest.er12088 ac_status=$?2089 grep -v '^ *+' conftest.er1 >conftest.err2090 rm -f conftest.er12091 cat conftest.err >&52092 echo "$as_me:$LINENO: \$? = $ac_status" >&52093 (exit $ac_status); } &&2094 { ac_try='test -z "$ac_f77_werror_flag"2095 || test ! -s conftest.err'2096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52097 (eval $ac_try) 2>&52098 ac_status=$?2099 echo "$as_me:$LINENO: \$? = $ac_status" >&52100 (exit $ac_status); }; } &&2101 { ac_try='test -s conftest.$ac_objext'2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52103 (eval $ac_try) 2>&52104 ac_status=$?2105 echo "$as_me:$LINENO: \$? = $ac_status" >&52106 (exit $ac_status); }; }; then2107 ac_compiler_gnu=yes2108 else2109 echo "$as_me: failed program was:" >&52110 sed 's/^/| /' conftest.$ac_ext >&52111 2112 ac_compiler_gnu=no2113 fi2114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2115 ac_cv_f77_compiler_gnu=$ac_compiler_gnu2116 2117 fi2118 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&52119 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&62120 ac_ext=$ac_save_ext2121 ac_test_FFLAGS=${FFLAGS+set}2122 ac_save_FFLAGS=$FFLAGS2123 FFLAGS=2124 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&52125 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&62126 if test "${ac_cv_prog_f77_g+set}" = set; then2127 echo $ECHO_N "(cached) $ECHO_C" >&62128 else2129 FFLAGS=-g2130 cat >conftest.$ac_ext <<_ACEOF2131 program main2132 2133 end2134 _ACEOF2135 rm -f conftest.$ac_objext2136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52137 (eval $ac_compile) 2>conftest.er12138 ac_status=$?2139 grep -v '^ *+' conftest.er1 >conftest.err2140 rm -f conftest.er12141 cat conftest.err >&52142 echo "$as_me:$LINENO: \$? = $ac_status" >&52143 (exit $ac_status); } &&2144 { ac_try='test -z "$ac_f77_werror_flag"2145 || test ! -s conftest.err'2146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52147 (eval $ac_try) 2>&52148 ac_status=$?2149 echo "$as_me:$LINENO: \$? = $ac_status" >&52150 (exit $ac_status); }; } &&2151 { ac_try='test -s conftest.$ac_objext'2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52153 (eval $ac_try) 2>&52154 ac_status=$?2155 echo "$as_me:$LINENO: \$? = $ac_status" >&52156 (exit $ac_status); }; }; then2157 ac_cv_prog_f77_g=yes2158 else2159 echo "$as_me: failed program was:" >&52160 sed 's/^/| /' conftest.$ac_ext >&52161 2162 ac_cv_prog_f77_g=no2163 fi2164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2165 2166 fi2167 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&52168 echo "${ECHO_T}$ac_cv_prog_f77_g" >&62169 if test "$ac_test_FFLAGS" = set; then2170 FFLAGS=$ac_save_FFLAGS2171 elif test $ac_cv_prog_f77_g = yes; then2172 if test "x$ac_cv_f77_compiler_gnu" = xyes; then2173 FFLAGS="-g -O2"2174 else2175 FFLAGS="-g"2176 fi2177 else2178 if test "x$ac_cv_f77_compiler_gnu" = xyes; then2179 FFLAGS="-O2"2180 else2181 FFLAGS=2182 fi2183 fi2184 2185 G77=`test $ac_compiler_gnu = yes && echo yes`2186 ac_ext=f2187 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'2188 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2189 ac_compiler_gnu=$ac_cv_f77_compiler_gnu2190 2191 FFLAGS="$save_fflags"2192 2193 # Check if a project specific FFLAGS variable has been set2194 if test x$COIN_PRJCT != x; then2195 eval coin_tmp=\${${COIN_PRJCT}_FFLAGS+set}2196 if test x$coin_tmp = xset; then2197 eval FFLAGS=\${${COIN_PRJCT}_FFLAGS}2198 fi2199 fi2200 2201 if test x"$FFLAGS" = x; then2202 2203 coin_add_fflags=2204 coin_opt_fflags=2205 coin_dbg_fflags=2206 coin_warn_fflags=2207 2208 if test "$G77" = "yes"; then2209 coin_opt_fflags="-O3 -fomit-frame-pointer"2210 coin_add_fflags="-pipe"2211 coin_dbg_fflags="-g"2212 case $build in2213 *-cygwin*)2214 FFLAGS="-mno-cygwin"2215 cat >conftest.$ac_ext <<_ACEOF2216 program main2217 write(*,*) 'Hello world'2218 end2219 _ACEOF2220 rm -f conftest.$ac_objext conftest$ac_exeext2221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52222 (eval $ac_link) 2>conftest.er12223 ac_status=$?2224 grep -v '^ *+' conftest.er1 >conftest.err2225 rm -f conftest.er12226 cat conftest.err >&52227 echo "$as_me:$LINENO: \$? = $ac_status" >&52228 (exit $ac_status); } &&2229 { ac_try='test -z "$ac_f77_werror_flag"2230 || test ! -s conftest.err'2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52232 (eval $ac_try) 2>&52233 ac_status=$?2234 echo "$as_me:$LINENO: \$? = $ac_status" >&52235 (exit $ac_status); }; } &&2236 { ac_try='test -s conftest$ac_exeext'2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52238 (eval $ac_try) 2>&52239 ac_status=$?2240 echo "$as_me:$LINENO: \$? = $ac_status" >&52241 (exit $ac_status); }; }; then2242 coin_add_fflags="-mno-cygwin $coin_add_fflags"2243 else2244 echo "$as_me: failed program was:" >&52245 sed 's/^/| /' conftest.$ac_ext >&52246 2247 fi2248 rm -f conftest.err conftest.$ac_objext \2249 conftest$ac_exeext conftest.$ac_ext2250 FFLAGS=2251 ;;2252 esac2253 else2254 case $build in2255 *-cygwin* | *-mingw*)2256 case $F77 in2257 ifort* | */ifort*)2258 coin_opt_fflags='-O3'2259 coin_add_fflags='-nologo -MT'2260 coin_dbg_fflags='-debug'2261 ;;2262 esac2263 ;;2264 *-linux-*)2265 case $F77 in2266 ifc* | */ifc* | ifort* | */ifort*)2267 coin_opt_fflags="-O3 -ip"2268 coin_add_fflags="-cm -w90 -w95"2269 coin_dbg_fflags="-g -CA -CB -CS"2270 # Check if -i_dynamic is necessary (for new glibc library)2271 FFLAGS=2272 cat >conftest.$ac_ext <<_ACEOF2273 program main2274 write(*,*) 'Hello world'2275 end2276 _ACEOF2277 rm -f conftest.$ac_objext conftest$ac_exeext2278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52279 (eval $ac_link) 2>conftest.er12280 ac_status=$?2281 grep -v '^ *+' conftest.er1 >conftest.err2282 rm -f conftest.er12283 cat conftest.err >&52284 echo "$as_me:$LINENO: \$? = $ac_status" >&52285 (exit $ac_status); } &&2286 { ac_try='test -z "$ac_f77_werror_flag"2287 || test ! -s conftest.err'2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52289 (eval $ac_try) 2>&52290 ac_status=$?2291 echo "$as_me:$LINENO: \$? = $ac_status" >&52292 (exit $ac_status); }; } &&2293 { ac_try='test -s conftest$ac_exeext'2294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52295 (eval $ac_try) 2>&52296 ac_status=$?2297 echo "$as_me:$LINENO: \$? = $ac_status" >&52298 (exit $ac_status); }; }; then2299 :2300 else2301 echo "$as_me: failed program was:" >&52302 sed 's/^/| /' conftest.$ac_ext >&52303 2304 coin_add_fflags="-i_dynamic $coin_add_fflags"2305 fi2306 rm -f conftest.err conftest.$ac_objext \2307 conftest$ac_exeext conftest.$ac_ext2308 ;;2309 pgf77* | */pgf77* | pgf90* | */pgf90*)2310 coin_opt_fflags="-fast"2311 coin_add_fflags="-Kieee -pc 64"2312 coin_dbg_fflags="-g"2313 ;;2314 esac2315 ;;2316 *-ibm-*)2317 case "$F77" in2318 xlf* | */xlf* | mpxlf* | */mpxlf* )2319 coin_opt_fflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"2320 coin_add_fflags="-bmaxdata:0x80000000"2321 coin_dbg_fflags="-g -C"2322 ;;2323 esac2324 ;;2325 *-hp-*)2326 coin_opt_fflags="+O3"2327 coin_add_fflags="+U77"2328 coin_dbg_fflags="-C -g"2329 ;;2330 *-sun-*)2331 coin_opt_fflags="-O4"2332 coin_dbg_fflags="-g"2333 ;;2334 *-sgi-*)2335 coin_opt_fflags="-O5 -OPT:Olimit=0"2336 coin_dbg_fflags="-g"2337 ;;2338 esac2339 fi2340 2341 if test "$ac_cv_prog_f77_g" = yes && test -z "$coin_dbg_fflags" ; then2342 coin_dbg_fflags="-g"2343 fi2344 2345 if test -z "$coin_opt_fflags"; then2346 # Try if -O option works if nothing else is set2347 FFLAGS=-O2348 cat >conftest.$ac_ext <<_ACEOF2349 program main2350 integer i2351 end2352 _ACEOF2353 rm -f conftest.$ac_objext conftest$ac_exeext2354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52355 (eval $ac_link) 2>conftest.er12356 ac_status=$?2357 grep -v '^ *+' conftest.er1 >conftest.err2358 rm -f conftest.er12359 cat conftest.err >&52360 echo "$as_me:$LINENO: \$? = $ac_status" >&52361 (exit $ac_status); } &&2362 { ac_try='test -z "$ac_f77_werror_flag"2363 || test ! -s conftest.err'2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52365 (eval $ac_try) 2>&52366 ac_status=$?2367 echo "$as_me:$LINENO: \$? = $ac_status" >&52368 (exit $ac_status); }; } &&2369 { ac_try='test -s conftest$ac_exeext'2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52371 (eval $ac_try) 2>&52372 ac_status=$?2373 echo "$as_me:$LINENO: \$? = $ac_status" >&52374 (exit $ac_status); }; }; then2375 coin_opt_fflags="-O"2376 else2377 echo "$as_me: failed program was:" >&52378 sed 's/^/| /' conftest.$ac_ext >&52379 2380 fi2381 rm -f conftest.err conftest.$ac_objext \2382 conftest$ac_exeext conftest.$ac_ext2383 fi2384 2385 if test x${DBG_FFLAGS+set} != xset; then2386 DBG_FFLAGS="$coin_dbg_fflags $coin_add_fflags $coin_warn_fflags"2387 fi2388 if test x${OPT_FFLAGS+set} != xset; then2389 OPT_FFLAGS="$coin_opt_fflags $coin_add_fflags $coin_warn_fflags"2390 fi2391 2392 DBG_FFLAGS="$DBG_FFLAGS $ADD_FFLAGS"2393 OPT_FFLAGS="$OPT_FFLAGS $ADD_FFLAGS"2394 2395 if test "$coin_debug_compile" = "true"; then2396 FFLAGS="$DBG_FFLAGS"2397 else2398 FFLAGS="$OPT_FFLAGS"2399 fi2400 else2401 FFLAGS="$FFLAGS $ADD_FFLAGS"2402 if test x${DBG_FFLAGS+set} != xset; then2403 DBG_FFLAGS="$FFLAGS"2404 fi2405 if test x${OPT_FFLAGS+set} != xset; then2406 OPT_FFLAGS="$FFLAGS"2407 fi2408 fi2409 2410 # Try if FFLAGS works2411 cat >conftest.$ac_ext <<_ACEOF2412 program main2413 integer i2414 end2415 _ACEOF2416 rm -f conftest.$ac_objext conftest$ac_exeext2417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52418 (eval $ac_link) 2>conftest.er12419 ac_status=$?2420 grep -v '^ *+' conftest.er1 >conftest.err2421 rm -f conftest.er12422 cat conftest.err >&52423 echo "$as_me:$LINENO: \$? = $ac_status" >&52424 (exit $ac_status); } &&2425 { ac_try='test -z "$ac_f77_werror_flag"2426 || test ! -s conftest.err'2427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52428 (eval $ac_try) 2>&52429 ac_status=$?2430 echo "$as_me:$LINENO: \$? = $ac_status" >&52431 (exit $ac_status); }; } &&2432 { ac_try='test -s conftest$ac_exeext'2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52434 (eval $ac_try) 2>&52435 ac_status=$?2436 echo "$as_me:$LINENO: \$? = $ac_status" >&52437 (exit $ac_status); }; }; then2438 :2439 else2440 echo "$as_me: failed program was:" >&52441 sed 's/^/| /' conftest.$ac_ext >&52442 2443 FFLAGS=2444 fi2445 rm -f conftest.err conftest.$ac_objext \2446 conftest$ac_exeext conftest.$ac_ext2447 if test -z "$FFLAGS"; then2448 { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&52449 echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&2;}2450 FFLAGS='-O'2451 cat >conftest.$ac_ext <<_ACEOF2452 program main2453 integer i2454 end2455 _ACEOF2456 rm -f conftest.$ac_objext conftest$ac_exeext2457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52458 (eval $ac_link) 2>conftest.er12459 ac_status=$?2460 grep -v '^ *+' conftest.er1 >conftest.err2461 rm -f conftest.er12462 cat conftest.err >&52463 echo "$as_me:$LINENO: \$? = $ac_status" >&52464 (exit $ac_status); } &&2465 { ac_try='test -z "$ac_f77_werror_flag"2466 || test ! -s conftest.err'2467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52468 (eval $ac_try) 2>&52469 ac_status=$?2470 echo "$as_me:$LINENO: \$? = $ac_status" >&52471 (exit $ac_status); }; } &&2472 { ac_try='test -s conftest$ac_exeext'2473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52474 (eval $ac_try) 2>&52475 ac_status=$?2476 echo "$as_me:$LINENO: \$? = $ac_status" >&52477 (exit $ac_status); }; }; then2478 :2479 else2480 echo "$as_me: failed program was:" >&52481 sed 's/^/| /' conftest.$ac_ext >&52482 2483 FFLAGS=2484 fi2485 rm -f conftest.err conftest.$ac_objext \2486 conftest$ac_exeext conftest.$ac_ext2487 if test -z "$FFLAGS"; then2488 { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&52489 echo "$as_me: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&2;}2490 fi2491 fi2492 2493 { echo "$as_me:$LINENO: Fortran compiler options are: $FFLAGS" >&52494 echo "$as_me: Fortran compiler options are: $FFLAGS" >&6;}2495 2496 2497 if test x"$MPIF77" = x; then :; else2498 { echo "$as_me:$LINENO: Will use MPI Fortran compiler $MPIF77" >&52499 echo "$as_me: Will use MPI Fortran compiler $MPIF77" >&6;}2500 F77="$MPIF77"2501 fi2502 2503 case "$F77" in2504 ifort*)2505 case $build in2506 *-mingw*)2507 if test "${LD+set}" = set; then :; else2508 LD=link2509 fi2510 ;;2511 esac2512 2513 ;;2514 esac2515 2516 ac_ext=c2517 ac_cpp='$CPP $CPPFLAGS'2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu2521 2522 2523 2524 # Initialize autotools2525 2526 # On Cygwin, building DLLs doesn't work2527 case $build in2528 *-cygwin*)2529 coin_disable_shared=yes2530 platform=Cygwin2531 ;;2532 *-mingw*)2533 coin_disable_shared=yes2534 platform="Msys"2535 # case "$CXX" in2536 # cl*)2537 # coin_disable_shared=yes2538 # platform="Msys with cl"2539 # ;;2540 # esac2541 ;;2542 esac2543 if test x"$coin_disable_shared" = xyes; then2544 if test x"$enable_shared" = xyes; then2545 { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&52546 echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}2547 fi2548 enable_shared=no2549 fi2550 # By default, we only want the shared objects to be compiled2551 # Check whether --enable-static or --disable-static was given.2552 if test "${enable_static+set}" = set; then2553 enableval="$enable_static"2554 p=${PACKAGE-default}2555 case $enableval in2556 yes) enable_static=yes ;;2557 no) enable_static=no ;;2558 *)2559 enable_static=no2560 # Look at the argument we got. We use all the common list separators.2561 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"2562 for pkg in $enableval; do2563 IFS="$lt_save_ifs"2564 if test "X$pkg" = "X$p"; then2565 enable_static=yes2566 fi2567 done2568 IFS="$lt_save_ifs"2569 ;;2570 esac2571 else2572 enable_static=no2573 fi;2574 2575 2576 2577 echo "$as_me:$LINENO: checking for egrep" >&52578 echo $ECHO_N "checking for egrep... $ECHO_C" >&62579 if test "${ac_cv_prog_egrep+set}" = set; then2580 echo $ECHO_N "(cached) $ECHO_C" >&62581 else2582 if echo a | (grep -E '(a|b)') >/dev/null 2>&12583 then ac_cv_prog_egrep='grep -E'2584 else ac_cv_prog_egrep='egrep'2585 fi2586 fi2587 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&52588 echo "${ECHO_T}$ac_cv_prog_egrep" >&62589 EGREP=$ac_cv_prog_egrep2590 2591 2592 am__api_version="1.9"2593 # Find a good install program. We prefer a C program (faster),2594 # so one script is as good as another. But avoid the broken or2595 # incompatible versions:2596 # SysV /etc/install, /usr/sbin/install2597 # SunOS /usr/etc/install2598 # IRIX /sbin/install2599 # AIX /bin/install2600 # AmigaOS /C/install, which installs bootblocks on floppy discs2601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag2602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args2603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"2604 # OS/2's system install, which has a completely different semantic2605 # ./install, which can be erroneously created by make from ./install.sh.2606 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52607 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&62608 if test -z "$INSTALL"; then2609 if test "${ac_cv_path_install+set}" = set; then2610 echo $ECHO_N "(cached) $ECHO_C" >&62611 else2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2613 for as_dir in $PATH2614 do2615 IFS=$as_save_IFS2616 test -z "$as_dir" && as_dir=.2617 # Account for people who put trailing slashes in PATH elements.2618 case $as_dir/ in2619 ./ | .// | /cC/* | \2620 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2621 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2622 /usr/ucb/* ) ;;2623 *)2624 # OSF1 and SCO ODT 3.0 have their own names for install.2625 # Don't use installbsd from OSF since it installs stuff as root2626 # by default.2627 for ac_prog in ginstall scoinst install; do2628 for ac_exec_ext in '' $ac_executable_extensions; do2629 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then2630 if test $ac_prog = install &&2631 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2632 # AIX install. It has an incompatible calling convention.2633 :2634 elif test $ac_prog = install &&2635 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2636 # program-specific install script used by HP pwplus--don't use.2637 :2638 else2639 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2640 break 32641 fi2642 fi2643 done2644 done2645 ;;2646 esac2647 done2648 2649 2650 fi2651 if test "${ac_cv_path_install+set}" = set; then2652 INSTALL=$ac_cv_path_install2653 else2654 # As a last resort, use the slow shell script. We don't cache a2655 # path for INSTALL within a source directory, because that will2656 # break other packages using the cache if that directory is2657 # removed, or if the path is relative.2658 INSTALL=$ac_install_sh2659 fi2660 fi2661 echo "$as_me:$LINENO: result: $INSTALL" >&52662 echo "${ECHO_T}$INSTALL" >&62663 2664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2665 # It thinks the first close brace ends the variable substitution.2666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2667 2668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2669 2670 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2671 2672 echo "$as_me:$LINENO: checking whether build environment is sane" >&52673 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&62674 # Just in case2675 sleep 12676 echo timestamp > conftest.file2677 # Do `set' in a subshell so we don't clobber the current shell's2678 # arguments. Must try -L first in case configure is actually a2679 # symlink; some systems play weird games with the mod time of symlinks2680 # (eg FreeBSD returns the mod time of the symlink's containing2681 # directory).2682 if (2683 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`2684 if test "$*" = "X"; then2685 # -L didn't work.2686 set X `ls -t $srcdir/configure conftest.file`2687 fi2688 rm -f conftest.file2689 if test "$*" != "X $srcdir/configure conftest.file" \2690 && test "$*" != "X conftest.file $srcdir/configure"; then2691 2692 # If neither matched, then we have a broken ls. This can happen2693 # if, for instance, CONFIG_SHELL is bash and it inherits a2694 # broken ls alias from the environment. This has actually2695 # happened. Such a system could not be considered "sane".2696 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken2697 alias in your environment" >&52698 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken2699 alias in your environment" >&2;}2700 { (exit 1); exit 1; }; }2701 fi2702 2703 test "$2" = conftest.file2704 )2705 then2706 # Ok.2707 :2708 else2709 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!2710 Check your system clock" >&52711 echo "$as_me: error: newly created file is older than distributed files!2712 Check your system clock" >&2;}2713 { (exit 1); exit 1; }; }2714 fi2715 echo "$as_me:$LINENO: result: yes" >&52716 echo "${ECHO_T}yes" >&62717 test "$program_prefix" != NONE &&2718 program_transform_name="s,^,$program_prefix,;$program_transform_name"2719 # Use a double $ so make ignores it.2720 test "$program_suffix" != NONE &&2721 program_transform_name="s,\$,$program_suffix,;$program_transform_name"2722 # Double any \ or $. echo might interpret backslashes.2723 # By default was `s,x,x', remove it if useless.2724 cat <<\_ACEOF >conftest.sed2725 s/[\\$]/&&/g;s/;s,x,x,$//2726 _ACEOF2727 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`2728 rm conftest.sed2729 2730 # expand $ac_aux_dir to an absolute path2731 am_aux_dir=`cd $ac_aux_dir && pwd`2732 2733 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"2734 # Use eval to expand $SHELL2735 if eval "$MISSING --run true"; then2736 am_missing_run="$MISSING --run "2737 else2738 am_missing_run=2739 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&52740 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}2741 fi2742 2743 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then2744 # We used to keeping the `.' as first argument, in order to2745 # allow $(mkdir_p) to be used without argument. As in2746 # $(mkdir_p) $(somedir)2747 # where $(somedir) is conditionally defined. However this is wrong2748 # for two reasons:2749 # 1. if the package is installed by a user who cannot write `.'2750 # make install will fail,2751 # 2. the above comment should most certainly read2752 # $(mkdir_p) $(DESTDIR)$(somedir)2753 # so it does not work when $(somedir) is undefined and2754 # $(DESTDIR) is not.2755 # To support the latter case, we have to write2756 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),2757 # so the `.' trick is pointless.2758 mkdir_p='mkdir -p --'2759 else2760 # On NextStep and OpenStep, the `mkdir' command does not2761 # recognize any option. It will interpret all options as2762 # directories to create, and then abort because `.' already2763 # exists.2764 for d in ./-p ./--version;2765 do2766 test -d $d && rmdir $d2767 done2768 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.2769 if test -f "$ac_aux_dir/mkinstalldirs"; then2770 mkdir_p='$(mkinstalldirs)'2771 else2772 mkdir_p='$(install_sh) -d'2773 fi2774 fi2775 2776 for ac_prog in gawk mawk nawk awk2777 do2778 # Extract the first word of "$ac_prog", so it can be a program name with args.2779 set dummy $ac_prog; ac_word=$22780 echo "$as_me:$LINENO: checking for $ac_word" >&52781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62782 if test "${ac_cv_prog_AWK+set}" = set; then2783 echo $ECHO_N "(cached) $ECHO_C" >&62784 else2785 if test -n "$AWK"; then2786 ac_cv_prog_AWK="$AWK" # Let the user override the test.2787 else2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2789 for as_dir in $PATH2790 do2791 IFS=$as_save_IFS2792 test -z "$as_dir" && as_dir=.2793 for ac_exec_ext in '' $ac_executable_extensions; do2794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2795 ac_cv_prog_AWK="$ac_prog"2796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52797 break 22798 fi2799 done2800 done2801 2802 fi2803 fi2804 AWK=$ac_cv_prog_AWK2805 if test -n "$AWK"; then2806 echo "$as_me:$LINENO: result: $AWK" >&52807 echo "${ECHO_T}$AWK" >&62808 else2809 echo "$as_me:$LINENO: result: no" >&52810 echo "${ECHO_T}no" >&62811 fi2812 2813 test -n "$AWK" && break2814 done2815 2816 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&52817 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&62818 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`2819 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then2820 echo $ECHO_N "(cached) $ECHO_C" >&62821 else2822 cat >conftest.make <<\_ACEOF2823 all:2824 @echo 'ac_maketemp="$(MAKE)"'2825 _ACEOF2826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.2827 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`2828 if test -n "$ac_maketemp"; then2829 eval ac_cv_prog_make_${ac_make}_set=yes2830 else2831 eval ac_cv_prog_make_${ac_make}_set=no2832 fi2833 rm -f conftest.make2834 fi2835 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then2836 echo "$as_me:$LINENO: result: yes" >&52837 echo "${ECHO_T}yes" >&62838 SET_MAKE=2839 else2840 echo "$as_me:$LINENO: result: no" >&52841 echo "${ECHO_T}no" >&62842 SET_MAKE="MAKE=${MAKE-make}"2843 fi2844 2845 rm -rf .tst 2>/dev/null2846 mkdir .tst 2>/dev/null2847 if test -d .tst; then2848 am__leading_dot=.2849 else2850 am__leading_dot=_2851 fi2852 rmdir .tst 2>/dev/null2853 2854 DEPDIR="${am__leading_dot}deps"2855 2856 ac_config_commands="$ac_config_commands depfiles"2857 2858 2859 am_make=${MAKE-make}2860 cat > confinc << 'END'2861 am__doit:2862 @echo done2863 .PHONY: am__doit2864 END2865 # If we don't find an include directive, just comment out the code.2866 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&52867 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&62868 am__include="#"2869 am__quote=2870 _am_result=none2871 # First try GNU make style include.2872 echo "include confinc" > confmf2873 # We grep out `Entering directory' and `Leaving directory'2874 # messages which can occur if `w' ends up in MAKEFLAGS.2875 # In particular we don't look at `^make:' because GNU make might2876 # be invoked under some other name (usually "gmake"), in which2877 # case it prints its new name instead of `make'.2878 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2879 am__include=include2880 am__quote=2881 _am_result=GNU2882 fi2883 # Now try BSD make style include.2884 if test "$am__include" = "#"; then2885 echo '.include "confinc"' > confmf2886 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then2887 am__include=.include2888 am__quote="\""2889 _am_result=BSD2890 fi2891 fi2892 2893 2894 echo "$as_me:$LINENO: result: $_am_result" >&52895 echo "${ECHO_T}$_am_result" >&62896 rm -f confinc confmf2897 2898 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.2899 if test "${enable_dependency_tracking+set}" = set; then2900 enableval="$enable_dependency_tracking"2901 2902 fi;2903 if test "x$enable_dependency_tracking" != xno; then2904 am_depcomp="$ac_aux_dir/depcomp"2905 AMDEPBACKSLASH='\'2906 fi2907 2908 2909 if test "x$enable_dependency_tracking" != xno; then2910 AMDEP_TRUE=2911 AMDEP_FALSE='#'2912 else2913 AMDEP_TRUE='#'2914 AMDEP_FALSE=2915 fi2916 2917 2918 2919 ac_ext=c2920 ac_cpp='$CPP $CPPFLAGS'2921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2923 ac_compiler_gnu=$ac_cv_c_compiler_gnu2924 if test -n "$ac_tool_prefix"; then2925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2926 set dummy ${ac_tool_prefix}gcc; ac_word=$22927 echo "$as_me:$LINENO: checking for $ac_word" >&52928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62929 if test "${ac_cv_prog_CC+set}" = set; then2930 echo $ECHO_N "(cached) $ECHO_C" >&62931 else2932 if test -n "$CC"; then2933 ac_cv_prog_CC="$CC" # Let the user override the test.2934 else2935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2936 for as_dir in $PATH2937 do2938 IFS=$as_save_IFS2939 test -z "$as_dir" && as_dir=.2940 for ac_exec_ext in '' $ac_executable_extensions; do2941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2942 ac_cv_prog_CC="${ac_tool_prefix}gcc"2943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52944 break 22945 fi2946 done2947 done2948 2949 fi2950 fi2951 CC=$ac_cv_prog_CC2952 if test -n "$CC"; then2953 echo "$as_me:$LINENO: result: $CC" >&52954 echo "${ECHO_T}$CC" >&62955 else2956 echo "$as_me:$LINENO: result: no" >&52957 echo "${ECHO_T}no" >&62958 fi2959 2960 fi2961 if test -z "$ac_cv_prog_CC"; then2962 ac_ct_CC=$CC2963 # Extract the first word of "gcc", so it can be a program name with args.2964 set dummy gcc; ac_word=$22965 echo "$as_me:$LINENO: checking for $ac_word" >&52966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2968 echo $ECHO_N "(cached) $ECHO_C" >&62969 else2970 if test -n "$ac_ct_CC"; then2971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2972 else2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2974 for as_dir in $PATH2975 do2976 IFS=$as_save_IFS2977 test -z "$as_dir" && as_dir=.2978 for ac_exec_ext in '' $ac_executable_extensions; do2979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2980 ac_cv_prog_ac_ct_CC="gcc"2981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52982 break 22983 fi2984 done2985 done2986 2987 fi2988 fi2989 ac_ct_CC=$ac_cv_prog_ac_ct_CC2990 if test -n "$ac_ct_CC"; then2991 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52992 echo "${ECHO_T}$ac_ct_CC" >&62993 else2994 echo "$as_me:$LINENO: result: no" >&52995 echo "${ECHO_T}no" >&62996 fi2997 2998 CC=$ac_ct_CC2999 else3000 CC="$ac_cv_prog_CC"3001 fi3002 3003 if test -z "$CC"; then3004 if test -n "$ac_tool_prefix"; then3005 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3006 set dummy ${ac_tool_prefix}cc; ac_word=$23007 echo "$as_me:$LINENO: checking for $ac_word" >&53008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63009 if test "${ac_cv_prog_CC+set}" = set; then3010 echo $ECHO_N "(cached) $ECHO_C" >&63011 else3012 if test -n "$CC"; then3013 ac_cv_prog_CC="$CC" # Let the user override the test.3014 else3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3016 for as_dir in $PATH3017 do3018 IFS=$as_save_IFS3019 test -z "$as_dir" && as_dir=.3020 for ac_exec_ext in '' $ac_executable_extensions; do3021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3022 ac_cv_prog_CC="${ac_tool_prefix}cc"3023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53024 break 23025 fi3026 done3027 done3028 3029 fi3030 fi3031 CC=$ac_cv_prog_CC3032 if test -n "$CC"; then3033 echo "$as_me:$LINENO: result: $CC" >&53034 echo "${ECHO_T}$CC" >&63035 else3036 echo "$as_me:$LINENO: result: no" >&53037 echo "${ECHO_T}no" >&63038 fi3039 3040 fi3041 if test -z "$ac_cv_prog_CC"; then3042 ac_ct_CC=$CC3043 # Extract the first word of "cc", so it can be a program name with args.3044 set dummy cc; ac_word=$23045 echo "$as_me:$LINENO: checking for $ac_word" >&53046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3048 echo $ECHO_N "(cached) $ECHO_C" >&63049 else3050 if test -n "$ac_ct_CC"; then3051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.3052 else3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3054 for as_dir in $PATH3055 do3056 IFS=$as_save_IFS3057 test -z "$as_dir" && as_dir=.3058 for ac_exec_ext in '' $ac_executable_extensions; do3059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3060 ac_cv_prog_ac_ct_CC="cc"3061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53062 break 23063 fi3064 done3065 done3066 3067 fi3068 fi3069 ac_ct_CC=$ac_cv_prog_ac_ct_CC3070 if test -n "$ac_ct_CC"; then3071 echo "$as_me:$LINENO: result: $ac_ct_CC" >&53072 echo "${ECHO_T}$ac_ct_CC" >&63073 else3074 echo "$as_me:$LINENO: result: no" >&53075 echo "${ECHO_T}no" >&63076 fi3077 3078 CC=$ac_ct_CC3079 else3080 CC="$ac_cv_prog_CC"3081 fi3082 3083 fi3084 if test -z "$CC"; then3085 # Extract the first word of "cc", so it can be a program name with args.3086 set dummy cc; ac_word=$23087 echo "$as_me:$LINENO: checking for $ac_word" >&53088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63089 if test "${ac_cv_prog_CC+set}" = set; then3090 echo $ECHO_N "(cached) $ECHO_C" >&63091 else3092 if test -n "$CC"; then3093 ac_cv_prog_CC="$CC" # Let the user override the test.3094 else3095 ac_prog_rejected=no3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3097 for as_dir in $PATH3098 do3099 IFS=$as_save_IFS3100 test -z "$as_dir" && as_dir=.3101 for ac_exec_ext in '' $ac_executable_extensions; do3102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3103 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then3104 ac_prog_rejected=yes3105 continue3106 fi3107 ac_cv_prog_CC="cc"3108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53109 break 23110 fi3111 done3112 done3113 3114 if test $ac_prog_rejected = yes; then3115 # We found a bogon in the path, so make sure we never use it.3116 set dummy $ac_cv_prog_CC3117 shift3118 if test $# != 0; then3119 # We chose a different compiler from the bogus one.3120 # However, it has the same basename, so the bogon will be chosen3121 # first if we set CC to just the basename; use the full file name.3122 shift3123 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"3124 fi3125 fi3126 fi3127 fi3128 CC=$ac_cv_prog_CC3129 if test -n "$CC"; then3130 echo "$as_me:$LINENO: result: $CC" >&53131 echo "${ECHO_T}$CC" >&63132 else3133 echo "$as_me:$LINENO: result: no" >&53134 echo "${ECHO_T}no" >&63135 fi3136 3137 fi3138 if test -z "$CC"; then3139 if test -n "$ac_tool_prefix"; then3140 for ac_prog in cl3141 do3142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.3143 set dummy $ac_tool_prefix$ac_prog; ac_word=$23144 echo "$as_me:$LINENO: checking for $ac_word" >&53145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63146 if test "${ac_cv_prog_CC+set}" = set; then3147 echo $ECHO_N "(cached) $ECHO_C" >&63148 else3149 if test -n "$CC"; then3150 ac_cv_prog_CC="$CC" # Let the user override the test.3151 else3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3153 for as_dir in $PATH3154 do3155 IFS=$as_save_IFS3156 test -z "$as_dir" && as_dir=.3157 for ac_exec_ext in '' $ac_executable_extensions; do3158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3159 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"3160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53161 break 23162 fi3163 done3164 done3165 3166 fi3167 fi3168 CC=$ac_cv_prog_CC3169 if test -n "$CC"; then3170 echo "$as_me:$LINENO: result: $CC" >&53171 echo "${ECHO_T}$CC" >&63172 else3173 echo "$as_me:$LINENO: result: no" >&53174 echo "${ECHO_T}no" >&63175 fi3176 3177 test -n "$CC" && break3178 done3179 fi3180 if test -z "$CC"; then3181 ac_ct_CC=$CC3182 for ac_prog in cl3183 do3184 # Extract the first word of "$ac_prog", so it can be a program name with args.3185 set dummy $ac_prog; ac_word=$23186 echo "$as_me:$LINENO: checking for $ac_word" >&53187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3189 echo $ECHO_N "(cached) $ECHO_C" >&63190 else3191 if test -n "$ac_ct_CC"; then3192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.3193 else3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3195 for as_dir in $PATH3196 do3197 IFS=$as_save_IFS3198 test -z "$as_dir" && as_dir=.3199 for ac_exec_ext in '' $ac_executable_extensions; do3200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3201 ac_cv_prog_ac_ct_CC="$ac_prog"3202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53203 break 23204 fi3205 done3206 done3207 3208 fi3209 fi3210 ac_ct_CC=$ac_cv_prog_ac_ct_CC3211 if test -n "$ac_ct_CC"; then3212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&53213 echo "${ECHO_T}$ac_ct_CC" >&63214 else3215 echo "$as_me:$LINENO: result: no" >&53216 echo "${ECHO_T}no" >&63217 fi3218 3219 test -n "$ac_ct_CC" && break3220 done3221 3222 CC=$ac_ct_CC3223 fi3224 3225 fi3226 3227 3228 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH3229 See \`config.log' for more details." >&53230 echo "$as_me: error: no acceptable C compiler found in \$PATH3231 See \`config.log' for more details." >&2;}3232 { (exit 1); exit 1; }; }3233 3234 # Provide some information about the compiler.3235 echo "$as_me:$LINENO:" \3236 "checking for C compiler version" >&53237 ac_compiler=`set X $ac_compile; echo $2`3238 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&53239 (eval $ac_compiler --version </dev/null >&5) 2>&53240 ac_status=$?3241 echo "$as_me:$LINENO: \$? = $ac_status" >&53242 (exit $ac_status); }3243 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&53244 (eval $ac_compiler -v </dev/null >&5) 2>&53245 ac_status=$?3246 echo "$as_me:$LINENO: \$? = $ac_status" >&53247 (exit $ac_status); }3248 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&53249 (eval $ac_compiler -V </dev/null >&5) 2>&53250 ac_status=$?3251 echo "$as_me:$LINENO: \$? = $ac_status" >&53252 (exit $ac_status); }3253 3254 2154 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3255 2155 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 … … 3646 2546 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3647 2547 3648 depcc="$CC" am_compiler_list= 3649 3650 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3651 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3652 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2548 CFLAGS="$save_cflags" 2549 2550 # Check if a project specific CFLAGS variable has been set 2551 if test x$COIN_PRJCT != x; then 2552 eval coin_tmp=\${${COIN_PRJCT}_CFLAGS+set} 2553 if test x$coin_tmp = xset; then 2554 eval CFLAGS=\${${COIN_PRJCT}_CFLAGS} 2555 fi 2556 fi 2557 2558 if test x"$CFLAGS" = x; then 2559 2560 coin_add_cflags= 2561 coin_opt_cflags= 2562 coin_dbg_cflags= 2563 coin_warn_cflags= 2564 2565 if test "$GCC" = "yes"; then 2566 case "$CC" in 2567 icc* | */icc*) 2568 ;; 2569 *) 2570 coin_opt_cflags="-O3 -fomit-frame-pointer" 2571 coin_add_cflags="-pipe" 2572 coin_dbg_cflags="-g" 2573 coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall" 2574 if test "$enable_doscompile" = yes; then 2575 case $build in 2576 *-cygwin*) 2577 CFLAGS="-mno-cygwin" 2578 cat >conftest.$ac_ext <<_ACEOF 2579 /* confdefs.h. */ 2580 _ACEOF 2581 cat confdefs.h >>conftest.$ac_ext 2582 cat >>conftest.$ac_ext <<_ACEOF 2583 /* end confdefs.h. */ 2584 2585 int 2586 main () 2587 { 2588 int i=0; i++; 2589 ; 2590 return 0; 2591 } 2592 _ACEOF 2593 rm -f conftest.$ac_objext conftest$ac_exeext 2594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2595 (eval $ac_link) 2>conftest.er1 2596 ac_status=$? 2597 grep -v '^ *+' conftest.er1 >conftest.err 2598 rm -f conftest.er1 2599 cat conftest.err >&5 2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2601 (exit $ac_status); } && 2602 { ac_try='test -z "$ac_c_werror_flag" 2603 || test ! -s conftest.err' 2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2605 (eval $ac_try) 2>&5 2606 ac_status=$? 2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2608 (exit $ac_status); }; } && 2609 { ac_try='test -s conftest$ac_exeext' 2610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2611 (eval $ac_try) 2>&5 2612 ac_status=$? 2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2614 (exit $ac_status); }; }; then 2615 coin_add_cflags="-mno-cygwin $coin_add_cflags" 2616 else 2617 echo "$as_me: failed program was:" >&5 2618 sed 's/^/| /' conftest.$ac_ext >&5 2619 2620 fi 2621 rm -f conftest.err conftest.$ac_objext \ 2622 conftest$ac_exeext conftest.$ac_ext 2623 CFLAGS= 2624 ;; 2625 esac 2626 fi 2627 esac 2628 fi 2629 if test -z "$coin_opt_cflags"; then 2630 case $build in 2631 *-cygwin* | *-mingw*) 2632 case "$CC" in 2633 cl* | */cl*) 2634 coin_opt_cflags='-O2' 2635 coin_add_cflags='-nologo' 2636 coin_dbg_cflags='-Yd' 2637 ;; 2638 esac 2639 ;; 2640 *-linux-*) 2641 case "$CC" in 2642 icc* | */icc*) 2643 coin_opt_cflags="-O3 -ip" 2644 coin_add_cflags="" 2645 coin_dbg_cflags="-g" 2646 # Check if -i_dynamic is necessary (for new glibc library) 2647 CFLAGS= 2648 cat >conftest.$ac_ext <<_ACEOF 2649 /* confdefs.h. */ 2650 _ACEOF 2651 cat confdefs.h >>conftest.$ac_ext 2652 cat >>conftest.$ac_ext <<_ACEOF 2653 /* end confdefs.h. */ 2654 2655 int 2656 main () 2657 { 2658 int i=0; i++; 2659 ; 2660 return 0; 2661 } 2662 _ACEOF 2663 rm -f conftest.$ac_objext conftest$ac_exeext 2664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2665 (eval $ac_link) 2>conftest.er1 2666 ac_status=$? 2667 grep -v '^ *+' conftest.er1 >conftest.err 2668 rm -f conftest.er1 2669 cat conftest.err >&5 2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2671 (exit $ac_status); } && 2672 { ac_try='test -z "$ac_c_werror_flag" 2673 || test ! -s conftest.err' 2674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2675 (eval $ac_try) 2>&5 2676 ac_status=$? 2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2678 (exit $ac_status); }; } && 2679 { ac_try='test -s conftest$ac_exeext' 2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2681 (eval $ac_try) 2>&5 2682 ac_status=$? 2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2684 (exit $ac_status); }; }; then 2685 : 2686 else 2687 echo "$as_me: failed program was:" >&5 2688 sed 's/^/| /' conftest.$ac_ext >&5 2689 2690 coin_add_cflags="-i_dynamic $coin_add_cflags" 2691 fi 2692 rm -f conftest.err conftest.$ac_objext \ 2693 conftest$ac_exeext conftest.$ac_ext 2694 ;; 2695 pgcc* | */pgcc*) 2696 coin_opt_cflags="-fast" 2697 coin_add_cflags="-Kieee -pc 64" 2698 coin_dbg_cflags="-g" 2699 ;; 2700 esac 2701 ;; 2702 *-ibm-*) 2703 case "$CC" in 2704 xlc* | */xlc* | mpxlc* | */mpxlc*) 2705 coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 2706 coin_add_cflags="-bmaxdata:0x80000000" 2707 coin_dbg_cflags="-g" 2708 ;; 2709 esac 2710 ;; 2711 *-hp-*) 2712 coin_opt_cflags="-O" 2713 coin_add_cflags="-Ae" 2714 coin_dbg_cflags="-g" 2715 ;; 2716 *-sun-*) 2717 coin_opt_cflags="-xO4" 2718 coin_dbg_cflags="-g" 2719 ;; 2720 *-sgi-*) 2721 coin_opt_cflags="-O -OPT:Olimit=0" 2722 coin_dbg_cflags="-g" 2723 ;; 2724 esac 2725 fi 2726 2727 if test "$ac_cv_prog_cc_g" = yes && test -z "$coin_dbg_cflags" ; then 2728 coin_dbg_cflags="-g" 2729 fi 2730 2731 if test -z "$coin_opt_cflags"; then 2732 # Try if -O option works if nothing else is set 2733 CFLAGS="-O" 2734 cat >conftest.$ac_ext <<_ACEOF 2735 /* confdefs.h. */ 2736 _ACEOF 2737 cat confdefs.h >>conftest.$ac_ext 2738 cat >>conftest.$ac_ext <<_ACEOF 2739 /* end confdefs.h. */ 2740 2741 int 2742 main () 2743 { 2744 int i=0; i++; 2745 ; 2746 return 0; 2747 } 2748 _ACEOF 2749 rm -f conftest.$ac_objext conftest$ac_exeext 2750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2751 (eval $ac_link) 2>conftest.er1 2752 ac_status=$? 2753 grep -v '^ *+' conftest.er1 >conftest.err 2754 rm -f conftest.er1 2755 cat conftest.err >&5 2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2757 (exit $ac_status); } && 2758 { ac_try='test -z "$ac_c_werror_flag" 2759 || test ! -s conftest.err' 2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2761 (eval $ac_try) 2>&5 2762 ac_status=$? 2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 (exit $ac_status); }; } && 2765 { ac_try='test -s conftest$ac_exeext' 2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2767 (eval $ac_try) 2>&5 2768 ac_status=$? 2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2770 (exit $ac_status); }; }; then 2771 coin_opt_cflags="-O" 2772 else 2773 echo "$as_me: failed program was:" >&5 2774 sed 's/^/| /' conftest.$ac_ext >&5 2775 2776 fi 2777 rm -f conftest.err conftest.$ac_objext \ 2778 conftest$ac_exeext conftest.$ac_ext 2779 fi 2780 2781 # if PM doesn't want the warning messages, take them out 2782 if test x"$coin_skip_warn_cflags" = xyes; then 2783 coin_warn_cflags= 2784 fi 2785 2786 if test x${DBG_CFLAGS+set} != xset; then 2787 DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags" 2788 fi 2789 if test x${OPT_CFLAGS+set} != xset; then 2790 OPT_CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $coin_warn_cflags" 2791 fi 2792 2793 DBG_CFLAGS="$DBG_CFLAGS $ADD_CFLAGS $CDEFS" 2794 OPT_CFLAGS="$OPT_CFLAGS $ADD_CFLAGS $CDEFS" 2795 2796 if test "$coin_debug_compile" = "true"; then 2797 CFLAGS="$DBG_CFLAGS" 2798 else 2799 CFLAGS="$OPT_CFLAGS" 2800 fi 2801 else 2802 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" 2803 if test x${DBG_CFLAGS+set} != xset; then 2804 DBG_CFLAGS="$CFLAGS" 2805 fi 2806 if test x${OPT_CFLAGS+set} != xset; then 2807 OPT_CFLAGS="$CFLAGS" 2808 fi 2809 fi 2810 2811 # Check if user wants to have additional CFLAGS options 2812 2813 if test x"$ADD_CFLAGS" != x; then 2814 CFLAGS="$CFLAGS $ADD_CFLAGS" 2815 fi 2816 2817 # Try if CFLAGS works 2818 save_CFLAGS="$CFLAGS" 2819 cat >conftest.$ac_ext <<_ACEOF 2820 /* confdefs.h. */ 2821 _ACEOF 2822 cat confdefs.h >>conftest.$ac_ext 2823 cat >>conftest.$ac_ext <<_ACEOF 2824 /* end confdefs.h. */ 2825 2826 int 2827 main () 2828 { 2829 int i=0; i++; 2830 ; 2831 return 0; 2832 } 2833 _ACEOF 2834 rm -f conftest.$ac_objext conftest$ac_exeext 2835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2836 (eval $ac_link) 2>conftest.er1 2837 ac_status=$? 2838 grep -v '^ *+' conftest.er1 >conftest.err 2839 rm -f conftest.er1 2840 cat conftest.err >&5 2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2842 (exit $ac_status); } && 2843 { ac_try='test -z "$ac_c_werror_flag" 2844 || test ! -s conftest.err' 2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2846 (eval $ac_try) 2>&5 2847 ac_status=$? 2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2849 (exit $ac_status); }; } && 2850 { ac_try='test -s conftest$ac_exeext' 2851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2852 (eval $ac_try) 2>&5 2853 ac_status=$? 2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2855 (exit $ac_status); }; }; then 2856 : 2857 else 2858 echo "$as_me: failed program was:" >&5 2859 sed 's/^/| /' conftest.$ac_ext >&5 2860 2861 CFLAGS= 2862 fi 2863 rm -f conftest.err conftest.$ac_objext \ 2864 conftest$ac_exeext conftest.$ac_ext 2865 if test -z "$CFLAGS"; then 2866 { echo "$as_me:$LINENO: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work. I will now just try '-O', but you might want to set CFLAGS manually." >&5 2867 echo "$as_me: WARNING: The value CFLAGS=\"$save_CFLAGS\" do not work. I will now just try '-O', but you might want to set CFLAGS manually." >&2;} 2868 CFLAGS='-O' 2869 cat >conftest.$ac_ext <<_ACEOF 2870 /* confdefs.h. */ 2871 _ACEOF 2872 cat confdefs.h >>conftest.$ac_ext 2873 cat >>conftest.$ac_ext <<_ACEOF 2874 /* end confdefs.h. */ 2875 2876 int 2877 main () 2878 { 2879 int i=0; i++; 2880 ; 2881 return 0; 2882 } 2883 _ACEOF 2884 rm -f conftest.$ac_objext conftest$ac_exeext 2885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2886 (eval $ac_link) 2>conftest.er1 2887 ac_status=$? 2888 grep -v '^ *+' conftest.er1 >conftest.err 2889 rm -f conftest.er1 2890 cat conftest.err >&5 2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2892 (exit $ac_status); } && 2893 { ac_try='test -z "$ac_c_werror_flag" 2894 || test ! -s conftest.err' 2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2896 (eval $ac_try) 2>&5 2897 ac_status=$? 2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2899 (exit $ac_status); }; } && 2900 { ac_try='test -s conftest$ac_exeext' 2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2902 (eval $ac_try) 2>&5 2903 ac_status=$? 2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2905 (exit $ac_status); }; }; then 2906 : 2907 else 2908 echo "$as_me: failed program was:" >&5 2909 sed 's/^/| /' conftest.$ac_ext >&5 2910 2911 CFLAGS= 2912 fi 2913 rm -f conftest.err conftest.$ac_objext \ 2914 conftest$ac_exeext conftest.$ac_ext 2915 if test -z "$CFLAGS"; then 2916 { echo "$as_me:$LINENO: WARNING: This value for CFLAGS does not work. I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&5 2917 echo "$as_me: WARNING: This value for CFLAGS does not work. I will continue with empty CFLAGS, but you might want to set CFLAGS manually." >&2;} 2918 fi 2919 fi 2920 2921 { echo "$as_me:$LINENO: C compiler options are: $CFLAGS" >&5 2922 echo "$as_me: C compiler options are: $CFLAGS" >&6;} 2923 2924 2925 if test x"$MPICC" = x; then :; else 2926 { echo "$as_me:$LINENO: Will use MPI C compiler $MPICC" >&5 2927 echo "$as_me: Will use MPI C compiler $MPICC" >&6;} 2928 CC="$MPICC" 2929 fi 2930 2931 # Correct ADDLIBS initialization if we are using the MS compiler 2932 case "$CC" in 2933 cl*) 2934 ADDLIBS= 2935 case $build in 2936 *-mingw*) 2937 if test "${LD+set}" = set; then :; else 2938 LD=link 2939 fi 2940 ;; 2941 esac 2942 2943 ;; 2944 esac 2945 2946 ac_ext=c 2947 ac_cpp='$CPP $CPPFLAGS' 2948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2950 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2951 2952 2953 2954 2955 2956 2957 ac_ext=f 2958 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 2959 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2960 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 2961 2962 2963 2964 2965 2966 2967 coin_has_f77=yes 2968 2969 save_fflags="$FFLAGS" 2970 case $build in 2971 *-cygwin* | *-mingw*) 2972 comps="gfortran g77 ifort fl32" ;; 2973 *) comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;; 2974 esac 2975 2976 # We delete the cached value, since the test might not have been 2977 # performed with out choise of compilers earlier 2978 $as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; } 2979 ac_ext=f 2980 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 2981 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2982 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 2983 if test -n "$ac_tool_prefix"; then 2984 for ac_prog in $comps 2985 do 2986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2987 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2988 echo "$as_me:$LINENO: checking for $ac_word" >&5 2989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2990 if test "${ac_cv_prog_F77+set}" = set; then 3653 2991 echo $ECHO_N "(cached) $ECHO_C" >&6 3654 2992 else 3655 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3656 # We make a subdir and do the tests there. Otherwise we can end up 3657 # making bogus files that we don't know about and never remove. For 3658 # instance it was reported that on HP-UX the gcc test will end up 3659 # making a dummy file named `D' -- because `-MD' means `put the output 3660 # in D'. 3661 mkdir conftest.dir 3662 # Copy depcomp to subdir because otherwise we won't find it if we're 3663 # using a relative directory. 3664 cp "$am_depcomp" conftest.dir 3665 cd conftest.dir 3666 # We will build objects and dependencies in a subdirectory because 3667 # it helps to detect inapplicable dependency modes. For instance 3668 # both Tru64's cc and ICC support -MD to output dependencies as a 3669 # side effect of compilation, but ICC will put the dependencies in 3670 # the current directory while Tru64 will put them in the object 3671 # directory. 3672 mkdir sub 3673 3674 am_cv_CC_dependencies_compiler_type=none 3675 if test "$am_compiler_list" = ""; then 3676 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2993 if test -n "$F77"; then 2994 ac_cv_prog_F77="$F77" # Let the user override the test. 2995 else 2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2997 for as_dir in $PATH 2998 do 2999 IFS=$as_save_IFS 3000 test -z "$as_dir" && as_dir=. 3001 for ac_exec_ext in '' $ac_executable_extensions; do 3002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3003 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 3004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3005 break 2 3677 3006 fi 3678 for depmode in $am_compiler_list; do 3679 # Setup a source with many dependencies, because some compilers 3680 # like to wrap large dependency lists on column 80 (with \), and 3681 # we should not choose a depcomp mode which is confused by this. 3682 # 3683 # We need to recreate these files for each test, as the compiler may 3684 # overwrite some of them when testing with obscure command lines. 3685 # This happens at least with the AIX C compiler. 3686 : > sub/conftest.c 3687 for i in 1 2 3 4 5 6; do 3688 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3689 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3690 # Solaris 8's {/usr,}/bin/sh. 3691 touch sub/conftst$i.h 3007 done 3008 done 3009 3010 fi 3011 fi 3012 F77=$ac_cv_prog_F77 3013 if test -n "$F77"; then 3014 echo "$as_me:$LINENO: result: $F77" >&5 3015 echo "${ECHO_T}$F77" >&6 3016 else 3017 echo "$as_me:$LINENO: result: no" >&5 3018 echo "${ECHO_T}no" >&6 3019 fi 3020 3021 test -n "$F77" && break 3022 done 3023 fi 3024 if test -z "$F77"; then 3025 ac_ct_F77=$F77 3026 for ac_prog in $comps 3027 do 3028 # Extract the first word of "$ac_prog", so it can be a program name with args. 3029 set dummy $ac_prog; ac_word=$2 3030 echo "$as_me:$LINENO: checking for $ac_word" >&5 3031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3032 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 3033 echo $ECHO_N "(cached) $ECHO_C" >&6 3034 else 3035 if test -n "$ac_ct_F77"; then 3036 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 3037 else 3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3039 for as_dir in $PATH 3040 do 3041 IFS=$as_save_IFS 3042 test -z "$as_dir" && as_dir=. 3043 for ac_exec_ext in '' $ac_executable_extensions; do 3044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3045 ac_cv_prog_ac_ct_F77="$ac_prog" 3046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3047 break 2 3048 fi 3049 done 3050 done 3051 3052 fi 3053 fi 3054 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3055 if test -n "$ac_ct_F77"; then 3056 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 3057 echo "${ECHO_T}$ac_ct_F77" >&6 3058 else 3059 echo "$as_me:$LINENO: result: no" >&5 3060 echo "${ECHO_T}no" >&6 3061 fi 3062 3063 test -n "$ac_ct_F77" && break 3064 done 3065 3066 F77=$ac_ct_F77 3067 fi 3068 3069 3070 # Provide some information about the compiler. 3071 echo "$as_me:3071:" \ 3072 "checking for Fortran 77 compiler version" >&5 3073 ac_compiler=`set X $ac_compile; echo $2` 3074 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 3075 (eval $ac_compiler --version </dev/null >&5) 2>&5 3076 ac_status=$? 3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3078 (exit $ac_status); } 3079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 3080 (eval $ac_compiler -v </dev/null >&5) 2>&5 3081 ac_status=$? 3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3083 (exit $ac_status); } 3084 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 3085 (eval $ac_compiler -V </dev/null >&5) 2>&5 3086 ac_status=$? 3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } 3089 rm -f a.out 3090 3091 # If we don't use `.F' as extension, the preprocessor is not run on the 3092 # input file. (Note that this only needs to work for GNU compilers.) 3093 ac_save_ext=$ac_ext 3094 ac_ext=F 3095 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 3096 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 3097 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 3098 echo $ECHO_N "(cached) $ECHO_C" >&6 3099 else 3100 cat >conftest.$ac_ext <<_ACEOF 3101 program main 3102 #ifndef __GNUC__ 3103 choke me 3104 #endif 3105 3106 end 3107 _ACEOF 3108 rm -f conftest.$ac_objext 3109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3110 (eval $ac_compile) 2>conftest.er1 3111 ac_status=$? 3112 grep -v '^ *+' conftest.er1 >conftest.err 3113 rm -f conftest.er1 3114 cat conftest.err >&5 3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3116 (exit $ac_status); } && 3117 { ac_try='test -z "$ac_f77_werror_flag" 3118 || test ! -s conftest.err' 3119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3120 (eval $ac_try) 2>&5 3121 ac_status=$? 3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3123 (exit $ac_status); }; } && 3124 { ac_try='test -s conftest.$ac_objext' 3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3126 (eval $ac_try) 2>&5 3127 ac_status=$? 3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3129 (exit $ac_status); }; }; then 3130 ac_compiler_gnu=yes 3131 else 3132 echo "$as_me: failed program was:" >&5 3133 sed 's/^/| /' conftest.$ac_ext >&5 3134 3135 ac_compiler_gnu=no 3136 fi 3137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3138 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3139 3140 fi 3141 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 3142 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 3143 ac_ext=$ac_save_ext 3144 ac_test_FFLAGS=${FFLAGS+set} 3145 ac_save_FFLAGS=$FFLAGS 3146 FFLAGS= 3147 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 3148 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 3149 if test "${ac_cv_prog_f77_g+set}" = set; then 3150 echo $ECHO_N "(cached) $ECHO_C" >&6 3151 else 3152 FFLAGS=-g 3153 cat >conftest.$ac_ext <<_ACEOF 3154 program main 3155 3156 end 3157 _ACEOF 3158 rm -f conftest.$ac_objext 3159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3160 (eval $ac_compile) 2>conftest.er1 3161 ac_status=$? 3162 grep -v '^ *+' conftest.er1 >conftest.err 3163 rm -f conftest.er1 3164 cat conftest.err >&5 3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3166 (exit $ac_status); } && 3167 { ac_try='test -z "$ac_f77_werror_flag" 3168 || test ! -s conftest.err' 3169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3170 (eval $ac_try) 2>&5 3171 ac_status=$? 3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 (exit $ac_status); }; } && 3174 { ac_try='test -s conftest.$ac_objext' 3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3176 (eval $ac_try) 2>&5 3177 ac_status=$? 3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3179 (exit $ac_status); }; }; then 3180 ac_cv_prog_f77_g=yes 3181 else 3182 echo "$as_me: failed program was:" >&5 3183 sed 's/^/| /' conftest.$ac_ext >&5 3184 3185 ac_cv_prog_f77_g=no 3186 fi 3187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3188 3189 fi 3190 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 3191 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 3192 if test "$ac_test_FFLAGS" = set; then 3193 FFLAGS=$ac_save_FFLAGS 3194 elif test $ac_cv_prog_f77_g = yes; then 3195 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 3196 FFLAGS="-g -O2" 3197 else 3198 FFLAGS="-g" 3199 fi 3200 else 3201 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 3202 FFLAGS="-O2" 3203 else 3204 FFLAGS= 3205 fi 3206 fi 3207 3208 G77=`test $ac_compiler_gnu = yes && echo yes` 3209 ac_ext=f 3210 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 3211 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3212 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 3213 3214 FFLAGS="$save_fflags" 3215 3216 # Check if a project specific FFLAGS variable has been set 3217 if test x$COIN_PRJCT != x; then 3218 eval coin_tmp=\${${COIN_PRJCT}_FFLAGS+set} 3219 if test x$coin_tmp = xset; then 3220 eval FFLAGS=\${${COIN_PRJCT}_FFLAGS} 3221 fi 3222 fi 3223 3224 if test x"$FFLAGS" = x; then 3225 3226 coin_add_fflags= 3227 coin_opt_fflags= 3228 coin_dbg_fflags= 3229 coin_warn_fflags= 3230 3231 if test "$G77" = "yes"; then 3232 coin_opt_fflags="-O3 -fomit-frame-pointer" 3233 coin_add_fflags="-pipe" 3234 coin_dbg_fflags="-g" 3235 if test "$enable_doscompile" = yes; then 3236 case $build in 3237 *-cygwin*) 3238 FFLAGS="-mno-cygwin" 3239 cat >conftest.$ac_ext <<_ACEOF 3240 program main 3241 write(*,*) 'Hello world' 3242 end 3243 _ACEOF 3244 rm -f conftest.$ac_objext conftest$ac_exeext 3245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3246 (eval $ac_link) 2>conftest.er1 3247 ac_status=$? 3248 grep -v '^ *+' conftest.er1 >conftest.err 3249 rm -f conftest.er1 3250 cat conftest.err >&5 3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3252 (exit $ac_status); } && 3253 { ac_try='test -z "$ac_f77_werror_flag" 3254 || test ! -s conftest.err' 3255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3256 (eval $ac_try) 2>&5 3257 ac_status=$? 3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3259 (exit $ac_status); }; } && 3260 { ac_try='test -s conftest$ac_exeext' 3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3262 (eval $ac_try) 2>&5 3263 ac_status=$? 3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3265 (exit $ac_status); }; }; then 3266 coin_add_fflags="-mno-cygwin $coin_add_fflags" 3267 else 3268 echo "$as_me: failed program was:" >&5 3269 sed 's/^/| /' conftest.$ac_ext >&5 3270 3271 fi 3272 rm -f conftest.err conftest.$ac_objext \ 3273 conftest$ac_exeext conftest.$ac_ext 3274 FFLAGS= 3275 ;; 3276 esac 3277 fi 3278 else 3279 case $build in 3280 *-cygwin* | *-mingw*) 3281 case $F77 in 3282 ifort* | */ifort*) 3283 coin_opt_fflags='-O3' 3284 coin_add_fflags='-nologo -MT' 3285 coin_dbg_fflags='-debug' 3286 ;; 3287 esac 3288 ;; 3289 *-linux-*) 3290 case $F77 in 3291 ifc* | */ifc* | ifort* | */ifort*) 3292 coin_opt_fflags="-O3 -ip" 3293 coin_add_fflags="-cm -w90 -w95" 3294 coin_dbg_fflags="-g -CA -CB -CS" 3295 # Check if -i_dynamic is necessary (for new glibc library) 3296 FFLAGS= 3297 cat >conftest.$ac_ext <<_ACEOF 3298 program main 3299 write(*,*) 'Hello world' 3300 end 3301 _ACEOF 3302 rm -f conftest.$ac_objext conftest$ac_exeext 3303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3304 (eval $ac_link) 2>conftest.er1 3305 ac_status=$? 3306 grep -v '^ *+' conftest.er1 >conftest.err 3307 rm -f conftest.er1 3308 cat conftest.err >&5 3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3310 (exit $ac_status); } && 3311 { ac_try='test -z "$ac_f77_werror_flag" 3312 || test ! -s conftest.err' 3313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3314 (eval $ac_try) 2>&5 3315 ac_status=$? 3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3317 (exit $ac_status); }; } && 3318 { ac_try='test -s conftest$ac_exeext' 3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3320 (eval $ac_try) 2>&5 3321 ac_status=$? 3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3323 (exit $ac_status); }; }; then 3324 : 3325 else 3326 echo "$as_me: failed program was:" >&5 3327 sed 's/^/| /' conftest.$ac_ext >&5 3328 3329 coin_add_fflags="-i_dynamic $coin_add_fflags" 3330 fi 3331 rm -f conftest.err conftest.$ac_objext \ 3332 conftest$ac_exeext conftest.$ac_ext 3333 ;; 3334 pgf77* | */pgf77* | pgf90* | */pgf90*) 3335 coin_opt_fflags="-fast" 3336 coin_add_fflags="-Kieee -pc 64" 3337 coin_dbg_fflags="-g" 3338 ;; 3339 esac 3340 ;; 3341 *-ibm-*) 3342 case "$F77" in 3343 xlf* | */xlf* | mpxlf* | */mpxlf* ) 3344 coin_opt_fflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 3345 coin_add_fflags="-bmaxdata:0x80000000" 3346 coin_dbg_fflags="-g -C" 3347 ;; 3348 esac 3349 ;; 3350 *-hp-*) 3351 coin_opt_fflags="+O3" 3352 coin_add_fflags="+U77" 3353 coin_dbg_fflags="-C -g" 3354 ;; 3355 *-sun-*) 3356 coin_opt_fflags="-O4" 3357 coin_dbg_fflags="-g" 3358 ;; 3359 *-sgi-*) 3360 coin_opt_fflags="-O5 -OPT:Olimit=0" 3361 coin_dbg_fflags="-g" 3362 ;; 3363 esac 3364 fi 3365 3366 if test "$ac_cv_prog_f77_g" = yes && test -z "$coin_dbg_fflags" ; then 3367 coin_dbg_fflags="-g" 3368 fi 3369 3370 if test -z "$coin_opt_fflags"; then 3371 # Try if -O option works if nothing else is set 3372 FFLAGS=-O 3373 cat >conftest.$ac_ext <<_ACEOF 3374 program main 3375 integer i 3376 end 3377 _ACEOF 3378 rm -f conftest.$ac_objext conftest$ac_exeext 3379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3380 (eval $ac_link) 2>conftest.er1 3381 ac_status=$? 3382 grep -v '^ *+' conftest.er1 >conftest.err 3383 rm -f conftest.er1 3384 cat conftest.err >&5 3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3386 (exit $ac_status); } && 3387 { ac_try='test -z "$ac_f77_werror_flag" 3388 || test ! -s conftest.err' 3389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3390 (eval $ac_try) 2>&5 3391 ac_status=$? 3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3393 (exit $ac_status); }; } && 3394 { ac_try='test -s conftest$ac_exeext' 3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3396 (eval $ac_try) 2>&5 3397 ac_status=$? 3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3399 (exit $ac_status); }; }; then 3400 coin_opt_fflags="-O" 3401 else 3402 echo "$as_me: failed program was:" >&5 3403 sed 's/^/| /' conftest.$ac_ext >&5 3404 3405 fi 3406 rm -f conftest.err conftest.$ac_objext \ 3407 conftest$ac_exeext conftest.$ac_ext 3408 fi 3409 3410 # if PM doesn't want the warning messages, take them out 3411 if test x"$coin_skip_warn_fflags" = xyes; then 3412 coin_warn_fflags= 3413 fi 3414 3415 if test x${DBG_FFLAGS+set} != xset; then 3416 DBG_FFLAGS="$coin_dbg_fflags $coin_add_fflags $coin_warn_fflags" 3417 fi 3418 if test x${OPT_FFLAGS+set} != xset; then 3419 OPT_FFLAGS="$coin_opt_fflags $coin_add_fflags $coin_warn_fflags" 3420 fi 3421 3422 DBG_FFLAGS="$DBG_FFLAGS $ADD_FFLAGS" 3423 OPT_FFLAGS="$OPT_FFLAGS $ADD_FFLAGS" 3424 3425 if test "$coin_debug_compile" = "true"; then 3426 FFLAGS="$DBG_FFLAGS" 3427 else 3428 FFLAGS="$OPT_FFLAGS" 3429 fi 3430 else 3431 FFLAGS="$FFLAGS $ADD_FFLAGS" 3432 if test x${DBG_FFLAGS+set} != xset; then 3433 DBG_FFLAGS="$FFLAGS" 3434 fi 3435 if test x${OPT_FFLAGS+set} != xset; then 3436 OPT_FFLAGS="$FFLAGS" 3437 fi 3438 fi 3439 3440 # Try if FFLAGS works 3441 cat >conftest.$ac_ext <<_ACEOF 3442 program main 3443 integer i 3444 end 3445 _ACEOF 3446 rm -f conftest.$ac_objext conftest$ac_exeext 3447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3448 (eval $ac_link) 2>conftest.er1 3449 ac_status=$? 3450 grep -v '^ *+' conftest.er1 >conftest.err 3451 rm -f conftest.er1 3452 cat conftest.err >&5 3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3454 (exit $ac_status); } && 3455 { ac_try='test -z "$ac_f77_werror_flag" 3456 || test ! -s conftest.err' 3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3458 (eval $ac_try) 2>&5 3459 ac_status=$? 3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3461 (exit $ac_status); }; } && 3462 { ac_try='test -s conftest$ac_exeext' 3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3464 (eval $ac_try) 2>&5 3465 ac_status=$? 3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3467 (exit $ac_status); }; }; then 3468 : 3469 else 3470 echo "$as_me: failed program was:" >&5 3471 sed 's/^/| /' conftest.$ac_ext >&5 3472 3473 FFLAGS= 3474 fi 3475 rm -f conftest.err conftest.$ac_objext \ 3476 conftest$ac_exeext conftest.$ac_ext 3477 if test -z "$FFLAGS"; then 3478 { echo "$as_me:$LINENO: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&5 3479 echo "$as_me: WARNING: The flags FFLAGS=\"$FFLAGS\" do not work. I will now just try '-O', but you might want to set FFLAGS manually." >&2;} 3480 FFLAGS='-O' 3481 cat >conftest.$ac_ext <<_ACEOF 3482 program main 3483 integer i 3484 end 3485 _ACEOF 3486 rm -f conftest.$ac_objext conftest$ac_exeext 3487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3488 (eval $ac_link) 2>conftest.er1 3489 ac_status=$? 3490 grep -v '^ *+' conftest.er1 >conftest.err 3491 rm -f conftest.er1 3492 cat conftest.err >&5 3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3494 (exit $ac_status); } && 3495 { ac_try='test -z "$ac_f77_werror_flag" 3496 || test ! -s conftest.err' 3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3498 (eval $ac_try) 2>&5 3499 ac_status=$? 3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3501 (exit $ac_status); }; } && 3502 { ac_try='test -s conftest$ac_exeext' 3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3504 (eval $ac_try) 2>&5 3505 ac_status=$? 3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3507 (exit $ac_status); }; }; then 3508 : 3509 else 3510 echo "$as_me: failed program was:" >&5 3511 sed 's/^/| /' conftest.$ac_ext >&5 3512 3513 FFLAGS= 3514 fi 3515 rm -f conftest.err conftest.$ac_objext \ 3516 conftest$ac_exeext conftest.$ac_ext 3517 if test -z "$FFLAGS"; then 3518 { echo "$as_me:$LINENO: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&5 3519 echo "$as_me: WARNING: This value for FFLAGS does not work. I will continue with empty FFLAGS, but you might want to set FFLAGS manually." >&2;} 3520 fi 3521 fi 3522 3523 { echo "$as_me:$LINENO: Fortran compiler options are: $FFLAGS" >&5 3524 echo "$as_me: Fortran compiler options are: $FFLAGS" >&6;} 3525 3526 3527 if test x"$MPIF77" = x; then :; else 3528 { echo "$as_me:$LINENO: Will use MPI Fortran compiler $MPIF77" >&5 3529 echo "$as_me: Will use MPI Fortran compiler $MPIF77" >&6;} 3530 F77="$MPIF77" 3531 fi 3532 3533 case "$F77" in 3534 ifort*) 3535 case $build in 3536 *-mingw*) 3537 if test "${LD+set}" = set; then :; else 3538 LD=link 3539 fi 3540 ;; 3541 esac 3542 3543 ;; 3544 esac 3545 3546 ac_ext=c 3547 ac_cpp='$CPP $CPPFLAGS' 3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3551 3552 3553 3554 # Initialize autotools 3555 3556 # On Cygwin, building DLLs doesn't work 3557 case $build in 3558 *-cygwin*) 3559 coin_disable_shared=yes 3560 platform=Cygwin 3561 ;; 3562 *-mingw*) 3563 coin_disable_shared=yes 3564 platform="Msys" 3565 # case "$CXX" in 3566 # cl*) 3567 # coin_disable_shared=yes 3568 # platform="Msys with cl" 3569 # ;; 3570 # esac 3571 ;; 3572 esac 3573 if test x"$coin_disable_shared" = xyes; then 3574 if test x"$enable_shared" = xyes; then 3575 { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&5 3576 echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;} 3577 fi 3578 enable_shared=no 3579 fi 3580 # By default, we only want the shared objects to be compiled 3581 # Check whether --enable-static or --disable-static was given. 3582 if test "${enable_static+set}" = set; then 3583 enableval="$enable_static" 3584 p=${PACKAGE-default} 3585 case $enableval in 3586 yes) enable_static=yes ;; 3587 no) enable_static=no ;; 3588 *) 3589 enable_static=no 3590 # Look at the argument we got. We use all the common list separators. 3591 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3592 for pkg in $enableval; do 3593 IFS="$lt_save_ifs" 3594 if test "X$pkg" = "X$p"; then 3595 enable_static=yes 3596 fi 3597 done 3598 IFS="$lt_save_ifs" 3599 ;; 3600 esac 3601 else 3602 enable_static=no 3603 fi; 3604 3605 3606 3607 echo "$as_me:$LINENO: checking for egrep" >&5 3608 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3609 if test "${ac_cv_prog_egrep+set}" = set; then 3610 echo $ECHO_N "(cached) $ECHO_C" >&6 3611 else 3612 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3613 then ac_cv_prog_egrep='grep -E' 3614 else ac_cv_prog_egrep='egrep' 3615 fi 3616 fi 3617 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3618 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3619 EGREP=$ac_cv_prog_egrep 3620 3621 3622 am__api_version="1.9" 3623 # Find a good install program. We prefer a C program (faster), 3624 # so one script is as good as another. But avoid the broken or 3625 # incompatible versions: 3626 # SysV /etc/install, /usr/sbin/install 3627 # SunOS /usr/etc/install 3628 # IRIX /sbin/install 3629 # AIX /bin/install 3630 # AmigaOS /C/install, which installs bootblocks on floppy discs 3631 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3632 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3633 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3634 # OS/2's system install, which has a completely different semantic 3635 # ./install, which can be erroneously created by make from ./install.sh. 3636 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3637 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3638 if test -z "$INSTALL"; then 3639 if test "${ac_cv_path_install+set}" = set; then 3640 echo $ECHO_N "(cached) $ECHO_C" >&6 3641 else 3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3643 for as_dir in $PATH 3644 do 3645 IFS=$as_save_IFS 3646 test -z "$as_dir" && as_dir=. 3647 # Account for people who put trailing slashes in PATH elements. 3648 case $as_dir/ in 3649 ./ | .// | /cC/* | \ 3650 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3651 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3652 /usr/ucb/* ) ;; 3653 *) 3654 # OSF1 and SCO ODT 3.0 have their own names for install. 3655 # Don't use installbsd from OSF since it installs stuff as root 3656 # by default. 3657 for ac_prog in ginstall scoinst install; do 3658 for ac_exec_ext in '' $ac_executable_extensions; do 3659 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3660 if test $ac_prog = install && 3661 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3662 # AIX install. It has an incompatible calling convention. 3663 : 3664 elif test $ac_prog = install && 3665 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3666 # program-specific install script used by HP pwplus--don't use. 3667 : 3668 else 3669 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3670 break 3 3671 fi 3672 fi 3673 done 3692 3674 done 3693 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3694 3695 case $depmode in 3696 nosideeffect) 3697 # after this tag, mechanisms are not by side-effect, so they'll 3698 # only be used when explicitly requested 3699 if test "x$enable_dependency_tracking" = xyes; then 3700 continue 3701 else 3702 break 3703 fi 3704 ;; 3705 none) break ;; 3706 esac 3707 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3708 # mode. It turns out that the SunPro C++ compiler does not properly 3709 # handle `-M -o', and we need to detect this. 3710 if depmode=$depmode \ 3711 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3712 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3713 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3714 >/dev/null 2>conftest.err && 3715 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3716 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3717 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3718 # icc doesn't choke on unknown options, it will just issue warnings 3719 # or remarks (even with -Werror). So we grep stderr for any message 3720 # that says an option was ignored or not supported. 3721 # When given -MP, icc 7.0 and 7.1 complain thusly: 3722 # icc: Command line warning: ignoring option '-M'; no argument required 3723 # The diagnosis changed in icc 8.0: 3724 # icc: Command line remark: option '-MP' not supported 3725 if (grep 'ignoring option' conftest.err || 3726 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3727 am_cv_CC_dependencies_compiler_type=$depmode 3728 break 3729 fi 3730 fi 3675 ;; 3676 esac 3677 done 3678 3679 3680 fi 3681 if test "${ac_cv_path_install+set}" = set; then 3682 INSTALL=$ac_cv_path_install 3683 else 3684 # As a last resort, use the slow shell script. We don't cache a 3685 # path for INSTALL within a source directory, because that will 3686 # break other packages using the cache if that directory is 3687 # removed, or if the path is relative. 3688 INSTALL=$ac_install_sh 3689 fi 3690 fi 3691 echo "$as_me:$LINENO: result: $INSTALL" >&5 3692 echo "${ECHO_T}$INSTALL" >&6 3693 3694 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3695 # It thinks the first close brace ends the variable substitution. 3696 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3697 3698 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3699 3700 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3701 3702 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 3703 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 3704 # Just in case 3705 sleep 1 3706 echo timestamp > conftest.file 3707 # Do `set' in a subshell so we don't clobber the current shell's 3708 # arguments. Must try -L first in case configure is actually a 3709 # symlink; some systems play weird games with the mod time of symlinks 3710 # (eg FreeBSD returns the mod time of the symlink's containing 3711 # directory). 3712 if ( 3713 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 3714 if test "$*" = "X"; then 3715 # -L didn't work. 3716 set X `ls -t $srcdir/configure conftest.file` 3717 fi 3718 rm -f conftest.file 3719 if test "$*" != "X $srcdir/configure conftest.file" \ 3720 && test "$*" != "X conftest.file $srcdir/configure"; then 3721 3722 # If neither matched, then we have a broken ls. This can happen 3723 # if, for instance, CONFIG_SHELL is bash and it inherits a 3724 # broken ls alias from the environment. This has actually 3725 # happened. Such a system could not be considered "sane". 3726 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 3727 alias in your environment" >&5 3728 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 3729 alias in your environment" >&2;} 3730 { (exit 1); exit 1; }; } 3731 fi 3732 3733 test "$2" = conftest.file 3734 ) 3735 then 3736 # Ok. 3737 : 3738 else 3739 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 3740 Check your system clock" >&5 3741 echo "$as_me: error: newly created file is older than distributed files! 3742 Check your system clock" >&2;} 3743 { (exit 1); exit 1; }; } 3744 fi 3745 echo "$as_me:$LINENO: result: yes" >&5 3746 echo "${ECHO_T}yes" >&6 3747 test "$program_prefix" != NONE && 3748 program_transform_name="s,^,$program_prefix,;$program_transform_name" 3749 # Use a double $ so make ignores it. 3750 test "$program_suffix" != NONE && 3751 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 3752 # Double any \ or $. echo might interpret backslashes. 3753 # By default was `s,x,x', remove it if useless. 3754 cat <<\_ACEOF >conftest.sed 3755 s/[\\$]/&&/g;s/;s,x,x,$// 3756 _ACEOF 3757 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 3758 rm conftest.sed 3759 3760 # expand $ac_aux_dir to an absolute path 3761 am_aux_dir=`cd $ac_aux_dir && pwd` 3762 3763 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 3764 # Use eval to expand $SHELL 3765 if eval "$MISSING --run true"; then 3766 am_missing_run="$MISSING --run " 3767 else 3768 am_missing_run= 3769 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 3770 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 3771 fi 3772 3773 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 3774 # We used to keeping the `.' as first argument, in order to 3775 # allow $(mkdir_p) to be used without argument. As in 3776 # $(mkdir_p) $(somedir) 3777 # where $(somedir) is conditionally defined. However this is wrong 3778 # for two reasons: 3779 # 1. if the package is installed by a user who cannot write `.' 3780 # make install will fail, 3781 # 2. the above comment should most certainly read 3782 # $(mkdir_p) $(DESTDIR)$(somedir) 3783 # so it does not work when $(somedir) is undefined and 3784 # $(DESTDIR) is not. 3785 # To support the latter case, we have to write 3786 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 3787 # so the `.' trick is pointless. 3788 mkdir_p='mkdir -p --' 3789 else 3790 # On NextStep and OpenStep, the `mkdir' command does not 3791 # recognize any option. It will interpret all options as 3792 # directories to create, and then abort because `.' already 3793 # exists. 3794 for d in ./-p ./--version; 3795 do 3796 test -d $d && rmdir $d 3731 3797 done 3732 3733 cd .. 3734 rm -rf conftest.dir 3735 else 3736 am_cv_CC_dependencies_compiler_type=none 3737 fi 3738 3739 fi 3740 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3741 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3742 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3743 3744 3745 3746 if 3747 test "x$enable_dependency_tracking" != xno \ 3748 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3749 am__fastdepCC_TRUE= 3750 am__fastdepCC_FALSE='#' 3751 else 3752 am__fastdepCC_TRUE='#' 3753 am__fastdepCC_FALSE= 3798 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 3799 if test -f "$ac_aux_dir/mkinstalldirs"; then 3800 mkdir_p='$(mkinstalldirs)' 3801 else 3802 mkdir_p='$(install_sh) -d' 3803 fi 3804 fi 3805 3806 for ac_prog in gawk mawk nawk awk 3807 do 3808 # Extract the first word of "$ac_prog", so it can be a program name with args. 3809 set dummy $ac_prog; ac_word=$2 3810 echo "$as_me:$LINENO: checking for $ac_word" >&5 3811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3812 if test "${ac_cv_prog_AWK+set}" = set; then 3813 echo $ECHO_N "(cached) $ECHO_C" >&6 3814 else 3815 if test -n "$AWK"; then 3816 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3817 else 3818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3819 for as_dir in $PATH 3820 do 3821 IFS=$as_save_IFS 3822 test -z "$as_dir" && as_dir=. 3823 for ac_exec_ext in '' $ac_executable_extensions; do 3824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3825 ac_cv_prog_AWK="$ac_prog" 3826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3827 break 2 3828 fi 3829 done 3830 done 3831 3832 fi 3833 fi 3834 AWK=$ac_cv_prog_AWK 3835 if test -n "$AWK"; then 3836 echo "$as_me:$LINENO: result: $AWK" >&5 3837 echo "${ECHO_T}$AWK" >&6 3838 else 3839 echo "$as_me:$LINENO: result: no" >&5 3840 echo "${ECHO_T}no" >&6 3841 fi 3842 3843 test -n "$AWK" && break 3844 done 3845 3846 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3847 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3848 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3849 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3850 echo $ECHO_N "(cached) $ECHO_C" >&6 3851 else 3852 cat >conftest.make <<\_ACEOF 3853 all: 3854 @echo 'ac_maketemp="$(MAKE)"' 3855 _ACEOF 3856 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3857 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3858 if test -n "$ac_maketemp"; then 3859 eval ac_cv_prog_make_${ac_make}_set=yes 3860 else 3861 eval ac_cv_prog_make_${ac_make}_set=no 3862 fi 3863 rm -f conftest.make 3864 fi 3865 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3866 echo "$as_me:$LINENO: result: yes" >&5 3867 echo "${ECHO_T}yes" >&6 3868 SET_MAKE= 3869 else 3870 echo "$as_me:$LINENO: result: no" >&5 3871 echo "${ECHO_T}no" >&6 3872 SET_MAKE="MAKE=${MAKE-make}" 3873 fi 3874 3875 rm -rf .tst 2>/dev/null 3876 mkdir .tst 2>/dev/null 3877 if test -d .tst; then 3878 am__leading_dot=. 3879 else 3880 am__leading_dot=_ 3881 fi 3882 rmdir .tst 2>/dev/null 3883 3884 DEPDIR="${am__leading_dot}deps" 3885 3886 ac_config_commands="$ac_config_commands depfiles" 3887 3888 3889 am_make=${MAKE-make} 3890 cat > confinc << 'END' 3891 am__doit: 3892 @echo done 3893 .PHONY: am__doit 3894 END 3895 # If we don't find an include directive, just comment out the code. 3896 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3897 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3898 am__include="#" 3899 am__quote= 3900 _am_result=none 3901 # First try GNU make style include. 3902 echo "include confinc" > confmf 3903 # We grep out `Entering directory' and `Leaving directory' 3904 # messages which can occur if `w' ends up in MAKEFLAGS. 3905 # In particular we don't look at `^make:' because GNU make might 3906 # be invoked under some other name (usually "gmake"), in which 3907 # case it prints its new name instead of `make'. 3908 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3909 am__include=include 3910 am__quote= 3911 _am_result=GNU 3912 fi 3913 # Now try BSD make style include. 3914 if test "$am__include" = "#"; then 3915 echo '.include "confinc"' > confmf 3916 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3917 am__include=.include 3918 am__quote="\"" 3919 _am_result=BSD 3920 fi 3921 fi 3922 3923 3924 echo "$as_me:$LINENO: result: $_am_result" >&5 3925 echo "${ECHO_T}$_am_result" >&6 3926 rm -f confinc confmf 3927 3928 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 3929 if test "${enable_dependency_tracking+set}" = set; then 3930 enableval="$enable_dependency_tracking" 3931 3932 fi; 3933 if test "x$enable_dependency_tracking" != xno; then 3934 am_depcomp="$ac_aux_dir/depcomp" 3935 AMDEPBACKSLASH='\' 3936 fi 3937 3938 3939 if test "x$enable_dependency_tracking" != xno; then 3940 AMDEP_TRUE= 3941 AMDEP_FALSE='#' 3942 else 3943 AMDEP_TRUE='#' 3944 AMDEP_FALSE= 3754 3945 fi 3755 3946 … … 4384 4575 *-*-irix6*) 4385 4576 # Find out which ABI we are using. 4386 echo '#line 4 386"configure"' > conftest.$ac_ext4577 echo '#line 4577 "configure"' > conftest.$ac_ext 4387 4578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4388 4579 (eval $ac_compile) 2>&5 … … 6813 7004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6814 7005 -e 's:$: $lt_compiler_flag:'` 6815 (eval echo "\"\$as_me: 6815: $lt_compile\"" >&5)7006 (eval echo "\"\$as_me:7006: $lt_compile\"" >&5) 6816 7007 (eval "$lt_compile" 2>conftest.err) 6817 7008 ac_status=$? 6818 7009 cat conftest.err >&5 6819 echo "$as_me: 6819: \$? = $ac_status" >&57010 echo "$as_me:7010: \$? = $ac_status" >&5 6820 7011 if (exit $ac_status) && test -s "$ac_outfile"; then 6821 7012 # The compiler can only warn and ignore the option if not recognized … … 7081 7272 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7082 7273 -e 's:$: $lt_compiler_flag:'` 7083 (eval echo "\"\$as_me:7 083: $lt_compile\"" >&5)7274 (eval echo "\"\$as_me:7274: $lt_compile\"" >&5) 7084 7275 (eval "$lt_compile" 2>conftest.err) 7085 7276 ac_status=$? 7086 7277 cat conftest.err >&5 7087 echo "$as_me:7 087: \$? = $ac_status" >&57278 echo "$as_me:7278: \$? = $ac_status" >&5 7088 7279 if (exit $ac_status) && test -s "$ac_outfile"; then 7089 7280 # The compiler can only warn and ignore the option if not recognized … … 7185 7376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7186 7377 -e 's:$: $lt_compiler_flag:'` 7187 (eval echo "\"\$as_me:7 187: $lt_compile\"" >&5)7378 (eval echo "\"\$as_me:7378: $lt_compile\"" >&5) 7188 7379 (eval "$lt_compile" 2>out/conftest.err) 7189 7380 ac_status=$? 7190 7381 cat out/conftest.err >&5 7191 echo "$as_me:7 191: \$? = $ac_status" >&57382 echo "$as_me:7382: \$? = $ac_status" >&5 7192 7383 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7193 7384 then … … 9530 9721 lt_status=$lt_dlunknown 9531 9722 cat > conftest.$ac_ext <<EOF 9532 #line 9 532"configure"9723 #line 9723 "configure" 9533 9724 #include "confdefs.h" 9534 9725 … … 9630 9821 lt_status=$lt_dlunknown 9631 9822 cat > conftest.$ac_ext <<EOF 9632 #line 9 632"configure"9823 #line 9823 "configure" 9633 9824 #include "confdefs.h" 9634 9825 … … 11974 12165 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11975 12166 -e 's:$: $lt_compiler_flag:'` 11976 (eval echo "\"\$as_me:1 1976: $lt_compile\"" >&5)12167 (eval echo "\"\$as_me:12167: $lt_compile\"" >&5) 11977 12168 (eval "$lt_compile" 2>conftest.err) 11978 12169 ac_status=$? 11979 12170 cat conftest.err >&5 11980 echo "$as_me:1 1980: \$? = $ac_status" >&512171 echo "$as_me:12171: \$? = $ac_status" >&5 11981 12172 if (exit $ac_status) && test -s "$ac_outfile"; then 11982 12173 # The compiler can only warn and ignore the option if not recognized … … 12078 12269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12079 12270 -e 's:$: $lt_compiler_flag:'` 12080 (eval echo "\"\$as_me:12 080: $lt_compile\"" >&5)12271 (eval echo "\"\$as_me:12271: $lt_compile\"" >&5) 12081 12272 (eval "$lt_compile" 2>out/conftest.err) 12082 12273 ac_status=$? 12083 12274 cat out/conftest.err >&5 12084 echo "$as_me:12 084: \$? = $ac_status" >&512275 echo "$as_me:12275: \$? = $ac_status" >&5 12085 12276 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12086 12277 then … … 13648 13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13649 13840 -e 's:$: $lt_compiler_flag:'` 13650 (eval echo "\"\$as_me:13 650: $lt_compile\"" >&5)13841 (eval echo "\"\$as_me:13841: $lt_compile\"" >&5) 13651 13842 (eval "$lt_compile" 2>conftest.err) 13652 13843 ac_status=$? 13653 13844 cat conftest.err >&5 13654 echo "$as_me:13 654: \$? = $ac_status" >&513845 echo "$as_me:13845: \$? = $ac_status" >&5 13655 13846 if (exit $ac_status) && test -s "$ac_outfile"; then 13656 13847 # The compiler can only warn and ignore the option if not recognized … … 13752 13943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13753 13944 -e 's:$: $lt_compiler_flag:'` 13754 (eval echo "\"\$as_me:13 754: $lt_compile\"" >&5)13945 (eval echo "\"\$as_me:13945: $lt_compile\"" >&5) 13755 13946 (eval "$lt_compile" 2>out/conftest.err) 13756 13947 ac_status=$? 13757 13948 cat out/conftest.err >&5 13758 echo "$as_me:13 758: \$? = $ac_status" >&513949 echo "$as_me:13949: \$? = $ac_status" >&5 13759 13950 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13760 13951 then … … 15959 16150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15960 16151 -e 's:$: $lt_compiler_flag:'` 15961 (eval echo "\"\$as_me:1 5961: $lt_compile\"" >&5)16152 (eval echo "\"\$as_me:16152: $lt_compile\"" >&5) 15962 16153 (eval "$lt_compile" 2>conftest.err) 15963 16154 ac_status=$? 15964 16155 cat conftest.err >&5 15965 echo "$as_me:1 5965: \$? = $ac_status" >&516156 echo "$as_me:16156: \$? = $ac_status" >&5 15966 16157 if (exit $ac_status) && test -s "$ac_outfile"; then 15967 16158 # The compiler can only warn and ignore the option if not recognized … … 16227 16418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16228 16419 -e 's:$: $lt_compiler_flag:'` 16229 (eval echo "\"\$as_me:16 229: $lt_compile\"" >&5)16420 (eval echo "\"\$as_me:16420: $lt_compile\"" >&5) 16230 16421 (eval "$lt_compile" 2>conftest.err) 16231 16422 ac_status=$? 16232 16423 cat conftest.err >&5 16233 echo "$as_me:16 233: \$? = $ac_status" >&516424 echo "$as_me:16424: \$? = $ac_status" >&5 16234 16425 if (exit $ac_status) && test -s "$ac_outfile"; then 16235 16426 # The compiler can only warn and ignore the option if not recognized … … 16331 16522 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16332 16523 -e 's:$: $lt_compiler_flag:'` 16333 (eval echo "\"\$as_me:16 333: $lt_compile\"" >&5)16524 (eval echo "\"\$as_me:16524: $lt_compile\"" >&5) 16334 16525 (eval "$lt_compile" 2>out/conftest.err) 16335 16526 ac_status=$? 16336 16527 cat out/conftest.err >&5 16337 echo "$as_me:16 337: \$? = $ac_status" >&516528 echo "$as_me:16528: \$? = $ac_status" >&5 16338 16529 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16339 16530 then … … 19146 19337 19147 19338 19339 depcc="$CC" am_compiler_list= 19340 19341 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 19342 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 19343 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 19344 echo $ECHO_N "(cached) $ECHO_C" >&6 19345 else 19346 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 19347 # We make a subdir and do the tests there. Otherwise we can end up 19348 # making bogus files that we don't know about and never remove. For 19349 # instance it was reported that on HP-UX the gcc test will end up 19350 # making a dummy file named `D' -- because `-MD' means `put the output 19351 # in D'. 19352 mkdir conftest.dir 19353 # Copy depcomp to subdir because otherwise we won't find it if we're 19354 # using a relative directory. 19355 cp "$am_depcomp" conftest.dir 19356 cd conftest.dir 19357 # We will build objects and dependencies in a subdirectory because 19358 # it helps to detect inapplicable dependency modes. For instance 19359 # both Tru64's cc and ICC support -MD to output dependencies as a 19360 # side effect of compilation, but ICC will put the dependencies in 19361 # the current directory while Tru64 will put them in the object 19362 # directory. 19363 mkdir sub 19364 19365 am_cv_CC_dependencies_compiler_type=none 19366 if test "$am_compiler_list" = ""; then 19367 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 19368 fi 19369 for depmode in $am_compiler_list; do 19370 # Setup a source with many dependencies, because some compilers 19371 # like to wrap large dependency lists on column 80 (with \), and 19372 # we should not choose a depcomp mode which is confused by this. 19373 # 19374 # We need to recreate these files for each test, as the compiler may 19375 # overwrite some of them when testing with obscure command lines. 19376 # This happens at least with the AIX C compiler. 19377 : > sub/conftest.c 19378 for i in 1 2 3 4 5 6; do 19379 echo '#include "conftst'$i'.h"' >> sub/conftest.c 19380 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 19381 # Solaris 8's {/usr,}/bin/sh. 19382 touch sub/conftst$i.h 19383 done 19384 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 19385 19386 case $depmode in 19387 nosideeffect) 19388 # after this tag, mechanisms are not by side-effect, so they'll 19389 # only be used when explicitly requested 19390 if test "x$enable_dependency_tracking" = xyes; then 19391 continue 19392 else 19393 break 19394 fi 19395 ;; 19396 none) break ;; 19397 esac 19398 # We check with `-c' and `-o' for the sake of the "dashmstdout" 19399 # mode. It turns out that the SunPro C++ compiler does not properly 19400 # handle `-M -o', and we need to detect this. 19401 if depmode=$depmode \ 19402 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 19403 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 19404 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 19405 >/dev/null 2>conftest.err && 19406 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 19407 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 19408 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 19409 # icc doesn't choke on unknown options, it will just issue warnings 19410 # or remarks (even with -Werror). So we grep stderr for any message 19411 # that says an option was ignored or not supported. 19412 # When given -MP, icc 7.0 and 7.1 complain thusly: 19413 # icc: Command line warning: ignoring option '-M'; no argument required 19414 # The diagnosis changed in icc 8.0: 19415 # icc: Command line remark: option '-MP' not supported 19416 if (grep 'ignoring option' conftest.err || 19417 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 19418 am_cv_CC_dependencies_compiler_type=$depmode 19419 break 19420 fi 19421 fi 19422 done 19423 19424 cd .. 19425 rm -rf conftest.dir 19426 else 19427 am_cv_CC_dependencies_compiler_type=none 19428 fi 19429 19430 fi 19431 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 19432 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 19433 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 19434 19435 19436 19437 if 19438 test "x$enable_dependency_tracking" != xno \ 19439 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 19440 am__fastdepCC_TRUE= 19441 am__fastdepCC_FALSE='#' 19442 else 19443 am__fastdepCC_TRUE='#' 19444 am__fastdepCC_FALSE= 19445 fi 19446 19447 19148 19448 19149 19449 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 … … 19673 19973 ############################################################################# 19674 19974 19675 lapack_source_files='dlae2.f dlaev2.f dla mch.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f'19975 lapack_source_files='dlae2.f dlaev2.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f iparmq.f' 19676 19976 for file in $lapack_source_files; do 19677 19977 ac_config_links="$ac_config_links $file:LAPACK/SRC/$file" 19678 19978 19679 19979 done 19980 ac_config_links="$ac_config_links dlamch.f:LAPACK/INSTALL/dlamch.f" 19981 19680 19982 19681 19983 ac_config_files="$ac_config_files Makefile" … … 19829 20131 { (exit 1); exit 1; }; } 19830 20132 fi 20133 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 20134 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 20135 Usually this means the macro was only invoked conditionally." >&5 20136 echo "$as_me: error: conditional \"AMDEP\" was never defined. 20137 Usually this means the macro was only invoked conditionally." >&2;} 20138 { (exit 1); exit 1; }; } 20139 fi 20140 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 20141 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 20142 Usually this means the macro was only invoked conditionally." >&5 20143 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 20144 Usually this means the macro was only invoked conditionally." >&2;} 20145 { (exit 1); exit 1; }; } 20146 fi 19831 20147 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 19832 20148 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. … … 19840 20156 Usually this means the macro was only invoked conditionally." >&5 19841 20157 echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined. 19842 Usually this means the macro was only invoked conditionally." >&2;}19843 { (exit 1); exit 1; }; }19844 fi19845 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then19846 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.19847 Usually this means the macro was only invoked conditionally." >&519848 echo "$as_me: error: conditional \"AMDEP\" was never defined.19849 Usually this means the macro was only invoked conditionally." >&2;}19850 { (exit 1); exit 1; }; }19851 fi19852 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then19853 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.19854 Usually this means the macro was only invoked conditionally." >&519855 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.19856 20158 Usually this means the macro was only invoked conditionally." >&2;} 19857 20159 { (exit 1); exit 1; }; } … … 20308 20610 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 20309 20611 "$file" ) CONFIG_LINKS="$CONFIG_LINKS $file:LAPACK/SRC/$file" ;; 20612 "dlamch.f" ) CONFIG_LINKS="$CONFIG_LINKS dlamch.f:LAPACK/INSTALL/dlamch.f" ;; 20310 20613 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 20311 20614 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 … … 20402 20705 s,@build_vendor@,$build_vendor,;t t 20403 20706 s,@build_os@,$build_os,;t t 20707 s,@CDEFS@,$CDEFS,;t t 20708 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t 20709 s,@DBG_CFLAGS@,$DBG_CFLAGS,;t t 20710 s,@OPT_CFLAGS@,$OPT_CFLAGS,;t t 20711 s,@CC@,$CC,;t t 20712 s,@CFLAGS@,$CFLAGS,;t t 20713 s,@LDFLAGS@,$LDFLAGS,;t t 20714 s,@CPPFLAGS@,$CPPFLAGS,;t t 20715 s,@ac_ct_CC@,$ac_ct_CC,;t t 20716 s,@EXEEXT@,$EXEEXT,;t t 20717 s,@OBJEXT@,$OBJEXT,;t t 20718 s,@MPICC@,$MPICC,;t t 20404 20719 s,@ADD_FFLAGS@,$ADD_FFLAGS,;t t 20405 20720 s,@DBG_FFLAGS@,$DBG_FFLAGS,;t t … … 20407 20722 s,@F77@,$F77,;t t 20408 20723 s,@FFLAGS@,$FFLAGS,;t t 20409 s,@LDFLAGS@,$LDFLAGS,;t t20410 20724 s,@ac_ct_F77@,$ac_ct_F77,;t t 20411 s,@EXEEXT@,$EXEEXT,;t t20412 s,@OBJEXT@,$OBJEXT,;t t20413 20725 s,@MPIF77@,$MPIF77,;t t 20414 20726 s,@EGREP@,$EGREP,;t t … … 20435 20747 s,@am__tar@,$am__tar,;t t 20436 20748 s,@am__untar@,$am__untar,;t t 20749 s,@DEPDIR@,$DEPDIR,;t t 20750 s,@am__include@,$am__include,;t t 20751 s,@am__quote@,$am__quote,;t t 20752 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 20753 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 20754 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 20755 s,@CCDEPMODE@,$CCDEPMODE,;t t 20756 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 20757 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 20437 20758 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 20438 20759 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t … … 20450 20771 s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t 20451 20772 s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t 20452 s,@CC@,$CC,;t t20453 s,@CFLAGS@,$CFLAGS,;t t20454 s,@CPPFLAGS@,$CPPFLAGS,;t t20455 s,@ac_ct_CC@,$ac_ct_CC,;t t20456 s,@DEPDIR@,$DEPDIR,;t t20457 s,@am__include@,$am__include,;t t20458 s,@am__quote@,$am__quote,;t t20459 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t20460 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t20461 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t20462 s,@CCDEPMODE@,$CCDEPMODE,;t t20463 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t20464 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t20465 20773 s,@host@,$host,;t t 20466 20774 s,@host_cpu@,$host_cpu,;t t -
ThirdParty/Lapack/trunk/configure.ac
r94 r141 54 54 ############################################################################# 55 55 56 lapack_source_files='dlae2.f dlaev2.f dla mch.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f'56 lapack_source_files='dlae2.f dlaev2.f dlanst.f dlansy.f dlapy2.f dlarf.f dlarfb.f dlarfg.f dlarft.f dlartg.f dlascl.f dlaset.f dlasr.f dlasrt.f dlassq.f dlatrd.f dorg2l.f dorg2r.f dorgql.f dorgqr.f dorgtr.f dpotf2.f dpotrf.f dpotrs.f dsteqr.f dsterf.f dsyev.f dsytd2.f dsytrd.f ieeeck.f ilaenv.f iparmq.f' 57 57 for file in $lapack_source_files; do 58 58 AC_CONFIG_LINKS($file:LAPACK/SRC/$file) 59 59 done 60 AC_CONFIG_LINKS(dlamch.f:LAPACK/INSTALL/dlamch.f) 60 61 61 62 AC_CONFIG_FILES([Makefile]) -
ThirdParty/Lapack/trunk/get.Lapack
r70 r141 13 13 rm -f lapack.tgz 14 14 echo "Downloading the source code from www.netlib.org..." 15 wget ftp://www.netlib.org/lapack/lapack .tgz15 wget ftp://www.netlib.org/lapack/lapack-lite-3.1.0.tgz 16 16 17 17 echo "Uncompressing the tarball..." 18 gunzip -f lapack .tgz18 gunzip -f lapack-lite-3.1.0.tgz 19 19 20 20 echo "Unpacking the source code..." 21 tar xf lapack.tar LAPACK/SRC 21 tar xf lapack-lite-3.1.0.tar lapack-3.1.0/SRC lapack-3.1.0/INSTALL/dlamch.f 22 rm -rf LAPACK 23 mv lapack-3.1.0 LAPACK 22 24 23 25 echo "Deleting the tar file..." 24 rm lapack .tar26 rm lapack-lite-3.1.0.tar 25 27 26 28 echo " "
Note: See TracChangeset
for help on using the changeset viewer.