ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.46 by root, Sun Mar 6 13:49:49 2011 UTC vs.
Revision 1.50 by root, Wed Jul 10 01:51:40 2013 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67. 3# Generated by GNU Autoconf 2.69.
4# 4#
5# 5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9# 7#
10# 8#
11# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ## 11## -------------------- ##
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.) 86# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl" 87IFS=" "" $as_nl"
90 88
91# Find who we are. Look in the path if we contain no directory separator. 89# Find who we are. Look in the path if we contain no directory separator.
90as_myself=
92case $0 in #(( 91case $0 in #((
93 *[\\/]* ) as_myself=$0 ;; 92 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH 94for as_dir in $PATH
96do 95do
131export LANGUAGE 130export LANGUAGE
132 131
133# CDPATH. 132# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 134
135# Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
136if test "x$CONFIG_SHELL" = x; then 160if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh 162 emulate sh
139 NULLCMD=: 163 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 189
166else 190else
167 exitcode=1; echo positional parameters were not saved. 191 exitcode=1; echo positional parameters were not saved.
168fi 192fi
169test x\$exitcode = x0 || exit 1" 193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1" 199test \$(( 1 + 1 )) = 2 || exit 1"
209fi; } 234fi; }
210IFS=$as_save_IFS 235IFS=$as_save_IFS
211 236
212 237
213 if test "x$CONFIG_SHELL" != x; then : 238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
214 # We cannot yet assume a decent shell, so we have to provide a 240 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also 241# neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables. 242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
217 BASH_ENV=/dev/null 244BASH_ENV=/dev/null
218 ENV=/dev/null 245ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL 247case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252esac
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
222fi 258fi
223 259
224 if test x$as_have_required = xno; then : 260 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system." 262 $as_echo "$0: the shells that I found on your system."
318 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320 356
321 357
322} # as_fn_mkdir_p 358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365 test -f "$1" && test -x "$1"
366} # as_fn_executable_p
323# as_fn_append VAR VALUE 367# as_fn_append VAR VALUE
324# ---------------------- 368# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take 369# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over 370# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive 371# repeated appends, instead of the typical quadratic growth present in naive
439 s/-\n.*// 483 s/-\n.*//
440 ' >$as_me.lineno && 484 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" || 485 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
444 # Don't try to exec as it changes $[0], causing all sort of problems 492 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the 493 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this). 494 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno" 495 . "./$as_me.lineno"
448 # Exit status is that of the last command. 496 # Exit status is that of the last command.
473 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s' 522 as_ln_s='ln -s'
475 # ... but there are two gotchas: 523 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'. 526 # In both cases, we have to default to `cp -pR'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p' 528 as_ln_s='cp -pR'
481 elif ln conf$$.file conf$$ 2>/dev/null; then 529 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln 530 as_ln_s=ln
483 else 531 else
484 as_ln_s='cp -p' 532 as_ln_s='cp -pR'
485 fi 533 fi
486else 534else
487 as_ln_s='cp -p' 535 as_ln_s='cp -pR'
488fi 536fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null 538rmdir conf$$.dir 2>/dev/null
491 539
492if mkdir -p . 2>/dev/null; then 540if mkdir -p . 2>/dev/null; then
494else 542else
495 test -d ./-p && rmdir ./-p 543 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false 544 as_mkdir_p=false
497fi 545fi
498 546
499if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x' 547as_test_x='test -x'
501else 548as_executable_p=as_fn_executable_p
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519fi
520as_executable_p=$as_test_x
521 549
522# Sed expression to map a string onto a valid CPP name. 550# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 552
525# Sed expression to map a string onto a valid variable name. 553# Sed expression to map a string onto a valid variable name.
624LIBICONV 652LIBICONV
625USE_NLS 653USE_NLS
626am__fastdepCC_FALSE 654am__fastdepCC_FALSE
627am__fastdepCC_TRUE 655am__fastdepCC_TRUE
628CCDEPMODE 656CCDEPMODE
657am__nodep
629AMDEPBACKSLASH 658AMDEPBACKSLASH
630AMDEP_FALSE 659AMDEP_FALSE
631AMDEP_TRUE 660AMDEP_TRUE
632am__quote 661am__quote
633am__include 662am__include
732with_libintl_prefix 761with_libintl_prefix
733enable_iftype 762enable_iftype
734with_kernel 763with_kernel
735with_openssl_include 764with_openssl_include
736with_openssl_lib 765with_openssl_lib
766enable_threads
737enable_static_daemon 767enable_static_daemon
738enable_icmp 768enable_icmp
739enable_tcp 769enable_tcp
740enable_http_proxy 770enable_http_proxy
741enable_dns 771enable_dns
1161 *) 1191 *)
1162 # FIXME: should be removed in autoconf 3.0. 1192 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1167 ;; 1197 ;;
1168 1198
1169 esac 1199 esac
1170done 1200done
1171 1201
1212 1242
1213# FIXME: To remove some day. 1243# FIXME: To remove some day.
1214if test "x$host_alias" != x; then 1244if test "x$host_alias" != x; then
1215 if test "x$build_alias" = x; then 1245 if test "x$build_alias" = x; then
1216 cross_compiling=maybe 1246 cross_compiling=maybe
1217 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1218 If a cross compiler is detected then cross compile mode will be used" >&2
1219 elif test "x$build_alias" != "x$host_alias"; then 1247 elif test "x$build_alias" != "x$host_alias"; then
1220 cross_compiling=yes 1248 cross_compiling=yes
1221 fi 1249 fi
1222fi 1250fi
1223 1251
1392 "tincd/darwin" "native/cygwin"; Untested 1420 "tincd/darwin" "native/cygwin"; Untested
1393 combinations are: "tincd/bsd" "tincd/solaris" 1421 combinations are: "tincd/bsd" "tincd/solaris"
1394 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket"; 1422 "tincd/mingw" "tincd/raw_socket" "tincd/uml_socket";
1395 Broken combinations are: "tincd/cygwin"; The default 1423 Broken combinations are: "tincd/cygwin"; The default
1396 is to autodetect. 1424 is to autodetect.
1425 --enable-threads try to use threads for long-running asynchronous
1426 operations (default enabled).
1397 --enable-static-daemon enable statically linked daemon. 1427 --enable-static-daemon enable statically linked daemon.
1398 --disable-icmp enable icmp protocol support (default enabled). 1428 --disable-icmp enable icmp protocol support (default enabled).
1399 --disable-tcp enable tcp protocol support (default enabled). 1429 --disable-tcp enable tcp protocol support (default enabled).
1400 --disable-http-proxy enable http proxy connect support (default enabled). 1430 --disable-http-proxy enable http proxy connect support (default enabled).
1401 --enable-dns enable dns tunnel protocol support (default 1431 --enable-dns enable dns tunnel protocol support (default
1508 1538
1509test -n "$ac_init_help" && exit $ac_status 1539test -n "$ac_init_help" && exit $ac_status
1510if $ac_init_version; then 1540if $ac_init_version; then
1511 cat <<\_ACEOF 1541 cat <<\_ACEOF
1512configure 1542configure
1513generated by GNU Autoconf 2.67 1543generated by GNU Autoconf 2.69
1514 1544
1515Copyright (C) 2010 Free Software Foundation, Inc. 1545Copyright (C) 2012 Free Software Foundation, Inc.
1516This configure script is free software; the Free Software Foundation 1546This configure script is free software; the Free Software Foundation
1517gives unlimited permission to copy, distribute and modify it. 1547gives unlimited permission to copy, distribute and modify it.
1518_ACEOF 1548_ACEOF
1519 exit 1549 exit
1520fi 1550fi
1554 $as_echo "$as_me: failed program was:" >&5 1584 $as_echo "$as_me: failed program was:" >&5
1555sed 's/^/| /' conftest.$ac_ext >&5 1585sed 's/^/| /' conftest.$ac_ext >&5
1556 1586
1557 ac_retval=1 1587 ac_retval=1
1558fi 1588fi
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560 as_fn_set_status $ac_retval 1590 as_fn_set_status $ac_retval
1561 1591
1562} # ac_fn_c_try_compile 1592} # ac_fn_c_try_compile
1563 1593
1564# ac_fn_c_try_link LINENO 1594# ac_fn_c_try_link LINENO
1586 test $ac_status = 0; } && { 1616 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" || 1617 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err 1618 test ! -s conftest.err
1589 } && test -s conftest$ac_exeext && { 1619 } && test -s conftest$ac_exeext && {
1590 test "$cross_compiling" = yes || 1620 test "$cross_compiling" = yes ||
1591 $as_test_x conftest$ac_exeext 1621 test -x conftest$ac_exeext
1592 }; then : 1622 }; then :
1593 ac_retval=0 1623 ac_retval=0
1594else 1624else
1595 $as_echo "$as_me: failed program was:" >&5 1625 $as_echo "$as_me: failed program was:" >&5
1596sed 's/^/| /' conftest.$ac_ext >&5 1626sed 's/^/| /' conftest.$ac_ext >&5
1600 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1630 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1601 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1631 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1602 # interfere with the next link command; also delete a directory that is 1632 # interfere with the next link command; also delete a directory that is
1603 # left behind by Apple's compiler. We do this before executing the actions. 1633 # left behind by Apple's compiler. We do this before executing the actions.
1604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606 as_fn_set_status $ac_retval 1636 as_fn_set_status $ac_retval
1607 1637
1608} # ac_fn_c_try_link 1638} # ac_fn_c_try_link
1609 1639
1610# ac_fn_c_try_cpp LINENO 1640# ac_fn_c_try_cpp LINENO
1637 $as_echo "$as_me: failed program was:" >&5 1667 $as_echo "$as_me: failed program was:" >&5
1638sed 's/^/| /' conftest.$ac_ext >&5 1668sed 's/^/| /' conftest.$ac_ext >&5
1639 1669
1640 ac_retval=1 1670 ac_retval=1
1641fi 1671fi
1642 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval 1673 as_fn_set_status $ac_retval
1644 1674
1645} # ac_fn_c_try_cpp 1675} # ac_fn_c_try_cpp
1646 1676
1647# ac_fn_cxx_try_compile LINENO 1677# ac_fn_cxx_try_compile LINENO
1675 $as_echo "$as_me: failed program was:" >&5 1705 $as_echo "$as_me: failed program was:" >&5
1676sed 's/^/| /' conftest.$ac_ext >&5 1706sed 's/^/| /' conftest.$ac_ext >&5
1677 1707
1678 ac_retval=1 1708 ac_retval=1
1679fi 1709fi
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval 1711 as_fn_set_status $ac_retval
1682 1712
1683} # ac_fn_cxx_try_compile 1713} # ac_fn_cxx_try_compile
1684 1714
1685# ac_fn_cxx_try_cpp LINENO 1715# ac_fn_cxx_try_cpp LINENO
1712 $as_echo "$as_me: failed program was:" >&5 1742 $as_echo "$as_me: failed program was:" >&5
1713sed 's/^/| /' conftest.$ac_ext >&5 1743sed 's/^/| /' conftest.$ac_ext >&5
1714 1744
1715 ac_retval=1 1745 ac_retval=1
1716fi 1746fi
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 as_fn_set_status $ac_retval 1748 as_fn_set_status $ac_retval
1719 1749
1720} # ac_fn_cxx_try_cpp 1750} # ac_fn_cxx_try_cpp
1721 1751
1722# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1752# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1725# the include files in INCLUDES and setting the cache variable VAR 1755# the include files in INCLUDES and setting the cache variable VAR
1726# accordingly. 1756# accordingly.
1727ac_fn_cxx_check_header_mongrel () 1757ac_fn_cxx_check_header_mongrel ()
1728{ 1758{
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 if eval "test \"\${$3+set}\"" = set; then : 1760 if eval \${$3+:} false; then :
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732$as_echo_n "checking for $2... " >&6; } 1762$as_echo_n "checking for $2... " >&6; }
1733if eval "test \"\${$3+set}\"" = set; then : 1763if eval \${$3+:} false; then :
1734 $as_echo_n "(cached) " >&6 1764 $as_echo_n "(cached) " >&6
1735fi 1765fi
1736eval ac_res=\$$3 1766eval ac_res=\$$3
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738$as_echo "$ac_res" >&6; } 1768$as_echo "$ac_res" >&6; }
1791$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1821$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1792 ;; 1822 ;;
1793esac 1823esac
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795$as_echo_n "checking for $2... " >&6; } 1825$as_echo_n "checking for $2... " >&6; }
1796if eval "test \"\${$3+set}\"" = set; then : 1826if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6 1827 $as_echo_n "(cached) " >&6
1798else 1828else
1799 eval "$3=\$ac_header_compiler" 1829 eval "$3=\$ac_header_compiler"
1800fi 1830fi
1801eval ac_res=\$$3 1831eval ac_res=\$$3
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803$as_echo "$ac_res" >&6; } 1833$as_echo "$ac_res" >&6; }
1804fi 1834fi
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 1836
1807} # ac_fn_cxx_check_header_mongrel 1837} # ac_fn_cxx_check_header_mongrel
1808 1838
1809# ac_fn_cxx_try_run LINENO 1839# ac_fn_cxx_try_run LINENO
1810# ------------------------ 1840# ------------------------
1841sed 's/^/| /' conftest.$ac_ext >&5 1871sed 's/^/| /' conftest.$ac_ext >&5
1842 1872
1843 ac_retval=$ac_status 1873 ac_retval=$ac_status
1844fi 1874fi
1845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status $ac_retval 1877 as_fn_set_status $ac_retval
1848 1878
1849} # ac_fn_cxx_try_run 1879} # ac_fn_cxx_try_run
1850 1880
1851# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1881# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1855ac_fn_cxx_check_header_compile () 1885ac_fn_cxx_check_header_compile ()
1856{ 1886{
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859$as_echo_n "checking for $2... " >&6; } 1889$as_echo_n "checking for $2... " >&6; }
1860if eval "test \"\${$3+set}\"" = set; then : 1890if eval \${$3+:} false; then :
1861 $as_echo_n "(cached) " >&6 1891 $as_echo_n "(cached) " >&6
1862else 1892else
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864/* end confdefs.h. */ 1894/* end confdefs.h. */
1865$4 1895$4
1873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874fi 1904fi
1875eval ac_res=\$$3 1905eval ac_res=\$$3
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877$as_echo "$ac_res" >&6; } 1907$as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 1909
1880} # ac_fn_cxx_check_header_compile 1910} # ac_fn_cxx_check_header_compile
1881 1911
1882# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1912# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1883# --------------------------------------------- 1913# ---------------------------------------------
1886ac_fn_cxx_check_type () 1916ac_fn_cxx_check_type ()
1887{ 1917{
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890$as_echo_n "checking for $2... " >&6; } 1920$as_echo_n "checking for $2... " >&6; }
1891if eval "test \"\${$3+set}\"" = set; then : 1921if eval \${$3+:} false; then :
1892 $as_echo_n "(cached) " >&6 1922 $as_echo_n "(cached) " >&6
1893else 1923else
1894 eval "$3=no" 1924 eval "$3=no"
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896/* end confdefs.h. */ 1926/* end confdefs.h. */
1927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928fi 1958fi
1929eval ac_res=\$$3 1959eval ac_res=\$$3
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931$as_echo "$ac_res" >&6; } 1961$as_echo "$ac_res" >&6; }
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933 1963
1934} # ac_fn_cxx_check_type 1964} # ac_fn_cxx_check_type
1935 1965
1936# ac_fn_c_try_run LINENO 1966# ac_fn_c_try_run LINENO
1937# ---------------------- 1967# ----------------------
1968sed 's/^/| /' conftest.$ac_ext >&5 1998sed 's/^/| /' conftest.$ac_ext >&5
1969 1999
1970 ac_retval=$ac_status 2000 ac_retval=$ac_status
1971fi 2001fi
1972 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2002 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974 as_fn_set_status $ac_retval 2004 as_fn_set_status $ac_retval
1975 2005
1976} # ac_fn_c_try_run 2006} # ac_fn_c_try_run
1977 2007
1978# ac_fn_c_check_func LINENO FUNC VAR 2008# ac_fn_c_check_func LINENO FUNC VAR
1981ac_fn_c_check_func () 2011ac_fn_c_check_func ()
1982{ 2012{
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985$as_echo_n "checking for $2... " >&6; } 2015$as_echo_n "checking for $2... " >&6; }
1986if eval "test \"\${$3+set}\"" = set; then : 2016if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6 2017 $as_echo_n "(cached) " >&6
1988else 2018else
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990/* end confdefs.h. */ 2020/* end confdefs.h. */
1991/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2021/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2036 conftest$ac_exeext conftest.$ac_ext 2066 conftest$ac_exeext conftest.$ac_ext
2037fi 2067fi
2038eval ac_res=\$$3 2068eval ac_res=\$$3
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040$as_echo "$ac_res" >&6; } 2070$as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042 2072
2043} # ac_fn_c_check_func 2073} # ac_fn_c_check_func
2044 2074
2045# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2075# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2046# ------------------------------------------------------- 2076# -------------------------------------------------------
2048# the include files in INCLUDES and setting the cache variable VAR 2078# the include files in INCLUDES and setting the cache variable VAR
2049# accordingly. 2079# accordingly.
2050ac_fn_c_check_header_mongrel () 2080ac_fn_c_check_header_mongrel ()
2051{ 2081{
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 if eval "test \"\${$3+set}\"" = set; then : 2083 if eval \${$3+:} false; then :
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055$as_echo_n "checking for $2... " >&6; } 2085$as_echo_n "checking for $2... " >&6; }
2056if eval "test \"\${$3+set}\"" = set; then : 2086if eval \${$3+:} false; then :
2057 $as_echo_n "(cached) " >&6 2087 $as_echo_n "(cached) " >&6
2058fi 2088fi
2059eval ac_res=\$$3 2089eval ac_res=\$$3
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061$as_echo "$ac_res" >&6; } 2091$as_echo "$ac_res" >&6; }
2114$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2144$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115 ;; 2145 ;;
2116esac 2146esac
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2118$as_echo_n "checking for $2... " >&6; } 2148$as_echo_n "checking for $2... " >&6; }
2119if eval "test \"\${$3+set}\"" = set; then : 2149if eval \${$3+:} false; then :
2120 $as_echo_n "(cached) " >&6 2150 $as_echo_n "(cached) " >&6
2121else 2151else
2122 eval "$3=\$ac_header_compiler" 2152 eval "$3=\$ac_header_compiler"
2123fi 2153fi
2124eval ac_res=\$$3 2154eval ac_res=\$$3
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126$as_echo "$ac_res" >&6; } 2156$as_echo "$ac_res" >&6; }
2127fi 2157fi
2128 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2129 2159
2130} # ac_fn_c_check_header_mongrel 2160} # ac_fn_c_check_header_mongrel
2131 2161
2132# ac_fn_cxx_try_link LINENO 2162# ac_fn_cxx_try_link LINENO
2133# ------------------------- 2163# -------------------------
2154 test $ac_status = 0; } && { 2184 test $ac_status = 0; } && {
2155 test -z "$ac_cxx_werror_flag" || 2185 test -z "$ac_cxx_werror_flag" ||
2156 test ! -s conftest.err 2186 test ! -s conftest.err
2157 } && test -s conftest$ac_exeext && { 2187 } && test -s conftest$ac_exeext && {
2158 test "$cross_compiling" = yes || 2188 test "$cross_compiling" = yes ||
2159 $as_test_x conftest$ac_exeext 2189 test -x conftest$ac_exeext
2160 }; then : 2190 }; then :
2161 ac_retval=0 2191 ac_retval=0
2162else 2192else
2163 $as_echo "$as_me: failed program was:" >&5 2193 $as_echo "$as_me: failed program was:" >&5
2164sed 's/^/| /' conftest.$ac_ext >&5 2194sed 's/^/| /' conftest.$ac_ext >&5
2168 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2198 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2169 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2199 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2170 # interfere with the next link command; also delete a directory that is 2200 # interfere with the next link command; also delete a directory that is
2171 # left behind by Apple's compiler. We do this before executing the actions. 2201 # left behind by Apple's compiler. We do this before executing the actions.
2172 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2202 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2173 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2174 as_fn_set_status $ac_retval 2204 as_fn_set_status $ac_retval
2175 2205
2176} # ac_fn_cxx_try_link 2206} # ac_fn_cxx_try_link
2177 2207
2178# ac_fn_cxx_check_func LINENO FUNC VAR 2208# ac_fn_cxx_check_func LINENO FUNC VAR
2181ac_fn_cxx_check_func () 2211ac_fn_cxx_check_func ()
2182{ 2212{
2183 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185$as_echo_n "checking for $2... " >&6; } 2215$as_echo_n "checking for $2... " >&6; }
2186if eval "test \"\${$3+set}\"" = set; then : 2216if eval \${$3+:} false; then :
2187 $as_echo_n "(cached) " >&6 2217 $as_echo_n "(cached) " >&6
2188else 2218else
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190/* end confdefs.h. */ 2220/* end confdefs.h. */
2191/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2221/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2236 conftest$ac_exeext conftest.$ac_ext 2266 conftest$ac_exeext conftest.$ac_ext
2237fi 2267fi
2238eval ac_res=\$$3 2268eval ac_res=\$$3
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2240$as_echo "$ac_res" >&6; } 2270$as_echo "$ac_res" >&6; }
2241 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2242 2272
2243} # ac_fn_cxx_check_func 2273} # ac_fn_cxx_check_func
2244cat >config.log <<_ACEOF 2274cat >config.log <<_ACEOF
2245This file contains any messages produced by compilers while 2275This file contains any messages produced by compilers while
2246running configure, to aid debugging if configure makes a mistake. 2276running configure, to aid debugging if configure makes a mistake.
2247 2277
2248It was created by $as_me, which was 2278It was created by $as_me, which was
2249generated by GNU Autoconf 2.67. Invocation command line was 2279generated by GNU Autoconf 2.69. Invocation command line was
2250 2280
2251 $ $0 $@ 2281 $ $0 $@
2252 2282
2253_ACEOF 2283_ACEOF
2254exec 5>>config.log 2284exec 5>>config.log
2502 sed 's/^/| /' "$ac_site_file" >&5 2532 sed 's/^/| /' "$ac_site_file" >&5
2503 . "$ac_site_file" \ 2533 . "$ac_site_file" \
2504 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2534 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506as_fn_error $? "failed to load site script $ac_site_file 2536as_fn_error $? "failed to load site script $ac_site_file
2507See \`config.log' for more details" "$LINENO" 5 ; } 2537See \`config.log' for more details" "$LINENO" 5; }
2508 fi 2538 fi
2509done 2539done
2510 2540
2511if test -r "$cache_file"; then 2541if test -r "$cache_file"; then
2512 # Some versions of bash will fail to source /dev/null (special files 2542 # Some versions of bash will fail to source /dev/null (special files
2627$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2657$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2628 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2658 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2629 2659
2630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2631$as_echo_n "checking build system type... " >&6; } 2661$as_echo_n "checking build system type... " >&6; }
2632if test "${ac_cv_build+set}" = set; then : 2662if ${ac_cv_build+:} false; then :
2633 $as_echo_n "(cached) " >&6 2663 $as_echo_n "(cached) " >&6
2634else 2664else
2635 ac_build_alias=$build_alias 2665 ac_build_alias=$build_alias
2636test "x$ac_build_alias" = x && 2666test "x$ac_build_alias" = x &&
2637 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2667 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2643fi 2673fi
2644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2645$as_echo "$ac_cv_build" >&6; } 2675$as_echo "$ac_cv_build" >&6; }
2646case $ac_cv_build in 2676case $ac_cv_build in
2647*-*-*) ;; 2677*-*-*) ;;
2648*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2678*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2649esac 2679esac
2650build=$ac_cv_build 2680build=$ac_cv_build
2651ac_save_IFS=$IFS; IFS='-' 2681ac_save_IFS=$IFS; IFS='-'
2652set x $ac_cv_build 2682set x $ac_cv_build
2653shift 2683shift
2661case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2691case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2662 2692
2663 2693
2664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2665$as_echo_n "checking host system type... " >&6; } 2695$as_echo_n "checking host system type... " >&6; }
2666if test "${ac_cv_host+set}" = set; then : 2696if ${ac_cv_host+:} false; then :
2667 $as_echo_n "(cached) " >&6 2697 $as_echo_n "(cached) " >&6
2668else 2698else
2669 if test "x$host_alias" = x; then 2699 if test "x$host_alias" = x; then
2670 ac_cv_host=$ac_cv_build 2700 ac_cv_host=$ac_cv_build
2671else 2701else
2676fi 2706fi
2677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2678$as_echo "$ac_cv_host" >&6; } 2708$as_echo "$ac_cv_host" >&6; }
2679case $ac_cv_host in 2709case $ac_cv_host in
2680*-*-*) ;; 2710*-*-*) ;;
2681*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2711*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2682esac 2712esac
2683host=$ac_cv_host 2713host=$ac_cv_host
2684ac_save_IFS=$IFS; IFS='-' 2714ac_save_IFS=$IFS; IFS='-'
2685set x $ac_cv_host 2715set x $ac_cv_host
2686shift 2716shift
2694case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2724case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2695 2725
2696 2726
2697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2698$as_echo_n "checking target system type... " >&6; } 2728$as_echo_n "checking target system type... " >&6; }
2699if test "${ac_cv_target+set}" = set; then : 2729if ${ac_cv_target+:} false; then :
2700 $as_echo_n "(cached) " >&6 2730 $as_echo_n "(cached) " >&6
2701else 2731else
2702 if test "x$target_alias" = x; then 2732 if test "x$target_alias" = x; then
2703 ac_cv_target=$ac_cv_host 2733 ac_cv_target=$ac_cv_host
2704else 2734else
2709fi 2739fi
2710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2711$as_echo "$ac_cv_target" >&6; } 2741$as_echo "$ac_cv_target" >&6; }
2712case $ac_cv_target in 2742case $ac_cv_target in
2713*-*-*) ;; 2743*-*-*) ;;
2714*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2744*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2715esac 2745esac
2716target=$ac_cv_target 2746target=$ac_cv_target
2717ac_save_IFS=$IFS; IFS='-' 2747ac_save_IFS=$IFS; IFS='-'
2718set x $ac_cv_target 2748set x $ac_cv_target
2719shift 2749shift
2750# ./install, which can be erroneously created by make from ./install.sh. 2780# ./install, which can be erroneously created by make from ./install.sh.
2751# Reject install programs that cannot install multiple files. 2781# Reject install programs that cannot install multiple files.
2752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2753$as_echo_n "checking for a BSD-compatible install... " >&6; } 2783$as_echo_n "checking for a BSD-compatible install... " >&6; }
2754if test -z "$INSTALL"; then 2784if test -z "$INSTALL"; then
2755if test "${ac_cv_path_install+set}" = set; then : 2785if ${ac_cv_path_install+:} false; then :
2756 $as_echo_n "(cached) " >&6 2786 $as_echo_n "(cached) " >&6
2757else 2787else
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759for as_dir in $PATH 2789for as_dir in $PATH
2760do 2790do
2770 # OSF1 and SCO ODT 3.0 have their own names for install. 2800 # OSF1 and SCO ODT 3.0 have their own names for install.
2771 # Don't use installbsd from OSF since it installs stuff as root 2801 # Don't use installbsd from OSF since it installs stuff as root
2772 # by default. 2802 # by default.
2773 for ac_prog in ginstall scoinst install; do 2803 for ac_prog in ginstall scoinst install; do
2774 for ac_exec_ext in '' $ac_executable_extensions; do 2804 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2805 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2776 if test $ac_prog = install && 2806 if test $ac_prog = install &&
2777 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2807 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2778 # AIX install. It has an incompatible calling convention. 2808 # AIX install. It has an incompatible calling convention.
2779 : 2809 :
2780 elif test $ac_prog = install && 2810 elif test $ac_prog = install &&
2837# name. Accept space and tab only in the latter. 2867# name. Accept space and tab only in the latter.
2838am_lf=' 2868am_lf='
2839' 2869'
2840case `pwd` in 2870case `pwd` in
2841 *[\\\"\#\$\&\'\`$am_lf]*) 2871 *[\\\"\#\$\&\'\`$am_lf]*)
2842 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2872 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2843esac 2873esac
2844case $srcdir in 2874case $srcdir in
2845 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2875 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2846 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2876 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2847esac 2877esac
2848 2878
2849# Do `set' in a subshell so we don't clobber the current shell's 2879# Do `set' in a subshell so we don't clobber the current shell's
2850# arguments. Must try -L first in case configure is actually a 2880# arguments. Must try -L first in case configure is actually a
2851# symlink; some systems play weird games with the mod time of symlinks 2881# symlink; some systems play weird games with the mod time of symlinks
2927 if test -n "$ac_tool_prefix"; then 2957 if test -n "$ac_tool_prefix"; then
2928 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2958 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2929set dummy ${ac_tool_prefix}strip; ac_word=$2 2959set dummy ${ac_tool_prefix}strip; ac_word=$2
2930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931$as_echo_n "checking for $ac_word... " >&6; } 2961$as_echo_n "checking for $ac_word... " >&6; }
2932if test "${ac_cv_prog_STRIP+set}" = set; then : 2962if ${ac_cv_prog_STRIP+:} false; then :
2933 $as_echo_n "(cached) " >&6 2963 $as_echo_n "(cached) " >&6
2934else 2964else
2935 if test -n "$STRIP"; then 2965 if test -n "$STRIP"; then
2936 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2966 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2937else 2967else
2939for as_dir in $PATH 2969for as_dir in $PATH
2940do 2970do
2941 IFS=$as_save_IFS 2971 IFS=$as_save_IFS
2942 test -z "$as_dir" && as_dir=. 2972 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do 2973 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2975 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 break 2 2977 break 2
2948 fi 2978 fi
2949done 2979done
2967 ac_ct_STRIP=$STRIP 2997 ac_ct_STRIP=$STRIP
2968 # Extract the first word of "strip", so it can be a program name with args. 2998 # Extract the first word of "strip", so it can be a program name with args.
2969set dummy strip; ac_word=$2 2999set dummy strip; ac_word=$2
2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971$as_echo_n "checking for $ac_word... " >&6; } 3001$as_echo_n "checking for $ac_word... " >&6; }
2972if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3002if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2973 $as_echo_n "(cached) " >&6 3003 $as_echo_n "(cached) " >&6
2974else 3004else
2975 if test -n "$ac_ct_STRIP"; then 3005 if test -n "$ac_ct_STRIP"; then
2976 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3006 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2977else 3007else
2979for as_dir in $PATH 3009for as_dir in $PATH
2980do 3010do
2981 IFS=$as_save_IFS 3011 IFS=$as_save_IFS
2982 test -z "$as_dir" && as_dir=. 3012 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do 3013 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 ac_cv_prog_ac_ct_STRIP="strip" 3015 ac_cv_prog_ac_ct_STRIP="strip"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 break 2 3017 break 2
2988 fi 3018 fi
2989done 3019done
3020INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3050INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3021 3051
3022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3023$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3053$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3024if test -z "$MKDIR_P"; then 3054if test -z "$MKDIR_P"; then
3025 if test "${ac_cv_path_mkdir+set}" = set; then : 3055 if ${ac_cv_path_mkdir+:} false; then :
3026 $as_echo_n "(cached) " >&6 3056 $as_echo_n "(cached) " >&6
3027else 3057else
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3059for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3030do 3060do
3031 IFS=$as_save_IFS 3061 IFS=$as_save_IFS
3032 test -z "$as_dir" && as_dir=. 3062 test -z "$as_dir" && as_dir=.
3033 for ac_prog in mkdir gmkdir; do 3063 for ac_prog in mkdir gmkdir; do
3034 for ac_exec_ext in '' $ac_executable_extensions; do 3064 for ac_exec_ext in '' $ac_executable_extensions; do
3035 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3065 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3036 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3066 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3037 'mkdir (GNU coreutils) '* | \ 3067 'mkdir (GNU coreutils) '* | \
3038 'mkdir (coreutils) '* | \ 3068 'mkdir (coreutils) '* | \
3039 'mkdir (fileutils) '4.1*) 3069 'mkdir (fileutils) '4.1*)
3040 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3070 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3071do 3101do
3072 # Extract the first word of "$ac_prog", so it can be a program name with args. 3102 # Extract the first word of "$ac_prog", so it can be a program name with args.
3073set dummy $ac_prog; ac_word=$2 3103set dummy $ac_prog; ac_word=$2
3074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075$as_echo_n "checking for $ac_word... " >&6; } 3105$as_echo_n "checking for $ac_word... " >&6; }
3076if test "${ac_cv_prog_AWK+set}" = set; then : 3106if ${ac_cv_prog_AWK+:} false; then :
3077 $as_echo_n "(cached) " >&6 3107 $as_echo_n "(cached) " >&6
3078else 3108else
3079 if test -n "$AWK"; then 3109 if test -n "$AWK"; then
3080 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3110 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3081else 3111else
3083for as_dir in $PATH 3113for as_dir in $PATH
3084do 3114do
3085 IFS=$as_save_IFS 3115 IFS=$as_save_IFS
3086 test -z "$as_dir" && as_dir=. 3116 test -z "$as_dir" && as_dir=.
3087 for ac_exec_ext in '' $ac_executable_extensions; do 3117 for ac_exec_ext in '' $ac_executable_extensions; do
3088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3089 ac_cv_prog_AWK="$ac_prog" 3119 ac_cv_prog_AWK="$ac_prog"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 break 2 3121 break 2
3092 fi 3122 fi
3093done 3123done
3111 3141
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3113$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3143$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3114set x ${MAKE-make} 3144set x ${MAKE-make}
3115ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3145ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3116if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3146if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3117 $as_echo_n "(cached) " >&6 3147 $as_echo_n "(cached) " >&6
3118else 3148else
3119 cat >conftest.make <<\_ACEOF 3149 cat >conftest.make <<\_ACEOF
3120SHELL = /bin/sh 3150SHELL = /bin/sh
3121all: 3151all:
3199 3229
3200MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3230MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3201 3231
3202# We need awk for the "check" target. The system "awk" is bad on 3232# We need awk for the "check" target. The system "awk" is bad on
3203# some platforms. 3233# some platforms.
3204# Always define AMTAR for backward compatibility. 3234# Always define AMTAR for backward compatibility. Yes, it's still used
3235# in the wild :-( We should find a proper way to deprecate it ...
3236AMTAR='$${TAR-tar}'
3205 3237
3206AMTAR=${AMTAR-"${am_missing_run}tar"}
3207
3208am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3238am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3209 3239
3210 3240
3211 3241
3212 3242
3213 3243
3237 3267
3238 3268
3239 3269
3240 3270
3241 3271
3242
3243
3244
3245 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3246
3247 for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done
3248 3272
3249 3273
3250 3274
3251 MKINSTALLDIRS= 3275 MKINSTALLDIRS=
3252 if test -n "$ac_aux_dir"; then 3276 if test -n "$ac_aux_dir"; then
3262 3286
3263 # Extract the first word of "msgfmt", so it can be a program name with args. 3287 # Extract the first word of "msgfmt", so it can be a program name with args.
3264set dummy msgfmt; ac_word=$2 3288set dummy msgfmt; ac_word=$2
3265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266$as_echo_n "checking for $ac_word... " >&6; } 3290$as_echo_n "checking for $ac_word... " >&6; }
3267if test "${ac_cv_path_MSGFMT+set}" = set; then : 3291if ${ac_cv_path_MSGFMT+:} false; then :
3268 $as_echo_n "(cached) " >&6 3292 $as_echo_n "(cached) " >&6
3269else 3293else
3270 case "$MSGFMT" in 3294 case "$MSGFMT" in
3271 /*) 3295 /*)
3272 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3296 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3299 3323
3300 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3324 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3301set dummy gmsgfmt; ac_word=$2 3325set dummy gmsgfmt; ac_word=$2
3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303$as_echo_n "checking for $ac_word... " >&6; } 3327$as_echo_n "checking for $ac_word... " >&6; }
3304if test "${ac_cv_path_GMSGFMT+set}" = set; then : 3328if ${ac_cv_path_GMSGFMT+:} false; then :
3305 $as_echo_n "(cached) " >&6 3329 $as_echo_n "(cached) " >&6
3306else 3330else
3307 case $GMSGFMT in 3331 case $GMSGFMT in
3308 [\\/]* | ?:[\\/]*) 3332 [\\/]* | ?:[\\/]*)
3309 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3333 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3313for as_dir in $PATH 3337for as_dir in $PATH
3314do 3338do
3315 IFS=$as_save_IFS 3339 IFS=$as_save_IFS
3316 test -z "$as_dir" && as_dir=. 3340 test -z "$as_dir" && as_dir=.
3317 for ac_exec_ext in '' $ac_executable_extensions; do 3341 for ac_exec_ext in '' $ac_executable_extensions; do
3318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3319 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 3343 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 break 2 3345 break 2
3322 fi 3346 fi
3323done 3347done
3341 3365
3342 # Extract the first word of "xgettext", so it can be a program name with args. 3366 # Extract the first word of "xgettext", so it can be a program name with args.
3343set dummy xgettext; ac_word=$2 3367set dummy xgettext; ac_word=$2
3344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345$as_echo_n "checking for $ac_word... " >&6; } 3369$as_echo_n "checking for $ac_word... " >&6; }
3346if test "${ac_cv_path_XGETTEXT+set}" = set; then : 3370if ${ac_cv_path_XGETTEXT+:} false; then :
3347 $as_echo_n "(cached) " >&6 3371 $as_echo_n "(cached) " >&6
3348else 3372else
3349 case "$XGETTEXT" in 3373 case "$XGETTEXT" in
3350 /*) 3374 /*)
3351 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3375 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3380 3404
3381 # Extract the first word of "msgmerge", so it can be a program name with args. 3405 # Extract the first word of "msgmerge", so it can be a program name with args.
3382set dummy msgmerge; ac_word=$2 3406set dummy msgmerge; ac_word=$2
3383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384$as_echo_n "checking for $ac_word... " >&6; } 3408$as_echo_n "checking for $ac_word... " >&6; }
3385if test "${ac_cv_path_MSGMERGE+set}" = set; then : 3409if ${ac_cv_path_MSGMERGE+:} false; then :
3386 $as_echo_n "(cached) " >&6 3410 $as_echo_n "(cached) " >&6
3387else 3411else
3388 case "$MSGMERGE" in 3412 case "$MSGMERGE" in
3389 /*) 3413 /*)
3390 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 3414 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3508fi 3532fi
3509 3533
3510if test "x$enable_dependency_tracking" != xno; then 3534if test "x$enable_dependency_tracking" != xno; then
3511 am_depcomp="$ac_aux_dir/depcomp" 3535 am_depcomp="$ac_aux_dir/depcomp"
3512 AMDEPBACKSLASH='\' 3536 AMDEPBACKSLASH='\'
3537 am__nodep='_no'
3513fi 3538fi
3514 if test "x$enable_dependency_tracking" != xno; then 3539 if test "x$enable_dependency_tracking" != xno; then
3515 AMDEP_TRUE= 3540 AMDEP_TRUE=
3516 AMDEP_FALSE='#' 3541 AMDEP_FALSE='#'
3517else 3542else
3528if test -n "$ac_tool_prefix"; then 3553if test -n "$ac_tool_prefix"; then
3529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3554 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3530set dummy ${ac_tool_prefix}gcc; ac_word=$2 3555set dummy ${ac_tool_prefix}gcc; ac_word=$2
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532$as_echo_n "checking for $ac_word... " >&6; } 3557$as_echo_n "checking for $ac_word... " >&6; }
3533if test "${ac_cv_prog_CC+set}" = set; then : 3558if ${ac_cv_prog_CC+:} false; then :
3534 $as_echo_n "(cached) " >&6 3559 $as_echo_n "(cached) " >&6
3535else 3560else
3536 if test -n "$CC"; then 3561 if test -n "$CC"; then
3537 ac_cv_prog_CC="$CC" # Let the user override the test. 3562 ac_cv_prog_CC="$CC" # Let the user override the test.
3538else 3563else
3540for as_dir in $PATH 3565for as_dir in $PATH
3541do 3566do
3542 IFS=$as_save_IFS 3567 IFS=$as_save_IFS
3543 test -z "$as_dir" && as_dir=. 3568 test -z "$as_dir" && as_dir=.
3544 for ac_exec_ext in '' $ac_executable_extensions; do 3569 for ac_exec_ext in '' $ac_executable_extensions; do
3545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3571 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 break 2 3573 break 2
3549 fi 3574 fi
3550done 3575done
3568 ac_ct_CC=$CC 3593 ac_ct_CC=$CC
3569 # Extract the first word of "gcc", so it can be a program name with args. 3594 # Extract the first word of "gcc", so it can be a program name with args.
3570set dummy gcc; ac_word=$2 3595set dummy gcc; ac_word=$2
3571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572$as_echo_n "checking for $ac_word... " >&6; } 3597$as_echo_n "checking for $ac_word... " >&6; }
3573if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3598if ${ac_cv_prog_ac_ct_CC+:} false; then :
3574 $as_echo_n "(cached) " >&6 3599 $as_echo_n "(cached) " >&6
3575else 3600else
3576 if test -n "$ac_ct_CC"; then 3601 if test -n "$ac_ct_CC"; then
3577 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3602 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3578else 3603else
3580for as_dir in $PATH 3605for as_dir in $PATH
3581do 3606do
3582 IFS=$as_save_IFS 3607 IFS=$as_save_IFS
3583 test -z "$as_dir" && as_dir=. 3608 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do 3609 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3586 ac_cv_prog_ac_ct_CC="gcc" 3611 ac_cv_prog_ac_ct_CC="gcc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 break 2 3613 break 2
3589 fi 3614 fi
3590done 3615done
3621 if test -n "$ac_tool_prefix"; then 3646 if test -n "$ac_tool_prefix"; then
3622 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3647 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3623set dummy ${ac_tool_prefix}cc; ac_word=$2 3648set dummy ${ac_tool_prefix}cc; ac_word=$2
3624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625$as_echo_n "checking for $ac_word... " >&6; } 3650$as_echo_n "checking for $ac_word... " >&6; }
3626if test "${ac_cv_prog_CC+set}" = set; then : 3651if ${ac_cv_prog_CC+:} false; then :
3627 $as_echo_n "(cached) " >&6 3652 $as_echo_n "(cached) " >&6
3628else 3653else
3629 if test -n "$CC"; then 3654 if test -n "$CC"; then
3630 ac_cv_prog_CC="$CC" # Let the user override the test. 3655 ac_cv_prog_CC="$CC" # Let the user override the test.
3631else 3656else
3633for as_dir in $PATH 3658for as_dir in $PATH
3634do 3659do
3635 IFS=$as_save_IFS 3660 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=. 3661 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do 3662 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_CC="${ac_tool_prefix}cc" 3664 ac_cv_prog_CC="${ac_tool_prefix}cc"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 break 2 3666 break 2
3642 fi 3667 fi
3643done 3668done
3661if test -z "$CC"; then 3686if test -z "$CC"; then
3662 # Extract the first word of "cc", so it can be a program name with args. 3687 # Extract the first word of "cc", so it can be a program name with args.
3663set dummy cc; ac_word=$2 3688set dummy cc; ac_word=$2
3664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665$as_echo_n "checking for $ac_word... " >&6; } 3690$as_echo_n "checking for $ac_word... " >&6; }
3666if test "${ac_cv_prog_CC+set}" = set; then : 3691if ${ac_cv_prog_CC+:} false; then :
3667 $as_echo_n "(cached) " >&6 3692 $as_echo_n "(cached) " >&6
3668else 3693else
3669 if test -n "$CC"; then 3694 if test -n "$CC"; then
3670 ac_cv_prog_CC="$CC" # Let the user override the test. 3695 ac_cv_prog_CC="$CC" # Let the user override the test.
3671else 3696else
3674for as_dir in $PATH 3699for as_dir in $PATH
3675do 3700do
3676 IFS=$as_save_IFS 3701 IFS=$as_save_IFS
3677 test -z "$as_dir" && as_dir=. 3702 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do 3703 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3705 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3681 ac_prog_rejected=yes 3706 ac_prog_rejected=yes
3682 continue 3707 continue
3683 fi 3708 fi
3684 ac_cv_prog_CC="cc" 3709 ac_cv_prog_CC="cc"
3720 do 3745 do
3721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3722set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3747set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724$as_echo_n "checking for $ac_word... " >&6; } 3749$as_echo_n "checking for $ac_word... " >&6; }
3725if test "${ac_cv_prog_CC+set}" = set; then : 3750if ${ac_cv_prog_CC+:} false; then :
3726 $as_echo_n "(cached) " >&6 3751 $as_echo_n "(cached) " >&6
3727else 3752else
3728 if test -n "$CC"; then 3753 if test -n "$CC"; then
3729 ac_cv_prog_CC="$CC" # Let the user override the test. 3754 ac_cv_prog_CC="$CC" # Let the user override the test.
3730else 3755else
3732for as_dir in $PATH 3757for as_dir in $PATH
3733do 3758do
3734 IFS=$as_save_IFS 3759 IFS=$as_save_IFS
3735 test -z "$as_dir" && as_dir=. 3760 test -z "$as_dir" && as_dir=.
3736 for ac_exec_ext in '' $ac_executable_extensions; do 3761 for ac_exec_ext in '' $ac_executable_extensions; do
3737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 break 2 3765 break 2
3741 fi 3766 fi
3742done 3767done
3764do 3789do
3765 # Extract the first word of "$ac_prog", so it can be a program name with args. 3790 # Extract the first word of "$ac_prog", so it can be a program name with args.
3766set dummy $ac_prog; ac_word=$2 3791set dummy $ac_prog; ac_word=$2
3767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768$as_echo_n "checking for $ac_word... " >&6; } 3793$as_echo_n "checking for $ac_word... " >&6; }
3769if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3794if ${ac_cv_prog_ac_ct_CC+:} false; then :
3770 $as_echo_n "(cached) " >&6 3795 $as_echo_n "(cached) " >&6
3771else 3796else
3772 if test -n "$ac_ct_CC"; then 3797 if test -n "$ac_ct_CC"; then
3773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3798 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3774else 3799else
3776for as_dir in $PATH 3801for as_dir in $PATH
3777do 3802do
3778 IFS=$as_save_IFS 3803 IFS=$as_save_IFS
3779 test -z "$as_dir" && as_dir=. 3804 test -z "$as_dir" && as_dir=.
3780 for ac_exec_ext in '' $ac_executable_extensions; do 3805 for ac_exec_ext in '' $ac_executable_extensions; do
3781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_ac_ct_CC="$ac_prog" 3807 ac_cv_prog_ac_ct_CC="$ac_prog"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 break 2 3809 break 2
3785 fi 3810 fi
3786done 3811done
3819 3844
3820 3845
3821test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3846test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3822$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3847$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3823as_fn_error $? "no acceptable C compiler found in \$PATH 3848as_fn_error $? "no acceptable C compiler found in \$PATH
3824See \`config.log' for more details" "$LINENO" 5 ; } 3849See \`config.log' for more details" "$LINENO" 5; }
3825 3850
3826# Provide some information about the compiler. 3851# Provide some information about the compiler.
3827$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3852$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3828set X $ac_compile 3853set X $ac_compile
3829ac_compiler=$2 3854ac_compiler=$2
3934sed 's/^/| /' conftest.$ac_ext >&5 3959sed 's/^/| /' conftest.$ac_ext >&5
3935 3960
3936{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3961{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3962$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938as_fn_error 77 "C compiler cannot create executables 3963as_fn_error 77 "C compiler cannot create executables
3939See \`config.log' for more details" "$LINENO" 5 ; } 3964See \`config.log' for more details" "$LINENO" 5; }
3940else 3965else
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3942$as_echo "yes" >&6; } 3967$as_echo "yes" >&6; }
3943fi 3968fi
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3977done 4002done
3978else 4003else
3979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4006as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3982See \`config.log' for more details" "$LINENO" 5 ; } 4007See \`config.log' for more details" "$LINENO" 5; }
3983fi 4008fi
3984rm -f conftest conftest$ac_cv_exeext 4009rm -f conftest conftest$ac_cv_exeext
3985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3986$as_echo "$ac_cv_exeext" >&6; } 4011$as_echo "$ac_cv_exeext" >&6; }
3987 4012
4036 else 4061 else
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039as_fn_error $? "cannot run C compiled programs. 4064as_fn_error $? "cannot run C compiled programs.
4040If you meant to cross compile, use \`--host'. 4065If you meant to cross compile, use \`--host'.
4041See \`config.log' for more details" "$LINENO" 5 ; } 4066See \`config.log' for more details" "$LINENO" 5; }
4042 fi 4067 fi
4043 fi 4068 fi
4044fi 4069fi
4045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4046$as_echo "$cross_compiling" >&6; } 4071$as_echo "$cross_compiling" >&6; }
4047 4072
4048rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4073rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4049ac_clean_files=$ac_clean_files_save 4074ac_clean_files=$ac_clean_files_save
4050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4051$as_echo_n "checking for suffix of object files... " >&6; } 4076$as_echo_n "checking for suffix of object files... " >&6; }
4052if test "${ac_cv_objext+set}" = set; then : 4077if ${ac_cv_objext+:} false; then :
4053 $as_echo_n "(cached) " >&6 4078 $as_echo_n "(cached) " >&6
4054else 4079else
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056/* end confdefs.h. */ 4081/* end confdefs.h. */
4057 4082
4088sed 's/^/| /' conftest.$ac_ext >&5 4113sed 's/^/| /' conftest.$ac_ext >&5
4089 4114
4090{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4115{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4091$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4116$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4092as_fn_error $? "cannot compute suffix of object files: cannot compile 4117as_fn_error $? "cannot compute suffix of object files: cannot compile
4093See \`config.log' for more details" "$LINENO" 5 ; } 4118See \`config.log' for more details" "$LINENO" 5; }
4094fi 4119fi
4095rm -f conftest.$ac_cv_objext conftest.$ac_ext 4120rm -f conftest.$ac_cv_objext conftest.$ac_ext
4096fi 4121fi
4097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4098$as_echo "$ac_cv_objext" >&6; } 4123$as_echo "$ac_cv_objext" >&6; }
4099OBJEXT=$ac_cv_objext 4124OBJEXT=$ac_cv_objext
4100ac_objext=$OBJEXT 4125ac_objext=$OBJEXT
4101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4102$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4127$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4103if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4128if ${ac_cv_c_compiler_gnu+:} false; then :
4104 $as_echo_n "(cached) " >&6 4129 $as_echo_n "(cached) " >&6
4105else 4130else
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107/* end confdefs.h. */ 4132/* end confdefs.h. */
4108 4133
4135fi 4160fi
4136ac_test_CFLAGS=${CFLAGS+set} 4161ac_test_CFLAGS=${CFLAGS+set}
4137ac_save_CFLAGS=$CFLAGS 4162ac_save_CFLAGS=$CFLAGS
4138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4139$as_echo_n "checking whether $CC accepts -g... " >&6; } 4164$as_echo_n "checking whether $CC accepts -g... " >&6; }
4140if test "${ac_cv_prog_cc_g+set}" = set; then : 4165if ${ac_cv_prog_cc_g+:} false; then :
4141 $as_echo_n "(cached) " >&6 4166 $as_echo_n "(cached) " >&6
4142else 4167else
4143 ac_save_c_werror_flag=$ac_c_werror_flag 4168 ac_save_c_werror_flag=$ac_c_werror_flag
4144 ac_c_werror_flag=yes 4169 ac_c_werror_flag=yes
4145 ac_cv_prog_cc_g=no 4170 ac_cv_prog_cc_g=no
4213 CFLAGS= 4238 CFLAGS=
4214 fi 4239 fi
4215fi 4240fi
4216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4217$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4242$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4218if test "${ac_cv_prog_cc_c89+set}" = set; then : 4243if ${ac_cv_prog_cc_c89+:} false; then :
4219 $as_echo_n "(cached) " >&6 4244 $as_echo_n "(cached) " >&6
4220else 4245else
4221 ac_cv_prog_cc_c89=no 4246 ac_cv_prog_cc_c89=no
4222ac_save_CC=$CC 4247ac_save_CC=$CC
4223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224/* end confdefs.h. */ 4249/* end confdefs.h. */
4225#include <stdarg.h> 4250#include <stdarg.h>
4226#include <stdio.h> 4251#include <stdio.h>
4227#include <sys/types.h> 4252struct stat;
4228#include <sys/stat.h>
4229/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4253/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4230struct buf { int x; }; 4254struct buf { int x; };
4231FILE * (*rcsopen) (struct buf *, struct stat *, int); 4255FILE * (*rcsopen) (struct buf *, struct stat *, int);
4232static char *e (p, i) 4256static char *e (p, i)
4233 char **p; 4257 char **p;
4312 4336
4313depcc="$CC" am_compiler_list= 4337depcc="$CC" am_compiler_list=
4314 4338
4315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4316$as_echo_n "checking dependency style of $depcc... " >&6; } 4340$as_echo_n "checking dependency style of $depcc... " >&6; }
4317if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4341if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4318 $as_echo_n "(cached) " >&6 4342 $as_echo_n "(cached) " >&6
4319else 4343else
4320 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4344 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4321 # We make a subdir and do the tests there. Otherwise we can end up 4345 # We make a subdir and do the tests there. Otherwise we can end up
4322 # making bogus files that we don't know about and never remove. For 4346 # making bogus files that we don't know about and never remove. For
4323 # instance it was reported that on HP-UX the gcc test will end up 4347 # instance it was reported that on HP-UX the gcc test will end up
4324 # making a dummy file named `D' -- because `-MD' means `put the output 4348 # making a dummy file named `D' -- because `-MD' means `put the output
4325 # in D'. 4349 # in D'.
4350 rm -rf conftest.dir
4326 mkdir conftest.dir 4351 mkdir conftest.dir
4327 # Copy depcomp to subdir because otherwise we won't find it if we're 4352 # Copy depcomp to subdir because otherwise we won't find it if we're
4328 # using a relative directory. 4353 # using a relative directory.
4329 cp "$am_depcomp" conftest.dir 4354 cp "$am_depcomp" conftest.dir
4330 cd conftest.dir 4355 cd conftest.dir
4380 continue 4405 continue
4381 else 4406 else
4382 break 4407 break
4383 fi 4408 fi
4384 ;; 4409 ;;
4385 msvisualcpp | msvcmsys) 4410 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4386 # This compiler won't grok `-c -o', but also, the minuso test has 4411 # This compiler won't grok `-c -o', but also, the minuso test has
4387 # not run yet. These depmodes are late enough in the game, and 4412 # not run yet. These depmodes are late enough in the game, and
4388 # so weak that their functioning should not be impacted. 4413 # so weak that their functioning should not be impacted.
4389 am__obj=conftest.${OBJEXT-o} 4414 am__obj=conftest.${OBJEXT-o}
4390 am__minus_obj= 4415 am__minus_obj=
4482$as_echo_n "checking for GNU ld... " >&6; } 4507$as_echo_n "checking for GNU ld... " >&6; }
4483else 4508else
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4485$as_echo_n "checking for non-GNU ld... " >&6; } 4510$as_echo_n "checking for non-GNU ld... " >&6; }
4486fi 4511fi
4487if test "${acl_cv_path_LD+set}" = set; then : 4512if ${acl_cv_path_LD+:} false; then :
4488 $as_echo_n "(cached) " >&6 4513 $as_echo_n "(cached) " >&6
4489else 4514else
4490 if test -z "$LD"; then 4515 if test -z "$LD"; then
4491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 4516 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4492 for ac_dir in $PATH; do 4517 for ac_dir in $PATH; do
4518$as_echo "no" >&6; } 4543$as_echo "no" >&6; }
4519fi 4544fi
4520test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4545test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4522$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4547$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4523if test "${acl_cv_prog_gnu_ld+set}" = set; then : 4548if ${acl_cv_prog_gnu_ld+:} false; then :
4524 $as_echo_n "(cached) " >&6 4549 $as_echo_n "(cached) " >&6
4525else 4550else
4526 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4551 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4527if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 4552if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4528 acl_cv_prog_gnu_ld=yes 4553 acl_cv_prog_gnu_ld=yes
4536 4561
4537 4562
4538 4563
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4540$as_echo_n "checking for shared library run path origin... " >&6; } 4565$as_echo_n "checking for shared library run path origin... " >&6; }
4541if test "${acl_cv_rpath+set}" = set; then : 4566if ${acl_cv_rpath+:} false; then :
4542 $as_echo_n "(cached) " >&6 4567 $as_echo_n "(cached) " >&6
4543else 4568else
4544 4569
4545 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 4570 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4546 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 4571 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4993 5018
4994 5019
4995 5020
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
4997$as_echo_n "checking for GNU gettext in libc... " >&6; } 5022$as_echo_n "checking for GNU gettext in libc... " >&6; }
4998if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : 5023if ${gt_cv_func_gnugettext1_libc+:} false; then :
4999 $as_echo_n "(cached) " >&6 5024 $as_echo_n "(cached) " >&6
5000else 5025else
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002/* end confdefs.h. */ 5027/* end confdefs.h. */
5003#include <libintl.h> 5028#include <libintl.h>
5054 done 5079 done
5055 5080
5056 5081
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5058$as_echo_n "checking for iconv... " >&6; } 5083$as_echo_n "checking for iconv... " >&6; }
5059if test "${am_cv_func_iconv+set}" = set; then : 5084if ${am_cv_func_iconv+:} false; then :
5060 $as_echo_n "(cached) " >&6 5085 $as_echo_n "(cached) " >&6
5061else 5086else
5062 5087
5063 am_cv_func_iconv="no, consider installing GNU libiconv" 5088 am_cv_func_iconv="no, consider installing GNU libiconv"
5064 am_cv_lib_iconv=no 5089 am_cv_lib_iconv=no
5507 done 5532 done
5508 fi 5533 fi
5509 5534
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5511$as_echo_n "checking for GNU gettext in libintl... " >&6; } 5536$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5512if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : 5537if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5513 $as_echo_n "(cached) " >&6 5538 $as_echo_n "(cached) " >&6
5514else 5539else
5515 gt_save_CPPFLAGS="$CPPFLAGS" 5540 gt_save_CPPFLAGS="$CPPFLAGS"
5516 CPPFLAGS="$CPPFLAGS $INCINTL" 5541 CPPFLAGS="$CPPFLAGS $INCINTL"
5517 gt_save_LIBS="$LIBS" 5542 gt_save_LIBS="$LIBS"
5675# On Suns, sometimes $CPP names a directory. 5700# On Suns, sometimes $CPP names a directory.
5676if test -n "$CPP" && test -d "$CPP"; then 5701if test -n "$CPP" && test -d "$CPP"; then
5677 CPP= 5702 CPP=
5678fi 5703fi
5679if test -z "$CPP"; then 5704if test -z "$CPP"; then
5680 if test "${ac_cv_prog_CPP+set}" = set; then : 5705 if ${ac_cv_prog_CPP+:} false; then :
5681 $as_echo_n "(cached) " >&6 5706 $as_echo_n "(cached) " >&6
5682else 5707else
5683 # Double quotes because CPP needs to be expanded 5708 # Double quotes because CPP needs to be expanded
5684 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5709 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5685 do 5710 do
5791 5816
5792else 5817else
5793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5795as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5820as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5796See \`config.log' for more details" "$LINENO" 5 ; } 5821See \`config.log' for more details" "$LINENO" 5; }
5797fi 5822fi
5798 5823
5799ac_ext=c 5824ac_ext=c
5800ac_cpp='$CPP $CPPFLAGS' 5825ac_cpp='$CPP $CPPFLAGS'
5801ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5816 do 5841 do
5817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5818set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5843set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820$as_echo_n "checking for $ac_word... " >&6; } 5845$as_echo_n "checking for $ac_word... " >&6; }
5821if test "${ac_cv_prog_CXX+set}" = set; then : 5846if ${ac_cv_prog_CXX+:} false; then :
5822 $as_echo_n "(cached) " >&6 5847 $as_echo_n "(cached) " >&6
5823else 5848else
5824 if test -n "$CXX"; then 5849 if test -n "$CXX"; then
5825 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5850 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5826else 5851else
5828for as_dir in $PATH 5853for as_dir in $PATH
5829do 5854do
5830 IFS=$as_save_IFS 5855 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=. 5856 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do 5857 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5859 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2 5861 break 2
5837 fi 5862 fi
5838done 5863done
5860do 5885do
5861 # Extract the first word of "$ac_prog", so it can be a program name with args. 5886 # Extract the first word of "$ac_prog", so it can be a program name with args.
5862set dummy $ac_prog; ac_word=$2 5887set dummy $ac_prog; ac_word=$2
5863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5864$as_echo_n "checking for $ac_word... " >&6; } 5889$as_echo_n "checking for $ac_word... " >&6; }
5865if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 5890if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5866 $as_echo_n "(cached) " >&6 5891 $as_echo_n "(cached) " >&6
5867else 5892else
5868 if test -n "$ac_ct_CXX"; then 5893 if test -n "$ac_ct_CXX"; then
5869 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5894 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5870else 5895else
5872for as_dir in $PATH 5897for as_dir in $PATH
5873do 5898do
5874 IFS=$as_save_IFS 5899 IFS=$as_save_IFS
5875 test -z "$as_dir" && as_dir=. 5900 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do 5901 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_ac_ct_CXX="$ac_prog" 5903 ac_cv_prog_ac_ct_CXX="$ac_prog"
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 break 2 5905 break 2
5881 fi 5906 fi
5882done 5907done
5938 test $ac_status = 0; } 5963 test $ac_status = 0; }
5939done 5964done
5940 5965
5941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5942$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5967$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5943if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 5968if ${ac_cv_cxx_compiler_gnu+:} false; then :
5944 $as_echo_n "(cached) " >&6 5969 $as_echo_n "(cached) " >&6
5945else 5970else
5946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5947/* end confdefs.h. */ 5972/* end confdefs.h. */
5948 5973
5975fi 6000fi
5976ac_test_CXXFLAGS=${CXXFLAGS+set} 6001ac_test_CXXFLAGS=${CXXFLAGS+set}
5977ac_save_CXXFLAGS=$CXXFLAGS 6002ac_save_CXXFLAGS=$CXXFLAGS
5978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 6003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5979$as_echo_n "checking whether $CXX accepts -g... " >&6; } 6004$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5980if test "${ac_cv_prog_cxx_g+set}" = set; then : 6005if ${ac_cv_prog_cxx_g+:} false; then :
5981 $as_echo_n "(cached) " >&6 6006 $as_echo_n "(cached) " >&6
5982else 6007else
5983 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 6008 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5984 ac_cxx_werror_flag=yes 6009 ac_cxx_werror_flag=yes
5985 ac_cv_prog_cxx_g=no 6010 ac_cv_prog_cxx_g=no
6061 6086
6062depcc="$CXX" am_compiler_list= 6087depcc="$CXX" am_compiler_list=
6063 6088
6064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 6089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6065$as_echo_n "checking dependency style of $depcc... " >&6; } 6090$as_echo_n "checking dependency style of $depcc... " >&6; }
6066if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 6091if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6067 $as_echo_n "(cached) " >&6 6092 $as_echo_n "(cached) " >&6
6068else 6093else
6069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6094 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6070 # We make a subdir and do the tests there. Otherwise we can end up 6095 # We make a subdir and do the tests there. Otherwise we can end up
6071 # making bogus files that we don't know about and never remove. For 6096 # making bogus files that we don't know about and never remove. For
6072 # instance it was reported that on HP-UX the gcc test will end up 6097 # instance it was reported that on HP-UX the gcc test will end up
6073 # making a dummy file named `D' -- because `-MD' means `put the output 6098 # making a dummy file named `D' -- because `-MD' means `put the output
6074 # in D'. 6099 # in D'.
6100 rm -rf conftest.dir
6075 mkdir conftest.dir 6101 mkdir conftest.dir
6076 # Copy depcomp to subdir because otherwise we won't find it if we're 6102 # Copy depcomp to subdir because otherwise we won't find it if we're
6077 # using a relative directory. 6103 # using a relative directory.
6078 cp "$am_depcomp" conftest.dir 6104 cp "$am_depcomp" conftest.dir
6079 cd conftest.dir 6105 cd conftest.dir
6129 continue 6155 continue
6130 else 6156 else
6131 break 6157 break
6132 fi 6158 fi
6133 ;; 6159 ;;
6134 msvisualcpp | msvcmsys) 6160 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6135 # This compiler won't grok `-c -o', but also, the minuso test has 6161 # This compiler won't grok `-c -o', but also, the minuso test has
6136 # not run yet. These depmodes are late enough in the game, and 6162 # not run yet. These depmodes are late enough in the game, and
6137 # so weak that their functioning should not be impacted. 6163 # so weak that their functioning should not be impacted.
6138 am__obj=conftest.${OBJEXT-o} 6164 am__obj=conftest.${OBJEXT-o}
6139 am__minus_obj= 6165 am__minus_obj=
6187 6213
6188 6214
6189 6215
6190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6191$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 6217$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6192if test "${ac_cv_path_GREP+set}" = set; then : 6218if ${ac_cv_path_GREP+:} false; then :
6193 $as_echo_n "(cached) " >&6 6219 $as_echo_n "(cached) " >&6
6194else 6220else
6195 if test -z "$GREP"; then 6221 if test -z "$GREP"; then
6196 ac_path_GREP_found=false 6222 ac_path_GREP_found=false
6197 # Loop through the user's path and test for each of PROGNAME-LIST 6223 # Loop through the user's path and test for each of PROGNAME-LIST
6201 IFS=$as_save_IFS 6227 IFS=$as_save_IFS
6202 test -z "$as_dir" && as_dir=. 6228 test -z "$as_dir" && as_dir=.
6203 for ac_prog in grep ggrep; do 6229 for ac_prog in grep ggrep; do
6204 for ac_exec_ext in '' $ac_executable_extensions; do 6230 for ac_exec_ext in '' $ac_executable_extensions; do
6205 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6231 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6206 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6232 as_fn_executable_p "$ac_path_GREP" || continue
6207# Check for GNU ac_path_GREP and select it if it is found. 6233# Check for GNU ac_path_GREP and select it if it is found.
6208 # Check for GNU $ac_path_GREP 6234 # Check for GNU $ac_path_GREP
6209case `"$ac_path_GREP" --version 2>&1` in 6235case `"$ac_path_GREP" --version 2>&1` in
6210*GNU*) 6236*GNU*)
6211 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6237 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6250 GREP="$ac_cv_path_GREP" 6276 GREP="$ac_cv_path_GREP"
6251 6277
6252 6278
6253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6254$as_echo_n "checking for egrep... " >&6; } 6280$as_echo_n "checking for egrep... " >&6; }
6255if test "${ac_cv_path_EGREP+set}" = set; then : 6281if ${ac_cv_path_EGREP+:} false; then :
6256 $as_echo_n "(cached) " >&6 6282 $as_echo_n "(cached) " >&6
6257else 6283else
6258 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6284 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6259 then ac_cv_path_EGREP="$GREP -E" 6285 then ac_cv_path_EGREP="$GREP -E"
6260 else 6286 else
6267 IFS=$as_save_IFS 6293 IFS=$as_save_IFS
6268 test -z "$as_dir" && as_dir=. 6294 test -z "$as_dir" && as_dir=.
6269 for ac_prog in egrep; do 6295 for ac_prog in egrep; do
6270 for ac_exec_ext in '' $ac_executable_extensions; do 6296 for ac_exec_ext in '' $ac_executable_extensions; do
6271 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6297 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6272 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 6298 as_fn_executable_p "$ac_path_EGREP" || continue
6273# Check for GNU ac_path_EGREP and select it if it is found. 6299# Check for GNU ac_path_EGREP and select it if it is found.
6274 # Check for GNU $ac_path_EGREP 6300 # Check for GNU $ac_path_EGREP
6275case `"$ac_path_EGREP" --version 2>&1` in 6301case `"$ac_path_EGREP" --version 2>&1` in
6276*GNU*) 6302*GNU*)
6277 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6303 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6318 6344
6319 6345
6320if test $ac_cv_c_compiler_gnu = yes; then 6346if test $ac_cv_c_compiler_gnu = yes; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
6322$as_echo_n "checking whether $CC needs -traditional... " >&6; } 6348$as_echo_n "checking whether $CC needs -traditional... " >&6; }
6323if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 6349if ${ac_cv_prog_gcc_traditional+:} false; then :
6324 $as_echo_n "(cached) " >&6 6350 $as_echo_n "(cached) " >&6
6325else 6351else
6326 ac_pattern="Autoconf.*'x'" 6352 ac_pattern="Autoconf.*'x'"
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328/* end confdefs.h. */ 6354/* end confdefs.h. */
6363do 6389do
6364 # Extract the first word of "$ac_prog", so it can be a program name with args. 6390 # Extract the first word of "$ac_prog", so it can be a program name with args.
6365set dummy $ac_prog; ac_word=$2 6391set dummy $ac_prog; ac_word=$2
6366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367$as_echo_n "checking for $ac_word... " >&6; } 6393$as_echo_n "checking for $ac_word... " >&6; }
6368if test "${ac_cv_prog_AWK+set}" = set; then : 6394if ${ac_cv_prog_AWK+:} false; then :
6369 $as_echo_n "(cached) " >&6 6395 $as_echo_n "(cached) " >&6
6370else 6396else
6371 if test -n "$AWK"; then 6397 if test -n "$AWK"; then
6372 ac_cv_prog_AWK="$AWK" # Let the user override the test. 6398 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6373else 6399else
6375for as_dir in $PATH 6401for as_dir in $PATH
6376do 6402do
6377 IFS=$as_save_IFS 6403 IFS=$as_save_IFS
6378 test -z "$as_dir" && as_dir=. 6404 test -z "$as_dir" && as_dir=.
6379 for ac_exec_ext in '' $ac_executable_extensions; do 6405 for ac_exec_ext in '' $ac_executable_extensions; do
6380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6381 ac_cv_prog_AWK="$ac_prog" 6407 ac_cv_prog_AWK="$ac_prog"
6382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 break 2 6409 break 2
6384 fi 6410 fi
6385done 6411done
6415 6441
6416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6417$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6443$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6418set x ${MAKE-make} 6444set x ${MAKE-make}
6419ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6445ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6420if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 6446if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6421 $as_echo_n "(cached) " >&6 6447 $as_echo_n "(cached) " >&6
6422else 6448else
6423 cat >conftest.make <<\_ACEOF 6449 cat >conftest.make <<\_ACEOF
6424SHELL = /bin/sh 6450SHELL = /bin/sh
6425all: 6451all:
6447if test -n "$ac_tool_prefix"; then 6473if test -n "$ac_tool_prefix"; then
6448 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6474 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6449set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6475set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451$as_echo_n "checking for $ac_word... " >&6; } 6477$as_echo_n "checking for $ac_word... " >&6; }
6452if test "${ac_cv_prog_RANLIB+set}" = set; then : 6478if ${ac_cv_prog_RANLIB+:} false; then :
6453 $as_echo_n "(cached) " >&6 6479 $as_echo_n "(cached) " >&6
6454else 6480else
6455 if test -n "$RANLIB"; then 6481 if test -n "$RANLIB"; then
6456 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6482 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6457else 6483else
6459for as_dir in $PATH 6485for as_dir in $PATH
6460do 6486do
6461 IFS=$as_save_IFS 6487 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=. 6488 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do 6489 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6491 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2 6493 break 2
6468 fi 6494 fi
6469done 6495done
6487 ac_ct_RANLIB=$RANLIB 6513 ac_ct_RANLIB=$RANLIB
6488 # Extract the first word of "ranlib", so it can be a program name with args. 6514 # Extract the first word of "ranlib", so it can be a program name with args.
6489set dummy ranlib; ac_word=$2 6515set dummy ranlib; ac_word=$2
6490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6491$as_echo_n "checking for $ac_word... " >&6; } 6517$as_echo_n "checking for $ac_word... " >&6; }
6492if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6518if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6493 $as_echo_n "(cached) " >&6 6519 $as_echo_n "(cached) " >&6
6494else 6520else
6495 if test -n "$ac_ct_RANLIB"; then 6521 if test -n "$ac_ct_RANLIB"; then
6496 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6522 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6497else 6523else
6499for as_dir in $PATH 6525for as_dir in $PATH
6500do 6526do
6501 IFS=$as_save_IFS 6527 IFS=$as_save_IFS
6502 test -z "$as_dir" && as_dir=. 6528 test -z "$as_dir" && as_dir=.
6503 for ac_exec_ext in '' $ac_executable_extensions; do 6529 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_prog_ac_ct_RANLIB="ranlib" 6531 ac_cv_prog_ac_ct_RANLIB="ranlib"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 break 2 6533 break 2
6508 fi 6534 fi
6509done 6535done
6685 t end 6711 t end
6686 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6712 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6687 :end' >>confcache 6713 :end' >>confcache
6688if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6714if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6689 if test -w "$cache_file"; then 6715 if test -w "$cache_file"; then
6690 test "x$cache_file" != "x/dev/null" && 6716 if test "x$cache_file" != "x/dev/null"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6717 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6692$as_echo "$as_me: updating cache $cache_file" >&6;} 6718$as_echo "$as_me: updating cache $cache_file" >&6;}
6719 if test ! -f "$cache_file" || test -h "$cache_file"; then
6693 cat confcache >$cache_file 6720 cat confcache >"$cache_file"
6721 else
6722 case $cache_file in #(
6723 */* | ?:*)
6724 mv -f confcache "$cache_file"$$ &&
6725 mv -f "$cache_file"$$ "$cache_file" ;; #(
6726 *)
6727 mv -f confcache "$cache_file" ;;
6728 esac
6729 fi
6730 fi
6694 else 6731 else
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6732 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6696$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6733$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6697 fi 6734 fi
6698fi 6735fi
6712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6749ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 6751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6715$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 6752$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6716if test -z "$CXXCPP"; then 6753if test -z "$CXXCPP"; then
6717 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 6754 if ${ac_cv_prog_CXXCPP+:} false; then :
6718 $as_echo_n "(cached) " >&6 6755 $as_echo_n "(cached) " >&6
6719else 6756else
6720 # Double quotes because CXXCPP needs to be expanded 6757 # Double quotes because CXXCPP needs to be expanded
6721 for CXXCPP in "$CXX -E" "/lib/cpp" 6758 for CXXCPP in "$CXX -E" "/lib/cpp"
6722 do 6759 do
6828 6865
6829else 6866else
6830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6868$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6832as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 6869as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6833See \`config.log' for more details" "$LINENO" 5 ; } 6870See \`config.log' for more details" "$LINENO" 5; }
6834fi 6871fi
6835 6872
6836ac_ext=cpp 6873ac_ext=cpp
6837ac_cpp='$CXXCPP $CPPFLAGS' 6874ac_cpp='$CXXCPP $CPPFLAGS'
6838ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6840ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6841 6878
6842 6879
6843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6844$as_echo_n "checking for ANSI C header files... " >&6; } 6881$as_echo_n "checking for ANSI C header files... " >&6; }
6845if test "${ac_cv_header_stdc+set}" = set; then : 6882if ${ac_cv_header_stdc+:} false; then :
6846 $as_echo_n "(cached) " >&6 6883 $as_echo_n "(cached) " >&6
6847else 6884else
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849/* end confdefs.h. */ 6886/* end confdefs.h. */
6850#include <stdlib.h> 6887#include <stdlib.h>
7025done 7062done
7026 7063
7027 7064
7028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 7065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7029$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7066$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7030if test "${ac_cv_c_const+set}" = set; then : 7067if ${ac_cv_c_const+:} false; then :
7031 $as_echo_n "(cached) " >&6 7068 $as_echo_n "(cached) " >&6
7032else 7069else
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034/* end confdefs.h. */ 7071/* end confdefs.h. */
7035 7072
7036int 7073int
7037main () 7074main ()
7038{ 7075{
7039/* FIXME: Include the comments suggested by Paul. */ 7076
7040#ifndef __cplusplus 7077#ifndef __cplusplus
7041 /* Ultrix mips cc rejects this. */ 7078 /* Ultrix mips cc rejects this sort of thing. */
7042 typedef int charset[2]; 7079 typedef int charset[2];
7043 const charset cs; 7080 const charset cs = { 0, 0 };
7044 /* SunOS 4.1.1 cc rejects this. */ 7081 /* SunOS 4.1.1 cc rejects this. */
7045 char const *const *pcpcc; 7082 char const *const *pcpcc;
7046 char **ppc; 7083 char **ppc;
7047 /* NEC SVR4.0.2 mips cc rejects this. */ 7084 /* NEC SVR4.0.2 mips cc rejects this. */
7048 struct point {int x, y;}; 7085 struct point {int x, y;};
7055 pcpcc = &g + (g ? g-g : 0); 7092 pcpcc = &g + (g ? g-g : 0);
7056 /* HPUX 7.0 cc rejects these. */ 7093 /* HPUX 7.0 cc rejects these. */
7057 ++pcpcc; 7094 ++pcpcc;
7058 ppc = (char**) pcpcc; 7095 ppc = (char**) pcpcc;
7059 pcpcc = (char const *const *) ppc; 7096 pcpcc = (char const *const *) ppc;
7060 { /* SCO 3.2v4 cc rejects this. */ 7097 { /* SCO 3.2v4 cc rejects this sort of thing. */
7061 char *t; 7098 char tx;
7099 char *t = &tx;
7062 char const *s = 0 ? (char *) 0 : (char const *) 0; 7100 char const *s = 0 ? (char *) 0 : (char const *) 0;
7063 7101
7064 *t++ = 0; 7102 *t++ = 0;
7065 if (s) return 0; 7103 if (s) return 0;
7066 } 7104 }
7072 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7110 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7073 typedef const int *iptr; 7111 typedef const int *iptr;
7074 iptr p = 0; 7112 iptr p = 0;
7075 ++p; 7113 ++p;
7076 } 7114 }
7077 { /* AIX XL C 1.02.0.0 rejects this saying 7115 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
7078 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 7116 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7079 struct s { int j; const int *ap[3]; }; 7117 struct s { int j; const int *ap[3]; } bx;
7080 struct s *b; b->j = 5; 7118 struct s *b = &bx; b->j = 5;
7081 } 7119 }
7082 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7120 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7083 const int foo = 10; 7121 const int foo = 10;
7084 if (!foo) return 0; 7122 if (!foo) return 0;
7085 } 7123 }
7104$as_echo "#define const /**/" >>confdefs.h 7142$as_echo "#define const /**/" >>confdefs.h
7105 7143
7106fi 7144fi
7107 7145
7108ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 7146ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7109if test "x$ac_cv_type_pid_t" = x""yes; then : 7147if test "x$ac_cv_type_pid_t" = xyes; then :
7110 7148
7111else 7149else
7112 7150
7113cat >>confdefs.h <<_ACEOF 7151cat >>confdefs.h <<_ACEOF
7114#define pid_t int 7152#define pid_t int
7115_ACEOF 7153_ACEOF
7116 7154
7117fi 7155fi
7118 7156
7119ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 7157ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7120if test "x$ac_cv_type_size_t" = x""yes; then : 7158if test "x$ac_cv_type_size_t" = xyes; then :
7121 7159
7122else 7160else
7123 7161
7124cat >>confdefs.h <<_ACEOF 7162cat >>confdefs.h <<_ACEOF
7125#define size_t unsigned int 7163#define size_t unsigned int
7127 7165
7128fi 7166fi
7129 7167
7130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 7168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7131$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 7169$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7132if test "${ac_cv_header_time+set}" = set; then : 7170if ${ac_cv_header_time+:} false; then :
7133 $as_echo_n "(cached) " >&6 7171 $as_echo_n "(cached) " >&6
7134else 7172else
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136/* end confdefs.h. */ 7174/* end confdefs.h. */
7137#include <sys/types.h> 7175#include <sys/types.h>
7162 7200
7163fi 7201fi
7164 7202
7165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 7203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7166$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7204$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7167if test "${ac_cv_struct_tm+set}" = set; then : 7205if ${ac_cv_struct_tm+:} false; then :
7168 $as_echo_n "(cached) " >&6 7206 $as_echo_n "(cached) " >&6
7169else 7207else
7170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7171/* end confdefs.h. */ 7209/* end confdefs.h. */
7172#include <sys/types.h> 7210#include <sys/types.h>
7198fi 7236fi
7199 7237
7200 7238
7201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 7239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
7202$as_echo_n "checking for socklen_t... " >&6; } 7240$as_echo_n "checking for socklen_t... " >&6; }
7203if test "${ac_cv_type_socklen_t+set}" = set; then : 7241if ${ac_cv_type_socklen_t+:} false; then :
7204 $as_echo_n "(cached) " >&6 7242 $as_echo_n "(cached) " >&6
7205else 7243else
7206 7244
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208/* end confdefs.h. */ 7246/* end confdefs.h. */
7232 7270
7233fi 7271fi
7234 7272
7235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 7273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
7236$as_echo_n "checking for struct addrinfo... " >&6; } 7274$as_echo_n "checking for struct addrinfo... " >&6; }
7237if test "${ac_cv_struct_addrinfo+set}" = set; then : 7275if ${ac_cv_struct_addrinfo+:} false; then :
7238 $as_echo_n "(cached) " >&6 7276 $as_echo_n "(cached) " >&6
7239else 7277else
7240 7278
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242/* end confdefs.h. */ 7280/* end confdefs.h. */
7267 7305
7268fi 7306fi
7269 7307
7270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 7308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
7271$as_echo_n "checking return type of signal handlers... " >&6; } 7309$as_echo_n "checking return type of signal handlers... " >&6; }
7272if test "${ac_cv_type_signal+set}" = set; then : 7310if ${ac_cv_type_signal+:} false; then :
7273 $as_echo_n "(cached) " >&6 7311 $as_echo_n "(cached) " >&6
7274else 7312else
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276/* end confdefs.h. */ 7314/* end confdefs.h. */
7277#include <sys/types.h> 7315#include <sys/types.h>
7308ac_compiler_gnu=$ac_cv_c_compiler_gnu 7346ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309 7347
7310 7348
7311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7312$as_echo_n "checking for ANSI C header files... " >&6; } 7350$as_echo_n "checking for ANSI C header files... " >&6; }
7313if test "${ac_cv_header_stdc+set}" = set; then : 7351if ${ac_cv_header_stdc+:} false; then :
7314 $as_echo_n "(cached) " >&6 7352 $as_echo_n "(cached) " >&6
7315else 7353else
7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317/* end confdefs.h. */ 7355/* end confdefs.h. */
7318#include <stdlib.h> 7356#include <stdlib.h>
7436 7474
7437# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7475# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7438# for constant arguments. Useless! 7476# for constant arguments. Useless!
7439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 7477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7440$as_echo_n "checking for working alloca.h... " >&6; } 7478$as_echo_n "checking for working alloca.h... " >&6; }
7441if test "${ac_cv_working_alloca_h+set}" = set; then : 7479if ${ac_cv_working_alloca_h+:} false; then :
7442 $as_echo_n "(cached) " >&6 7480 $as_echo_n "(cached) " >&6
7443else 7481else
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445/* end confdefs.h. */ 7483/* end confdefs.h. */
7446#include <alloca.h> 7484#include <alloca.h>
7469 7507
7470fi 7508fi
7471 7509
7472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7473$as_echo_n "checking for alloca... " >&6; } 7511$as_echo_n "checking for alloca... " >&6; }
7474if test "${ac_cv_func_alloca_works+set}" = set; then : 7512if ${ac_cv_func_alloca_works+:} false; then :
7475 $as_echo_n "(cached) " >&6 7513 $as_echo_n "(cached) " >&6
7476else 7514else
7477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7478/* end confdefs.h. */ 7516/* end confdefs.h. */
7479#ifdef __GNUC__ 7517#ifdef __GNUC__
7488# else 7526# else
7489# ifdef _AIX 7527# ifdef _AIX
7490 #pragma alloca 7528 #pragma alloca
7491# else 7529# else
7492# ifndef alloca /* predefined by HP cc +Olibcalls */ 7530# ifndef alloca /* predefined by HP cc +Olibcalls */
7493char *alloca (); 7531void *alloca (size_t);
7494# endif 7532# endif
7495# endif 7533# endif
7496# endif 7534# endif
7497# endif 7535# endif
7498#endif 7536#endif
7532$as_echo "#define C_ALLOCA 1" >>confdefs.h 7570$as_echo "#define C_ALLOCA 1" >>confdefs.h
7533 7571
7534 7572
7535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 7573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7536$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 7574$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7537if test "${ac_cv_os_cray+set}" = set; then : 7575if ${ac_cv_os_cray+:} false; then :
7538 $as_echo_n "(cached) " >&6 7576 $as_echo_n "(cached) " >&6
7539else 7577else
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541/* end confdefs.h. */ 7579/* end confdefs.h. */
7542#if defined CRAY && ! defined CRAY2 7580#if defined CRAY && ! defined CRAY2
7573 done 7611 done
7574fi 7612fi
7575 7613
7576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 7614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7577$as_echo_n "checking stack direction for C alloca... " >&6; } 7615$as_echo_n "checking stack direction for C alloca... " >&6; }
7578if test "${ac_cv_c_stack_direction+set}" = set; then : 7616if ${ac_cv_c_stack_direction+:} false; then :
7579 $as_echo_n "(cached) " >&6 7617 $as_echo_n "(cached) " >&6
7580else 7618else
7581 if test "$cross_compiling" = yes; then : 7619 if test "$cross_compiling" = yes; then :
7582 ac_cv_c_stack_direction=0 7620 ac_cv_c_stack_direction=0
7583else 7621else
7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585/* end confdefs.h. */ 7623/* end confdefs.h. */
7586$ac_includes_default 7624$ac_includes_default
7587int 7625int
7588find_stack_direction () 7626find_stack_direction (int *addr, int depth)
7589{ 7627{
7590 static char *addr = 0; 7628 int dir, dummy = 0;
7591 auto char dummy;
7592 if (addr == 0) 7629 if (! addr)
7593 {
7594 addr = &dummy; 7630 addr = &dummy;
7595 return find_stack_direction (); 7631 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7596 } 7632 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7597 else 7633 return dir + dummy;
7598 return (&dummy > addr) ? 1 : -1;
7599} 7634}
7600 7635
7601int 7636int
7602main () 7637main (int argc, char **argv)
7603{ 7638{
7604 return find_stack_direction () < 0; 7639 return find_stack_direction (0, argc + !argv + 20) < 0;
7605} 7640}
7606_ACEOF 7641_ACEOF
7607if ac_fn_c_try_run "$LINENO"; then : 7642if ac_fn_c_try_run "$LINENO"; then :
7608 ac_cv_c_stack_direction=1 7643 ac_cv_c_stack_direction=1
7609else 7644else
7624fi 7659fi
7625 7660
7626 7661
7627 7662
7628ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 7663ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7629if test "x$ac_cv_func_socket" = x""yes; then : 7664if test "x$ac_cv_func_socket" = xyes; then :
7630 7665
7631else 7666else
7632 7667
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7634$as_echo_n "checking for connect in -lsocket... " >&6; } 7669$as_echo_n "checking for connect in -lsocket... " >&6; }
7635if test "${ac_cv_lib_socket_connect+set}" = set; then : 7670if ${ac_cv_lib_socket_connect+:} false; then :
7636 $as_echo_n "(cached) " >&6 7671 $as_echo_n "(cached) " >&6
7637else 7672else
7638 ac_check_lib_save_LIBS=$LIBS 7673 ac_check_lib_save_LIBS=$LIBS
7639LIBS="-lsocket $LIBS" 7674LIBS="-lsocket $LIBS"
7640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7675cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664 conftest$ac_exeext conftest.$ac_ext 7699 conftest$ac_exeext conftest.$ac_ext
7665LIBS=$ac_check_lib_save_LIBS 7700LIBS=$ac_check_lib_save_LIBS
7666fi 7701fi
7667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 7702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7668$as_echo "$ac_cv_lib_socket_connect" >&6; } 7703$as_echo "$ac_cv_lib_socket_connect" >&6; }
7669if test "x$ac_cv_lib_socket_connect" = x""yes; then : 7704if test "x$ac_cv_lib_socket_connect" = xyes; then :
7670 cat >>confdefs.h <<_ACEOF 7705 cat >>confdefs.h <<_ACEOF
7671#define HAVE_LIBSOCKET 1 7706#define HAVE_LIBSOCKET 1
7672_ACEOF 7707_ACEOF
7673 7708
7674 LIBS="-lsocket $LIBS" 7709 LIBS="-lsocket $LIBS"
7677 7712
7678 7713
7679fi 7714fi
7680 7715
7681ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 7716ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7682if test "x$ac_cv_func_gethostbyname" = x""yes; then : 7717if test "x$ac_cv_func_gethostbyname" = xyes; then :
7683 7718
7684else 7719else
7685 7720
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7687$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 7722$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7688if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 7723if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7689 $as_echo_n "(cached) " >&6 7724 $as_echo_n "(cached) " >&6
7690else 7725else
7691 ac_check_lib_save_LIBS=$LIBS 7726 ac_check_lib_save_LIBS=$LIBS
7692LIBS="-lnsl $LIBS" 7727LIBS="-lnsl $LIBS"
7693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7728cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 conftest$ac_exeext conftest.$ac_ext 7752 conftest$ac_exeext conftest.$ac_ext
7718LIBS=$ac_check_lib_save_LIBS 7753LIBS=$ac_check_lib_save_LIBS
7719fi 7754fi
7720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 7755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7721$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 7756$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7722if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 7757if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7723 cat >>confdefs.h <<_ACEOF 7758 cat >>confdefs.h <<_ACEOF
7724#define HAVE_LIBNSL 1 7759#define HAVE_LIBNSL 1
7725_ACEOF 7760_ACEOF
7726 7761
7727 LIBS="-lnsl $LIBS" 7762 LIBS="-lnsl $LIBS"
7761 7796
7762 7797
7763for ac_func in clock_gettime 7798for ac_func in clock_gettime
7764do : 7799do :
7765 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7800 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7766if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7801if test "x$ac_cv_func_clock_gettime" = xyes; then :
7767 cat >>confdefs.h <<_ACEOF 7802 cat >>confdefs.h <<_ACEOF
7768#define HAVE_CLOCK_GETTIME 1 7803#define HAVE_CLOCK_GETTIME 1
7769_ACEOF 7804_ACEOF
7770 7805
7771else 7806else
7801 conftest$ac_exeext conftest.$ac_ext 7836 conftest$ac_exeext conftest.$ac_ext
7802 fi 7837 fi
7803 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then 7838 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
7805$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 7840$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7806if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 7841if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7807 $as_echo_n "(cached) " >&6 7842 $as_echo_n "(cached) " >&6
7808else 7843else
7809 ac_check_lib_save_LIBS=$LIBS 7844 ac_check_lib_save_LIBS=$LIBS
7810LIBS="-lrt $LIBS" 7845LIBS="-lrt $LIBS"
7811cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7835 conftest$ac_exeext conftest.$ac_ext 7870 conftest$ac_exeext conftest.$ac_ext
7836LIBS=$ac_check_lib_save_LIBS 7871LIBS=$ac_check_lib_save_LIBS
7837fi 7872fi
7838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 7873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
7839$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 7874$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7840if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 7875if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF 7876 cat >>confdefs.h <<_ACEOF
7842#define HAVE_LIBRT 1 7877#define HAVE_LIBRT 1
7843_ACEOF 7878_ACEOF
7844 7879
7845 LIBS="-lrt $LIBS" 7880 LIBS="-lrt $LIBS"
7848 7883
7849 unset ac_cv_func_clock_gettime 7884 unset ac_cv_func_clock_gettime
7850 for ac_func in clock_gettime 7885 for ac_func in clock_gettime
7851do : 7886do :
7852 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 7887 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
7853if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7888if test "x$ac_cv_func_clock_gettime" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF 7889 cat >>confdefs.h <<_ACEOF
7855#define HAVE_CLOCK_GETTIME 1 7890#define HAVE_CLOCK_GETTIME 1
7856_ACEOF 7891_ACEOF
7857 7892
7858fi 7893fi
7865 7900
7866 7901
7867for ac_func in nanosleep 7902for ac_func in nanosleep
7868do : 7903do :
7869 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7904 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7870if test "x$ac_cv_func_nanosleep" = x""yes; then : 7905if test "x$ac_cv_func_nanosleep" = xyes; then :
7871 cat >>confdefs.h <<_ACEOF 7906 cat >>confdefs.h <<_ACEOF
7872#define HAVE_NANOSLEEP 1 7907#define HAVE_NANOSLEEP 1
7873_ACEOF 7908_ACEOF
7874 7909
7875else 7910else
7876 7911
7877 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 7912 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
7879$as_echo_n "checking for nanosleep in -lrt... " >&6; } 7914$as_echo_n "checking for nanosleep in -lrt... " >&6; }
7880if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 7915if ${ac_cv_lib_rt_nanosleep+:} false; then :
7881 $as_echo_n "(cached) " >&6 7916 $as_echo_n "(cached) " >&6
7882else 7917else
7883 ac_check_lib_save_LIBS=$LIBS 7918 ac_check_lib_save_LIBS=$LIBS
7884LIBS="-lrt $LIBS" 7919LIBS="-lrt $LIBS"
7885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7909 conftest$ac_exeext conftest.$ac_ext 7944 conftest$ac_exeext conftest.$ac_ext
7910LIBS=$ac_check_lib_save_LIBS 7945LIBS=$ac_check_lib_save_LIBS
7911fi 7946fi
7912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 7947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
7913$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 7948$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7914if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 7949if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7915 cat >>confdefs.h <<_ACEOF 7950 cat >>confdefs.h <<_ACEOF
7916#define HAVE_LIBRT 1 7951#define HAVE_LIBRT 1
7917_ACEOF 7952_ACEOF
7918 7953
7919 LIBS="-lrt $LIBS" 7954 LIBS="-lrt $LIBS"
7922 7957
7923 unset ac_cv_func_nanosleep 7958 unset ac_cv_func_nanosleep
7924 for ac_func in nanosleep 7959 for ac_func in nanosleep
7925do : 7960do :
7926 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7961 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7927if test "x$ac_cv_func_nanosleep" = x""yes; then : 7962if test "x$ac_cv_func_nanosleep" = xyes; then :
7928 cat >>confdefs.h <<_ACEOF 7963 cat >>confdefs.h <<_ACEOF
7929#define HAVE_NANOSLEEP 1 7964#define HAVE_NANOSLEEP 1
7930_ACEOF 7965_ACEOF
7931 7966
7932fi 7967fi
7941if test -z "$LIBEV_M4_AVOID_LIBM"; then 7976if test -z "$LIBEV_M4_AVOID_LIBM"; then
7942 LIBM=m 7977 LIBM=m
7943fi 7978fi
7944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 7979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
7945$as_echo_n "checking for library containing floor... " >&6; } 7980$as_echo_n "checking for library containing floor... " >&6; }
7946if test "${ac_cv_search_floor+set}" = set; then : 7981if ${ac_cv_search_floor+:} false; then :
7947 $as_echo_n "(cached) " >&6 7982 $as_echo_n "(cached) " >&6
7948else 7983else
7949 ac_func_search_save_LIBS=$LIBS 7984 ac_func_search_save_LIBS=$LIBS
7950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7951/* end confdefs.h. */ 7986/* end confdefs.h. */
7975 if ac_fn_c_try_link "$LINENO"; then : 8010 if ac_fn_c_try_link "$LINENO"; then :
7976 ac_cv_search_floor=$ac_res 8011 ac_cv_search_floor=$ac_res
7977fi 8012fi
7978rm -f core conftest.err conftest.$ac_objext \ 8013rm -f core conftest.err conftest.$ac_objext \
7979 conftest$ac_exeext 8014 conftest$ac_exeext
7980 if test "${ac_cv_search_floor+set}" = set; then : 8015 if ${ac_cv_search_floor+:} false; then :
7981 break 8016 break
7982fi 8017fi
7983done 8018done
7984if test "${ac_cv_search_floor+set}" = set; then : 8019if ${ac_cv_search_floor+:} false; then :
7985 8020
7986else 8021else
7987 ac_cv_search_floor=no 8022 ac_cv_search_floor=no
7988fi 8023fi
7989rm conftest.$ac_ext 8024rm conftest.$ac_ext
8072 t end 8107 t end
8073 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8074 :end' >>confcache 8109 :end' >>confcache
8075if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8110if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8076 if test -w "$cache_file"; then 8111 if test -w "$cache_file"; then
8077 test "x$cache_file" != "x/dev/null" && 8112 if test "x$cache_file" != "x/dev/null"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8113 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8079$as_echo "$as_me: updating cache $cache_file" >&6;} 8114$as_echo "$as_me: updating cache $cache_file" >&6;}
8115 if test ! -f "$cache_file" || test -h "$cache_file"; then
8080 cat confcache >$cache_file 8116 cat confcache >"$cache_file"
8117 else
8118 case $cache_file in #(
8119 */* | ?:*)
8120 mv -f confcache "$cache_file"$$ &&
8121 mv -f "$cache_file"$$ "$cache_file" ;; #(
8122 *)
8123 mv -f confcache "$cache_file" ;;
8124 esac
8125 fi
8126 fi
8081 else 8127 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8128 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8083$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8129$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8084 fi 8130 fi
8085fi 8131fi
8096fi 8142fi
8097 8143
8098 8144
8099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 8145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5
8100$as_echo_n "checking for linux/if_tun.h... " >&6; } 8146$as_echo_n "checking for linux/if_tun.h... " >&6; }
8101if test "${tinc_cv_linux_if_tun_h+set}" = set; then : 8147if ${tinc_cv_linux_if_tun_h+:} false; then :
8102 $as_echo_n "(cached) " >&6 8148 $as_echo_n "(cached) " >&6
8103else 8149else
8104 8150
8105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106/* end confdefs.h. */ 8152/* end confdefs.h. */
8194 cat >>confdefs.h <<_ACEOF 8240 cat >>confdefs.h <<_ACEOF
8195#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8241#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8196_ACEOF 8242_ACEOF
8197 8243
8198else 8244else
8199 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break 8245 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break
8200 8246
8201fi 8247fi
8202 8248
8203done 8249done
8204 8250
8205 8251
8206 CPPFLAGS="$tinc_ac_save_CPPFLAGS" 8252 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8207 8253
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_version in -lcrypto" >&5 8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
8209$as_echo_n "checking for SHA1_version in -lcrypto... " >&6; } 8255$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
8210if test "${ac_cv_lib_crypto_SHA1_version+set}" = set; then : 8256if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
8211 $as_echo_n "(cached) " >&6 8257 $as_echo_n "(cached) " >&6
8212else 8258else
8213 ac_check_lib_save_LIBS=$LIBS 8259 ac_check_lib_save_LIBS=$LIBS
8214LIBS="-lcrypto $LIBS" 8260LIBS="-lcrypto $LIBS"
8215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8261cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8219 Use char because int might match the return type of a GCC 8265 Use char because int might match the return type of a GCC
8220 builtin and then its argument prototype would still apply. */ 8266 builtin and then its argument prototype would still apply. */
8221#ifdef __cplusplus 8267#ifdef __cplusplus
8222extern "C" 8268extern "C"
8223#endif 8269#endif
8224char SHA1_version (); 8270char SHA1_Init ();
8225int 8271int
8226main () 8272main ()
8227{ 8273{
8228return SHA1_version (); 8274return SHA1_Init ();
8229 ; 8275 ;
8230 return 0; 8276 return 0;
8231} 8277}
8232_ACEOF 8278_ACEOF
8233if ac_fn_cxx_try_link "$LINENO"; then : 8279if ac_fn_cxx_try_link "$LINENO"; then :
8234 ac_cv_lib_crypto_SHA1_version=yes 8280 ac_cv_lib_crypto_SHA1_Init=yes
8235else 8281else
8236 ac_cv_lib_crypto_SHA1_version=no 8282 ac_cv_lib_crypto_SHA1_Init=no
8237fi 8283fi
8238rm -f core conftest.err conftest.$ac_objext \ 8284rm -f core conftest.err conftest.$ac_objext \
8239 conftest$ac_exeext conftest.$ac_ext 8285 conftest$ac_exeext conftest.$ac_ext
8240LIBS=$ac_check_lib_save_LIBS 8286LIBS=$ac_check_lib_save_LIBS
8241fi 8287fi
8242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_version" >&5 8288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8243$as_echo "$ac_cv_lib_crypto_SHA1_version" >&6; } 8289$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8244if test "x$ac_cv_lib_crypto_SHA1_version" = x""yes; then : 8290if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
8245 LIBS="$LIBS -lcrypto" 8291 LIBS="$LIBS -lcrypto"
8246else 8292else
8247 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 8293 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8248 8294
8249fi 8295fi
8261fi 8307fi
8262done 8308done
8263 8309
8264 8310
8265 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8311 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
8266if test "x$ac_cv_func_dlopen" = x""yes; then : 8312if test "x$ac_cv_func_dlopen" = xyes; then :
8267 8313
8268else 8314else
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8270$as_echo_n "checking for dlopen in -ldl... " >&6; } 8316$as_echo_n "checking for dlopen in -ldl... " >&6; }
8271if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 8317if ${ac_cv_lib_dl_dlopen+:} false; then :
8272 $as_echo_n "(cached) " >&6 8318 $as_echo_n "(cached) " >&6
8273else 8319else
8274 ac_check_lib_save_LIBS=$LIBS 8320 ac_check_lib_save_LIBS=$LIBS
8275LIBS="-ldl $LIBS" 8321LIBS="-ldl $LIBS"
8276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8322cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 conftest$ac_exeext conftest.$ac_ext 8346 conftest$ac_exeext conftest.$ac_ext
8301LIBS=$ac_check_lib_save_LIBS 8347LIBS=$ac_check_lib_save_LIBS
8302fi 8348fi
8303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 8349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8304$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8350$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8305if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 8351if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8306 LIBS="$LIBS -ldl" 8352 LIBS="$LIBS -ldl"
8307else 8353else
8308 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5 8354 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8309 8355
8310fi 8356fi
8312 8358
8313fi 8359fi
8314 8360
8315 8361
8316 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate" 8362 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8317if test "x$ac_cv_func_inflate" = x""yes; then : 8363if test "x$ac_cv_func_inflate" = xyes; then :
8318 8364
8319else 8365else
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
8321$as_echo_n "checking for inflate in -lz... " >&6; } 8367$as_echo_n "checking for inflate in -lz... " >&6; }
8322if test "${ac_cv_lib_z_inflate+set}" = set; then : 8368if ${ac_cv_lib_z_inflate+:} false; then :
8323 $as_echo_n "(cached) " >&6 8369 $as_echo_n "(cached) " >&6
8324else 8370else
8325 ac_check_lib_save_LIBS=$LIBS 8371 ac_check_lib_save_LIBS=$LIBS
8326LIBS="-lz $LIBS" 8372LIBS="-lz $LIBS"
8327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 conftest$ac_exeext conftest.$ac_ext 8397 conftest$ac_exeext conftest.$ac_ext
8352LIBS=$ac_check_lib_save_LIBS 8398LIBS=$ac_check_lib_save_LIBS
8353fi 8399fi
8354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 8400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
8355$as_echo "$ac_cv_lib_z_inflate" >&6; } 8401$as_echo "$ac_cv_lib_z_inflate" >&6; }
8356if test "x$ac_cv_lib_z_inflate" = x""yes; then : 8402if test "x$ac_cv_lib_z_inflate" = xyes; then :
8357 LIBS="$LIBS -lz" 8403 LIBS="$LIBS -lz"
8358else 8404else
8359 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 8405 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5
8360 8406
8361fi 8407fi
8364fi 8410fi
8365 8411
8366 8412
8367if test "x$openssl_include" != x; then 8413if test "x$openssl_include" != x; then
8368 CXXFLAGS="$CXXFLAGS -I$openssl_include" 8414 CXXFLAGS="$CXXFLAGS -I$openssl_include"
8415fi
8416
8417# Check whether --enable-threads was given.
8418if test "${enable_threads+set}" = set; then :
8419 enableval=$enable_threads; try_threads=$enableval
8420else
8421 try_threads=yes
8422
8423fi
8424
8425
8426if test "x$try_threads" = xyes; then
8427 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8428if test "x$ac_cv_header_pthread_h" = xyes; then :
8429
8430 LIBS="$LIBS -lpthread"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432/* end confdefs.h. */
8433#include <pthread.h>
8434int
8435main ()
8436{
8437pthread_t id; pthread_create (&id, 0, 0, 0);
8438 ;
8439 return 0;
8440}
8441_ACEOF
8442if ac_fn_cxx_try_compile "$LINENO"; then :
8443
8444cat >>confdefs.h <<_ACEOF
8445#define ENABLE_PTHREADS 1
8446_ACEOF
8447
8448
8449fi
8450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8451
8452fi
8453
8454
8369fi 8455fi
8370 8456
8371# Check whether --enable-static-daemon was given. 8457# Check whether --enable-static-daemon was given.
8372if test "${enable_static_daemon+set}" = set; then : 8458if test "${enable_static_daemon+set}" = set; then :
8373 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static 8459 enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static
8440 8526
8441# Check whether --enable-dns was given. 8527# Check whether --enable-dns was given.
8442if test "${enable_dns+set}" = set; then : 8528if test "${enable_dns+set}" = set; then :
8443 enableval=$enable_dns; 8529 enableval=$enable_dns;
8444 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 8530 ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
8445if test "x$ac_cv_header_gmp_h" = x""yes; then : 8531if test "x$ac_cv_header_gmp_h" = xyes; then :
8446 8532
8447else 8533else
8448 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 8534 as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5
8449fi 8535fi
8450 8536
8451 8537
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
8453$as_echo_n "checking for main in -lgmp... " >&6; } 8539$as_echo_n "checking for main in -lgmp... " >&6; }
8454if test "${ac_cv_lib_gmp_main+set}" = set; then : 8540if ${ac_cv_lib_gmp_main+:} false; then :
8455 $as_echo_n "(cached) " >&6 8541 $as_echo_n "(cached) " >&6
8456else 8542else
8457 ac_check_lib_save_LIBS=$LIBS 8543 ac_check_lib_save_LIBS=$LIBS
8458LIBS="-lgmp $LIBS" 8544LIBS="-lgmp $LIBS"
8459cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 conftest$ac_exeext conftest.$ac_ext 8563 conftest$ac_exeext conftest.$ac_ext
8478LIBS=$ac_check_lib_save_LIBS 8564LIBS=$ac_check_lib_save_LIBS
8479fi 8565fi
8480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 8566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
8481$as_echo "$ac_cv_lib_gmp_main" >&6; } 8567$as_echo "$ac_cv_lib_gmp_main" >&6; }
8482if test "x$ac_cv_lib_gmp_main" = x""yes; then : 8568if test "x$ac_cv_lib_gmp_main" = xyes; then :
8483 cat >>confdefs.h <<_ACEOF 8569 cat >>confdefs.h <<_ACEOF
8484#define HAVE_LIBGMP 1 8570#define HAVE_LIBGMP 1
8485_ACEOF 8571_ACEOF
8486 8572
8487 LIBS="-lgmp $LIBS" 8573 LIBS="-lgmp $LIBS"
8534 8620
8535fi 8621fi
8536 8622
8537 8623
8538cat >>confdefs.h <<_ACEOF 8624cat >>confdefs.h <<_ACEOF
8539#define MAX_MTU $MTU + 14 8625#define MAX_MTU ($MTU + 14)
8540_ACEOF 8626_ACEOF
8541 8627
8542 8628
8543COMPRESS=1 8629COMPRESS=1
8544# Check whether --enable-compression was given. 8630# Check whether --enable-compression was given.
8666 t end 8752 t end
8667 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8753 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8668 :end' >>confcache 8754 :end' >>confcache
8669if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8755if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8670 if test -w "$cache_file"; then 8756 if test -w "$cache_file"; then
8671 test "x$cache_file" != "x/dev/null" && 8757 if test "x$cache_file" != "x/dev/null"; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8758 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8673$as_echo "$as_me: updating cache $cache_file" >&6;} 8759$as_echo "$as_me: updating cache $cache_file" >&6;}
8760 if test ! -f "$cache_file" || test -h "$cache_file"; then
8674 cat confcache >$cache_file 8761 cat confcache >"$cache_file"
8762 else
8763 case $cache_file in #(
8764 */* | ?:*)
8765 mv -f confcache "$cache_file"$$ &&
8766 mv -f "$cache_file"$$ "$cache_file" ;; #(
8767 *)
8768 mv -f confcache "$cache_file" ;;
8769 esac
8770 fi
8771 fi
8675 else 8772 else
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8773 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8677$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8774$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8678 fi 8775 fi
8679fi 8776fi
8729if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then 8826if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8730 as_fn_error $? "conditional \"ROHC\" was never defined. 8827 as_fn_error $? "conditional \"ROHC\" was never defined.
8731Usually this means the macro was only invoked conditionally." "$LINENO" 5 8828Usually this means the macro was only invoked conditionally." "$LINENO" 5
8732fi 8829fi
8733 8830
8734: ${CONFIG_STATUS=./config.status} 8831: "${CONFIG_STATUS=./config.status}"
8735ac_write_fail=0 8832ac_write_fail=0
8736ac_clean_files_save=$ac_clean_files 8833ac_clean_files_save=$ac_clean_files
8737ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8834ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8738{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8835{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8739$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8836$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8830# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8927# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8831# splitting by setting IFS to empty value.) 8928# splitting by setting IFS to empty value.)
8832IFS=" "" $as_nl" 8929IFS=" "" $as_nl"
8833 8930
8834# Find who we are. Look in the path if we contain no directory separator. 8931# Find who we are. Look in the path if we contain no directory separator.
8932as_myself=
8835case $0 in #(( 8933case $0 in #((
8836 *[\\/]* ) as_myself=$0 ;; 8934 *[\\/]* ) as_myself=$0 ;;
8837 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838for as_dir in $PATH 8936for as_dir in $PATH
8839do 8937do
9025 if ln -s conf$$.file conf$$ 2>/dev/null; then 9123 if ln -s conf$$.file conf$$ 2>/dev/null; then
9026 as_ln_s='ln -s' 9124 as_ln_s='ln -s'
9027 # ... but there are two gotchas: 9125 # ... but there are two gotchas:
9028 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9126 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9029 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9127 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9030 # In both cases, we have to default to `cp -p'. 9128 # In both cases, we have to default to `cp -pR'.
9031 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9129 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9032 as_ln_s='cp -p' 9130 as_ln_s='cp -pR'
9033 elif ln conf$$.file conf$$ 2>/dev/null; then 9131 elif ln conf$$.file conf$$ 2>/dev/null; then
9034 as_ln_s=ln 9132 as_ln_s=ln
9035 else 9133 else
9036 as_ln_s='cp -p' 9134 as_ln_s='cp -pR'
9037 fi 9135 fi
9038else 9136else
9039 as_ln_s='cp -p' 9137 as_ln_s='cp -pR'
9040fi 9138fi
9041rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9139rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9042rmdir conf$$.dir 2>/dev/null 9140rmdir conf$$.dir 2>/dev/null
9043 9141
9044 9142
9094else 9192else
9095 test -d ./-p && rmdir ./-p 9193 test -d ./-p && rmdir ./-p
9096 as_mkdir_p=false 9194 as_mkdir_p=false
9097fi 9195fi
9098 9196
9099if test -x / >/dev/null 2>&1; then 9197
9198# as_fn_executable_p FILE
9199# -----------------------
9200# Test if FILE is an executable regular file.
9201as_fn_executable_p ()
9202{
9203 test -f "$1" && test -x "$1"
9204} # as_fn_executable_p
9100 as_test_x='test -x' 9205as_test_x='test -x'
9101else 9206as_executable_p=as_fn_executable_p
9102 if ls -dL / >/dev/null 2>&1; then
9103 as_ls_L_option=L
9104 else
9105 as_ls_L_option=
9106 fi
9107 as_test_x='
9108 eval sh -c '\''
9109 if test -d "$1"; then
9110 test -d "$1/.";
9111 else
9112 case $1 in #(
9113 -*)set "./$1";;
9114 esac;
9115 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9116 ???[sx]*):;;*)false;;esac;fi
9117 '\'' sh
9118 '
9119fi
9120as_executable_p=$as_test_x
9121 9207
9122# Sed expression to map a string onto a valid CPP name. 9208# Sed expression to map a string onto a valid CPP name.
9123as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9209as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9124 9210
9125# Sed expression to map a string onto a valid variable name. 9211# Sed expression to map a string onto a valid variable name.
9137# Save the log message, to keep $0 and so on meaningful, and to 9223# Save the log message, to keep $0 and so on meaningful, and to
9138# report actual input values of CONFIG_FILES etc. instead of their 9224# report actual input values of CONFIG_FILES etc. instead of their
9139# values after options handling. 9225# values after options handling.
9140ac_log=" 9226ac_log="
9141This file was extended by $as_me, which was 9227This file was extended by $as_me, which was
9142generated by GNU Autoconf 2.67. Invocation command line was 9228generated by GNU Autoconf 2.69. Invocation command line was
9143 9229
9144 CONFIG_FILES = $CONFIG_FILES 9230 CONFIG_FILES = $CONFIG_FILES
9145 CONFIG_HEADERS = $CONFIG_HEADERS 9231 CONFIG_HEADERS = $CONFIG_HEADERS
9146 CONFIG_LINKS = $CONFIG_LINKS 9232 CONFIG_LINKS = $CONFIG_LINKS
9147 CONFIG_COMMANDS = $CONFIG_COMMANDS 9233 CONFIG_COMMANDS = $CONFIG_COMMANDS
9203_ACEOF 9289_ACEOF
9204cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9205ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9291ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9206ac_cs_version="\\ 9292ac_cs_version="\\
9207config.status 9293config.status
9208configured by $0, generated by GNU Autoconf 2.67, 9294configured by $0, generated by GNU Autoconf 2.69,
9209 with options \\"\$ac_cs_config\\" 9295 with options \\"\$ac_cs_config\\"
9210 9296
9211Copyright (C) 2010 Free Software Foundation, Inc. 9297Copyright (C) 2012 Free Software Foundation, Inc.
9212This config.status script is free software; the Free Software Foundation 9298This config.status script is free software; the Free Software Foundation
9213gives unlimited permission to copy, distribute and modify it." 9299gives unlimited permission to copy, distribute and modify it."
9214 9300
9215ac_pwd='$ac_pwd' 9301ac_pwd='$ac_pwd'
9216srcdir='$srcdir' 9302srcdir='$srcdir'
9297fi 9383fi
9298 9384
9299_ACEOF 9385_ACEOF
9300cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9386cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9301if \$ac_cs_recheck; then 9387if \$ac_cs_recheck; then
9302 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9388 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9303 shift 9389 shift
9304 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9390 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9305 CONFIG_SHELL='$SHELL' 9391 CONFIG_SHELL='$SHELL'
9306 export CONFIG_SHELL 9392 export CONFIG_SHELL
9307 exec "\$@" 9393 exec "\$@"
9348 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9434 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9349 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 9435 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9350 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 9436 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9351 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 9437 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9352 9438
9353 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 9439 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9354 esac 9440 esac
9355done 9441done
9356 9442
9357 9443
9358# If the user did not use the arguments to specify the items to instantiate, 9444# If the user did not use the arguments to specify the items to instantiate,
9371# Hook for its removal unless debugging. 9457# Hook for its removal unless debugging.
9372# Note that there is a small window in which the directory will not be cleaned: 9458# Note that there is a small window in which the directory will not be cleaned:
9373# after its creation but before its name has been assigned to `$tmp'. 9459# after its creation but before its name has been assigned to `$tmp'.
9374$debug || 9460$debug ||
9375{ 9461{
9376 tmp= 9462 tmp= ac_tmp=
9377 trap 'exit_status=$? 9463 trap 'exit_status=$?
9464 : "${ac_tmp:=$tmp}"
9378 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9465 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9379' 0 9466' 0
9380 trap 'as_fn_exit 1' 1 2 13 15 9467 trap 'as_fn_exit 1' 1 2 13 15
9381} 9468}
9382# Create a (secure) tmp directory for tmp files. 9469# Create a (secure) tmp directory for tmp files.
9383 9470
9384{ 9471{
9385 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9472 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9386 test -n "$tmp" && test -d "$tmp" 9473 test -d "$tmp"
9387} || 9474} ||
9388{ 9475{
9389 tmp=./conf$$-$RANDOM 9476 tmp=./conf$$-$RANDOM
9390 (umask 077 && mkdir "$tmp") 9477 (umask 077 && mkdir "$tmp")
9391} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9478} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9479ac_tmp=$tmp
9392 9480
9393# Set up the scripts for CONFIG_FILES section. 9481# Set up the scripts for CONFIG_FILES section.
9394# No need to generate them if there are no CONFIG_FILES. 9482# No need to generate them if there are no CONFIG_FILES.
9395# This happens for instance with `./config.status config.h'. 9483# This happens for instance with `./config.status config.h'.
9396if test -n "$CONFIG_FILES"; then 9484if test -n "$CONFIG_FILES"; then
9408 ac_cs_awk_cr='\\r' 9496 ac_cs_awk_cr='\\r'
9409else 9497else
9410 ac_cs_awk_cr=$ac_cr 9498 ac_cs_awk_cr=$ac_cr
9411fi 9499fi
9412 9500
9413echo 'BEGIN {' >"$tmp/subs1.awk" && 9501echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9414_ACEOF 9502_ACEOF
9415 9503
9416 9504
9417{ 9505{
9418 echo "cat >conf$$subs.awk <<_ACEOF" && 9506 echo "cat >conf$$subs.awk <<_ACEOF" &&
9436 fi 9524 fi
9437done 9525done
9438rm -f conf$$subs.sh 9526rm -f conf$$subs.sh
9439 9527
9440cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9528cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9441cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9529cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9442_ACEOF 9530_ACEOF
9443sed -n ' 9531sed -n '
9444h 9532h
9445s/^/S["/; s/!.*/"]=/ 9533s/^/S["/; s/!.*/"]=/
9446p 9534p
9484} 9572}
9485' >>$CONFIG_STATUS || ac_write_fail=1 9573' >>$CONFIG_STATUS || ac_write_fail=1
9486rm -f conf$$subs.awk 9574rm -f conf$$subs.awk
9487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9575cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9488_ACAWK 9576_ACAWK
9489cat >>"\$tmp/subs1.awk" <<_ACAWK && 9577cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9490 for (key in S) S_is_set[key] = 1 9578 for (key in S) S_is_set[key] = 1
9491 FS = "" 9579 FS = ""
9492 9580
9493} 9581}
9494{ 9582{
9516cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9604cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9517if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9605if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9518 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9606 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9519else 9607else
9520 cat 9608 cat
9521fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9609fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9522 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9610 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9523_ACEOF 9611_ACEOF
9524 9612
9525# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9613# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9526# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9614# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9550 9638
9551# Set up the scripts for CONFIG_HEADERS section. 9639# Set up the scripts for CONFIG_HEADERS section.
9552# No need to generate them if there are no CONFIG_HEADERS. 9640# No need to generate them if there are no CONFIG_HEADERS.
9553# This happens for instance with `./config.status Makefile'. 9641# This happens for instance with `./config.status Makefile'.
9554if test -n "$CONFIG_HEADERS"; then 9642if test -n "$CONFIG_HEADERS"; then
9555cat >"$tmp/defines.awk" <<\_ACAWK || 9643cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9556BEGIN { 9644BEGIN {
9557_ACEOF 9645_ACEOF
9558 9646
9559# Transform confdefs.h into an awk script `defines.awk', embedded as 9647# Transform confdefs.h into an awk script `defines.awk', embedded as
9560# here-document in config.status, that substitutes the proper values into 9648# here-document in config.status, that substitutes the proper values into
9562 9650
9563# Create a delimiter string that does not exist in confdefs.h, to ease 9651# Create a delimiter string that does not exist in confdefs.h, to ease
9564# handling of long lines. 9652# handling of long lines.
9565ac_delim='%!_!# ' 9653ac_delim='%!_!# '
9566for ac_last_try in false false :; do 9654for ac_last_try in false false :; do
9567 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9655 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9568 if test -z "$ac_t"; then 9656 if test -z "$ac_tt"; then
9569 break 9657 break
9570 elif $ac_last_try; then 9658 elif $ac_last_try; then
9571 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9659 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9572 else 9660 else
9573 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9661 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9664 case $ac_tag in 9752 case $ac_tag in
9665 :[FHLC]) ac_mode=$ac_tag; continue;; 9753 :[FHLC]) ac_mode=$ac_tag; continue;;
9666 esac 9754 esac
9667 case $ac_mode$ac_tag in 9755 case $ac_mode$ac_tag in
9668 :[FHL]*:*);; 9756 :[FHL]*:*);;
9669 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 9757 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9670 :[FH]-) ac_tag=-:-;; 9758 :[FH]-) ac_tag=-:-;;
9671 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9759 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9672 esac 9760 esac
9673 ac_save_IFS=$IFS 9761 ac_save_IFS=$IFS
9674 IFS=: 9762 IFS=:
9683 :[FH]) 9771 :[FH])
9684 ac_file_inputs= 9772 ac_file_inputs=
9685 for ac_f 9773 for ac_f
9686 do 9774 do
9687 case $ac_f in 9775 case $ac_f in
9688 -) ac_f="$tmp/stdin";; 9776 -) ac_f="$ac_tmp/stdin";;
9689 *) # Look for the file first in the build tree, then in the source tree 9777 *) # Look for the file first in the build tree, then in the source tree
9690 # (if the path is not absolute). The absolute path cannot be DOS-style, 9778 # (if the path is not absolute). The absolute path cannot be DOS-style,
9691 # because $ac_f cannot contain `:'. 9779 # because $ac_f cannot contain `:'.
9692 test -f "$ac_f" || 9780 test -f "$ac_f" ||
9693 case $ac_f in 9781 case $ac_f in
9694 [\\/$]*) false;; 9782 [\\/$]*) false;;
9695 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9783 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9696 esac || 9784 esac ||
9697 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 9785 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9698 esac 9786 esac
9699 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9787 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9700 as_fn_append ac_file_inputs " '$ac_f'" 9788 as_fn_append ac_file_inputs " '$ac_f'"
9701 done 9789 done
9702 9790
9718 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9806 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9719 *) ac_sed_conf_input=$configure_input;; 9807 *) ac_sed_conf_input=$configure_input;;
9720 esac 9808 esac
9721 9809
9722 case $ac_tag in 9810 case $ac_tag in
9723 *:-:* | *:-) cat >"$tmp/stdin" \ 9811 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9724 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9725 esac 9813 esac
9726 ;; 9814 ;;
9727 esac 9815 esac
9728 9816
9729 ac_dir=`$as_dirname -- "$ac_file" || 9817 ac_dir=`$as_dirname -- "$ac_file" ||
9855s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9943s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9856s&@INSTALL@&$ac_INSTALL&;t t 9944s&@INSTALL@&$ac_INSTALL&;t t
9857s&@MKDIR_P@&$ac_MKDIR_P&;t t 9945s&@MKDIR_P@&$ac_MKDIR_P&;t t
9858$ac_datarootdir_hack 9946$ac_datarootdir_hack
9859" 9947"
9860eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9948eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9949 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9862 9950
9863test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9951test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9864 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9952 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9865 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9953 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9954 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9867which seems to be undefined. Please make sure it is defined" >&5 9956which seems to be undefined. Please make sure it is defined" >&5
9868$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9957$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9869which seems to be undefined. Please make sure it is defined" >&2;} 9958which seems to be undefined. Please make sure it is defined" >&2;}
9870 9959
9871 rm -f "$tmp/stdin" 9960 rm -f "$ac_tmp/stdin"
9872 case $ac_file in 9961 case $ac_file in
9873 -) cat "$tmp/out" && rm -f "$tmp/out";; 9962 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9874 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9963 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9875 esac \ 9964 esac \
9876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9877 ;; 9966 ;;
9878 :H) 9967 :H)
9879 # 9968 #
9880 # CONFIG_HEADER 9969 # CONFIG_HEADER
9881 # 9970 #
9882 if test x"$ac_file" != x-; then 9971 if test x"$ac_file" != x-; then
9883 { 9972 {
9884 $as_echo "/* $configure_input */" \ 9973 $as_echo "/* $configure_input */" \
9885 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9974 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9886 } >"$tmp/config.h" \ 9975 } >"$ac_tmp/config.h" \
9887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9888 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9977 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9978 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9890$as_echo "$as_me: $ac_file is unchanged" >&6;} 9979$as_echo "$as_me: $ac_file is unchanged" >&6;}
9891 else 9980 else
9892 rm -f "$ac_file" 9981 rm -f "$ac_file"
9893 mv "$tmp/config.h" "$ac_file" \ 9982 mv "$ac_tmp/config.h" "$ac_file" \
9894 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9895 fi 9984 fi
9896 else 9985 else
9897 $as_echo "/* $configure_input */" \ 9986 $as_echo "/* $configure_input */" \
9898 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9987 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9899 || as_fn_error $? "could not create -" "$LINENO" 5 9988 || as_fn_error $? "could not create -" "$LINENO" 5
9900 fi 9989 fi
9901# Compute "$ac_file"'s index in $config_headers. 9990# Compute "$ac_file"'s index in $config_headers.
9902_am_arg="$ac_file" 9991_am_arg="$ac_file"
9903_am_stamp_count=1 9992_am_stamp_count=1
10189if test "x$DIGEST" = xmd4; then 10278if test "x$DIGEST" = xmd4; then
10190echo "***" 10279echo "***"
10191echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure" 10280echo "*** WARNING: The digest you have chosen ($DIGEST) is known to be insecure"
10192fi 10281fi
10193 10282
10283if test "x$DIGEST" = xmd5; then
10284echo "***"
10285echo "*** WARNING: The digest you have chosen ($DIGEST) is probably insecure"
10286fi
10287
10194if test "$HMAC" -lt 12; then 10288if test "$HMAC" -lt 12; then
10195echo "***" 10289echo "***"
10196echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure" 10290echo "*** WARNING: The hmac length you have chosen ($HMAC) is probably insecure"
10197fi 10291fi
10198 10292

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines