Changeset 121
- Timestamp:
- Oct 18, 2006 4:24:31 PM (15 years ago)
- Location:
- ThirdParty/Blas/stable/1.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Blas/stable/1.0/Makefile.in
r92 r121 102 102 ACLOCAL = @ACLOCAL@ 103 103 ADDLIBS = @ADDLIBS@ 104 ADD_CFLAGS = @ADD_CFLAGS@ 104 105 ADD_FFLAGS = @ADD_FFLAGS@ 105 106 ALWAYS_FALSE_FALSE = @ALWAYS_FALSE_FALSE@ … … 117 118 CC = @CC@ 118 119 CCDEPMODE = @CCDEPMODE@ 120 CDEFS = @CDEFS@ 119 121 CFLAGS = @CFLAGS@ 120 122 CPP = @CPP@ … … 125 127 CXXFLAGS = @CXXFLAGS@ 126 128 CYGPATH_W = @CYGPATH_W@ 129 DBG_CFLAGS = @DBG_CFLAGS@ 127 130 DBG_FFLAGS = @DBG_FFLAGS@ 128 131 DEFS = @DEFS@ … … 156 159 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 157 160 MAKEINFO = @MAKEINFO@ 161 MPICC = @MPICC@ 158 162 MPIF77 = @MPIF77@ 159 163 OBJEXT = @OBJEXT@ 164 OPT_CFLAGS = @OPT_CFLAGS@ 160 165 OPT_FFLAGS = @OPT_FFLAGS@ 161 166 PACKAGE = @PACKAGE@ -
ThirdParty/Blas/stable/1.0/configure
r99 r121 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-blas compile this project (Blas) 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] … … 1077 1099 1078 1100 Some influential environment variables: 1101 CDEFS Additional -D flags to be used when compiling C code. 1102 ADD_CFLAGS Additional C compiler options 1103 DBG_CFLAGS Debug C compiler options 1104 OPT_CFLAGS Optimize C compiler options 1105 CC C compiler command 1106 CFLAGS C compiler flags 1107 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1108 nonstandard directory <lib dir> 1109 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1110 headers in a nonstandard directory <include dir> 1111 MPICC C MPI Compiler 1079 1112 ADD_FFLAGS Additional Fortran compiler options 1080 1113 DBG_FFLAGS Debug Fortran compiler options … … 1082 1115 F77 Fortran 77 compiler command 1083 1116 FFLAGS Fortran 77 compiler flags 1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a1085 nonstandard directory <lib dir>1086 1117 MPIF77 Fortran MPI Compiler 1087 CC C compiler command1088 CFLAGS C compiler flags1089 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have1090 headers in a nonstandard directory <include dir>1091 1118 CPP C preprocessor 1092 1119 CXX C++ compiler command … … 1748 1775 esac 1749 1776 1750 1751 1752 ac_ext=f 1753 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 1754 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1755 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 1756 1757 1758 1759 1760 1761 1762 coin_has_f77=yes 1763 1764 save_fflags="$FFLAGS" 1777 # Check whether --enable-doscompile or --disable-doscompile was given. 1778 if test "${enable_doscompile+set}" = set; then 1779 enableval="$enable_doscompile" 1780 if test "$enable_doscompile = yes"; then 1781 case $build in 1782 *-cygwin*) ;; 1783 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only sense under Cygwin" >&5 1784 echo "$as_me: error: --enable-doscompile option makes only sense under Cygwin" >&2;} 1785 { (exit 1); exit 1; }; } ;; 1786 esac 1787 fi 1788 else 1789 enable_doscompile=no 1790 fi; 1791 1792 1793 1794 1795 ac_ext=c 1796 ac_cpp='$CPP $CPPFLAGS' 1797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1799 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1800 1801 1802 # For consistency, we set the C compiler to the same value of the C++ 1803 # compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl) 1804 if test x"$CXX" != x; then 1805 case "$CXX" in 1806 cl*) 1807 if test x"$CC" = x; then 1808 CC="$CXX" 1809 { echo "$as_me:$LINENO: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&5 1810 echo "$as_me: WARNING: C++ compiler name provided as $CXX, but CC is unset. Setting CC to $CXX" >&2;} 1811 fi 1812 ;; 1813 esac 1814 fi 1815 1816 1817 1818 1819 1820 1821 coin_has_cc=yes 1822 1823 save_cflags="$CFLAGS" 1765 1824 case $build in 1766 1825 *-cygwin* | *-mingw*) 1767 comps="gfortran g77 ifort fl32" ;; 1768 *) comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;; 1826 comps="gcc cl" ;; 1827 *-linux-*) comps="xlc gcc cc pgcc icc" ;; 1828 *) comps="xlc_r xlc cc gcc pgcc icc" ;; 1769 1829 esac 1770 1830 1771 1831 # We delete the cached value, since the test might not have been 1772 1832 # performed with out choise of compilers earlier 1773 $as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; } 1774 ac_ext=f 1775 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 1776 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1777 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 1833 $as_unset ac_cv_prog_CC || test "${ac_cv_prog_CC+set}" != set || { ac_cv_prog_CC=; export ac_cv_prog_CC; } 1834 ac_ext=c 1835 ac_cpp='$CPP $CPPFLAGS' 1836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1838 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1778 1839 if test -n "$ac_tool_prefix"; then 1779 1840 for ac_prog in $comps … … 1783 1844 echo "$as_me:$LINENO: checking for $ac_word" >&5 1784 1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1785 if test "${ac_cv_prog_ F77+set}" = set; then1846 if test "${ac_cv_prog_CC+set}" = set; then 1786 1847 echo $ECHO_N "(cached) $ECHO_C" >&6 1787 1848 else 1788 if test -n "$ F77"; then1789 ac_cv_prog_ F77="$F77" # Let the user override the test.1849 if test -n "$CC"; then 1850 ac_cv_prog_CC="$CC" # Let the user override the test. 1790 1851 else 1791 1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1796 1857 for ac_exec_ext in '' $ac_executable_extensions; do 1797 1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1798 ac_cv_prog_ F77="$ac_tool_prefix$ac_prog"1859 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1799 1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1800 1861 break 2 … … 1805 1866 fi 1806 1867 fi 1807 F77=$ac_cv_prog_F77 1808 if test -n "$ F77"; then1809 echo "$as_me:$LINENO: result: $ F77" >&51810 echo "${ECHO_T}$ F77" >&61868 CC=$ac_cv_prog_CC 1869 if test -n "$CC"; then 1870 echo "$as_me:$LINENO: result: $CC" >&5 1871 echo "${ECHO_T}$CC" >&6 1811 1872 else 1812 1873 echo "$as_me:$LINENO: result: no" >&5 … … 1814 1875 fi 1815 1876 1816 test -n "$ F77" && break1877 test -n "$CC" && break 1817 1878 done 1818 1879 fi 1819 if test -z "$ F77"; then1820 ac_ct_ F77=$F771880 if test -z "$CC"; then 1881 ac_ct_CC=$CC 1821 1882 for ac_prog in $comps 1822 1883 do … … 1825 1886 echo "$as_me:$LINENO: checking for $ac_word" >&5 1826 1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1827 if test "${ac_cv_prog_ac_ct_ F77+set}" = set; then1888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1828 1889 echo $ECHO_N "(cached) $ECHO_C" >&6 1829 1890 else 1830 if test -n "$ac_ct_ F77"; then1831 ac_cv_prog_ac_ct_ F77="$ac_ct_F77" # Let the user override the test.1891 if test -n "$ac_ct_CC"; then 1892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1832 1893 else 1833 1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 1838 1899 for ac_exec_ext in '' $ac_executable_extensions; do 1839 1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1840 ac_cv_prog_ac_ct_ F77="$ac_prog"1901 ac_cv_prog_ac_ct_CC="$ac_prog" 1841 1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1842 1903 break 2 … … 1847 1908 fi 1848 1909 fi 1849 ac_ct_ F77=$ac_cv_prog_ac_ct_F771850 if test -n "$ac_ct_ F77"; then1851 echo "$as_me:$LINENO: result: $ac_ct_ F77" >&51852 echo "${ECHO_T}$ac_ct_ F77" >&61910 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1911 if test -n "$ac_ct_CC"; then 1912 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1913 echo "${ECHO_T}$ac_ct_CC" >&6 1853 1914 else 1854 1915 echo "$as_me:$LINENO: result: no" >&5 … … 1856 1917 fi 1857 1918 1858 test -n "$ac_ct_ F77" && break1919 test -n "$ac_ct_CC" && break 1859 1920 done 1860 1921 1861 F77=$ac_ct_F77 1862 fi 1863 1922 CC=$ac_ct_CC 1923 fi 1924 1925 1926 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1927 See \`config.log' for more details." >&5 1928 echo "$as_me: error: no acceptable C compiler found in \$PATH 1929 See \`config.log' for more details." >&2;} 1930 { (exit 1); exit 1; }; } 1864 1931 1865 1932 # Provide some information about the compiler. 1866 echo "$as_me: 1866:" \1867 "checking for Fortran 77compiler version" >&51933 echo "$as_me:$LINENO:" \ 1934 "checking for C compiler version" >&5 1868 1935 ac_compiler=`set X $ac_compile; echo $2` 1869 1936 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 … … 1882 1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1883 1950 (exit $ac_status); } 1884 rm -f a.out1885 1951 1886 1952 cat >conftest.$ac_ext <<_ACEOF 1887 program main 1888 1889 end 1953 /* confdefs.h. */ 1954 _ACEOF 1955 cat confdefs.h >>conftest.$ac_ext 1956 cat >>conftest.$ac_ext <<_ACEOF 1957 /* end confdefs.h. */ 1958 1959 int 1960 main () 1961 { 1962 1963 ; 1964 return 0; 1965 } 1890 1966 _ACEOF 1891 1967 ac_clean_files_save=$ac_clean_files … … 1894 1970 # It will help us diagnose broken compilers, and finding out an intuition 1895 1971 # of exeext. 1896 echo "$as_me:$LINENO: checking for Fortran 77compiler default output file name" >&51897 echo $ECHO_N "checking for Fortran 77compiler default output file name... $ECHO_C" >&61972 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1973 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1898 1974 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1899 1975 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 1938 2014 sed 's/^/| /' conftest.$ac_ext >&5 1939 2015 1940 { { echo "$as_me:$LINENO: error: Fortran 77compiler cannot create executables2016 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1941 2017 See \`config.log' for more details." >&5 1942 echo "$as_me: error: Fortran 77compiler cannot create executables2018 echo "$as_me: error: C compiler cannot create executables 1943 2019 See \`config.log' for more details." >&2;} 1944 2020 { (exit 77); exit 77; }; } … … 1951 2027 # Check the compiler produces executables we can run. If not, either 1952 2028 # the compiler is broken, or we cross compile. 1953 echo "$as_me:$LINENO: checking whether the Fortran 77compiler works" >&51954 echo $ECHO_N "checking whether the Fortran 77compiler works... $ECHO_C" >&62029 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2030 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1955 2031 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1956 2032 # If not cross compiling, check that we can run a simple program. … … 1967 2043 cross_compiling=yes 1968 2044 else 1969 { { echo "$as_me:$LINENO: error: cannot run Fortran 77compiled programs.2045 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1970 2046 If you meant to cross compile, use \`--host'. 1971 2047 See \`config.log' for more details." >&5 1972 echo "$as_me: error: cannot run Fortran 77compiled programs.2048 echo "$as_me: error: cannot run C compiled programs. 1973 2049 If you meant to cross compile, use \`--host'. 1974 2050 See \`config.log' for more details." >&2;} … … 2031 2107 else 2032 2108 cat >conftest.$ac_ext <<_ACEOF 2033 program main 2034 2035 end 2109 /* confdefs.h. */ 2110 _ACEOF 2111 cat confdefs.h >>conftest.$ac_ext 2112 cat >>conftest.$ac_ext <<_ACEOF 2113 /* end confdefs.h. */ 2114 2115 int 2116 main () 2117 { 2118 2119 ; 2120 return 0; 2121 } 2036 2122 _ACEOF 2037 2123 rm -f conftest.o conftest.obj … … 2065 2151 OBJEXT=$ac_cv_objext 2066 2152 ac_objext=$OBJEXT 2067 # If we don't use `.F' as extension, the preprocessor is not run on the2068 # input file. (Note that this only needs to work for GNU compilers.)2069 ac_save_ext=$ac_ext2070 ac_ext=F2071 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&52072 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&62073 if test "${ac_cv_f77_compiler_gnu+set}" = set; then2074 echo $ECHO_N "(cached) $ECHO_C" >&62075 else2076 cat >conftest.$ac_ext <<_ACEOF2077 program main2078 #ifndef __GNUC__2079 choke me2080 #endif2081 2082 end2083 _ACEOF2084 rm -f conftest.$ac_objext2085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52086 (eval $ac_compile) 2>conftest.er12087 ac_status=$?2088 grep -v '^ *+' conftest.er1 >conftest.err2089 rm -f conftest.er12090 cat conftest.err >&52091 echo "$as_me:$LINENO: \$? = $ac_status" >&52092 (exit $ac_status); } &&2093 { ac_try='test -z "$ac_f77_werror_flag"2094 || test ! -s conftest.err'2095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52096 (eval $ac_try) 2>&52097 ac_status=$?2098 echo "$as_me:$LINENO: \$? = $ac_status" >&52099 (exit $ac_status); }; } &&2100 { ac_try='test -s conftest.$ac_objext'2101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52102 (eval $ac_try) 2>&52103 ac_status=$?2104 echo "$as_me:$LINENO: \$? = $ac_status" >&52105 (exit $ac_status); }; }; then2106 ac_compiler_gnu=yes2107 else2108 echo "$as_me: failed program was:" >&52109 sed 's/^/| /' conftest.$ac_ext >&52110 2111 ac_compiler_gnu=no2112 fi2113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2114 ac_cv_f77_compiler_gnu=$ac_compiler_gnu2115 2116 fi2117 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&52118 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&62119 ac_ext=$ac_save_ext2120 ac_test_FFLAGS=${FFLAGS+set}2121 ac_save_FFLAGS=$FFLAGS2122 FFLAGS=2123 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&52124 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&62125 if test "${ac_cv_prog_f77_g+set}" = set; then2126 echo $ECHO_N "(cached) $ECHO_C" >&62127 else2128 FFLAGS=-g2129 cat >conftest.$ac_ext <<_ACEOF2130 program main2131 2132 end2133 _ACEOF2134 rm -f conftest.$ac_objext2135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52136 (eval $ac_compile) 2>conftest.er12137 ac_status=$?2138 grep -v '^ *+' conftest.er1 >conftest.err2139 rm -f conftest.er12140 cat conftest.err >&52141 echo "$as_me:$LINENO: \$? = $ac_status" >&52142 (exit $ac_status); } &&2143 { ac_try='test -z "$ac_f77_werror_flag"2144 || test ! -s conftest.err'2145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52146 (eval $ac_try) 2>&52147 ac_status=$?2148 echo "$as_me:$LINENO: \$? = $ac_status" >&52149 (exit $ac_status); }; } &&2150 { ac_try='test -s conftest.$ac_objext'2151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52152 (eval $ac_try) 2>&52153 ac_status=$?2154 echo "$as_me:$LINENO: \$? = $ac_status" >&52155 (exit $ac_status); }; }; then2156 ac_cv_prog_f77_g=yes2157 else2158 echo "$as_me: failed program was:" >&52159 sed 's/^/| /' conftest.$ac_ext >&52160 2161 ac_cv_prog_f77_g=no2162 fi2163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2164 2165 fi2166 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&52167 echo "${ECHO_T}$ac_cv_prog_f77_g" >&62168 if test "$ac_test_FFLAGS" = set; then2169 FFLAGS=$ac_save_FFLAGS2170 elif test $ac_cv_prog_f77_g = yes; then2171 if test "x$ac_cv_f77_compiler_gnu" = xyes; then2172 FFLAGS="-g -O2"2173 else2174 FFLAGS="-g"2175 fi2176 else2177 if test "x$ac_cv_f77_compiler_gnu" = xyes; then2178 FFLAGS="-O2"2179 else2180 FFLAGS=2181 fi2182 fi2183 2184 G77=`test $ac_compiler_gnu = yes && echo yes`2185 ac_ext=f2186 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'2187 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2188 ac_compiler_gnu=$ac_cv_f77_compiler_gnu2189 2190 FFLAGS="$save_fflags"2191 2192 # Check if a project specific FFLAGS variable has been set2193 if test x$COIN_PRJCT != x; then2194 eval coin_tmp=\${${COIN_PRJCT}_FFLAGS+set}2195 if test x$coin_tmp = xset; then2196 eval FFLAGS=\${${COIN_PRJCT}_FFLAGS}2197 fi2198 fi2199 2200 if test x"$FFLAGS" = x; then2201 2202 coin_add_fflags=2203 coin_opt_fflags=2204 coin_dbg_fflags=2205 coin_warn_fflags=2206 2207 if test "$G77" = "yes"; then2208 coin_opt_fflags="-O3 -fomit-frame-pointer"2209 coin_add_fflags="-pipe"2210 coin_dbg_fflags="-g"2211 case $build in2212 *-cygwin*)2213 FFLAGS="-mno-cygwin"2214 cat >conftest.$ac_ext <<_ACEOF2215 program main2216 write(*,*) 'Hello world'2217 end2218 _ACEOF2219 rm -f conftest.$ac_objext conftest$ac_exeext2220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52221 (eval $ac_link) 2>conftest.er12222 ac_status=$?2223 grep -v '^ *+' conftest.er1 >conftest.err2224 rm -f conftest.er12225 cat conftest.err >&52226 echo "$as_me:$LINENO: \$? = $ac_status" >&52227 (exit $ac_status); } &&2228 { ac_try='test -z "$ac_f77_werror_flag"2229 || test ! -s conftest.err'2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52231 (eval $ac_try) 2>&52232 ac_status=$?2233 echo "$as_me:$LINENO: \$? = $ac_status" >&52234 (exit $ac_status); }; } &&2235 { ac_try='test -s conftest$ac_exeext'2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52237 (eval $ac_try) 2>&52238 ac_status=$?2239 echo "$as_me:$LINENO: \$? = $ac_status" >&52240 (exit $ac_status); }; }; then2241 coin_add_fflags="-mno-cygwin $coin_add_fflags"2242 else2243 echo "$as_me: failed program was:" >&52244 sed 's/^/| /' conftest.$ac_ext >&52245 2246 fi2247 rm -f conftest.err conftest.$ac_objext \2248 conftest$ac_exeext conftest.$ac_ext2249 FFLAGS=2250 ;;2251 esac2252 else2253 case $build in2254 *-cygwin* | *-mingw*)2255 case $F77 in2256 ifort* | */ifort*)2257 coin_opt_fflags='-O3'2258 coin_add_fflags='-nologo -MT'2259 coin_dbg_fflags='-debug'2260 ;;2261 esac2262 ;;2263 *-linux-*)2264 case $F77 in2265 ifc* | */ifc* | ifort* | */ifort*)2266 coin_opt_fflags="-O3 -ip"2267 coin_add_fflags="-cm -w90 -w95"2268 coin_dbg_fflags="-g -CA -CB -CS"2269 # Check if -i_dynamic is necessary (for new glibc library)2270 FFLAGS=2271 cat >conftest.$ac_ext <<_ACEOF2272 program main2273 write(*,*) 'Hello world'2274 end2275 _ACEOF2276 rm -f conftest.$ac_objext conftest$ac_exeext2277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52278 (eval $ac_link) 2>conftest.er12279 ac_status=$?2280 grep -v '^ *+' conftest.er1 >conftest.err2281 rm -f conftest.er12282 cat conftest.err >&52283 echo "$as_me:$LINENO: \$? = $ac_status" >&52284 (exit $ac_status); } &&2285 { ac_try='test -z "$ac_f77_werror_flag"2286 || test ! -s conftest.err'2287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52288 (eval $ac_try) 2>&52289 ac_status=$?2290 echo "$as_me:$LINENO: \$? = $ac_status" >&52291 (exit $ac_status); }; } &&2292 { ac_try='test -s conftest$ac_exeext'2293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52294 (eval $ac_try) 2>&52295 ac_status=$?2296 echo "$as_me:$LINENO: \$? = $ac_status" >&52297 (exit $ac_status); }; }; then2298 :2299 else2300 echo "$as_me: failed program was:" >&52301 sed 's/^/| /' conftest.$ac_ext >&52302 2303 coin_add_fflags="-i_dynamic $coin_add_fflags"2304 fi2305 rm -f conftest.err conftest.$ac_objext \2306 conftest$ac_exeext conftest.$ac_ext2307 ;;2308 pgf77* | */pgf77* | pgf90* | */pgf90*)2309 coin_opt_fflags="-fast"2310 coin_add_fflags="-Kieee -pc 64"2311 coin_dbg_fflags="-g"2312 ;;2313 esac2314 ;;2315 *-ibm-*)2316 case "$F77" in2317 xlf* | */xlf* | mpxlf* | */mpxlf* )2318 coin_opt_fflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1"2319 coin_add_fflags="-bmaxdata:0x80000000"2320 coin_dbg_fflags="-g -C"2321 ;;2322 esac2323 ;;2324 *-hp-*)2325 coin_opt_fflags="+O3"2326 coin_add_fflags="+U77"2327 coin_dbg_fflags="-C -g"2328 ;;2329 *-sun-*)2330 coin_opt_fflags="-O4"2331 coin_dbg_fflags="-g"2332 ;;2333 *-sgi-*)2334 coin_opt_fflags="-O5 -OPT:Olimit=0"2335 coin_dbg_fflags="-g"2336 ;;2337 esac2338 fi2339 2340 if test "$ac_cv_prog_f77_g" = yes && test -z "$coin_dbg_fflags" ; then2341 coin_dbg_fflags="-g"2342 fi2343 2344 if test -z "$coin_opt_fflags"; then2345 # Try if -O option works if nothing else is set2346 FFLAGS=-O2347 cat >conftest.$ac_ext <<_ACEOF2348 program main2349 integer i2350 end2351 _ACEOF2352 rm -f conftest.$ac_objext conftest$ac_exeext2353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52354 (eval $ac_link) 2>conftest.er12355 ac_status=$?2356 grep -v '^ *+' conftest.er1 >conftest.err2357 rm -f conftest.er12358 cat conftest.err >&52359 echo "$as_me:$LINENO: \$? = $ac_status" >&52360 (exit $ac_status); } &&2361 { ac_try='test -z "$ac_f77_werror_flag"2362 || test ! -s conftest.err'2363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52364 (eval $ac_try) 2>&52365 ac_status=$?2366 echo "$as_me:$LINENO: \$? = $ac_status" >&52367 (exit $ac_status); }; } &&2368 { ac_try='test -s conftest$ac_exeext'2369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52370 (eval $ac_try) 2>&52371 ac_status=$?2372 echo "$as_me:$LINENO: \$? = $ac_status" >&52373 (exit $ac_status); }; }; then2374 coin_opt_fflags="-O"2375 else2376 echo "$as_me: failed program was:" >&52377 sed 's/^/| /' conftest.$ac_ext >&52378 2379 fi2380 rm -f conftest.err conftest.$ac_objext \2381 conftest$ac_exeext conftest.$ac_ext2382 fi2383 2384 if test x${DBG_FFLAGS+set} != xset; then2385 DBG_FFLAGS="$coin_dbg_fflags $coin_add_fflags $coin_warn_fflags"2386 fi2387 if test x${OPT_FFLAGS+set} != xset; then2388 OPT_FFLAGS="$coin_opt_fflags $coin_add_fflags $coin_warn_fflags"2389 fi2390 2391 DBG_FFLAGS="$DBG_FFLAGS $ADD_FFLAGS"2392 OPT_FFLAGS="$OPT_FFLAGS $ADD_FFLAGS"2393 2394 if test "$coin_debug_compile" = "true"; then2395 FFLAGS="$DBG_FFLAGS"2396 else2397 FFLAGS="$OPT_FFLAGS"2398 fi2399 else2400 FFLAGS="$FFLAGS $ADD_FFLAGS"2401 if test x${DBG_FFLAGS+set} != xset; then2402 DBG_FFLAGS="$FFLAGS"2403 fi2404 if test x${OPT_FFLAGS+set} != xset; then2405 OPT_FFLAGS="$FFLAGS"2406 fi2407 fi2408 2409 # Try if FFLAGS works2410 cat >conftest.$ac_ext <<_ACEOF2411 program main2412 integer i2413 end2414 _ACEOF2415 rm -f conftest.$ac_objext conftest$ac_exeext2416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52417 (eval $ac_link) 2>conftest.er12418 ac_status=$?2419 grep -v '^ *+' conftest.er1 >conftest.err2420 rm -f conftest.er12421 cat conftest.err >&52422 echo "$as_me:$LINENO: \$? = $ac_status" >&52423 (exit $ac_status); } &&2424 { ac_try='test -z "$ac_f77_werror_flag"2425 || test ! -s conftest.err'2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52427 (eval $ac_try) 2>&52428 ac_status=$?2429 echo "$as_me:$LINENO: \$? = $ac_status" >&52430 (exit $ac_status); }; } &&2431 { ac_try='test -s conftest$ac_exeext'2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52433 (eval $ac_try) 2>&52434 ac_status=$?2435 echo "$as_me:$LINENO: \$? = $ac_status" >&52436 (exit $ac_status); }; }; then2437 :2438 else2439 echo "$as_me: failed program was:" >&52440 sed 's/^/| /' conftest.$ac_ext >&52441 2442 FFLAGS=2443 fi2444 rm -f conftest.err conftest.$ac_objext \2445 conftest$ac_exeext conftest.$ac_ext2446 if test -z "$FFLAGS"; then2447 { 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." >&52448 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;}2449 FFLAGS='-O'2450 cat >conftest.$ac_ext <<_ACEOF2451 program main2452 integer i2453 end2454 _ACEOF2455 rm -f conftest.$ac_objext conftest$ac_exeext2456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52457 (eval $ac_link) 2>conftest.er12458 ac_status=$?2459 grep -v '^ *+' conftest.er1 >conftest.err2460 rm -f conftest.er12461 cat conftest.err >&52462 echo "$as_me:$LINENO: \$? = $ac_status" >&52463 (exit $ac_status); } &&2464 { ac_try='test -z "$ac_f77_werror_flag"2465 || test ! -s conftest.err'2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52467 (eval $ac_try) 2>&52468 ac_status=$?2469 echo "$as_me:$LINENO: \$? = $ac_status" >&52470 (exit $ac_status); }; } &&2471 { ac_try='test -s conftest$ac_exeext'2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52473 (eval $ac_try) 2>&52474 ac_status=$?2475 echo "$as_me:$LINENO: \$? = $ac_status" >&52476 (exit $ac_status); }; }; then2477 :2478 else2479 echo "$as_me: failed program was:" >&52480 sed 's/^/| /' conftest.$ac_ext >&52481 2482 FFLAGS=2483 fi2484 rm -f conftest.err conftest.$ac_objext \2485 conftest$ac_exeext conftest.$ac_ext2486 if test -z "$FFLAGS"; then2487 { 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." >&52488 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;}2489 fi2490 fi2491 2492 { echo "$as_me:$LINENO: Fortran compiler options are: $FFLAGS" >&52493 echo "$as_me: Fortran compiler options are: $FFLAGS" >&6;}2494 2495 2496 if test x"$MPIF77" = x; then :; else2497 { echo "$as_me:$LINENO: Will use MPI Fortran compiler $MPIF77" >&52498 echo "$as_me: Will use MPI Fortran compiler $MPIF77" >&6;}2499 F77="$MPIF77"2500 fi2501 2502 case "$F77" in2503 ifort*)2504 case $build in2505 *-mingw*)2506 if test "${LD+set}" = set; then :; else2507 LD=link2508 fi2509 ;;2510 esac2511 2512 ;;2513 esac2514 2515 ac_ext=c2516 ac_cpp='$CPP $CPPFLAGS'2517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2519 ac_compiler_gnu=$ac_cv_c_compiler_gnu2520 2521 2522 2523 # Initialize autotools2524 2525 # On Cygwin, building DLLs doesn't work2526 case $build in2527 *-cygwin*)2528 coin_disable_shared=yes2529 platform=Cygwin2530 ;;2531 *-mingw*)2532 coin_disable_shared=yes2533 platform="Msys"2534 # case "$CXX" in2535 # cl*)2536 # coin_disable_shared=yes2537 # platform="Msys with cl"2538 # ;;2539 # esac2540 ;;2541 esac2542 if test x"$coin_disable_shared" = xyes; then2543 if test x"$enable_shared" = xyes; then2544 { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&52545 echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;}2546 fi2547 enable_shared=no2548 fi2549 # By default, we only want the shared objects to be compiled2550 # Check whether --enable-static or --disable-static was given.2551 if test "${enable_static+set}" = set; then2552 enableval="$enable_static"2553 p=${PACKAGE-default}2554 case $enableval in2555 yes) enable_static=yes ;;2556 no) enable_static=no ;;2557 *)2558 enable_static=no2559 # Look at the argument we got. We use all the common list separators.2560 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"2561 for pkg in $enableval; do2562 IFS="$lt_save_ifs"2563 if test "X$pkg" = "X$p"; then2564 enable_static=yes2565 fi2566 done2567 IFS="$lt_save_ifs"2568 ;;2569 esac2570 else2571 enable_static=no2572 fi;2573 2574 2575 2576 echo "$as_me:$LINENO: checking for egrep" >&52577 echo $ECHO_N "checking for egrep... $ECHO_C" >&62578 if test "${ac_cv_prog_egrep+set}" = set; then2579 echo $ECHO_N "(cached) $ECHO_C" >&62580 else2581 if echo a | (grep -E '(a|b)') >/dev/null 2>&12582 then ac_cv_prog_egrep='grep -E'2583 else ac_cv_prog_egrep='egrep'2584 fi2585 fi2586 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&52587 echo "${ECHO_T}$ac_cv_prog_egrep" >&62588 EGREP=$ac_cv_prog_egrep2589 2590 2591 am__api_version="1.9"2592 # Find a good install program. We prefer a C program (faster),2593 # so one script is as good as another. But avoid the broken or2594 # incompatible versions:2595 # SysV /etc/install, /usr/sbin/install2596 # SunOS /usr/etc/install2597 # IRIX /sbin/install2598 # AIX /bin/install2599 # AmigaOS /C/install, which installs bootblocks on floppy discs2600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag2601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args2602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"2603 # OS/2's system install, which has a completely different semantic2604 # ./install, which can be erroneously created by make from ./install.sh.2605 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52606 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&62607 if test -z "$INSTALL"; then2608 if test "${ac_cv_path_install+set}" = set; then2609 echo $ECHO_N "(cached) $ECHO_C" >&62610 else2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2612 for as_dir in $PATH2613 do2614 IFS=$as_save_IFS2615 test -z "$as_dir" && as_dir=.2616 # Account for people who put trailing slashes in PATH elements.2617 case $as_dir/ in2618 ./ | .// | /cC/* | \2619 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2620 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \2621 /usr/ucb/* ) ;;2622 *)2623 # OSF1 and SCO ODT 3.0 have their own names for install.2624 # Don't use installbsd from OSF since it installs stuff as root2625 # by default.2626 for ac_prog in ginstall scoinst install; do2627 for ac_exec_ext in '' $ac_executable_extensions; do2628 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then2629 if test $ac_prog = install &&2630 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2631 # AIX install. It has an incompatible calling convention.2632 :2633 elif test $ac_prog = install &&2634 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2635 # program-specific install script used by HP pwplus--don't use.2636 :2637 else2638 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2639 break 32640 fi2641 fi2642 done2643 done2644 ;;2645 esac2646 done2647 2648 2649 fi2650 if test "${ac_cv_path_install+set}" = set; then2651 INSTALL=$ac_cv_path_install2652 else2653 # As a last resort, use the slow shell script. We don't cache a2654 # path for INSTALL within a source directory, because that will2655 # break other packages using the cache if that directory is2656 # removed, or if the path is relative.2657 INSTALL=$ac_install_sh2658 fi2659 fi2660 echo "$as_me:$LINENO: result: $INSTALL" >&52661 echo "${ECHO_T}$INSTALL" >&62662 2663 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.2664 # It thinks the first close brace ends the variable substitution.2665 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'2666 2667 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'2668 2669 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2670 2671 echo "$as_me:$LINENO: checking whether build environment is sane" >&52672 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&62673 # Just in case2674 sleep 12675 echo timestamp > conftest.file2676 # Do `set' in a subshell so we don't clobber the current shell's2677 # arguments. Must try -L first in case configure is actually a2678 # symlink; some systems play weird games with the mod time of symlinks2679 # (eg FreeBSD returns the mod time of the symlink's containing2680 # directory).2681 if (2682 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`2683 if test "$*" = "X"; then2684 # -L didn't work.2685 set X `ls -t $srcdir/configure conftest.file`2686 fi2687 rm -f conftest.file2688 if test "$*" != "X $srcdir/configure conftest.file" \2689 && test "$*" != "X conftest.file $srcdir/configure"; then2690 2691 # If neither matched, then we have a broken ls. This can happen2692 # if, for instance, CONFIG_SHELL is bash and it inherits a2693 # broken ls alias from the environment. This has actually2694 # happened. Such a system could not be considered "sane".2695 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken2696 alias in your environment" >&52697 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken2698 alias in your environment" >&2;}2699 { (exit 1); exit 1; }; }2700 fi2701 2702 test "$2" = conftest.file2703 )2704 then2705 # Ok.2706 :2707 else2708 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!2709 Check your system clock" >&52710 echo "$as_me: error: newly created file is older than distributed files!2711 Check your system clock" >&2;}2712 { (exit 1); exit 1; }; }2713 fi2714 echo "$as_me:$LINENO: result: yes" >&52715 echo "${ECHO_T}yes" >&62716 test "$program_prefix" != NONE &&2717 program_transform_name="s,^,$program_prefix,;$program_transform_name"2718 # Use a double $ so make ignores it.2719 test "$program_suffix" != NONE &&2720 program_transform_name="s,\$,$program_suffix,;$program_transform_name"2721 # Double any \ or $. echo might interpret backslashes.2722 # By default was `s,x,x', remove it if useless.2723 cat <<\_ACEOF >conftest.sed2724 s/[\\$]/&&/g;s/;s,x,x,$//2725 _ACEOF2726 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`2727 rm conftest.sed2728 2729 # expand $ac_aux_dir to an absolute path2730 am_aux_dir=`cd $ac_aux_dir && pwd`2731 2732 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"2733 # Use eval to expand $SHELL2734 if eval "$MISSING --run true"; then2735 am_missing_run="$MISSING --run "2736 else2737 am_missing_run=2738 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&52739 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}2740 fi2741 2742 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then2743 # We used to keeping the `.' as first argument, in order to2744 # allow $(mkdir_p) to be used without argument. As in2745 # $(mkdir_p) $(somedir)2746 # where $(somedir) is conditionally defined. However this is wrong2747 # for two reasons:2748 # 1. if the package is installed by a user who cannot write `.'2749 # make install will fail,2750 # 2. the above comment should most certainly read2751 # $(mkdir_p) $(DESTDIR)$(somedir)2752 # so it does not work when $(somedir) is undefined and2753 # $(DESTDIR) is not.2754 # To support the latter case, we have to write2755 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),2756 # so the `.' trick is pointless.2757 mkdir_p='mkdir -p --'2758 else2759 # On NextStep and OpenStep, the `mkdir' command does not2760 # recognize any option. It will interpret all options as2761 # directories to create, and then abort because `.' already2762 # exists.2763 for d in ./-p ./--version;2764 do2765 test -d $d && rmdir $d2766 done2767 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.2768 if test -f "$ac_aux_dir/mkinstalldirs"; then2769 mkdir_p='$(mkinstalldirs)'2770 else2771 mkdir_p='$(install_sh) -d'2772 fi2773 fi2774 2775 for ac_prog in gawk mawk nawk awk2776 do2777 # Extract the first word of "$ac_prog", so it can be a program name with args.2778 set dummy $ac_prog; ac_word=$22779 echo "$as_me:$LINENO: checking for $ac_word" >&52780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62781 if test "${ac_cv_prog_AWK+set}" = set; then2782 echo $ECHO_N "(cached) $ECHO_C" >&62783 else2784 if test -n "$AWK"; then2785 ac_cv_prog_AWK="$AWK" # Let the user override the test.2786 else2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2788 for as_dir in $PATH2789 do2790 IFS=$as_save_IFS2791 test -z "$as_dir" && as_dir=.2792 for ac_exec_ext in '' $ac_executable_extensions; do2793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2794 ac_cv_prog_AWK="$ac_prog"2795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52796 break 22797 fi2798 done2799 done2800 2801 fi2802 fi2803 AWK=$ac_cv_prog_AWK2804 if test -n "$AWK"; then2805 echo "$as_me:$LINENO: result: $AWK" >&52806 echo "${ECHO_T}$AWK" >&62807 else2808 echo "$as_me:$LINENO: result: no" >&52809 echo "${ECHO_T}no" >&62810 fi2811 2812 test -n "$AWK" && break2813 done2814 2815 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&52816 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&62817 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`2818 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then2819 echo $ECHO_N "(cached) $ECHO_C" >&62820 else2821 cat >conftest.make <<\_ACEOF2822 all:2823 @echo 'ac_maketemp="$(MAKE)"'2824 _ACEOF2825 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.2826 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`2827 if test -n "$ac_maketemp"; then2828 eval ac_cv_prog_make_${ac_make}_set=yes2829 else2830 eval ac_cv_prog_make_${ac_make}_set=no2831 fi2832 rm -f conftest.make2833 fi2834 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then2835 echo "$as_me:$LINENO: result: yes" >&52836 echo "${ECHO_T}yes" >&62837 SET_MAKE=2838 else2839 echo "$as_me:$LINENO: result: no" >&52840 echo "${ECHO_T}no" >&62841 SET_MAKE="MAKE=${MAKE-make}"2842 fi2843 2844 rm -rf .tst 2>/dev/null2845 mkdir .tst 2>/dev/null2846 if test -d .tst; then2847 am__leading_dot=.2848 else2849 am__leading_dot=_2850 fi2851 rmdir .tst 2>/dev/null2852 2853 DEPDIR="${am__leading_dot}deps"2854 2855 ac_config_commands="$ac_config_commands depfiles"2856 2857 2858 am_make=${MAKE-make}2859 cat > confinc << 'END'2860 am__doit:2861 @echo done2862 .PHONY: am__doit2863 END2864 # If we don't find an include directive, just comment out the code.2865 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&52866 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&62867 am__include="#"2868 am__quote=2869 _am_result=none2870 # First try GNU make style include.2871 echo "include confinc" > confmf2872 # We grep out `Entering directory' and `Leaving directory'2873 # messages which can occur if `w' ends up in MAKEFLAGS.2874 # In particular we don't look at `^make:' because GNU make might2875 # be invoked under some other name (usually "gmake"), in which2876 # case it prints its new name instead of `make'.2877 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2878 am__include=include2879 am__quote=2880 _am_result=GNU2881 fi2882 # Now try BSD make style include.2883 if test "$am__include" = "#"; then2884 echo '.include "confinc"' > confmf2885 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then2886 am__include=.include2887 am__quote="\""2888 _am_result=BSD2889 fi2890 fi2891 2892 2893 echo "$as_me:$LINENO: result: $_am_result" >&52894 echo "${ECHO_T}$_am_result" >&62895 rm -f confinc confmf2896 2897 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.2898 if test "${enable_dependency_tracking+set}" = set; then2899 enableval="$enable_dependency_tracking"2900 2901 fi;2902 if test "x$enable_dependency_tracking" != xno; then2903 am_depcomp="$ac_aux_dir/depcomp"2904 AMDEPBACKSLASH='\'2905 fi2906 2907 2908 if test "x$enable_dependency_tracking" != xno; then2909 AMDEP_TRUE=2910 AMDEP_FALSE='#'2911 else2912 AMDEP_TRUE='#'2913 AMDEP_FALSE=2914 fi2915 2916 2917 2918 ac_ext=c2919 ac_cpp='$CPP $CPPFLAGS'2920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2922 ac_compiler_gnu=$ac_cv_c_compiler_gnu2923 if test -n "$ac_tool_prefix"; then2924 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2925 set dummy ${ac_tool_prefix}gcc; ac_word=$22926 echo "$as_me:$LINENO: checking for $ac_word" >&52927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62928 if test "${ac_cv_prog_CC+set}" = set; then2929 echo $ECHO_N "(cached) $ECHO_C" >&62930 else2931 if test -n "$CC"; then2932 ac_cv_prog_CC="$CC" # Let the user override the test.2933 else2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2935 for as_dir in $PATH2936 do2937 IFS=$as_save_IFS2938 test -z "$as_dir" && as_dir=.2939 for ac_exec_ext in '' $ac_executable_extensions; do2940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2941 ac_cv_prog_CC="${ac_tool_prefix}gcc"2942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52943 break 22944 fi2945 done2946 done2947 2948 fi2949 fi2950 CC=$ac_cv_prog_CC2951 if test -n "$CC"; then2952 echo "$as_me:$LINENO: result: $CC" >&52953 echo "${ECHO_T}$CC" >&62954 else2955 echo "$as_me:$LINENO: result: no" >&52956 echo "${ECHO_T}no" >&62957 fi2958 2959 fi2960 if test -z "$ac_cv_prog_CC"; then2961 ac_ct_CC=$CC2962 # Extract the first word of "gcc", so it can be a program name with args.2963 set dummy gcc; ac_word=$22964 echo "$as_me:$LINENO: checking for $ac_word" >&52965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2967 echo $ECHO_N "(cached) $ECHO_C" >&62968 else2969 if test -n "$ac_ct_CC"; then2970 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2971 else2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2973 for as_dir in $PATH2974 do2975 IFS=$as_save_IFS2976 test -z "$as_dir" && as_dir=.2977 for ac_exec_ext in '' $ac_executable_extensions; do2978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2979 ac_cv_prog_ac_ct_CC="gcc"2980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52981 break 22982 fi2983 done2984 done2985 2986 fi2987 fi2988 ac_ct_CC=$ac_cv_prog_ac_ct_CC2989 if test -n "$ac_ct_CC"; then2990 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52991 echo "${ECHO_T}$ac_ct_CC" >&62992 else2993 echo "$as_me:$LINENO: result: no" >&52994 echo "${ECHO_T}no" >&62995 fi2996 2997 CC=$ac_ct_CC2998 else2999 CC="$ac_cv_prog_CC"3000 fi3001 3002 if test -z "$CC"; then3003 if test -n "$ac_tool_prefix"; then3004 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3005 set dummy ${ac_tool_prefix}cc; ac_word=$23006 echo "$as_me:$LINENO: checking for $ac_word" >&53007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63008 if test "${ac_cv_prog_CC+set}" = set; then3009 echo $ECHO_N "(cached) $ECHO_C" >&63010 else3011 if test -n "$CC"; then3012 ac_cv_prog_CC="$CC" # Let the user override the test.3013 else3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3015 for as_dir in $PATH3016 do3017 IFS=$as_save_IFS3018 test -z "$as_dir" && as_dir=.3019 for ac_exec_ext in '' $ac_executable_extensions; do3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3021 ac_cv_prog_CC="${ac_tool_prefix}cc"3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53023 break 23024 fi3025 done3026 done3027 3028 fi3029 fi3030 CC=$ac_cv_prog_CC3031 if test -n "$CC"; then3032 echo "$as_me:$LINENO: result: $CC" >&53033 echo "${ECHO_T}$CC" >&63034 else3035 echo "$as_me:$LINENO: result: no" >&53036 echo "${ECHO_T}no" >&63037 fi3038 3039 fi3040 if test -z "$ac_cv_prog_CC"; then3041 ac_ct_CC=$CC3042 # Extract the first word of "cc", so it can be a program name with args.3043 set dummy cc; ac_word=$23044 echo "$as_me:$LINENO: checking for $ac_word" >&53045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63046 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3047 echo $ECHO_N "(cached) $ECHO_C" >&63048 else3049 if test -n "$ac_ct_CC"; then3050 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.3051 else3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3053 for as_dir in $PATH3054 do3055 IFS=$as_save_IFS3056 test -z "$as_dir" && as_dir=.3057 for ac_exec_ext in '' $ac_executable_extensions; do3058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3059 ac_cv_prog_ac_ct_CC="cc"3060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53061 break 23062 fi3063 done3064 done3065 3066 fi3067 fi3068 ac_ct_CC=$ac_cv_prog_ac_ct_CC3069 if test -n "$ac_ct_CC"; then3070 echo "$as_me:$LINENO: result: $ac_ct_CC" >&53071 echo "${ECHO_T}$ac_ct_CC" >&63072 else3073 echo "$as_me:$LINENO: result: no" >&53074 echo "${ECHO_T}no" >&63075 fi3076 3077 CC=$ac_ct_CC3078 else3079 CC="$ac_cv_prog_CC"3080 fi3081 3082 fi3083 if test -z "$CC"; then3084 # Extract the first word of "cc", so it can be a program name with args.3085 set dummy cc; ac_word=$23086 echo "$as_me:$LINENO: checking for $ac_word" >&53087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63088 if test "${ac_cv_prog_CC+set}" = set; then3089 echo $ECHO_N "(cached) $ECHO_C" >&63090 else3091 if test -n "$CC"; then3092 ac_cv_prog_CC="$CC" # Let the user override the test.3093 else3094 ac_prog_rejected=no3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3096 for as_dir in $PATH3097 do3098 IFS=$as_save_IFS3099 test -z "$as_dir" && as_dir=.3100 for ac_exec_ext in '' $ac_executable_extensions; do3101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3102 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then3103 ac_prog_rejected=yes3104 continue3105 fi3106 ac_cv_prog_CC="cc"3107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53108 break 23109 fi3110 done3111 done3112 3113 if test $ac_prog_rejected = yes; then3114 # We found a bogon in the path, so make sure we never use it.3115 set dummy $ac_cv_prog_CC3116 shift3117 if test $# != 0; then3118 # We chose a different compiler from the bogus one.3119 # However, it has the same basename, so the bogon will be chosen3120 # first if we set CC to just the basename; use the full file name.3121 shift3122 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"3123 fi3124 fi3125 fi3126 fi3127 CC=$ac_cv_prog_CC3128 if test -n "$CC"; then3129 echo "$as_me:$LINENO: result: $CC" >&53130 echo "${ECHO_T}$CC" >&63131 else3132 echo "$as_me:$LINENO: result: no" >&53133 echo "${ECHO_T}no" >&63134 fi3135 3136 fi3137 if test -z "$CC"; then3138 if test -n "$ac_tool_prefix"; then3139 for ac_prog in cl3140 do3141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.3142 set dummy $ac_tool_prefix$ac_prog; ac_word=$23143 echo "$as_me:$LINENO: checking for $ac_word" >&53144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63145 if test "${ac_cv_prog_CC+set}" = set; then3146 echo $ECHO_N "(cached) $ECHO_C" >&63147 else3148 if test -n "$CC"; then3149 ac_cv_prog_CC="$CC" # Let the user override the test.3150 else3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3152 for as_dir in $PATH3153 do3154 IFS=$as_save_IFS3155 test -z "$as_dir" && as_dir=.3156 for ac_exec_ext in '' $ac_executable_extensions; do3157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3158 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"3159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53160 break 23161 fi3162 done3163 done3164 3165 fi3166 fi3167 CC=$ac_cv_prog_CC3168 if test -n "$CC"; then3169 echo "$as_me:$LINENO: result: $CC" >&53170 echo "${ECHO_T}$CC" >&63171 else3172 echo "$as_me:$LINENO: result: no" >&53173 echo "${ECHO_T}no" >&63174 fi3175 3176 test -n "$CC" && break3177 done3178 fi3179 if test -z "$CC"; then3180 ac_ct_CC=$CC3181 for ac_prog in cl3182 do3183 # Extract the first word of "$ac_prog", so it can be a program name with args.3184 set dummy $ac_prog; ac_word=$23185 echo "$as_me:$LINENO: checking for $ac_word" >&53186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&63187 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then3188 echo $ECHO_N "(cached) $ECHO_C" >&63189 else3190 if test -n "$ac_ct_CC"; then3191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.3192 else3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3194 for as_dir in $PATH3195 do3196 IFS=$as_save_IFS3197 test -z "$as_dir" && as_dir=.3198 for ac_exec_ext in '' $ac_executable_extensions; do3199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3200 ac_cv_prog_ac_ct_CC="$ac_prog"3201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53202 break 23203 fi3204 done3205 done3206 3207 fi3208 fi3209 ac_ct_CC=$ac_cv_prog_ac_ct_CC3210 if test -n "$ac_ct_CC"; then3211 echo "$as_me:$LINENO: result: $ac_ct_CC" >&53212 echo "${ECHO_T}$ac_ct_CC" >&63213 else3214 echo "$as_me:$LINENO: result: no" >&53215 echo "${ECHO_T}no" >&63216 fi3217 3218 test -n "$ac_ct_CC" && break3219 done3220 3221 CC=$ac_ct_CC3222 fi3223 3224 fi3225 3226 3227 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH3228 See \`config.log' for more details." >&53229 echo "$as_me: error: no acceptable C compiler found in \$PATH3230 See \`config.log' for more details." >&2;}3231 { (exit 1); exit 1; }; }3232 3233 # Provide some information about the compiler.3234 echo "$as_me:$LINENO:" \3235 "checking for C compiler version" >&53236 ac_compiler=`set X $ac_compile; echo $2`3237 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&53238 (eval $ac_compiler --version </dev/null >&5) 2>&53239 ac_status=$?3240 echo "$as_me:$LINENO: \$? = $ac_status" >&53241 (exit $ac_status); }3242 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&53243 (eval $ac_compiler -v </dev/null >&5) 2>&53244 ac_status=$?3245 echo "$as_me:$LINENO: \$? = $ac_status" >&53246 (exit $ac_status); }3247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&53248 (eval $ac_compiler -V </dev/null >&5) 2>&53249 ac_status=$?3250 echo "$as_me:$LINENO: \$? = $ac_status" >&53251 (exit $ac_status); }3252 3253 2153 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3254 2154 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 … … 3645 2545 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3646 2546 3647 depcc="$CC" am_compiler_list= 3648 3649 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3650 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3651 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2547 CFLAGS="$save_cflags" 2548 2549 # Check if a project specific CFLAGS variable has been set 2550 if test x$COIN_PRJCT != x; then 2551 eval coin_tmp=\${${COIN_PRJCT}_CFLAGS+set} 2552 if test x$coin_tmp = xset; then 2553 eval CFLAGS=\${${COIN_PRJCT}_CFLAGS} 2554 fi 2555 fi 2556 2557 if test x"$CFLAGS" = x; then 2558 2559 coin_add_cflags= 2560 coin_opt_cflags= 2561 coin_dbg_cflags= 2562 coin_warn_cflags= 2563 2564 if test "$GCC" = "yes"; then 2565 case "$CC" in 2566 icc* | */icc*) 2567 ;; 2568 *) 2569 coin_opt_cflags="-O3 -fomit-frame-pointer" 2570 coin_add_cflags="-pipe" 2571 coin_dbg_cflags="-g" 2572 coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall" 2573 if test "$enable_doscompile" = yes; then 2574 case $build in 2575 *-cygwin*) 2576 CFLAGS="-mno-cygwin" 2577 cat >conftest.$ac_ext <<_ACEOF 2578 /* confdefs.h. */ 2579 _ACEOF 2580 cat confdefs.h >>conftest.$ac_ext 2581 cat >>conftest.$ac_ext <<_ACEOF 2582 /* end confdefs.h. */ 2583 2584 int 2585 main () 2586 { 2587 int i=0; i++; 2588 ; 2589 return 0; 2590 } 2591 _ACEOF 2592 rm -f conftest.$ac_objext conftest$ac_exeext 2593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2594 (eval $ac_link) 2>conftest.er1 2595 ac_status=$? 2596 grep -v '^ *+' conftest.er1 >conftest.err 2597 rm -f conftest.er1 2598 cat conftest.err >&5 2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2600 (exit $ac_status); } && 2601 { ac_try='test -z "$ac_c_werror_flag" 2602 || test ! -s conftest.err' 2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2604 (eval $ac_try) 2>&5 2605 ac_status=$? 2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2607 (exit $ac_status); }; } && 2608 { ac_try='test -s conftest$ac_exeext' 2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2610 (eval $ac_try) 2>&5 2611 ac_status=$? 2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2613 (exit $ac_status); }; }; then 2614 coin_add_cflags="-mno-cygwin $coin_add_cflags" 2615 else 2616 echo "$as_me: failed program was:" >&5 2617 sed 's/^/| /' conftest.$ac_ext >&5 2618 2619 fi 2620 rm -f conftest.err conftest.$ac_objext \ 2621 conftest$ac_exeext conftest.$ac_ext 2622 CFLAGS= 2623 ;; 2624 esac 2625 fi 2626 esac 2627 fi 2628 if test -z "$coin_opt_cflags"; then 2629 case $build in 2630 *-cygwin* | *-mingw*) 2631 case "$CC" in 2632 cl* | */cl*) 2633 coin_opt_cflags='-O2' 2634 coin_add_cflags='-nologo' 2635 coin_dbg_cflags='-Yd' 2636 ;; 2637 esac 2638 ;; 2639 *-linux-*) 2640 case "$CC" in 2641 icc* | */icc*) 2642 coin_opt_cflags="-O3 -ip" 2643 coin_add_cflags="" 2644 coin_dbg_cflags="-g" 2645 # Check if -i_dynamic is necessary (for new glibc library) 2646 CFLAGS= 2647 cat >conftest.$ac_ext <<_ACEOF 2648 /* confdefs.h. */ 2649 _ACEOF 2650 cat confdefs.h >>conftest.$ac_ext 2651 cat >>conftest.$ac_ext <<_ACEOF 2652 /* end confdefs.h. */ 2653 2654 int 2655 main () 2656 { 2657 int i=0; i++; 2658 ; 2659 return 0; 2660 } 2661 _ACEOF 2662 rm -f conftest.$ac_objext conftest$ac_exeext 2663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2664 (eval $ac_link) 2>conftest.er1 2665 ac_status=$? 2666 grep -v '^ *+' conftest.er1 >conftest.err 2667 rm -f conftest.er1 2668 cat conftest.err >&5 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2670 (exit $ac_status); } && 2671 { ac_try='test -z "$ac_c_werror_flag" 2672 || test ! -s conftest.err' 2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2674 (eval $ac_try) 2>&5 2675 ac_status=$? 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2677 (exit $ac_status); }; } && 2678 { ac_try='test -s conftest$ac_exeext' 2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2680 (eval $ac_try) 2>&5 2681 ac_status=$? 2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 (exit $ac_status); }; }; then 2684 : 2685 else 2686 echo "$as_me: failed program was:" >&5 2687 sed 's/^/| /' conftest.$ac_ext >&5 2688 2689 coin_add_cflags="-i_dynamic $coin_add_cflags" 2690 fi 2691 rm -f conftest.err conftest.$ac_objext \ 2692 conftest$ac_exeext conftest.$ac_ext 2693 ;; 2694 pgcc* | */pgcc*) 2695 coin_opt_cflags="-fast" 2696 coin_add_cflags="-Kieee -pc 64" 2697 coin_dbg_cflags="-g" 2698 ;; 2699 esac 2700 ;; 2701 *-ibm-*) 2702 case "$CC" in 2703 xlc* | */xlc* | mpxlc* | */mpxlc*) 2704 coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 2705 coin_add_cflags="-bmaxdata:0x80000000" 2706 coin_dbg_cflags="-g" 2707 ;; 2708 esac 2709 ;; 2710 *-hp-*) 2711 coin_opt_cflags="-O" 2712 coin_add_cflags="-Ae" 2713 coin_dbg_cflags="-g" 2714 ;; 2715 *-sun-*) 2716 coin_opt_cflags="-xO4" 2717 coin_dbg_cflags="-g" 2718 ;; 2719 *-sgi-*) 2720 coin_opt_cflags="-O -OPT:Olimit=0" 2721 coin_dbg_cflags="-g" 2722 ;; 2723 esac 2724 fi 2725 2726 if test "$ac_cv_prog_cc_g" = yes && test -z "$coin_dbg_cflags" ; then 2727 coin_dbg_cflags="-g" 2728 fi 2729 2730 if test -z "$coin_opt_cflags"; then 2731 # Try if -O option works if nothing else is set 2732 CFLAGS="-O" 2733 cat >conftest.$ac_ext <<_ACEOF 2734 /* confdefs.h. */ 2735 _ACEOF 2736 cat confdefs.h >>conftest.$ac_ext 2737 cat >>conftest.$ac_ext <<_ACEOF 2738 /* end confdefs.h. */ 2739 2740 int 2741 main () 2742 { 2743 int i=0; i++; 2744 ; 2745 return 0; 2746 } 2747 _ACEOF 2748 rm -f conftest.$ac_objext conftest$ac_exeext 2749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2750 (eval $ac_link) 2>conftest.er1 2751 ac_status=$? 2752 grep -v '^ *+' conftest.er1 >conftest.err 2753 rm -f conftest.er1 2754 cat conftest.err >&5 2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2756 (exit $ac_status); } && 2757 { ac_try='test -z "$ac_c_werror_flag" 2758 || test ! -s conftest.err' 2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2760 (eval $ac_try) 2>&5 2761 ac_status=$? 2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2763 (exit $ac_status); }; } && 2764 { ac_try='test -s conftest$ac_exeext' 2765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2766 (eval $ac_try) 2>&5 2767 ac_status=$? 2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2769 (exit $ac_status); }; }; then 2770 coin_opt_cflags="-O" 2771 else 2772 echo "$as_me: failed program was:" >&5 2773 sed 's/^/| /' conftest.$ac_ext >&5 2774 2775 fi 2776 rm -f conftest.err conftest.$ac_objext \ 2777 conftest$ac_exeext conftest.$ac_ext 2778 fi 2779 2780 if test x${DBG_CFLAGS+set} != xset; then 2781 DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags" 2782 fi 2783 if test x${OPT_CFLAGS+set} != xset; then 2784 OPT_CFLAGS="$coin_opt_cflags $coin_add_cflags -DNDEBUG $coin_warn_cflags" 2785 fi 2786 2787 DBG_CFLAGS="$DBG_CFLAGS $ADD_CFLAGS $CDEFS" 2788 OPT_CFLAGS="$OPT_CFLAGS $ADD_CFLAGS $CDEFS" 2789 2790 if test "$coin_debug_compile" = "true"; then 2791 CFLAGS="$DBG_CFLAGS" 2792 else 2793 CFLAGS="$OPT_CFLAGS" 2794 fi 2795 else 2796 CFLAGS="$CFLAGS $ADD_CFLAGS $CDEFS" 2797 if test x${DBG_CFLAGS+set} != xset; then 2798 DBG_CFLAGS="$CFLAGS" 2799 fi 2800 if test x${OPT_CFLAGS+set} != xset; then 2801 OPT_CFLAGS="$CFLAGS" 2802 fi 2803 fi 2804 2805 # Check if user wants to have additional CFLAGS options 2806 2807 if test x"$ADD_CFLAGS" != x; then 2808 CFLAGS="$CFLAGS $ADD_CFLAGS" 2809 fi 2810 2811 # Try if CFLAGS works 2812 save_CFLAGS="$CFLAGS" 2813 cat >conftest.$ac_ext <<_ACEOF 2814 /* confdefs.h. */ 2815 _ACEOF 2816 cat confdefs.h >>conftest.$ac_ext 2817 cat >>conftest.$ac_ext <<_ACEOF 2818 /* end confdefs.h. */ 2819 2820 int 2821 main () 2822 { 2823 int i=0; i++; 2824 ; 2825 return 0; 2826 } 2827 _ACEOF 2828 rm -f conftest.$ac_objext conftest$ac_exeext 2829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2830 (eval $ac_link) 2>conftest.er1 2831 ac_status=$? 2832 grep -v '^ *+' conftest.er1 >conftest.err 2833 rm -f conftest.er1 2834 cat conftest.err >&5 2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2836 (exit $ac_status); } && 2837 { ac_try='test -z "$ac_c_werror_flag" 2838 || test ! -s conftest.err' 2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2840 (eval $ac_try) 2>&5 2841 ac_status=$? 2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2843 (exit $ac_status); }; } && 2844 { ac_try='test -s conftest$ac_exeext' 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); }; }; then 2850 : 2851 else 2852 echo "$as_me: failed program was:" >&5 2853 sed 's/^/| /' conftest.$ac_ext >&5 2854 2855 CFLAGS= 2856 fi 2857 rm -f conftest.err conftest.$ac_objext \ 2858 conftest$ac_exeext conftest.$ac_ext 2859 if test -z "$CFLAGS"; then 2860 { 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 2861 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;} 2862 CFLAGS='-O' 2863 cat >conftest.$ac_ext <<_ACEOF 2864 /* confdefs.h. */ 2865 _ACEOF 2866 cat confdefs.h >>conftest.$ac_ext 2867 cat >>conftest.$ac_ext <<_ACEOF 2868 /* end confdefs.h. */ 2869 2870 int 2871 main () 2872 { 2873 int i=0; i++; 2874 ; 2875 return 0; 2876 } 2877 _ACEOF 2878 rm -f conftest.$ac_objext conftest$ac_exeext 2879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2880 (eval $ac_link) 2>conftest.er1 2881 ac_status=$? 2882 grep -v '^ *+' conftest.er1 >conftest.err 2883 rm -f conftest.er1 2884 cat conftest.err >&5 2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2886 (exit $ac_status); } && 2887 { ac_try='test -z "$ac_c_werror_flag" 2888 || test ! -s conftest.err' 2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2890 (eval $ac_try) 2>&5 2891 ac_status=$? 2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2893 (exit $ac_status); }; } && 2894 { ac_try='test -s conftest$ac_exeext' 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); }; }; then 2900 : 2901 else 2902 echo "$as_me: failed program was:" >&5 2903 sed 's/^/| /' conftest.$ac_ext >&5 2904 2905 CFLAGS= 2906 fi 2907 rm -f conftest.err conftest.$ac_objext \ 2908 conftest$ac_exeext conftest.$ac_ext 2909 if test -z "$CFLAGS"; then 2910 { 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 2911 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;} 2912 fi 2913 fi 2914 2915 { echo "$as_me:$LINENO: C compiler options are: $CFLAGS" >&5 2916 echo "$as_me: C compiler options are: $CFLAGS" >&6;} 2917 2918 2919 if test x"$MPICC" = x; then :; else 2920 { echo "$as_me:$LINENO: Will use MPI C compiler $MPICC" >&5 2921 echo "$as_me: Will use MPI C compiler $MPICC" >&6;} 2922 CC="$MPICC" 2923 fi 2924 2925 # Correct ADDLIBS initialization if we are using the MS compiler 2926 case "$CC" in 2927 cl*) 2928 ADDLIBS= 2929 case $build in 2930 *-mingw*) 2931 if test "${LD+set}" = set; then :; else 2932 LD=link 2933 fi 2934 ;; 2935 esac 2936 2937 ;; 2938 esac 2939 2940 ac_ext=c 2941 ac_cpp='$CPP $CPPFLAGS' 2942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2944 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2945 2946 2947 2948 2949 2950 2951 ac_ext=f 2952 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 2953 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2954 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 2955 2956 2957 2958 2959 2960 2961 coin_has_f77=yes 2962 2963 save_fflags="$FFLAGS" 2964 case $build in 2965 *-cygwin* | *-mingw*) 2966 comps="gfortran g77 ifort fl32" ;; 2967 *) comps="xlf fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;; 2968 esac 2969 2970 # We delete the cached value, since the test might not have been 2971 # performed with out choise of compilers earlier 2972 $as_unset ac_cv_prog_F77 || test "${ac_cv_prog_F77+set}" != set || { ac_cv_prog_F77=; export ac_cv_prog_F77; } 2973 ac_ext=f 2974 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 2975 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2976 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 2977 if test -n "$ac_tool_prefix"; then 2978 for ac_prog in $comps 2979 do 2980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2982 echo "$as_me:$LINENO: checking for $ac_word" >&5 2983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2984 if test "${ac_cv_prog_F77+set}" = set; then 3652 2985 echo $ECHO_N "(cached) $ECHO_C" >&6 3653 2986 else 3654 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3655 # We make a subdir and do the tests there. Otherwise we can end up 3656 # making bogus files that we don't know about and never remove. For 3657 # instance it was reported that on HP-UX the gcc test will end up 3658 # making a dummy file named `D' -- because `-MD' means `put the output 3659 # in D'. 3660 mkdir conftest.dir 3661 # Copy depcomp to subdir because otherwise we won't find it if we're 3662 # using a relative directory. 3663 cp "$am_depcomp" conftest.dir 3664 cd conftest.dir 3665 # We will build objects and dependencies in a subdirectory because 3666 # it helps to detect inapplicable dependency modes. For instance 3667 # both Tru64's cc and ICC support -MD to output dependencies as a 3668 # side effect of compilation, but ICC will put the dependencies in 3669 # the current directory while Tru64 will put them in the object 3670 # directory. 3671 mkdir sub 3672 3673 am_cv_CC_dependencies_compiler_type=none 3674 if test "$am_compiler_list" = ""; then 3675 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2987 if test -n "$F77"; then 2988 ac_cv_prog_F77="$F77" # Let the user override the test. 2989 else 2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2991 for as_dir in $PATH 2992 do 2993 IFS=$as_save_IFS 2994 test -z "$as_dir" && as_dir=. 2995 for ac_exec_ext in '' $ac_executable_extensions; do 2996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2997 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 2998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2999 break 2 3676 3000 fi 3677 for depmode in $am_compiler_list; do 3678 # Setup a source with many dependencies, because some compilers 3679 # like to wrap large dependency lists on column 80 (with \), and 3680 # we should not choose a depcomp mode which is confused by this. 3681 # 3682 # We need to recreate these files for each test, as the compiler may 3683 # overwrite some of them when testing with obscure command lines. 3684 # This happens at least with the AIX C compiler. 3685 : > sub/conftest.c 3686 for i in 1 2 3 4 5 6; do 3687 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3688 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3689 # Solaris 8's {/usr,}/bin/sh. 3690 touch sub/conftst$i.h 3001 done 3002 done 3003 3004 fi 3005 fi 3006 F77=$ac_cv_prog_F77 3007 if test -n "$F77"; then 3008 echo "$as_me:$LINENO: result: $F77" >&5 3009 echo "${ECHO_T}$F77" >&6 3010 else 3011 echo "$as_me:$LINENO: result: no" >&5 3012 echo "${ECHO_T}no" >&6 3013 fi 3014 3015 test -n "$F77" && break 3016 done 3017 fi 3018 if test -z "$F77"; then 3019 ac_ct_F77=$F77 3020 for ac_prog in $comps 3021 do 3022 # Extract the first word of "$ac_prog", so it can be a program name with args. 3023 set dummy $ac_prog; ac_word=$2 3024 echo "$as_me:$LINENO: checking for $ac_word" >&5 3025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3026 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 3027 echo $ECHO_N "(cached) $ECHO_C" >&6 3028 else 3029 if test -n "$ac_ct_F77"; then 3030 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 3031 else 3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3033 for as_dir in $PATH 3034 do 3035 IFS=$as_save_IFS 3036 test -z "$as_dir" && as_dir=. 3037 for ac_exec_ext in '' $ac_executable_extensions; do 3038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3039 ac_cv_prog_ac_ct_F77="$ac_prog" 3040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3041 break 2 3042 fi 3043 done 3044 done 3045 3046 fi 3047 fi 3048 ac_ct_F77=$ac_cv_prog_ac_ct_F77 3049 if test -n "$ac_ct_F77"; then 3050 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 3051 echo "${ECHO_T}$ac_ct_F77" >&6 3052 else 3053 echo "$as_me:$LINENO: result: no" >&5 3054 echo "${ECHO_T}no" >&6 3055 fi 3056 3057 test -n "$ac_ct_F77" && break 3058 done 3059 3060 F77=$ac_ct_F77 3061 fi 3062 3063 3064 # Provide some information about the compiler. 3065 echo "$as_me:3065:" \ 3066 "checking for Fortran 77 compiler version" >&5 3067 ac_compiler=`set X $ac_compile; echo $2` 3068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 3069 (eval $ac_compiler --version </dev/null >&5) 2>&5 3070 ac_status=$? 3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3072 (exit $ac_status); } 3073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 3074 (eval $ac_compiler -v </dev/null >&5) 2>&5 3075 ac_status=$? 3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3077 (exit $ac_status); } 3078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 3079 (eval $ac_compiler -V </dev/null >&5) 2>&5 3080 ac_status=$? 3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3082 (exit $ac_status); } 3083 rm -f a.out 3084 3085 # If we don't use `.F' as extension, the preprocessor is not run on the 3086 # input file. (Note that this only needs to work for GNU compilers.) 3087 ac_save_ext=$ac_ext 3088 ac_ext=F 3089 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 3090 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 3091 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 3092 echo $ECHO_N "(cached) $ECHO_C" >&6 3093 else 3094 cat >conftest.$ac_ext <<_ACEOF 3095 program main 3096 #ifndef __GNUC__ 3097 choke me 3098 #endif 3099 3100 end 3101 _ACEOF 3102 rm -f conftest.$ac_objext 3103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3104 (eval $ac_compile) 2>conftest.er1 3105 ac_status=$? 3106 grep -v '^ *+' conftest.er1 >conftest.err 3107 rm -f conftest.er1 3108 cat conftest.err >&5 3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3110 (exit $ac_status); } && 3111 { ac_try='test -z "$ac_f77_werror_flag" 3112 || test ! -s conftest.err' 3113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3114 (eval $ac_try) 2>&5 3115 ac_status=$? 3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3117 (exit $ac_status); }; } && 3118 { ac_try='test -s conftest.$ac_objext' 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); }; }; then 3124 ac_compiler_gnu=yes 3125 else 3126 echo "$as_me: failed program was:" >&5 3127 sed 's/^/| /' conftest.$ac_ext >&5 3128 3129 ac_compiler_gnu=no 3130 fi 3131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3132 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 3133 3134 fi 3135 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 3136 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 3137 ac_ext=$ac_save_ext 3138 ac_test_FFLAGS=${FFLAGS+set} 3139 ac_save_FFLAGS=$FFLAGS 3140 FFLAGS= 3141 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 3142 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 3143 if test "${ac_cv_prog_f77_g+set}" = set; then 3144 echo $ECHO_N "(cached) $ECHO_C" >&6 3145 else 3146 FFLAGS=-g 3147 cat >conftest.$ac_ext <<_ACEOF 3148 program main 3149 3150 end 3151 _ACEOF 3152 rm -f conftest.$ac_objext 3153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3154 (eval $ac_compile) 2>conftest.er1 3155 ac_status=$? 3156 grep -v '^ *+' conftest.er1 >conftest.err 3157 rm -f conftest.er1 3158 cat conftest.err >&5 3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3160 (exit $ac_status); } && 3161 { ac_try='test -z "$ac_f77_werror_flag" 3162 || test ! -s conftest.err' 3163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3164 (eval $ac_try) 2>&5 3165 ac_status=$? 3166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3167 (exit $ac_status); }; } && 3168 { ac_try='test -s conftest.$ac_objext' 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); }; }; then 3174 ac_cv_prog_f77_g=yes 3175 else 3176 echo "$as_me: failed program was:" >&5 3177 sed 's/^/| /' conftest.$ac_ext >&5 3178 3179 ac_cv_prog_f77_g=no 3180 fi 3181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3182 3183 fi 3184 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 3185 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 3186 if test "$ac_test_FFLAGS" = set; then 3187 FFLAGS=$ac_save_FFLAGS 3188 elif test $ac_cv_prog_f77_g = yes; then 3189 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 3190 FFLAGS="-g -O2" 3191 else 3192 FFLAGS="-g" 3193 fi 3194 else 3195 if test "x$ac_cv_f77_compiler_gnu" = xyes; then 3196 FFLAGS="-O2" 3197 else 3198 FFLAGS= 3199 fi 3200 fi 3201 3202 G77=`test $ac_compiler_gnu = yes && echo yes` 3203 ac_ext=f 3204 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 3205 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3206 ac_compiler_gnu=$ac_cv_f77_compiler_gnu 3207 3208 FFLAGS="$save_fflags" 3209 3210 # Check if a project specific FFLAGS variable has been set 3211 if test x$COIN_PRJCT != x; then 3212 eval coin_tmp=\${${COIN_PRJCT}_FFLAGS+set} 3213 if test x$coin_tmp = xset; then 3214 eval FFLAGS=\${${COIN_PRJCT}_FFLAGS} 3215 fi 3216 fi 3217 3218 if test x"$FFLAGS" = x; then 3219 3220 coin_add_fflags= 3221 coin_opt_fflags= 3222 coin_dbg_fflags= 3223 coin_warn_fflags= 3224 3225 if test "$G77" = "yes"; then 3226 coin_opt_fflags="-O3 -fomit-frame-pointer" 3227 coin_add_fflags="-pipe" 3228 coin_dbg_fflags="-g" 3229 if test "$enable_doscompile" = yes; then 3230 case $build in 3231 *-cygwin*) 3232 FFLAGS="-mno-cygwin" 3233 cat >conftest.$ac_ext <<_ACEOF 3234 program main 3235 write(*,*) 'Hello world' 3236 end 3237 _ACEOF 3238 rm -f conftest.$ac_objext conftest$ac_exeext 3239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3240 (eval $ac_link) 2>conftest.er1 3241 ac_status=$? 3242 grep -v '^ *+' conftest.er1 >conftest.err 3243 rm -f conftest.er1 3244 cat conftest.err >&5 3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3246 (exit $ac_status); } && 3247 { ac_try='test -z "$ac_f77_werror_flag" 3248 || test ! -s conftest.err' 3249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3250 (eval $ac_try) 2>&5 3251 ac_status=$? 3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3253 (exit $ac_status); }; } && 3254 { ac_try='test -s conftest$ac_exeext' 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); }; }; then 3260 coin_add_fflags="-mno-cygwin $coin_add_fflags" 3261 else 3262 echo "$as_me: failed program was:" >&5 3263 sed 's/^/| /' conftest.$ac_ext >&5 3264 3265 fi 3266 rm -f conftest.err conftest.$ac_objext \ 3267 conftest$ac_exeext conftest.$ac_ext 3268 FFLAGS= 3269 ;; 3270 esac 3271 fi 3272 else 3273 case $build in 3274 *-cygwin* | *-mingw*) 3275 case $F77 in 3276 ifort* | */ifort*) 3277 coin_opt_fflags='-O3' 3278 coin_add_fflags='-nologo -MT' 3279 coin_dbg_fflags='-debug' 3280 ;; 3281 esac 3282 ;; 3283 *-linux-*) 3284 case $F77 in 3285 ifc* | */ifc* | ifort* | */ifort*) 3286 coin_opt_fflags="-O3 -ip" 3287 coin_add_fflags="-cm -w90 -w95" 3288 coin_dbg_fflags="-g -CA -CB -CS" 3289 # Check if -i_dynamic is necessary (for new glibc library) 3290 FFLAGS= 3291 cat >conftest.$ac_ext <<_ACEOF 3292 program main 3293 write(*,*) 'Hello world' 3294 end 3295 _ACEOF 3296 rm -f conftest.$ac_objext conftest$ac_exeext 3297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3298 (eval $ac_link) 2>conftest.er1 3299 ac_status=$? 3300 grep -v '^ *+' conftest.er1 >conftest.err 3301 rm -f conftest.er1 3302 cat conftest.err >&5 3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3304 (exit $ac_status); } && 3305 { ac_try='test -z "$ac_f77_werror_flag" 3306 || test ! -s conftest.err' 3307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3308 (eval $ac_try) 2>&5 3309 ac_status=$? 3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3311 (exit $ac_status); }; } && 3312 { ac_try='test -s conftest$ac_exeext' 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); }; }; then 3318 : 3319 else 3320 echo "$as_me: failed program was:" >&5 3321 sed 's/^/| /' conftest.$ac_ext >&5 3322 3323 coin_add_fflags="-i_dynamic $coin_add_fflags" 3324 fi 3325 rm -f conftest.err conftest.$ac_objext \ 3326 conftest$ac_exeext conftest.$ac_ext 3327 ;; 3328 pgf77* | */pgf77* | pgf90* | */pgf90*) 3329 coin_opt_fflags="-fast" 3330 coin_add_fflags="-Kieee -pc 64" 3331 coin_dbg_fflags="-g" 3332 ;; 3333 esac 3334 ;; 3335 *-ibm-*) 3336 case "$F77" in 3337 xlf* | */xlf* | mpxlf* | */mpxlf* ) 3338 coin_opt_fflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 3339 coin_add_fflags="-bmaxdata:0x80000000" 3340 coin_dbg_fflags="-g -C" 3341 ;; 3342 esac 3343 ;; 3344 *-hp-*) 3345 coin_opt_fflags="+O3" 3346 coin_add_fflags="+U77" 3347 coin_dbg_fflags="-C -g" 3348 ;; 3349 *-sun-*) 3350 coin_opt_fflags="-O4" 3351 coin_dbg_fflags="-g" 3352 ;; 3353 *-sgi-*) 3354 coin_opt_fflags="-O5 -OPT:Olimit=0" 3355 coin_dbg_fflags="-g" 3356 ;; 3357 esac 3358 fi 3359 3360 if test "$ac_cv_prog_f77_g" = yes && test -z "$coin_dbg_fflags" ; then 3361 coin_dbg_fflags="-g" 3362 fi 3363 3364 if test -z "$coin_opt_fflags"; then 3365 # Try if -O option works if nothing else is set 3366 FFLAGS=-O 3367 cat >conftest.$ac_ext <<_ACEOF 3368 program main 3369 integer i 3370 end 3371 _ACEOF 3372 rm -f conftest.$ac_objext conftest$ac_exeext 3373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3374 (eval $ac_link) 2>conftest.er1 3375 ac_status=$? 3376 grep -v '^ *+' conftest.er1 >conftest.err 3377 rm -f conftest.er1 3378 cat conftest.err >&5 3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3380 (exit $ac_status); } && 3381 { ac_try='test -z "$ac_f77_werror_flag" 3382 || test ! -s conftest.err' 3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3384 (eval $ac_try) 2>&5 3385 ac_status=$? 3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3387 (exit $ac_status); }; } && 3388 { ac_try='test -s conftest$ac_exeext' 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); }; }; then 3394 coin_opt_fflags="-O" 3395 else 3396 echo "$as_me: failed program was:" >&5 3397 sed 's/^/| /' conftest.$ac_ext >&5 3398 3399 fi 3400 rm -f conftest.err conftest.$ac_objext \ 3401 conftest$ac_exeext conftest.$ac_ext 3402 fi 3403 3404 if test x${DBG_FFLAGS+set} != xset; then 3405 DBG_FFLAGS="$coin_dbg_fflags $coin_add_fflags $coin_warn_fflags" 3406 fi 3407 if test x${OPT_FFLAGS+set} != xset; then 3408 OPT_FFLAGS="$coin_opt_fflags $coin_add_fflags $coin_warn_fflags" 3409 fi 3410 3411 DBG_FFLAGS="$DBG_FFLAGS $ADD_FFLAGS" 3412 OPT_FFLAGS="$OPT_FFLAGS $ADD_FFLAGS" 3413 3414 if test "$coin_debug_compile" = "true"; then 3415 FFLAGS="$DBG_FFLAGS" 3416 else 3417 FFLAGS="$OPT_FFLAGS" 3418 fi 3419 else 3420 FFLAGS="$FFLAGS $ADD_FFLAGS" 3421 if test x${DBG_FFLAGS+set} != xset; then 3422 DBG_FFLAGS="$FFLAGS" 3423 fi 3424 if test x${OPT_FFLAGS+set} != xset; then 3425 OPT_FFLAGS="$FFLAGS" 3426 fi 3427 fi 3428 3429 # Try if FFLAGS works 3430 cat >conftest.$ac_ext <<_ACEOF 3431 program main 3432 integer i 3433 end 3434 _ACEOF 3435 rm -f conftest.$ac_objext conftest$ac_exeext 3436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3437 (eval $ac_link) 2>conftest.er1 3438 ac_status=$? 3439 grep -v '^ *+' conftest.er1 >conftest.err 3440 rm -f conftest.er1 3441 cat conftest.err >&5 3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3443 (exit $ac_status); } && 3444 { ac_try='test -z "$ac_f77_werror_flag" 3445 || test ! -s conftest.err' 3446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3447 (eval $ac_try) 2>&5 3448 ac_status=$? 3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3450 (exit $ac_status); }; } && 3451 { ac_try='test -s conftest$ac_exeext' 3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3453 (eval $ac_try) 2>&5 3454 ac_status=$? 3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3456 (exit $ac_status); }; }; then 3457 : 3458 else 3459 echo "$as_me: failed program was:" >&5 3460 sed 's/^/| /' conftest.$ac_ext >&5 3461 3462 FFLAGS= 3463 fi 3464 rm -f conftest.err conftest.$ac_objext \ 3465 conftest$ac_exeext conftest.$ac_ext 3466 if test -z "$FFLAGS"; then 3467 { 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 3468 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;} 3469 FFLAGS='-O' 3470 cat >conftest.$ac_ext <<_ACEOF 3471 program main 3472 integer i 3473 end 3474 _ACEOF 3475 rm -f conftest.$ac_objext conftest$ac_exeext 3476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3477 (eval $ac_link) 2>conftest.er1 3478 ac_status=$? 3479 grep -v '^ *+' conftest.er1 >conftest.err 3480 rm -f conftest.er1 3481 cat conftest.err >&5 3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3483 (exit $ac_status); } && 3484 { ac_try='test -z "$ac_f77_werror_flag" 3485 || test ! -s conftest.err' 3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3487 (eval $ac_try) 2>&5 3488 ac_status=$? 3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3490 (exit $ac_status); }; } && 3491 { ac_try='test -s conftest$ac_exeext' 3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3493 (eval $ac_try) 2>&5 3494 ac_status=$? 3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3496 (exit $ac_status); }; }; then 3497 : 3498 else 3499 echo "$as_me: failed program was:" >&5 3500 sed 's/^/| /' conftest.$ac_ext >&5 3501 3502 FFLAGS= 3503 fi 3504 rm -f conftest.err conftest.$ac_objext \ 3505 conftest$ac_exeext conftest.$ac_ext 3506 if test -z "$FFLAGS"; then 3507 { 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 3508 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;} 3509 fi 3510 fi 3511 3512 { echo "$as_me:$LINENO: Fortran compiler options are: $FFLAGS" >&5 3513 echo "$as_me: Fortran compiler options are: $FFLAGS" >&6;} 3514 3515 3516 if test x"$MPIF77" = x; then :; else 3517 { echo "$as_me:$LINENO: Will use MPI Fortran compiler $MPIF77" >&5 3518 echo "$as_me: Will use MPI Fortran compiler $MPIF77" >&6;} 3519 F77="$MPIF77" 3520 fi 3521 3522 case "$F77" in 3523 ifort*) 3524 case $build in 3525 *-mingw*) 3526 if test "${LD+set}" = set; then :; else 3527 LD=link 3528 fi 3529 ;; 3530 esac 3531 3532 ;; 3533 esac 3534 3535 ac_ext=c 3536 ac_cpp='$CPP $CPPFLAGS' 3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3540 3541 3542 3543 # Initialize autotools 3544 3545 # On Cygwin, building DLLs doesn't work 3546 case $build in 3547 *-cygwin*) 3548 coin_disable_shared=yes 3549 platform=Cygwin 3550 ;; 3551 *-mingw*) 3552 coin_disable_shared=yes 3553 platform="Msys" 3554 # case "$CXX" in 3555 # cl*) 3556 # coin_disable_shared=yes 3557 # platform="Msys with cl" 3558 # ;; 3559 # esac 3560 ;; 3561 esac 3562 if test x"$coin_disable_shared" = xyes; then 3563 if test x"$enable_shared" = xyes; then 3564 { echo "$as_me:$LINENO: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&5 3565 echo "$as_me: WARNING: On $platform, shared objects are not supported. I'm disabling your choice." >&2;} 3566 fi 3567 enable_shared=no 3568 fi 3569 # By default, we only want the shared objects to be compiled 3570 # Check whether --enable-static or --disable-static was given. 3571 if test "${enable_static+set}" = set; then 3572 enableval="$enable_static" 3573 p=${PACKAGE-default} 3574 case $enableval in 3575 yes) enable_static=yes ;; 3576 no) enable_static=no ;; 3577 *) 3578 enable_static=no 3579 # Look at the argument we got. We use all the common list separators. 3580 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3581 for pkg in $enableval; do 3582 IFS="$lt_save_ifs" 3583 if test "X$pkg" = "X$p"; then 3584 enable_static=yes 3585 fi 3586 done 3587 IFS="$lt_save_ifs" 3588 ;; 3589 esac 3590 else 3591 enable_static=no 3592 fi; 3593 3594 3595 3596 echo "$as_me:$LINENO: checking for egrep" >&5 3597 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3598 if test "${ac_cv_prog_egrep+set}" = set; then 3599 echo $ECHO_N "(cached) $ECHO_C" >&6 3600 else 3601 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3602 then ac_cv_prog_egrep='grep -E' 3603 else ac_cv_prog_egrep='egrep' 3604 fi 3605 fi 3606 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3607 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3608 EGREP=$ac_cv_prog_egrep 3609 3610 3611 am__api_version="1.9" 3612 # Find a good install program. We prefer a C program (faster), 3613 # so one script is as good as another. But avoid the broken or 3614 # incompatible versions: 3615 # SysV /etc/install, /usr/sbin/install 3616 # SunOS /usr/etc/install 3617 # IRIX /sbin/install 3618 # AIX /bin/install 3619 # AmigaOS /C/install, which installs bootblocks on floppy discs 3620 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3621 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3622 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3623 # OS/2's system install, which has a completely different semantic 3624 # ./install, which can be erroneously created by make from ./install.sh. 3625 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3626 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3627 if test -z "$INSTALL"; then 3628 if test "${ac_cv_path_install+set}" = set; then 3629 echo $ECHO_N "(cached) $ECHO_C" >&6 3630 else 3631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3632 for as_dir in $PATH 3633 do 3634 IFS=$as_save_IFS 3635 test -z "$as_dir" && as_dir=. 3636 # Account for people who put trailing slashes in PATH elements. 3637 case $as_dir/ in 3638 ./ | .// | /cC/* | \ 3639 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3640 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3641 /usr/ucb/* ) ;; 3642 *) 3643 # OSF1 and SCO ODT 3.0 have their own names for install. 3644 # Don't use installbsd from OSF since it installs stuff as root 3645 # by default. 3646 for ac_prog in ginstall scoinst install; do 3647 for ac_exec_ext in '' $ac_executable_extensions; do 3648 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3649 if test $ac_prog = install && 3650 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3651 # AIX install. It has an incompatible calling convention. 3652 : 3653 elif test $ac_prog = install && 3654 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3655 # program-specific install script used by HP pwplus--don't use. 3656 : 3657 else 3658 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3659 break 3 3660 fi 3661 fi 3662 done 3691 3663 done 3692 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3693 3694 case $depmode in 3695 nosideeffect) 3696 # after this tag, mechanisms are not by side-effect, so they'll 3697 # only be used when explicitly requested 3698 if test "x$enable_dependency_tracking" = xyes; then 3699 continue 3700 else 3701 break 3702 fi 3703 ;; 3704 none) break ;; 3705 esac 3706 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3707 # mode. It turns out that the SunPro C++ compiler does not properly 3708 # handle `-M -o', and we need to detect this. 3709 if depmode=$depmode \ 3710 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3711 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3712 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3713 >/dev/null 2>conftest.err && 3714 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3715 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3716 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3717 # icc doesn't choke on unknown options, it will just issue warnings 3718 # or remarks (even with -Werror). So we grep stderr for any message 3719 # that says an option was ignored or not supported. 3720 # When given -MP, icc 7.0 and 7.1 complain thusly: 3721 # icc: Command line warning: ignoring option '-M'; no argument required 3722 # The diagnosis changed in icc 8.0: 3723 # icc: Command line remark: option '-MP' not supported 3724 if (grep 'ignoring option' conftest.err || 3725 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3726 am_cv_CC_dependencies_compiler_type=$depmode 3727 break 3728 fi 3729 fi 3664 ;; 3665 esac 3666 done 3667 3668 3669 fi 3670 if test "${ac_cv_path_install+set}" = set; then 3671 INSTALL=$ac_cv_path_install 3672 else 3673 # As a last resort, use the slow shell script. We don't cache a 3674 # path for INSTALL within a source directory, because that will 3675 # break other packages using the cache if that directory is 3676 # removed, or if the path is relative. 3677 INSTALL=$ac_install_sh 3678 fi 3679 fi 3680 echo "$as_me:$LINENO: result: $INSTALL" >&5 3681 echo "${ECHO_T}$INSTALL" >&6 3682 3683 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3684 # It thinks the first close brace ends the variable substitution. 3685 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3686 3687 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3688 3689 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3690 3691 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 3692 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 3693 # Just in case 3694 sleep 1 3695 echo timestamp > conftest.file 3696 # Do `set' in a subshell so we don't clobber the current shell's 3697 # arguments. Must try -L first in case configure is actually a 3698 # symlink; some systems play weird games with the mod time of symlinks 3699 # (eg FreeBSD returns the mod time of the symlink's containing 3700 # directory). 3701 if ( 3702 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 3703 if test "$*" = "X"; then 3704 # -L didn't work. 3705 set X `ls -t $srcdir/configure conftest.file` 3706 fi 3707 rm -f conftest.file 3708 if test "$*" != "X $srcdir/configure conftest.file" \ 3709 && test "$*" != "X conftest.file $srcdir/configure"; then 3710 3711 # If neither matched, then we have a broken ls. This can happen 3712 # if, for instance, CONFIG_SHELL is bash and it inherits a 3713 # broken ls alias from the environment. This has actually 3714 # happened. Such a system could not be considered "sane". 3715 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 3716 alias in your environment" >&5 3717 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 3718 alias in your environment" >&2;} 3719 { (exit 1); exit 1; }; } 3720 fi 3721 3722 test "$2" = conftest.file 3723 ) 3724 then 3725 # Ok. 3726 : 3727 else 3728 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 3729 Check your system clock" >&5 3730 echo "$as_me: error: newly created file is older than distributed files! 3731 Check your system clock" >&2;} 3732 { (exit 1); exit 1; }; } 3733 fi 3734 echo "$as_me:$LINENO: result: yes" >&5 3735 echo "${ECHO_T}yes" >&6 3736 test "$program_prefix" != NONE && 3737 program_transform_name="s,^,$program_prefix,;$program_transform_name" 3738 # Use a double $ so make ignores it. 3739 test "$program_suffix" != NONE && 3740 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 3741 # Double any \ or $. echo might interpret backslashes. 3742 # By default was `s,x,x', remove it if useless. 3743 cat <<\_ACEOF >conftest.sed 3744 s/[\\$]/&&/g;s/;s,x,x,$// 3745 _ACEOF 3746 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 3747 rm conftest.sed 3748 3749 # expand $ac_aux_dir to an absolute path 3750 am_aux_dir=`cd $ac_aux_dir && pwd` 3751 3752 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 3753 # Use eval to expand $SHELL 3754 if eval "$MISSING --run true"; then 3755 am_missing_run="$MISSING --run " 3756 else 3757 am_missing_run= 3758 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 3759 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 3760 fi 3761 3762 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 3763 # We used to keeping the `.' as first argument, in order to 3764 # allow $(mkdir_p) to be used without argument. As in 3765 # $(mkdir_p) $(somedir) 3766 # where $(somedir) is conditionally defined. However this is wrong 3767 # for two reasons: 3768 # 1. if the package is installed by a user who cannot write `.' 3769 # make install will fail, 3770 # 2. the above comment should most certainly read 3771 # $(mkdir_p) $(DESTDIR)$(somedir) 3772 # so it does not work when $(somedir) is undefined and 3773 # $(DESTDIR) is not. 3774 # To support the latter case, we have to write 3775 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 3776 # so the `.' trick is pointless. 3777 mkdir_p='mkdir -p --' 3778 else 3779 # On NextStep and OpenStep, the `mkdir' command does not 3780 # recognize any option. It will interpret all options as 3781 # directories to create, and then abort because `.' already 3782 # exists. 3783 for d in ./-p ./--version; 3784 do 3785 test -d $d && rmdir $d 3730 3786 done 3731 3732 cd .. 3733 rm -rf conftest.dir 3734 else 3735 am_cv_CC_dependencies_compiler_type=none 3736 fi 3737 3738 fi 3739 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3740 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3741 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3742 3743 3744 3745 if 3746 test "x$enable_dependency_tracking" != xno \ 3747 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3748 am__fastdepCC_TRUE= 3749 am__fastdepCC_FALSE='#' 3750 else 3751 am__fastdepCC_TRUE='#' 3752 am__fastdepCC_FALSE= 3787 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 3788 if test -f "$ac_aux_dir/mkinstalldirs"; then 3789 mkdir_p='$(mkinstalldirs)' 3790 else 3791 mkdir_p='$(install_sh) -d' 3792 fi 3793 fi 3794 3795 for ac_prog in gawk mawk nawk awk 3796 do 3797 # Extract the first word of "$ac_prog", so it can be a program name with args. 3798 set dummy $ac_prog; ac_word=$2 3799 echo "$as_me:$LINENO: checking for $ac_word" >&5 3800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3801 if test "${ac_cv_prog_AWK+set}" = set; then 3802 echo $ECHO_N "(cached) $ECHO_C" >&6 3803 else 3804 if test -n "$AWK"; then 3805 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3806 else 3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3808 for as_dir in $PATH 3809 do 3810 IFS=$as_save_IFS 3811 test -z "$as_dir" && as_dir=. 3812 for ac_exec_ext in '' $ac_executable_extensions; do 3813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3814 ac_cv_prog_AWK="$ac_prog" 3815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3816 break 2 3817 fi 3818 done 3819 done 3820 3821 fi 3822 fi 3823 AWK=$ac_cv_prog_AWK 3824 if test -n "$AWK"; then 3825 echo "$as_me:$LINENO: result: $AWK" >&5 3826 echo "${ECHO_T}$AWK" >&6 3827 else 3828 echo "$as_me:$LINENO: result: no" >&5 3829 echo "${ECHO_T}no" >&6 3830 fi 3831 3832 test -n "$AWK" && break 3833 done 3834 3835 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3836 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3837 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3838 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3839 echo $ECHO_N "(cached) $ECHO_C" >&6 3840 else 3841 cat >conftest.make <<\_ACEOF 3842 all: 3843 @echo 'ac_maketemp="$(MAKE)"' 3844 _ACEOF 3845 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3846 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3847 if test -n "$ac_maketemp"; then 3848 eval ac_cv_prog_make_${ac_make}_set=yes 3849 else 3850 eval ac_cv_prog_make_${ac_make}_set=no 3851 fi 3852 rm -f conftest.make 3853 fi 3854 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3855 echo "$as_me:$LINENO: result: yes" >&5 3856 echo "${ECHO_T}yes" >&6 3857 SET_MAKE= 3858 else 3859 echo "$as_me:$LINENO: result: no" >&5 3860 echo "${ECHO_T}no" >&6 3861 SET_MAKE="MAKE=${MAKE-make}" 3862 fi 3863 3864 rm -rf .tst 2>/dev/null 3865 mkdir .tst 2>/dev/null 3866 if test -d .tst; then 3867 am__leading_dot=. 3868 else 3869 am__leading_dot=_ 3870 fi 3871 rmdir .tst 2>/dev/null 3872 3873 DEPDIR="${am__leading_dot}deps" 3874 3875 ac_config_commands="$ac_config_commands depfiles" 3876 3877 3878 am_make=${MAKE-make} 3879 cat > confinc << 'END' 3880 am__doit: 3881 @echo done 3882 .PHONY: am__doit 3883 END 3884 # If we don't find an include directive, just comment out the code. 3885 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3886 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3887 am__include="#" 3888 am__quote= 3889 _am_result=none 3890 # First try GNU make style include. 3891 echo "include confinc" > confmf 3892 # We grep out `Entering directory' and `Leaving directory' 3893 # messages which can occur if `w' ends up in MAKEFLAGS. 3894 # In particular we don't look at `^make:' because GNU make might 3895 # be invoked under some other name (usually "gmake"), in which 3896 # case it prints its new name instead of `make'. 3897 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3898 am__include=include 3899 am__quote= 3900 _am_result=GNU 3901 fi 3902 # Now try BSD make style include. 3903 if test "$am__include" = "#"; then 3904 echo '.include "confinc"' > confmf 3905 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3906 am__include=.include 3907 am__quote="\"" 3908 _am_result=BSD 3909 fi 3910 fi 3911 3912 3913 echo "$as_me:$LINENO: result: $_am_result" >&5 3914 echo "${ECHO_T}$_am_result" >&6 3915 rm -f confinc confmf 3916 3917 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 3918 if test "${enable_dependency_tracking+set}" = set; then 3919 enableval="$enable_dependency_tracking" 3920 3921 fi; 3922 if test "x$enable_dependency_tracking" != xno; then 3923 am_depcomp="$ac_aux_dir/depcomp" 3924 AMDEPBACKSLASH='\' 3925 fi 3926 3927 3928 if test "x$enable_dependency_tracking" != xno; then 3929 AMDEP_TRUE= 3930 AMDEP_FALSE='#' 3931 else 3932 AMDEP_TRUE='#' 3933 AMDEP_FALSE= 3753 3934 fi 3754 3935 … … 4383 4564 *-*-irix6*) 4384 4565 # Find out which ABI we are using. 4385 echo '#line 4 385"configure"' > conftest.$ac_ext4566 echo '#line 4566 "configure"' > conftest.$ac_ext 4386 4567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4387 4568 (eval $ac_compile) 2>&5 … … 6812 6993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6813 6994 -e 's:$: $lt_compiler_flag:'` 6814 (eval echo "\"\$as_me:6 814: $lt_compile\"" >&5)6995 (eval echo "\"\$as_me:6995: $lt_compile\"" >&5) 6815 6996 (eval "$lt_compile" 2>conftest.err) 6816 6997 ac_status=$? 6817 6998 cat conftest.err >&5 6818 echo "$as_me:6 818: \$? = $ac_status" >&56999 echo "$as_me:6999: \$? = $ac_status" >&5 6819 7000 if (exit $ac_status) && test -s "$ac_outfile"; then 6820 7001 # The compiler can only warn and ignore the option if not recognized … … 7080 7261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7081 7262 -e 's:$: $lt_compiler_flag:'` 7082 (eval echo "\"\$as_me:7 082: $lt_compile\"" >&5)7263 (eval echo "\"\$as_me:7263: $lt_compile\"" >&5) 7083 7264 (eval "$lt_compile" 2>conftest.err) 7084 7265 ac_status=$? 7085 7266 cat conftest.err >&5 7086 echo "$as_me:7 086: \$? = $ac_status" >&57267 echo "$as_me:7267: \$? = $ac_status" >&5 7087 7268 if (exit $ac_status) && test -s "$ac_outfile"; then 7088 7269 # The compiler can only warn and ignore the option if not recognized … … 7184 7365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7185 7366 -e 's:$: $lt_compiler_flag:'` 7186 (eval echo "\"\$as_me:7 186: $lt_compile\"" >&5)7367 (eval echo "\"\$as_me:7367: $lt_compile\"" >&5) 7187 7368 (eval "$lt_compile" 2>out/conftest.err) 7188 7369 ac_status=$? 7189 7370 cat out/conftest.err >&5 7190 echo "$as_me:7 190: \$? = $ac_status" >&57371 echo "$as_me:7371: \$? = $ac_status" >&5 7191 7372 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7192 7373 then … … 9529 9710 lt_status=$lt_dlunknown 9530 9711 cat > conftest.$ac_ext <<EOF 9531 #line 9 531"configure"9712 #line 9712 "configure" 9532 9713 #include "confdefs.h" 9533 9714 … … 9629 9810 lt_status=$lt_dlunknown 9630 9811 cat > conftest.$ac_ext <<EOF 9631 #line 9 631"configure"9812 #line 9812 "configure" 9632 9813 #include "confdefs.h" 9633 9814 … … 11973 12154 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 11974 12155 -e 's:$: $lt_compiler_flag:'` 11975 (eval echo "\"\$as_me:1 1975: $lt_compile\"" >&5)12156 (eval echo "\"\$as_me:12156: $lt_compile\"" >&5) 11976 12157 (eval "$lt_compile" 2>conftest.err) 11977 12158 ac_status=$? 11978 12159 cat conftest.err >&5 11979 echo "$as_me:1 1979: \$? = $ac_status" >&512160 echo "$as_me:12160: \$? = $ac_status" >&5 11980 12161 if (exit $ac_status) && test -s "$ac_outfile"; then 11981 12162 # The compiler can only warn and ignore the option if not recognized … … 12077 12258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12078 12259 -e 's:$: $lt_compiler_flag:'` 12079 (eval echo "\"\$as_me:12 079: $lt_compile\"" >&5)12260 (eval echo "\"\$as_me:12260: $lt_compile\"" >&5) 12080 12261 (eval "$lt_compile" 2>out/conftest.err) 12081 12262 ac_status=$? 12082 12263 cat out/conftest.err >&5 12083 echo "$as_me:12 083: \$? = $ac_status" >&512264 echo "$as_me:12264: \$? = $ac_status" >&5 12084 12265 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12085 12266 then … … 13647 13828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13648 13829 -e 's:$: $lt_compiler_flag:'` 13649 (eval echo "\"\$as_me:13 649: $lt_compile\"" >&5)13830 (eval echo "\"\$as_me:13830: $lt_compile\"" >&5) 13650 13831 (eval "$lt_compile" 2>conftest.err) 13651 13832 ac_status=$? 13652 13833 cat conftest.err >&5 13653 echo "$as_me:13 653: \$? = $ac_status" >&513834 echo "$as_me:13834: \$? = $ac_status" >&5 13654 13835 if (exit $ac_status) && test -s "$ac_outfile"; then 13655 13836 # The compiler can only warn and ignore the option if not recognized … … 13751 13932 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13752 13933 -e 's:$: $lt_compiler_flag:'` 13753 (eval echo "\"\$as_me:13 753: $lt_compile\"" >&5)13934 (eval echo "\"\$as_me:13934: $lt_compile\"" >&5) 13754 13935 (eval "$lt_compile" 2>out/conftest.err) 13755 13936 ac_status=$? 13756 13937 cat out/conftest.err >&5 13757 echo "$as_me:13 757: \$? = $ac_status" >&513938 echo "$as_me:13938: \$? = $ac_status" >&5 13758 13939 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13759 13940 then … … 15958 16139 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15959 16140 -e 's:$: $lt_compiler_flag:'` 15960 (eval echo "\"\$as_me:1 5960: $lt_compile\"" >&5)16141 (eval echo "\"\$as_me:16141: $lt_compile\"" >&5) 15961 16142 (eval "$lt_compile" 2>conftest.err) 15962 16143 ac_status=$? 15963 16144 cat conftest.err >&5 15964 echo "$as_me:1 5964: \$? = $ac_status" >&516145 echo "$as_me:16145: \$? = $ac_status" >&5 15965 16146 if (exit $ac_status) && test -s "$ac_outfile"; then 15966 16147 # The compiler can only warn and ignore the option if not recognized … … 16226 16407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16227 16408 -e 's:$: $lt_compiler_flag:'` 16228 (eval echo "\"\$as_me:16 228: $lt_compile\"" >&5)16409 (eval echo "\"\$as_me:16409: $lt_compile\"" >&5) 16229 16410 (eval "$lt_compile" 2>conftest.err) 16230 16411 ac_status=$? 16231 16412 cat conftest.err >&5 16232 echo "$as_me:16 232: \$? = $ac_status" >&516413 echo "$as_me:16413: \$? = $ac_status" >&5 16233 16414 if (exit $ac_status) && test -s "$ac_outfile"; then 16234 16415 # The compiler can only warn and ignore the option if not recognized … … 16330 16511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16331 16512 -e 's:$: $lt_compiler_flag:'` 16332 (eval echo "\"\$as_me:16 332: $lt_compile\"" >&5)16513 (eval echo "\"\$as_me:16513: $lt_compile\"" >&5) 16333 16514 (eval "$lt_compile" 2>out/conftest.err) 16334 16515 ac_status=$? 16335 16516 cat out/conftest.err >&5 16336 echo "$as_me:16 336: \$? = $ac_status" >&516517 echo "$as_me:16517: \$? = $ac_status" >&5 16337 16518 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16338 16519 then … … 19145 19326 19146 19327 19328 depcc="$CC" am_compiler_list= 19329 19330 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 19331 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 19332 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 19333 echo $ECHO_N "(cached) $ECHO_C" >&6 19334 else 19335 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 19336 # We make a subdir and do the tests there. Otherwise we can end up 19337 # making bogus files that we don't know about and never remove. For 19338 # instance it was reported that on HP-UX the gcc test will end up 19339 # making a dummy file named `D' -- because `-MD' means `put the output 19340 # in D'. 19341 mkdir conftest.dir 19342 # Copy depcomp to subdir because otherwise we won't find it if we're 19343 # using a relative directory. 19344 cp "$am_depcomp" conftest.dir 19345 cd conftest.dir 19346 # We will build objects and dependencies in a subdirectory because 19347 # it helps to detect inapplicable dependency modes. For instance 19348 # both Tru64's cc and ICC support -MD to output dependencies as a 19349 # side effect of compilation, but ICC will put the dependencies in 19350 # the current directory while Tru64 will put them in the object 19351 # directory. 19352 mkdir sub 19353 19354 am_cv_CC_dependencies_compiler_type=none 19355 if test "$am_compiler_list" = ""; then 19356 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 19357 fi 19358 for depmode in $am_compiler_list; do 19359 # Setup a source with many dependencies, because some compilers 19360 # like to wrap large dependency lists on column 80 (with \), and 19361 # we should not choose a depcomp mode which is confused by this. 19362 # 19363 # We need to recreate these files for each test, as the compiler may 19364 # overwrite some of them when testing with obscure command lines. 19365 # This happens at least with the AIX C compiler. 19366 : > sub/conftest.c 19367 for i in 1 2 3 4 5 6; do 19368 echo '#include "conftst'$i'.h"' >> sub/conftest.c 19369 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 19370 # Solaris 8's {/usr,}/bin/sh. 19371 touch sub/conftst$i.h 19372 done 19373 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 19374 19375 case $depmode in 19376 nosideeffect) 19377 # after this tag, mechanisms are not by side-effect, so they'll 19378 # only be used when explicitly requested 19379 if test "x$enable_dependency_tracking" = xyes; then 19380 continue 19381 else 19382 break 19383 fi 19384 ;; 19385 none) break ;; 19386 esac 19387 # We check with `-c' and `-o' for the sake of the "dashmstdout" 19388 # mode. It turns out that the SunPro C++ compiler does not properly 19389 # handle `-M -o', and we need to detect this. 19390 if depmode=$depmode \ 19391 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 19392 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 19393 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 19394 >/dev/null 2>conftest.err && 19395 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 19396 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 19397 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 19398 # icc doesn't choke on unknown options, it will just issue warnings 19399 # or remarks (even with -Werror). So we grep stderr for any message 19400 # that says an option was ignored or not supported. 19401 # When given -MP, icc 7.0 and 7.1 complain thusly: 19402 # icc: Command line warning: ignoring option '-M'; no argument required 19403 # The diagnosis changed in icc 8.0: 19404 # icc: Command line remark: option '-MP' not supported 19405 if (grep 'ignoring option' conftest.err || 19406 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 19407 am_cv_CC_dependencies_compiler_type=$depmode 19408 break 19409 fi 19410 fi 19411 done 19412 19413 cd .. 19414 rm -rf conftest.dir 19415 else 19416 am_cv_CC_dependencies_compiler_type=none 19417 fi 19418 19419 fi 19420 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 19421 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 19422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 19423 19424 19425 19426 if 19427 test "x$enable_dependency_tracking" != xno \ 19428 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 19429 am__fastdepCC_TRUE= 19430 am__fastdepCC_FALSE='#' 19431 else 19432 am__fastdepCC_TRUE='#' 19433 am__fastdepCC_FALSE= 19434 fi 19435 19436 19147 19437 19148 19438 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 … … 19818 20108 { (exit 1); exit 1; }; } 19819 20109 fi 20110 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 20111 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 20112 Usually this means the macro was only invoked conditionally." >&5 20113 echo "$as_me: error: conditional \"AMDEP\" was never defined. 20114 Usually this means the macro was only invoked conditionally." >&2;} 20115 { (exit 1); exit 1; }; } 20116 fi 20117 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 20118 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 20119 Usually this means the macro was only invoked conditionally." >&5 20120 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 20121 Usually this means the macro was only invoked conditionally." >&2;} 20122 { (exit 1); exit 1; }; } 20123 fi 19820 20124 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 19821 20125 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. … … 19829 20133 Usually this means the macro was only invoked conditionally." >&5 19830 20134 echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined. 19831 Usually this means the macro was only invoked conditionally." >&2;}19832 { (exit 1); exit 1; }; }19833 fi19834 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then19835 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.19836 Usually this means the macro was only invoked conditionally." >&519837 echo "$as_me: error: conditional \"AMDEP\" was never defined.19838 Usually this means the macro was only invoked conditionally." >&2;}19839 { (exit 1); exit 1; }; }19840 fi19841 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then19842 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.19843 Usually this means the macro was only invoked conditionally." >&519844 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.19845 20135 Usually this means the macro was only invoked conditionally." >&2;} 19846 20136 { (exit 1); exit 1; }; } … … 20386 20676 s,@build_vendor@,$build_vendor,;t t 20387 20677 s,@build_os@,$build_os,;t t 20678 s,@CDEFS@,$CDEFS,;t t 20679 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t 20680 s,@DBG_CFLAGS@,$DBG_CFLAGS,;t t 20681 s,@OPT_CFLAGS@,$OPT_CFLAGS,;t t 20682 s,@CC@,$CC,;t t 20683 s,@CFLAGS@,$CFLAGS,;t t 20684 s,@LDFLAGS@,$LDFLAGS,;t t 20685 s,@CPPFLAGS@,$CPPFLAGS,;t t 20686 s,@ac_ct_CC@,$ac_ct_CC,;t t 20687 s,@EXEEXT@,$EXEEXT,;t t 20688 s,@OBJEXT@,$OBJEXT,;t t 20689 s,@MPICC@,$MPICC,;t t 20388 20690 s,@ADD_FFLAGS@,$ADD_FFLAGS,;t t 20389 20691 s,@DBG_FFLAGS@,$DBG_FFLAGS,;t t … … 20391 20693 s,@F77@,$F77,;t t 20392 20694 s,@FFLAGS@,$FFLAGS,;t t 20393 s,@LDFLAGS@,$LDFLAGS,;t t20394 20695 s,@ac_ct_F77@,$ac_ct_F77,;t t 20395 s,@EXEEXT@,$EXEEXT,;t t20396 s,@OBJEXT@,$OBJEXT,;t t20397 20696 s,@MPIF77@,$MPIF77,;t t 20398 20697 s,@EGREP@,$EGREP,;t t … … 20419 20718 s,@am__tar@,$am__tar,;t t 20420 20719 s,@am__untar@,$am__untar,;t t 20720 s,@DEPDIR@,$DEPDIR,;t t 20721 s,@am__include@,$am__include,;t t 20722 s,@am__quote@,$am__quote,;t t 20723 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 20724 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 20725 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 20726 s,@CCDEPMODE@,$CCDEPMODE,;t t 20727 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 20728 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 20421 20729 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 20422 20730 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t … … 20434 20742 s,@HAVE_EXTERNALS_TRUE@,$HAVE_EXTERNALS_TRUE,;t t 20435 20743 s,@HAVE_EXTERNALS_FALSE@,$HAVE_EXTERNALS_FALSE,;t t 20436 s,@CC@,$CC,;t t20437 s,@CFLAGS@,$CFLAGS,;t t20438 s,@CPPFLAGS@,$CPPFLAGS,;t t20439 s,@ac_ct_CC@,$ac_ct_CC,;t t20440 s,@DEPDIR@,$DEPDIR,;t t20441 s,@am__include@,$am__include,;t t20442 s,@am__quote@,$am__quote,;t t20443 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t20444 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t20445 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t20446 s,@CCDEPMODE@,$CCDEPMODE,;t t20447 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t20448 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t20449 20744 s,@host@,$host,;t t 20450 20745 s,@host_cpu@,$host_cpu,;t t
Note: See TracChangeset
for help on using the changeset viewer.