Ignore:
Timestamp:
05/26/11 16:18:44 (14 years ago)
Author:
tbretz
Message:
Updated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r10718 r10839  
    929929INSTALL_PROGRAM
    930930CXXCPP
    931 CPP
    932931OTOOL64
    933932OTOOL
     
    946945LD
    947946FGREP
    948 EGREP
    949 GREP
    950947SED
    951948host_os
     
    958955build
    959956LIBTOOL
     957EGREP
     958GREP
     959CPP
    960960ac_ct_CXX
    961961CXXFLAGS
     
    19801980} # ac_fn_cxx_try_compile
    19811981
     1982# ac_fn_c_try_cpp LINENO
     1983# ----------------------
     1984# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1985ac_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"
     1989case "(($ac_try" in
     1990  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1991  *) ac_try_echo=$ac_try;;
     1992esac
     1993eval 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
     2008else
     2009  $as_echo "$as_me: failed program was:" >&5
     2010sed 's/^/| /' conftest.$ac_ext >&5
     2011
     2012    ac_retval=1
     2013fi
     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.
     2024ac_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; }
     2030if eval "test \"\${$3+set}\"" = set; then :
     2031  $as_echo_n "(cached) " >&6
     2032fi
     2033eval ac_res=\$$3
     2034               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2035$as_echo "$ac_res" >&6; }
     2036else
     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; }
     2040cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2041/* end confdefs.h.  */
     2042$4
     2043#include <$2>
     2044_ACEOF
     2045if ac_fn_c_try_compile "$LINENO"; then :
     2046  ac_header_compiler=yes
     2047else
     2048  ac_header_compiler=no
     2049fi
     2050rm -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; }
     2057cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2058/* end confdefs.h.  */
     2059#include <$2>
     2060_ACEOF
     2061if ac_fn_c_try_cpp "$LINENO"; then :
     2062  ac_header_preproc=yes
     2063else
     2064  ac_header_preproc=no
     2065fi
     2066rm -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?
     2071case $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    ;;
     2094esac
     2095  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2096$as_echo_n "checking for $2... " >&6; }
     2097if eval "test \"\${$3+set}\"" = set; then :
     2098  $as_echo_n "(cached) " >&6
     2099else
     2100  eval "$3=\$ac_header_compiler"
     2101fi
     2102eval ac_res=\$$3
     2103               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2104$as_echo "$ac_res" >&6; }
     2105fi
     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.
     2114ac_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"
     2118case "(($ac_try" in
     2119  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2120  *) ac_try_echo=$ac_try;;
     2121esac
     2122eval 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;;
     2131esac
     2132eval 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
     2139else
     2140  $as_echo "$as_me: program exited with status $ac_status" >&5
     2141       $as_echo "$as_me: failed program was:" >&5
     2142sed 's/^/| /' conftest.$ac_ext >&5
     2143
     2144       ac_retval=$ac_status
     2145fi
     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.
     2156ac_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; }
     2161if eval "test \"\${$3+set}\"" = set; then :
     2162  $as_echo_n "(cached) " >&6
     2163else
     2164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2165/* end confdefs.h.  */
     2166$4
     2167#include <$2>
     2168_ACEOF
     2169if ac_fn_c_try_compile "$LINENO"; then :
     2170  eval "$3=yes"
     2171else
     2172  eval "$3=no"
     2173fi
     2174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2175fi
     2176eval 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
    19822183# ac_fn_c_try_link LINENO
    19832184# -----------------------
     
    20262227} # ac_fn_c_try_link
    20272228
    2028 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    2029 # -------------------------------------------------------
    2030 # Tests whether HEADER exists and can be compiled using the include files in
    2031 # 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_stack
    2035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2036 $as_echo_n "checking for $2... " >&6; }
    2037 if eval "test \"\${$3+set}\"" = set; then :
    2038   $as_echo_n "(cached) " >&6
    2039 else
    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   eval "$3=yes"
    2047 else
    2048   eval "$3=no"
    2049 fi
    2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2051 fi
    2052 eval ac_res=\$$3
    2053                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2054 $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_compile
    2058 
    2059 # ac_fn_c_try_cpp LINENO
    2060 # ----------------------
    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_stack
    2065   if { { ac_try="$ac_cpp conftest.$ac_ext"
    2066 case "(($ac_try" in
    2067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2068   *) ac_try_echo=$ac_try;;
    2069 esac
    2070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2071 $as_echo "$ac_try_echo"; } >&5
    2072   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    2073   ac_status=$?
    2074   if test -s conftest.err; then
    2075     grep -v '^ *+' conftest.err >conftest.er1
    2076     cat conftest.er1 >&5
    2077     mv -f conftest.er1 conftest.err
    2078   fi
    2079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2080   test $ac_status = 0; } > conftest.i && {
    2081          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2082          test ! -s conftest.err
    2083        }; then :
    2084   ac_retval=0
    2085 else
    2086   $as_echo "$as_me: failed program was:" >&5
    2087 sed 's/^/| /' conftest.$ac_ext >&5
    2088 
    2089     ac_retval=1
    2090 fi
    2091   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    2092   as_fn_set_status $ac_retval
    2093 
    2094 } # ac_fn_c_try_cpp
    2095 
    2096 # ac_fn_c_try_run LINENO
    2097 # ----------------------
    2098 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    2099 # 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_stack
    2103   if { { ac_try="$ac_link"
    2104 case "(($ac_try" in
    2105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2106   *) ac_try_echo=$ac_try;;
    2107 esac
    2108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2109 $as_echo "$ac_try_echo"; } >&5
    2110   (eval "$ac_link") 2>&5
    2111   ac_status=$?
    2112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2113   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    2114   { { case "(($ac_try" in
    2115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2116   *) ac_try_echo=$ac_try;;
    2117 esac
    2118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2119 $as_echo "$ac_try_echo"; } >&5
    2120   (eval "$ac_try") 2>&5
    2121   ac_status=$?
    2122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2123   test $ac_status = 0; }; }; then :
    2124   ac_retval=0
    2125 else
    2126   $as_echo "$as_me: program exited with status $ac_status" >&5
    2127        $as_echo "$as_me: failed program was:" >&5
    2128 sed 's/^/| /' conftest.$ac_ext >&5
    2129 
    2130        ac_retval=$ac_status
    2131 fi
    2132   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    2133   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    2134   as_fn_set_status $ac_retval
    2135 
    2136 } # ac_fn_c_try_run
    2137 
    21382229# ac_fn_c_check_func LINENO FUNC VAR
    21392230# ----------------------------------
     
    22852376
    22862377} # ac_fn_cxx_try_link
    2287 
    2288 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    2289 # -------------------------------------------------------
    2290 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    2291 # the include files in INCLUDES and setting the cache variable VAR
    2292 # accordingly.
    2293 ac_fn_c_check_header_mongrel ()
    2294 {
    2295   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2296   if eval "test \"\${$3+set}\"" = set; then :
    2297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2298 $as_echo_n "checking for $2... " >&6; }
    2299 if eval "test \"\${$3+set}\"" = set; then :
    2300   $as_echo_n "(cached) " >&6
    2301 fi
    2302 eval ac_res=\$$3
    2303                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2304 $as_echo "$ac_res" >&6; }
    2305 else
    2306   # Is the header compilable?
    2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    2308 $as_echo_n "checking $2 usability... " >&6; }
    2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2310 /* end confdefs.h.  */
    2311 $4
    2312 #include <$2>
    2313 _ACEOF
    2314 if ac_fn_c_try_compile "$LINENO"; then :
    2315   ac_header_compiler=yes
    2316 else
    2317   ac_header_compiler=no
    2318 fi
    2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    2321 $as_echo "$ac_header_compiler" >&6; }
    2322 
    2323 # Is the header present?
    2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    2325 $as_echo_n "checking $2 presence... " >&6; }
    2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2327 /* end confdefs.h.  */
    2328 #include <$2>
    2329 _ACEOF
    2330 if ac_fn_c_try_cpp "$LINENO"; then :
    2331   ac_header_preproc=yes
    2332 else
    2333   ac_header_preproc=no
    2334 fi
    2335 rm -f conftest.err conftest.i conftest.$ac_ext
    2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    2337 $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!" >&5
    2343 $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" >&5
    2345 $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" >&5
    2349 $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?" >&5
    2351 $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" >&5
    2353 $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\"" >&5
    2355 $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" >&5
    2357 $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:     /" >&2
    2362     ;;
    2363 esac
    2364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2365 $as_echo_n "checking for $2... " >&6; }
    2366 if eval "test \"\${$3+set}\"" = set; then :
    2367   $as_echo_n "(cached) " >&6
    2368 else
    2369   eval "$3=\$ac_header_compiler"
    2370 fi
    2371 eval ac_res=\$$3
    2372                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2373 $as_echo "$ac_res" >&6; }
    2374 fi
    2375   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    2376 
    2377 } # ac_fn_c_check_header_mongrel
    23782378
    23792379# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     
    29202920
    29212921
     2922
    29222923ac_ext=c
    29232924ac_cpp='$CPP $CPPFLAGS'
     
    35183519ac_compiler_gnu=$ac_cv_c_compiler_gnu
    35193520
    3520  #If output variable CXXFLAGS was not already set, set it to -g -O2
    35213521ac_ext=cpp
    35223522ac_cpp='$CXXCPP $CPPFLAGS'
     
    37753775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    37763776ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3777
     3778
     3779######################################################################
     3780# GNUC extension support (needed for the evnt builder)
     3781######################################################################
     3782
     3783
     3784ac_ext=c
     3785ac_cpp='$CPP $CPPFLAGS'
     3786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3788ac_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.
     3792if test -n "$CPP" && test -d "$CPP"; then
     3793  CPP=
     3794fi
     3795if test -z "$CPP"; then
     3796  if test "${ac_cv_prog_CPP+set}" = set; then :
     3797  $as_echo_n "(cached) " >&6
     3798else
     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
     3803for ac_c_preproc_warn_flag in '' yes
     3804do
     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
     3820if ac_fn_c_try_cpp "$LINENO"; then :
     3821
     3822else
     3823  # Broken: fails on valid input.
     3824continue
     3825fi
     3826rm -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
     3834if ac_fn_c_try_cpp "$LINENO"; then :
     3835  # Broken: success on invalid input.
     3836continue
     3837else
     3838  # Passes both tests.
     3839ac_preproc_ok=:
     3840break
     3841fi
     3842rm -f conftest.err conftest.i conftest.$ac_ext
     3843
     3844done
     3845# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3846rm -f conftest.i conftest.err conftest.$ac_ext
     3847if $ac_preproc_ok; then :
     3848  break
     3849fi
     3850
     3851    done
     3852    ac_cv_prog_CPP=$CPP
     3853
     3854fi
     3855  CPP=$ac_cv_prog_CPP
     3856else
     3857  ac_cv_prog_CPP=$CPP
     3858fi
     3859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3860$as_echo "$CPP" >&6; }
     3861ac_preproc_ok=false
     3862for ac_c_preproc_warn_flag in '' yes
     3863do
     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
     3879if ac_fn_c_try_cpp "$LINENO"; then :
     3880
     3881else
     3882  # Broken: fails on valid input.
     3883continue
     3884fi
     3885rm -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
     3893if ac_fn_c_try_cpp "$LINENO"; then :
     3894  # Broken: success on invalid input.
     3895continue
     3896else
     3897  # Passes both tests.
     3898ac_preproc_ok=:
     3899break
     3900fi
     3901rm -f conftest.err conftest.i conftest.$ac_ext
     3902
     3903done
     3904# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3905rm -f conftest.i conftest.err conftest.$ac_ext
     3906if $ac_preproc_ok; then :
     3907
     3908else
     3909  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3911as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3912See \`config.log' for more details" "$LINENO" 5 ; }
     3913fi
     3914
     3915ac_ext=c
     3916ac_cpp='$CPP $CPPFLAGS'
     3917ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3918ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3919ac_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; }
     3924if test "${ac_cv_path_GREP+set}" = set; then :
     3925  $as_echo_n "(cached) " >&6
     3926else
     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
     3931for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3932do
     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
     3941case `"$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;;
     3965esac
     3966
     3967      $ac_path_GREP_found && break 3
     3968    done
     3969  done
     3970  done
     3971IFS=$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
     3975else
     3976  ac_cv_path_GREP=$GREP
     3977fi
     3978
     3979fi
     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; }
     3987if test "${ac_cv_path_EGREP+set}" = set; then :
     3988  $as_echo_n "(cached) " >&6
     3989else
     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
     3997for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3998do
     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
     4007case `"$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;;
     4031esac
     4032
     4033      $ac_path_EGREP_found && break 3
     4034    done
     4035  done
     4036  done
     4037IFS=$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
     4041else
     4042  ac_cv_path_EGREP=$EGREP
     4043fi
     4044
     4045   fi
     4046fi
     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; }
     4054if test "${ac_cv_header_stdc+set}" = set; then :
     4055  $as_echo_n "(cached) " >&6
     4056else
     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
     4064int
     4065main ()
     4066{
     4067
     4068  ;
     4069  return 0;
     4070}
     4071_ACEOF
     4072if ac_fn_c_try_compile "$LINENO"; then :
     4073  ac_cv_header_stdc=yes
     4074else
     4075  ac_cv_header_stdc=no
     4076fi
     4077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4078
     4079if 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
     4086if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4087  $EGREP "memchr" >/dev/null 2>&1; then :
     4088
     4089else
     4090  ac_cv_header_stdc=no
     4091fi
     4092rm -f conftest*
     4093
     4094fi
     4095
     4096if 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
     4103if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4104  $EGREP "free" >/dev/null 2>&1; then :
     4105
     4106else
     4107  ac_cv_header_stdc=no
     4108fi
     4109rm -f conftest*
     4110
     4111fi
     4112
     4113if 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  :
     4117else
     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)))
     4134int
     4135main ()
     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
     4145if ac_fn_c_try_run "$LINENO"; then :
     4146
     4147else
     4148  ac_cv_header_stdc=no
     4149fi
     4150rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4151  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4152fi
     4153
     4154fi
     4155fi
     4156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4157$as_echo "$ac_cv_header_stdc" >&6; }
     4158if test $ac_cv_header_stdc = yes; then
     4159
     4160$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4161
     4162fi
     4163
     4164# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4165for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4166                  inttypes.h stdint.h unistd.h
     4167do :
     4168  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4169ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4170"
     4171if 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
     4176fi
     4177
     4178done
     4179
     4180
     4181
     4182  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
     4183if test "x$ac_cv_header_minix_config_h" = x""yes; then :
     4184  MINIX=yes
     4185else
     4186  MINIX=
     4187fi
     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; }
     4205if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
     4206  $as_echo_n "(cached) " >&6
     4207else
     4208  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4209/* end confdefs.h.  */
     4210
     4211#         define __EXTENSIONS__ 1
     4212          $ac_includes_default
     4213int
     4214main ()
     4215{
     4216
     4217  ;
     4218  return 0;
     4219}
     4220_ACEOF
     4221if ac_fn_c_try_compile "$LINENO"; then :
     4222  ac_cv_safe_to_define___extensions__=yes
     4223else
     4224  ac_cv_safe_to_define___extensions__=no
     4225fi
     4226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4227fi
     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######################################################################
    37774246
    37784247case `pwd` in
     
    39544423
    39554424
    3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    3957 $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) " >&6
    3960 else
    3961   if test -z "$GREP"; then
    3962   ac_path_GREP_found=false
    3963   # Loop through the user's path and test for each of PROGNAME-LIST
    3964   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3965 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3966 do
    3967   IFS=$as_save_IFS
    3968   test -z "$as_dir" && as_dir=.
    3969     for ac_prog in grep ggrep; do
    3970     for ac_exec_ext in '' $ac_executable_extensions; do
    3971       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3972       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    3973 # Check for GNU ac_path_GREP and select it if it is found.
    3974   # Check for GNU $ac_path_GREP
    3975 case `"$ac_path_GREP" --version 2>&1` in
    3976 *GNU*)
    3977   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    3978 *)
    3979   ac_count=0
    3980   $as_echo_n 0123456789 >"conftest.in"
    3981   while :
    3982   do
    3983     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 || break
    3988     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3989     as_fn_arith $ac_count + 1 && ac_count=$as_val
    3990     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    3991       # Best one so far, save it but keep looking for a better one
    3992       ac_cv_path_GREP="$ac_path_GREP"
    3993       ac_path_GREP_max=$ac_count
    3994     fi
    3995     # 10*(2^10) chars as input seems more than enough
    3996     test $ac_count -gt 10 && break
    3997   done
    3998   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3999 esac
    4000 
    4001       $ac_path_GREP_found && break 3
    4002     done
    4003   done
    4004   done
    4005 IFS=$as_save_IFS
    4006   if test -z "$ac_cv_path_GREP"; then
    4007     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4008   fi
    4009 else
    4010   ac_cv_path_GREP=$GREP
    4011 fi
    4012 
    4013 fi
    4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    4015 $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" >&5
    4020 $as_echo_n "checking for egrep... " >&6; }
    4021 if test "${ac_cv_path_EGREP+set}" = set; then :
    4022   $as_echo_n "(cached) " >&6
    4023 else
    4024   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4025    then ac_cv_path_EGREP="$GREP -E"
    4026    else
    4027      if test -z "$EGREP"; then
    4028   ac_path_EGREP_found=false
    4029   # Loop through the user's path and test for each of PROGNAME-LIST
    4030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4031 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4032 do
    4033   IFS=$as_save_IFS
    4034   test -z "$as_dir" && as_dir=.
    4035     for ac_prog in egrep; do
    4036     for ac_exec_ext in '' $ac_executable_extensions; do
    4037       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4038       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4039 # Check for GNU ac_path_EGREP and select it if it is found.
    4040   # Check for GNU $ac_path_EGREP
    4041 case `"$ac_path_EGREP" --version 2>&1` in
    4042 *GNU*)
    4043   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4044 *)
    4045   ac_count=0
    4046   $as_echo_n 0123456789 >"conftest.in"
    4047   while :
    4048   do
    4049     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 || break
    4054     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4055     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4056     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4057       # Best one so far, save it but keep looking for a better one
    4058       ac_cv_path_EGREP="$ac_path_EGREP"
    4059       ac_path_EGREP_max=$ac_count
    4060     fi
    4061     # 10*(2^10) chars as input seems more than enough
    4062     test $ac_count -gt 10 && break
    4063   done
    4064   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4065 esac
    4066 
    4067       $ac_path_EGREP_found && break 3
    4068     done
    4069   done
    4070   done
    4071 IFS=$as_save_IFS
    4072   if test -z "$ac_cv_path_EGREP"; then
    4073     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4074   fi
    4075 else
    4076   ac_cv_path_EGREP=$EGREP
    4077 fi
    4078 
    4079    fi
    4080 fi
    4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    4082 $as_echo "$ac_cv_path_EGREP" >&6; }
    4083  EGREP="$ac_cv_path_EGREP"
    4084 
    4085 
    40864425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
    40874426$as_echo_n "checking for fgrep... " >&6; }
     
    44564795  lt_cv_nm_interface="BSD nm"
    44574796  echo "int some_variable = 0;" > conftest.$ac_ext
    4458   (eval echo "\"\$as_me:4458: $ac_compile\"" >&5)
     4797  (eval echo "\"\$as_me:4797: $ac_compile\"" >&5)
    44594798  (eval "$ac_compile" 2>conftest.err)
    44604799  cat conftest.err >&5
    4461   (eval echo "\"\$as_me:4461: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     4800  (eval echo "\"\$as_me:4800: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    44624801  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    44634802  cat conftest.err >&5
    4464   (eval echo "\"\$as_me:4464: output\"" >&5)
     4803  (eval echo "\"\$as_me:4803: output\"" >&5)
    44654804  cat conftest.out >&5
    44664805  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     
    56365975
    56375976
    5638 
    56395977# Check whether --enable-libtool-lock was given.
    56405978if test "${enable_libtool_lock+set}" = set; then :
     
    56686006*-*-irix6*)
    56696007  # Find out which ABI we are using.
    5670   echo '#line 5670 "configure"' > conftest.$ac_ext
     6008  echo '#line 6008 "configure"' > conftest.$ac_ext
    56716009  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    56726010  (eval $ac_compile) 2>&5
     
    64156753  esac
    64166754
    6417 ac_ext=c
    6418 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_gnu
    6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    6423 $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"; then
    6426   CPP=
    6427 fi
    6428 if test -z "$CPP"; then
    6429   if test "${ac_cv_prog_CPP+set}" = set; then :
    6430   $as_echo_n "(cached) " >&6
    6431 else
    6432       # Double quotes because CPP needs to be expanded
    6433     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    6434     do
    6435       ac_preproc_ok=false
    6436 for ac_c_preproc_warn_flag in '' yes
    6437 do
    6438   # Use a header file that comes with gcc, so configuring glibc
    6439   # with a fresh cross-compiler works.
    6440   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6441   # <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_ext
    6445 /* end confdefs.h.  */
    6446 #ifdef __STDC__
    6447 # include <limits.h>
    6448 #else
    6449 # include <assert.h>
    6450 #endif
    6451                      Syntax error
    6452 _ACEOF
    6453 if ac_fn_c_try_cpp "$LINENO"; then :
    6454 
    6455 else
    6456   # Broken: fails on valid input.
    6457 continue
    6458 fi
    6459 rm -f conftest.err conftest.i conftest.$ac_ext
    6460 
    6461   # OK, works on sane cases.  Now check whether nonexistent headers
    6462   # can be detected and how.
    6463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6464 /* end confdefs.h.  */
    6465 #include <ac_nonexistent.h>
    6466 _ACEOF
    6467 if ac_fn_c_try_cpp "$LINENO"; then :
    6468   # Broken: success on invalid input.
    6469 continue
    6470 else
    6471   # Passes both tests.
    6472 ac_preproc_ok=:
    6473 break
    6474 fi
    6475 rm -f conftest.err conftest.i conftest.$ac_ext
    6476 
    6477 done
    6478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    6479 rm -f conftest.i conftest.err conftest.$ac_ext
    6480 if $ac_preproc_ok; then :
    6481   break
    6482 fi
    6483 
    6484     done
    6485     ac_cv_prog_CPP=$CPP
    6486 
    6487 fi
    6488   CPP=$ac_cv_prog_CPP
    6489 else
    6490   ac_cv_prog_CPP=$CPP
    6491 fi
    6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    6493 $as_echo "$CPP" >&6; }
    6494 ac_preproc_ok=false
    6495 for ac_c_preproc_warn_flag in '' yes
    6496 do
    6497   # Use a header file that comes with gcc, so configuring glibc
    6498   # with a fresh cross-compiler works.
    6499   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6500   # <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_ext
    6504 /* end confdefs.h.  */
    6505 #ifdef __STDC__
    6506 # include <limits.h>
    6507 #else
    6508 # include <assert.h>
    6509 #endif
    6510                      Syntax error
    6511 _ACEOF
    6512 if ac_fn_c_try_cpp "$LINENO"; then :
    6513 
    6514 else
    6515   # Broken: fails on valid input.
    6516 continue
    6517 fi
    6518 rm -f conftest.err conftest.i conftest.$ac_ext
    6519 
    6520   # OK, works on sane cases.  Now check whether nonexistent headers
    6521   # can be detected and how.
    6522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6523 /* end confdefs.h.  */
    6524 #include <ac_nonexistent.h>
    6525 _ACEOF
    6526 if ac_fn_c_try_cpp "$LINENO"; then :
    6527   # Broken: success on invalid input.
    6528 continue
    6529 else
    6530   # Passes both tests.
    6531 ac_preproc_ok=:
    6532 break
    6533 fi
    6534 rm -f conftest.err conftest.i conftest.$ac_ext
    6535 
    6536 done
    6537 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    6538 rm -f conftest.i conftest.err conftest.$ac_ext
    6539 if $ac_preproc_ok; then :
    6540 
    6541 else
    6542   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    6543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6544 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    6545 See \`config.log' for more details" "$LINENO" 5 ; }
    6546 fi
    6547 
    6548 ac_ext=c
    6549 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_gnu
    6553 
    6554 
    6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    6556 $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) " >&6
    6559 else
    6560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6561 /* end confdefs.h.  */
    6562 #include <stdlib.h>
    6563 #include <stdarg.h>
    6564 #include <string.h>
    6565 #include <float.h>
    6566 
    6567 int
    6568 main ()
    6569 {
    6570 
    6571   ;
    6572   return 0;
    6573 }
    6574 _ACEOF
    6575 if ac_fn_c_try_compile "$LINENO"; then :
    6576   ac_cv_header_stdc=yes
    6577 else
    6578   ac_cv_header_stdc=no
    6579 fi
    6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6581 
    6582 if test $ac_cv_header_stdc = yes; then
    6583   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    6584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6585 /* end confdefs.h.  */
    6586 #include <string.h>
    6587 
    6588 _ACEOF
    6589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6590   $EGREP "memchr" >/dev/null 2>&1; then :
    6591 
    6592 else
    6593   ac_cv_header_stdc=no
    6594 fi
    6595 rm -f conftest*
    6596 
    6597 fi
    6598 
    6599 if test $ac_cv_header_stdc = yes; then
    6600   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    6601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6602 /* end confdefs.h.  */
    6603 #include <stdlib.h>
    6604 
    6605 _ACEOF
    6606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6607   $EGREP "free" >/dev/null 2>&1; then :
    6608 
    6609 else
    6610   ac_cv_header_stdc=no
    6611 fi
    6612 rm -f conftest*
    6613 
    6614 fi
    6615 
    6616 if test $ac_cv_header_stdc = yes; then
    6617   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    6618   if test "$cross_compiling" = yes; then :
    6619   :
    6620 else
    6621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6622 /* 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 #else
    6629 # 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 #endif
    6635 
    6636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    6637 int
    6638 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 _ACEOF
    6648 if ac_fn_c_try_run "$LINENO"; then :
    6649 
    6650 else
    6651   ac_cv_header_stdc=no
    6652 fi
    6653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    6654   conftest.$ac_objext conftest.beam conftest.$ac_ext
    6655 fi
    6656 
    6657 fi
    6658 fi
    6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    6660 $as_echo "$ac_cv_header_stdc" >&6; }
    6661 if test $ac_cv_header_stdc = yes; then
    6662 
    6663 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
    6664 
    6665 fi
    6666 
    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.h
    6670 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_default
    6673 "
    6674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    6675   cat >>confdefs.h <<_ACEOF
    6676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6677 _ACEOF
    6678 
    6679 fi
    6680 
    6681 done
    6682 
    6683 
    66846755for ac_header in dlfcn.h
    66856756do :
     
    75967667   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    75977668   -e 's:$: $lt_compiler_flag:'`
    7598    (eval echo "\"\$as_me:7598: $lt_compile\"" >&5)
     7669   (eval echo "\"\$as_me:7669: $lt_compile\"" >&5)
    75997670   (eval "$lt_compile" 2>conftest.err)
    76007671   ac_status=$?
    76017672   cat conftest.err >&5
    7602    echo "$as_me:7602: \$? = $ac_status" >&5
     7673   echo "$as_me:7673: \$? = $ac_status" >&5
    76037674   if (exit $ac_status) && test -s "$ac_outfile"; then
    76047675     # The compiler can only warn and ignore the option if not recognized
     
    79358006   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    79368007   -e 's:$: $lt_compiler_flag:'`
    7937    (eval echo "\"\$as_me:7937: $lt_compile\"" >&5)
     8008   (eval echo "\"\$as_me:8008: $lt_compile\"" >&5)
    79388009   (eval "$lt_compile" 2>conftest.err)
    79398010   ac_status=$?
    79408011   cat conftest.err >&5
    7941    echo "$as_me:7941: \$? = $ac_status" >&5
     8012   echo "$as_me:8012: \$? = $ac_status" >&5
    79428013   if (exit $ac_status) && test -s "$ac_outfile"; then
    79438014     # The compiler can only warn and ignore the option if not recognized
     
    80408111   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    80418112   -e 's:$: $lt_compiler_flag:'`
    8042    (eval echo "\"\$as_me:8042: $lt_compile\"" >&5)
     8113   (eval echo "\"\$as_me:8113: $lt_compile\"" >&5)
    80438114   (eval "$lt_compile" 2>out/conftest.err)
    80448115   ac_status=$?
    80458116   cat out/conftest.err >&5
    8046    echo "$as_me:8046: \$? = $ac_status" >&5
     8117   echo "$as_me:8117: \$? = $ac_status" >&5
    80478118   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    80488119   then
     
    80958166   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    80968167   -e 's:$: $lt_compiler_flag:'`
    8097    (eval echo "\"\$as_me:8097: $lt_compile\"" >&5)
     8168   (eval echo "\"\$as_me:8168: $lt_compile\"" >&5)
    80988169   (eval "$lt_compile" 2>out/conftest.err)
    80998170   ac_status=$?
    81008171   cat out/conftest.err >&5
    8101    echo "$as_me:8101: \$? = $ac_status" >&5
     8172   echo "$as_me:8172: \$? = $ac_status" >&5
    81028173   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    81038174   then
     
    1047910550  lt_status=$lt_dlunknown
    1048010551  cat > conftest.$ac_ext <<_LT_EOF
    10481 #line 10481 "configure"
     10552#line 10552 "configure"
    1048210553#include "confdefs.h"
    1048310554
     
    1057510646  lt_status=$lt_dlunknown
    1057610647  cat > conftest.$ac_ext <<_LT_EOF
    10577 #line 10577 "configure"
     10648#line 10648 "configure"
    1057810649#include "confdefs.h"
    1057910650
     
    1253112602   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1253212603   -e 's:$: $lt_compiler_flag:'`
    12533    (eval echo "\"\$as_me:12533: $lt_compile\"" >&5)
     12604   (eval echo "\"\$as_me:12604: $lt_compile\"" >&5)
    1253412605   (eval "$lt_compile" 2>conftest.err)
    1253512606   ac_status=$?
    1253612607   cat conftest.err >&5
    12537    echo "$as_me:12537: \$? = $ac_status" >&5
     12608   echo "$as_me:12608: \$? = $ac_status" >&5
    1253812609   if (exit $ac_status) && test -s "$ac_outfile"; then
    1253912610     # The compiler can only warn and ignore the option if not recognized
     
    1263012701   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1263112702   -e 's:$: $lt_compiler_flag:'`
    12632    (eval echo "\"\$as_me:12632: $lt_compile\"" >&5)
     12703   (eval echo "\"\$as_me:12703: $lt_compile\"" >&5)
    1263312704   (eval "$lt_compile" 2>out/conftest.err)
    1263412705   ac_status=$?
    1263512706   cat out/conftest.err >&5
    12636    echo "$as_me:12636: \$? = $ac_status" >&5
     12707   echo "$as_me:12707: \$? = $ac_status" >&5
    1263712708   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1263812709   then
     
    1268212753   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1268312754   -e 's:$: $lt_compiler_flag:'`
    12684    (eval echo "\"\$as_me:12684: $lt_compile\"" >&5)
     12755   (eval echo "\"\$as_me:12755: $lt_compile\"" >&5)
    1268512756   (eval "$lt_compile" 2>out/conftest.err)
    1268612757   ac_status=$?
    1268712758   cat out/conftest.err >&5
    12688    echo "$as_me:12688: \$? = $ac_status" >&5
     12759   echo "$as_me:12759: \$? = $ac_status" >&5
    1268912760   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1269012761   then
     
    2161521686
    2161621687                cat > conftest.$ac_ext <<EOF
    21617 #line 21617 "configure"
     21688#line 21688 "configure"
    2161821689#include "confdefs.h"
    2161921690#include <qglobal.h>
Note: See TracChangeset for help on using the changeset viewer.