Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(261409)

Delta Between Two Patch Sets: configure

Issue 7652: Merge C version of decimal into py3k.
Left Patch Set: Created 8 years, 2 months ago
Right Patch Set: Created 7 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | configure.in » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 for python 3.3. 3 # Generated by GNU Autoconf 2.68 for python 3.3.
4 # 4 #
5 # Report bugs to <http://bugs.python.org/>. 5 # Report bugs to <http://bugs.python.org/>.
6 # 6 #
7 # 7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc. 10 # Foundation, Inc.
11 # 11 #
12 # 12 #
13 # This configure script is free software; the Free Software Foundation 13 # This configure script is free software; the Free Software Foundation
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 85
86 # IFS 86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is 87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab. 88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.) 90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl" 91 IFS=" "" $as_nl"
92 92
93 # Find who we are. Look in the path if we contain no directory separator. 93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
94 case $0 in #(( 95 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;; 96 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH 98 for as_dir in $PATH
98 do 99 do
99 IFS=$as_save_IFS 100 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=. 101 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done 103 done
103 IFS=$as_save_IFS 104 IFS=$as_save_IFS
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHEL L"; } 2>/dev/null; then : 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHEL L"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes 211 CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; } 212 fi; }
212 IFS=$as_save_IFS 213 IFS=$as_save_IFS
213 214
214 215
215 if test "x$CONFIG_SHELL" != x; then : 216 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a 217 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also 218 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables. 219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
219 BASH_ENV=/dev/null 221 BASH_ENV=/dev/null
220 ENV=/dev/null 222 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL 224 export CONFIG_SHELL
223 » exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 225 » case $- in # ((((
226 » *v*x* | *x*v* ) as_opts=-vx ;;
227 » *v* ) as_opts=-v ;;
228 » *x* ) as_opts=-x ;;
229 » * ) as_opts= ;;
230 » esac
231 » exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224 fi 232 fi
225 233
226 if test x$as_have_required = xno; then : 234 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all" 235 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system." 236 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then 237 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else 240 else
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 with_thread 760 with_thread
753 enable_ipv6 761 enable_ipv6
754 with_doc_strings 762 with_doc_strings
755 with_tsc 763 with_tsc
756 with_pymalloc 764 with_pymalloc
757 with_valgrind 765 with_valgrind
758 with_fpectl 766 with_fpectl
759 with_libm 767 with_libm
760 with_libc 768 with_libc
761 enable_big_digits 769 enable_big_digits
762 with_wide_unicode
763 with_computed_gotos 770 with_computed_gotos
764 ' 771 '
765 ac_precious_vars='build_alias 772 ac_precious_vars='build_alias
766 host_alias 773 host_alias
767 target_alias 774 target_alias
768 CC 775 CC
769 CFLAGS 776 CFLAGS
770 LDFLAGS 777 LDFLAGS
771 LIBS 778 LIBS
772 CPPFLAGS 779 CPPFLAGS
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1175 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1169 esac 1176 esac
1170 eval $ac_envvar=\$ac_optarg 1177 eval $ac_envvar=\$ac_optarg
1171 export $ac_envvar ;; 1178 export $ac_envvar ;;
1172 1179
1173 *) 1180 *)
1174 # FIXME: should be removed in autoconf 3.0. 1181 # FIXME: should be removed in autoconf 3.0.
1175 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1176 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1178 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opti on} 1185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_opt ion}"
1179 ;; 1186 ;;
1180 1187
1181 esac 1188 esac
1182 done 1189 done
1183 1190
1184 if test -n "$ac_prev"; then 1191 if test -n "$ac_prev"; then
1185 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1186 as_fn_error $? "missing argument to $ac_option" 1193 as_fn_error $? "missing argument to $ac_option"
1187 fi 1194 fi
1188 1195
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 disable/enable thread support 1430 disable/enable thread support
1424 --with(out)-thread[=DIRECTORY] 1431 --with(out)-thread[=DIRECTORY]
1425 deprecated; use --with(out)-threads 1432 deprecated; use --with(out)-threads
1426 --with(out)-doc-strings disable/enable documentation strings 1433 --with(out)-doc-strings disable/enable documentation strings
1427 --with(out)-tsc enable/disable timestamp counter profile 1434 --with(out)-tsc enable/disable timestamp counter profile
1428 --with(out)-pymalloc disable/enable specialized mallocs 1435 --with(out)-pymalloc disable/enable specialized mallocs
1429 --with-valgrind Enable Valgrind support 1436 --with-valgrind Enable Valgrind support
1430 --with-fpectl enable SIGFPE catching 1437 --with-fpectl enable SIGFPE catching
1431 --with-libm=STRING math library 1438 --with-libm=STRING math library
1432 --with-libc=STRING C library 1439 --with-libc=STRING C library
1433 --with-wide-unicode Use 4-byte Unicode characters (default is 2 bytes)
1434 --with(out)-computed-gotos 1440 --with(out)-computed-gotos
1435 Use computed gotos in evaluation loop (enabled by 1441 Use computed gotos in evaluation loop (enabled by
1436 default on supported compilers) 1442 default on supported compilers)
1437 1443
1438 Some influential environment variables: 1444 Some influential environment variables:
1439 CC C compiler command 1445 CC C compiler command
1440 CFLAGS C compiler flags 1446 CFLAGS C compiler flags
1441 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1447 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1442 nonstandard directory <lib dir> 1448 nonstandard directory <lib dir>
1443 LIBS libraries to pass to the linker, e.g. -l<library> 1449 LIBS libraries to pass to the linker, e.g. -l<library>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1505 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506 fi || ac_status=$? 1512 fi || ac_status=$?
1507 cd "$ac_pwd" || { ac_status=$?; break; } 1513 cd "$ac_pwd" || { ac_status=$?; break; }
1508 done 1514 done
1509 fi 1515 fi
1510 1516
1511 test -n "$ac_init_help" && exit $ac_status 1517 test -n "$ac_init_help" && exit $ac_status
1512 if $ac_init_version; then 1518 if $ac_init_version; then
1513 cat <<\_ACEOF 1519 cat <<\_ACEOF
1514 python configure 3.3 1520 python configure 3.3
1515 generated by GNU Autoconf 2.67 1521 generated by GNU Autoconf 2.68
1516 1522
1517 Copyright (C) 2010 Free Software Foundation, Inc. 1523 Copyright (C) 2010 Free Software Foundation, Inc.
1518 This configure script is free software; the Free Software Foundation 1524 This configure script is free software; the Free Software Foundation
1519 gives unlimited permission to copy, distribute and modify it. 1525 gives unlimited permission to copy, distribute and modify it.
1520 _ACEOF 1526 _ACEOF
1521 exit 1527 exit
1522 fi 1528 fi
1523 1529
1524 ## ------------------------ ## 1530 ## ------------------------ ##
1525 ## Autoconf initialization. ## 1531 ## Autoconf initialization. ##
(...skipping 25 matching lines...) Expand all
1551 test -z "$ac_c_werror_flag" || 1557 test -z "$ac_c_werror_flag" ||
1552 test ! -s conftest.err 1558 test ! -s conftest.err
1553 } && test -s conftest.$ac_objext; then : 1559 } && test -s conftest.$ac_objext; then :
1554 ac_retval=0 1560 ac_retval=0
1555 else 1561 else
1556 $as_echo "$as_me: failed program was:" >&5 1562 $as_echo "$as_me: failed program was:" >&5
1557 sed 's/^/| /' conftest.$ac_ext >&5 1563 sed 's/^/| /' conftest.$ac_ext >&5
1558 1564
1559 ac_retval=1 1565 ac_retval=1
1560 fi 1566 fi
1561 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562 as_fn_set_status $ac_retval 1568 as_fn_set_status $ac_retval
1563 1569
1564 } # ac_fn_c_try_compile 1570 } # ac_fn_c_try_compile
1565 1571
1566 # ac_fn_c_try_link LINENO 1572 # ac_fn_c_try_link LINENO
1567 # ----------------------- 1573 # -----------------------
1568 # Try to link conftest.$ac_ext, and return whether this succeeded. 1574 # Try to link conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_link () 1575 ac_fn_c_try_link ()
1570 { 1576 {
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
(...skipping 25 matching lines...) Expand all
1597 $as_echo "$as_me: failed program was:" >&5 1603 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5 1604 sed 's/^/| /' conftest.$ac_ext >&5
1599 1605
1600 ac_retval=1 1606 ac_retval=1
1601 fi 1607 fi
1602 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1608 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1603 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1609 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1604 # interfere with the next link command; also delete a directory that is 1610 # interfere with the next link command; also delete a directory that is
1605 # left behind by Apple's compiler. We do this before executing the actions. 1611 # left behind by Apple's compiler. We do this before executing the actions.
1606 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608 as_fn_set_status $ac_retval 1614 as_fn_set_status $ac_retval
1609 1615
1610 } # ac_fn_c_try_link 1616 } # ac_fn_c_try_link
1611 1617
1612 # ac_fn_c_try_cpp LINENO 1618 # ac_fn_c_try_cpp LINENO
1613 # ---------------------- 1619 # ----------------------
1614 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1620 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615 ac_fn_c_try_cpp () 1621 ac_fn_c_try_cpp ()
1616 { 1622 {
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
(...skipping 16 matching lines...) Expand all
1634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1635 test ! -s conftest.err 1641 test ! -s conftest.err
1636 }; then : 1642 }; then :
1637 ac_retval=0 1643 ac_retval=0
1638 else 1644 else
1639 $as_echo "$as_me: failed program was:" >&5 1645 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.$ac_ext >&5 1646 sed 's/^/| /' conftest.$ac_ext >&5
1641 1647
1642 ac_retval=1 1648 ac_retval=1
1643 fi 1649 fi
1644 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status $ac_retval 1651 as_fn_set_status $ac_retval
1646 1652
1647 } # ac_fn_c_try_cpp 1653 } # ac_fn_c_try_cpp
1648 1654
1649 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1655 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1650 # ------------------------------------------------------- 1656 # -------------------------------------------------------
1651 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1657 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1652 # the include files in INCLUDES and setting the cache variable VAR 1658 # the include files in INCLUDES and setting the cache variable VAR
1653 # accordingly. 1659 # accordingly.
1654 ac_fn_c_check_header_mongrel () 1660 ac_fn_c_check_header_mongrel ()
1655 { 1661 {
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 if eval "test \"\${$3+set}\"" = set; then : 1663 if eval \${$3+:} false; then :
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1659 $as_echo_n "checking for $2... " >&6; } 1665 $as_echo_n "checking for $2... " >&6; }
1660 if eval "test \"\${$3+set}\"" = set; then : 1666 if eval \${$3+:} false; then :
1661 $as_echo_n "(cached) " >&6 1667 $as_echo_n "(cached) " >&6
1662 fi 1668 fi
1663 eval ac_res=\$$3 1669 eval ac_res=\$$3
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1665 $as_echo "$ac_res" >&6; } 1671 $as_echo "$ac_res" >&6; }
1666 else 1672 else
1667 # Is the header compilable? 1673 # Is the header compilable?
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1669 $as_echo_n "checking $2 usability... " >&6; } 1675 $as_echo_n "checking $2 usability... " >&6; }
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co mpiler's result" >&5 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co mpiler's result" >&5
1718 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1724 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1719 ( $as_echo "## -------------------------------------- ## 1725 ( $as_echo "## -------------------------------------- ##
1720 ## Report this to http://bugs.python.org/ ## 1726 ## Report this to http://bugs.python.org/ ##
1721 ## -------------------------------------- ##" 1727 ## -------------------------------------- ##"
1722 ) | sed "s/^/$as_me: WARNING: /" >&2 1728 ) | sed "s/^/$as_me: WARNING: /" >&2
1723 ;; 1729 ;;
1724 esac 1730 esac
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1726 $as_echo_n "checking for $2... " >&6; } 1732 $as_echo_n "checking for $2... " >&6; }
1727 if eval "test \"\${$3+set}\"" = set; then : 1733 if eval \${$3+:} false; then :
1728 $as_echo_n "(cached) " >&6 1734 $as_echo_n "(cached) " >&6
1729 else 1735 else
1730 eval "$3=\$ac_header_compiler" 1736 eval "$3=\$ac_header_compiler"
1731 fi 1737 fi
1732 eval ac_res=\$$3 1738 eval ac_res=\$$3
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; } 1740 $as_echo "$ac_res" >&6; }
1735 fi 1741 fi
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 1743
1738 } # ac_fn_c_check_header_mongrel 1744 } # ac_fn_c_check_header_mongrel
1739 1745
1740 # ac_fn_c_try_run LINENO 1746 # ac_fn_c_try_run LINENO
1741 # ---------------------- 1747 # ----------------------
1742 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1748 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1743 # that executables *can* be run. 1749 # that executables *can* be run.
1744 ac_fn_c_try_run () 1750 ac_fn_c_try_run ()
1745 { 1751 {
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
(...skipping 20 matching lines...) Expand all
1767 test $ac_status = 0; }; }; then : 1773 test $ac_status = 0; }; }; then :
1768 ac_retval=0 1774 ac_retval=0
1769 else 1775 else
1770 $as_echo "$as_me: program exited with status $ac_status" >&5 1776 $as_echo "$as_me: program exited with status $ac_status" >&5
1771 $as_echo "$as_me: failed program was:" >&5 1777 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.$ac_ext >&5 1778 sed 's/^/| /' conftest.$ac_ext >&5
1773 1779
1774 ac_retval=$ac_status 1780 ac_retval=$ac_status
1775 fi 1781 fi
1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1782 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 as_fn_set_status $ac_retval 1784 as_fn_set_status $ac_retval
1779 1785
1780 } # ac_fn_c_try_run 1786 } # ac_fn_c_try_run
1781 1787
1782 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1788 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1783 # ------------------------------------------------------- 1789 # -------------------------------------------------------
1784 # Tests whether HEADER exists and can be compiled using the include files in 1790 # Tests whether HEADER exists and can be compiled using the include files in
1785 # INCLUDES, setting the cache variable VAR accordingly. 1791 # INCLUDES, setting the cache variable VAR accordingly.
1786 ac_fn_c_check_header_compile () 1792 ac_fn_c_check_header_compile ()
1787 { 1793 {
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; } 1796 $as_echo_n "checking for $2... " >&6; }
1791 if eval "test \"\${$3+set}\"" = set; then : 1797 if eval \${$3+:} false; then :
1792 $as_echo_n "(cached) " >&6 1798 $as_echo_n "(cached) " >&6
1793 else 1799 else
1794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */ 1801 /* end confdefs.h. */
1796 $4 1802 $4
1797 #include <$2> 1803 #include <$2>
1798 _ACEOF 1804 _ACEOF
1799 if ac_fn_c_try_compile "$LINENO"; then : 1805 if ac_fn_c_try_compile "$LINENO"; then :
1800 eval "$3=yes" 1806 eval "$3=yes"
1801 else 1807 else
1802 eval "$3=no" 1808 eval "$3=no"
1803 fi 1809 fi
1804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1805 fi 1811 fi
1806 eval ac_res=\$$3 1812 eval ac_res=\$$3
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; } 1814 $as_echo "$ac_res" >&6; }
1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 1816
1811 } # ac_fn_c_check_header_compile 1817 } # ac_fn_c_check_header_compile
1812 1818
1813 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1819 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1814 # ------------------------------------------- 1820 # -------------------------------------------
1815 # Tests whether TYPE exists after having included INCLUDES, setting cache 1821 # Tests whether TYPE exists after having included INCLUDES, setting cache
1816 # variable VAR accordingly. 1822 # variable VAR accordingly.
1817 ac_fn_c_check_type () 1823 ac_fn_c_check_type ()
1818 { 1824 {
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821 $as_echo_n "checking for $2... " >&6; } 1827 $as_echo_n "checking for $2... " >&6; }
1822 if eval "test \"\${$3+set}\"" = set; then : 1828 if eval \${$3+:} false; then :
1823 $as_echo_n "(cached) " >&6 1829 $as_echo_n "(cached) " >&6
1824 else 1830 else
1825 eval "$3=no" 1831 eval "$3=no"
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */ 1833 /* end confdefs.h. */
1828 $4 1834 $4
1829 int 1835 int
1830 main () 1836 main ()
1831 { 1837 {
1832 if (sizeof ($2)) 1838 if (sizeof ($2))
(...skipping 20 matching lines...) Expand all
1853 else 1859 else
1854 eval "$3=yes" 1860 eval "$3=yes"
1855 fi 1861 fi
1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 fi 1863 fi
1858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1859 fi 1865 fi
1860 eval ac_res=\$$3 1866 eval ac_res=\$$3
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; } 1868 $as_echo "$ac_res" >&6; }
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 1870
1865 } # ac_fn_c_check_type 1871 } # ac_fn_c_check_type
1866 1872
1867 # ac_fn_c_find_uintX_t LINENO BITS VAR 1873 # ac_fn_c_find_uintX_t LINENO BITS VAR
1868 # ------------------------------------ 1874 # ------------------------------------
1869 # Finds an unsigned integer type with width BITS, setting cache variable VAR 1875 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1870 # accordingly. 1876 # accordingly.
1871 ac_fn_c_find_uintX_t () 1877 ac_fn_c_find_uintX_t ()
1872 { 1878 {
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1875 $as_echo_n "checking for uint$2_t... " >&6; } 1881 $as_echo_n "checking for uint$2_t... " >&6; }
1876 if eval "test \"\${$3+set}\"" = set; then : 1882 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6 1883 $as_echo_n "(cached) " >&6
1878 else 1884 else
1879 eval "$3=no" 1885 eval "$3=no"
1880 # Order is important - never check a type that is potentially smaller 1886 # Order is important - never check a type that is potentially smaller
1881 # than half of the expected target width. 1887 # than half of the expected target width.
1882 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1888 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1883 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1889 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */ 1891 /* end confdefs.h. */
1886 $ac_includes_default 1892 $ac_includes_default
(...skipping 19 matching lines...) Expand all
1906 if eval test \"x\$"$3"\" = x"no"; then : 1912 if eval test \"x\$"$3"\" = x"no"; then :
1907 1913
1908 else 1914 else
1909 break 1915 break
1910 fi 1916 fi
1911 done 1917 done
1912 fi 1918 fi
1913 eval ac_res=\$$3 1919 eval ac_res=\$$3
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915 $as_echo "$ac_res" >&6; } 1921 $as_echo "$ac_res" >&6; }
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 1923
1918 } # ac_fn_c_find_uintX_t 1924 } # ac_fn_c_find_uintX_t
1919 1925
1920 # ac_fn_c_find_intX_t LINENO BITS VAR 1926 # ac_fn_c_find_intX_t LINENO BITS VAR
1921 # ----------------------------------- 1927 # -----------------------------------
1922 # Finds a signed integer type with width BITS, setting cache variable VAR 1928 # Finds a signed integer type with width BITS, setting cache variable VAR
1923 # accordingly. 1929 # accordingly.
1924 ac_fn_c_find_intX_t () 1930 ac_fn_c_find_intX_t ()
1925 { 1931 {
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1928 $as_echo_n "checking for int$2_t... " >&6; } 1934 $as_echo_n "checking for int$2_t... " >&6; }
1929 if eval "test \"\${$3+set}\"" = set; then : 1935 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6 1936 $as_echo_n "(cached) " >&6
1931 else 1937 else
1932 eval "$3=no" 1938 eval "$3=no"
1933 # Order is important - never check a type that is potentially smaller 1939 # Order is important - never check a type that is potentially smaller
1934 # than half of the expected target width. 1940 # than half of the expected target width.
1935 for ac_type in int$2_t 'int' 'long int' \ 1941 for ac_type in int$2_t 'int' 'long int' \
1936 'long long int' 'short int' 'signed char'; do 1942 'long long int' 'short int' 'signed char'; do
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */ 1944 /* end confdefs.h. */
1939 $ac_includes_default 1945 $ac_includes_default
1946 enum { N = $2 / 2 - 1 };
1940 int 1947 int
1941 main () 1948 main ()
1942 { 1949 {
1943 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; 1950 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1 ) * 2 + 1))];
1944 » 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1945 test_array [0] = 0 1951 test_array [0] = 0
1946 1952
1947 ; 1953 ;
1948 return 0; 1954 return 0;
1949 } 1955 }
1950 _ACEOF 1956 _ACEOF
1951 if ac_fn_c_try_compile "$LINENO"; then : 1957 if ac_fn_c_try_compile "$LINENO"; then :
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */ 1959 /* end confdefs.h. */
1954 $ac_includes_default 1960 $ac_includes_default
1961 enum { N = $2 / 2 - 1 };
1955 int 1962 int
1956 main () 1963 main ()
1957 { 1964 {
1958 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; 1965 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1959 » » ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1960 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1966 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1961 test_array [0] = 0 1967 test_array [0] = 0
1962 1968
1963 ; 1969 ;
1964 return 0; 1970 return 0;
1965 } 1971 }
1966 _ACEOF 1972 _ACEOF
1967 if ac_fn_c_try_compile "$LINENO"; then : 1973 if ac_fn_c_try_compile "$LINENO"; then :
1968 1974
1969 else 1975 else
(...skipping 10 matching lines...) Expand all
1980 if eval test \"x\$"$3"\" = x"no"; then : 1986 if eval test \"x\$"$3"\" = x"no"; then :
1981 1987
1982 else 1988 else
1983 break 1989 break
1984 fi 1990 fi
1985 done 1991 done
1986 fi 1992 fi
1987 eval ac_res=\$$3 1993 eval ac_res=\$$3
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1989 $as_echo "$ac_res" >&6; } 1995 $as_echo "$ac_res" >&6; }
1990 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991 1997
1992 } # ac_fn_c_find_intX_t 1998 } # ac_fn_c_find_intX_t
1993 1999
1994 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2000 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1995 # -------------------------------------------- 2001 # --------------------------------------------
1996 # Tries to find the compile-time value of EXPR in a program that includes 2002 # Tries to find the compile-time value of EXPR in a program that includes
1997 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2003 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1998 # computed 2004 # computed
1999 ac_fn_c_compute_int () 2005 ac_fn_c_compute_int ()
2000 { 2006 {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
2157 if ac_fn_c_try_run "$LINENO"; then : 2163 if ac_fn_c_try_run "$LINENO"; then :
2158 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2164 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2159 else 2165 else
2160 ac_retval=1 2166 ac_retval=1
2161 fi 2167 fi
2162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2163 conftest.$ac_objext conftest.beam conftest.$ac_ext 2169 conftest.$ac_objext conftest.beam conftest.$ac_ext
2164 rm -f conftest.val 2170 rm -f conftest.val
2165 2171
2166 fi 2172 fi
2167 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 2173 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168 as_fn_set_status $ac_retval 2174 as_fn_set_status $ac_retval
2169 2175
2170 } # ac_fn_c_compute_int 2176 } # ac_fn_c_compute_int
2171 2177
2172 # ac_fn_c_check_func LINENO FUNC VAR 2178 # ac_fn_c_check_func LINENO FUNC VAR
2173 # ---------------------------------- 2179 # ----------------------------------
2174 # Tests whether FUNC exists, setting the cache variable VAR accordingly 2180 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2175 ac_fn_c_check_func () 2181 ac_fn_c_check_func ()
2176 { 2182 {
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2183 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2179 $as_echo_n "checking for $2... " >&6; } 2185 $as_echo_n "checking for $2... " >&6; }
2180 if eval "test \"\${$3+set}\"" = set; then : 2186 if eval \${$3+:} false; then :
2181 $as_echo_n "(cached) " >&6 2187 $as_echo_n "(cached) " >&6
2182 else 2188 else
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */ 2190 /* end confdefs.h. */
2185 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2191 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2186 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2187 #define $2 innocuous_$2 2193 #define $2 innocuous_$2
2188 2194
2189 /* System header to define __stub macros and hopefully few prototypes, 2195 /* System header to define __stub macros and hopefully few prototypes,
2190 which can conflict with char $2 (); below. 2196 which can conflict with char $2 (); below.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
2225 eval "$3=yes" 2231 eval "$3=yes"
2226 else 2232 else
2227 eval "$3=no" 2233 eval "$3=no"
2228 fi 2234 fi
2229 rm -f core conftest.err conftest.$ac_objext \ 2235 rm -f core conftest.err conftest.$ac_objext \
2230 conftest$ac_exeext conftest.$ac_ext 2236 conftest$ac_exeext conftest.$ac_ext
2231 fi 2237 fi
2232 eval ac_res=\$$3 2238 eval ac_res=\$$3
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2234 $as_echo "$ac_res" >&6; } 2240 $as_echo "$ac_res" >&6; }
2235 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2236 2242
2237 } # ac_fn_c_check_func 2243 } # ac_fn_c_check_func
2238
2239 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2240 # ----------------------------------------------------
2241 # Tries to find if the field MEMBER exists in type AGGR, after including
2242 # INCLUDES, setting cache variable VAR accordingly.
2243 ac_fn_c_check_member ()
2244 {
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2247 $as_echo_n "checking for $2.$3... " >&6; }
2248 if eval "test \"\${$4+set}\"" = set; then :
2249 $as_echo_n "(cached) " >&6
2250 else
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */
2253 $5
2254 int
2255 main ()
2256 {
2257 static $2 ac_aggr;
2258 if (ac_aggr.$3)
2259 return 0;
2260 ;
2261 return 0;
2262 }
2263 _ACEOF
2264 if ac_fn_c_try_compile "$LINENO"; then :
2265 eval "$4=yes"
2266 else
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2269 $5
2270 int
2271 main ()
2272 {
2273 static $2 ac_aggr;
2274 if (sizeof ac_aggr.$3)
2275 return 0;
2276 ;
2277 return 0;
2278 }
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 eval "$4=yes"
2282 else
2283 eval "$4=no"
2284 fi
2285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2286 fi
2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2288 fi
2289 eval ac_res=\$$4
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2291 $as_echo "$ac_res" >&6; }
2292 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;}
2293
2294 } # ac_fn_c_check_member
2295 2244
2296 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2245 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2297 # --------------------------------------------- 2246 # ---------------------------------------------
2298 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2247 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2299 # accordingly. 2248 # accordingly.
2300 ac_fn_c_check_decl () 2249 ac_fn_c_check_decl ()
2301 { 2250 {
2302 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2251 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2303 as_decl_name=`echo $2|sed 's/ *(.*//'` 2252 as_decl_name=`echo $2|sed 's/ *(.*//'`
2304 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2253 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is dec lared" >&5 2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is dec lared" >&5
2306 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2255 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2307 if eval "test \"\${$3+set}\"" = set; then : 2256 if eval \${$3+:} false; then :
2308 $as_echo_n "(cached) " >&6 2257 $as_echo_n "(cached) " >&6
2309 else 2258 else
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */ 2260 /* end confdefs.h. */
2312 $4 2261 $4
2313 int 2262 int
2314 main () 2263 main ()
2315 { 2264 {
2316 #ifndef $as_decl_name 2265 #ifndef $as_decl_name
2317 #ifdef __cplusplus 2266 #ifdef __cplusplus
(...skipping 10 matching lines...) Expand all
2328 if ac_fn_c_try_compile "$LINENO"; then : 2277 if ac_fn_c_try_compile "$LINENO"; then :
2329 eval "$3=yes" 2278 eval "$3=yes"
2330 else 2279 else
2331 eval "$3=no" 2280 eval "$3=no"
2332 fi 2281 fi
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 fi 2283 fi
2335 eval ac_res=\$$3 2284 eval ac_res=\$$3
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2337 $as_echo "$ac_res" >&6; } 2286 $as_echo "$ac_res" >&6; }
2338 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_ lineno;} 2287 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2339 2288
2340 } # ac_fn_c_check_decl 2289 } # ac_fn_c_check_decl
2290
2291 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2292 # ----------------------------------------------------
2293 # Tries to find if the field MEMBER exists in type AGGR, after including
2294 # INCLUDES, setting cache variable VAR accordingly.
2295 ac_fn_c_check_member ()
2296 {
2297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2299 $as_echo_n "checking for $2.$3... " >&6; }
2300 if eval \${$4+:} false; then :
2301 $as_echo_n "(cached) " >&6
2302 else
2303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2304 /* end confdefs.h. */
2305 $5
2306 int
2307 main ()
2308 {
2309 static $2 ac_aggr;
2310 if (ac_aggr.$3)
2311 return 0;
2312 ;
2313 return 0;
2314 }
2315 _ACEOF
2316 if ac_fn_c_try_compile "$LINENO"; then :
2317 eval "$4=yes"
2318 else
2319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2320 /* end confdefs.h. */
2321 $5
2322 int
2323 main ()
2324 {
2325 static $2 ac_aggr;
2326 if (sizeof ac_aggr.$3)
2327 return 0;
2328 ;
2329 return 0;
2330 }
2331 _ACEOF
2332 if ac_fn_c_try_compile "$LINENO"; then :
2333 eval "$4=yes"
2334 else
2335 eval "$4=no"
2336 fi
2337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2338 fi
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 fi
2341 eval ac_res=\$$4
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2343 $as_echo "$ac_res" >&6; }
2344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2345
2346 } # ac_fn_c_check_member
2341 cat >config.log <<_ACEOF 2347 cat >config.log <<_ACEOF
2342 This file contains any messages produced by compilers while 2348 This file contains any messages produced by compilers while
2343 running configure, to aid debugging if configure makes a mistake. 2349 running configure, to aid debugging if configure makes a mistake.
2344 2350
2345 It was created by python $as_me 3.3, which was 2351 It was created by python $as_me 3.3, which was
2346 generated by GNU Autoconf 2.67. Invocation command line was 2352 generated by GNU Autoconf 2.68. Invocation command line was
2347 2353
2348 $ $0 $@ 2354 $ $0 $@
2349 2355
2350 _ACEOF 2356 _ACEOF
2351 exec 5>>config.log 2357 exec 5>>config.log
2352 { 2358 {
2353 cat <<_ASUNAME 2359 cat <<_ASUNAME
2354 ## --------- ## 2360 ## --------- ##
2355 ## Platform. ## 2361 ## Platform. ##
2356 ## --------- ## 2362 ## --------- ##
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
2594 do 2600 do
2595 test "x$ac_site_file" = xNONE && continue 2601 test "x$ac_site_file" = xNONE && continue
2596 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2602 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2603 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2598 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2604 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2599 sed 's/^/| /' "$ac_site_file" >&5 2605 sed 's/^/| /' "$ac_site_file" >&5
2600 . "$ac_site_file" \ 2606 . "$ac_site_file" \
2601 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2607 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2603 as_fn_error $? "failed to load site script $ac_site_file 2609 as_fn_error $? "failed to load site script $ac_site_file
2604 See \`config.log' for more details" "$LINENO" 5 ; } 2610 See \`config.log' for more details" "$LINENO" 5; }
2605 fi 2611 fi
2606 done 2612 done
2607 2613
2608 if test -r "$cache_file"; then 2614 if test -r "$cache_file"; then
2609 # Some versions of bash will fail to source /dev/null (special files 2615 # Some versions of bash will fail to source /dev/null (special files
2610 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2616 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2611 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2617 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2618 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2613 $as_echo "$as_me: loading cache $cache_file" >&6;} 2619 $as_echo "$as_me: loading cache $cache_file" >&6;}
2614 case $cache_file in 2620 case $cache_file in
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
2688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 2695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
2690 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2691 2697
2692 2698
2693 2699
2694 2700
2695 2701
2696 2702
2697 2703
2698 if test -e $srcdir/.hg/00changelog.i 2704 if test -e $srcdir/.hg/dirstate
2699 then 2705 then
2700 # Extract the first word of "hg", so it can be a program name with args. 2706 # Extract the first word of "hg", so it can be a program name with args.
2701 set dummy hg; ac_word=$2 2707 set dummy hg; ac_word=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; } 2709 $as_echo_n "checking for $ac_word... " >&6; }
2704 if test "${ac_cv_prog_HAS_HG+set}" = set; then : 2710 if ${ac_cv_prog_HAS_HG+:} false; then :
2705 $as_echo_n "(cached) " >&6 2711 $as_echo_n "(cached) " >&6
2706 else 2712 else
2707 if test -n "$HAS_HG"; then 2713 if test -n "$HAS_HG"; then
2708 ac_cv_prog_HAS_HG="$HAS_HG" # Let the user override the test. 2714 ac_cv_prog_HAS_HG="$HAS_HG" # Let the user override the test.
2709 else 2715 else
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 for as_dir in $PATH 2717 for as_dir in $PATH
2712 do 2718 do
2713 IFS=$as_save_IFS 2719 IFS=$as_save_IFS
2714 test -z "$as_dir" && as_dir=. 2720 test -z "$as_dir" && as_dir=.
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
3037 else 3043 else
3038 ac_sys_release=`uname -r` 3044 ac_sys_release=`uname -r`
3039 fi 3045 fi
3040 ac_md_system=`echo $ac_sys_system | 3046 ac_md_system=`echo $ac_sys_system |
3041 tr -d '/ ' | tr '[A-Z]' '[a-z]'` 3047 tr -d '/ ' | tr '[A-Z]' '[a-z]'`
3042 ac_md_release=`echo $ac_sys_release | 3048 ac_md_release=`echo $ac_sys_release |
3043 tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'` 3049 tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
3044 MACHDEP="$ac_md_system$ac_md_release" 3050 MACHDEP="$ac_md_system$ac_md_release"
3045 3051
3046 case $MACHDEP in 3052 case $MACHDEP in
3053 linux*) MACHDEP="linux";;
3047 cygwin*) MACHDEP="cygwin";; 3054 cygwin*) MACHDEP="cygwin";;
3048 darwin*) MACHDEP="darwin";; 3055 darwin*) MACHDEP="darwin";;
3049 irix646) MACHDEP="irix6";; 3056 irix646) MACHDEP="irix6";;
3050 '') MACHDEP="unknown";; 3057 '') MACHDEP="unknown";;
3051 esac 3058 esac
3052 fi 3059 fi
3053 3060
3054 # Some systems cannot stand _XOPEN_SOURCE being defined at all; they 3061 # Some systems cannot stand _XOPEN_SOURCE being defined at all; they
3055 # disable features if it is defined, without any means to access these 3062 # disable features if it is defined, without any means to access these
3056 # features as extensions. For these systems, we skip the definition of 3063 # features as extensions. For these systems, we skip the definition of
3057 # _XOPEN_SOURCE. Before adding a system to the list to gain access to 3064 # _XOPEN_SOURCE. Before adding a system to the list to gain access to
3058 # some feature, make sure there is no alternative way to access this 3065 # some feature, make sure there is no alternative way to access this
3059 # feature. Also, when using wildcards, make sure you have verified the 3066 # feature. Also, when using wildcards, make sure you have verified the
3060 # need for not defining _XOPEN_SOURCE on all systems matching the 3067 # need for not defining _XOPEN_SOURCE on all systems matching the
3061 # wildcard, and that the wildcard does not include future systems 3068 # wildcard, and that the wildcard does not include future systems
3062 # (which may remove their limitations). 3069 # (which may remove their limitations).
3063 case $ac_sys_system/$ac_sys_release in 3070 case $ac_sys_system/$ac_sys_release in
3064 # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, 3071 # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
3065 # even though select is a POSIX function. Reported by J. Ribbens. 3072 # even though select is a POSIX function. Reported by J. Ribbens.
3066 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. 3073 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
3067 # In addition, Stefan Krah confirms that issue #1244610 exists through 3074 # In addition, Stefan Krah confirms that issue #1244610 exists through
3068 # OpenBSD 4.6, but is fixed in 4.7. 3075 # OpenBSD 4.6, but is fixed in 4.7.
3069 OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0123456]) 3076 OpenBSD/2.* | OpenBSD/3.* | OpenBSD/4.[0123456])
3070 define_xopen_source=no 3077 define_xopen_source=no
3071 # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is 3078 # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
3072 # also defined. This can be overridden by defining _BSD_SOURCE 3079 # also defined. This can be overridden by defining _BSD_SOURCE
3073 # As this has a different meaning on Linux, only define it on OpenBSD 3080 # As this has a different meaning on Linux, only define it on OpenBSD
3074 3081
3075 $as_echo "#define _BSD_SOURCE 1" >>confdefs.h 3082 $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
3076 3083
3077 ;; 3084 ;;
3078 OpenBSD/4.[789]) 3085 OpenBSD/*)
3079 # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is 3086 # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
3080 # also defined. This can be overridden by defining _BSD_SOURCE 3087 # also defined. This can be overridden by defining _BSD_SOURCE
3081 # As this has a different meaning on Linux, only define it on OpenBSD 3088 # As this has a different meaning on Linux, only define it on OpenBSD
3082 3089
3083 $as_echo "#define _BSD_SOURCE 1" >>confdefs.h 3090 $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
3084 3091
3085 ;; 3092 ;;
3086 # Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of 3093 # Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of
3087 # _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by 3094 # _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by
3088 # Marc Recht 3095 # Marc Recht
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
3132 # On QNX 6.3.2, defining _XOPEN_SOURCE prevents netdb.h from 3139 # On QNX 6.3.2, defining _XOPEN_SOURCE prevents netdb.h from
3133 # defining NI_NUMERICHOST. 3140 # defining NI_NUMERICHOST.
3134 QNX/6.3.2) 3141 QNX/6.3.2)
3135 define_xopen_source=no 3142 define_xopen_source=no
3136 ;; 3143 ;;
3137 3144
3138 esac 3145 esac
3139 3146
3140 if test $define_xopen_source = yes 3147 if test $define_xopen_source = yes
3141 then 3148 then
3142 3149 # X/Open 7, incorporating POSIX.1-2008
3143 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h 3150
3151 $as_echo "#define _XOPEN_SOURCE 700" >>confdefs.h
3144 3152
3145 3153
3146 # On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires 3154 # On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
3147 # definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else 3155 # definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
3148 # several APIs are not declared. Since this is also needed in some 3156 # several APIs are not declared. Since this is also needed in some
3149 # cases for HP-UX, we define it globally. 3157 # cases for HP-UX, we define it globally.
3150 3158
3151 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h 3159 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
3152 3160
3153 3161
3154 3162
3155 $as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h 3163 $as_echo "#define _POSIX_C_SOURCE 200809L" >>confdefs.h
3156
3157 3164
3158 fi 3165 fi
3159 3166
3160 # 3167 #
3161 # SGI compilers allow the specification of the both the ABI and the 3168 # SGI compilers allow the specification of the both the ABI and the
3162 # ISA on the command line. Depending on the values of these switches, 3169 # ISA on the command line. Depending on the values of these switches,
3163 # different and often incompatable code will be generated. 3170 # different and often incompatable code will be generated.
3164 # 3171 #
3165 # The SGI_ABI variable can be used to modify the CC and LDFLAGS and 3172 # The SGI_ABI variable can be used to modify the CC and LDFLAGS and
3166 # thus supply support for various ABI/ISA combinations. The MACHDEP 3173 # thus supply support for various ABI/ISA combinations. The MACHDEP
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
3242 ac_ext=c 3249 ac_ext=c
3243 ac_cpp='$CPP $CPPFLAGS' 3250 ac_cpp='$CPP $CPPFLAGS'
3244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 3252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
3246 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3247 if test -n "$ac_tool_prefix"; then 3254 if test -n "$ac_tool_prefix"; then
3248 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args. 3255 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args.
3249 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3256 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; } 3258 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_CC+set}" = set; then : 3259 if ${ac_cv_prog_CC+:} false; then :
3253 $as_echo_n "(cached) " >&6 3260 $as_echo_n "(cached) " >&6
3254 else 3261 else
3255 if test -n "$CC"; then 3262 if test -n "$CC"; then
3256 ac_cv_prog_CC="$CC" # Let the user override the test. 3263 ac_cv_prog_CC="$CC" # Let the user override the test.
3257 else 3264 else
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 for as_dir in $PATH 3266 for as_dir in $PATH
3260 do 3267 do
3261 IFS=$as_save_IFS 3268 IFS=$as_save_IFS
3262 test -z "$as_dir" && as_dir=. 3269 test -z "$as_dir" && as_dir=.
(...skipping 19 matching lines...) Expand all
3282 fi 3289 fi
3283 3290
3284 3291
3285 fi 3292 fi
3286 if test -z "$ac_cv_prog_CC"; then 3293 if test -z "$ac_cv_prog_CC"; then
3287 ac_ct_CC=$CC 3294 ac_ct_CC=$CC
3288 # Extract the first word of "gcc", so it can be a program name with args. 3295 # Extract the first word of "gcc", so it can be a program name with args.
3289 set dummy gcc; ac_word=$2 3296 set dummy gcc; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; } 3298 $as_echo_n "checking for $ac_word... " >&6; }
3292 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3299 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3293 $as_echo_n "(cached) " >&6 3300 $as_echo_n "(cached) " >&6
3294 else 3301 else
3295 if test -n "$ac_ct_CC"; then 3302 if test -n "$ac_ct_CC"; then
3296 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3297 else 3304 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH 3306 for as_dir in $PATH
3300 do 3307 do
3301 IFS=$as_save_IFS 3308 IFS=$as_save_IFS
3302 test -z "$as_dir" && as_dir=. 3309 test -z "$as_dir" && as_dir=.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
3335 else 3342 else
3336 CC="$ac_cv_prog_CC" 3343 CC="$ac_cv_prog_CC"
3337 fi 3344 fi
3338 3345
3339 if test -z "$CC"; then 3346 if test -z "$CC"; then
3340 if test -n "$ac_tool_prefix"; then 3347 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na me with args. 3348 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na me with args.
3342 set dummy ${ac_tool_prefix}cc; ac_word=$2 3349 set dummy ${ac_tool_prefix}cc; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; } 3351 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_CC+set}" = set; then : 3352 if ${ac_cv_prog_CC+:} false; then :
3346 $as_echo_n "(cached) " >&6 3353 $as_echo_n "(cached) " >&6
3347 else 3354 else
3348 if test -n "$CC"; then 3355 if test -n "$CC"; then
3349 ac_cv_prog_CC="$CC" # Let the user override the test. 3356 ac_cv_prog_CC="$CC" # Let the user override the test.
3350 else 3357 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH 3359 for as_dir in $PATH
3353 do 3360 do
3354 IFS=$as_save_IFS 3361 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=. 3362 test -z "$as_dir" && as_dir=.
(...skipping 19 matching lines...) Expand all
3375 fi 3382 fi
3376 3383
3377 3384
3378 fi 3385 fi
3379 fi 3386 fi
3380 if test -z "$CC"; then 3387 if test -z "$CC"; then
3381 # Extract the first word of "cc", so it can be a program name with args. 3388 # Extract the first word of "cc", so it can be a program name with args.
3382 set dummy cc; ac_word=$2 3389 set dummy cc; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; } 3391 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_CC+set}" = set; then : 3392 if ${ac_cv_prog_CC+:} false; then :
3386 $as_echo_n "(cached) " >&6 3393 $as_echo_n "(cached) " >&6
3387 else 3394 else
3388 if test -n "$CC"; then 3395 if test -n "$CC"; then
3389 ac_cv_prog_CC="$CC" # Let the user override the test. 3396 ac_cv_prog_CC="$CC" # Let the user override the test.
3390 else 3397 else
3391 ac_prog_rejected=no 3398 ac_prog_rejected=no
3392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393 for as_dir in $PATH 3400 for as_dir in $PATH
3394 do 3401 do
3395 IFS=$as_save_IFS 3402 IFS=$as_save_IFS
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
3434 3441
3435 fi 3442 fi
3436 if test -z "$CC"; then 3443 if test -z "$CC"; then
3437 if test -n "$ac_tool_prefix"; then 3444 if test -n "$ac_tool_prefix"; then
3438 for ac_prog in cl.exe 3445 for ac_prog in cl.exe
3439 do 3446 do
3440 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args. 3447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra m name with args.
3441 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3443 $as_echo_n "checking for $ac_word... " >&6; } 3450 $as_echo_n "checking for $ac_word... " >&6; }
3444 if test "${ac_cv_prog_CC+set}" = set; then : 3451 if ${ac_cv_prog_CC+:} false; then :
3445 $as_echo_n "(cached) " >&6 3452 $as_echo_n "(cached) " >&6
3446 else 3453 else
3447 if test -n "$CC"; then 3454 if test -n "$CC"; then
3448 ac_cv_prog_CC="$CC" # Let the user override the test. 3455 ac_cv_prog_CC="$CC" # Let the user override the test.
3449 else 3456 else
3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 for as_dir in $PATH 3458 for as_dir in $PATH
3452 do 3459 do
3453 IFS=$as_save_IFS 3460 IFS=$as_save_IFS
3454 test -z "$as_dir" && as_dir=. 3461 test -z "$as_dir" && as_dir=.
(...skipping 23 matching lines...) Expand all
3478 done 3485 done
3479 fi 3486 fi
3480 if test -z "$CC"; then 3487 if test -z "$CC"; then
3481 ac_ct_CC=$CC 3488 ac_ct_CC=$CC
3482 for ac_prog in cl.exe 3489 for ac_prog in cl.exe
3483 do 3490 do
3484 # Extract the first word of "$ac_prog", so it can be a program name with args. 3491 # Extract the first word of "$ac_prog", so it can be a program name with args.
3485 set dummy $ac_prog; ac_word=$2 3492 set dummy $ac_prog; ac_word=$2
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3487 $as_echo_n "checking for $ac_word... " >&6; } 3494 $as_echo_n "checking for $ac_word... " >&6; }
3488 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3495 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3489 $as_echo_n "(cached) " >&6 3496 $as_echo_n "(cached) " >&6
3490 else 3497 else
3491 if test -n "$ac_ct_CC"; then 3498 if test -n "$ac_ct_CC"; then
3492 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3499 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3493 else 3500 else
3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 for as_dir in $PATH 3502 for as_dir in $PATH
3496 do 3503 do
3497 IFS=$as_save_IFS 3504 IFS=$as_save_IFS
3498 test -z "$as_dir" && as_dir=. 3505 test -z "$as_dir" && as_dir=.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
3533 CC=$ac_ct_CC 3540 CC=$ac_ct_CC
3534 fi 3541 fi
3535 fi 3542 fi
3536 3543
3537 fi 3544 fi
3538 3545
3539 3546
3540 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd' :" >&5 3547 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd' :" >&5
3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542 as_fn_error $? "no acceptable C compiler found in \$PATH 3549 as_fn_error $? "no acceptable C compiler found in \$PATH
3543 See \`config.log' for more details" "$LINENO" 5 ; } 3550 See \`config.log' for more details" "$LINENO" 5; }
3544 3551
3545 # Provide some information about the compiler. 3552 # Provide some information about the compiler.
3546 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3553 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3547 set X $ac_compile 3554 set X $ac_compile
3548 ac_compiler=$2 3555 ac_compiler=$2
3549 for ac_option in --version -v -V -qversion; do 3556 for ac_option in --version -v -V -qversion; do
3550 { { ac_try="$ac_compiler $ac_option >&5" 3557 { { ac_try="$ac_compiler $ac_option >&5"
3551 case "(($ac_try" in 3558 case "(($ac_try" in
3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3553 *) ac_try_echo=$ac_try;; 3560 *) ac_try_echo=$ac_try;;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
3648 fi 3655 fi
3649 if test -z "$ac_file"; then : 3656 if test -z "$ac_file"; then :
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; } 3658 $as_echo "no" >&6; }
3652 $as_echo "$as_me: failed program was:" >&5 3659 $as_echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5 3660 sed 's/^/| /' conftest.$ac_ext >&5
3654 3661
3655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657 as_fn_error 77 "C compiler cannot create executables 3664 as_fn_error 77 "C compiler cannot create executables
3658 See \`config.log' for more details" "$LINENO" 5 ; } 3665 See \`config.log' for more details" "$LINENO" 5; }
3659 else 3666 else
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3661 $as_echo "yes" >&6; } 3668 $as_echo "yes" >&6; }
3662 fi 3669 fi
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3664 $as_echo_n "checking for C compiler default output file name... " >&6; } 3671 $as_echo_n "checking for C compiler default output file name... " >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3666 $as_echo "$ac_file" >&6; } 3673 $as_echo "$ac_file" >&6; }
3667 ac_exeext=$ac_cv_exeext 3674 ac_exeext=$ac_cv_exeext
3668 3675
(...skipping 22 matching lines...) Expand all
3691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3692 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3699 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3693 break;; 3700 break;;
3694 * ) break;; 3701 * ) break;;
3695 esac 3702 esac
3696 done 3703 done
3697 else 3704 else
3698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3700 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3707 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3701 See \`config.log' for more details" "$LINENO" 5 ; } 3708 See \`config.log' for more details" "$LINENO" 5; }
3702 fi 3709 fi
3703 rm -f conftest conftest$ac_cv_exeext 3710 rm -f conftest conftest$ac_cv_exeext
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3705 $as_echo "$ac_cv_exeext" >&6; } 3712 $as_echo "$ac_cv_exeext" >&6; }
3706 3713
3707 rm -f conftest.$ac_ext 3714 rm -f conftest.$ac_ext
3708 EXEEXT=$ac_cv_exeext 3715 EXEEXT=$ac_cv_exeext
3709 ac_exeext=$EXEEXT 3716 ac_exeext=$EXEEXT
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h. */ 3718 /* end confdefs.h. */
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
3750 test $ac_status = 0; }; }; then 3757 test $ac_status = 0; }; }; then
3751 cross_compiling=no 3758 cross_compiling=no
3752 else 3759 else
3753 if test "$cross_compiling" = maybe; then 3760 if test "$cross_compiling" = maybe; then
3754 cross_compiling=yes 3761 cross_compiling=yes
3755 else 3762 else
3756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error $? "cannot run C compiled programs. 3765 as_fn_error $? "cannot run C compiled programs.
3759 If you meant to cross compile, use \`--host'. 3766 If you meant to cross compile, use \`--host'.
3760 See \`config.log' for more details" "$LINENO" 5 ; } 3767 See \`config.log' for more details" "$LINENO" 5; }
3761 fi 3768 fi
3762 fi 3769 fi
3763 fi 3770 fi
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3765 $as_echo "$cross_compiling" >&6; } 3772 $as_echo "$cross_compiling" >&6; }
3766 3773
3767 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3774 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3768 ac_clean_files=$ac_clean_files_save 3775 ac_clean_files=$ac_clean_files_save
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >& 5 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >& 5
3770 $as_echo_n "checking for suffix of object files... " >&6; } 3777 $as_echo_n "checking for suffix of object files... " >&6; }
3771 if test "${ac_cv_objext+set}" = set; then : 3778 if ${ac_cv_objext+:} false; then :
3772 $as_echo_n "(cached) " >&6 3779 $as_echo_n "(cached) " >&6
3773 else 3780 else
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */ 3782 /* end confdefs.h. */
3776 3783
3777 int 3784 int
3778 main () 3785 main ()
3779 { 3786 {
3780 3787
3781 ; 3788 ;
(...skipping 20 matching lines...) Expand all
3802 break;; 3809 break;;
3803 esac 3810 esac
3804 done 3811 done
3805 else 3812 else
3806 $as_echo "$as_me: failed program was:" >&5 3813 $as_echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.$ac_ext >&5 3814 sed 's/^/| /' conftest.$ac_ext >&5
3808 3815
3809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3811 as_fn_error $? "cannot compute suffix of object files: cannot compile 3818 as_fn_error $? "cannot compute suffix of object files: cannot compile
3812 See \`config.log' for more details" "$LINENO" 5 ; } 3819 See \`config.log' for more details" "$LINENO" 5; }
3813 fi 3820 fi
3814 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3821 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3815 fi 3822 fi
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3817 $as_echo "$ac_cv_objext" >&6; } 3824 $as_echo "$ac_cv_objext" >&6; }
3818 OBJEXT=$ac_cv_objext 3825 OBJEXT=$ac_cv_objext
3819 ac_objext=$OBJEXT 3826 ac_objext=$OBJEXT
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3821 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3828 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3822 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3829 if ${ac_cv_c_compiler_gnu+:} false; then :
3823 $as_echo_n "(cached) " >&6 3830 $as_echo_n "(cached) " >&6
3824 else 3831 else
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */ 3833 /* end confdefs.h. */
3827 3834
3828 int 3835 int
3829 main () 3836 main ()
3830 { 3837 {
3831 #ifndef __GNUC__ 3838 #ifndef __GNUC__
3832 choke me 3839 choke me
(...skipping 16 matching lines...) Expand all
3849 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3856 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3850 if test $ac_compiler_gnu = yes; then 3857 if test $ac_compiler_gnu = yes; then
3851 GCC=yes 3858 GCC=yes
3852 else 3859 else
3853 GCC= 3860 GCC=
3854 fi 3861 fi
3855 ac_test_CFLAGS=${CFLAGS+set} 3862 ac_test_CFLAGS=${CFLAGS+set}
3856 ac_save_CFLAGS=$CFLAGS 3863 ac_save_CFLAGS=$CFLAGS
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3858 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3865 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3859 if test "${ac_cv_prog_cc_g+set}" = set; then : 3866 if ${ac_cv_prog_cc_g+:} false; then :
3860 $as_echo_n "(cached) " >&6 3867 $as_echo_n "(cached) " >&6
3861 else 3868 else
3862 ac_save_c_werror_flag=$ac_c_werror_flag 3869 ac_save_c_werror_flag=$ac_c_werror_flag
3863 ac_c_werror_flag=yes 3870 ac_c_werror_flag=yes
3864 ac_cv_prog_cc_g=no 3871 ac_cv_prog_cc_g=no
3865 CFLAGS="-g" 3872 CFLAGS="-g"
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */ 3874 /* end confdefs.h. */
3868 3875
3869 int 3876 int
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
3927 fi 3934 fi
3928 else 3935 else
3929 if test "$GCC" = yes; then 3936 if test "$GCC" = yes; then
3930 CFLAGS="-O2" 3937 CFLAGS="-O2"
3931 else 3938 else
3932 CFLAGS= 3939 CFLAGS=
3933 fi 3940 fi
3934 fi 3941 fi
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C 89" >&5 3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C 89" >&5
3936 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3943 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3937 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3944 if ${ac_cv_prog_cc_c89+:} false; then :
3938 $as_echo_n "(cached) " >&6 3945 $as_echo_n "(cached) " >&6
3939 else 3946 else
3940 ac_cv_prog_cc_c89=no 3947 ac_cv_prog_cc_c89=no
3941 ac_save_CC=$CC 3948 ac_save_CC=$CC
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */ 3950 /* end confdefs.h. */
3944 #include <stdarg.h> 3951 #include <stdarg.h>
3945 #include <stdio.h> 3952 #include <stdio.h>
3946 #include <sys/types.h> 3953 #include <sys/types.h>
3947 #include <sys/stat.h> 3954 #include <sys/stat.h>
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
4062 $as_echo "$with_cxx_main" >&6; } 4069 $as_echo "$with_cxx_main" >&6; }
4063 4070
4064 preset_cxx="$CXX" 4071 preset_cxx="$CXX"
4065 if test -z "$CXX" 4072 if test -z "$CXX"
4066 then 4073 then
4067 case "$CC" in 4074 case "$CC" in
4068 gcc) # Extract the first word of "g++", so it can be a program name w ith args. 4075 gcc) # Extract the first word of "g++", so it can be a program name w ith args.
4069 set dummy g++; ac_word=$2 4076 set dummy g++; ac_word=$2
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071 $as_echo_n "checking for $ac_word... " >&6; } 4078 $as_echo_n "checking for $ac_word... " >&6; }
4072 if test "${ac_cv_path_CXX+set}" = set; then : 4079 if ${ac_cv_path_CXX+:} false; then :
4073 $as_echo_n "(cached) " >&6 4080 $as_echo_n "(cached) " >&6
4074 else 4081 else
4075 case $CXX in 4082 case $CXX in
4076 [\\/]* | ?:[\\/]*) 4083 [\\/]* | ?:[\\/]*)
4077 ac_cv_path_CXX="$CXX" # Let the user override the test with a path. 4084 ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
4078 ;; 4085 ;;
4079 *) 4086 *)
4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 for as_dir in notfound 4088 for as_dir in notfound
4082 do 4089 do
(...skipping 20 matching lines...) Expand all
4103 else 4110 else
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4105 $as_echo "no" >&6; } 4112 $as_echo "no" >&6; }
4106 fi 4113 fi
4107 4114
4108 ;; 4115 ;;
4109 cc) # Extract the first word of "c++", so it can be a program name w ith args. 4116 cc) # Extract the first word of "c++", so it can be a program name w ith args.
4110 set dummy c++; ac_word=$2 4117 set dummy c++; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; } 4119 $as_echo_n "checking for $ac_word... " >&6; }
4113 if test "${ac_cv_path_CXX+set}" = set; then : 4120 if ${ac_cv_path_CXX+:} false; then :
4114 $as_echo_n "(cached) " >&6 4121 $as_echo_n "(cached) " >&6
4115 else 4122 else
4116 case $CXX in 4123 case $CXX in
4117 [\\/]* | ?:[\\/]*) 4124 [\\/]* | ?:[\\/]*)
4118 ac_cv_path_CXX="$CXX" # Let the user override the test with a path. 4125 ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
4119 ;; 4126 ;;
4120 *) 4127 *)
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in notfound 4129 for as_dir in notfound
4123 do 4130 do
(...skipping 30 matching lines...) Expand all
4154 fi 4161 fi
4155 fi 4162 fi
4156 if test -z "$CXX" 4163 if test -z "$CXX"
4157 then 4164 then
4158 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 4165 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4159 do 4166 do
4160 # Extract the first word of "$ac_prog", so it can be a program name with args. 4167 # Extract the first word of "$ac_prog", so it can be a program name with args.
4161 set dummy $ac_prog; ac_word=$2 4168 set dummy $ac_prog; ac_word=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163 $as_echo_n "checking for $ac_word... " >&6; } 4170 $as_echo_n "checking for $ac_word... " >&6; }
4164 if test "${ac_cv_prog_CXX+set}" = set; then : 4171 if ${ac_cv_prog_CXX+:} false; then :
4165 $as_echo_n "(cached) " >&6 4172 $as_echo_n "(cached) " >&6
4166 else 4173 else
4167 if test -n "$CXX"; then 4174 if test -n "$CXX"; then
4168 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4175 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4169 else 4176 else
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 for as_dir in $PATH 4178 for as_dir in $PATH
4172 do 4179 do
4173 IFS=$as_save_IFS 4180 IFS=$as_save_IFS
4174 test -z "$as_dir" && as_dir=. 4181 test -z "$as_dir" && as_dir=.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
4255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 4263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
4257 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4259 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4266 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4260 # On Suns, sometimes $CPP names a directory. 4267 # On Suns, sometimes $CPP names a directory.
4261 if test -n "$CPP" && test -d "$CPP"; then 4268 if test -n "$CPP" && test -d "$CPP"; then
4262 CPP= 4269 CPP=
4263 fi 4270 fi
4264 if test -z "$CPP"; then 4271 if test -z "$CPP"; then
4265 if test "${ac_cv_prog_CPP+set}" = set; then : 4272 if ${ac_cv_prog_CPP+:} false; then :
4266 $as_echo_n "(cached) " >&6 4273 $as_echo_n "(cached) " >&6
4267 else 4274 else
4268 # Double quotes because CPP needs to be expanded 4275 # Double quotes because CPP needs to be expanded
4269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4276 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4270 do 4277 do
4271 ac_preproc_ok=false 4278 ac_preproc_ok=false
4272 for ac_c_preproc_warn_flag in '' yes 4279 for ac_c_preproc_warn_flag in '' yes
4273 do 4280 do
4274 # Use a header file that comes with gcc, so configuring glibc 4281 # Use a header file that comes with gcc, so configuring glibc
4275 # with a fresh cross-compiler works. 4282 # with a fresh cross-compiler works.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
4371 4378
4372 done 4379 done
4373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4374 rm -f conftest.i conftest.err conftest.$ac_ext 4381 rm -f conftest.i conftest.err conftest.$ac_ext
4375 if $ac_preproc_ok; then : 4382 if $ac_preproc_ok; then :
4376 4383
4377 else 4384 else
4378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4387 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4381 See \`config.log' for more details" "$LINENO" 5 ; } 4388 See \`config.log' for more details" "$LINENO" 5; }
4382 fi 4389 fi
4383 4390
4384 ac_ext=c 4391 ac_ext=c
4385 ac_cpp='$CPP $CPPFLAGS' 4392 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 4394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4389 4396
4390 4397
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin es and -e" >&5 4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin es and -e" >&5
4392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4399 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4393 if test "${ac_cv_path_GREP+set}" = set; then : 4400 if ${ac_cv_path_GREP+:} false; then :
4394 $as_echo_n "(cached) " >&6 4401 $as_echo_n "(cached) " >&6
4395 else 4402 else
4396 if test -z "$GREP"; then 4403 if test -z "$GREP"; then
4397 ac_path_GREP_found=false 4404 ac_path_GREP_found=false
4398 # Loop through the user's path and test for each of PROGNAME-LIST 4405 # Loop through the user's path and test for each of PROGNAME-LIST
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4407 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4401 do 4408 do
4402 IFS=$as_save_IFS 4409 IFS=$as_save_IFS
4403 test -z "$as_dir" && as_dir=. 4410 test -z "$as_dir" && as_dir=.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
4446 fi 4453 fi
4447 4454
4448 fi 4455 fi
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4450 $as_echo "$ac_cv_path_GREP" >&6; } 4457 $as_echo "$ac_cv_path_GREP" >&6; }
4451 GREP="$ac_cv_path_GREP" 4458 GREP="$ac_cv_path_GREP"
4452 4459
4453 4460
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4455 $as_echo_n "checking for egrep... " >&6; } 4462 $as_echo_n "checking for egrep... " >&6; }
4456 if test "${ac_cv_path_EGREP+set}" = set; then : 4463 if ${ac_cv_path_EGREP+:} false; then :
4457 $as_echo_n "(cached) " >&6 4464 $as_echo_n "(cached) " >&6
4458 else 4465 else
4459 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4466 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4460 then ac_cv_path_EGREP="$GREP -E" 4467 then ac_cv_path_EGREP="$GREP -E"
4461 else 4468 else
4462 if test -z "$EGREP"; then 4469 if test -z "$EGREP"; then
4463 ac_path_EGREP_found=false 4470 ac_path_EGREP_found=false
4464 # Loop through the user's path and test for each of PROGNAME-LIST 4471 # Loop through the user's path and test for each of PROGNAME-LIST
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4473 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
4513 4520
4514 fi 4521 fi
4515 fi 4522 fi
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4517 $as_echo "$ac_cv_path_EGREP" >&6; } 4524 $as_echo "$ac_cv_path_EGREP" >&6; }
4518 EGREP="$ac_cv_path_EGREP" 4525 EGREP="$ac_cv_path_EGREP"
4519 4526
4520 4527
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4522 $as_echo_n "checking for ANSI C header files... " >&6; } 4529 $as_echo_n "checking for ANSI C header files... " >&6; }
4523 if test "${ac_cv_header_stdc+set}" = set; then : 4530 if ${ac_cv_header_stdc+:} false; then :
4524 $as_echo_n "(cached) " >&6 4531 $as_echo_n "(cached) " >&6
4525 else 4532 else
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */ 4534 /* end confdefs.h. */
4528 #include <stdlib.h> 4535 #include <stdlib.h>
4529 #include <stdarg.h> 4536 #include <stdarg.h>
4530 #include <string.h> 4537 #include <string.h>
4531 #include <float.h> 4538 #include <float.h>
4532 4539
4533 int 4540 int
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
4642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4643 _ACEOF 4650 _ACEOF
4644 4651
4645 fi 4652 fi
4646 4653
4647 done 4654 done
4648 4655
4649 4656
4650 4657
4651 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co nfig_h" "$ac_includes_default" 4658 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co nfig_h" "$ac_includes_default"
4652 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4659 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4653 MINIX=yes 4660 MINIX=yes
4654 else 4661 else
4655 MINIX= 4662 MINIX=
4656 fi 4663 fi
4657 4664
4658 4665
4659 if test "$MINIX" = yes; then 4666 if test "$MINIX" = yes; then
4660 4667
4661 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4668 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4662 4669
4663 4670
4664 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4671 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4665 4672
4666 4673
4667 $as_echo "#define _MINIX 1" >>confdefs.h 4674 $as_echo "#define _MINIX 1" >>confdefs.h
4668 4675
4669 fi 4676 fi
4670 4677
4671 4678
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4673 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4680 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4674 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4681 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4675 $as_echo_n "(cached) " >&6 4682 $as_echo_n "(cached) " >&6
4676 else 4683 else
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */ 4685 /* end confdefs.h. */
4679 4686
4680 # define __EXTENSIONS__ 1 4687 # define __EXTENSIONS__ 1
4681 $ac_includes_default 4688 $ac_includes_default
4682 int 4689 int
4683 main () 4690 main ()
4684 { 4691 {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
4857 *GNU*) 4864 *GNU*)
4858 GNULD=yes;; 4865 GNULD=yes;;
4859 *) 4866 *)
4860 GNULD=no;; 4867 GNULD=no;;
4861 esac 4868 esac
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5 4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
4863 $as_echo "$GNULD" >&6; } 4870 $as_echo "$GNULD" >&6; }
4864 4871
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4866 $as_echo_n "checking for inline... " >&6; } 4873 $as_echo_n "checking for inline... " >&6; }
4867 if test "${ac_cv_c_inline+set}" = set; then : 4874 if ${ac_cv_c_inline+:} false; then :
4868 $as_echo_n "(cached) " >&6 4875 $as_echo_n "(cached) " >&6
4869 else 4876 else
4870 ac_cv_c_inline=no 4877 ac_cv_c_inline=no
4871 for ac_kw in inline __inline__ __inline; do 4878 for ac_kw in inline __inline__ __inline; do
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */ 4880 /* end confdefs.h. */
4874 #ifndef __cplusplus 4881 #ifndef __cplusplus
4875 typedef int foo_t; 4882 typedef int foo_t;
4876 static $ac_kw foo_t static_foo () {return 0; } 4883 static $ac_kw foo_t static_foo () {return 0; }
4877 $ac_kw foo_t foo () {return 0; } 4884 $ac_kw foo_t foo () {return 0; }
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
4998 SunOS*) 5005 SunOS*)
4999 LDLIBRARY='libpython$(LDVERSION).so' 5006 LDLIBRARY='libpython$(LDVERSION).so'
5000 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)' 5007 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
5001 RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} 5008 RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
5002 INSTSONAME="$LDLIBRARY".$SOVERSION 5009 INSTSONAME="$LDLIBRARY".$SOVERSION
5003 if test "$with_pydebug" != yes 5010 if test "$with_pydebug" != yes
5004 then 5011 then
5005 PY3LIBRARY=libpython3.so 5012 PY3LIBRARY=libpython3.so
5006 fi 5013 fi
5007 ;; 5014 ;;
5008 Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*) 5015 Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
5009 LDLIBRARY='libpython$(LDVERSION).so' 5016 LDLIBRARY='libpython$(LDVERSION).so'
5010 BLDLIBRARY='-L. -lpython$(LDVERSION)' 5017 BLDLIBRARY='-L. -lpython$(LDVERSION)'
5011 RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} 5018 RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
5012 case $ac_sys_system in 5019 case $ac_sys_system in
5013 FreeBSD*) 5020 FreeBSD*)
5014 SOVERSION=`echo $SOVERSION|cut -d "." -f 1` 5021 SOVERSION=`echo $SOVERSION|cut -d "." -f 1`
5015 ;; 5022 ;;
5016 esac 5023 esac
5017 INSTSONAME="$LDLIBRARY".$SOVERSION 5024 INSTSONAME="$LDLIBRARY".$SOVERSION
5018 if test "$with_pydebug" != yes 5025 if test "$with_pydebug" != yes
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
5053 fi 5060 fi
5054 5061
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5 5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
5056 $as_echo "$LDLIBRARY" >&6; } 5063 $as_echo "$LDLIBRARY" >&6; }
5057 5064
5058 if test -n "$ac_tool_prefix"; then 5065 if test -n "$ac_tool_prefix"; then
5059 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5066 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5060 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5067 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 $as_echo_n "checking for $ac_word... " >&6; } 5069 $as_echo_n "checking for $ac_word... " >&6; }
5063 if test "${ac_cv_prog_RANLIB+set}" = set; then : 5070 if ${ac_cv_prog_RANLIB+:} false; then :
5064 $as_echo_n "(cached) " >&6 5071 $as_echo_n "(cached) " >&6
5065 else 5072 else
5066 if test -n "$RANLIB"; then 5073 if test -n "$RANLIB"; then
5067 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5074 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5068 else 5075 else
5069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 for as_dir in $PATH 5077 for as_dir in $PATH
5071 do 5078 do
5072 IFS=$as_save_IFS 5079 IFS=$as_save_IFS
5073 test -z "$as_dir" && as_dir=. 5080 test -z "$as_dir" && as_dir=.
(...skipping 19 matching lines...) Expand all
5093 fi 5100 fi
5094 5101
5095 5102
5096 fi 5103 fi
5097 if test -z "$ac_cv_prog_RANLIB"; then 5104 if test -z "$ac_cv_prog_RANLIB"; then
5098 ac_ct_RANLIB=$RANLIB 5105 ac_ct_RANLIB=$RANLIB
5099 # Extract the first word of "ranlib", so it can be a program name with args. 5106 # Extract the first word of "ranlib", so it can be a program name with args.
5100 set dummy ranlib; ac_word=$2 5107 set dummy ranlib; ac_word=$2
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102 $as_echo_n "checking for $ac_word... " >&6; } 5109 $as_echo_n "checking for $ac_word... " >&6; }
5103 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5110 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5104 $as_echo_n "(cached) " >&6 5111 $as_echo_n "(cached) " >&6
5105 else 5112 else
5106 if test -n "$ac_ct_RANLIB"; then 5113 if test -n "$ac_ct_RANLIB"; then
5107 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5114 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5108 else 5115 else
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 for as_dir in $PATH 5117 for as_dir in $PATH
5111 do 5118 do
5112 IFS=$as_save_IFS 5119 IFS=$as_save_IFS
5113 test -z "$as_dir" && as_dir=. 5120 test -z "$as_dir" && as_dir=.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5147 RANLIB="$ac_cv_prog_RANLIB" 5154 RANLIB="$ac_cv_prog_RANLIB"
5148 fi 5155 fi
5149 5156
5150 5157
5151 for ac_prog in ar aal 5158 for ac_prog in ar aal
5152 do 5159 do
5153 # Extract the first word of "$ac_prog", so it can be a program name with args. 5160 # Extract the first word of "$ac_prog", so it can be a program name with args.
5154 set dummy $ac_prog; ac_word=$2 5161 set dummy $ac_prog; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; } 5163 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_AR+set}" = set; then : 5164 if ${ac_cv_prog_AR+:} false; then :
5158 $as_echo_n "(cached) " >&6 5165 $as_echo_n "(cached) " >&6
5159 else 5166 else
5160 if test -n "$AR"; then 5167 if test -n "$AR"; then
5161 ac_cv_prog_AR="$AR" # Let the user override the test. 5168 ac_cv_prog_AR="$AR" # Let the user override the test.
5162 else 5169 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH 5171 for as_dir in $PATH
5165 do 5172 do
5166 IFS=$as_save_IFS 5173 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=. 5174 test -z "$as_dir" && as_dir=.
(...skipping 30 matching lines...) Expand all
5198 then 5205 then
5199 ARFLAGS="rc" 5206 ARFLAGS="rc"
5200 fi 5207 fi
5201 5208
5202 5209
5203 DISABLE_ASDLGEN="" 5210 DISABLE_ASDLGEN=""
5204 # Extract the first word of "python", so it can be a program name with args. 5211 # Extract the first word of "python", so it can be a program name with args.
5205 set dummy python; ac_word=$2 5212 set dummy python; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; } 5214 $as_echo_n "checking for $ac_word... " >&6; }
5208 if test "${ac_cv_prog_HAS_PYTHON+set}" = set; then : 5215 if ${ac_cv_prog_HAS_PYTHON+:} false; then :
5209 $as_echo_n "(cached) " >&6 5216 $as_echo_n "(cached) " >&6
5210 else 5217 else
5211 if test -n "$HAS_PYTHON"; then 5218 if test -n "$HAS_PYTHON"; then
5212 ac_cv_prog_HAS_PYTHON="$HAS_PYTHON" # Let the user override the test. 5219 ac_cv_prog_HAS_PYTHON="$HAS_PYTHON" # Let the user override the test.
5213 else 5220 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH 5222 for as_dir in $PATH
5216 do 5223 do
5217 IFS=$as_save_IFS 5224 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=. 5225 test -z "$as_dir" && as_dir=.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
5292 # AmigaOS /C/install, which installs bootblocks on floppy discs 5299 # AmigaOS /C/install, which installs bootblocks on floppy discs
5293 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 5300 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5294 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 5301 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5295 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 5302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5296 # OS/2's system install, which has a completely different semantic 5303 # OS/2's system install, which has a completely different semantic
5297 # ./install, which can be erroneously created by make from ./install.sh. 5304 # ./install, which can be erroneously created by make from ./install.sh.
5298 # Reject install programs that cannot install multiple files. 5305 # Reject install programs that cannot install multiple files.
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5300 $as_echo_n "checking for a BSD-compatible install... " >&6; } 5307 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5301 if test -z "$INSTALL"; then 5308 if test -z "$INSTALL"; then
5302 if test "${ac_cv_path_install+set}" = set; then : 5309 if ${ac_cv_path_install+:} false; then :
5303 $as_echo_n "(cached) " >&6 5310 $as_echo_n "(cached) " >&6
5304 else 5311 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH 5313 for as_dir in $PATH
5307 do 5314 do
5308 IFS=$as_save_IFS 5315 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=. 5316 test -z "$as_dir" && as_dir=.
5310 # Account for people who put trailing slashes in PATH elements. 5317 # Account for people who put trailing slashes in PATH elements.
5311 case $as_dir/ in #(( 5318 case $as_dir/ in #((
5312 ./ | .// | /[cC]/* | \ 5319 ./ | .// | /[cC]/* | \
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
5434 then 5441 then
5435 case $GCC in 5442 case $GCC in
5436 yes) 5443 yes)
5437 if test "$CC" != 'g++' ; then 5444 if test "$CC" != 'g++' ; then
5438 STRICT_PROTO="-Wstrict-prototypes" 5445 STRICT_PROTO="-Wstrict-prototypes"
5439 fi 5446 fi
5440 # For gcc 4.x we need to use -fwrapv so lets check if its supported 5447 # For gcc 4.x we need to use -fwrapv so lets check if its supported
5441 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then 5448 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
5442 WRAP="-fwrapv" 5449 WRAP="-fwrapv"
5443 fi 5450 fi
5451
5452 # Clang also needs -fwrapv
5453 case $CC in
5454 *clang*) WRAP="-fwrapv"
5455 ;;
5456 esac
5457
5444 case $ac_cv_prog_cc_g in 5458 case $ac_cv_prog_cc_g in
5445 yes) 5459 yes)
5446 if test "$Py_DEBUG" = 'true' ; then 5460 if test "$Py_DEBUG" = 'true' ; then
5447 # Optimization messes up debuggers, so turn it off for 5461 # Optimization messes up debuggers, so turn it off for
5448 # debug builds. 5462 # debug builds.
5449 OPT="-g -O0 -Wall $STRICT_PROTO" 5463 OPT="-g -O0 -Wall $STRICT_PROTO"
5450 else 5464 else
5451 OPT="-g $WRAP -O3 -Wall $STRICT_PROTO" 5465 OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
5452 fi 5466 fi
5453 ;; 5467 ;;
(...skipping 24 matching lines...) Expand all
5478 yes) 5492 yes)
5479 # Python doesn't violate C99 aliasing rules, but older versions of 5493 # Python doesn't violate C99 aliasing rules, but older versions of
5480 # GCC produce warnings for legal Python code. Enable 5494 # GCC produce warnings for legal Python code. Enable
5481 # -fno-strict-aliasing on versions of GCC that support but produce 5495 # -fno-strict-aliasing on versions of GCC that support but produce
5482 # warnings. See Issue3326 5496 # warnings. See Issue3326
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts and ne eds -fno-strict-aliasing" >&5 5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts and ne eds -fno-strict-aliasing" >&5
5484 $as_echo_n "checking whether $CC accepts and needs -fno-strict-aliasing... " >&6 ; } 5498 $as_echo_n "checking whether $CC accepts and needs -fno-strict-aliasing... " >&6 ; }
5485 ac_save_cc="$CC" 5499 ac_save_cc="$CC"
5486 CC="$CC -fno-strict-aliasing" 5500 CC="$CC -fno-strict-aliasing"
5487 save_CFLAGS="$CFLAGS" 5501 save_CFLAGS="$CFLAGS"
5488 if test "${ac_cv_no_strict_aliasing+set}" = set; then : 5502 if ${ac_cv_no_strict_aliasing+:} false; then :
5489 $as_echo_n "(cached) " >&6 5503 $as_echo_n "(cached) " >&6
5490 else 5504 else
5491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */ 5506 /* end confdefs.h. */
5493 5507
5494 5508
5495 int 5509 int
5496 main () 5510 main ()
5497 { 5511 {
5498 5512
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
5537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5538 fi 5552 fi
5539 5553
5540 CFLAGS="$save_CFLAGS" 5554 CFLAGS="$save_CFLAGS"
5541 CC="$ac_save_cc" 5555 CC="$ac_save_cc"
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing" >&5 5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing" >&5
5543 $as_echo "$ac_cv_no_strict_aliasing" >&6; } 5557 $as_echo "$ac_cv_no_strict_aliasing" >&6; }
5544 if test $ac_cv_no_strict_aliasing = yes 5558 if test $ac_cv_no_strict_aliasing = yes
5545 then 5559 then
5546 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing" 5560 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
5561 fi
5562
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unu sed result warning" >&5
5564 $as_echo_n "checking if we can turn off $CC unused result warning... " >&6; }
5565 ac_save_cc="$CC"
5566 CC="$CC -Wunused-result -Werror"
5567 save_CFLAGS="$CFLAGS"
5568 if ${ac_cv_disable_unused_result_warning+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5572 /* end confdefs.h. */
5573
5574
5575 int
5576 main ()
5577 {
5578
5579 ;
5580 return 0;
5581 }
5582
5583 _ACEOF
5584 if ac_fn_c_try_compile "$LINENO"; then :
5585
5586 ac_cv_disable_unused_result_warning=yes
5587
5588 else
5589
5590 ac_cv_disable_unused_result_warning=no
5591
5592 fi
5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5594 fi
5595
5596 CFLAGS="$save_CFLAGS"
5597 CC="$ac_save_cc"
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_resul t_warning" >&5
5599 $as_echo "$ac_cv_disable_unused_result_warning" >&6; }
5600
5601 if test $ac_cv_disable_unused_result_warning = yes
5602 then
5603 BASECFLAGS="$BASECFLAGS -Wno-unused-result"
5547 fi 5604 fi
5548 5605
5549 # if using gcc on alpha, use -mieee to get (near) full IEEE 754 5606 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
5550 # support. Without this, treatment of subnormals doesn't follow 5607 # support. Without this, treatment of subnormals doesn't follow
5551 # the standard. 5608 # the standard.
5552 case $ac_sys_machine in 5609 case $ac_sys_machine in
5553 alpha*) 5610 alpha*)
5554 BASECFLAGS="$BASECFLAGS -mieee" 5611 BASECFLAGS="$BASECFLAGS -mieee"
5555 ;; 5612 ;;
5556 esac 5613 esac
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
5728 CFLAGS=$save_CFLAGS 5785 CFLAGS=$save_CFLAGS
5729 fi 5786 fi
5730 5787
5731 # On some compilers, pthreads are available without further options 5788 # On some compilers, pthreads are available without further options
5732 # (e.g. MacOS X). On some of these systems, the compiler will not 5789 # (e.g. MacOS X). On some of these systems, the compiler will not
5733 # complain if unaccepted options are passed (e.g. gcc on Mac OS X). 5790 # complain if unaccepted options are passed (e.g. gcc on Mac OS X).
5734 # So we have to see first whether pthreads are available without 5791 # So we have to see first whether pthreads are available without
5735 # options before we can check whether -Kpthread improves anything. 5792 # options before we can check whether -Kpthread improves anything.
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >&5 5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >&5
5737 $as_echo_n "checking whether pthreads are available without options... " >&6; } 5794 $as_echo_n "checking whether pthreads are available without options... " >&6; }
5738 if test "${ac_cv_pthread_is_default+set}" = set; then : 5795 if ${ac_cv_pthread_is_default+:} false; then :
5739 $as_echo_n "(cached) " >&6 5796 $as_echo_n "(cached) " >&6
5740 else 5797 else
5741 if test "$cross_compiling" = yes; then : 5798 if test "$cross_compiling" = yes; then :
5742 ac_cv_pthread_is_default=no 5799 ac_cv_pthread_is_default=no
5743 else 5800 else
5744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */ 5802 /* end confdefs.h. */
5746 5803
5747 #include <pthread.h> 5804 #include <pthread.h>
5748 5805
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
5781 then 5838 then
5782 ac_cv_kpthread=no 5839 ac_cv_kpthread=no
5783 else 5840 else
5784 # -Kpthread, if available, provides the right #defines 5841 # -Kpthread, if available, provides the right #defines
5785 # and linker options to make pthread_create available 5842 # and linker options to make pthread_create available
5786 # Some compilers won't report that they do not support -Kpthread, 5843 # Some compilers won't report that they do not support -Kpthread,
5787 # so we need to run a program to see whether it really made the 5844 # so we need to run a program to see whether it really made the
5788 # function available. 5845 # function available.
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5 5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5
5790 $as_echo_n "checking whether $CC accepts -Kpthread... " >&6; } 5847 $as_echo_n "checking whether $CC accepts -Kpthread... " >&6; }
5791 if test "${ac_cv_kpthread+set}" = set; then : 5848 if ${ac_cv_kpthread+:} false; then :
5792 $as_echo_n "(cached) " >&6 5849 $as_echo_n "(cached) " >&6
5793 else 5850 else
5794 ac_save_cc="$CC" 5851 ac_save_cc="$CC"
5795 CC="$CC -Kpthread" 5852 CC="$CC -Kpthread"
5796 if test "$cross_compiling" = yes; then : 5853 if test "$cross_compiling" = yes; then :
5797 ac_cv_kpthread=no 5854 ac_cv_kpthread=no
5798 else 5855 else
5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */ 5857 /* end confdefs.h. */
5801 5858
(...skipping 28 matching lines...) Expand all
5830 5887
5831 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no 5888 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
5832 then 5889 then
5833 # -Kthread, if available, provides the right #defines 5890 # -Kthread, if available, provides the right #defines
5834 # and linker options to make pthread_create available 5891 # and linker options to make pthread_create available
5835 # Some compilers won't report that they do not support -Kthread, 5892 # Some compilers won't report that they do not support -Kthread,
5836 # so we need to run a program to see whether it really made the 5893 # so we need to run a program to see whether it really made the
5837 # function available. 5894 # function available.
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5 5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5
5839 $as_echo_n "checking whether $CC accepts -Kthread... " >&6; } 5896 $as_echo_n "checking whether $CC accepts -Kthread... " >&6; }
5840 if test "${ac_cv_kthread+set}" = set; then : 5897 if ${ac_cv_kthread+:} false; then :
5841 $as_echo_n "(cached) " >&6 5898 $as_echo_n "(cached) " >&6
5842 else 5899 else
5843 ac_save_cc="$CC" 5900 ac_save_cc="$CC"
5844 CC="$CC -Kthread" 5901 CC="$CC -Kthread"
5845 if test "$cross_compiling" = yes; then : 5902 if test "$cross_compiling" = yes; then :
5846 ac_cv_kthread=no 5903 ac_cv_kthread=no
5847 else 5904 else
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */ 5906 /* end confdefs.h. */
5850 5907
(...skipping 28 matching lines...) Expand all
5879 5936
5880 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no 5937 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
5881 then 5938 then
5882 # -pthread, if available, provides the right #defines 5939 # -pthread, if available, provides the right #defines
5883 # and linker options to make pthread_create available 5940 # and linker options to make pthread_create available
5884 # Some compilers won't report that they do not support -pthread, 5941 # Some compilers won't report that they do not support -pthread,
5885 # so we need to run a program to see whether it really made the 5942 # so we need to run a program to see whether it really made the
5886 # function available. 5943 # function available.
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5 5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
5888 $as_echo_n "checking whether $CC accepts -pthread... " >&6; } 5945 $as_echo_n "checking whether $CC accepts -pthread... " >&6; }
5889 if test "${ac_cv_thread+set}" = set; then : 5946 if ${ac_cv_thread+:} false; then :
5890 $as_echo_n "(cached) " >&6 5947 $as_echo_n "(cached) " >&6
5891 else 5948 else
5892 ac_save_cc="$CC" 5949 ac_save_cc="$CC"
5893 CC="$CC -pthread" 5950 CC="$CC -pthread"
5894 if test "$cross_compiling" = yes; then : 5951 if test "$cross_compiling" = yes; then :
5895 ac_cv_pthread=no 5952 ac_cv_pthread=no
5896 else 5953 else
5897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5898 /* end confdefs.h. */ 5955 /* end confdefs.h. */
5899 5956
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
5964 fi 6021 fi
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5 6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
5966 $as_echo "$ac_cv_cxx_thread" >&6; } 6023 $as_echo "$ac_cv_cxx_thread" >&6; }
5967 fi 6024 fi
5968 CXX="$ac_save_cxx" 6025 CXX="$ac_save_cxx"
5969 6026
5970 6027
5971 # checks for header files 6028 # checks for header files
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5973 $as_echo_n "checking for ANSI C header files... " >&6; } 6030 $as_echo_n "checking for ANSI C header files... " >&6; }
5974 if test "${ac_cv_header_stdc+set}" = set; then : 6031 if ${ac_cv_header_stdc+:} false; then :
5975 $as_echo_n "(cached) " >&6 6032 $as_echo_n "(cached) " >&6
5976 else 6033 else
5977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5978 /* end confdefs.h. */ 6035 /* end confdefs.h. */
5979 #include <stdlib.h> 6036 #include <stdlib.h>
5980 #include <stdarg.h> 6037 #include <stdarg.h>
5981 #include <string.h> 6038 #include <string.h>
5982 #include <float.h> 6039 #include <float.h>
5983 6040
5984 int 6041 int
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6077 $as_echo "$ac_cv_header_stdc" >&6; } 6134 $as_echo "$ac_cv_header_stdc" >&6; }
6078 if test $ac_cv_header_stdc = yes; then 6135 if test $ac_cv_header_stdc = yes; then
6079 6136
6080 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 6137 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6081 6138
6082 fi 6139 fi
6083 6140
6084 for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \ 6141 for ac_header in asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \
6085 fcntl.h grp.h \ 6142 fcntl.h grp.h \
6086 ieeefp.h io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \ 6143 ieeefp.h io.h langinfo.h libintl.h ncurses.h process.h pthread.h \
6087 shadow.h signal.h stdint.h stropts.h termios.h thread.h \ 6144 sched.h shadow.h signal.h stdint.h stropts.h termios.h \
6088 unistd.h utime.h \ 6145 unistd.h utime.h \
6089 sys/audioio.h sys/bsdtty.h sys/epoll.h sys/event.h sys/file.h sys/loadavg.h \ 6146 poll.h sys/devpoll.h sys/epoll.h sys/poll.h \
6090 sys/lock.h sys/mkdev.h sys/modem.h \ 6147 sys/audioio.h sys/xattr.h sys/bsdtty.h sys/event.h sys/file.h sys/ioctl.h \
6091 sys/param.h sys/poll.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \ 6148 sys/kern_control.h sys/loadavg.h sys/lock.h sys/mkdev.h sys/modem.h \
6092 sys/stat.h sys/termio.h sys/time.h \ 6149 sys/param.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
6150 sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
6093 sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \ 6151 sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
6094 libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \ 6152 libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
6095 bluetooth/bluetooth.h linux/tipc.h spawn.h util.h 6153 bluetooth/bluetooth.h linux/tipc.h spawn.h util.h
6096 do : 6154 do :
6097 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6098 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default" 6156 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default"
6099 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6157 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6100 cat >>confdefs.h <<_ACEOF 6158 cat >>confdefs.h <<_ACEOF
6101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6102 _ACEOF 6160 _ACEOF
6103 6161
6104 fi 6162 fi
6105 6163
6106 done 6164 done
6107 6165
6108 ac_header_dirent=no 6166 ac_header_dirent=no
6109 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 6167 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6110 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 6168 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6112 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 6170 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6113 if eval "test \"\${$as_ac_Header+set}\"" = set; then : 6171 if eval \${$as_ac_Header+:} false; then :
6114 $as_echo_n "(cached) " >&6 6172 $as_echo_n "(cached) " >&6
6115 else 6173 else
6116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6117 /* end confdefs.h. */ 6175 /* end confdefs.h. */
6118 #include <sys/types.h> 6176 #include <sys/types.h>
6119 #include <$ac_hdr> 6177 #include <$ac_hdr>
6120 6178
6121 int 6179 int
6122 main () 6180 main ()
6123 { 6181 {
(...skipping 19 matching lines...) Expand all
6143 _ACEOF 6201 _ACEOF
6144 6202
6145 ac_header_dirent=$ac_hdr; break 6203 ac_header_dirent=$ac_hdr; break
6146 fi 6204 fi
6147 6205
6148 done 6206 done
6149 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 6207 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6150 if test $ac_header_dirent = dirent.h; then 6208 if test $ac_header_dirent = dirent.h; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opend ir" >&5 6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opend ir" >&5
6152 $as_echo_n "checking for library containing opendir... " >&6; } 6210 $as_echo_n "checking for library containing opendir... " >&6; }
6153 if test "${ac_cv_search_opendir+set}" = set; then : 6211 if ${ac_cv_search_opendir+:} false; then :
6154 $as_echo_n "(cached) " >&6 6212 $as_echo_n "(cached) " >&6
6155 else 6213 else
6156 ac_func_search_save_LIBS=$LIBS 6214 ac_func_search_save_LIBS=$LIBS
6157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */ 6216 /* end confdefs.h. */
6159 6217
6160 /* Override any GCC internal prototype to avoid an error. 6218 /* Override any GCC internal prototype to avoid an error.
6161 Use char because int might match the return type of a GCC 6219 Use char because int might match the return type of a GCC
6162 builtin and then its argument prototype would still apply. */ 6220 builtin and then its argument prototype would still apply. */
6163 #ifdef __cplusplus 6221 #ifdef __cplusplus
(...skipping 13 matching lines...) Expand all
6177 ac_res="none required" 6235 ac_res="none required"
6178 else 6236 else
6179 ac_res=-l$ac_lib 6237 ac_res=-l$ac_lib
6180 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6181 fi 6239 fi
6182 if ac_fn_c_try_link "$LINENO"; then : 6240 if ac_fn_c_try_link "$LINENO"; then :
6183 ac_cv_search_opendir=$ac_res 6241 ac_cv_search_opendir=$ac_res
6184 fi 6242 fi
6185 rm -f core conftest.err conftest.$ac_objext \ 6243 rm -f core conftest.err conftest.$ac_objext \
6186 conftest$ac_exeext 6244 conftest$ac_exeext
6187 if test "${ac_cv_search_opendir+set}" = set; then : 6245 if ${ac_cv_search_opendir+:} false; then :
6188 break 6246 break
6189 fi 6247 fi
6190 done 6248 done
6191 if test "${ac_cv_search_opendir+set}" = set; then : 6249 if ${ac_cv_search_opendir+:} false; then :
6192 6250
6193 else 6251 else
6194 ac_cv_search_opendir=no 6252 ac_cv_search_opendir=no
6195 fi 6253 fi
6196 rm conftest.$ac_ext 6254 rm conftest.$ac_ext
6197 LIBS=$ac_func_search_save_LIBS 6255 LIBS=$ac_func_search_save_LIBS
6198 fi 6256 fi
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6200 $as_echo "$ac_cv_search_opendir" >&6; } 6258 $as_echo "$ac_cv_search_opendir" >&6; }
6201 ac_res=$ac_cv_search_opendir 6259 ac_res=$ac_cv_search_opendir
6202 if test "$ac_res" != no; then : 6260 if test "$ac_res" != no; then :
6203 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6261 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6204 6262
6205 fi 6263 fi
6206 6264
6207 else 6265 else
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opend ir" >&5 6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opend ir" >&5
6209 $as_echo_n "checking for library containing opendir... " >&6; } 6267 $as_echo_n "checking for library containing opendir... " >&6; }
6210 if test "${ac_cv_search_opendir+set}" = set; then : 6268 if ${ac_cv_search_opendir+:} false; then :
6211 $as_echo_n "(cached) " >&6 6269 $as_echo_n "(cached) " >&6
6212 else 6270 else
6213 ac_func_search_save_LIBS=$LIBS 6271 ac_func_search_save_LIBS=$LIBS
6214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6215 /* end confdefs.h. */ 6273 /* end confdefs.h. */
6216 6274
6217 /* Override any GCC internal prototype to avoid an error. 6275 /* Override any GCC internal prototype to avoid an error.
6218 Use char because int might match the return type of a GCC 6276 Use char because int might match the return type of a GCC
6219 builtin and then its argument prototype would still apply. */ 6277 builtin and then its argument prototype would still apply. */
6220 #ifdef __cplusplus 6278 #ifdef __cplusplus
(...skipping 13 matching lines...) Expand all
6234 ac_res="none required" 6292 ac_res="none required"
6235 else 6293 else
6236 ac_res=-l$ac_lib 6294 ac_res=-l$ac_lib
6237 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6295 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6238 fi 6296 fi
6239 if ac_fn_c_try_link "$LINENO"; then : 6297 if ac_fn_c_try_link "$LINENO"; then :
6240 ac_cv_search_opendir=$ac_res 6298 ac_cv_search_opendir=$ac_res
6241 fi 6299 fi
6242 rm -f core conftest.err conftest.$ac_objext \ 6300 rm -f core conftest.err conftest.$ac_objext \
6243 conftest$ac_exeext 6301 conftest$ac_exeext
6244 if test "${ac_cv_search_opendir+set}" = set; then : 6302 if ${ac_cv_search_opendir+:} false; then :
6245 break 6303 break
6246 fi 6304 fi
6247 done 6305 done
6248 if test "${ac_cv_search_opendir+set}" = set; then : 6306 if ${ac_cv_search_opendir+:} false; then :
6249 6307
6250 else 6308 else
6251 ac_cv_search_opendir=no 6309 ac_cv_search_opendir=no
6252 fi 6310 fi
6253 rm conftest.$ac_ext 6311 rm conftest.$ac_ext
6254 LIBS=$ac_func_search_save_LIBS 6312 LIBS=$ac_func_search_save_LIBS
6255 fi 6313 fi
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6257 $as_echo "$ac_cv_search_opendir" >&6; } 6315 $as_echo "$ac_cv_search_opendir" >&6; }
6258 ac_res=$ac_cv_search_opendir 6316 ac_res=$ac_cv_search_opendir
6259 if test "$ac_res" != no; then : 6317 if test "$ac_res" != no; then :
6260 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6318 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6261 6319
6262 fi 6320 fi
6263 6321
6264 fi 6322 fi
6265 6323
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines ma kedev" >&5 6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines ma kedev" >&5
6267 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; } 6325 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6268 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then : 6326 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6269 $as_echo_n "(cached) " >&6 6327 $as_echo_n "(cached) " >&6
6270 else 6328 else
6271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */ 6330 /* end confdefs.h. */
6273 #include <sys/types.h> 6331 #include <sys/types.h>
6274 int 6332 int
6275 main () 6333 main ()
6276 { 6334 {
6277 return makedev(0, 0); 6335 return makedev(0, 0);
6278 ; 6336 ;
6279 return 0; 6337 return 0;
6280 } 6338 }
6281 _ACEOF 6339 _ACEOF
6282 if ac_fn_c_try_link "$LINENO"; then : 6340 if ac_fn_c_try_link "$LINENO"; then :
6283 ac_cv_header_sys_types_h_makedev=yes 6341 ac_cv_header_sys_types_h_makedev=yes
6284 else 6342 else
6285 ac_cv_header_sys_types_h_makedev=no 6343 ac_cv_header_sys_types_h_makedev=no
6286 fi 6344 fi
6287 rm -f core conftest.err conftest.$ac_objext \ 6345 rm -f core conftest.err conftest.$ac_objext \
6288 conftest$ac_exeext conftest.$ac_ext 6346 conftest$ac_exeext conftest.$ac_ext
6289 6347
6290 fi 6348 fi
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_maked ev" >&5 6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_maked ev" >&5
6292 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; } 6350 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6293 6351
6294 if test $ac_cv_header_sys_types_h_makedev = no; then 6352 if test $ac_cv_header_sys_types_h_makedev = no; then
6295 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" 6353 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6296 if test "x$ac_cv_header_sys_mkdev_h" = x""yes; then : 6354 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6297 6355
6298 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h 6356 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6299 6357
6300 fi 6358 fi
6301 6359
6302 6360
6303 6361
6304 if test $ac_cv_header_sys_mkdev_h = no; then 6362 if test $ac_cv_header_sys_mkdev_h = no; then
6305 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_s ysmacros_h" "$ac_includes_default" 6363 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_s ysmacros_h" "$ac_includes_default"
6306 if test "x$ac_cv_header_sys_sysmacros_h" = x""yes; then : 6364 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6307 6365
6308 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h 6366 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6309 6367
6310 fi 6368 fi
6311 6369
6312 6370
6313 fi 6371 fi
6314 fi 6372 fi
6315 6373
6316 6374
6317 # On Darwin (OS X) net/if.h requires sys/socket.h to be imported first. 6375 # On Darwin (OS X) net/if.h requires sys/socket.h to be imported first.
6318 for ac_header in net/if.h 6376 for ac_header in net/if.h
6319 do : 6377 do :
6320 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#in clude <stdio.h> 6378 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#in clude <stdio.h>
6321 #ifdef STDC_HEADERS 6379 #ifdef STDC_HEADERS
6322 # include <stdlib.h> 6380 # include <stdlib.h>
6323 # include <stddef.h> 6381 # include <stddef.h>
6324 #else 6382 #else
6325 # ifdef HAVE_STDLIB_H 6383 # ifdef HAVE_STDLIB_H
6326 # include <stdlib.h> 6384 # include <stdlib.h>
6327 # endif 6385 # endif
6328 #endif 6386 #endif
6329 #ifdef HAVE_SYS_SOCKET_H 6387 #ifdef HAVE_SYS_SOCKET_H
6330 # include <sys/socket.h> 6388 # include <sys/socket.h>
6331 #endif 6389 #endif
6332 6390
6333 " 6391 "
6334 if test "x$ac_cv_header_net_if_h" = x""yes; then : 6392 if test "x$ac_cv_header_net_if_h" = xyes; then :
6335 cat >>confdefs.h <<_ACEOF 6393 cat >>confdefs.h <<_ACEOF
6336 #define HAVE_NET_IF_H 1 6394 #define HAVE_NET_IF_H 1
6337 _ACEOF 6395 _ACEOF
6338 6396
6339 fi 6397 fi
6340 6398
6341 done 6399 done
6342 6400
6343 6401
6344 6402
6345 # On Solaris, term.h requires curses.h 6403 # On Solaris, term.h requires curses.h
6346 for ac_header in term.h 6404 for ac_header in term.h
6347 do : 6405 do :
6348 ac_fn_c_check_header_compile "$LINENO" "term.h" "ac_cv_header_term_h" " 6406 ac_fn_c_check_header_compile "$LINENO" "term.h" "ac_cv_header_term_h" "
6349 #ifdef HAVE_CURSES_H 6407 #ifdef HAVE_CURSES_H
6350 #include <curses.h> 6408 #include <curses.h>
6351 #endif 6409 #endif
6352 6410
6353 " 6411 "
6354 if test "x$ac_cv_header_term_h" = x""yes; then : 6412 if test "x$ac_cv_header_term_h" = xyes; then :
6355 cat >>confdefs.h <<_ACEOF 6413 cat >>confdefs.h <<_ACEOF
6356 #define HAVE_TERM_H 1 6414 #define HAVE_TERM_H 1
6357 _ACEOF 6415 _ACEOF
6358 6416
6359 fi 6417 fi
6360 6418
6361 done 6419 done
6362 6420
6363 6421
6364 # On Linux, netlink.h requires asm/types.h 6422 # On Linux, netlink.h requires asm/types.h
6365 for ac_header in linux/netlink.h 6423 for ac_header in linux/netlink.h
6366 do : 6424 do :
6367 ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_n etlink_h" " 6425 ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_n etlink_h" "
6368 #ifdef HAVE_ASM_TYPES_H 6426 #ifdef HAVE_ASM_TYPES_H
6369 #include <asm/types.h> 6427 #include <asm/types.h>
6370 #endif 6428 #endif
6371 #ifdef HAVE_SYS_SOCKET_H 6429 #ifdef HAVE_SYS_SOCKET_H
6372 #include <sys/socket.h> 6430 #include <sys/socket.h>
6373 #endif 6431 #endif
6374 6432
6375 " 6433 "
6376 if test "x$ac_cv_header_linux_netlink_h" = x""yes; then : 6434 if test "x$ac_cv_header_linux_netlink_h" = xyes; then :
6377 cat >>confdefs.h <<_ACEOF 6435 cat >>confdefs.h <<_ACEOF
6378 #define HAVE_LINUX_NETLINK_H 1 6436 #define HAVE_LINUX_NETLINK_H 1
6437 _ACEOF
6438
6439 fi
6440
6441 done
6442
6443
6444 # On Linux, can.h and can/raw.h require sys/socket.h
6445 for ac_header in linux/can.h linux/can/raw.h
6446 do :
6447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6448 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
6449 #ifdef HAVE_SYS_SOCKET_H
6450 #include <sys/socket.h>
6451 #endif
6452
6453 "
6454 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6455 cat >>confdefs.h <<_ACEOF
6456 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6379 _ACEOF 6457 _ACEOF
6380 6458
6381 fi 6459 fi
6382 6460
6383 done 6461 done
6384 6462
6385 6463
6386 # checks for typedefs 6464 # checks for typedefs
6387 was_it_defined=no 6465 was_it_defined=no
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5 6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
6502 6580
6503 # Add some code to confdefs.h so that the test for off_t works on SCO 6581 # Add some code to confdefs.h so that the test for off_t works on SCO
6504 cat >> confdefs.h <<\EOF 6582 cat >> confdefs.h <<\EOF
6505 #if defined(SCO_DS) 6583 #if defined(SCO_DS)
6506 #undef _OFF_T 6584 #undef _OFF_T
6507 #endif 6585 #endif
6508 EOF 6586 EOF
6509 6587
6510 # Type availability checks 6588 # Type availability checks
6511 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 6589 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
6512 if test "x$ac_cv_type_mode_t" = x""yes; then : 6590 if test "x$ac_cv_type_mode_t" = xyes; then :
6513 6591
6514 else 6592 else
6515 6593
6516 cat >>confdefs.h <<_ACEOF 6594 cat >>confdefs.h <<_ACEOF
6517 #define mode_t int 6595 #define mode_t int
6518 _ACEOF 6596 _ACEOF
6519 6597
6520 fi 6598 fi
6521 6599
6522 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 6600 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6523 if test "x$ac_cv_type_off_t" = x""yes; then : 6601 if test "x$ac_cv_type_off_t" = xyes; then :
6524 6602
6525 else 6603 else
6526 6604
6527 cat >>confdefs.h <<_ACEOF 6605 cat >>confdefs.h <<_ACEOF
6528 #define off_t long int 6606 #define off_t long int
6529 _ACEOF 6607 _ACEOF
6530 6608
6531 fi 6609 fi
6532 6610
6533 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 6611 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6534 if test "x$ac_cv_type_pid_t" = x""yes; then : 6612 if test "x$ac_cv_type_pid_t" = xyes; then :
6535 6613
6536 else 6614 else
6537 6615
6538 cat >>confdefs.h <<_ACEOF 6616 cat >>confdefs.h <<_ACEOF
6539 #define pid_t int 6617 #define pid_t int
6540 _ACEOF 6618 _ACEOF
6541 6619
6542 fi 6620 fi
6543 6621
6544 6622
6545 cat >>confdefs.h <<_ACEOF 6623 cat >>confdefs.h <<_ACEOF
6546 #define RETSIGTYPE void 6624 #define RETSIGTYPE void
6547 _ACEOF 6625 _ACEOF
6548 6626
6549 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 6627 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6550 if test "x$ac_cv_type_size_t" = x""yes; then : 6628 if test "x$ac_cv_type_size_t" = xyes; then :
6551 6629
6552 else 6630 else
6553 6631
6554 cat >>confdefs.h <<_ACEOF 6632 cat >>confdefs.h <<_ACEOF
6555 #define size_t unsigned int 6633 #define size_t unsigned int
6556 _ACEOF 6634 _ACEOF
6557 6635
6558 fi 6636 fi
6559 6637
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6561 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } 6639 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6562 if test "${ac_cv_type_uid_t+set}" = set; then : 6640 if ${ac_cv_type_uid_t+:} false; then :
6563 $as_echo_n "(cached) " >&6 6641 $as_echo_n "(cached) " >&6
6564 else 6642 else
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */ 6644 /* end confdefs.h. */
6567 #include <sys/types.h> 6645 #include <sys/types.h>
6568 6646
6569 _ACEOF 6647 _ACEOF
6570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6571 $EGREP "uid_t" >/dev/null 2>&1; then : 6649 $EGREP "uid_t" >/dev/null 2>&1; then :
6572 ac_cv_type_uid_t=yes 6650 ac_cv_type_uid_t=yes
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
6631 no|yes) ;; #( 6709 no|yes) ;; #(
6632 *) 6710 *)
6633 6711
6634 cat >>confdefs.h <<_ACEOF 6712 cat >>confdefs.h <<_ACEOF
6635 #define int64_t $ac_cv_c_int64_t 6713 #define int64_t $ac_cv_c_int64_t
6636 _ACEOF 6714 _ACEOF
6637 ;; 6715 ;;
6638 esac 6716 esac
6639 6717
6640 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_defaul t" 6718 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_defaul t"
6641 if test "x$ac_cv_type_ssize_t" = x""yes; then : 6719 if test "x$ac_cv_type_ssize_t" = xyes; then :
6642 6720
6643 $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h 6721 $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h
6644 6722
6645 fi 6723 fi
6646 6724
6647 ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_include s_default" 6725 ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_include s_default"
6648 if test "x$ac_cv_type___uint128_t" = x""yes; then : 6726 if test "x$ac_cv_type___uint128_t" = xyes; then :
6649 6727
6650 $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h 6728 $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h
6651 6729
6652 fi 6730 fi
6653 6731
6654 6732
6655 # Sizes of various common basic types 6733 # Sizes of various common basic types
6656 # ANSI C requires sizeof(char) == 1, so no need to check it 6734 # ANSI C requires sizeof(char) == 1, so no need to check it
6657 # The cast to long int works around a bug in the HP C Compiler 6735 # The cast to long int works around a bug in the HP C Compiler
6658 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6736 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6659 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6737 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6660 # This bug is HP SR number 8606223364. 6738 # This bug is HP SR number 8606223364.
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
6662 $as_echo_n "checking size of int... " >&6; } 6740 $as_echo_n "checking size of int... " >&6; }
6663 if test "${ac_cv_sizeof_int+set}" = set; then : 6741 if ${ac_cv_sizeof_int+:} false; then :
6664 $as_echo_n "(cached) " >&6 6742 $as_echo_n "(cached) " >&6
6665 else 6743 else
6666 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int " "$ac_includes_default"; then : 6744 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int " "$ac_includes_default"; then :
6667 6745
6668 else 6746 else
6669 if test "$ac_cv_type_int" = yes; then 6747 if test "$ac_cv_type_int" = yes; then
6670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6672 as_fn_error 77 "cannot compute sizeof (int) 6750 as_fn_error 77 "cannot compute sizeof (int)
6673 See \`config.log' for more details" "$LINENO" 5 ; } 6751 See \`config.log' for more details" "$LINENO" 5; }
6674 else 6752 else
6675 ac_cv_sizeof_int=0 6753 ac_cv_sizeof_int=0
6676 fi 6754 fi
6677 fi 6755 fi
6678 6756
6679 fi 6757 fi
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
6681 $as_echo "$ac_cv_sizeof_int" >&6; } 6759 $as_echo "$ac_cv_sizeof_int" >&6; }
6682 6760
6683 6761
6684 6762
6685 cat >>confdefs.h <<_ACEOF 6763 cat >>confdefs.h <<_ACEOF
6686 #define SIZEOF_INT $ac_cv_sizeof_int 6764 #define SIZEOF_INT $ac_cv_sizeof_int
6687 _ACEOF 6765 _ACEOF
6688 6766
6689 6767
6690 # The cast to long int works around a bug in the HP C Compiler 6768 # The cast to long int works around a bug in the HP C Compiler
6691 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6692 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6693 # This bug is HP SR number 8606223364. 6771 # This bug is HP SR number 8606223364.
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6695 $as_echo_n "checking size of long... " >&6; } 6773 $as_echo_n "checking size of long... " >&6; }
6696 if test "${ac_cv_sizeof_long+set}" = set; then : 6774 if ${ac_cv_sizeof_long+:} false; then :
6697 $as_echo_n "(cached) " >&6 6775 $as_echo_n "(cached) " >&6
6698 else 6776 else
6699 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_lo ng" "$ac_includes_default"; then : 6777 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_lo ng" "$ac_includes_default"; then :
6700 6778
6701 else 6779 else
6702 if test "$ac_cv_type_long" = yes; then 6780 if test "$ac_cv_type_long" = yes; then
6703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6705 as_fn_error 77 "cannot compute sizeof (long) 6783 as_fn_error 77 "cannot compute sizeof (long)
6706 See \`config.log' for more details" "$LINENO" 5 ; } 6784 See \`config.log' for more details" "$LINENO" 5; }
6707 else 6785 else
6708 ac_cv_sizeof_long=0 6786 ac_cv_sizeof_long=0
6709 fi 6787 fi
6710 fi 6788 fi
6711 6789
6712 fi 6790 fi
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
6714 $as_echo "$ac_cv_sizeof_long" >&6; } 6792 $as_echo "$ac_cv_sizeof_long" >&6; }
6715 6793
6716 6794
6717 6795
6718 cat >>confdefs.h <<_ACEOF 6796 cat >>confdefs.h <<_ACEOF
6719 #define SIZEOF_LONG $ac_cv_sizeof_long 6797 #define SIZEOF_LONG $ac_cv_sizeof_long
6720 _ACEOF 6798 _ACEOF
6721 6799
6722 6800
6723 # The cast to long int works around a bug in the HP C Compiler 6801 # The cast to long int works around a bug in the HP C Compiler
6724 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6802 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6725 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6803 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6726 # This bug is HP SR number 8606223364. 6804 # This bug is HP SR number 8606223364.
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
6728 $as_echo_n "checking size of void *... " >&6; } 6806 $as_echo_n "checking size of void *... " >&6; }
6729 if test "${ac_cv_sizeof_void_p+set}" = set; then : 6807 if ${ac_cv_sizeof_void_p+:} false; then :
6730 $as_echo_n "(cached) " >&6 6808 $as_echo_n "(cached) " >&6
6731 else 6809 else
6732 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_ void_p" "$ac_includes_default"; then : 6810 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_ void_p" "$ac_includes_default"; then :
6733 6811
6734 else 6812 else
6735 if test "$ac_cv_type_void_p" = yes; then 6813 if test "$ac_cv_type_void_p" = yes; then
6736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6738 as_fn_error 77 "cannot compute sizeof (void *) 6816 as_fn_error 77 "cannot compute sizeof (void *)
6739 See \`config.log' for more details" "$LINENO" 5 ; } 6817 See \`config.log' for more details" "$LINENO" 5; }
6740 else 6818 else
6741 ac_cv_sizeof_void_p=0 6819 ac_cv_sizeof_void_p=0
6742 fi 6820 fi
6743 fi 6821 fi
6744 6822
6745 fi 6823 fi
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
6747 $as_echo "$ac_cv_sizeof_void_p" >&6; } 6825 $as_echo "$ac_cv_sizeof_void_p" >&6; }
6748 6826
6749 6827
6750 6828
6751 cat >>confdefs.h <<_ACEOF 6829 cat >>confdefs.h <<_ACEOF
6752 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p 6830 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6753 _ACEOF 6831 _ACEOF
6754 6832
6755 6833
6756 # The cast to long int works around a bug in the HP C Compiler 6834 # The cast to long int works around a bug in the HP C Compiler
6757 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6758 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6759 # This bug is HP SR number 8606223364. 6837 # This bug is HP SR number 8606223364.
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
6761 $as_echo_n "checking size of short... " >&6; } 6839 $as_echo_n "checking size of short... " >&6; }
6762 if test "${ac_cv_sizeof_short+set}" = set; then : 6840 if ${ac_cv_sizeof_short+:} false; then :
6763 $as_echo_n "(cached) " >&6 6841 $as_echo_n "(cached) " >&6
6764 else 6842 else
6765 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_s hort" "$ac_includes_default"; then : 6843 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_s hort" "$ac_includes_default"; then :
6766 6844
6767 else 6845 else
6768 if test "$ac_cv_type_short" = yes; then 6846 if test "$ac_cv_type_short" = yes; then
6769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6771 as_fn_error 77 "cannot compute sizeof (short) 6849 as_fn_error 77 "cannot compute sizeof (short)
6772 See \`config.log' for more details" "$LINENO" 5 ; } 6850 See \`config.log' for more details" "$LINENO" 5; }
6773 else 6851 else
6774 ac_cv_sizeof_short=0 6852 ac_cv_sizeof_short=0
6775 fi 6853 fi
6776 fi 6854 fi
6777 6855
6778 fi 6856 fi
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
6780 $as_echo "$ac_cv_sizeof_short" >&6; } 6858 $as_echo "$ac_cv_sizeof_short" >&6; }
6781 6859
6782 6860
6783 6861
6784 cat >>confdefs.h <<_ACEOF 6862 cat >>confdefs.h <<_ACEOF
6785 #define SIZEOF_SHORT $ac_cv_sizeof_short 6863 #define SIZEOF_SHORT $ac_cv_sizeof_short
6786 _ACEOF 6864 _ACEOF
6787 6865
6788 6866
6789 # The cast to long int works around a bug in the HP C Compiler 6867 # The cast to long int works around a bug in the HP C Compiler
6790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6868 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6869 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6792 # This bug is HP SR number 8606223364. 6870 # This bug is HP SR number 8606223364.
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
6794 $as_echo_n "checking size of float... " >&6; } 6872 $as_echo_n "checking size of float... " >&6; }
6795 if test "${ac_cv_sizeof_float+set}" = set; then : 6873 if ${ac_cv_sizeof_float+:} false; then :
6796 $as_echo_n "(cached) " >&6 6874 $as_echo_n "(cached) " >&6
6797 else 6875 else
6798 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_f loat" "$ac_includes_default"; then : 6876 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_f loat" "$ac_includes_default"; then :
6799 6877
6800 else 6878 else
6801 if test "$ac_cv_type_float" = yes; then 6879 if test "$ac_cv_type_float" = yes; then
6802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6804 as_fn_error 77 "cannot compute sizeof (float) 6882 as_fn_error 77 "cannot compute sizeof (float)
6805 See \`config.log' for more details" "$LINENO" 5 ; } 6883 See \`config.log' for more details" "$LINENO" 5; }
6806 else 6884 else
6807 ac_cv_sizeof_float=0 6885 ac_cv_sizeof_float=0
6808 fi 6886 fi
6809 fi 6887 fi
6810 6888
6811 fi 6889 fi
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
6813 $as_echo "$ac_cv_sizeof_float" >&6; } 6891 $as_echo "$ac_cv_sizeof_float" >&6; }
6814 6892
6815 6893
6816 6894
6817 cat >>confdefs.h <<_ACEOF 6895 cat >>confdefs.h <<_ACEOF
6818 #define SIZEOF_FLOAT $ac_cv_sizeof_float 6896 #define SIZEOF_FLOAT $ac_cv_sizeof_float
6819 _ACEOF 6897 _ACEOF
6820 6898
6821 6899
6822 # The cast to long int works around a bug in the HP C Compiler 6900 # The cast to long int works around a bug in the HP C Compiler
6823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6825 # This bug is HP SR number 8606223364. 6903 # This bug is HP SR number 8606223364.
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
6827 $as_echo_n "checking size of double... " >&6; } 6905 $as_echo_n "checking size of double... " >&6; }
6828 if test "${ac_cv_sizeof_double+set}" = set; then : 6906 if ${ac_cv_sizeof_double+:} false; then :
6829 $as_echo_n "(cached) " >&6 6907 $as_echo_n "(cached) " >&6
6830 else 6908 else
6831 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_ double" "$ac_includes_default"; then : 6909 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_ double" "$ac_includes_default"; then :
6832 6910
6833 else 6911 else
6834 if test "$ac_cv_type_double" = yes; then 6912 if test "$ac_cv_type_double" = yes; then
6835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6837 as_fn_error 77 "cannot compute sizeof (double) 6915 as_fn_error 77 "cannot compute sizeof (double)
6838 See \`config.log' for more details" "$LINENO" 5 ; } 6916 See \`config.log' for more details" "$LINENO" 5; }
6839 else 6917 else
6840 ac_cv_sizeof_double=0 6918 ac_cv_sizeof_double=0
6841 fi 6919 fi
6842 fi 6920 fi
6843 6921
6844 fi 6922 fi
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
6846 $as_echo "$ac_cv_sizeof_double" >&6; } 6924 $as_echo "$ac_cv_sizeof_double" >&6; }
6847 6925
6848 6926
6849 6927
6850 cat >>confdefs.h <<_ACEOF 6928 cat >>confdefs.h <<_ACEOF
6851 #define SIZEOF_DOUBLE $ac_cv_sizeof_double 6929 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
6852 _ACEOF 6930 _ACEOF
6853 6931
6854 6932
6855 # The cast to long int works around a bug in the HP C Compiler 6933 # The cast to long int works around a bug in the HP C Compiler
6856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6934 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6935 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6858 # This bug is HP SR number 8606223364. 6936 # This bug is HP SR number 8606223364.
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5 6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
6860 $as_echo_n "checking size of fpos_t... " >&6; } 6938 $as_echo_n "checking size of fpos_t... " >&6; }
6861 if test "${ac_cv_sizeof_fpos_t+set}" = set; then : 6939 if ${ac_cv_sizeof_fpos_t+:} false; then :
6862 $as_echo_n "(cached) " >&6 6940 $as_echo_n "(cached) " >&6
6863 else 6941 else
6864 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_ fpos_t" "$ac_includes_default"; then : 6942 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_ fpos_t" "$ac_includes_default"; then :
6865 6943
6866 else 6944 else
6867 if test "$ac_cv_type_fpos_t" = yes; then 6945 if test "$ac_cv_type_fpos_t" = yes; then
6868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6870 as_fn_error 77 "cannot compute sizeof (fpos_t) 6948 as_fn_error 77 "cannot compute sizeof (fpos_t)
6871 See \`config.log' for more details" "$LINENO" 5 ; } 6949 See \`config.log' for more details" "$LINENO" 5; }
6872 else 6950 else
6873 ac_cv_sizeof_fpos_t=0 6951 ac_cv_sizeof_fpos_t=0
6874 fi 6952 fi
6875 fi 6953 fi
6876 6954
6877 fi 6955 fi
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5 6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
6879 $as_echo "$ac_cv_sizeof_fpos_t" >&6; } 6957 $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
6880 6958
6881 6959
6882 6960
6883 cat >>confdefs.h <<_ACEOF 6961 cat >>confdefs.h <<_ACEOF
6884 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t 6962 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
6885 _ACEOF 6963 _ACEOF
6886 6964
6887 6965
6888 # The cast to long int works around a bug in the HP C Compiler 6966 # The cast to long int works around a bug in the HP C Compiler
6889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 6967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 6968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6891 # This bug is HP SR number 8606223364. 6969 # This bug is HP SR number 8606223364.
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
6893 $as_echo_n "checking size of size_t... " >&6; } 6971 $as_echo_n "checking size of size_t... " >&6; }
6894 if test "${ac_cv_sizeof_size_t+set}" = set; then : 6972 if ${ac_cv_sizeof_size_t+:} false; then :
6895 $as_echo_n "(cached) " >&6 6973 $as_echo_n "(cached) " >&6
6896 else 6974 else
6897 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_ size_t" "$ac_includes_default"; then : 6975 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_ size_t" "$ac_includes_default"; then :
6898 6976
6899 else 6977 else
6900 if test "$ac_cv_type_size_t" = yes; then 6978 if test "$ac_cv_type_size_t" = yes; then
6901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6903 as_fn_error 77 "cannot compute sizeof (size_t) 6981 as_fn_error 77 "cannot compute sizeof (size_t)
6904 See \`config.log' for more details" "$LINENO" 5 ; } 6982 See \`config.log' for more details" "$LINENO" 5; }
6905 else 6983 else
6906 ac_cv_sizeof_size_t=0 6984 ac_cv_sizeof_size_t=0
6907 fi 6985 fi
6908 fi 6986 fi
6909 6987
6910 fi 6988 fi
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
6912 $as_echo "$ac_cv_sizeof_size_t" >&6; } 6990 $as_echo "$ac_cv_sizeof_size_t" >&6; }
6913 6991
6914 6992
6915 6993
6916 cat >>confdefs.h <<_ACEOF 6994 cat >>confdefs.h <<_ACEOF
6917 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 6995 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
6918 _ACEOF 6996 _ACEOF
6919 6997
6920 6998
6921 # The cast to long int works around a bug in the HP C Compiler 6999 # The cast to long int works around a bug in the HP C Compiler
6922 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7000 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6923 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7001 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6924 # This bug is HP SR number 8606223364. 7002 # This bug is HP SR number 8606223364.
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5 7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5
6926 $as_echo_n "checking size of pid_t... " >&6; } 7004 $as_echo_n "checking size of pid_t... " >&6; }
6927 if test "${ac_cv_sizeof_pid_t+set}" = set; then : 7005 if ${ac_cv_sizeof_pid_t+:} false; then :
6928 $as_echo_n "(cached) " >&6 7006 $as_echo_n "(cached) " >&6
6929 else 7007 else
6930 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pid_t))" "ac_cv_sizeof_p id_t" "$ac_includes_default"; then : 7008 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pid_t))" "ac_cv_sizeof_p id_t" "$ac_includes_default"; then :
6931 7009
6932 else 7010 else
6933 if test "$ac_cv_type_pid_t" = yes; then 7011 if test "$ac_cv_type_pid_t" = yes; then
6934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6936 as_fn_error 77 "cannot compute sizeof (pid_t) 7014 as_fn_error 77 "cannot compute sizeof (pid_t)
6937 See \`config.log' for more details" "$LINENO" 5 ; } 7015 See \`config.log' for more details" "$LINENO" 5; }
6938 else 7016 else
6939 ac_cv_sizeof_pid_t=0 7017 ac_cv_sizeof_pid_t=0
6940 fi 7018 fi
6941 fi 7019 fi
6942 7020
6943 fi 7021 fi
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5 7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5
6945 $as_echo "$ac_cv_sizeof_pid_t" >&6; } 7023 $as_echo "$ac_cv_sizeof_pid_t" >&6; }
6946 7024
6947 7025
(...skipping 29 matching lines...) Expand all
6977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_long_long" >&5 7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_long_long" >&5
6979 $as_echo "$have_long_long" >&6; } 7057 $as_echo "$have_long_long" >&6; }
6980 if test "$have_long_long" = yes ; then 7058 if test "$have_long_long" = yes ; then
6981 # The cast to long int works around a bug in the HP C Compiler 7059 # The cast to long int works around a bug in the HP C Compiler
6982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6984 # This bug is HP SR number 8606223364. 7062 # This bug is HP SR number 8606223364.
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
6986 $as_echo_n "checking size of long long... " >&6; } 7064 $as_echo_n "checking size of long long... " >&6; }
6987 if test "${ac_cv_sizeof_long_long+set}" = set; then : 7065 if ${ac_cv_sizeof_long_long+:} false; then :
6988 $as_echo_n "(cached) " >&6 7066 $as_echo_n "(cached) " >&6
6989 else 7067 else
6990 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_size of_long_long" "$ac_includes_default"; then : 7068 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_size of_long_long" "$ac_includes_default"; then :
6991 7069
6992 else 7070 else
6993 if test "$ac_cv_type_long_long" = yes; then 7071 if test "$ac_cv_type_long_long" = yes; then
6994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6996 as_fn_error 77 "cannot compute sizeof (long long) 7074 as_fn_error 77 "cannot compute sizeof (long long)
6997 See \`config.log' for more details" "$LINENO" 5 ; } 7075 See \`config.log' for more details" "$LINENO" 5; }
6998 else 7076 else
6999 ac_cv_sizeof_long_long=0 7077 ac_cv_sizeof_long_long=0
7000 fi 7078 fi
7001 fi 7079 fi
7002 7080
7003 fi 7081 fi
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
7005 $as_echo "$ac_cv_sizeof_long_long" >&6; } 7083 $as_echo "$ac_cv_sizeof_long_long" >&6; }
7006 7084
7007 7085
(...skipping 30 matching lines...) Expand all
7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_long_double" >&5 7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_long_double" >&5
7040 $as_echo "$have_long_double" >&6; } 7118 $as_echo "$have_long_double" >&6; }
7041 if test "$have_long_double" = yes ; then 7119 if test "$have_long_double" = yes ; then
7042 # The cast to long int works around a bug in the HP C Compiler 7120 # The cast to long int works around a bug in the HP C Compiler
7043 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7121 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7044 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7122 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7045 # This bug is HP SR number 8606223364. 7123 # This bug is HP SR number 8606223364.
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5 7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
7047 $as_echo_n "checking size of long double... " >&6; } 7125 $as_echo_n "checking size of long double... " >&6; }
7048 if test "${ac_cv_sizeof_long_double+set}" = set; then : 7126 if ${ac_cv_sizeof_long_double+:} false; then :
7049 $as_echo_n "(cached) " >&6 7127 $as_echo_n "(cached) " >&6
7050 else 7128 else
7051 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_si zeof_long_double" "$ac_includes_default"; then : 7129 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_si zeof_long_double" "$ac_includes_default"; then :
7052 7130
7053 else 7131 else
7054 if test "$ac_cv_type_long_double" = yes; then 7132 if test "$ac_cv_type_long_double" = yes; then
7055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7057 as_fn_error 77 "cannot compute sizeof (long double) 7135 as_fn_error 77 "cannot compute sizeof (long double)
7058 See \`config.log' for more details" "$LINENO" 5 ; } 7136 See \`config.log' for more details" "$LINENO" 5; }
7059 else 7137 else
7060 ac_cv_sizeof_long_double=0 7138 ac_cv_sizeof_long_double=0
7061 fi 7139 fi
7062 fi 7140 fi
7063 7141
7064 fi 7142 fi
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5 7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
7066 $as_echo "$ac_cv_sizeof_long_double" >&6; } 7144 $as_echo "$ac_cv_sizeof_long_double" >&6; }
7067 7145
7068 7146
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
7100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_c99_bool" >&5 7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_c99_bool" >&5
7102 $as_echo "$have_c99_bool" >&6; } 7180 $as_echo "$have_c99_bool" >&6; }
7103 if test "$have_c99_bool" = yes ; then 7181 if test "$have_c99_bool" = yes ; then
7104 # The cast to long int works around a bug in the HP C Compiler 7182 # The cast to long int works around a bug in the HP C Compiler
7105 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7183 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7106 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7184 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7107 # This bug is HP SR number 8606223364. 7185 # This bug is HP SR number 8606223364.
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5 7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5
7109 $as_echo_n "checking size of _Bool... " >&6; } 7187 $as_echo_n "checking size of _Bool... " >&6; }
7110 if test "${ac_cv_sizeof__Bool+set}" = set; then : 7188 if ${ac_cv_sizeof__Bool+:} false; then :
7111 $as_echo_n "(cached) " >&6 7189 $as_echo_n "(cached) " >&6
7112 else 7190 else
7113 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (_Bool))" "ac_cv_sizeof__ Bool" "$ac_includes_default"; then : 7191 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (_Bool))" "ac_cv_sizeof__ Bool" "$ac_includes_default"; then :
7114 7192
7115 else 7193 else
7116 if test "$ac_cv_type__Bool" = yes; then 7194 if test "$ac_cv_type__Bool" = yes; then
7117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7119 as_fn_error 77 "cannot compute sizeof (_Bool) 7197 as_fn_error 77 "cannot compute sizeof (_Bool)
7120 See \`config.log' for more details" "$LINENO" 5 ; } 7198 See \`config.log' for more details" "$LINENO" 5; }
7121 else 7199 else
7122 ac_cv_sizeof__Bool=0 7200 ac_cv_sizeof__Bool=0
7123 fi 7201 fi
7124 fi 7202 fi
7125 7203
7126 fi 7204 fi
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5 7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5
7128 $as_echo "$ac_cv_sizeof__Bool" >&6; } 7206 $as_echo "$ac_cv_sizeof__Bool" >&6; }
7129 7207
7130 7208
7131 7209
7132 cat >>confdefs.h <<_ACEOF 7210 cat >>confdefs.h <<_ACEOF
7133 #define SIZEOF__BOOL $ac_cv_sizeof__Bool 7211 #define SIZEOF__BOOL $ac_cv_sizeof__Bool
7134 _ACEOF 7212 _ACEOF
7135 7213
7136 7214
7137 fi 7215 fi
7138 7216
7139 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#ifdef HAVE_STD INT_H 7217 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#ifdef HAVE_STD INT_H
7140 #include <stdint.h> 7218 #include <stdint.h>
7141 #endif 7219 #endif
7142 #ifdef HAVE_INTTYPES_H 7220 #ifdef HAVE_INTTYPES_H
7143 #include <inttypes.h> 7221 #include <inttypes.h>
7144 #endif 7222 #endif
7145 " 7223 "
7146 if test "x$ac_cv_type_uintptr_t" = x""yes; then : 7224 if test "x$ac_cv_type_uintptr_t" = xyes; then :
7147 7225
7148 cat >>confdefs.h <<_ACEOF 7226 cat >>confdefs.h <<_ACEOF
7149 #define HAVE_UINTPTR_T 1 7227 #define HAVE_UINTPTR_T 1
7150 _ACEOF 7228 _ACEOF
7151 7229
7152 # The cast to long int works around a bug in the HP C Compiler 7230 # The cast to long int works around a bug in the HP C Compiler
7153 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7155 # This bug is HP SR number 8606223364. 7233 # This bug is HP SR number 8606223364.
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5 7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
7157 $as_echo_n "checking size of uintptr_t... " >&6; } 7235 $as_echo_n "checking size of uintptr_t... " >&6; }
7158 if test "${ac_cv_sizeof_uintptr_t+set}" = set; then : 7236 if ${ac_cv_sizeof_uintptr_t+:} false; then :
7159 $as_echo_n "(cached) " >&6 7237 $as_echo_n "(cached) " >&6
7160 else 7238 else
7161 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_size of_uintptr_t" "$ac_includes_default"; then : 7239 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_size of_uintptr_t" "$ac_includes_default"; then :
7162 7240
7163 else 7241 else
7164 if test "$ac_cv_type_uintptr_t" = yes; then 7242 if test "$ac_cv_type_uintptr_t" = yes; then
7165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7167 as_fn_error 77 "cannot compute sizeof (uintptr_t) 7245 as_fn_error 77 "cannot compute sizeof (uintptr_t)
7168 See \`config.log' for more details" "$LINENO" 5 ; } 7246 See \`config.log' for more details" "$LINENO" 5; }
7169 else 7247 else
7170 ac_cv_sizeof_uintptr_t=0 7248 ac_cv_sizeof_uintptr_t=0
7171 fi 7249 fi
7172 fi 7250 fi
7173 7251
7174 fi 7252 fi
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
7176 $as_echo "$ac_cv_sizeof_uintptr_t" >&6; } 7254 $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
7177 7255
7178 7256
7179 7257
7180 cat >>confdefs.h <<_ACEOF 7258 cat >>confdefs.h <<_ACEOF
7181 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t 7259 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
7182 _ACEOF 7260 _ACEOF
7183 7261
7184 7262
7185 fi 7263 fi
7186 7264
7187 7265
7188 # The cast to long int works around a bug in the HP C Compiler 7266 # The cast to long int works around a bug in the HP C Compiler
7189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7267 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7268 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7191 # This bug is HP SR number 8606223364. 7269 # This bug is HP SR number 8606223364.
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
7193 $as_echo_n "checking size of off_t... " >&6; } 7271 $as_echo_n "checking size of off_t... " >&6; }
7194 if test "${ac_cv_sizeof_off_t+set}" = set; then : 7272 if ${ac_cv_sizeof_off_t+:} false; then :
7195 $as_echo_n "(cached) " >&6 7273 $as_echo_n "(cached) " >&6
7196 else 7274 else
7197 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_o ff_t" " 7275 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_o ff_t" "
7198 #ifdef HAVE_SYS_TYPES_H 7276 #ifdef HAVE_SYS_TYPES_H
7199 #include <sys/types.h> 7277 #include <sys/types.h>
7200 #endif 7278 #endif
7201 7279
7202 "; then : 7280 "; then :
7203 7281
7204 else 7282 else
7205 if test "$ac_cv_type_off_t" = yes; then 7283 if test "$ac_cv_type_off_t" = yes; then
7206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7208 as_fn_error 77 "cannot compute sizeof (off_t) 7286 as_fn_error 77 "cannot compute sizeof (off_t)
7209 See \`config.log' for more details" "$LINENO" 5 ; } 7287 See \`config.log' for more details" "$LINENO" 5; }
7210 else 7288 else
7211 ac_cv_sizeof_off_t=0 7289 ac_cv_sizeof_off_t=0
7212 fi 7290 fi
7213 fi 7291 fi
7214 7292
7215 fi 7293 fi
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
7217 $as_echo "$ac_cv_sizeof_off_t" >&6; } 7295 $as_echo "$ac_cv_sizeof_off_t" >&6; }
7218 7296
7219 7297
(...skipping 23 matching lines...) Expand all
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 $as_echo "no" >&6; } 7322 $as_echo "no" >&6; }
7245 fi 7323 fi
7246 7324
7247 # The cast to long int works around a bug in the HP C Compiler 7325 # The cast to long int works around a bug in the HP C Compiler
7248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7250 # This bug is HP SR number 8606223364. 7328 # This bug is HP SR number 8606223364.
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5 7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
7252 $as_echo_n "checking size of time_t... " >&6; } 7330 $as_echo_n "checking size of time_t... " >&6; }
7253 if test "${ac_cv_sizeof_time_t+set}" = set; then : 7331 if ${ac_cv_sizeof_time_t+:} false; then :
7254 $as_echo_n "(cached) " >&6 7332 $as_echo_n "(cached) " >&6
7255 else 7333 else
7256 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_ time_t" " 7334 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_ time_t" "
7257 #ifdef HAVE_SYS_TYPES_H 7335 #ifdef HAVE_SYS_TYPES_H
7258 #include <sys/types.h> 7336 #include <sys/types.h>
7259 #endif 7337 #endif
7260 #ifdef HAVE_TIME_H 7338 #ifdef HAVE_TIME_H
7261 #include <time.h> 7339 #include <time.h>
7262 #endif 7340 #endif
7263 7341
7264 "; then : 7342 "; then :
7265 7343
7266 else 7344 else
7267 if test "$ac_cv_type_time_t" = yes; then 7345 if test "$ac_cv_type_time_t" = yes; then
7268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7270 as_fn_error 77 "cannot compute sizeof (time_t) 7348 as_fn_error 77 "cannot compute sizeof (time_t)
7271 See \`config.log' for more details" "$LINENO" 5 ; } 7349 See \`config.log' for more details" "$LINENO" 5; }
7272 else 7350 else
7273 ac_cv_sizeof_time_t=0 7351 ac_cv_sizeof_time_t=0
7274 fi 7352 fi
7275 fi 7353 fi
7276 7354
7277 fi 7355 fi
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5 7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
7279 $as_echo "$ac_cv_sizeof_time_t" >&6; } 7357 $as_echo "$ac_cv_sizeof_time_t" >&6; }
7280 7358
7281 7359
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
7318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pthread_t" >&5 7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pthread_t" >&5
7320 $as_echo "$have_pthread_t" >&6; } 7398 $as_echo "$have_pthread_t" >&6; }
7321 if test "$have_pthread_t" = yes ; then 7399 if test "$have_pthread_t" = yes ; then
7322 # The cast to long int works around a bug in the HP C Compiler 7400 # The cast to long int works around a bug in the HP C Compiler
7323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 7401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 7402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7325 # This bug is HP SR number 8606223364. 7403 # This bug is HP SR number 8606223364.
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5 7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
7327 $as_echo_n "checking size of pthread_t... " >&6; } 7405 $as_echo_n "checking size of pthread_t... " >&6; }
7328 if test "${ac_cv_sizeof_pthread_t+set}" = set; then : 7406 if ${ac_cv_sizeof_pthread_t+:} false; then :
7329 $as_echo_n "(cached) " >&6 7407 $as_echo_n "(cached) " >&6
7330 else 7408 else
7331 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pthread_t))" "ac_cv_size of_pthread_t" " 7409 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pthread_t))" "ac_cv_size of_pthread_t" "
7332 #ifdef HAVE_PTHREAD_H 7410 #ifdef HAVE_PTHREAD_H
7333 #include <pthread.h> 7411 #include <pthread.h>
7334 #endif 7412 #endif
7335 7413
7336 "; then : 7414 "; then :
7337 7415
7338 else 7416 else
7339 if test "$ac_cv_type_pthread_t" = yes; then 7417 if test "$ac_cv_type_pthread_t" = yes; then
7340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7342 as_fn_error 77 "cannot compute sizeof (pthread_t) 7420 as_fn_error 77 "cannot compute sizeof (pthread_t)
7343 See \`config.log' for more details" "$LINENO" 5 ; } 7421 See \`config.log' for more details" "$LINENO" 5; }
7344 else 7422 else
7345 ac_cv_sizeof_pthread_t=0 7423 ac_cv_sizeof_pthread_t=0
7346 fi 7424 fi
7347 fi 7425 fi
7348 7426
7349 fi 7427 fi
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5 7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
7351 $as_echo "$ac_cv_sizeof_pthread_t" >&6; } 7429 $as_echo "$ac_cv_sizeof_pthread_t" >&6; }
7352 7430
7353 7431
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
7764 *) 7842 *)
7765 SHLIBS='$(LIBS)';; 7843 SHLIBS='$(LIBS)';;
7766 esac 7844 esac
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5 7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
7768 $as_echo "$SHLIBS" >&6; } 7846 $as_echo "$SHLIBS" >&6; }
7769 7847
7770 7848
7771 # checks for libraries 7849 # checks for libraries
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >& 5 7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >& 5
7773 $as_echo_n "checking for sendfile in -lsendfile... " >&6; } 7851 $as_echo_n "checking for sendfile in -lsendfile... " >&6; }
7774 if test "${ac_cv_lib_sendfile_sendfile+set}" = set; then : 7852 if ${ac_cv_lib_sendfile_sendfile+:} false; then :
7775 $as_echo_n "(cached) " >&6 7853 $as_echo_n "(cached) " >&6
7776 else 7854 else
7777 ac_check_lib_save_LIBS=$LIBS 7855 ac_check_lib_save_LIBS=$LIBS
7778 LIBS="-lsendfile $LIBS" 7856 LIBS="-lsendfile $LIBS"
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */ 7858 /* end confdefs.h. */
7781 7859
7782 /* Override any GCC internal prototype to avoid an error. 7860 /* Override any GCC internal prototype to avoid an error.
7783 Use char because int might match the return type of a GCC 7861 Use char because int might match the return type of a GCC
7784 builtin and then its argument prototype would still apply. */ 7862 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
7798 ac_cv_lib_sendfile_sendfile=yes 7876 ac_cv_lib_sendfile_sendfile=yes
7799 else 7877 else
7800 ac_cv_lib_sendfile_sendfile=no 7878 ac_cv_lib_sendfile_sendfile=no
7801 fi 7879 fi
7802 rm -f core conftest.err conftest.$ac_objext \ 7880 rm -f core conftest.err conftest.$ac_objext \
7803 conftest$ac_exeext conftest.$ac_ext 7881 conftest$ac_exeext conftest.$ac_ext
7804 LIBS=$ac_check_lib_save_LIBS 7882 LIBS=$ac_check_lib_save_LIBS
7805 fi 7883 fi
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_sendfile" > &5 7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_sendfile" > &5
7807 $as_echo "$ac_cv_lib_sendfile_sendfile" >&6; } 7885 $as_echo "$ac_cv_lib_sendfile_sendfile" >&6; }
7808 if test "x$ac_cv_lib_sendfile_sendfile" = x""yes; then : 7886 if test "x$ac_cv_lib_sendfile_sendfile" = xyes; then :
7809 cat >>confdefs.h <<_ACEOF 7887 cat >>confdefs.h <<_ACEOF
7810 #define HAVE_LIBSENDFILE 1 7888 #define HAVE_LIBSENDFILE 1
7811 _ACEOF 7889 _ACEOF
7812 7890
7813 LIBS="-lsendfile $LIBS" 7891 LIBS="-lsendfile $LIBS"
7814 7892
7815 fi 7893 fi
7816 7894
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7818 $as_echo_n "checking for dlopen in -ldl... " >&6; } 7896 $as_echo_n "checking for dlopen in -ldl... " >&6; }
7819 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 7897 if ${ac_cv_lib_dl_dlopen+:} false; then :
7820 $as_echo_n "(cached) " >&6 7898 $as_echo_n "(cached) " >&6
7821 else 7899 else
7822 ac_check_lib_save_LIBS=$LIBS 7900 ac_check_lib_save_LIBS=$LIBS
7823 LIBS="-ldl $LIBS" 7901 LIBS="-ldl $LIBS"
7824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7825 /* end confdefs.h. */ 7903 /* end confdefs.h. */
7826 7904
7827 /* Override any GCC internal prototype to avoid an error. 7905 /* Override any GCC internal prototype to avoid an error.
7828 Use char because int might match the return type of a GCC 7906 Use char because int might match the return type of a GCC
7829 builtin and then its argument prototype would still apply. */ 7907 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
7843 ac_cv_lib_dl_dlopen=yes 7921 ac_cv_lib_dl_dlopen=yes
7844 else 7922 else
7845 ac_cv_lib_dl_dlopen=no 7923 ac_cv_lib_dl_dlopen=no
7846 fi 7924 fi
7847 rm -f core conftest.err conftest.$ac_objext \ 7925 rm -f core conftest.err conftest.$ac_objext \
7848 conftest$ac_exeext conftest.$ac_ext 7926 conftest$ac_exeext conftest.$ac_ext
7849 LIBS=$ac_check_lib_save_LIBS 7927 LIBS=$ac_check_lib_save_LIBS
7850 fi 7928 fi
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7852 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 7930 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7853 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 7931 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF 7932 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_LIBDL 1 7933 #define HAVE_LIBDL 1
7856 _ACEOF 7934 _ACEOF
7857 7935
7858 LIBS="-ldl $LIBS" 7936 LIBS="-ldl $LIBS"
7859 7937
7860 fi 7938 fi
7861 # Dynamic linking for SunOS/Solaris and SYSV 7939 # Dynamic linking for SunOS/Solaris and SYSV
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
7863 $as_echo_n "checking for shl_load in -ldld... " >&6; } 7941 $as_echo_n "checking for shl_load in -ldld... " >&6; }
7864 if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 7942 if ${ac_cv_lib_dld_shl_load+:} false; then :
7865 $as_echo_n "(cached) " >&6 7943 $as_echo_n "(cached) " >&6
7866 else 7944 else
7867 ac_check_lib_save_LIBS=$LIBS 7945 ac_check_lib_save_LIBS=$LIBS
7868 LIBS="-ldld $LIBS" 7946 LIBS="-ldld $LIBS"
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */ 7948 /* end confdefs.h. */
7871 7949
7872 /* Override any GCC internal prototype to avoid an error. 7950 /* Override any GCC internal prototype to avoid an error.
7873 Use char because int might match the return type of a GCC 7951 Use char because int might match the return type of a GCC
7874 builtin and then its argument prototype would still apply. */ 7952 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
7888 ac_cv_lib_dld_shl_load=yes 7966 ac_cv_lib_dld_shl_load=yes
7889 else 7967 else
7890 ac_cv_lib_dld_shl_load=no 7968 ac_cv_lib_dld_shl_load=no
7891 fi 7969 fi
7892 rm -f core conftest.err conftest.$ac_objext \ 7970 rm -f core conftest.err conftest.$ac_objext \
7893 conftest$ac_exeext conftest.$ac_ext 7971 conftest$ac_exeext conftest.$ac_ext
7894 LIBS=$ac_check_lib_save_LIBS 7972 LIBS=$ac_check_lib_save_LIBS
7895 fi 7973 fi
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
7897 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } 7975 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
7898 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 7976 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
7899 cat >>confdefs.h <<_ACEOF 7977 cat >>confdefs.h <<_ACEOF
7900 #define HAVE_LIBDLD 1 7978 #define HAVE_LIBDLD 1
7901 _ACEOF 7979 _ACEOF
7902 7980
7903 LIBS="-ldld $LIBS" 7981 LIBS="-ldld $LIBS"
7904 7982
7905 fi 7983 fi
7906 # Dynamic linking for HP-UX 7984 # Dynamic linking for HP-UX
7907 7985
7908 # only check for sem_init if thread support is requested 7986 # only check for sem_init if thread support is requested
7909 if test "$with_threads" = "yes" -o -z "$with_threads"; then 7987 if test "$with_threads" = "yes" -o -z "$with_threads"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem _init" >&5 7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem _init" >&5
7911 $as_echo_n "checking for library containing sem_init... " >&6; } 7989 $as_echo_n "checking for library containing sem_init... " >&6; }
7912 if test "${ac_cv_search_sem_init+set}" = set; then : 7990 if ${ac_cv_search_sem_init+:} false; then :
7913 $as_echo_n "(cached) " >&6 7991 $as_echo_n "(cached) " >&6
7914 else 7992 else
7915 ac_func_search_save_LIBS=$LIBS 7993 ac_func_search_save_LIBS=$LIBS
7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */ 7995 /* end confdefs.h. */
7918 7996
7919 /* Override any GCC internal prototype to avoid an error. 7997 /* Override any GCC internal prototype to avoid an error.
7920 Use char because int might match the return type of a GCC 7998 Use char because int might match the return type of a GCC
7921 builtin and then its argument prototype would still apply. */ 7999 builtin and then its argument prototype would still apply. */
7922 #ifdef __cplusplus 8000 #ifdef __cplusplus
(...skipping 13 matching lines...) Expand all
7936 ac_res="none required" 8014 ac_res="none required"
7937 else 8015 else
7938 ac_res=-l$ac_lib 8016 ac_res=-l$ac_lib
7939 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8017 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7940 fi 8018 fi
7941 if ac_fn_c_try_link "$LINENO"; then : 8019 if ac_fn_c_try_link "$LINENO"; then :
7942 ac_cv_search_sem_init=$ac_res 8020 ac_cv_search_sem_init=$ac_res
7943 fi 8021 fi
7944 rm -f core conftest.err conftest.$ac_objext \ 8022 rm -f core conftest.err conftest.$ac_objext \
7945 conftest$ac_exeext 8023 conftest$ac_exeext
7946 if test "${ac_cv_search_sem_init+set}" = set; then : 8024 if ${ac_cv_search_sem_init+:} false; then :
7947 break 8025 break
7948 fi 8026 fi
7949 done 8027 done
7950 if test "${ac_cv_search_sem_init+set}" = set; then : 8028 if ${ac_cv_search_sem_init+:} false; then :
7951 8029
7952 else 8030 else
7953 ac_cv_search_sem_init=no 8031 ac_cv_search_sem_init=no
7954 fi 8032 fi
7955 rm conftest.$ac_ext 8033 rm conftest.$ac_ext
7956 LIBS=$ac_func_search_save_LIBS 8034 LIBS=$ac_func_search_save_LIBS
7957 fi 8035 fi
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5 8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
7959 $as_echo "$ac_cv_search_sem_init" >&6; } 8037 $as_echo "$ac_cv_search_sem_init" >&6; }
7960 ac_res=$ac_cv_search_sem_init 8038 ac_res=$ac_cv_search_sem_init
7961 if test "$ac_res" != no; then : 8039 if test "$ac_res" != no; then :
7962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8040 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7963 8041
7964 fi 8042 fi
7965 # 'Real Time' functions on Solaris 8043 # 'Real Time' functions on Solaris
7966 # posix4 on Solaris 2.6 8044 # posix4 on Solaris 2.6
7967 # pthread (first!) on Linux 8045 # pthread (first!) on Linux
7968 fi 8046 fi
7969 8047
7970 # check if we need libintl for locale functions 8048 # check if we need libintl for locale functions
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5 8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
7972 $as_echo_n "checking for textdomain in -lintl... " >&6; } 8050 $as_echo_n "checking for textdomain in -lintl... " >&6; }
7973 if test "${ac_cv_lib_intl_textdomain+set}" = set; then : 8051 if ${ac_cv_lib_intl_textdomain+:} false; then :
7974 $as_echo_n "(cached) " >&6 8052 $as_echo_n "(cached) " >&6
7975 else 8053 else
7976 ac_check_lib_save_LIBS=$LIBS 8054 ac_check_lib_save_LIBS=$LIBS
7977 LIBS="-lintl $LIBS" 8055 LIBS="-lintl $LIBS"
7978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h. */ 8057 /* end confdefs.h. */
7980 8058
7981 /* Override any GCC internal prototype to avoid an error. 8059 /* Override any GCC internal prototype to avoid an error.
7982 Use char because int might match the return type of a GCC 8060 Use char because int might match the return type of a GCC
7983 builtin and then its argument prototype would still apply. */ 8061 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
7997 ac_cv_lib_intl_textdomain=yes 8075 ac_cv_lib_intl_textdomain=yes
7998 else 8076 else
7999 ac_cv_lib_intl_textdomain=no 8077 ac_cv_lib_intl_textdomain=no
8000 fi 8078 fi
8001 rm -f core conftest.err conftest.$ac_objext \ 8079 rm -f core conftest.err conftest.$ac_objext \
8002 conftest$ac_exeext conftest.$ac_ext 8080 conftest$ac_exeext conftest.$ac_ext
8003 LIBS=$ac_check_lib_save_LIBS 8081 LIBS=$ac_check_lib_save_LIBS
8004 fi 8082 fi
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5 8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
8006 $as_echo "$ac_cv_lib_intl_textdomain" >&6; } 8084 $as_echo "$ac_cv_lib_intl_textdomain" >&6; }
8007 if test "x$ac_cv_lib_intl_textdomain" = x""yes; then : 8085 if test "x$ac_cv_lib_intl_textdomain" = xyes; then :
8008 8086
8009 $as_echo "#define WITH_LIBINTL 1" >>confdefs.h 8087 $as_echo "#define WITH_LIBINTL 1" >>confdefs.h
8010 8088
8011 LIBS="-lintl $LIBS" 8089 LIBS="-lintl $LIBS"
8012 fi 8090 fi
8013 8091
8014 8092
8015 # checks for system dependent C++ extensions support 8093 # checks for system dependent C++ extensions support
8016 case "$ac_sys_system" in 8094 case "$ac_sys_system" in
8017 AIX*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genuine AI X C++ extensions support" >&5 8095 AIX*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genuine AI X C++ extensions support" >&5
(...skipping 26 matching lines...) Expand all
8044 8122
8045 fi 8123 fi
8046 rm -f core conftest.err conftest.$ac_objext \ 8124 rm -f core conftest.err conftest.$ac_objext \
8047 conftest$ac_exeext conftest.$ac_ext;; 8125 conftest$ac_exeext conftest.$ac_ext;;
8048 *) ;; 8126 *) ;;
8049 esac 8127 esac
8050 8128
8051 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl. 8129 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5 8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
8053 $as_echo_n "checking for t_open in -lnsl... " >&6; } 8131 $as_echo_n "checking for t_open in -lnsl... " >&6; }
8054 if test "${ac_cv_lib_nsl_t_open+set}" = set; then : 8132 if ${ac_cv_lib_nsl_t_open+:} false; then :
8055 $as_echo_n "(cached) " >&6 8133 $as_echo_n "(cached) " >&6
8056 else 8134 else
8057 ac_check_lib_save_LIBS=$LIBS 8135 ac_check_lib_save_LIBS=$LIBS
8058 LIBS="-lnsl $LIBS" 8136 LIBS="-lnsl $LIBS"
8059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8060 /* end confdefs.h. */ 8138 /* end confdefs.h. */
8061 8139
8062 /* Override any GCC internal prototype to avoid an error. 8140 /* Override any GCC internal prototype to avoid an error.
8063 Use char because int might match the return type of a GCC 8141 Use char because int might match the return type of a GCC
8064 builtin and then its argument prototype would still apply. */ 8142 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
8078 ac_cv_lib_nsl_t_open=yes 8156 ac_cv_lib_nsl_t_open=yes
8079 else 8157 else
8080 ac_cv_lib_nsl_t_open=no 8158 ac_cv_lib_nsl_t_open=no
8081 fi 8159 fi
8082 rm -f core conftest.err conftest.$ac_objext \ 8160 rm -f core conftest.err conftest.$ac_objext \
8083 conftest$ac_exeext conftest.$ac_ext 8161 conftest$ac_exeext conftest.$ac_ext
8084 LIBS=$ac_check_lib_save_LIBS 8162 LIBS=$ac_check_lib_save_LIBS
8085 fi 8163 fi
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5 8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
8087 $as_echo "$ac_cv_lib_nsl_t_open" >&6; } 8165 $as_echo "$ac_cv_lib_nsl_t_open" >&6; }
8088 if test "x$ac_cv_lib_nsl_t_open" = x""yes; then : 8166 if test "x$ac_cv_lib_nsl_t_open" = xyes; then :
8089 LIBS="-lnsl $LIBS" 8167 LIBS="-lnsl $LIBS"
8090 fi 8168 fi
8091 # SVR4 8169 # SVR4
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
8093 $as_echo_n "checking for socket in -lsocket... " >&6; } 8171 $as_echo_n "checking for socket in -lsocket... " >&6; }
8094 if test "${ac_cv_lib_socket_socket+set}" = set; then : 8172 if ${ac_cv_lib_socket_socket+:} false; then :
8095 $as_echo_n "(cached) " >&6 8173 $as_echo_n "(cached) " >&6
8096 else 8174 else
8097 ac_check_lib_save_LIBS=$LIBS 8175 ac_check_lib_save_LIBS=$LIBS
8098 LIBS="-lsocket $LIBS $LIBS" 8176 LIBS="-lsocket $LIBS $LIBS"
8099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8100 /* end confdefs.h. */ 8178 /* end confdefs.h. */
8101 8179
8102 /* Override any GCC internal prototype to avoid an error. 8180 /* Override any GCC internal prototype to avoid an error.
8103 Use char because int might match the return type of a GCC 8181 Use char because int might match the return type of a GCC
8104 builtin and then its argument prototype would still apply. */ 8182 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
8118 ac_cv_lib_socket_socket=yes 8196 ac_cv_lib_socket_socket=yes
8119 else 8197 else
8120 ac_cv_lib_socket_socket=no 8198 ac_cv_lib_socket_socket=no
8121 fi 8199 fi
8122 rm -f core conftest.err conftest.$ac_objext \ 8200 rm -f core conftest.err conftest.$ac_objext \
8123 conftest$ac_exeext conftest.$ac_ext 8201 conftest$ac_exeext conftest.$ac_ext
8124 LIBS=$ac_check_lib_save_LIBS 8202 LIBS=$ac_check_lib_save_LIBS
8125 fi 8203 fi
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
8127 $as_echo "$ac_cv_lib_socket_socket" >&6; } 8205 $as_echo "$ac_cv_lib_socket_socket" >&6; }
8128 if test "x$ac_cv_lib_socket_socket" = x""yes; then : 8206 if test "x$ac_cv_lib_socket_socket" = xyes; then :
8129 LIBS="-lsocket $LIBS" 8207 LIBS="-lsocket $LIBS"
8130 fi 8208 fi
8131 # SVR4 sockets 8209 # SVR4 sockets
8132 8210
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5
8134 $as_echo_n "checking for --with-libs... " >&6; } 8212 $as_echo_n "checking for --with-libs... " >&6; }
8135 8213
8136 # Check whether --with-libs was given. 8214 # Check whether --with-libs was given.
8137 if test "${with_libs+set}" = set; then : 8215 if test "${with_libs+set}" = set; then :
8138 withval=$with_libs; 8216 withval=$with_libs;
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5 8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
8140 $as_echo "$withval" >&6; } 8218 $as_echo "$withval" >&6; }
8141 LIBS="$withval $LIBS" 8219 LIBS="$withval $LIBS"
8142 8220
8143 else 8221 else
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; } 8223 $as_echo "no" >&6; }
8146 fi 8224 fi
8147 8225
8148 8226
8149 if test -n "$ac_tool_prefix"; then 8227 if test -n "$ac_tool_prefix"; then
8150 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog ram name with args. 8228 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog ram name with args.
8151 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 8229 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8153 $as_echo_n "checking for $ac_word... " >&6; } 8231 $as_echo_n "checking for $ac_word... " >&6; }
8154 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 8232 if ${ac_cv_path_PKG_CONFIG+:} false; then :
8155 $as_echo_n "(cached) " >&6 8233 $as_echo_n "(cached) " >&6
8156 else 8234 else
8157 case $PKG_CONFIG in 8235 case $PKG_CONFIG in
8158 [\\/]* | ?:[\\/]*) 8236 [\\/]* | ?:[\\/]*)
8159 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a pa th. 8237 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a pa th.
8160 ;; 8238 ;;
8161 *) 8239 *)
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH 8241 for as_dir in $PATH
8164 do 8242 do
(...skipping 22 matching lines...) Expand all
8187 fi 8265 fi
8188 8266
8189 8267
8190 fi 8268 fi
8191 if test -z "$ac_cv_path_PKG_CONFIG"; then 8269 if test -z "$ac_cv_path_PKG_CONFIG"; then
8192 ac_pt_PKG_CONFIG=$PKG_CONFIG 8270 ac_pt_PKG_CONFIG=$PKG_CONFIG
8193 # Extract the first word of "pkg-config", so it can be a program name with arg s. 8271 # Extract the first word of "pkg-config", so it can be a program name with arg s.
8194 set dummy pkg-config; ac_word=$2 8272 set dummy pkg-config; ac_word=$2
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8196 $as_echo_n "checking for $ac_word... " >&6; } 8274 $as_echo_n "checking for $ac_word... " >&6; }
8197 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 8275 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8198 $as_echo_n "(cached) " >&6 8276 $as_echo_n "(cached) " >&6
8199 else 8277 else
8200 case $ac_pt_PKG_CONFIG in 8278 case $ac_pt_PKG_CONFIG in
8201 [\\/]* | ?:[\\/]*) 8279 [\\/]* | ?:[\\/]*)
8202 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the te st with a path. 8280 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the te st with a path.
8203 ;; 8281 ;;
8204 *) 8282 *)
8205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8206 for as_dir in $PATH 8284 for as_dir in $PATH
8207 do 8285 do
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
8349 8427
8350 USE_THREAD_MODULE="" 8428 USE_THREAD_MODULE=""
8351 8429
8352 8430
8353 8431
8354 # Templates for things AC_DEFINEd more than once. 8432 # Templates for things AC_DEFINEd more than once.
8355 # For a single AC_DEFINE, no template is needed. 8433 # For a single AC_DEFINE, no template is needed.
8356 8434
8357 8435
8358 8436
8359
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-threads" >&5 8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-threads" >&5
8361 $as_echo_n "checking for --with-threads... " >&6; } 8438 $as_echo_n "checking for --with-threads... " >&6; }
8362 8439
8363 # Check whether --with-threads was given. 8440 # Check whether --with-threads was given.
8364 if test "${with_threads+set}" = set; then : 8441 if test "${with_threads+set}" = set; then :
8365 withval=$with_threads; 8442 withval=$with_threads;
8366 fi 8443 fi
8367 8444
8368 8445
8369 # --with-thread is deprecated, but check for it anyway 8446 # --with-thread is deprecated, but check for it anyway
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
8451 else 8528 else
8452 unistd_defines_pthreads=no 8529 unistd_defines_pthreads=no
8453 fi 8530 fi
8454 rm -f conftest* 8531 rm -f conftest*
8455 8532
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" > &5 8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" > &5
8457 $as_echo "$unistd_defines_pthreads" >&6; } 8534 $as_echo "$unistd_defines_pthreads" >&6; }
8458 8535
8459 $as_echo "#define _REENTRANT 1" >>confdefs.h 8536 $as_echo "#define _REENTRANT 1" >>confdefs.h
8460 8537
8461 ac_fn_c_check_header_mongrel "$LINENO" "cthreads.h" "ac_cv_header_cthreads_h " "$ac_includes_default"
8462 if test "x$ac_cv_header_cthreads_h" = x""yes; then :
8463 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8464
8465 $as_echo "#define C_THREADS 1" >>confdefs.h
8466
8467
8468 $as_echo "#define HURD_C_THREADS 1" >>confdefs.h
8469
8470 LIBS="$LIBS -lthreads"
8471 THREADOBJ="Python/thread.o"
8472 else
8473
8474 ac_fn_c_check_header_mongrel "$LINENO" "mach/cthreads.h" "ac_cv_header_mach_ cthreads_h" "$ac_includes_default"
8475 if test "x$ac_cv_header_mach_cthreads_h" = x""yes; then :
8476 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8477
8478 $as_echo "#define C_THREADS 1" >>confdefs.h
8479
8480
8481 $as_echo "#define MACH_C_THREADS 1" >>confdefs.h
8482
8483 THREADOBJ="Python/thread.o"
8484 else
8485
8486 # Just looking for pthread_create in libpthread is not enough: 8538 # Just looking for pthread_create in libpthread is not enough:
8487 # on HP/UX, pthread.h renames pthread_create to a different symbol name. 8539 # on HP/UX, pthread.h renames pthread_create to a different symbol name.
8488 # So we really have to include pthread.h, and then link. 8540 # So we really have to include pthread.h, and then link.
8489 _libs=$LIBS 8541 _libs=$LIBS
8490 LIBS="$LIBS -lpthread" 8542 LIBS="$LIBS -lpthread"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpt hread" >&5 8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpt hread" >&5
8492 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 8544 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */ 8546 /* end confdefs.h. */
8495 #include <pthread.h> 8547 #include <pthread.h>
(...skipping 13 matching lines...) Expand all
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8510 $as_echo "yes" >&6; } 8562 $as_echo "yes" >&6; }
8511 $as_echo "#define WITH_THREAD 1" >>confdefs.h 8563 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8512 8564
8513 posix_threads=yes 8565 posix_threads=yes
8514 THREADOBJ="Python/thread.o" 8566 THREADOBJ="Python/thread.o"
8515 else 8567 else
8516 8568
8517 LIBS=$_libs 8569 LIBS=$_libs
8518 ac_fn_c_check_func "$LINENO" "pthread_detach" "ac_cv_func_pthread_detach" 8570 ac_fn_c_check_func "$LINENO" "pthread_detach" "ac_cv_func_pthread_detach"
8519 if test "x$ac_cv_func_pthread_detach" = x""yes; then : 8571 if test "x$ac_cv_func_pthread_detach" = xyes; then :
8520 $as_echo "#define WITH_THREAD 1" >>confdefs.h 8572 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8521 8573
8522 posix_threads=yes 8574 posix_threads=yes
8523 THREADOBJ="Python/thread.o" 8575 THREADOBJ="Python/thread.o"
8524 else 8576 else
8525 8577
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpt hreads" >&5 8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpt hreads" >&5
8527 $as_echo_n "checking for pthread_create in -lpthreads... " >&6; } 8579 $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
8528 if test "${ac_cv_lib_pthreads_pthread_create+set}" = set; then : 8580 if ${ac_cv_lib_pthreads_pthread_create+:} false; then :
8529 $as_echo_n "(cached) " >&6 8581 $as_echo_n "(cached) " >&6
8530 else 8582 else
8531 ac_check_lib_save_LIBS=$LIBS 8583 ac_check_lib_save_LIBS=$LIBS
8532 LIBS="-lpthreads $LIBS" 8584 LIBS="-lpthreads $LIBS"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */ 8586 /* end confdefs.h. */
8535 8587
8536 /* Override any GCC internal prototype to avoid an error. 8588 /* Override any GCC internal prototype to avoid an error.
8537 Use char because int might match the return type of a GCC 8589 Use char because int might match the return type of a GCC
8538 builtin and then its argument prototype would still apply. */ 8590 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
8552 ac_cv_lib_pthreads_pthread_create=yes 8604 ac_cv_lib_pthreads_pthread_create=yes
8553 else 8605 else
8554 ac_cv_lib_pthreads_pthread_create=no 8606 ac_cv_lib_pthreads_pthread_create=no
8555 fi 8607 fi
8556 rm -f core conftest.err conftest.$ac_objext \ 8608 rm -f core conftest.err conftest.$ac_objext \
8557 conftest$ac_exeext conftest.$ac_ext 8609 conftest$ac_exeext conftest.$ac_ext
8558 LIBS=$ac_check_lib_save_LIBS 8610 LIBS=$ac_check_lib_save_LIBS
8559 fi 8611 fi
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_cre ate" >&5 8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_cre ate" >&5
8561 $as_echo "$ac_cv_lib_pthreads_pthread_create" >&6; } 8613 $as_echo "$ac_cv_lib_pthreads_pthread_create" >&6; }
8562 if test "x$ac_cv_lib_pthreads_pthread_create" = x""yes; then : 8614 if test "x$ac_cv_lib_pthreads_pthread_create" = xyes; then :
8563 $as_echo "#define WITH_THREAD 1" >>confdefs.h 8615 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8564 8616
8565 posix_threads=yes 8617 posix_threads=yes
8566 LIBS="$LIBS -lpthreads" 8618 LIBS="$LIBS -lpthreads"
8567 THREADOBJ="Python/thread.o" 8619 THREADOBJ="Python/thread.o"
8568 else 8620 else
8569 8621
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_ r" >&5 8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_ r" >&5
8571 $as_echo_n "checking for pthread_create in -lc_r... " >&6; } 8623 $as_echo_n "checking for pthread_create in -lc_r... " >&6; }
8572 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then : 8624 if ${ac_cv_lib_c_r_pthread_create+:} false; then :
8573 $as_echo_n "(cached) " >&6 8625 $as_echo_n "(cached) " >&6
8574 else 8626 else
8575 ac_check_lib_save_LIBS=$LIBS 8627 ac_check_lib_save_LIBS=$LIBS
8576 LIBS="-lc_r $LIBS" 8628 LIBS="-lc_r $LIBS"
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */ 8630 /* end confdefs.h. */
8579 8631
8580 /* Override any GCC internal prototype to avoid an error. 8632 /* Override any GCC internal prototype to avoid an error.
8581 Use char because int might match the return type of a GCC 8633 Use char because int might match the return type of a GCC
8582 builtin and then its argument prototype would still apply. */ 8634 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
8596 ac_cv_lib_c_r_pthread_create=yes 8648 ac_cv_lib_c_r_pthread_create=yes
8597 else 8649 else
8598 ac_cv_lib_c_r_pthread_create=no 8650 ac_cv_lib_c_r_pthread_create=no
8599 fi 8651 fi
8600 rm -f core conftest.err conftest.$ac_objext \ 8652 rm -f core conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext 8653 conftest$ac_exeext conftest.$ac_ext
8602 LIBS=$ac_check_lib_save_LIBS 8654 LIBS=$ac_check_lib_save_LIBS
8603 fi 8655 fi
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5 8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
8605 $as_echo "$ac_cv_lib_c_r_pthread_create" >&6; } 8657 $as_echo "$ac_cv_lib_c_r_pthread_create" >&6; }
8606 if test "x$ac_cv_lib_c_r_pthread_create" = x""yes; then : 8658 if test "x$ac_cv_lib_c_r_pthread_create" = xyes; then :
8607 $as_echo "#define WITH_THREAD 1" >>confdefs.h 8659 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8608 8660
8609 posix_threads=yes 8661 posix_threads=yes
8610 LIBS="$LIBS -lc_r" 8662 LIBS="$LIBS -lc_r"
8611 THREADOBJ="Python/thread.o" 8663 THREADOBJ="Python/thread.o"
8612 else 8664 else
8613 8665
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_syste m in -lpthread" >&5 8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_syste m in -lpthread" >&5
8615 $as_echo_n "checking for __pthread_create_system in -lpthread... " >&6; } 8667 $as_echo_n "checking for __pthread_create_system in -lpthread... " >&6; }
8616 if test "${ac_cv_lib_pthread___pthread_create_system+set}" = set; then : 8668 if ${ac_cv_lib_pthread___pthread_create_system+:} false; then :
8617 $as_echo_n "(cached) " >&6 8669 $as_echo_n "(cached) " >&6
8618 else 8670 else
8619 ac_check_lib_save_LIBS=$LIBS 8671 ac_check_lib_save_LIBS=$LIBS
8620 LIBS="-lpthread $LIBS" 8672 LIBS="-lpthread $LIBS"
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */ 8674 /* end confdefs.h. */
8623 8675
8624 /* Override any GCC internal prototype to avoid an error. 8676 /* Override any GCC internal prototype to avoid an error.
8625 Use char because int might match the return type of a GCC 8677 Use char because int might match the return type of a GCC
8626 builtin and then its argument prototype would still apply. */ 8678 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
8640 ac_cv_lib_pthread___pthread_create_system=yes 8692 ac_cv_lib_pthread___pthread_create_system=yes
8641 else 8693 else
8642 ac_cv_lib_pthread___pthread_create_system=no 8694 ac_cv_lib_pthread___pthread_create_system=no
8643 fi 8695 fi
8644 rm -f core conftest.err conftest.$ac_objext \ 8696 rm -f core conftest.err conftest.$ac_objext \
8645 conftest$ac_exeext conftest.$ac_ext 8697 conftest$ac_exeext conftest.$ac_ext
8646 LIBS=$ac_check_lib_save_LIBS 8698 LIBS=$ac_check_lib_save_LIBS
8647 fi 8699 fi
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_cr eate_system" >&5 8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_cr eate_system" >&5
8649 $as_echo "$ac_cv_lib_pthread___pthread_create_system" >&6; } 8701 $as_echo "$ac_cv_lib_pthread___pthread_create_system" >&6; }
8650 if test "x$ac_cv_lib_pthread___pthread_create_system" = x""yes; then : 8702 if test "x$ac_cv_lib_pthread___pthread_create_system" = xyes; then :
8651 $as_echo "#define WITH_THREAD 1" >>confdefs.h 8703 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8652 8704
8653 posix_threads=yes 8705 posix_threads=yes
8654 LIBS="$LIBS -lpthread" 8706 LIBS="$LIBS -lpthread"
8655 THREADOBJ="Python/thread.o" 8707 THREADOBJ="Python/thread.o"
8656 else 8708 else
8657 8709
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcm a" >&5 8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcm a" >&5
8659 $as_echo_n "checking for pthread_create in -lcma... " >&6; } 8711 $as_echo_n "checking for pthread_create in -lcma... " >&6; }
8660 if test "${ac_cv_lib_cma_pthread_create+set}" = set; then : 8712 if ${ac_cv_lib_cma_pthread_create+:} false; then :
8661 $as_echo_n "(cached) " >&6 8713 $as_echo_n "(cached) " >&6
8662 else 8714 else
8663 ac_check_lib_save_LIBS=$LIBS 8715 ac_check_lib_save_LIBS=$LIBS
8664 LIBS="-lcma $LIBS" 8716 LIBS="-lcma $LIBS"
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */ 8718 /* end confdefs.h. */
8667 8719
8668 /* Override any GCC internal prototype to avoid an error. 8720 /* Override any GCC internal prototype to avoid an error.
8669 Use char because int might match the return type of a GCC 8721 Use char because int might match the return type of a GCC
8670 builtin and then its argument prototype would still apply. */ 8722 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
8684 ac_cv_lib_cma_pthread_create=yes 8736 ac_cv_lib_cma_pthread_create=yes
8685 else 8737 else
8686 ac_cv_lib_cma_pthread_create=no 8738 ac_cv_lib_cma_pthread_create=no
8687 fi 8739 fi
8688 rm -f core conftest.err conftest.$ac_objext \ 8740 rm -f core conftest.err conftest.$ac_objext \
8689 conftest$ac_exeext conftest.$ac_ext 8741 conftest$ac_exeext conftest.$ac_ext
8690 LIBS=$ac_check_lib_save_LIBS 8742 LIBS=$ac_check_lib_save_LIBS
8691 fi 8743 fi
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5 8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5
8693 $as_echo "$ac_cv_lib_cma_pthread_create" >&6; } 8745 $as_echo "$ac_cv_lib_cma_pthread_create" >&6; }
8694 if test "x$ac_cv_lib_cma_pthread_create" = x""yes; then : 8746 if test "x$ac_cv_lib_cma_pthread_create" = xyes; then :
8695 $as_echo "#define WITH_THREAD 1" >>confdefs.h 8747 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8696 8748
8697 posix_threads=yes 8749 posix_threads=yes
8698 LIBS="$LIBS -lcma" 8750 LIBS="$LIBS -lcma"
8699 THREADOBJ="Python/thread.o" 8751 THREADOBJ="Python/thread.o"
8700 else 8752 else
8701 8753
8702 USE_THREAD_MODULE="#" 8754 USE_THREAD_MODULE="#"
8703 fi 8755 fi
8704 8756
8705 8757
8706 fi 8758 fi
8707 8759
8708 fi 8760 fi
8709 8761
8710 fi 8762 fi
8711 8763
8712 fi 8764 fi
8713 8765
8714 fi 8766 fi
8715 rm -f core conftest.err conftest.$ac_objext \ 8767 rm -f core conftest.err conftest.$ac_objext \
8716 conftest$ac_exeext conftest.$ac_ext 8768 conftest$ac_exeext conftest.$ac_ext
8717 fi
8718
8719
8720 fi
8721
8722
8723 8769
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5 8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5
8725 $as_echo_n "checking for usconfig in -lmpc... " >&6; } 8771 $as_echo_n "checking for usconfig in -lmpc... " >&6; }
8726 if test "${ac_cv_lib_mpc_usconfig+set}" = set; then : 8772 if ${ac_cv_lib_mpc_usconfig+:} false; then :
8727 $as_echo_n "(cached) " >&6 8773 $as_echo_n "(cached) " >&6
8728 else 8774 else
8729 ac_check_lib_save_LIBS=$LIBS 8775 ac_check_lib_save_LIBS=$LIBS
8730 LIBS="-lmpc $LIBS" 8776 LIBS="-lmpc $LIBS"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */ 8778 /* end confdefs.h. */
8733 8779
8734 /* Override any GCC internal prototype to avoid an error. 8780 /* Override any GCC internal prototype to avoid an error.
8735 Use char because int might match the return type of a GCC 8781 Use char because int might match the return type of a GCC
8736 builtin and then its argument prototype would still apply. */ 8782 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
8750 ac_cv_lib_mpc_usconfig=yes 8796 ac_cv_lib_mpc_usconfig=yes
8751 else 8797 else
8752 ac_cv_lib_mpc_usconfig=no 8798 ac_cv_lib_mpc_usconfig=no
8753 fi 8799 fi
8754 rm -f core conftest.err conftest.$ac_objext \ 8800 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext 8801 conftest$ac_exeext conftest.$ac_ext
8756 LIBS=$ac_check_lib_save_LIBS 8802 LIBS=$ac_check_lib_save_LIBS
8757 fi 8803 fi
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5 8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5
8759 $as_echo "$ac_cv_lib_mpc_usconfig" >&6; } 8805 $as_echo "$ac_cv_lib_mpc_usconfig" >&6; }
8760 if test "x$ac_cv_lib_mpc_usconfig" = x""yes; then : 8806 if test "x$ac_cv_lib_mpc_usconfig" = xyes; then :
8761 $as_echo "#define WITH_THREAD 1" >>confdefs.h 8807 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8762 8808
8763 LIBS="$LIBS -lmpc" 8809 LIBS="$LIBS -lmpc"
8764 THREADOBJ="Python/thread.o" 8810 THREADOBJ="Python/thread.o"
8765 USE_THREAD_MODULE="" 8811 USE_THREAD_MODULE=""
8766 fi 8812 fi
8767 8813
8768 8814
8769 if test "$posix_threads" != "yes"; then 8815 if test "$posix_threads" != "yes"; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thr_create in -lthre ad" >&5 8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thr_create in -lthre ad" >&5
8771 $as_echo_n "checking for thr_create in -lthread... " >&6; } 8817 $as_echo_n "checking for thr_create in -lthread... " >&6; }
8772 if test "${ac_cv_lib_thread_thr_create+set}" = set; then : 8818 if ${ac_cv_lib_thread_thr_create+:} false; then :
8773 $as_echo_n "(cached) " >&6 8819 $as_echo_n "(cached) " >&6
8774 else 8820 else
8775 ac_check_lib_save_LIBS=$LIBS 8821 ac_check_lib_save_LIBS=$LIBS
8776 LIBS="-lthread $LIBS" 8822 LIBS="-lthread $LIBS"
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */ 8824 /* end confdefs.h. */
8779 8825
8780 /* Override any GCC internal prototype to avoid an error. 8826 /* Override any GCC internal prototype to avoid an error.
8781 Use char because int might match the return type of a GCC 8827 Use char because int might match the return type of a GCC
8782 builtin and then its argument prototype would still apply. */ 8828 builtin and then its argument prototype would still apply. */
(...skipping 13 matching lines...) Expand all
8796 ac_cv_lib_thread_thr_create=yes 8842 ac_cv_lib_thread_thr_create=yes
8797 else 8843 else
8798 ac_cv_lib_thread_thr_create=no 8844 ac_cv_lib_thread_thr_create=no
8799 fi 8845 fi
8800 rm -f core conftest.err conftest.$ac_objext \ 8846 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext 8847 conftest$ac_exeext conftest.$ac_ext
8802 LIBS=$ac_check_lib_save_LIBS 8848 LIBS=$ac_check_lib_save_LIBS
8803 fi 8849 fi
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_thr_create" > &5 8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_thr_create" > &5
8805 $as_echo "$ac_cv_lib_thread_thr_create" >&6; } 8851 $as_echo "$ac_cv_lib_thread_thr_create" >&6; }
8806 if test "x$ac_cv_lib_thread_thr_create" = x""yes; then : 8852 if test "x$ac_cv_lib_thread_thr_create" = xyes; then :
8807 $as_echo "#define WITH_THREAD 1" >>confdefs.h 8853 $as_echo "#define WITH_THREAD 1" >>confdefs.h
8808 8854
8809 LIBS="$LIBS -lthread" 8855 LIBS="$LIBS -lthread"
8810 THREADOBJ="Python/thread.o" 8856 THREADOBJ="Python/thread.o"
8811 USE_THREAD_MODULE="" 8857 USE_THREAD_MODULE=""
8812 fi 8858 fi
8813 8859
8814 fi 8860 fi
8815 fi 8861 fi
8816 8862
8817 if test "$posix_threads" = "yes"; then 8863 if test "$posix_threads" = "yes"; then
8818 if test "$unistd_defines_pthreads" = "no"; then 8864 if test "$unistd_defines_pthreads" = "no"; then
8819 8865
8820 $as_echo "#define _POSIX_THREADS 1" >>confdefs.h 8866 $as_echo "#define _POSIX_THREADS 1" >>confdefs.h
8821 8867
8822 fi 8868 fi
8823 8869
8824 # Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8. 8870 # Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
8825 case $ac_sys_system/$ac_sys_release in 8871 case $ac_sys_system/$ac_sys_release in
8826 SunOS/5.6) 8872 SunOS/5.6)
8827 $as_echo "#define HAVE_PTHREAD_DESTRUCTOR 1" >>confdefs.h 8873 $as_echo "#define HAVE_PTHREAD_DESTRUCTOR 1" >>confdefs.h
8828 8874
8829 ;; 8875 ;;
8830 SunOS/5.8) 8876 SunOS/5.8)
8831 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h 8877 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
8832 8878
8833 ;; 8879 ;;
8834 AIX/5) 8880 AIX/*)
8835 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h 8881 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
8836 8882
8837 ;; 8883 ;;
8838 AIX/6)
8839 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
8840
8841 ;;
8842 esac 8884 esac
8843 8885
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5 8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
8845 $as_echo_n "checking if PTHREAD_SCOPE_SYSTEM is supported... " >&6; } 8887 $as_echo_n "checking if PTHREAD_SCOPE_SYSTEM is supported... " >&6; }
8846 if test "${ac_cv_pthread_system_supported+set}" = set; then : 8888 if ${ac_cv_pthread_system_supported+:} false; then :
8847 $as_echo_n "(cached) " >&6 8889 $as_echo_n "(cached) " >&6
8848 else 8890 else
8849 if test "$cross_compiling" = yes; then : 8891 if test "$cross_compiling" = yes; then :
8850 ac_cv_pthread_system_supported=no 8892 ac_cv_pthread_system_supported=no
8851 else 8893 else
8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */ 8895 /* end confdefs.h. */
8854 #include <pthread.h> 8896 #include <pthread.h>
8855 void *foo(void *parm) { 8897 void *foo(void *parm) {
8856 return NULL; 8898 return NULL;
(...skipping 22 matching lines...) Expand all
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_sup ported" >&5 8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_sup ported" >&5
8880 $as_echo "$ac_cv_pthread_system_supported" >&6; } 8922 $as_echo "$ac_cv_pthread_system_supported" >&6; }
8881 if test "$ac_cv_pthread_system_supported" = "yes"; then 8923 if test "$ac_cv_pthread_system_supported" = "yes"; then
8882 8924
8883 $as_echo "#define PTHREAD_SYSTEM_SCHED_SUPPORTED 1" >>confdefs.h 8925 $as_echo "#define PTHREAD_SYSTEM_SCHED_SUPPORTED 1" >>confdefs.h
8884 8926
8885 fi 8927 fi
8886 for ac_func in pthread_sigmask 8928 for ac_func in pthread_sigmask
8887 do : 8929 do :
8888 ac_fn_c_check_func "$LINENO" "pthread_sigmask" "ac_cv_func_pthread_sigmask" 8930 ac_fn_c_check_func "$LINENO" "pthread_sigmask" "ac_cv_func_pthread_sigmask"
8889 if test "x$ac_cv_func_pthread_sigmask" = x""yes; then : 8931 if test "x$ac_cv_func_pthread_sigmask" = xyes; then :
8890 cat >>confdefs.h <<_ACEOF 8932 cat >>confdefs.h <<_ACEOF
8891 #define HAVE_PTHREAD_SIGMASK 1 8933 #define HAVE_PTHREAD_SIGMASK 1
8892 _ACEOF 8934 _ACEOF
8893 case $ac_sys_system in 8935 case $ac_sys_system in
8894 CYGWIN*) 8936 CYGWIN*)
8895 8937
8896 $as_echo "#define HAVE_BROKEN_PTHREAD_SIGMASK 1" >>confdefs.h 8938 $as_echo "#define HAVE_BROKEN_PTHREAD_SIGMASK 1" >>confdefs.h
8897 8939
8898 ;; 8940 ;;
8899 esac 8941 esac
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
9271 if test "${with_valgrind+set}" = set; then : 9313 if test "${with_valgrind+set}" = set; then :
9272 withval=$with_valgrind; 9314 withval=$with_valgrind;
9273 else 9315 else
9274 with_valgrind=no 9316 with_valgrind=no
9275 fi 9317 fi
9276 9318
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5 9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
9278 $as_echo "$with_valgrind" >&6; } 9320 $as_echo "$with_valgrind" >&6; }
9279 if test "$with_valgrind" != no; then 9321 if test "$with_valgrind" != no; then
9280 ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_v algrind_valgrind_h" "$ac_includes_default" 9322 ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_v algrind_valgrind_h" "$ac_includes_default"
9281 if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then : 9323 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then :
9282 9324
9283 $as_echo "#define WITH_VALGRIND 1" >>confdefs.h 9325 $as_echo "#define WITH_VALGRIND 1" >>confdefs.h
9284 9326
9285 else 9327 else
9286 as_fn_error $? "Valgrind support requested but headers not available" "$LINENO " 5 9328 as_fn_error $? "Valgrind support requested but headers not available" "$LINENO " 5
9287 9329
9288 fi 9330 fi
9289 9331
9290 9332
9291 OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT" 9333 OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
9292 fi 9334 fi
9293 9335
9294 # -I${DLINCLDIR} is added to the compile rule for importdl.o 9336 # -I${DLINCLDIR} is added to the compile rule for importdl.o
9295 9337
9296 DLINCLDIR=. 9338 DLINCLDIR=.
9297 9339
9298 # the dlopen() function means we might want to use dynload_shlib.o. some 9340 # the dlopen() function means we might want to use dynload_shlib.o. some
9299 # platforms, such as AIX, have dlopen(), but don't want to use it. 9341 # platforms, such as AIX, have dlopen(), but don't want to use it.
9300 for ac_func in dlopen 9342 for ac_func in dlopen
9301 do : 9343 do :
9302 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 9344 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9303 if test "x$ac_cv_func_dlopen" = x""yes; then : 9345 if test "x$ac_cv_func_dlopen" = xyes; then :
9304 cat >>confdefs.h <<_ACEOF 9346 cat >>confdefs.h <<_ACEOF
9305 #define HAVE_DLOPEN 1 9347 #define HAVE_DLOPEN 1
9306 _ACEOF 9348 _ACEOF
9307 9349
9308 fi 9350 fi
9309 done 9351 done
9310 9352
9311 9353
9312 # DYNLOADFILE specifies which dynload_*.o file we will use for dynamic 9354 # DYNLOADFILE specifies which dynload_*.o file we will use for dynamic
9313 # loading of modules. 9355 # loading of modules.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
9360 $as_echo "MACHDEP_OBJS" >&6; } 9402 $as_echo "MACHDEP_OBJS" >&6; }
9361 9403
9362 # checks for library functions 9404 # checks for library functions
9363 for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \ 9405 for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
9364 clock confstr ctermid execv faccessat fchmod fchmodat fchown fchownat \ 9406 clock confstr ctermid execv faccessat fchmod fchmodat fchown fchownat \
9365 fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \ 9407 fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \
9366 futimens futimes gai_strerror \ 9408 futimens futimes gai_strerror \
9367 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \ 9409 getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
9368 getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \ 9410 getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
9369 if_nameindex \ 9411 if_nameindex \
9370 initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mbrtowc mkdirat mkfifo \ 9412 initgroups kill killpg lchmod lchown lockf linkat lstat lutimes mmap \
9413 memrchr mbrtowc mkdirat mkfifo \
9371 mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock pol l \ 9414 mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock pol l \
9372 posix_fallocate posix_fadvise pread \ 9415 posix_fallocate posix_fadvise pread \
9373 pthread_init pthread_kill putenv pwrite readlink readlinkat readv realpath rena meat \ 9416 pthread_init pthread_kill putenv pwrite readlink readlinkat readv realpath rena meat \
9374 select sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid \ 9417 select sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid \
9375 setgid sethostname \ 9418 setgid sethostname \
9376 setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setprior ity setuid setvbuf \ 9419 setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setprior ity setuid setvbuf \
9377 sigaction sigaltstack siginterrupt sigpending \ 9420 sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \
9378 sigrelse sigwait snprintf strftime strlcpy symlinkat sync \ 9421 sched_rr_get_interval \
9422 sigaction sigaltstack siginterrupt sigpending sigrelse \
9423 sigtimedwait sigwait sigwaitinfo snprintf strftime strlcpy symlinkat sync \
9379 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ 9424 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
9380 truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \ 9425 truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \
9381 wcscoll wcsftime wcsxfrm writev _getpty 9426 wcscoll wcsftime wcsxfrm writev _getpty
9382 do : 9427 do :
9383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 9430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9386 cat >>confdefs.h <<_ACEOF 9431 cat >>confdefs.h <<_ACEOF
9387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9388 _ACEOF 9433 _ACEOF
9389 9434
9390 fi 9435 fi
9391 done 9436 done
9392 9437
9393 9438
9439 ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/type s.h>
9440 #include <dirent.h>
9441 "
9442 if test "x$ac_cv_have_decl_dirfd" = xyes; then :
9443
9444 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
9445
9446 fi
9447
9448
9394 # For some functions, having a definition is not sufficient, since 9449 # For some functions, having a definition is not sufficient, since
9395 # we want to take their address. 9450 # we want to take their address.
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5 9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
9397 $as_echo_n "checking for chroot... " >&6; } 9452 $as_echo_n "checking for chroot... " >&6; }
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */ 9454 /* end confdefs.h. */
9400 #include <unistd.h> 9455 #include <unistd.h>
9401 int 9456 int
9402 main () 9457 main ()
9403 { 9458 {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
9552 main () 9607 main ()
9553 { 9608 {
9554 void *x=epoll_create 9609 void *x=epoll_create
9555 ; 9610 ;
9556 return 0; 9611 return 0;
9557 } 9612 }
9558 _ACEOF 9613 _ACEOF
9559 if ac_fn_c_try_compile "$LINENO"; then : 9614 if ac_fn_c_try_compile "$LINENO"; then :
9560 9615
9561 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h 9616 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
9617
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9619 $as_echo "yes" >&6; }
9620 else
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9622 $as_echo "no" >&6; }
9623
9624 fi
9625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
9627 $as_echo_n "checking for epoll_create1... " >&6; }
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9630 #include <sys/epoll.h>
9631 int
9632 main ()
9633 {
9634 void *x=epoll_create1
9635 ;
9636 return 0;
9637 }
9638 _ACEOF
9639 if ac_fn_c_try_compile "$LINENO"; then :
9640
9641 $as_echo "#define HAVE_EPOLL_CREATE1 1" >>confdefs.h
9562 9642
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9564 $as_echo "yes" >&6; } 9644 $as_echo "yes" >&6; }
9565 else 9645 else
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9567 $as_echo "no" >&6; } 9647 $as_echo "no" >&6; }
9568 9648
9569 fi 9649 fi
9570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5 9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
9625 $as_echo "yes" >&6; } 9705 $as_echo "yes" >&6; }
9626 else 9706 else
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9628 $as_echo "no" >&6; } 9708 $as_echo "no" >&6; }
9629 9709
9630 fi 9710 fi
9631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9632 9712
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5 9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5
9634 $as_echo_n "checking for flock declaration... " >&6; } 9714 $as_echo_n "checking for flock declaration... " >&6; }
9635 if test "${ac_cv_flock_decl+set}" = set; then : 9715 if ${ac_cv_flock_decl+:} false; then :
9636 $as_echo_n "(cached) " >&6 9716 $as_echo_n "(cached) " >&6
9637 else 9717 else
9638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9639 /* end confdefs.h. */ 9719 /* end confdefs.h. */
9640 #include <sys/file.h> 9720 #include <sys/file.h>
9641 int 9721 int
9642 main () 9722 main ()
9643 { 9723 {
9644 void* p = flock 9724 void* p = flock
9645 9725
9646 ; 9726 ;
9647 return 0; 9727 return 0;
9648 } 9728 }
9649 _ACEOF 9729 _ACEOF
9650 if ac_fn_c_try_compile "$LINENO"; then : 9730 if ac_fn_c_try_compile "$LINENO"; then :
9651 ac_cv_flock_decl=yes 9731 ac_cv_flock_decl=yes
9652 else 9732 else
9653 ac_cv_flock_decl=no 9733 ac_cv_flock_decl=no
9654 9734
9655 fi 9735 fi
9656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9657 9737
9658 fi 9738 fi
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5 9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5
9660 $as_echo "$ac_cv_flock_decl" >&6; } 9740 $as_echo "$ac_cv_flock_decl" >&6; }
9661 if test "x${ac_cv_flock_decl}" = xyes; then 9741 if test "x${ac_cv_flock_decl}" = xyes; then
9662 for ac_func in flock 9742 for ac_func in flock
9663 do : 9743 do :
9664 ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock" 9744 ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock"
9665 if test "x$ac_cv_func_flock" = x""yes; then : 9745 if test "x$ac_cv_func_flock" = xyes; then :
9666 cat >>confdefs