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

Comparing gvpe/configure (file contents):
Revision 1.49 by root, Tue Oct 18 13:24:01 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
1162 *) 1191 *)
1163 # FIXME: should be removed in autoconf 3.0. 1192 # FIXME: should be removed in autoconf 3.0.
1164 $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
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${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}"
1168 ;; 1197 ;;
1169 1198
1170 esac 1199 esac
1171done 1200done
1172 1201
1213 1242
1214# FIXME: To remove some day. 1243# FIXME: To remove some day.
1215if test "x$host_alias" != x; then 1244if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then 1245 if test "x$build_alias" = x; then
1217 cross_compiling=maybe 1246 cross_compiling=maybe
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used" >&2
1220 elif test "x$build_alias" != "x$host_alias"; then 1247 elif test "x$build_alias" != "x$host_alias"; then
1221 cross_compiling=yes 1248 cross_compiling=yes
1222 fi 1249 fi
1223fi 1250fi
1224 1251
1511 1538
1512test -n "$ac_init_help" && exit $ac_status 1539test -n "$ac_init_help" && exit $ac_status
1513if $ac_init_version; then 1540if $ac_init_version; then
1514 cat <<\_ACEOF 1541 cat <<\_ACEOF
1515configure 1542configure
1516generated by GNU Autoconf 2.67 1543generated by GNU Autoconf 2.69
1517 1544
1518Copyright (C) 2010 Free Software Foundation, Inc. 1545Copyright (C) 2012 Free Software Foundation, Inc.
1519This configure script is free software; the Free Software Foundation 1546This configure script is free software; the Free Software Foundation
1520gives unlimited permission to copy, distribute and modify it. 1547gives unlimited permission to copy, distribute and modify it.
1521_ACEOF 1548_ACEOF
1522 exit 1549 exit
1523fi 1550fi
1557 $as_echo "$as_me: failed program was:" >&5 1584 $as_echo "$as_me: failed program was:" >&5
1558sed 's/^/| /' conftest.$ac_ext >&5 1585sed 's/^/| /' conftest.$ac_ext >&5
1559 1586
1560 ac_retval=1 1587 ac_retval=1
1561fi 1588fi
1562 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
1563 as_fn_set_status $ac_retval 1590 as_fn_set_status $ac_retval
1564 1591
1565} # ac_fn_c_try_compile 1592} # ac_fn_c_try_compile
1566 1593
1567# ac_fn_c_try_link LINENO 1594# ac_fn_c_try_link LINENO
1589 test $ac_status = 0; } && { 1616 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" || 1617 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err 1618 test ! -s conftest.err
1592 } && test -s conftest$ac_exeext && { 1619 } && test -s conftest$ac_exeext && {
1593 test "$cross_compiling" = yes || 1620 test "$cross_compiling" = yes ||
1594 $as_test_x conftest$ac_exeext 1621 test -x conftest$ac_exeext
1595 }; then : 1622 }; then :
1596 ac_retval=0 1623 ac_retval=0
1597else 1624else
1598 $as_echo "$as_me: failed program was:" >&5 1625 $as_echo "$as_me: failed program was:" >&5
1599sed 's/^/| /' conftest.$ac_ext >&5 1626sed 's/^/| /' conftest.$ac_ext >&5
1603 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1630 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604 # 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
1605 # 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
1606 # 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.
1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608 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
1609 as_fn_set_status $ac_retval 1636 as_fn_set_status $ac_retval
1610 1637
1611} # ac_fn_c_try_link 1638} # ac_fn_c_try_link
1612 1639
1613# ac_fn_c_try_cpp LINENO 1640# ac_fn_c_try_cpp LINENO
1640 $as_echo "$as_me: failed program was:" >&5 1667 $as_echo "$as_me: failed program was:" >&5
1641sed 's/^/| /' conftest.$ac_ext >&5 1668sed 's/^/| /' conftest.$ac_ext >&5
1642 1669
1643 ac_retval=1 1670 ac_retval=1
1644fi 1671fi
1645 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
1646 as_fn_set_status $ac_retval 1673 as_fn_set_status $ac_retval
1647 1674
1648} # ac_fn_c_try_cpp 1675} # ac_fn_c_try_cpp
1649 1676
1650# ac_fn_cxx_try_compile LINENO 1677# ac_fn_cxx_try_compile LINENO
1678 $as_echo "$as_me: failed program was:" >&5 1705 $as_echo "$as_me: failed program was:" >&5
1679sed 's/^/| /' conftest.$ac_ext >&5 1706sed 's/^/| /' conftest.$ac_ext >&5
1680 1707
1681 ac_retval=1 1708 ac_retval=1
1682fi 1709fi
1683 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
1684 as_fn_set_status $ac_retval 1711 as_fn_set_status $ac_retval
1685 1712
1686} # ac_fn_cxx_try_compile 1713} # ac_fn_cxx_try_compile
1687 1714
1688# ac_fn_cxx_try_cpp LINENO 1715# ac_fn_cxx_try_cpp LINENO
1715 $as_echo "$as_me: failed program was:" >&5 1742 $as_echo "$as_me: failed program was:" >&5
1716sed 's/^/| /' conftest.$ac_ext >&5 1743sed 's/^/| /' conftest.$ac_ext >&5
1717 1744
1718 ac_retval=1 1745 ac_retval=1
1719fi 1746fi
1720 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
1721 as_fn_set_status $ac_retval 1748 as_fn_set_status $ac_retval
1722 1749
1723} # ac_fn_cxx_try_cpp 1750} # ac_fn_cxx_try_cpp
1724 1751
1725# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1752# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1728# the include files in INCLUDES and setting the cache variable VAR 1755# the include files in INCLUDES and setting the cache variable VAR
1729# accordingly. 1756# accordingly.
1730ac_fn_cxx_check_header_mongrel () 1757ac_fn_cxx_check_header_mongrel ()
1731{ 1758{
1732 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
1733 if eval "test \"\${$3+set}\"" = set; then : 1760 if eval \${$3+:} false; then :
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735$as_echo_n "checking for $2... " >&6; } 1762$as_echo_n "checking for $2... " >&6; }
1736if eval "test \"\${$3+set}\"" = set; then : 1763if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6 1764 $as_echo_n "(cached) " >&6
1738fi 1765fi
1739eval ac_res=\$$3 1766eval ac_res=\$$3
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741$as_echo "$ac_res" >&6; } 1768$as_echo "$ac_res" >&6; }
1794$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;}
1795 ;; 1822 ;;
1796esac 1823esac
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798$as_echo_n "checking for $2... " >&6; } 1825$as_echo_n "checking for $2... " >&6; }
1799if eval "test \"\${$3+set}\"" = set; then : 1826if eval \${$3+:} false; then :
1800 $as_echo_n "(cached) " >&6 1827 $as_echo_n "(cached) " >&6
1801else 1828else
1802 eval "$3=\$ac_header_compiler" 1829 eval "$3=\$ac_header_compiler"
1803fi 1830fi
1804eval ac_res=\$$3 1831eval ac_res=\$$3
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806$as_echo "$ac_res" >&6; } 1833$as_echo "$ac_res" >&6; }
1807fi 1834fi
1808 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
1809 1836
1810} # ac_fn_cxx_check_header_mongrel 1837} # ac_fn_cxx_check_header_mongrel
1811 1838
1812# ac_fn_cxx_try_run LINENO 1839# ac_fn_cxx_try_run LINENO
1813# ------------------------ 1840# ------------------------
1844sed 's/^/| /' conftest.$ac_ext >&5 1871sed 's/^/| /' conftest.$ac_ext >&5
1845 1872
1846 ac_retval=$ac_status 1873 ac_retval=$ac_status
1847fi 1874fi
1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849 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
1850 as_fn_set_status $ac_retval 1877 as_fn_set_status $ac_retval
1851 1878
1852} # ac_fn_cxx_try_run 1879} # ac_fn_cxx_try_run
1853 1880
1854# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1881# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1858ac_fn_cxx_check_header_compile () 1885ac_fn_cxx_check_header_compile ()
1859{ 1886{
1860 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
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862$as_echo_n "checking for $2... " >&6; } 1889$as_echo_n "checking for $2... " >&6; }
1863if eval "test \"\${$3+set}\"" = set; then : 1890if eval \${$3+:} false; then :
1864 $as_echo_n "(cached) " >&6 1891 $as_echo_n "(cached) " >&6
1865else 1892else
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867/* end confdefs.h. */ 1894/* end confdefs.h. */
1868$4 1895$4
1876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877fi 1904fi
1878eval ac_res=\$$3 1905eval ac_res=\$$3
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880$as_echo "$ac_res" >&6; } 1907$as_echo "$ac_res" >&6; }
1881 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
1882 1909
1883} # ac_fn_cxx_check_header_compile 1910} # ac_fn_cxx_check_header_compile
1884 1911
1885# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 1912# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1886# --------------------------------------------- 1913# ---------------------------------------------
1889ac_fn_cxx_check_type () 1916ac_fn_cxx_check_type ()
1890{ 1917{
1891 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
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893$as_echo_n "checking for $2... " >&6; } 1920$as_echo_n "checking for $2... " >&6; }
1894if eval "test \"\${$3+set}\"" = set; then : 1921if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6 1922 $as_echo_n "(cached) " >&6
1896else 1923else
1897 eval "$3=no" 1924 eval "$3=no"
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h. */ 1926/* end confdefs.h. */
1930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931fi 1958fi
1932eval ac_res=\$$3 1959eval ac_res=\$$3
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934$as_echo "$ac_res" >&6; } 1961$as_echo "$ac_res" >&6; }
1935 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
1936 1963
1937} # ac_fn_cxx_check_type 1964} # ac_fn_cxx_check_type
1938 1965
1939# ac_fn_c_try_run LINENO 1966# ac_fn_c_try_run LINENO
1940# ---------------------- 1967# ----------------------
1971sed 's/^/| /' conftest.$ac_ext >&5 1998sed 's/^/| /' conftest.$ac_ext >&5
1972 1999
1973 ac_retval=$ac_status 2000 ac_retval=$ac_status
1974fi 2001fi
1975 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2002 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1976 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
1977 as_fn_set_status $ac_retval 2004 as_fn_set_status $ac_retval
1978 2005
1979} # ac_fn_c_try_run 2006} # ac_fn_c_try_run
1980 2007
1981# ac_fn_c_check_func LINENO FUNC VAR 2008# ac_fn_c_check_func LINENO FUNC VAR
1984ac_fn_c_check_func () 2011ac_fn_c_check_func ()
1985{ 2012{
1986 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
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988$as_echo_n "checking for $2... " >&6; } 2015$as_echo_n "checking for $2... " >&6; }
1989if eval "test \"\${$3+set}\"" = set; then : 2016if eval \${$3+:} false; then :
1990 $as_echo_n "(cached) " >&6 2017 $as_echo_n "(cached) " >&6
1991else 2018else
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993/* end confdefs.h. */ 2020/* end confdefs.h. */
1994/* 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.
2039 conftest$ac_exeext conftest.$ac_ext 2066 conftest$ac_exeext conftest.$ac_ext
2040fi 2067fi
2041eval ac_res=\$$3 2068eval ac_res=\$$3
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043$as_echo "$ac_res" >&6; } 2070$as_echo "$ac_res" >&6; }
2044 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
2045 2072
2046} # ac_fn_c_check_func 2073} # ac_fn_c_check_func
2047 2074
2048# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2075# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2049# ------------------------------------------------------- 2076# -------------------------------------------------------
2051# the include files in INCLUDES and setting the cache variable VAR 2078# the include files in INCLUDES and setting the cache variable VAR
2052# accordingly. 2079# accordingly.
2053ac_fn_c_check_header_mongrel () 2080ac_fn_c_check_header_mongrel ()
2054{ 2081{
2055 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
2056 if eval "test \"\${$3+set}\"" = set; then : 2083 if eval \${$3+:} false; then :
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058$as_echo_n "checking for $2... " >&6; } 2085$as_echo_n "checking for $2... " >&6; }
2059if eval "test \"\${$3+set}\"" = set; then : 2086if eval \${$3+:} false; then :
2060 $as_echo_n "(cached) " >&6 2087 $as_echo_n "(cached) " >&6
2061fi 2088fi
2062eval ac_res=\$$3 2089eval ac_res=\$$3
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064$as_echo "$ac_res" >&6; } 2091$as_echo "$ac_res" >&6; }
2117$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;}
2118 ;; 2145 ;;
2119esac 2146esac
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121$as_echo_n "checking for $2... " >&6; } 2148$as_echo_n "checking for $2... " >&6; }
2122if eval "test \"\${$3+set}\"" = set; then : 2149if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6 2150 $as_echo_n "(cached) " >&6
2124else 2151else
2125 eval "$3=\$ac_header_compiler" 2152 eval "$3=\$ac_header_compiler"
2126fi 2153fi
2127eval ac_res=\$$3 2154eval ac_res=\$$3
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129$as_echo "$ac_res" >&6; } 2156$as_echo "$ac_res" >&6; }
2130fi 2157fi
2131 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
2132 2159
2133} # ac_fn_c_check_header_mongrel 2160} # ac_fn_c_check_header_mongrel
2134 2161
2135# ac_fn_cxx_try_link LINENO 2162# ac_fn_cxx_try_link LINENO
2136# ------------------------- 2163# -------------------------
2157 test $ac_status = 0; } && { 2184 test $ac_status = 0; } && {
2158 test -z "$ac_cxx_werror_flag" || 2185 test -z "$ac_cxx_werror_flag" ||
2159 test ! -s conftest.err 2186 test ! -s conftest.err
2160 } && test -s conftest$ac_exeext && { 2187 } && test -s conftest$ac_exeext && {
2161 test "$cross_compiling" = yes || 2188 test "$cross_compiling" = yes ||
2162 $as_test_x conftest$ac_exeext 2189 test -x conftest$ac_exeext
2163 }; then : 2190 }; then :
2164 ac_retval=0 2191 ac_retval=0
2165else 2192else
2166 $as_echo "$as_me: failed program was:" >&5 2193 $as_echo "$as_me: failed program was:" >&5
2167sed 's/^/| /' conftest.$ac_ext >&5 2194sed 's/^/| /' conftest.$ac_ext >&5
2171 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2198 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2172 # 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
2173 # 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
2174 # 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.
2175 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2202 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2176 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
2177 as_fn_set_status $ac_retval 2204 as_fn_set_status $ac_retval
2178 2205
2179} # ac_fn_cxx_try_link 2206} # ac_fn_cxx_try_link
2180 2207
2181# ac_fn_cxx_check_func LINENO FUNC VAR 2208# ac_fn_cxx_check_func LINENO FUNC VAR
2184ac_fn_cxx_check_func () 2211ac_fn_cxx_check_func ()
2185{ 2212{
2186 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
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188$as_echo_n "checking for $2... " >&6; } 2215$as_echo_n "checking for $2... " >&6; }
2189if eval "test \"\${$3+set}\"" = set; then : 2216if eval \${$3+:} false; then :
2190 $as_echo_n "(cached) " >&6 2217 $as_echo_n "(cached) " >&6
2191else 2218else
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193/* end confdefs.h. */ 2220/* end confdefs.h. */
2194/* 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.
2239 conftest$ac_exeext conftest.$ac_ext 2266 conftest$ac_exeext conftest.$ac_ext
2240fi 2267fi
2241eval ac_res=\$$3 2268eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243$as_echo "$ac_res" >&6; } 2270$as_echo "$ac_res" >&6; }
2244 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
2245 2272
2246} # ac_fn_cxx_check_func 2273} # ac_fn_cxx_check_func
2247cat >config.log <<_ACEOF 2274cat >config.log <<_ACEOF
2248This file contains any messages produced by compilers while 2275This file contains any messages produced by compilers while
2249running configure, to aid debugging if configure makes a mistake. 2276running configure, to aid debugging if configure makes a mistake.
2250 2277
2251It was created by $as_me, which was 2278It was created by $as_me, which was
2252generated by GNU Autoconf 2.67. Invocation command line was 2279generated by GNU Autoconf 2.69. Invocation command line was
2253 2280
2254 $ $0 $@ 2281 $ $0 $@
2255 2282
2256_ACEOF 2283_ACEOF
2257exec 5>>config.log 2284exec 5>>config.log
2505 sed 's/^/| /' "$ac_site_file" >&5 2532 sed 's/^/| /' "$ac_site_file" >&5
2506 . "$ac_site_file" \ 2533 . "$ac_site_file" \
2507 || { { $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
2508$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509as_fn_error $? "failed to load site script $ac_site_file 2536as_fn_error $? "failed to load site script $ac_site_file
2510See \`config.log' for more details" "$LINENO" 5 ; } 2537See \`config.log' for more details" "$LINENO" 5; }
2511 fi 2538 fi
2512done 2539done
2513 2540
2514if test -r "$cache_file"; then 2541if test -r "$cache_file"; then
2515 # 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
2630$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2657$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2631 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
2632 2659
2633{ $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
2634$as_echo_n "checking build system type... " >&6; } 2661$as_echo_n "checking build system type... " >&6; }
2635if test "${ac_cv_build+set}" = set; then : 2662if ${ac_cv_build+:} false; then :
2636 $as_echo_n "(cached) " >&6 2663 $as_echo_n "(cached) " >&6
2637else 2664else
2638 ac_build_alias=$build_alias 2665 ac_build_alias=$build_alias
2639test "x$ac_build_alias" = x && 2666test "x$ac_build_alias" = x &&
2640 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2667 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2646fi 2673fi
2647{ $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
2648$as_echo "$ac_cv_build" >&6; } 2675$as_echo "$ac_cv_build" >&6; }
2649case $ac_cv_build in 2676case $ac_cv_build in
2650*-*-*) ;; 2677*-*-*) ;;
2651*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2678*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2652esac 2679esac
2653build=$ac_cv_build 2680build=$ac_cv_build
2654ac_save_IFS=$IFS; IFS='-' 2681ac_save_IFS=$IFS; IFS='-'
2655set x $ac_cv_build 2682set x $ac_cv_build
2656shift 2683shift
2664case $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
2665 2692
2666 2693
2667{ $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
2668$as_echo_n "checking host system type... " >&6; } 2695$as_echo_n "checking host system type... " >&6; }
2669if test "${ac_cv_host+set}" = set; then : 2696if ${ac_cv_host+:} false; then :
2670 $as_echo_n "(cached) " >&6 2697 $as_echo_n "(cached) " >&6
2671else 2698else
2672 if test "x$host_alias" = x; then 2699 if test "x$host_alias" = x; then
2673 ac_cv_host=$ac_cv_build 2700 ac_cv_host=$ac_cv_build
2674else 2701else
2679fi 2706fi
2680{ $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
2681$as_echo "$ac_cv_host" >&6; } 2708$as_echo "$ac_cv_host" >&6; }
2682case $ac_cv_host in 2709case $ac_cv_host in
2683*-*-*) ;; 2710*-*-*) ;;
2684*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2711*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2685esac 2712esac
2686host=$ac_cv_host 2713host=$ac_cv_host
2687ac_save_IFS=$IFS; IFS='-' 2714ac_save_IFS=$IFS; IFS='-'
2688set x $ac_cv_host 2715set x $ac_cv_host
2689shift 2716shift
2697case $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
2698 2725
2699 2726
2700{ $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
2701$as_echo_n "checking target system type... " >&6; } 2728$as_echo_n "checking target system type... " >&6; }
2702if test "${ac_cv_target+set}" = set; then : 2729if ${ac_cv_target+:} false; then :
2703 $as_echo_n "(cached) " >&6 2730 $as_echo_n "(cached) " >&6
2704else 2731else
2705 if test "x$target_alias" = x; then 2732 if test "x$target_alias" = x; then
2706 ac_cv_target=$ac_cv_host 2733 ac_cv_target=$ac_cv_host
2707else 2734else
2712fi 2739fi
2713{ $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
2714$as_echo "$ac_cv_target" >&6; } 2741$as_echo "$ac_cv_target" >&6; }
2715case $ac_cv_target in 2742case $ac_cv_target in
2716*-*-*) ;; 2743*-*-*) ;;
2717*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2744*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2718esac 2745esac
2719target=$ac_cv_target 2746target=$ac_cv_target
2720ac_save_IFS=$IFS; IFS='-' 2747ac_save_IFS=$IFS; IFS='-'
2721set x $ac_cv_target 2748set x $ac_cv_target
2722shift 2749shift
2753# ./install, which can be erroneously created by make from ./install.sh. 2780# ./install, which can be erroneously created by make from ./install.sh.
2754# Reject install programs that cannot install multiple files. 2781# Reject install programs that cannot install multiple files.
2755{ $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
2756$as_echo_n "checking for a BSD-compatible install... " >&6; } 2783$as_echo_n "checking for a BSD-compatible install... " >&6; }
2757if test -z "$INSTALL"; then 2784if test -z "$INSTALL"; then
2758if test "${ac_cv_path_install+set}" = set; then : 2785if ${ac_cv_path_install+:} false; then :
2759 $as_echo_n "(cached) " >&6 2786 $as_echo_n "(cached) " >&6
2760else 2787else
2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762for as_dir in $PATH 2789for as_dir in $PATH
2763do 2790do
2773 # 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.
2774 # 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
2775 # by default. 2802 # by default.
2776 for ac_prog in ginstall scoinst install; do 2803 for ac_prog in ginstall scoinst install; do
2777 for ac_exec_ext in '' $ac_executable_extensions; do 2804 for ac_exec_ext in '' $ac_executable_extensions; do
2778 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
2779 if test $ac_prog = install && 2806 if test $ac_prog = install &&
2780 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
2781 # AIX install. It has an incompatible calling convention. 2808 # AIX install. It has an incompatible calling convention.
2782 : 2809 :
2783 elif test $ac_prog = install && 2810 elif test $ac_prog = install &&
2840# name. Accept space and tab only in the latter. 2867# name. Accept space and tab only in the latter.
2841am_lf=' 2868am_lf='
2842' 2869'
2843case `pwd` in 2870case `pwd` in
2844 *[\\\"\#\$\&\'\`$am_lf]*) 2871 *[\\\"\#\$\&\'\`$am_lf]*)
2845 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2872 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2846esac 2873esac
2847case $srcdir in 2874case $srcdir in
2848 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2875 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2849 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2876 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2850esac 2877esac
2851 2878
2852# 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
2853# arguments. Must try -L first in case configure is actually a 2880# arguments. Must try -L first in case configure is actually a
2854# 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
2930 if test -n "$ac_tool_prefix"; then 2957 if test -n "$ac_tool_prefix"; then
2931 # 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.
2932set dummy ${ac_tool_prefix}strip; ac_word=$2 2959set dummy ${ac_tool_prefix}strip; ac_word=$2
2933{ $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
2934$as_echo_n "checking for $ac_word... " >&6; } 2961$as_echo_n "checking for $ac_word... " >&6; }
2935if test "${ac_cv_prog_STRIP+set}" = set; then : 2962if ${ac_cv_prog_STRIP+:} false; then :
2936 $as_echo_n "(cached) " >&6 2963 $as_echo_n "(cached) " >&6
2937else 2964else
2938 if test -n "$STRIP"; then 2965 if test -n "$STRIP"; then
2939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2966 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2940else 2967else
2942for as_dir in $PATH 2969for as_dir in $PATH
2943do 2970do
2944 IFS=$as_save_IFS 2971 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=. 2972 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do 2973 for ac_exec_ext in '' $ac_executable_extensions; do
2947 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
2948 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2975 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2949 $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
2950 break 2 2977 break 2
2951 fi 2978 fi
2952done 2979done
2970 ac_ct_STRIP=$STRIP 2997 ac_ct_STRIP=$STRIP
2971 # 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.
2972set dummy strip; ac_word=$2 2999set dummy strip; ac_word=$2
2973{ $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
2974$as_echo_n "checking for $ac_word... " >&6; } 3001$as_echo_n "checking for $ac_word... " >&6; }
2975if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 3002if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2976 $as_echo_n "(cached) " >&6 3003 $as_echo_n "(cached) " >&6
2977else 3004else
2978 if test -n "$ac_ct_STRIP"; then 3005 if test -n "$ac_ct_STRIP"; then
2979 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.
2980else 3007else
2982for as_dir in $PATH 3009for as_dir in $PATH
2983do 3010do
2984 IFS=$as_save_IFS 3011 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=. 3012 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do 3013 for ac_exec_ext in '' $ac_executable_extensions; do
2987 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
2988 ac_cv_prog_ac_ct_STRIP="strip" 3015 ac_cv_prog_ac_ct_STRIP="strip"
2989 $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
2990 break 2 3017 break 2
2991 fi 3018 fi
2992done 3019done
3023INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3050INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3024 3051
3025{ $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
3026$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3053$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3027if test -z "$MKDIR_P"; then 3054if test -z "$MKDIR_P"; then
3028 if test "${ac_cv_path_mkdir+set}" = set; then : 3055 if ${ac_cv_path_mkdir+:} false; then :
3029 $as_echo_n "(cached) " >&6 3056 $as_echo_n "(cached) " >&6
3030else 3057else
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3059for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3033do 3060do
3034 IFS=$as_save_IFS 3061 IFS=$as_save_IFS
3035 test -z "$as_dir" && as_dir=. 3062 test -z "$as_dir" && as_dir=.
3036 for ac_prog in mkdir gmkdir; do 3063 for ac_prog in mkdir gmkdir; do
3037 for ac_exec_ext in '' $ac_executable_extensions; do 3064 for ac_exec_ext in '' $ac_executable_extensions; do
3038 { 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
3039 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 #(
3040 'mkdir (GNU coreutils) '* | \ 3067 'mkdir (GNU coreutils) '* | \
3041 'mkdir (coreutils) '* | \ 3068 'mkdir (coreutils) '* | \
3042 'mkdir (fileutils) '4.1*) 3069 'mkdir (fileutils) '4.1*)
3043 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3070 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3074do 3101do
3075 # 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.
3076set dummy $ac_prog; ac_word=$2 3103set dummy $ac_prog; ac_word=$2
3077{ $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
3078$as_echo_n "checking for $ac_word... " >&6; } 3105$as_echo_n "checking for $ac_word... " >&6; }
3079if test "${ac_cv_prog_AWK+set}" = set; then : 3106if ${ac_cv_prog_AWK+:} false; then :
3080 $as_echo_n "(cached) " >&6 3107 $as_echo_n "(cached) " >&6
3081else 3108else
3082 if test -n "$AWK"; then 3109 if test -n "$AWK"; then
3083 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3110 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3084else 3111else
3086for as_dir in $PATH 3113for as_dir in $PATH
3087do 3114do
3088 IFS=$as_save_IFS 3115 IFS=$as_save_IFS
3089 test -z "$as_dir" && as_dir=. 3116 test -z "$as_dir" && as_dir=.
3090 for ac_exec_ext in '' $ac_executable_extensions; do 3117 for ac_exec_ext in '' $ac_executable_extensions; do
3091 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
3092 ac_cv_prog_AWK="$ac_prog" 3119 ac_cv_prog_AWK="$ac_prog"
3093 $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
3094 break 2 3121 break 2
3095 fi 3122 fi
3096done 3123done
3114 3141
3115{ $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
3116$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3143$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3117set x ${MAKE-make} 3144set x ${MAKE-make}
3118ac_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'`
3119if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3146if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3120 $as_echo_n "(cached) " >&6 3147 $as_echo_n "(cached) " >&6
3121else 3148else
3122 cat >conftest.make <<\_ACEOF 3149 cat >conftest.make <<\_ACEOF
3123SHELL = /bin/sh 3150SHELL = /bin/sh
3124all: 3151all:
3202 3229
3203MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3230MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3204 3231
3205# 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
3206# some platforms. 3233# some platforms.
3207# 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}'
3208 3237
3209AMTAR=${AMTAR-"${am_missing_run}tar"}
3210
3211am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3238am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3212 3239
3213 3240
3214 3241
3215 3242
3216 3243
3240 3267
3241 3268
3242 3269
3243 3270
3244 3271
3245
3246
3247
3248 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3249
3250 for k in m4 ; do ACLOCAL="$ACLOCAL -I $k" ; done
3251 3272
3252 3273
3253 3274
3254 MKINSTALLDIRS= 3275 MKINSTALLDIRS=
3255 if test -n "$ac_aux_dir"; then 3276 if test -n "$ac_aux_dir"; then
3265 3286
3266 # 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.
3267set dummy msgfmt; ac_word=$2 3288set dummy msgfmt; ac_word=$2
3268{ $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
3269$as_echo_n "checking for $ac_word... " >&6; } 3290$as_echo_n "checking for $ac_word... " >&6; }
3270if test "${ac_cv_path_MSGFMT+set}" = set; then : 3291if ${ac_cv_path_MSGFMT+:} false; then :
3271 $as_echo_n "(cached) " >&6 3292 $as_echo_n "(cached) " >&6
3272else 3293else
3273 case "$MSGFMT" in 3294 case "$MSGFMT" in
3274 /*) 3295 /*)
3275 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.
3302 3323
3303 # 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.
3304set dummy gmsgfmt; ac_word=$2 3325set dummy gmsgfmt; ac_word=$2
3305{ $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
3306$as_echo_n "checking for $ac_word... " >&6; } 3327$as_echo_n "checking for $ac_word... " >&6; }
3307if test "${ac_cv_path_GMSGFMT+set}" = set; then : 3328if ${ac_cv_path_GMSGFMT+:} false; then :
3308 $as_echo_n "(cached) " >&6 3329 $as_echo_n "(cached) " >&6
3309else 3330else
3310 case $GMSGFMT in 3331 case $GMSGFMT in
3311 [\\/]* | ?:[\\/]*) 3332 [\\/]* | ?:[\\/]*)
3312 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.
3316for as_dir in $PATH 3337for as_dir in $PATH
3317do 3338do
3318 IFS=$as_save_IFS 3339 IFS=$as_save_IFS
3319 test -z "$as_dir" && as_dir=. 3340 test -z "$as_dir" && as_dir=.
3320 for ac_exec_ext in '' $ac_executable_extensions; do 3341 for ac_exec_ext in '' $ac_executable_extensions; do
3321 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
3322 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 3343 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3323 $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
3324 break 2 3345 break 2
3325 fi 3346 fi
3326done 3347done
3344 3365
3345 # 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.
3346set dummy xgettext; ac_word=$2 3367set dummy xgettext; ac_word=$2
3347{ $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
3348$as_echo_n "checking for $ac_word... " >&6; } 3369$as_echo_n "checking for $ac_word... " >&6; }
3349if test "${ac_cv_path_XGETTEXT+set}" = set; then : 3370if ${ac_cv_path_XGETTEXT+:} false; then :
3350 $as_echo_n "(cached) " >&6 3371 $as_echo_n "(cached) " >&6
3351else 3372else
3352 case "$XGETTEXT" in 3373 case "$XGETTEXT" in
3353 /*) 3374 /*)
3354 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.
3383 3404
3384 # 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.
3385set dummy msgmerge; ac_word=$2 3406set dummy msgmerge; ac_word=$2
3386{ $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
3387$as_echo_n "checking for $ac_word... " >&6; } 3408$as_echo_n "checking for $ac_word... " >&6; }
3388if test "${ac_cv_path_MSGMERGE+set}" = set; then : 3409if ${ac_cv_path_MSGMERGE+:} false; then :
3389 $as_echo_n "(cached) " >&6 3410 $as_echo_n "(cached) " >&6
3390else 3411else
3391 case "$MSGMERGE" in 3412 case "$MSGMERGE" in
3392 /*) 3413 /*)
3393 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.
3511fi 3532fi
3512 3533
3513if test "x$enable_dependency_tracking" != xno; then 3534if test "x$enable_dependency_tracking" != xno; then
3514 am_depcomp="$ac_aux_dir/depcomp" 3535 am_depcomp="$ac_aux_dir/depcomp"
3515 AMDEPBACKSLASH='\' 3536 AMDEPBACKSLASH='\'
3537 am__nodep='_no'
3516fi 3538fi
3517 if test "x$enable_dependency_tracking" != xno; then 3539 if test "x$enable_dependency_tracking" != xno; then
3518 AMDEP_TRUE= 3540 AMDEP_TRUE=
3519 AMDEP_FALSE='#' 3541 AMDEP_FALSE='#'
3520else 3542else
3531if test -n "$ac_tool_prefix"; then 3553if test -n "$ac_tool_prefix"; then
3532 # 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.
3533set dummy ${ac_tool_prefix}gcc; ac_word=$2 3555set dummy ${ac_tool_prefix}gcc; ac_word=$2
3534{ $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
3535$as_echo_n "checking for $ac_word... " >&6; } 3557$as_echo_n "checking for $ac_word... " >&6; }
3536if test "${ac_cv_prog_CC+set}" = set; then : 3558if ${ac_cv_prog_CC+:} false; then :
3537 $as_echo_n "(cached) " >&6 3559 $as_echo_n "(cached) " >&6
3538else 3560else
3539 if test -n "$CC"; then 3561 if test -n "$CC"; then
3540 ac_cv_prog_CC="$CC" # Let the user override the test. 3562 ac_cv_prog_CC="$CC" # Let the user override the test.
3541else 3563else
3543for as_dir in $PATH 3565for as_dir in $PATH
3544do 3566do
3545 IFS=$as_save_IFS 3567 IFS=$as_save_IFS
3546 test -z "$as_dir" && as_dir=. 3568 test -z "$as_dir" && as_dir=.
3547 for ac_exec_ext in '' $ac_executable_extensions; do 3569 for ac_exec_ext in '' $ac_executable_extensions; do
3548 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
3549 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3571 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3550 $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
3551 break 2 3573 break 2
3552 fi 3574 fi
3553done 3575done
3571 ac_ct_CC=$CC 3593 ac_ct_CC=$CC
3572 # 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.
3573set dummy gcc; ac_word=$2 3595set dummy gcc; ac_word=$2
3574{ $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
3575$as_echo_n "checking for $ac_word... " >&6; } 3597$as_echo_n "checking for $ac_word... " >&6; }
3576if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3598if ${ac_cv_prog_ac_ct_CC+:} false; then :
3577 $as_echo_n "(cached) " >&6 3599 $as_echo_n "(cached) " >&6
3578else 3600else
3579 if test -n "$ac_ct_CC"; then 3601 if test -n "$ac_ct_CC"; then
3580 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.
3581else 3603else
3583for as_dir in $PATH 3605for as_dir in $PATH
3584do 3606do
3585 IFS=$as_save_IFS 3607 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=. 3608 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do 3609 for ac_exec_ext in '' $ac_executable_extensions; do
3588 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
3589 ac_cv_prog_ac_ct_CC="gcc" 3611 ac_cv_prog_ac_ct_CC="gcc"
3590 $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
3591 break 2 3613 break 2
3592 fi 3614 fi
3593done 3615done
3624 if test -n "$ac_tool_prefix"; then 3646 if test -n "$ac_tool_prefix"; then
3625 # 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.
3626set dummy ${ac_tool_prefix}cc; ac_word=$2 3648set dummy ${ac_tool_prefix}cc; ac_word=$2
3627{ $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
3628$as_echo_n "checking for $ac_word... " >&6; } 3650$as_echo_n "checking for $ac_word... " >&6; }
3629if test "${ac_cv_prog_CC+set}" = set; then : 3651if ${ac_cv_prog_CC+:} false; then :
3630 $as_echo_n "(cached) " >&6 3652 $as_echo_n "(cached) " >&6
3631else 3653else
3632 if test -n "$CC"; then 3654 if test -n "$CC"; then
3633 ac_cv_prog_CC="$CC" # Let the user override the test. 3655 ac_cv_prog_CC="$CC" # Let the user override the test.
3634else 3656else
3636for as_dir in $PATH 3658for as_dir in $PATH
3637do 3659do
3638 IFS=$as_save_IFS 3660 IFS=$as_save_IFS
3639 test -z "$as_dir" && as_dir=. 3661 test -z "$as_dir" && as_dir=.
3640 for ac_exec_ext in '' $ac_executable_extensions; do 3662 for ac_exec_ext in '' $ac_executable_extensions; do
3641 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
3642 ac_cv_prog_CC="${ac_tool_prefix}cc" 3664 ac_cv_prog_CC="${ac_tool_prefix}cc"
3643 $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
3644 break 2 3666 break 2
3645 fi 3667 fi
3646done 3668done
3664if test -z "$CC"; then 3686if test -z "$CC"; then
3665 # 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.
3666set dummy cc; ac_word=$2 3688set dummy cc; ac_word=$2
3667{ $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
3668$as_echo_n "checking for $ac_word... " >&6; } 3690$as_echo_n "checking for $ac_word... " >&6; }
3669if test "${ac_cv_prog_CC+set}" = set; then : 3691if ${ac_cv_prog_CC+:} false; then :
3670 $as_echo_n "(cached) " >&6 3692 $as_echo_n "(cached) " >&6
3671else 3693else
3672 if test -n "$CC"; then 3694 if test -n "$CC"; then
3673 ac_cv_prog_CC="$CC" # Let the user override the test. 3695 ac_cv_prog_CC="$CC" # Let the user override the test.
3674else 3696else
3677for as_dir in $PATH 3699for as_dir in $PATH
3678do 3700do
3679 IFS=$as_save_IFS 3701 IFS=$as_save_IFS
3680 test -z "$as_dir" && as_dir=. 3702 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do 3703 for ac_exec_ext in '' $ac_executable_extensions; do
3682 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
3683 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
3684 ac_prog_rejected=yes 3706 ac_prog_rejected=yes
3685 continue 3707 continue
3686 fi 3708 fi
3687 ac_cv_prog_CC="cc" 3709 ac_cv_prog_CC="cc"
3723 do 3745 do
3724 # 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.
3725set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3747set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3726{ $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
3727$as_echo_n "checking for $ac_word... " >&6; } 3749$as_echo_n "checking for $ac_word... " >&6; }
3728if test "${ac_cv_prog_CC+set}" = set; then : 3750if ${ac_cv_prog_CC+:} false; then :
3729 $as_echo_n "(cached) " >&6 3751 $as_echo_n "(cached) " >&6
3730else 3752else
3731 if test -n "$CC"; then 3753 if test -n "$CC"; then
3732 ac_cv_prog_CC="$CC" # Let the user override the test. 3754 ac_cv_prog_CC="$CC" # Let the user override the test.
3733else 3755else
3735for as_dir in $PATH 3757for as_dir in $PATH
3736do 3758do
3737 IFS=$as_save_IFS 3759 IFS=$as_save_IFS
3738 test -z "$as_dir" && as_dir=. 3760 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do 3761 for ac_exec_ext in '' $ac_executable_extensions; do
3740 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
3741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3742 $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
3743 break 2 3765 break 2
3744 fi 3766 fi
3745done 3767done
3767do 3789do
3768 # 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.
3769set dummy $ac_prog; ac_word=$2 3791set dummy $ac_prog; ac_word=$2
3770{ $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
3771$as_echo_n "checking for $ac_word... " >&6; } 3793$as_echo_n "checking for $ac_word... " >&6; }
3772if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3794if ${ac_cv_prog_ac_ct_CC+:} false; then :
3773 $as_echo_n "(cached) " >&6 3795 $as_echo_n "(cached) " >&6
3774else 3796else
3775 if test -n "$ac_ct_CC"; then 3797 if test -n "$ac_ct_CC"; then
3776 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.
3777else 3799else
3779for as_dir in $PATH 3801for as_dir in $PATH
3780do 3802do
3781 IFS=$as_save_IFS 3803 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=. 3804 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do 3805 for ac_exec_ext in '' $ac_executable_extensions; do
3784 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
3785 ac_cv_prog_ac_ct_CC="$ac_prog" 3807 ac_cv_prog_ac_ct_CC="$ac_prog"
3786 $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
3787 break 2 3809 break 2
3788 fi 3810 fi
3789done 3811done
3822 3844
3823 3845
3824test -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
3825$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3847$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3826as_fn_error $? "no acceptable C compiler found in \$PATH 3848as_fn_error $? "no acceptable C compiler found in \$PATH
3827See \`config.log' for more details" "$LINENO" 5 ; } 3849See \`config.log' for more details" "$LINENO" 5; }
3828 3850
3829# Provide some information about the compiler. 3851# Provide some information about the compiler.
3830$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
3831set X $ac_compile 3853set X $ac_compile
3832ac_compiler=$2 3854ac_compiler=$2
3937sed 's/^/| /' conftest.$ac_ext >&5 3959sed 's/^/| /' conftest.$ac_ext >&5
3938 3960
3939{ { $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
3940$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3962$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3941as_fn_error 77 "C compiler cannot create executables 3963as_fn_error 77 "C compiler cannot create executables
3942See \`config.log' for more details" "$LINENO" 5 ; } 3964See \`config.log' for more details" "$LINENO" 5; }
3943else 3965else
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3945$as_echo "yes" >&6; } 3967$as_echo "yes" >&6; }
3946fi 3968fi
3947{ $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
3980done 4002done
3981else 4003else
3982 { { $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
3983$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4006as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3985See \`config.log' for more details" "$LINENO" 5 ; } 4007See \`config.log' for more details" "$LINENO" 5; }
3986fi 4008fi
3987rm -f conftest conftest$ac_cv_exeext 4009rm -f conftest conftest$ac_cv_exeext
3988{ $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
3989$as_echo "$ac_cv_exeext" >&6; } 4011$as_echo "$ac_cv_exeext" >&6; }
3990 4012
4039 else 4061 else
4040 { { $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
4041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042as_fn_error $? "cannot run C compiled programs. 4064as_fn_error $? "cannot run C compiled programs.
4043If you meant to cross compile, use \`--host'. 4065If you meant to cross compile, use \`--host'.
4044See \`config.log' for more details" "$LINENO" 5 ; } 4066See \`config.log' for more details" "$LINENO" 5; }
4045 fi 4067 fi
4046 fi 4068 fi
4047fi 4069fi
4048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4049$as_echo "$cross_compiling" >&6; } 4071$as_echo "$cross_compiling" >&6; }
4050 4072
4051rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4073rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4052ac_clean_files=$ac_clean_files_save 4074ac_clean_files=$ac_clean_files_save
4053{ $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
4054$as_echo_n "checking for suffix of object files... " >&6; } 4076$as_echo_n "checking for suffix of object files... " >&6; }
4055if test "${ac_cv_objext+set}" = set; then : 4077if ${ac_cv_objext+:} false; then :
4056 $as_echo_n "(cached) " >&6 4078 $as_echo_n "(cached) " >&6
4057else 4079else
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059/* end confdefs.h. */ 4081/* end confdefs.h. */
4060 4082
4091sed 's/^/| /' conftest.$ac_ext >&5 4113sed 's/^/| /' conftest.$ac_ext >&5
4092 4114
4093{ { $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
4094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4116$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4095as_fn_error $? "cannot compute suffix of object files: cannot compile 4117as_fn_error $? "cannot compute suffix of object files: cannot compile
4096See \`config.log' for more details" "$LINENO" 5 ; } 4118See \`config.log' for more details" "$LINENO" 5; }
4097fi 4119fi
4098rm -f conftest.$ac_cv_objext conftest.$ac_ext 4120rm -f conftest.$ac_cv_objext conftest.$ac_ext
4099fi 4121fi
4100{ $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
4101$as_echo "$ac_cv_objext" >&6; } 4123$as_echo "$ac_cv_objext" >&6; }
4102OBJEXT=$ac_cv_objext 4124OBJEXT=$ac_cv_objext
4103ac_objext=$OBJEXT 4125ac_objext=$OBJEXT
4104{ $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
4105$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; }
4106if test "${ac_cv_c_compiler_gnu+set}" = set; then : 4128if ${ac_cv_c_compiler_gnu+:} false; then :
4107 $as_echo_n "(cached) " >&6 4129 $as_echo_n "(cached) " >&6
4108else 4130else
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110/* end confdefs.h. */ 4132/* end confdefs.h. */
4111 4133
4138fi 4160fi
4139ac_test_CFLAGS=${CFLAGS+set} 4161ac_test_CFLAGS=${CFLAGS+set}
4140ac_save_CFLAGS=$CFLAGS 4162ac_save_CFLAGS=$CFLAGS
4141{ $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
4142$as_echo_n "checking whether $CC accepts -g... " >&6; } 4164$as_echo_n "checking whether $CC accepts -g... " >&6; }
4143if test "${ac_cv_prog_cc_g+set}" = set; then : 4165if ${ac_cv_prog_cc_g+:} false; then :
4144 $as_echo_n "(cached) " >&6 4166 $as_echo_n "(cached) " >&6
4145else 4167else
4146 ac_save_c_werror_flag=$ac_c_werror_flag 4168 ac_save_c_werror_flag=$ac_c_werror_flag
4147 ac_c_werror_flag=yes 4169 ac_c_werror_flag=yes
4148 ac_cv_prog_cc_g=no 4170 ac_cv_prog_cc_g=no
4216 CFLAGS= 4238 CFLAGS=
4217 fi 4239 fi
4218fi 4240fi
4219{ $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
4220$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; }
4221if test "${ac_cv_prog_cc_c89+set}" = set; then : 4243if ${ac_cv_prog_cc_c89+:} false; then :
4222 $as_echo_n "(cached) " >&6 4244 $as_echo_n "(cached) " >&6
4223else 4245else
4224 ac_cv_prog_cc_c89=no 4246 ac_cv_prog_cc_c89=no
4225ac_save_CC=$CC 4247ac_save_CC=$CC
4226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4248cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227/* end confdefs.h. */ 4249/* end confdefs.h. */
4228#include <stdarg.h> 4250#include <stdarg.h>
4229#include <stdio.h> 4251#include <stdio.h>
4230#include <sys/types.h> 4252struct stat;
4231#include <sys/stat.h>
4232/* 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. */
4233struct buf { int x; }; 4254struct buf { int x; };
4234FILE * (*rcsopen) (struct buf *, struct stat *, int); 4255FILE * (*rcsopen) (struct buf *, struct stat *, int);
4235static char *e (p, i) 4256static char *e (p, i)
4236 char **p; 4257 char **p;
4315 4336
4316depcc="$CC" am_compiler_list= 4337depcc="$CC" am_compiler_list=
4317 4338
4318{ $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
4319$as_echo_n "checking dependency style of $depcc... " >&6; } 4340$as_echo_n "checking dependency style of $depcc... " >&6; }
4320if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4341if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4321 $as_echo_n "(cached) " >&6 4342 $as_echo_n "(cached) " >&6
4322else 4343else
4323 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4344 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4324 # 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
4325 # 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
4326 # 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
4327 # 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
4328 # in D'. 4349 # in D'.
4350 rm -rf conftest.dir
4329 mkdir conftest.dir 4351 mkdir conftest.dir
4330 # 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
4331 # using a relative directory. 4353 # using a relative directory.
4332 cp "$am_depcomp" conftest.dir 4354 cp "$am_depcomp" conftest.dir
4333 cd conftest.dir 4355 cd conftest.dir
4383 continue 4405 continue
4384 else 4406 else
4385 break 4407 break
4386 fi 4408 fi
4387 ;; 4409 ;;
4388 msvisualcpp | msvcmsys) 4410 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4389 # 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
4390 # 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
4391 # so weak that their functioning should not be impacted. 4413 # so weak that their functioning should not be impacted.
4392 am__obj=conftest.${OBJEXT-o} 4414 am__obj=conftest.${OBJEXT-o}
4393 am__minus_obj= 4415 am__minus_obj=
4485$as_echo_n "checking for GNU ld... " >&6; } 4507$as_echo_n "checking for GNU ld... " >&6; }
4486else 4508else
4487 { $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
4488$as_echo_n "checking for non-GNU ld... " >&6; } 4510$as_echo_n "checking for non-GNU ld... " >&6; }
4489fi 4511fi
4490if test "${acl_cv_path_LD+set}" = set; then : 4512if ${acl_cv_path_LD+:} false; then :
4491 $as_echo_n "(cached) " >&6 4513 $as_echo_n "(cached) " >&6
4492else 4514else
4493 if test -z "$LD"; then 4515 if test -z "$LD"; then
4494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 4516 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4495 for ac_dir in $PATH; do 4517 for ac_dir in $PATH; do
4521$as_echo "no" >&6; } 4543$as_echo "no" >&6; }
4522fi 4544fi
4523test -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
4524{ $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
4525$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; }
4526if test "${acl_cv_prog_gnu_ld+set}" = set; then : 4548if ${acl_cv_prog_gnu_ld+:} false; then :
4527 $as_echo_n "(cached) " >&6 4549 $as_echo_n "(cached) " >&6
4528else 4550else
4529 # 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.
4530if $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
4531 acl_cv_prog_gnu_ld=yes 4553 acl_cv_prog_gnu_ld=yes
4539 4561
4540 4562
4541 4563
4542 { $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
4543$as_echo_n "checking for shared library run path origin... " >&6; } 4565$as_echo_n "checking for shared library run path origin... " >&6; }
4544if test "${acl_cv_rpath+set}" = set; then : 4566if ${acl_cv_rpath+:} false; then :
4545 $as_echo_n "(cached) " >&6 4567 $as_echo_n "(cached) " >&6
4546else 4568else
4547 4569
4548 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" \
4549 ${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
4996 5018
4997 5019
4998 5020
4999 { $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
5000$as_echo_n "checking for GNU gettext in libc... " >&6; } 5022$as_echo_n "checking for GNU gettext in libc... " >&6; }
5001if test "${gt_cv_func_gnugettext1_libc+set}" = set; then : 5023if ${gt_cv_func_gnugettext1_libc+:} false; then :
5002 $as_echo_n "(cached) " >&6 5024 $as_echo_n "(cached) " >&6
5003else 5025else
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h. */ 5027/* end confdefs.h. */
5006#include <libintl.h> 5028#include <libintl.h>
5057 done 5079 done
5058 5080
5059 5081
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5061$as_echo_n "checking for iconv... " >&6; } 5083$as_echo_n "checking for iconv... " >&6; }
5062if test "${am_cv_func_iconv+set}" = set; then : 5084if ${am_cv_func_iconv+:} false; then :
5063 $as_echo_n "(cached) " >&6 5085 $as_echo_n "(cached) " >&6
5064else 5086else
5065 5087
5066 am_cv_func_iconv="no, consider installing GNU libiconv" 5088 am_cv_func_iconv="no, consider installing GNU libiconv"
5067 am_cv_lib_iconv=no 5089 am_cv_lib_iconv=no
5510 done 5532 done
5511 fi 5533 fi
5512 5534
5513 { $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
5514$as_echo_n "checking for GNU gettext in libintl... " >&6; } 5536$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5515if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then : 5537if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5516 $as_echo_n "(cached) " >&6 5538 $as_echo_n "(cached) " >&6
5517else 5539else
5518 gt_save_CPPFLAGS="$CPPFLAGS" 5540 gt_save_CPPFLAGS="$CPPFLAGS"
5519 CPPFLAGS="$CPPFLAGS $INCINTL" 5541 CPPFLAGS="$CPPFLAGS $INCINTL"
5520 gt_save_LIBS="$LIBS" 5542 gt_save_LIBS="$LIBS"
5678# On Suns, sometimes $CPP names a directory. 5700# On Suns, sometimes $CPP names a directory.
5679if test -n "$CPP" && test -d "$CPP"; then 5701if test -n "$CPP" && test -d "$CPP"; then
5680 CPP= 5702 CPP=
5681fi 5703fi
5682if test -z "$CPP"; then 5704if test -z "$CPP"; then
5683 if test "${ac_cv_prog_CPP+set}" = set; then : 5705 if ${ac_cv_prog_CPP+:} false; then :
5684 $as_echo_n "(cached) " >&6 5706 $as_echo_n "(cached) " >&6
5685else 5707else
5686 # Double quotes because CPP needs to be expanded 5708 # Double quotes because CPP needs to be expanded
5687 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5709 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5688 do 5710 do
5794 5816
5795else 5817else
5796 { { $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
5797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5798as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5820as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5799See \`config.log' for more details" "$LINENO" 5 ; } 5821See \`config.log' for more details" "$LINENO" 5; }
5800fi 5822fi
5801 5823
5802ac_ext=c 5824ac_ext=c
5803ac_cpp='$CPP $CPPFLAGS' 5825ac_cpp='$CPP $CPPFLAGS'
5804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5819 do 5841 do
5820 # 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.
5821set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5843set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822{ $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
5823$as_echo_n "checking for $ac_word... " >&6; } 5845$as_echo_n "checking for $ac_word... " >&6; }
5824if test "${ac_cv_prog_CXX+set}" = set; then : 5846if ${ac_cv_prog_CXX+:} false; then :
5825 $as_echo_n "(cached) " >&6 5847 $as_echo_n "(cached) " >&6
5826else 5848else
5827 if test -n "$CXX"; then 5849 if test -n "$CXX"; then
5828 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5850 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5829else 5851else
5831for as_dir in $PATH 5853for as_dir in $PATH
5832do 5854do
5833 IFS=$as_save_IFS 5855 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=. 5856 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do 5857 for ac_exec_ext in '' $ac_executable_extensions; do
5836 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
5837 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5859 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5838 $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
5839 break 2 5861 break 2
5840 fi 5862 fi
5841done 5863done
5863do 5885do
5864 # 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.
5865set dummy $ac_prog; ac_word=$2 5887set dummy $ac_prog; ac_word=$2
5866{ $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
5867$as_echo_n "checking for $ac_word... " >&6; } 5889$as_echo_n "checking for $ac_word... " >&6; }
5868if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 5890if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5869 $as_echo_n "(cached) " >&6 5891 $as_echo_n "(cached) " >&6
5870else 5892else
5871 if test -n "$ac_ct_CXX"; then 5893 if test -n "$ac_ct_CXX"; then
5872 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.
5873else 5895else
5875for as_dir in $PATH 5897for as_dir in $PATH
5876do 5898do
5877 IFS=$as_save_IFS 5899 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=. 5900 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do 5901 for ac_exec_ext in '' $ac_executable_extensions; do
5880 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
5881 ac_cv_prog_ac_ct_CXX="$ac_prog" 5903 ac_cv_prog_ac_ct_CXX="$ac_prog"
5882 $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
5883 break 2 5905 break 2
5884 fi 5906 fi
5885done 5907done
5941 test $ac_status = 0; } 5963 test $ac_status = 0; }
5942done 5964done
5943 5965
5944{ $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
5945$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; }
5946if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 5968if ${ac_cv_cxx_compiler_gnu+:} false; then :
5947 $as_echo_n "(cached) " >&6 5969 $as_echo_n "(cached) " >&6
5948else 5970else
5949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5950/* end confdefs.h. */ 5972/* end confdefs.h. */
5951 5973
5978fi 6000fi
5979ac_test_CXXFLAGS=${CXXFLAGS+set} 6001ac_test_CXXFLAGS=${CXXFLAGS+set}
5980ac_save_CXXFLAGS=$CXXFLAGS 6002ac_save_CXXFLAGS=$CXXFLAGS
5981{ $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
5982$as_echo_n "checking whether $CXX accepts -g... " >&6; } 6004$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5983if test "${ac_cv_prog_cxx_g+set}" = set; then : 6005if ${ac_cv_prog_cxx_g+:} false; then :
5984 $as_echo_n "(cached) " >&6 6006 $as_echo_n "(cached) " >&6
5985else 6007else
5986 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 6008 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5987 ac_cxx_werror_flag=yes 6009 ac_cxx_werror_flag=yes
5988 ac_cv_prog_cxx_g=no 6010 ac_cv_prog_cxx_g=no
6064 6086
6065depcc="$CXX" am_compiler_list= 6087depcc="$CXX" am_compiler_list=
6066 6088
6067{ $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
6068$as_echo_n "checking dependency style of $depcc... " >&6; } 6090$as_echo_n "checking dependency style of $depcc... " >&6; }
6069if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 6091if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6070 $as_echo_n "(cached) " >&6 6092 $as_echo_n "(cached) " >&6
6071else 6093else
6072 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 6094 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6073 # 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
6074 # 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
6075 # 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
6076 # 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
6077 # in D'. 6099 # in D'.
6100 rm -rf conftest.dir
6078 mkdir conftest.dir 6101 mkdir conftest.dir
6079 # 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
6080 # using a relative directory. 6103 # using a relative directory.
6081 cp "$am_depcomp" conftest.dir 6104 cp "$am_depcomp" conftest.dir
6082 cd conftest.dir 6105 cd conftest.dir
6132 continue 6155 continue
6133 else 6156 else
6134 break 6157 break
6135 fi 6158 fi
6136 ;; 6159 ;;
6137 msvisualcpp | msvcmsys) 6160 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6138 # 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
6139 # 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
6140 # so weak that their functioning should not be impacted. 6163 # so weak that their functioning should not be impacted.
6141 am__obj=conftest.${OBJEXT-o} 6164 am__obj=conftest.${OBJEXT-o}
6142 am__minus_obj= 6165 am__minus_obj=
6190 6213
6191 6214
6192 6215
6193{ $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
6194$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; }
6195if test "${ac_cv_path_GREP+set}" = set; then : 6218if ${ac_cv_path_GREP+:} false; then :
6196 $as_echo_n "(cached) " >&6 6219 $as_echo_n "(cached) " >&6
6197else 6220else
6198 if test -z "$GREP"; then 6221 if test -z "$GREP"; then
6199 ac_path_GREP_found=false 6222 ac_path_GREP_found=false
6200 # 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
6204 IFS=$as_save_IFS 6227 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=. 6228 test -z "$as_dir" && as_dir=.
6206 for ac_prog in grep ggrep; do 6229 for ac_prog in grep ggrep; do
6207 for ac_exec_ext in '' $ac_executable_extensions; do 6230 for ac_exec_ext in '' $ac_executable_extensions; do
6208 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 6231 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6209 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 6232 as_fn_executable_p "$ac_path_GREP" || continue
6210# 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.
6211 # Check for GNU $ac_path_GREP 6234 # Check for GNU $ac_path_GREP
6212case `"$ac_path_GREP" --version 2>&1` in 6235case `"$ac_path_GREP" --version 2>&1` in
6213*GNU*) 6236*GNU*)
6214 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6237 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6253 GREP="$ac_cv_path_GREP" 6276 GREP="$ac_cv_path_GREP"
6254 6277
6255 6278
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6257$as_echo_n "checking for egrep... " >&6; } 6280$as_echo_n "checking for egrep... " >&6; }
6258if test "${ac_cv_path_EGREP+set}" = set; then : 6281if ${ac_cv_path_EGREP+:} false; then :
6259 $as_echo_n "(cached) " >&6 6282 $as_echo_n "(cached) " >&6
6260else 6283else
6261 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6284 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6262 then ac_cv_path_EGREP="$GREP -E" 6285 then ac_cv_path_EGREP="$GREP -E"
6263 else 6286 else
6270 IFS=$as_save_IFS 6293 IFS=$as_save_IFS
6271 test -z "$as_dir" && as_dir=. 6294 test -z "$as_dir" && as_dir=.
6272 for ac_prog in egrep; do 6295 for ac_prog in egrep; do
6273 for ac_exec_ext in '' $ac_executable_extensions; do 6296 for ac_exec_ext in '' $ac_executable_extensions; do
6274 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 6297 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6275 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 6298 as_fn_executable_p "$ac_path_EGREP" || continue
6276# 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.
6277 # Check for GNU $ac_path_EGREP 6300 # Check for GNU $ac_path_EGREP
6278case `"$ac_path_EGREP" --version 2>&1` in 6301case `"$ac_path_EGREP" --version 2>&1` in
6279*GNU*) 6302*GNU*)
6280 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6303 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6321 6344
6322 6345
6323if test $ac_cv_c_compiler_gnu = yes; then 6346if test $ac_cv_c_compiler_gnu = yes; then
6324 { $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
6325$as_echo_n "checking whether $CC needs -traditional... " >&6; } 6348$as_echo_n "checking whether $CC needs -traditional... " >&6; }
6326if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 6349if ${ac_cv_prog_gcc_traditional+:} false; then :
6327 $as_echo_n "(cached) " >&6 6350 $as_echo_n "(cached) " >&6
6328else 6351else
6329 ac_pattern="Autoconf.*'x'" 6352 ac_pattern="Autoconf.*'x'"
6330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6331/* end confdefs.h. */ 6354/* end confdefs.h. */
6366do 6389do
6367 # 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.
6368set dummy $ac_prog; ac_word=$2 6391set dummy $ac_prog; ac_word=$2
6369{ $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
6370$as_echo_n "checking for $ac_word... " >&6; } 6393$as_echo_n "checking for $ac_word... " >&6; }
6371if test "${ac_cv_prog_AWK+set}" = set; then : 6394if ${ac_cv_prog_AWK+:} false; then :
6372 $as_echo_n "(cached) " >&6 6395 $as_echo_n "(cached) " >&6
6373else 6396else
6374 if test -n "$AWK"; then 6397 if test -n "$AWK"; then
6375 ac_cv_prog_AWK="$AWK" # Let the user override the test. 6398 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6376else 6399else
6378for as_dir in $PATH 6401for as_dir in $PATH
6379do 6402do
6380 IFS=$as_save_IFS 6403 IFS=$as_save_IFS
6381 test -z "$as_dir" && as_dir=. 6404 test -z "$as_dir" && as_dir=.
6382 for ac_exec_ext in '' $ac_executable_extensions; do 6405 for ac_exec_ext in '' $ac_executable_extensions; do
6383 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
6384 ac_cv_prog_AWK="$ac_prog" 6407 ac_cv_prog_AWK="$ac_prog"
6385 $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
6386 break 2 6409 break 2
6387 fi 6410 fi
6388done 6411done
6418 6441
6419{ $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
6420$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6443$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6421set x ${MAKE-make} 6444set x ${MAKE-make}
6422ac_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'`
6423if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 6446if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6424 $as_echo_n "(cached) " >&6 6447 $as_echo_n "(cached) " >&6
6425else 6448else
6426 cat >conftest.make <<\_ACEOF 6449 cat >conftest.make <<\_ACEOF
6427SHELL = /bin/sh 6450SHELL = /bin/sh
6428all: 6451all:
6450if test -n "$ac_tool_prefix"; then 6473if test -n "$ac_tool_prefix"; then
6451 # 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.
6452set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6475set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6453{ $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
6454$as_echo_n "checking for $ac_word... " >&6; } 6477$as_echo_n "checking for $ac_word... " >&6; }
6455if test "${ac_cv_prog_RANLIB+set}" = set; then : 6478if ${ac_cv_prog_RANLIB+:} false; then :
6456 $as_echo_n "(cached) " >&6 6479 $as_echo_n "(cached) " >&6
6457else 6480else
6458 if test -n "$RANLIB"; then 6481 if test -n "$RANLIB"; then
6459 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6482 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6460else 6483else
6462for as_dir in $PATH 6485for as_dir in $PATH
6463do 6486do
6464 IFS=$as_save_IFS 6487 IFS=$as_save_IFS
6465 test -z "$as_dir" && as_dir=. 6488 test -z "$as_dir" && as_dir=.
6466 for ac_exec_ext in '' $ac_executable_extensions; do 6489 for ac_exec_ext in '' $ac_executable_extensions; do
6467 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
6468 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6491 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6469 $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
6470 break 2 6493 break 2
6471 fi 6494 fi
6472done 6495done
6490 ac_ct_RANLIB=$RANLIB 6513 ac_ct_RANLIB=$RANLIB
6491 # 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.
6492set dummy ranlib; ac_word=$2 6515set dummy ranlib; ac_word=$2
6493{ $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
6494$as_echo_n "checking for $ac_word... " >&6; } 6517$as_echo_n "checking for $ac_word... " >&6; }
6495if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6518if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6496 $as_echo_n "(cached) " >&6 6519 $as_echo_n "(cached) " >&6
6497else 6520else
6498 if test -n "$ac_ct_RANLIB"; then 6521 if test -n "$ac_ct_RANLIB"; then
6499 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.
6500else 6523else
6502for as_dir in $PATH 6525for as_dir in $PATH
6503do 6526do
6504 IFS=$as_save_IFS 6527 IFS=$as_save_IFS
6505 test -z "$as_dir" && as_dir=. 6528 test -z "$as_dir" && as_dir=.
6506 for ac_exec_ext in '' $ac_executable_extensions; do 6529 for ac_exec_ext in '' $ac_executable_extensions; do
6507 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
6508 ac_cv_prog_ac_ct_RANLIB="ranlib" 6531 ac_cv_prog_ac_ct_RANLIB="ranlib"
6509 $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
6510 break 2 6533 break 2
6511 fi 6534 fi
6512done 6535done
6688 t end 6711 t end
6689 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6712 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6690 :end' >>confcache 6713 :end' >>confcache
6691if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6714if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6692 if test -w "$cache_file"; then 6715 if test -w "$cache_file"; then
6693 test "x$cache_file" != "x/dev/null" && 6716 if test "x$cache_file" != "x/dev/null"; then
6694 { $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
6695$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
6696 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
6697 else 6731 else
6698 { $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
6699$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6733$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6700 fi 6734 fi
6701fi 6735fi
6715ac_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'
6716ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6750ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6717{ $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
6718$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 6752$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6719if test -z "$CXXCPP"; then 6753if test -z "$CXXCPP"; then
6720 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 6754 if ${ac_cv_prog_CXXCPP+:} false; then :
6721 $as_echo_n "(cached) " >&6 6755 $as_echo_n "(cached) " >&6
6722else 6756else
6723 # Double quotes because CXXCPP needs to be expanded 6757 # Double quotes because CXXCPP needs to be expanded
6724 for CXXCPP in "$CXX -E" "/lib/cpp" 6758 for CXXCPP in "$CXX -E" "/lib/cpp"
6725 do 6759 do
6831 6865
6832else 6866else
6833 { { $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
6834$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6868$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6835as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 6869as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6836See \`config.log' for more details" "$LINENO" 5 ; } 6870See \`config.log' for more details" "$LINENO" 5; }
6837fi 6871fi
6838 6872
6839ac_ext=cpp 6873ac_ext=cpp
6840ac_cpp='$CXXCPP $CPPFLAGS' 6874ac_cpp='$CXXCPP $CPPFLAGS'
6841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6875ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6877ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6844 6878
6845 6879
6846{ $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
6847$as_echo_n "checking for ANSI C header files... " >&6; } 6881$as_echo_n "checking for ANSI C header files... " >&6; }
6848if test "${ac_cv_header_stdc+set}" = set; then : 6882if ${ac_cv_header_stdc+:} false; then :
6849 $as_echo_n "(cached) " >&6 6883 $as_echo_n "(cached) " >&6
6850else 6884else
6851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852/* end confdefs.h. */ 6886/* end confdefs.h. */
6853#include <stdlib.h> 6887#include <stdlib.h>
7028done 7062done
7029 7063
7030 7064
7031{ $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
7032$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7066$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7033if test "${ac_cv_c_const+set}" = set; then : 7067if ${ac_cv_c_const+:} false; then :
7034 $as_echo_n "(cached) " >&6 7068 $as_echo_n "(cached) " >&6
7035else 7069else
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037/* end confdefs.h. */ 7071/* end confdefs.h. */
7038 7072
7039int 7073int
7040main () 7074main ()
7041{ 7075{
7042/* FIXME: Include the comments suggested by Paul. */ 7076
7043#ifndef __cplusplus 7077#ifndef __cplusplus
7044 /* Ultrix mips cc rejects this. */ 7078 /* Ultrix mips cc rejects this sort of thing. */
7045 typedef int charset[2]; 7079 typedef int charset[2];
7046 const charset cs; 7080 const charset cs = { 0, 0 };
7047 /* SunOS 4.1.1 cc rejects this. */ 7081 /* SunOS 4.1.1 cc rejects this. */
7048 char const *const *pcpcc; 7082 char const *const *pcpcc;
7049 char **ppc; 7083 char **ppc;
7050 /* NEC SVR4.0.2 mips cc rejects this. */ 7084 /* NEC SVR4.0.2 mips cc rejects this. */
7051 struct point {int x, y;}; 7085 struct point {int x, y;};
7058 pcpcc = &g + (g ? g-g : 0); 7092 pcpcc = &g + (g ? g-g : 0);
7059 /* HPUX 7.0 cc rejects these. */ 7093 /* HPUX 7.0 cc rejects these. */
7060 ++pcpcc; 7094 ++pcpcc;
7061 ppc = (char**) pcpcc; 7095 ppc = (char**) pcpcc;
7062 pcpcc = (char const *const *) ppc; 7096 pcpcc = (char const *const *) ppc;
7063 { /* SCO 3.2v4 cc rejects this. */ 7097 { /* SCO 3.2v4 cc rejects this sort of thing. */
7064 char *t; 7098 char tx;
7099 char *t = &tx;
7065 char const *s = 0 ? (char *) 0 : (char const *) 0; 7100 char const *s = 0 ? (char *) 0 : (char const *) 0;
7066 7101
7067 *t++ = 0; 7102 *t++ = 0;
7068 if (s) return 0; 7103 if (s) return 0;
7069 } 7104 }
7075 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7110 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7076 typedef const int *iptr; 7111 typedef const int *iptr;
7077 iptr p = 0; 7112 iptr p = 0;
7078 ++p; 7113 ++p;
7079 } 7114 }
7080 { /* AIX XL C 1.02.0.0 rejects this saying 7115 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
7081 "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. */
7082 struct s { int j; const int *ap[3]; }; 7117 struct s { int j; const int *ap[3]; } bx;
7083 struct s *b; b->j = 5; 7118 struct s *b = &bx; b->j = 5;
7084 } 7119 }
7085 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7120 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7086 const int foo = 10; 7121 const int foo = 10;
7087 if (!foo) return 0; 7122 if (!foo) return 0;
7088 } 7123 }
7107$as_echo "#define const /**/" >>confdefs.h 7142$as_echo "#define const /**/" >>confdefs.h
7108 7143
7109fi 7144fi
7110 7145
7111ac_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"
7112if test "x$ac_cv_type_pid_t" = x""yes; then : 7147if test "x$ac_cv_type_pid_t" = xyes; then :
7113 7148
7114else 7149else
7115 7150
7116cat >>confdefs.h <<_ACEOF 7151cat >>confdefs.h <<_ACEOF
7117#define pid_t int 7152#define pid_t int
7118_ACEOF 7153_ACEOF
7119 7154
7120fi 7155fi
7121 7156
7122ac_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"
7123if test "x$ac_cv_type_size_t" = x""yes; then : 7158if test "x$ac_cv_type_size_t" = xyes; then :
7124 7159
7125else 7160else
7126 7161
7127cat >>confdefs.h <<_ACEOF 7162cat >>confdefs.h <<_ACEOF
7128#define size_t unsigned int 7163#define size_t unsigned int
7130 7165
7131fi 7166fi
7132 7167
7133{ $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
7134$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; }
7135if test "${ac_cv_header_time+set}" = set; then : 7170if ${ac_cv_header_time+:} false; then :
7136 $as_echo_n "(cached) " >&6 7171 $as_echo_n "(cached) " >&6
7137else 7172else
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139/* end confdefs.h. */ 7174/* end confdefs.h. */
7140#include <sys/types.h> 7175#include <sys/types.h>
7165 7200
7166fi 7201fi
7167 7202
7168{ $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
7169$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; }
7170if test "${ac_cv_struct_tm+set}" = set; then : 7205if ${ac_cv_struct_tm+:} false; then :
7171 $as_echo_n "(cached) " >&6 7206 $as_echo_n "(cached) " >&6
7172else 7207else
7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174/* end confdefs.h. */ 7209/* end confdefs.h. */
7175#include <sys/types.h> 7210#include <sys/types.h>
7201fi 7236fi
7202 7237
7203 7238
7204{ $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
7205$as_echo_n "checking for socklen_t... " >&6; } 7240$as_echo_n "checking for socklen_t... " >&6; }
7206if test "${ac_cv_type_socklen_t+set}" = set; then : 7241if ${ac_cv_type_socklen_t+:} false; then :
7207 $as_echo_n "(cached) " >&6 7242 $as_echo_n "(cached) " >&6
7208else 7243else
7209 7244
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211/* end confdefs.h. */ 7246/* end confdefs.h. */
7235 7270
7236fi 7271fi
7237 7272
7238{ $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
7239$as_echo_n "checking for struct addrinfo... " >&6; } 7274$as_echo_n "checking for struct addrinfo... " >&6; }
7240if test "${ac_cv_struct_addrinfo+set}" = set; then : 7275if ${ac_cv_struct_addrinfo+:} false; then :
7241 $as_echo_n "(cached) " >&6 7276 $as_echo_n "(cached) " >&6
7242else 7277else
7243 7278
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245/* end confdefs.h. */ 7280/* end confdefs.h. */
7270 7305
7271fi 7306fi
7272 7307
7273{ $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
7274$as_echo_n "checking return type of signal handlers... " >&6; } 7309$as_echo_n "checking return type of signal handlers... " >&6; }
7275if test "${ac_cv_type_signal+set}" = set; then : 7310if ${ac_cv_type_signal+:} false; then :
7276 $as_echo_n "(cached) " >&6 7311 $as_echo_n "(cached) " >&6
7277else 7312else
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279/* end confdefs.h. */ 7314/* end confdefs.h. */
7280#include <sys/types.h> 7315#include <sys/types.h>
7311ac_compiler_gnu=$ac_cv_c_compiler_gnu 7346ac_compiler_gnu=$ac_cv_c_compiler_gnu
7312 7347
7313 7348
7314{ $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
7315$as_echo_n "checking for ANSI C header files... " >&6; } 7350$as_echo_n "checking for ANSI C header files... " >&6; }
7316if test "${ac_cv_header_stdc+set}" = set; then : 7351if ${ac_cv_header_stdc+:} false; then :
7317 $as_echo_n "(cached) " >&6 7352 $as_echo_n "(cached) " >&6
7318else 7353else
7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320/* end confdefs.h. */ 7355/* end confdefs.h. */
7321#include <stdlib.h> 7356#include <stdlib.h>
7439 7474
7440# 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
7441# for constant arguments. Useless! 7476# for constant arguments. Useless!
7442{ $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
7443$as_echo_n "checking for working alloca.h... " >&6; } 7478$as_echo_n "checking for working alloca.h... " >&6; }
7444if test "${ac_cv_working_alloca_h+set}" = set; then : 7479if ${ac_cv_working_alloca_h+:} false; then :
7445 $as_echo_n "(cached) " >&6 7480 $as_echo_n "(cached) " >&6
7446else 7481else
7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7448/* end confdefs.h. */ 7483/* end confdefs.h. */
7449#include <alloca.h> 7484#include <alloca.h>
7472 7507
7473fi 7508fi
7474 7509
7475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 7510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7476$as_echo_n "checking for alloca... " >&6; } 7511$as_echo_n "checking for alloca... " >&6; }
7477if test "${ac_cv_func_alloca_works+set}" = set; then : 7512if ${ac_cv_func_alloca_works+:} false; then :
7478 $as_echo_n "(cached) " >&6 7513 $as_echo_n "(cached) " >&6
7479else 7514else
7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7481/* end confdefs.h. */ 7516/* end confdefs.h. */
7482#ifdef __GNUC__ 7517#ifdef __GNUC__
7491# else 7526# else
7492# ifdef _AIX 7527# ifdef _AIX
7493 #pragma alloca 7528 #pragma alloca
7494# else 7529# else
7495# ifndef alloca /* predefined by HP cc +Olibcalls */ 7530# ifndef alloca /* predefined by HP cc +Olibcalls */
7496char *alloca (); 7531void *alloca (size_t);
7497# endif 7532# endif
7498# endif 7533# endif
7499# endif 7534# endif
7500# endif 7535# endif
7501#endif 7536#endif
7535$as_echo "#define C_ALLOCA 1" >>confdefs.h 7570$as_echo "#define C_ALLOCA 1" >>confdefs.h
7536 7571
7537 7572
7538{ $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
7539$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 7574$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7540if test "${ac_cv_os_cray+set}" = set; then : 7575if ${ac_cv_os_cray+:} false; then :
7541 $as_echo_n "(cached) " >&6 7576 $as_echo_n "(cached) " >&6
7542else 7577else
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544/* end confdefs.h. */ 7579/* end confdefs.h. */
7545#if defined CRAY && ! defined CRAY2 7580#if defined CRAY && ! defined CRAY2
7576 done 7611 done
7577fi 7612fi
7578 7613
7579{ $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
7580$as_echo_n "checking stack direction for C alloca... " >&6; } 7615$as_echo_n "checking stack direction for C alloca... " >&6; }
7581if test "${ac_cv_c_stack_direction+set}" = set; then : 7616if ${ac_cv_c_stack_direction+:} false; then :
7582 $as_echo_n "(cached) " >&6 7617 $as_echo_n "(cached) " >&6
7583else 7618else
7584 if test "$cross_compiling" = yes; then : 7619 if test "$cross_compiling" = yes; then :
7585 ac_cv_c_stack_direction=0 7620 ac_cv_c_stack_direction=0
7586else 7621else
7587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7588/* end confdefs.h. */ 7623/* end confdefs.h. */
7589$ac_includes_default 7624$ac_includes_default
7590int 7625int
7591find_stack_direction () 7626find_stack_direction (int *addr, int depth)
7592{ 7627{
7593 static char *addr = 0; 7628 int dir, dummy = 0;
7594 auto char dummy;
7595 if (addr == 0) 7629 if (! addr)
7596 {
7597 addr = &dummy; 7630 addr = &dummy;
7598 return find_stack_direction (); 7631 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7599 } 7632 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7600 else 7633 return dir + dummy;
7601 return (&dummy > addr) ? 1 : -1;
7602} 7634}
7603 7635
7604int 7636int
7605main () 7637main (int argc, char **argv)
7606{ 7638{
7607 return find_stack_direction () < 0; 7639 return find_stack_direction (0, argc + !argv + 20) < 0;
7608} 7640}
7609_ACEOF 7641_ACEOF
7610if ac_fn_c_try_run "$LINENO"; then : 7642if ac_fn_c_try_run "$LINENO"; then :
7611 ac_cv_c_stack_direction=1 7643 ac_cv_c_stack_direction=1
7612else 7644else
7627fi 7659fi
7628 7660
7629 7661
7630 7662
7631ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 7663ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
7632if test "x$ac_cv_func_socket" = x""yes; then : 7664if test "x$ac_cv_func_socket" = xyes; then :
7633 7665
7634else 7666else
7635 7667
7636 { $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
7637$as_echo_n "checking for connect in -lsocket... " >&6; } 7669$as_echo_n "checking for connect in -lsocket... " >&6; }
7638if test "${ac_cv_lib_socket_connect+set}" = set; then : 7670if ${ac_cv_lib_socket_connect+:} false; then :
7639 $as_echo_n "(cached) " >&6 7671 $as_echo_n "(cached) " >&6
7640else 7672else
7641 ac_check_lib_save_LIBS=$LIBS 7673 ac_check_lib_save_LIBS=$LIBS
7642LIBS="-lsocket $LIBS" 7674LIBS="-lsocket $LIBS"
7643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7675cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 conftest$ac_exeext conftest.$ac_ext 7699 conftest$ac_exeext conftest.$ac_ext
7668LIBS=$ac_check_lib_save_LIBS 7700LIBS=$ac_check_lib_save_LIBS
7669fi 7701fi
7670{ $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
7671$as_echo "$ac_cv_lib_socket_connect" >&6; } 7703$as_echo "$ac_cv_lib_socket_connect" >&6; }
7672if test "x$ac_cv_lib_socket_connect" = x""yes; then : 7704if test "x$ac_cv_lib_socket_connect" = xyes; then :
7673 cat >>confdefs.h <<_ACEOF 7705 cat >>confdefs.h <<_ACEOF
7674#define HAVE_LIBSOCKET 1 7706#define HAVE_LIBSOCKET 1
7675_ACEOF 7707_ACEOF
7676 7708
7677 LIBS="-lsocket $LIBS" 7709 LIBS="-lsocket $LIBS"
7680 7712
7681 7713
7682fi 7714fi
7683 7715
7684ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 7716ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7685if test "x$ac_cv_func_gethostbyname" = x""yes; then : 7717if test "x$ac_cv_func_gethostbyname" = xyes; then :
7686 7718
7687else 7719else
7688 7720
7689 { $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
7690$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 7722$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7691if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 7723if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7692 $as_echo_n "(cached) " >&6 7724 $as_echo_n "(cached) " >&6
7693else 7725else
7694 ac_check_lib_save_LIBS=$LIBS 7726 ac_check_lib_save_LIBS=$LIBS
7695LIBS="-lnsl $LIBS" 7727LIBS="-lnsl $LIBS"
7696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7728cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 conftest$ac_exeext conftest.$ac_ext 7752 conftest$ac_exeext conftest.$ac_ext
7721LIBS=$ac_check_lib_save_LIBS 7753LIBS=$ac_check_lib_save_LIBS
7722fi 7754fi
7723{ $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
7724$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 7756$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7725if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 7757if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7726 cat >>confdefs.h <<_ACEOF 7758 cat >>confdefs.h <<_ACEOF
7727#define HAVE_LIBNSL 1 7759#define HAVE_LIBNSL 1
7728_ACEOF 7760_ACEOF
7729 7761
7730 LIBS="-lnsl $LIBS" 7762 LIBS="-lnsl $LIBS"
7764 7796
7765 7797
7766for ac_func in clock_gettime 7798for ac_func in clock_gettime
7767do : 7799do :
7768 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"
7769if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7801if test "x$ac_cv_func_clock_gettime" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF 7802 cat >>confdefs.h <<_ACEOF
7771#define HAVE_CLOCK_GETTIME 1 7803#define HAVE_CLOCK_GETTIME 1
7772_ACEOF 7804_ACEOF
7773 7805
7774else 7806else
7804 conftest$ac_exeext conftest.$ac_ext 7836 conftest$ac_exeext conftest.$ac_ext
7805 fi 7837 fi
7806 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
7807 { $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
7808$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 7840$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7809if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : 7841if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7810 $as_echo_n "(cached) " >&6 7842 $as_echo_n "(cached) " >&6
7811else 7843else
7812 ac_check_lib_save_LIBS=$LIBS 7844 ac_check_lib_save_LIBS=$LIBS
7813LIBS="-lrt $LIBS" 7845LIBS="-lrt $LIBS"
7814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7838 conftest$ac_exeext conftest.$ac_ext 7870 conftest$ac_exeext conftest.$ac_ext
7839LIBS=$ac_check_lib_save_LIBS 7871LIBS=$ac_check_lib_save_LIBS
7840fi 7872fi
7841{ $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
7842$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 7874$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7843if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : 7875if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF 7876 cat >>confdefs.h <<_ACEOF
7845#define HAVE_LIBRT 1 7877#define HAVE_LIBRT 1
7846_ACEOF 7878_ACEOF
7847 7879
7848 LIBS="-lrt $LIBS" 7880 LIBS="-lrt $LIBS"
7851 7883
7852 unset ac_cv_func_clock_gettime 7884 unset ac_cv_func_clock_gettime
7853 for ac_func in clock_gettime 7885 for ac_func in clock_gettime
7854do : 7886do :
7855 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"
7856if test "x$ac_cv_func_clock_gettime" = x""yes; then : 7888if test "x$ac_cv_func_clock_gettime" = xyes; then :
7857 cat >>confdefs.h <<_ACEOF 7889 cat >>confdefs.h <<_ACEOF
7858#define HAVE_CLOCK_GETTIME 1 7890#define HAVE_CLOCK_GETTIME 1
7859_ACEOF 7891_ACEOF
7860 7892
7861fi 7893fi
7868 7900
7869 7901
7870for ac_func in nanosleep 7902for ac_func in nanosleep
7871do : 7903do :
7872 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7904 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7873if test "x$ac_cv_func_nanosleep" = x""yes; then : 7905if test "x$ac_cv_func_nanosleep" = xyes; then :
7874 cat >>confdefs.h <<_ACEOF 7906 cat >>confdefs.h <<_ACEOF
7875#define HAVE_NANOSLEEP 1 7907#define HAVE_NANOSLEEP 1
7876_ACEOF 7908_ACEOF
7877 7909
7878else 7910else
7879 7911
7880 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 7912 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
7881 { $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
7882$as_echo_n "checking for nanosleep in -lrt... " >&6; } 7914$as_echo_n "checking for nanosleep in -lrt... " >&6; }
7883if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 7915if ${ac_cv_lib_rt_nanosleep+:} false; then :
7884 $as_echo_n "(cached) " >&6 7916 $as_echo_n "(cached) " >&6
7885else 7917else
7886 ac_check_lib_save_LIBS=$LIBS 7918 ac_check_lib_save_LIBS=$LIBS
7887LIBS="-lrt $LIBS" 7919LIBS="-lrt $LIBS"
7888cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 conftest$ac_exeext conftest.$ac_ext 7944 conftest$ac_exeext conftest.$ac_ext
7913LIBS=$ac_check_lib_save_LIBS 7945LIBS=$ac_check_lib_save_LIBS
7914fi 7946fi
7915{ $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
7916$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 7948$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
7917if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 7949if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
7918 cat >>confdefs.h <<_ACEOF 7950 cat >>confdefs.h <<_ACEOF
7919#define HAVE_LIBRT 1 7951#define HAVE_LIBRT 1
7920_ACEOF 7952_ACEOF
7921 7953
7922 LIBS="-lrt $LIBS" 7954 LIBS="-lrt $LIBS"
7925 7957
7926 unset ac_cv_func_nanosleep 7958 unset ac_cv_func_nanosleep
7927 for ac_func in nanosleep 7959 for ac_func in nanosleep
7928do : 7960do :
7929 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 7961 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
7930if test "x$ac_cv_func_nanosleep" = x""yes; then : 7962if test "x$ac_cv_func_nanosleep" = xyes; then :
7931 cat >>confdefs.h <<_ACEOF 7963 cat >>confdefs.h <<_ACEOF
7932#define HAVE_NANOSLEEP 1 7964#define HAVE_NANOSLEEP 1
7933_ACEOF 7965_ACEOF
7934 7966
7935fi 7967fi
7944if test -z "$LIBEV_M4_AVOID_LIBM"; then 7976if test -z "$LIBEV_M4_AVOID_LIBM"; then
7945 LIBM=m 7977 LIBM=m
7946fi 7978fi
7947{ $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
7948$as_echo_n "checking for library containing floor... " >&6; } 7980$as_echo_n "checking for library containing floor... " >&6; }
7949if test "${ac_cv_search_floor+set}" = set; then : 7981if ${ac_cv_search_floor+:} false; then :
7950 $as_echo_n "(cached) " >&6 7982 $as_echo_n "(cached) " >&6
7951else 7983else
7952 ac_func_search_save_LIBS=$LIBS 7984 ac_func_search_save_LIBS=$LIBS
7953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954/* end confdefs.h. */ 7986/* end confdefs.h. */
7978 if ac_fn_c_try_link "$LINENO"; then : 8010 if ac_fn_c_try_link "$LINENO"; then :
7979 ac_cv_search_floor=$ac_res 8011 ac_cv_search_floor=$ac_res
7980fi 8012fi
7981rm -f core conftest.err conftest.$ac_objext \ 8013rm -f core conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext 8014 conftest$ac_exeext
7983 if test "${ac_cv_search_floor+set}" = set; then : 8015 if ${ac_cv_search_floor+:} false; then :
7984 break 8016 break
7985fi 8017fi
7986done 8018done
7987if test "${ac_cv_search_floor+set}" = set; then : 8019if ${ac_cv_search_floor+:} false; then :
7988 8020
7989else 8021else
7990 ac_cv_search_floor=no 8022 ac_cv_search_floor=no
7991fi 8023fi
7992rm conftest.$ac_ext 8024rm conftest.$ac_ext
8075 t end 8107 t end
8076 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8077 :end' >>confcache 8109 :end' >>confcache
8078if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8110if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8079 if test -w "$cache_file"; then 8111 if test -w "$cache_file"; then
8080 test "x$cache_file" != "x/dev/null" && 8112 if test "x$cache_file" != "x/dev/null"; then
8081 { $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
8082$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
8083 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
8084 else 8127 else
8085 { $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
8086$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8129$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8087 fi 8130 fi
8088fi 8131fi
8099fi 8142fi
8100 8143
8101 8144
8102{ $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
8103$as_echo_n "checking for linux/if_tun.h... " >&6; } 8146$as_echo_n "checking for linux/if_tun.h... " >&6; }
8104if test "${tinc_cv_linux_if_tun_h+set}" = set; then : 8147if ${tinc_cv_linux_if_tun_h+:} false; then :
8105 $as_echo_n "(cached) " >&6 8148 $as_echo_n "(cached) " >&6
8106else 8149else
8107 8150
8108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8109/* end confdefs.h. */ 8152/* end confdefs.h. */
8197 cat >>confdefs.h <<_ACEOF 8240 cat >>confdefs.h <<_ACEOF
8198#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8241#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8199_ACEOF 8242_ACEOF
8200 8243
8201else 8244else
8202 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5 ; break 8245 as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break
8203 8246
8204fi 8247fi
8205 8248
8206done 8249done
8207 8250
8208 8251
8209 CPPFLAGS="$tinc_ac_save_CPPFLAGS" 8252 CPPFLAGS="$tinc_ac_save_CPPFLAGS"
8210 8253
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
8212$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 8255$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
8213if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then : 8256if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
8214 $as_echo_n "(cached) " >&6 8257 $as_echo_n "(cached) " >&6
8215else 8258else
8216 ac_check_lib_save_LIBS=$LIBS 8259 ac_check_lib_save_LIBS=$LIBS
8217LIBS="-lcrypto $LIBS" 8260LIBS="-lcrypto $LIBS"
8218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8261cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 conftest$ac_exeext conftest.$ac_ext 8285 conftest$ac_exeext conftest.$ac_ext
8243LIBS=$ac_check_lib_save_LIBS 8286LIBS=$ac_check_lib_save_LIBS
8244fi 8287fi
8245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5 8288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
8246$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; } 8289$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
8247if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then : 8290if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
8248 LIBS="$LIBS -lcrypto" 8291 LIBS="$LIBS -lcrypto"
8249else 8292else
8250 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 8293 as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5
8251 8294
8252fi 8295fi
8264fi 8307fi
8265done 8308done
8266 8309
8267 8310
8268 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 8311 ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
8269if test "x$ac_cv_func_dlopen" = x""yes; then : 8312if test "x$ac_cv_func_dlopen" = xyes; then :
8270 8313
8271else 8314else
8272 { $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
8273$as_echo_n "checking for dlopen in -ldl... " >&6; } 8316$as_echo_n "checking for dlopen in -ldl... " >&6; }
8274if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 8317if ${ac_cv_lib_dl_dlopen+:} false; then :
8275 $as_echo_n "(cached) " >&6 8318 $as_echo_n "(cached) " >&6
8276else 8319else
8277 ac_check_lib_save_LIBS=$LIBS 8320 ac_check_lib_save_LIBS=$LIBS
8278LIBS="-ldl $LIBS" 8321LIBS="-ldl $LIBS"
8279cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8322cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 conftest$ac_exeext conftest.$ac_ext 8346 conftest$ac_exeext conftest.$ac_ext
8304LIBS=$ac_check_lib_save_LIBS 8347LIBS=$ac_check_lib_save_LIBS
8305fi 8348fi
8306{ $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
8307$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 8350$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8308if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 8351if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8309 LIBS="$LIBS -ldl" 8352 LIBS="$LIBS -ldl"
8310else 8353else
8311 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5 8354 as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5
8312 8355
8313fi 8356fi
8315 8358
8316fi 8359fi
8317 8360
8318 8361
8319 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate" 8362 ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate"
8320if test "x$ac_cv_func_inflate" = x""yes; then : 8363if test "x$ac_cv_func_inflate" = xyes; then :
8321 8364
8322else 8365else
8323 { $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
8324$as_echo_n "checking for inflate in -lz... " >&6; } 8367$as_echo_n "checking for inflate in -lz... " >&6; }
8325if test "${ac_cv_lib_z_inflate+set}" = set; then : 8368if ${ac_cv_lib_z_inflate+:} false; then :
8326 $as_echo_n "(cached) " >&6 8369 $as_echo_n "(cached) " >&6
8327else 8370else
8328 ac_check_lib_save_LIBS=$LIBS 8371 ac_check_lib_save_LIBS=$LIBS
8329LIBS="-lz $LIBS" 8372LIBS="-lz $LIBS"
8330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8373cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 conftest$ac_exeext conftest.$ac_ext 8397 conftest$ac_exeext conftest.$ac_ext
8355LIBS=$ac_check_lib_save_LIBS 8398LIBS=$ac_check_lib_save_LIBS
8356fi 8399fi
8357{ $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
8358$as_echo "$ac_cv_lib_z_inflate" >&6; } 8401$as_echo "$ac_cv_lib_z_inflate" >&6; }
8359if test "x$ac_cv_lib_z_inflate" = x""yes; then : 8402if test "x$ac_cv_lib_z_inflate" = xyes; then :
8360 LIBS="$LIBS -lz" 8403 LIBS="$LIBS -lz"
8361else 8404else
8362 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 8405 as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5
8363 8406
8364fi 8407fi
8380fi 8423fi
8381 8424
8382 8425
8383if test "x$try_threads" = xyes; then 8426if test "x$try_threads" = xyes; then
8384 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 8427 ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8385if test "x$ac_cv_header_pthread_h" = x""yes; then : 8428if test "x$ac_cv_header_pthread_h" = xyes; then :
8386 8429
8387 LIBS="$LIBS -lpthread" 8430 LIBS="$LIBS -lpthread"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389/* end confdefs.h. */ 8432/* end confdefs.h. */
8390#include <pthread.h> 8433#include <pthread.h>
8483 8526
8484# Check whether --enable-dns was given. 8527# Check whether --enable-dns was given.
8485if test "${enable_dns+set}" = set; then : 8528if test "${enable_dns+set}" = set; then :
8486 enableval=$enable_dns; 8529 enableval=$enable_dns;
8487 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"
8488if test "x$ac_cv_header_gmp_h" = x""yes; then : 8531if test "x$ac_cv_header_gmp_h" = xyes; then :
8489 8532
8490else 8533else
8491 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
8492fi 8535fi
8493 8536
8494 8537
8495 { $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
8496$as_echo_n "checking for main in -lgmp... " >&6; } 8539$as_echo_n "checking for main in -lgmp... " >&6; }
8497if test "${ac_cv_lib_gmp_main+set}" = set; then : 8540if ${ac_cv_lib_gmp_main+:} false; then :
8498 $as_echo_n "(cached) " >&6 8541 $as_echo_n "(cached) " >&6
8499else 8542else
8500 ac_check_lib_save_LIBS=$LIBS 8543 ac_check_lib_save_LIBS=$LIBS
8501LIBS="-lgmp $LIBS" 8544LIBS="-lgmp $LIBS"
8502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 conftest$ac_exeext conftest.$ac_ext 8563 conftest$ac_exeext conftest.$ac_ext
8521LIBS=$ac_check_lib_save_LIBS 8564LIBS=$ac_check_lib_save_LIBS
8522fi 8565fi
8523{ $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
8524$as_echo "$ac_cv_lib_gmp_main" >&6; } 8567$as_echo "$ac_cv_lib_gmp_main" >&6; }
8525if test "x$ac_cv_lib_gmp_main" = x""yes; then : 8568if test "x$ac_cv_lib_gmp_main" = xyes; then :
8526 cat >>confdefs.h <<_ACEOF 8569 cat >>confdefs.h <<_ACEOF
8527#define HAVE_LIBGMP 1 8570#define HAVE_LIBGMP 1
8528_ACEOF 8571_ACEOF
8529 8572
8530 LIBS="-lgmp $LIBS" 8573 LIBS="-lgmp $LIBS"
8709 t end 8752 t end
8710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8753 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8711 :end' >>confcache 8754 :end' >>confcache
8712if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8755if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8713 if test -w "$cache_file"; then 8756 if test -w "$cache_file"; then
8714 test "x$cache_file" != "x/dev/null" && 8757 if test "x$cache_file" != "x/dev/null"; then
8715 { $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
8716$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
8717 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
8718 else 8772 else
8719 { $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
8720$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8774$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8721 fi 8775 fi
8722fi 8776fi
8772if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then 8826if test -z "${ROHC_TRUE}" && test -z "${ROHC_FALSE}"; then
8773 as_fn_error $? "conditional \"ROHC\" was never defined. 8827 as_fn_error $? "conditional \"ROHC\" was never defined.
8774Usually this means the macro was only invoked conditionally." "$LINENO" 5 8828Usually this means the macro was only invoked conditionally." "$LINENO" 5
8775fi 8829fi
8776 8830
8777: ${CONFIG_STATUS=./config.status} 8831: "${CONFIG_STATUS=./config.status}"
8778ac_write_fail=0 8832ac_write_fail=0
8779ac_clean_files_save=$ac_clean_files 8833ac_clean_files_save=$ac_clean_files
8780ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8834ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8781{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8835{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8782$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8836$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8873# (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
8874# splitting by setting IFS to empty value.) 8928# splitting by setting IFS to empty value.)
8875IFS=" "" $as_nl" 8929IFS=" "" $as_nl"
8876 8930
8877# 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=
8878case $0 in #(( 8933case $0 in #((
8879 *[\\/]* ) as_myself=$0 ;; 8934 *[\\/]* ) as_myself=$0 ;;
8880 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881for as_dir in $PATH 8936for as_dir in $PATH
8882do 8937do
9068 if ln -s conf$$.file conf$$ 2>/dev/null; then 9123 if ln -s conf$$.file conf$$ 2>/dev/null; then
9069 as_ln_s='ln -s' 9124 as_ln_s='ln -s'
9070 # ... but there are two gotchas: 9125 # ... but there are two gotchas:
9071 # 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.
9072 # 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.
9073 # In both cases, we have to default to `cp -p'. 9128 # In both cases, we have to default to `cp -pR'.
9074 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 ||
9075 as_ln_s='cp -p' 9130 as_ln_s='cp -pR'
9076 elif ln conf$$.file conf$$ 2>/dev/null; then 9131 elif ln conf$$.file conf$$ 2>/dev/null; then
9077 as_ln_s=ln 9132 as_ln_s=ln
9078 else 9133 else
9079 as_ln_s='cp -p' 9134 as_ln_s='cp -pR'
9080 fi 9135 fi
9081else 9136else
9082 as_ln_s='cp -p' 9137 as_ln_s='cp -pR'
9083fi 9138fi
9084rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9139rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9085rmdir conf$$.dir 2>/dev/null 9140rmdir conf$$.dir 2>/dev/null
9086 9141
9087 9142
9137else 9192else
9138 test -d ./-p && rmdir ./-p 9193 test -d ./-p && rmdir ./-p
9139 as_mkdir_p=false 9194 as_mkdir_p=false
9140fi 9195fi
9141 9196
9142if 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
9143 as_test_x='test -x' 9205as_test_x='test -x'
9144else 9206as_executable_p=as_fn_executable_p
9145 if ls -dL / >/dev/null 2>&1; then
9146 as_ls_L_option=L
9147 else
9148 as_ls_L_option=
9149 fi
9150 as_test_x='
9151 eval sh -c '\''
9152 if test -d "$1"; then
9153 test -d "$1/.";
9154 else
9155 case $1 in #(
9156 -*)set "./$1";;
9157 esac;
9158 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9159 ???[sx]*):;;*)false;;esac;fi
9160 '\'' sh
9161 '
9162fi
9163as_executable_p=$as_test_x
9164 9207
9165# Sed expression to map a string onto a valid CPP name. 9208# Sed expression to map a string onto a valid CPP name.
9166as_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'"
9167 9210
9168# Sed expression to map a string onto a valid variable name. 9211# Sed expression to map a string onto a valid variable name.
9180# 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
9181# report actual input values of CONFIG_FILES etc. instead of their 9224# report actual input values of CONFIG_FILES etc. instead of their
9182# values after options handling. 9225# values after options handling.
9183ac_log=" 9226ac_log="
9184This file was extended by $as_me, which was 9227This file was extended by $as_me, which was
9185generated by GNU Autoconf 2.67. Invocation command line was 9228generated by GNU Autoconf 2.69. Invocation command line was
9186 9229
9187 CONFIG_FILES = $CONFIG_FILES 9230 CONFIG_FILES = $CONFIG_FILES
9188 CONFIG_HEADERS = $CONFIG_HEADERS 9231 CONFIG_HEADERS = $CONFIG_HEADERS
9189 CONFIG_LINKS = $CONFIG_LINKS 9232 CONFIG_LINKS = $CONFIG_LINKS
9190 CONFIG_COMMANDS = $CONFIG_COMMANDS 9233 CONFIG_COMMANDS = $CONFIG_COMMANDS
9246_ACEOF 9289_ACEOF
9247cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9248ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9291ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9249ac_cs_version="\\ 9292ac_cs_version="\\
9250config.status 9293config.status
9251configured by $0, generated by GNU Autoconf 2.67, 9294configured by $0, generated by GNU Autoconf 2.69,
9252 with options \\"\$ac_cs_config\\" 9295 with options \\"\$ac_cs_config\\"
9253 9296
9254Copyright (C) 2010 Free Software Foundation, Inc. 9297Copyright (C) 2012 Free Software Foundation, Inc.
9255This config.status script is free software; the Free Software Foundation 9298This config.status script is free software; the Free Software Foundation
9256gives unlimited permission to copy, distribute and modify it." 9299gives unlimited permission to copy, distribute and modify it."
9257 9300
9258ac_pwd='$ac_pwd' 9301ac_pwd='$ac_pwd'
9259srcdir='$srcdir' 9302srcdir='$srcdir'
9340fi 9383fi
9341 9384
9342_ACEOF 9385_ACEOF
9343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9386cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9344if \$ac_cs_recheck; then 9387if \$ac_cs_recheck; then
9345 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
9346 shift 9389 shift
9347 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 9390 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9348 CONFIG_SHELL='$SHELL' 9391 CONFIG_SHELL='$SHELL'
9349 export CONFIG_SHELL 9392 export CONFIG_SHELL
9350 exec "\$@" 9393 exec "\$@"
9391 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9434 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9392 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 9435 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9393 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 9436 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9394 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 9437 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9395 9438
9396 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 9439 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9397 esac 9440 esac
9398done 9441done
9399 9442
9400 9443
9401# 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,
9414# Hook for its removal unless debugging. 9457# Hook for its removal unless debugging.
9415# 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:
9416# 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'.
9417$debug || 9460$debug ||
9418{ 9461{
9419 tmp= 9462 tmp= ac_tmp=
9420 trap 'exit_status=$? 9463 trap 'exit_status=$?
9464 : "${ac_tmp:=$tmp}"
9421 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 9465 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9422' 0 9466' 0
9423 trap 'as_fn_exit 1' 1 2 13 15 9467 trap 'as_fn_exit 1' 1 2 13 15
9424} 9468}
9425# Create a (secure) tmp directory for tmp files. 9469# Create a (secure) tmp directory for tmp files.
9426 9470
9427{ 9471{
9428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9472 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9429 test -n "$tmp" && test -d "$tmp" 9473 test -d "$tmp"
9430} || 9474} ||
9431{ 9475{
9432 tmp=./conf$$-$RANDOM 9476 tmp=./conf$$-$RANDOM
9433 (umask 077 && mkdir "$tmp") 9477 (umask 077 && mkdir "$tmp")
9434} || 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
9435 9480
9436# Set up the scripts for CONFIG_FILES section. 9481# Set up the scripts for CONFIG_FILES section.
9437# No need to generate them if there are no CONFIG_FILES. 9482# No need to generate them if there are no CONFIG_FILES.
9438# This happens for instance with `./config.status config.h'. 9483# This happens for instance with `./config.status config.h'.
9439if test -n "$CONFIG_FILES"; then 9484if test -n "$CONFIG_FILES"; then
9451 ac_cs_awk_cr='\\r' 9496 ac_cs_awk_cr='\\r'
9452else 9497else
9453 ac_cs_awk_cr=$ac_cr 9498 ac_cs_awk_cr=$ac_cr
9454fi 9499fi
9455 9500
9456echo 'BEGIN {' >"$tmp/subs1.awk" && 9501echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9457_ACEOF 9502_ACEOF
9458 9503
9459 9504
9460{ 9505{
9461 echo "cat >conf$$subs.awk <<_ACEOF" && 9506 echo "cat >conf$$subs.awk <<_ACEOF" &&
9479 fi 9524 fi
9480done 9525done
9481rm -f conf$$subs.sh 9526rm -f conf$$subs.sh
9482 9527
9483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9528cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9484cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 9529cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9485_ACEOF 9530_ACEOF
9486sed -n ' 9531sed -n '
9487h 9532h
9488s/^/S["/; s/!.*/"]=/ 9533s/^/S["/; s/!.*/"]=/
9489p 9534p
9527} 9572}
9528' >>$CONFIG_STATUS || ac_write_fail=1 9573' >>$CONFIG_STATUS || ac_write_fail=1
9529rm -f conf$$subs.awk 9574rm -f conf$$subs.awk
9530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9575cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9531_ACAWK 9576_ACAWK
9532cat >>"\$tmp/subs1.awk" <<_ACAWK && 9577cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9533 for (key in S) S_is_set[key] = 1 9578 for (key in S) S_is_set[key] = 1
9534 FS = "" 9579 FS = ""
9535 9580
9536} 9581}
9537{ 9582{
9559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9604cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9560if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9605if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9561 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"
9562else 9607else
9563 cat 9608 cat
9564fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 9609fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9565 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9610 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9566_ACEOF 9611_ACEOF
9567 9612
9568# 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),
9569# ${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
9593 9638
9594# Set up the scripts for CONFIG_HEADERS section. 9639# Set up the scripts for CONFIG_HEADERS section.
9595# No need to generate them if there are no CONFIG_HEADERS. 9640# No need to generate them if there are no CONFIG_HEADERS.
9596# This happens for instance with `./config.status Makefile'. 9641# This happens for instance with `./config.status Makefile'.
9597if test -n "$CONFIG_HEADERS"; then 9642if test -n "$CONFIG_HEADERS"; then
9598cat >"$tmp/defines.awk" <<\_ACAWK || 9643cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9599BEGIN { 9644BEGIN {
9600_ACEOF 9645_ACEOF
9601 9646
9602# Transform confdefs.h into an awk script `defines.awk', embedded as 9647# Transform confdefs.h into an awk script `defines.awk', embedded as
9603# here-document in config.status, that substitutes the proper values into 9648# here-document in config.status, that substitutes the proper values into
9605 9650
9606# 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
9607# handling of long lines. 9652# handling of long lines.
9608ac_delim='%!_!# ' 9653ac_delim='%!_!# '
9609for ac_last_try in false false :; do 9654for ac_last_try in false false :; do
9610 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 9655 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9611 if test -z "$ac_t"; then 9656 if test -z "$ac_tt"; then
9612 break 9657 break
9613 elif $ac_last_try; then 9658 elif $ac_last_try; then
9614 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9659 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9615 else 9660 else
9616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9661 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9707 case $ac_tag in 9752 case $ac_tag in
9708 :[FHLC]) ac_mode=$ac_tag; continue;; 9753 :[FHLC]) ac_mode=$ac_tag; continue;;
9709 esac 9754 esac
9710 case $ac_mode$ac_tag in 9755 case $ac_mode$ac_tag in
9711 :[FHL]*:*);; 9756 :[FHL]*:*);;
9712 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 9757 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9713 :[FH]-) ac_tag=-:-;; 9758 :[FH]-) ac_tag=-:-;;
9714 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9759 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9715 esac 9760 esac
9716 ac_save_IFS=$IFS 9761 ac_save_IFS=$IFS
9717 IFS=: 9762 IFS=:
9726 :[FH]) 9771 :[FH])
9727 ac_file_inputs= 9772 ac_file_inputs=
9728 for ac_f 9773 for ac_f
9729 do 9774 do
9730 case $ac_f in 9775 case $ac_f in
9731 -) ac_f="$tmp/stdin";; 9776 -) ac_f="$ac_tmp/stdin";;
9732 *) # 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
9733 # (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,
9734 # because $ac_f cannot contain `:'. 9779 # because $ac_f cannot contain `:'.
9735 test -f "$ac_f" || 9780 test -f "$ac_f" ||
9736 case $ac_f in 9781 case $ac_f in
9737 [\\/$]*) false;; 9782 [\\/$]*) false;;
9738 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9783 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9739 esac || 9784 esac ||
9740 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;;
9741 esac 9786 esac
9742 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
9743 as_fn_append ac_file_inputs " '$ac_f'" 9788 as_fn_append ac_file_inputs " '$ac_f'"
9744 done 9789 done
9745 9790
9761 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9806 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9762 *) ac_sed_conf_input=$configure_input;; 9807 *) ac_sed_conf_input=$configure_input;;
9763 esac 9808 esac
9764 9809
9765 case $ac_tag in 9810 case $ac_tag in
9766 *:-:* | *:-) cat >"$tmp/stdin" \ 9811 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9768 esac 9813 esac
9769 ;; 9814 ;;
9770 esac 9815 esac
9771 9816
9772 ac_dir=`$as_dirname -- "$ac_file" || 9817 ac_dir=`$as_dirname -- "$ac_file" ||
9898s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9943s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9899s&@INSTALL@&$ac_INSTALL&;t t 9944s&@INSTALL@&$ac_INSTALL&;t t
9900s&@MKDIR_P@&$ac_MKDIR_P&;t t 9945s&@MKDIR_P@&$ac_MKDIR_P&;t t
9901$ac_datarootdir_hack 9946$ac_datarootdir_hack
9902" 9947"
9903eval 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" \
9904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9949 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9905 9950
9906test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9951test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9907 { 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"; } &&
9908 { 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"; } &&
9909 { $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'
9910which seems to be undefined. Please make sure it is defined" >&5 9956which seems to be undefined. Please make sure it is defined" >&5
9911$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'
9912which seems to be undefined. Please make sure it is defined" >&2;} 9958which seems to be undefined. Please make sure it is defined" >&2;}
9913 9959
9914 rm -f "$tmp/stdin" 9960 rm -f "$ac_tmp/stdin"
9915 case $ac_file in 9961 case $ac_file in
9916 -) cat "$tmp/out" && rm -f "$tmp/out";; 9962 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9917 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9963 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9918 esac \ 9964 esac \
9919 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9920 ;; 9966 ;;
9921 :H) 9967 :H)
9922 # 9968 #
9923 # CONFIG_HEADER 9969 # CONFIG_HEADER
9924 # 9970 #
9925 if test x"$ac_file" != x-; then 9971 if test x"$ac_file" != x-; then
9926 { 9972 {
9927 $as_echo "/* $configure_input */" \ 9973 $as_echo "/* $configure_input */" \
9928 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9974 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9929 } >"$tmp/config.h" \ 9975 } >"$ac_tmp/config.h" \
9930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9931 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
9932 { $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
9933$as_echo "$as_me: $ac_file is unchanged" >&6;} 9979$as_echo "$as_me: $ac_file is unchanged" >&6;}
9934 else 9980 else
9935 rm -f "$ac_file" 9981 rm -f "$ac_file"
9936 mv "$tmp/config.h" "$ac_file" \ 9982 mv "$ac_tmp/config.h" "$ac_file" \
9937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9938 fi 9984 fi
9939 else 9985 else
9940 $as_echo "/* $configure_input */" \ 9986 $as_echo "/* $configure_input */" \
9941 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9987 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9942 || as_fn_error $? "could not create -" "$LINENO" 5 9988 || as_fn_error $? "could not create -" "$LINENO" 5
9943 fi 9989 fi
9944# Compute "$ac_file"'s index in $config_headers. 9990# Compute "$ac_file"'s index in $config_headers.
9945_am_arg="$ac_file" 9991_am_arg="$ac_file"
9946_am_stamp_count=1 9992_am_stamp_count=1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines