Changeset 10839 for trunk/FACT++/configure
- Timestamp:
- 05/26/11 16:18:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r10718 r10839 929 929 INSTALL_PROGRAM 930 930 CXXCPP 931 CPP932 931 OTOOL64 933 932 OTOOL … … 946 945 LD 947 946 FGREP 948 EGREP949 GREP950 947 SED 951 948 host_os … … 958 955 build 959 956 LIBTOOL 957 EGREP 958 GREP 959 CPP 960 960 ac_ct_CXX 961 961 CXXFLAGS … … 1980 1980 } # ac_fn_cxx_try_compile 1981 1981 1982 # ac_fn_c_try_cpp LINENO 1983 # ---------------------- 1984 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1985 ac_fn_c_try_cpp () 1986 { 1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1988 if { { ac_try="$ac_cpp conftest.$ac_ext" 1989 case "(($ac_try" in 1990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1991 *) ac_try_echo=$ac_try;; 1992 esac 1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1994 $as_echo "$ac_try_echo"; } >&5 1995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1996 ac_status=$? 1997 if test -s conftest.err; then 1998 grep -v '^ *+' conftest.err >conftest.er1 1999 cat conftest.er1 >&5 2000 mv -f conftest.er1 conftest.err 2001 fi 2002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2003 test $ac_status = 0; } > conftest.i && { 2004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2005 test ! -s conftest.err 2006 }; then : 2007 ac_retval=0 2008 else 2009 $as_echo "$as_me: failed program was:" >&5 2010 sed 's/^/| /' conftest.$ac_ext >&5 2011 2012 ac_retval=1 2013 fi 2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2015 as_fn_set_status $ac_retval 2016 2017 } # ac_fn_c_try_cpp 2018 2019 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2020 # ------------------------------------------------------- 2021 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2022 # the include files in INCLUDES and setting the cache variable VAR 2023 # accordingly. 2024 ac_fn_c_check_header_mongrel () 2025 { 2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2027 if eval "test \"\${$3+set}\"" = set; then : 2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2029 $as_echo_n "checking for $2... " >&6; } 2030 if eval "test \"\${$3+set}\"" = set; then : 2031 $as_echo_n "(cached) " >&6 2032 fi 2033 eval ac_res=\$$3 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2035 $as_echo "$ac_res" >&6; } 2036 else 2037 # Is the header compilable? 2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2039 $as_echo_n "checking $2 usability... " >&6; } 2040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2041 /* end confdefs.h. */ 2042 $4 2043 #include <$2> 2044 _ACEOF 2045 if ac_fn_c_try_compile "$LINENO"; then : 2046 ac_header_compiler=yes 2047 else 2048 ac_header_compiler=no 2049 fi 2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2052 $as_echo "$ac_header_compiler" >&6; } 2053 2054 # Is the header present? 2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2056 $as_echo_n "checking $2 presence... " >&6; } 2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2058 /* end confdefs.h. */ 2059 #include <$2> 2060 _ACEOF 2061 if ac_fn_c_try_cpp "$LINENO"; then : 2062 ac_header_preproc=yes 2063 else 2064 ac_header_preproc=no 2065 fi 2066 rm -f conftest.err conftest.i conftest.$ac_ext 2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2068 $as_echo "$ac_header_preproc" >&6; } 2069 2070 # So? What about this header? 2071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2072 yes:no: ) 2073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2074 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2076 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2077 ;; 2078 no:yes:* ) 2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2080 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2082 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2084 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2086 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2088 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2089 ( $as_echo "## ----------------------------------- ## 2090 ## Report this to thomas.bretz@epfl.ch ## 2091 ## ----------------------------------- ##" 2092 ) | sed "s/^/$as_me: WARNING: /" >&2 2093 ;; 2094 esac 2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2096 $as_echo_n "checking for $2... " >&6; } 2097 if eval "test \"\${$3+set}\"" = set; then : 2098 $as_echo_n "(cached) " >&6 2099 else 2100 eval "$3=\$ac_header_compiler" 2101 fi 2102 eval ac_res=\$$3 2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2104 $as_echo "$ac_res" >&6; } 2105 fi 2106 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2107 2108 } # ac_fn_c_check_header_mongrel 2109 2110 # ac_fn_c_try_run LINENO 2111 # ---------------------- 2112 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2113 # that executables *can* be run. 2114 ac_fn_c_try_run () 2115 { 2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2117 if { { ac_try="$ac_link" 2118 case "(($ac_try" in 2119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2120 *) ac_try_echo=$ac_try;; 2121 esac 2122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2123 $as_echo "$ac_try_echo"; } >&5 2124 (eval "$ac_link") 2>&5 2125 ac_status=$? 2126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2127 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2128 { { case "(($ac_try" in 2129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2130 *) ac_try_echo=$ac_try;; 2131 esac 2132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2133 $as_echo "$ac_try_echo"; } >&5 2134 (eval "$ac_try") 2>&5 2135 ac_status=$? 2136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2137 test $ac_status = 0; }; }; then : 2138 ac_retval=0 2139 else 2140 $as_echo "$as_me: program exited with status $ac_status" >&5 2141 $as_echo "$as_me: failed program was:" >&5 2142 sed 's/^/| /' conftest.$ac_ext >&5 2143 2144 ac_retval=$ac_status 2145 fi 2146 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2147 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2148 as_fn_set_status $ac_retval 2149 2150 } # ac_fn_c_try_run 2151 2152 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2153 # ------------------------------------------------------- 2154 # Tests whether HEADER exists and can be compiled using the include files in 2155 # INCLUDES, setting the cache variable VAR accordingly. 2156 ac_fn_c_check_header_compile () 2157 { 2158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2160 $as_echo_n "checking for $2... " >&6; } 2161 if eval "test \"\${$3+set}\"" = set; then : 2162 $as_echo_n "(cached) " >&6 2163 else 2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2165 /* end confdefs.h. */ 2166 $4 2167 #include <$2> 2168 _ACEOF 2169 if ac_fn_c_try_compile "$LINENO"; then : 2170 eval "$3=yes" 2171 else 2172 eval "$3=no" 2173 fi 2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2175 fi 2176 eval ac_res=\$$3 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2178 $as_echo "$ac_res" >&6; } 2179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2180 2181 } # ac_fn_c_check_header_compile 2182 1982 2183 # ac_fn_c_try_link LINENO 1983 2184 # ----------------------- … … 2026 2227 } # ac_fn_c_try_link 2027 2228 2028 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES2029 # -------------------------------------------------------2030 # Tests whether HEADER exists and can be compiled using the include files in2031 # INCLUDES, setting the cache variable VAR accordingly.2032 ac_fn_c_check_header_compile ()2033 {2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52036 $as_echo_n "checking for $2... " >&6; }2037 if eval "test \"\${$3+set}\"" = set; then :2038 $as_echo_n "(cached) " >&62039 else2040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2041 /* end confdefs.h. */2042 $42043 #include <$2>2044 _ACEOF2045 if ac_fn_c_try_compile "$LINENO"; then :2046 eval "$3=yes"2047 else2048 eval "$3=no"2049 fi2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2051 fi2052 eval ac_res=\$$32053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52054 $as_echo "$ac_res" >&6; }2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2056 2057 } # ac_fn_c_check_header_compile2058 2059 # ac_fn_c_try_cpp LINENO2060 # ----------------------2061 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.2062 ac_fn_c_try_cpp ()2063 {2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2065 if { { ac_try="$ac_cpp conftest.$ac_ext"2066 case "(($ac_try" in2067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2068 *) ac_try_echo=$ac_try;;2069 esac2070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2071 $as_echo "$ac_try_echo"; } >&52072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err2073 ac_status=$?2074 if test -s conftest.err; then2075 grep -v '^ *+' conftest.err >conftest.er12076 cat conftest.er1 >&52077 mv -f conftest.er1 conftest.err2078 fi2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52080 test $ac_status = 0; } > conftest.i && {2081 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||2082 test ! -s conftest.err2083 }; then :2084 ac_retval=02085 else2086 $as_echo "$as_me: failed program was:" >&52087 sed 's/^/| /' conftest.$ac_ext >&52088 2089 ac_retval=12090 fi2091 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2092 as_fn_set_status $ac_retval2093 2094 } # ac_fn_c_try_cpp2095 2096 # ac_fn_c_try_run LINENO2097 # ----------------------2098 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes2099 # that executables *can* be run.2100 ac_fn_c_try_run ()2101 {2102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2103 if { { ac_try="$ac_link"2104 case "(($ac_try" in2105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2106 *) ac_try_echo=$ac_try;;2107 esac2108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2109 $as_echo "$ac_try_echo"; } >&52110 (eval "$ac_link") 2>&52111 ac_status=$?2112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52113 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'2114 { { case "(($ac_try" in2115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2116 *) ac_try_echo=$ac_try;;2117 esac2118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2119 $as_echo "$ac_try_echo"; } >&52120 (eval "$ac_try") 2>&52121 ac_status=$?2122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52123 test $ac_status = 0; }; }; then :2124 ac_retval=02125 else2126 $as_echo "$as_me: program exited with status $ac_status" >&52127 $as_echo "$as_me: failed program was:" >&52128 sed 's/^/| /' conftest.$ac_ext >&52129 2130 ac_retval=$ac_status2131 fi2132 rm -rf conftest.dSYM conftest_ipa8_conftest.oo2133 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2134 as_fn_set_status $ac_retval2135 2136 } # ac_fn_c_try_run2137 2138 2229 # ac_fn_c_check_func LINENO FUNC VAR 2139 2230 # ---------------------------------- … … 2285 2376 2286 2377 } # ac_fn_cxx_try_link 2287 2288 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES2289 # -------------------------------------------------------2290 # Tests whether HEADER exists, giving a warning if it cannot be compiled using2291 # the include files in INCLUDES and setting the cache variable VAR2292 # accordingly.2293 ac_fn_c_check_header_mongrel ()2294 {2295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack2296 if eval "test \"\${$3+set}\"" = set; then :2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52298 $as_echo_n "checking for $2... " >&6; }2299 if eval "test \"\${$3+set}\"" = set; then :2300 $as_echo_n "(cached) " >&62301 fi2302 eval ac_res=\$$32303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52304 $as_echo "$ac_res" >&6; }2305 else2306 # Is the header compilable?2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&52308 $as_echo_n "checking $2 usability... " >&6; }2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2310 /* end confdefs.h. */2311 $42312 #include <$2>2313 _ACEOF2314 if ac_fn_c_try_compile "$LINENO"; then :2315 ac_header_compiler=yes2316 else2317 ac_header_compiler=no2318 fi2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&52321 $as_echo "$ac_header_compiler" >&6; }2322 2323 # Is the header present?2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52325 $as_echo_n "checking $2 presence... " >&6; }2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2327 /* end confdefs.h. */2328 #include <$2>2329 _ACEOF2330 if ac_fn_c_try_cpp "$LINENO"; then :2331 ac_header_preproc=yes2332 else2333 ac_header_preproc=no2334 fi2335 rm -f conftest.err conftest.i conftest.$ac_ext2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52337 $as_echo "$ac_header_preproc" >&6; }2338 2339 # So? What about this header?2340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((2341 yes:no: )2342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&52343 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}2344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52345 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2346 ;;2347 no:yes:* )2348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&52349 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}2350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&52351 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}2352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&52353 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}2354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&52355 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}2356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&52357 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}2358 ( $as_echo "## ----------------------------------- ##2359 ## Report this to thomas.bretz@epfl.ch ##2360 ## ----------------------------------- ##"2361 ) | sed "s/^/$as_me: WARNING: /" >&22362 ;;2363 esac2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52365 $as_echo_n "checking for $2... " >&6; }2366 if eval "test \"\${$3+set}\"" = set; then :2367 $as_echo_n "(cached) " >&62368 else2369 eval "$3=\$ac_header_compiler"2370 fi2371 eval ac_res=\$$32372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52373 $as_echo "$ac_res" >&6; }2374 fi2375 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}2376 2377 } # ac_fn_c_check_header_mongrel2378 2378 2379 2379 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES … … 2920 2920 2921 2921 2922 2922 2923 ac_ext=c 2923 2924 ac_cpp='$CPP $CPPFLAGS' … … 3518 3519 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3519 3520 3520 #If output variable CXXFLAGS was not already set, set it to -g -O23521 3521 ac_ext=cpp 3522 3522 ac_cpp='$CXXCPP $CPPFLAGS' … … 3775 3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3776 3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3777 3778 3779 ###################################################################### 3780 # GNUC extension support (needed for the evnt builder) 3781 ###################################################################### 3782 3783 3784 ac_ext=c 3785 ac_cpp='$CPP $CPPFLAGS' 3786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3788 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3790 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3791 # On Suns, sometimes $CPP names a directory. 3792 if test -n "$CPP" && test -d "$CPP"; then 3793 CPP= 3794 fi 3795 if test -z "$CPP"; then 3796 if test "${ac_cv_prog_CPP+set}" = set; then : 3797 $as_echo_n "(cached) " >&6 3798 else 3799 # Double quotes because CPP needs to be expanded 3800 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3801 do 3802 ac_preproc_ok=false 3803 for ac_c_preproc_warn_flag in '' yes 3804 do 3805 # Use a header file that comes with gcc, so configuring glibc 3806 # with a fresh cross-compiler works. 3807 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3808 # <limits.h> exists even on freestanding compilers. 3809 # On the NeXT, cc -E runs the code through the compiler's parser, 3810 # not just through cpp. "Syntax error" is here to catch this case. 3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3812 /* end confdefs.h. */ 3813 #ifdef __STDC__ 3814 # include <limits.h> 3815 #else 3816 # include <assert.h> 3817 #endif 3818 Syntax error 3819 _ACEOF 3820 if ac_fn_c_try_cpp "$LINENO"; then : 3821 3822 else 3823 # Broken: fails on valid input. 3824 continue 3825 fi 3826 rm -f conftest.err conftest.i conftest.$ac_ext 3827 3828 # OK, works on sane cases. Now check whether nonexistent headers 3829 # can be detected and how. 3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3831 /* end confdefs.h. */ 3832 #include <ac_nonexistent.h> 3833 _ACEOF 3834 if ac_fn_c_try_cpp "$LINENO"; then : 3835 # Broken: success on invalid input. 3836 continue 3837 else 3838 # Passes both tests. 3839 ac_preproc_ok=: 3840 break 3841 fi 3842 rm -f conftest.err conftest.i conftest.$ac_ext 3843 3844 done 3845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3846 rm -f conftest.i conftest.err conftest.$ac_ext 3847 if $ac_preproc_ok; then : 3848 break 3849 fi 3850 3851 done 3852 ac_cv_prog_CPP=$CPP 3853 3854 fi 3855 CPP=$ac_cv_prog_CPP 3856 else 3857 ac_cv_prog_CPP=$CPP 3858 fi 3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3860 $as_echo "$CPP" >&6; } 3861 ac_preproc_ok=false 3862 for ac_c_preproc_warn_flag in '' yes 3863 do 3864 # Use a header file that comes with gcc, so configuring glibc 3865 # with a fresh cross-compiler works. 3866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3867 # <limits.h> exists even on freestanding compilers. 3868 # On the NeXT, cc -E runs the code through the compiler's parser, 3869 # not just through cpp. "Syntax error" is here to catch this case. 3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3871 /* end confdefs.h. */ 3872 #ifdef __STDC__ 3873 # include <limits.h> 3874 #else 3875 # include <assert.h> 3876 #endif 3877 Syntax error 3878 _ACEOF 3879 if ac_fn_c_try_cpp "$LINENO"; then : 3880 3881 else 3882 # Broken: fails on valid input. 3883 continue 3884 fi 3885 rm -f conftest.err conftest.i conftest.$ac_ext 3886 3887 # OK, works on sane cases. Now check whether nonexistent headers 3888 # can be detected and how. 3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3890 /* end confdefs.h. */ 3891 #include <ac_nonexistent.h> 3892 _ACEOF 3893 if ac_fn_c_try_cpp "$LINENO"; then : 3894 # Broken: success on invalid input. 3895 continue 3896 else 3897 # Passes both tests. 3898 ac_preproc_ok=: 3899 break 3900 fi 3901 rm -f conftest.err conftest.i conftest.$ac_ext 3902 3903 done 3904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3905 rm -f conftest.i conftest.err conftest.$ac_ext 3906 if $ac_preproc_ok; then : 3907 3908 else 3909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3911 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3912 See \`config.log' for more details" "$LINENO" 5 ; } 3913 fi 3914 3915 ac_ext=c 3916 ac_cpp='$CPP $CPPFLAGS' 3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3920 3921 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3923 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3924 if test "${ac_cv_path_GREP+set}" = set; then : 3925 $as_echo_n "(cached) " >&6 3926 else 3927 if test -z "$GREP"; then 3928 ac_path_GREP_found=false 3929 # Loop through the user's path and test for each of PROGNAME-LIST 3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3931 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3932 do 3933 IFS=$as_save_IFS 3934 test -z "$as_dir" && as_dir=. 3935 for ac_prog in grep ggrep; do 3936 for ac_exec_ext in '' $ac_executable_extensions; do 3937 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3938 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3939 # Check for GNU ac_path_GREP and select it if it is found. 3940 # Check for GNU $ac_path_GREP 3941 case `"$ac_path_GREP" --version 2>&1` in 3942 *GNU*) 3943 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3944 *) 3945 ac_count=0 3946 $as_echo_n 0123456789 >"conftest.in" 3947 while : 3948 do 3949 cat "conftest.in" "conftest.in" >"conftest.tmp" 3950 mv "conftest.tmp" "conftest.in" 3951 cp "conftest.in" "conftest.nl" 3952 $as_echo 'GREP' >> "conftest.nl" 3953 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3954 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3955 as_fn_arith $ac_count + 1 && ac_count=$as_val 3956 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3957 # Best one so far, save it but keep looking for a better one 3958 ac_cv_path_GREP="$ac_path_GREP" 3959 ac_path_GREP_max=$ac_count 3960 fi 3961 # 10*(2^10) chars as input seems more than enough 3962 test $ac_count -gt 10 && break 3963 done 3964 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3965 esac 3966 3967 $ac_path_GREP_found && break 3 3968 done 3969 done 3970 done 3971 IFS=$as_save_IFS 3972 if test -z "$ac_cv_path_GREP"; then 3973 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3974 fi 3975 else 3976 ac_cv_path_GREP=$GREP 3977 fi 3978 3979 fi 3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3981 $as_echo "$ac_cv_path_GREP" >&6; } 3982 GREP="$ac_cv_path_GREP" 3983 3984 3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3986 $as_echo_n "checking for egrep... " >&6; } 3987 if test "${ac_cv_path_EGREP+set}" = set; then : 3988 $as_echo_n "(cached) " >&6 3989 else 3990 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3991 then ac_cv_path_EGREP="$GREP -E" 3992 else 3993 if test -z "$EGREP"; then 3994 ac_path_EGREP_found=false 3995 # Loop through the user's path and test for each of PROGNAME-LIST 3996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3998 do 3999 IFS=$as_save_IFS 4000 test -z "$as_dir" && as_dir=. 4001 for ac_prog in egrep; do 4002 for ac_exec_ext in '' $ac_executable_extensions; do 4003 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4004 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4005 # Check for GNU ac_path_EGREP and select it if it is found. 4006 # Check for GNU $ac_path_EGREP 4007 case `"$ac_path_EGREP" --version 2>&1` in 4008 *GNU*) 4009 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4010 *) 4011 ac_count=0 4012 $as_echo_n 0123456789 >"conftest.in" 4013 while : 4014 do 4015 cat "conftest.in" "conftest.in" >"conftest.tmp" 4016 mv "conftest.tmp" "conftest.in" 4017 cp "conftest.in" "conftest.nl" 4018 $as_echo 'EGREP' >> "conftest.nl" 4019 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4020 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4021 as_fn_arith $ac_count + 1 && ac_count=$as_val 4022 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4023 # Best one so far, save it but keep looking for a better one 4024 ac_cv_path_EGREP="$ac_path_EGREP" 4025 ac_path_EGREP_max=$ac_count 4026 fi 4027 # 10*(2^10) chars as input seems more than enough 4028 test $ac_count -gt 10 && break 4029 done 4030 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4031 esac 4032 4033 $ac_path_EGREP_found && break 3 4034 done 4035 done 4036 done 4037 IFS=$as_save_IFS 4038 if test -z "$ac_cv_path_EGREP"; then 4039 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4040 fi 4041 else 4042 ac_cv_path_EGREP=$EGREP 4043 fi 4044 4045 fi 4046 fi 4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4048 $as_echo "$ac_cv_path_EGREP" >&6; } 4049 EGREP="$ac_cv_path_EGREP" 4050 4051 4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4053 $as_echo_n "checking for ANSI C header files... " >&6; } 4054 if test "${ac_cv_header_stdc+set}" = set; then : 4055 $as_echo_n "(cached) " >&6 4056 else 4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4058 /* end confdefs.h. */ 4059 #include <stdlib.h> 4060 #include <stdarg.h> 4061 #include <string.h> 4062 #include <float.h> 4063 4064 int 4065 main () 4066 { 4067 4068 ; 4069 return 0; 4070 } 4071 _ACEOF 4072 if ac_fn_c_try_compile "$LINENO"; then : 4073 ac_cv_header_stdc=yes 4074 else 4075 ac_cv_header_stdc=no 4076 fi 4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4078 4079 if test $ac_cv_header_stdc = yes; then 4080 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4082 /* end confdefs.h. */ 4083 #include <string.h> 4084 4085 _ACEOF 4086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4087 $EGREP "memchr" >/dev/null 2>&1; then : 4088 4089 else 4090 ac_cv_header_stdc=no 4091 fi 4092 rm -f conftest* 4093 4094 fi 4095 4096 if test $ac_cv_header_stdc = yes; then 4097 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4099 /* end confdefs.h. */ 4100 #include <stdlib.h> 4101 4102 _ACEOF 4103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4104 $EGREP "free" >/dev/null 2>&1; then : 4105 4106 else 4107 ac_cv_header_stdc=no 4108 fi 4109 rm -f conftest* 4110 4111 fi 4112 4113 if test $ac_cv_header_stdc = yes; then 4114 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4115 if test "$cross_compiling" = yes; then : 4116 : 4117 else 4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4119 /* end confdefs.h. */ 4120 #include <ctype.h> 4121 #include <stdlib.h> 4122 #if ((' ' & 0x0FF) == 0x020) 4123 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4124 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4125 #else 4126 # define ISLOWER(c) \ 4127 (('a' <= (c) && (c) <= 'i') \ 4128 || ('j' <= (c) && (c) <= 'r') \ 4129 || ('s' <= (c) && (c) <= 'z')) 4130 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4131 #endif 4132 4133 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4134 int 4135 main () 4136 { 4137 int i; 4138 for (i = 0; i < 256; i++) 4139 if (XOR (islower (i), ISLOWER (i)) 4140 || toupper (i) != TOUPPER (i)) 4141 return 2; 4142 return 0; 4143 } 4144 _ACEOF 4145 if ac_fn_c_try_run "$LINENO"; then : 4146 4147 else 4148 ac_cv_header_stdc=no 4149 fi 4150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4151 conftest.$ac_objext conftest.beam conftest.$ac_ext 4152 fi 4153 4154 fi 4155 fi 4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4157 $as_echo "$ac_cv_header_stdc" >&6; } 4158 if test $ac_cv_header_stdc = yes; then 4159 4160 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4161 4162 fi 4163 4164 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4165 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4166 inttypes.h stdint.h unistd.h 4167 do : 4168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4169 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4170 " 4171 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4172 cat >>confdefs.h <<_ACEOF 4173 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4174 _ACEOF 4175 4176 fi 4177 4178 done 4179 4180 4181 4182 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4183 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4184 MINIX=yes 4185 else 4186 MINIX= 4187 fi 4188 4189 4190 if test "$MINIX" = yes; then 4191 4192 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4193 4194 4195 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4196 4197 4198 $as_echo "#define _MINIX 1" >>confdefs.h 4199 4200 fi 4201 4202 4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4204 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4205 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4206 $as_echo_n "(cached) " >&6 4207 else 4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4209 /* end confdefs.h. */ 4210 4211 # define __EXTENSIONS__ 1 4212 $ac_includes_default 4213 int 4214 main () 4215 { 4216 4217 ; 4218 return 0; 4219 } 4220 _ACEOF 4221 if ac_fn_c_try_compile "$LINENO"; then : 4222 ac_cv_safe_to_define___extensions__=yes 4223 else 4224 ac_cv_safe_to_define___extensions__=no 4225 fi 4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4227 fi 4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4229 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4230 test $ac_cv_safe_to_define___extensions__ = yes && 4231 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4232 4233 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4234 4235 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4236 4237 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4238 4239 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4240 4241 4242 4243 ###################################################################### 4244 # Setup the libtool and the language 4245 ###################################################################### 3777 4246 3778 4247 case `pwd` in … … 3954 4423 3955 4424 3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&53957 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }3958 if test "${ac_cv_path_GREP+set}" = set; then :3959 $as_echo_n "(cached) " >&63960 else3961 if test -z "$GREP"; then3962 ac_path_GREP_found=false3963 # Loop through the user's path and test for each of PROGNAME-LIST3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3965 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin3966 do3967 IFS=$as_save_IFS3968 test -z "$as_dir" && as_dir=.3969 for ac_prog in grep ggrep; do3970 for ac_exec_ext in '' $ac_executable_extensions; do3971 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"3972 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue3973 # Check for GNU ac_path_GREP and select it if it is found.3974 # Check for GNU $ac_path_GREP3975 case `"$ac_path_GREP" --version 2>&1` in3976 *GNU*)3977 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;3978 *)3979 ac_count=03980 $as_echo_n 0123456789 >"conftest.in"3981 while :3982 do3983 cat "conftest.in" "conftest.in" >"conftest.tmp"3984 mv "conftest.tmp" "conftest.in"3985 cp "conftest.in" "conftest.nl"3986 $as_echo 'GREP' >> "conftest.nl"3987 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break3988 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break3989 as_fn_arith $ac_count + 1 && ac_count=$as_val3990 if test $ac_count -gt ${ac_path_GREP_max-0}; then3991 # Best one so far, save it but keep looking for a better one3992 ac_cv_path_GREP="$ac_path_GREP"3993 ac_path_GREP_max=$ac_count3994 fi3995 # 10*(2^10) chars as input seems more than enough3996 test $ac_count -gt 10 && break3997 done3998 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;3999 esac4000 4001 $ac_path_GREP_found && break 34002 done4003 done4004 done4005 IFS=$as_save_IFS4006 if test -z "$ac_cv_path_GREP"; then4007 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54008 fi4009 else4010 ac_cv_path_GREP=$GREP4011 fi4012 4013 fi4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&54015 $as_echo "$ac_cv_path_GREP" >&6; }4016 GREP="$ac_cv_path_GREP"4017 4018 4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54020 $as_echo_n "checking for egrep... " >&6; }4021 if test "${ac_cv_path_EGREP+set}" = set; then :4022 $as_echo_n "(cached) " >&64023 else4024 if echo a | $GREP -E '(a|b)' >/dev/null 2>&14025 then ac_cv_path_EGREP="$GREP -E"4026 else4027 if test -z "$EGREP"; then4028 ac_path_EGREP_found=false4029 # Loop through the user's path and test for each of PROGNAME-LIST4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4031 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4032 do4033 IFS=$as_save_IFS4034 test -z "$as_dir" && as_dir=.4035 for ac_prog in egrep; do4036 for ac_exec_ext in '' $ac_executable_extensions; do4037 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4038 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4039 # Check for GNU ac_path_EGREP and select it if it is found.4040 # Check for GNU $ac_path_EGREP4041 case `"$ac_path_EGREP" --version 2>&1` in4042 *GNU*)4043 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;4044 *)4045 ac_count=04046 $as_echo_n 0123456789 >"conftest.in"4047 while :4048 do4049 cat "conftest.in" "conftest.in" >"conftest.tmp"4050 mv "conftest.tmp" "conftest.in"4051 cp "conftest.in" "conftest.nl"4052 $as_echo 'EGREP' >> "conftest.nl"4053 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break4054 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4055 as_fn_arith $ac_count + 1 && ac_count=$as_val4056 if test $ac_count -gt ${ac_path_EGREP_max-0}; then4057 # Best one so far, save it but keep looking for a better one4058 ac_cv_path_EGREP="$ac_path_EGREP"4059 ac_path_EGREP_max=$ac_count4060 fi4061 # 10*(2^10) chars as input seems more than enough4062 test $ac_count -gt 10 && break4063 done4064 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4065 esac4066 4067 $ac_path_EGREP_found && break 34068 done4069 done4070 done4071 IFS=$as_save_IFS4072 if test -z "$ac_cv_path_EGREP"; then4073 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54074 fi4075 else4076 ac_cv_path_EGREP=$EGREP4077 fi4078 4079 fi4080 fi4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54082 $as_echo "$ac_cv_path_EGREP" >&6; }4083 EGREP="$ac_cv_path_EGREP"4084 4085 4086 4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4087 4426 $as_echo_n "checking for fgrep... " >&6; } … … 4456 4795 lt_cv_nm_interface="BSD nm" 4457 4796 echo "int some_variable = 0;" > conftest.$ac_ext 4458 (eval echo "\"\$as_me:4 458: $ac_compile\"" >&5)4797 (eval echo "\"\$as_me:4797: $ac_compile\"" >&5) 4459 4798 (eval "$ac_compile" 2>conftest.err) 4460 4799 cat conftest.err >&5 4461 (eval echo "\"\$as_me:4 461: $NM \\\"conftest.$ac_objext\\\"\"" >&5)4800 (eval echo "\"\$as_me:4800: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4462 4801 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4463 4802 cat conftest.err >&5 4464 (eval echo "\"\$as_me:4 464: output\"" >&5)4803 (eval echo "\"\$as_me:4803: output\"" >&5) 4465 4804 cat conftest.out >&5 4466 4805 if $GREP 'External.*some_variable' conftest.out > /dev/null; then … … 5636 5975 5637 5976 5638 5639 5977 # Check whether --enable-libtool-lock was given. 5640 5978 if test "${enable_libtool_lock+set}" = set; then : … … 5668 6006 *-*-irix6*) 5669 6007 # Find out which ABI we are using. 5670 echo '#line 5670"configure"' > conftest.$ac_ext6008 echo '#line 6008 "configure"' > conftest.$ac_ext 5671 6009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5672 6010 (eval $ac_compile) 2>&5 … … 6415 6753 esac 6416 6754 6417 ac_ext=c6418 ac_cpp='$CPP $CPPFLAGS'6419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'6420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'6421 ac_compiler_gnu=$ac_cv_c_compiler_gnu6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&56423 $as_echo_n "checking how to run the C preprocessor... " >&6; }6424 # On Suns, sometimes $CPP names a directory.6425 if test -n "$CPP" && test -d "$CPP"; then6426 CPP=6427 fi6428 if test -z "$CPP"; then6429 if test "${ac_cv_prog_CPP+set}" = set; then :6430 $as_echo_n "(cached) " >&66431 else6432 # Double quotes because CPP needs to be expanded6433 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"6434 do6435 ac_preproc_ok=false6436 for ac_c_preproc_warn_flag in '' yes6437 do6438 # Use a header file that comes with gcc, so configuring glibc6439 # with a fresh cross-compiler works.6440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since6441 # <limits.h> exists even on freestanding compilers.6442 # On the NeXT, cc -E runs the code through the compiler's parser,6443 # not just through cpp. "Syntax error" is here to catch this case.6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6445 /* end confdefs.h. */6446 #ifdef __STDC__6447 # include <limits.h>6448 #else6449 # include <assert.h>6450 #endif6451 Syntax error6452 _ACEOF6453 if ac_fn_c_try_cpp "$LINENO"; then :6454 6455 else6456 # Broken: fails on valid input.6457 continue6458 fi6459 rm -f conftest.err conftest.i conftest.$ac_ext6460 6461 # OK, works on sane cases. Now check whether nonexistent headers6462 # can be detected and how.6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6464 /* end confdefs.h. */6465 #include <ac_nonexistent.h>6466 _ACEOF6467 if ac_fn_c_try_cpp "$LINENO"; then :6468 # Broken: success on invalid input.6469 continue6470 else6471 # Passes both tests.6472 ac_preproc_ok=:6473 break6474 fi6475 rm -f conftest.err conftest.i conftest.$ac_ext6476 6477 done6478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.6479 rm -f conftest.i conftest.err conftest.$ac_ext6480 if $ac_preproc_ok; then :6481 break6482 fi6483 6484 done6485 ac_cv_prog_CPP=$CPP6486 6487 fi6488 CPP=$ac_cv_prog_CPP6489 else6490 ac_cv_prog_CPP=$CPP6491 fi6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&56493 $as_echo "$CPP" >&6; }6494 ac_preproc_ok=false6495 for ac_c_preproc_warn_flag in '' yes6496 do6497 # Use a header file that comes with gcc, so configuring glibc6498 # with a fresh cross-compiler works.6499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since6500 # <limits.h> exists even on freestanding compilers.6501 # On the NeXT, cc -E runs the code through the compiler's parser,6502 # not just through cpp. "Syntax error" is here to catch this case.6503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6504 /* end confdefs.h. */6505 #ifdef __STDC__6506 # include <limits.h>6507 #else6508 # include <assert.h>6509 #endif6510 Syntax error6511 _ACEOF6512 if ac_fn_c_try_cpp "$LINENO"; then :6513 6514 else6515 # Broken: fails on valid input.6516 continue6517 fi6518 rm -f conftest.err conftest.i conftest.$ac_ext6519 6520 # OK, works on sane cases. Now check whether nonexistent headers6521 # can be detected and how.6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6523 /* end confdefs.h. */6524 #include <ac_nonexistent.h>6525 _ACEOF6526 if ac_fn_c_try_cpp "$LINENO"; then :6527 # Broken: success on invalid input.6528 continue6529 else6530 # Passes both tests.6531 ac_preproc_ok=:6532 break6533 fi6534 rm -f conftest.err conftest.i conftest.$ac_ext6535 6536 done6537 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.6538 rm -f conftest.i conftest.err conftest.$ac_ext6539 if $ac_preproc_ok; then :6540 6541 else6542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&56543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}6544 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check6545 See \`config.log' for more details" "$LINENO" 5 ; }6546 fi6547 6548 ac_ext=c6549 ac_cpp='$CPP $CPPFLAGS'6550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'6551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'6552 ac_compiler_gnu=$ac_cv_c_compiler_gnu6553 6554 6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&56556 $as_echo_n "checking for ANSI C header files... " >&6; }6557 if test "${ac_cv_header_stdc+set}" = set; then :6558 $as_echo_n "(cached) " >&66559 else6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6561 /* end confdefs.h. */6562 #include <stdlib.h>6563 #include <stdarg.h>6564 #include <string.h>6565 #include <float.h>6566 6567 int6568 main ()6569 {6570 6571 ;6572 return 0;6573 }6574 _ACEOF6575 if ac_fn_c_try_compile "$LINENO"; then :6576 ac_cv_header_stdc=yes6577 else6578 ac_cv_header_stdc=no6579 fi6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext6581 6582 if test $ac_cv_header_stdc = yes; then6583 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6585 /* end confdefs.h. */6586 #include <string.h>6587 6588 _ACEOF6589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |6590 $EGREP "memchr" >/dev/null 2>&1; then :6591 6592 else6593 ac_cv_header_stdc=no6594 fi6595 rm -f conftest*6596 6597 fi6598 6599 if test $ac_cv_header_stdc = yes; then6600 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6602 /* end confdefs.h. */6603 #include <stdlib.h>6604 6605 _ACEOF6606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |6607 $EGREP "free" >/dev/null 2>&1; then :6608 6609 else6610 ac_cv_header_stdc=no6611 fi6612 rm -f conftest*6613 6614 fi6615 6616 if test $ac_cv_header_stdc = yes; then6617 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.6618 if test "$cross_compiling" = yes; then :6619 :6620 else6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6622 /* end confdefs.h. */6623 #include <ctype.h>6624 #include <stdlib.h>6625 #if ((' ' & 0x0FF) == 0x020)6626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')6627 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))6628 #else6629 # define ISLOWER(c) \6630 (('a' <= (c) && (c) <= 'i') \6631 || ('j' <= (c) && (c) <= 'r') \6632 || ('s' <= (c) && (c) <= 'z'))6633 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))6634 #endif6635 6636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))6637 int6638 main ()6639 {6640 int i;6641 for (i = 0; i < 256; i++)6642 if (XOR (islower (i), ISLOWER (i))6643 || toupper (i) != TOUPPER (i))6644 return 2;6645 return 0;6646 }6647 _ACEOF6648 if ac_fn_c_try_run "$LINENO"; then :6649 6650 else6651 ac_cv_header_stdc=no6652 fi6653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \6654 conftest.$ac_objext conftest.beam conftest.$ac_ext6655 fi6656 6657 fi6658 fi6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&56660 $as_echo "$ac_cv_header_stdc" >&6; }6661 if test $ac_cv_header_stdc = yes; then6662 6663 $as_echo "#define STDC_HEADERS 1" >>confdefs.h6664 6665 fi6666 6667 # On IRIX 5.3, sys/types and inttypes.h are conflicting.6668 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \6669 inttypes.h stdint.h unistd.h6670 do :6671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`6672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default6673 "6674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :6675 cat >>confdefs.h <<_ACEOF6676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 16677 _ACEOF6678 6679 fi6680 6681 done6682 6683 6684 6755 for ac_header in dlfcn.h 6685 6756 do : … … 7596 7667 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7597 7668 -e 's:$: $lt_compiler_flag:'` 7598 (eval echo "\"\$as_me:7 598: $lt_compile\"" >&5)7669 (eval echo "\"\$as_me:7669: $lt_compile\"" >&5) 7599 7670 (eval "$lt_compile" 2>conftest.err) 7600 7671 ac_status=$? 7601 7672 cat conftest.err >&5 7602 echo "$as_me:76 02: \$? = $ac_status" >&57673 echo "$as_me:7673: \$? = $ac_status" >&5 7603 7674 if (exit $ac_status) && test -s "$ac_outfile"; then 7604 7675 # The compiler can only warn and ignore the option if not recognized … … 7935 8006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7936 8007 -e 's:$: $lt_compiler_flag:'` 7937 (eval echo "\"\$as_me: 7937: $lt_compile\"" >&5)8008 (eval echo "\"\$as_me:8008: $lt_compile\"" >&5) 7938 8009 (eval "$lt_compile" 2>conftest.err) 7939 8010 ac_status=$? 7940 8011 cat conftest.err >&5 7941 echo "$as_me: 7941: \$? = $ac_status" >&58012 echo "$as_me:8012: \$? = $ac_status" >&5 7942 8013 if (exit $ac_status) && test -s "$ac_outfile"; then 7943 8014 # The compiler can only warn and ignore the option if not recognized … … 8040 8111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8041 8112 -e 's:$: $lt_compiler_flag:'` 8042 (eval echo "\"\$as_me:8 042: $lt_compile\"" >&5)8113 (eval echo "\"\$as_me:8113: $lt_compile\"" >&5) 8043 8114 (eval "$lt_compile" 2>out/conftest.err) 8044 8115 ac_status=$? 8045 8116 cat out/conftest.err >&5 8046 echo "$as_me:8 046: \$? = $ac_status" >&58117 echo "$as_me:8117: \$? = $ac_status" >&5 8047 8118 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8048 8119 then … … 8095 8166 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8096 8167 -e 's:$: $lt_compiler_flag:'` 8097 (eval echo "\"\$as_me:8 097: $lt_compile\"" >&5)8168 (eval echo "\"\$as_me:8168: $lt_compile\"" >&5) 8098 8169 (eval "$lt_compile" 2>out/conftest.err) 8099 8170 ac_status=$? 8100 8171 cat out/conftest.err >&5 8101 echo "$as_me:81 01: \$? = $ac_status" >&58172 echo "$as_me:8172: \$? = $ac_status" >&5 8102 8173 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8103 8174 then … … 10479 10550 lt_status=$lt_dlunknown 10480 10551 cat > conftest.$ac_ext <<_LT_EOF 10481 #line 10 481"configure"10552 #line 10552 "configure" 10482 10553 #include "confdefs.h" 10483 10554 … … 10575 10646 lt_status=$lt_dlunknown 10576 10647 cat > conftest.$ac_ext <<_LT_EOF 10577 #line 10 577"configure"10648 #line 10648 "configure" 10578 10649 #include "confdefs.h" 10579 10650 … … 12531 12602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12532 12603 -e 's:$: $lt_compiler_flag:'` 12533 (eval echo "\"\$as_me:12 533: $lt_compile\"" >&5)12604 (eval echo "\"\$as_me:12604: $lt_compile\"" >&5) 12534 12605 (eval "$lt_compile" 2>conftest.err) 12535 12606 ac_status=$? 12536 12607 cat conftest.err >&5 12537 echo "$as_me:12 537: \$? = $ac_status" >&512608 echo "$as_me:12608: \$? = $ac_status" >&5 12538 12609 if (exit $ac_status) && test -s "$ac_outfile"; then 12539 12610 # The compiler can only warn and ignore the option if not recognized … … 12630 12701 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12631 12702 -e 's:$: $lt_compiler_flag:'` 12632 (eval echo "\"\$as_me:12 632: $lt_compile\"" >&5)12703 (eval echo "\"\$as_me:12703: $lt_compile\"" >&5) 12633 12704 (eval "$lt_compile" 2>out/conftest.err) 12634 12705 ac_status=$? 12635 12706 cat out/conftest.err >&5 12636 echo "$as_me:12 636: \$? = $ac_status" >&512707 echo "$as_me:12707: \$? = $ac_status" >&5 12637 12708 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12638 12709 then … … 12682 12753 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12683 12754 -e 's:$: $lt_compiler_flag:'` 12684 (eval echo "\"\$as_me:12 684: $lt_compile\"" >&5)12755 (eval echo "\"\$as_me:12755: $lt_compile\"" >&5) 12685 12756 (eval "$lt_compile" 2>out/conftest.err) 12686 12757 ac_status=$? 12687 12758 cat out/conftest.err >&5 12688 echo "$as_me:12 688: \$? = $ac_status" >&512759 echo "$as_me:12759: \$? = $ac_status" >&5 12689 12760 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12690 12761 then … … 21615 21686 21616 21687 cat > conftest.$ac_ext <<EOF 21617 #line 216 17"configure"21688 #line 21688 "configure" 21618 21689 #include "confdefs.h" 21619 21690 #include <qglobal.h>
Note:
See TracChangeset
for help on using the changeset viewer.