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.68. |
3 | # Generated by GNU Autoconf 2.67. |
4 | # |
4 | # |
5 | # |
5 | # |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 | # Foundation, Inc. |
8 | # Foundation, Inc. |
… | |
… | |
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 | # splitting by setting IFS to empty value.) |
88 | # splitting by setting IFS to empty value.) |
89 | IFS=" "" $as_nl" |
89 | IFS=" "" $as_nl" |
90 | |
90 | |
91 | # Find who we are. Look in the path if we contain no directory separator. |
91 | # Find who we are. Look in the path if we contain no directory separator. |
92 | as_myself= |
|
|
93 | case $0 in #(( |
92 | case $0 in #(( |
94 | *[\\/]* ) as_myself=$0 ;; |
93 | *[\\/]* ) as_myself=$0 ;; |
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
96 | for as_dir in $PATH |
95 | for as_dir in $PATH |
97 | do |
96 | do |
… | |
… | |
213 | |
212 | |
214 | if test "x$CONFIG_SHELL" != x; then : |
213 | if test "x$CONFIG_SHELL" != x; then : |
215 | # We cannot yet assume a decent shell, so we have to provide a |
214 | # We cannot yet assume a decent shell, so we have to provide a |
216 | # neutralization value for shells without unset; and this also |
215 | # neutralization value for shells without unset; and this also |
217 | # works around shells that cannot unset nonexistent variables. |
216 | # works around shells that cannot unset nonexistent variables. |
218 | # Preserve -v and -x to the replacement shell. |
|
|
219 | BASH_ENV=/dev/null |
217 | BASH_ENV=/dev/null |
220 | ENV=/dev/null |
218 | ENV=/dev/null |
221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
222 | export CONFIG_SHELL |
220 | export CONFIG_SHELL |
223 | case $- in # (((( |
|
|
224 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
225 | *v* ) as_opts=-v ;; |
|
|
226 | *x* ) as_opts=-x ;; |
|
|
227 | * ) as_opts= ;; |
|
|
228 | esac |
|
|
229 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
230 | fi |
222 | fi |
231 | |
223 | |
232 | if test x$as_have_required = xno; then : |
224 | if test x$as_have_required = xno; then : |
233 | $as_echo "$0: This script requires a shell more modern than all" |
225 | $as_echo "$0: This script requires a shell more modern than all" |
234 | $as_echo "$0: the shells that I found on your system." |
226 | $as_echo "$0: the shells that I found on your system." |
… | |
… | |
606 | PERLPRIVLIBEXP |
598 | PERLPRIVLIBEXP |
607 | PERLFLAGS |
599 | PERLFLAGS |
608 | PERLLIB |
600 | PERLLIB |
609 | PERL |
601 | PERL |
610 | XFT_CONFIG |
602 | XFT_CONFIG |
611 | AFTERIMAGE_LIBS |
|
|
612 | AFTERIMAGE_CFLAGS |
|
|
613 | afterimage_config |
|
|
614 | STARTUP_NOTIFICATION_LIBS |
603 | STARTUP_NOTIFICATION_LIBS |
615 | STARTUP_NOTIFICATION_CFLAGS |
604 | STARTUP_NOTIFICATION_CFLAGS |
616 | PIXBUF_LIBS |
605 | PIXBUF_LIBS |
617 | PIXBUF_CFLAGS |
606 | PIXBUF_CFLAGS |
618 | PKG_CONFIG |
607 | PKG_CONFIG |
… | |
… | |
625 | CXXCPP |
614 | CXXCPP |
626 | RXVTNAME |
615 | RXVTNAME |
627 | LINKER |
616 | LINKER |
628 | EGREP |
617 | EGREP |
629 | GREP |
618 | GREP |
|
|
619 | CPP |
630 | INSTALL_DATA |
620 | INSTALL_DATA |
631 | INSTALL_SCRIPT |
621 | INSTALL_SCRIPT |
632 | INSTALL_PROGRAM |
622 | INSTALL_PROGRAM |
633 | CPP |
|
|
634 | ac_ct_CXX |
623 | ac_ct_CXX |
635 | CXXFLAGS |
624 | CXXFLAGS |
636 | CXX |
625 | CXX |
637 | OBJEXT |
626 | OBJEXT |
638 | EXEEXT |
627 | EXEEXT |
… | |
… | |
698 | enable_256_color |
687 | enable_256_color |
699 | enable_unicode3 |
688 | enable_unicode3 |
700 | enable_combining |
689 | enable_combining |
701 | enable_xft |
690 | enable_xft |
702 | enable_font_styles |
691 | enable_font_styles |
703 | enable_afterimage |
|
|
704 | with_afterimage_config |
|
|
705 | enable_pixbuf |
692 | enable_pixbuf |
706 | enable_startup_notification |
693 | enable_startup_notification |
707 | enable_transparency |
694 | enable_transparency |
708 | enable_fading |
695 | enable_fading |
709 | enable_rxvt_scroll |
696 | enable_rxvt_scroll |
… | |
… | |
1153 | *) |
1140 | *) |
1154 | # FIXME: should be removed in autoconf 3.0. |
1141 | # FIXME: should be removed in autoconf 3.0. |
1155 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1142 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1156 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1143 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1157 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1144 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1158 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1145 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1159 | ;; |
1146 | ;; |
1160 | |
1147 | |
1161 | esac |
1148 | esac |
1162 | done |
1149 | done |
1163 | |
1150 | |
… | |
… | |
1375 | --enable-256-color enable 256-color support |
1362 | --enable-256-color enable 256-color support |
1376 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1363 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1377 | --enable-combining enable composition of base and combining characters |
1364 | --enable-combining enable composition of base and combining characters |
1378 | --enable-xft enable xft support on systems that have it |
1365 | --enable-xft enable xft support on systems that have it |
1379 | --enable-font-styles enable bold and italic support |
1366 | --enable-font-styles enable bold and italic support |
1380 | --enable-afterimage enable integration with libAfterImage for background images |
|
|
1381 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1367 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1382 | --enable-startup-notification enable freedesktop startup notification support |
1368 | --enable-startup-notification enable freedesktop startup notification support |
1383 | --enable-transparency enable transparent backgrounds |
1369 | --enable-transparency enable transparent backgrounds |
1384 | --enable-fading enable colors fading when off focus |
1370 | --enable-fading enable colors fading when off focus |
1385 | --enable-rxvt-scroll enable rxvt style scrollbar |
1371 | --enable-rxvt-scroll enable rxvt style scrollbar |
… | |
… | |
1407 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1393 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1408 | |
1394 | |
1409 | Optional Packages: |
1395 | Optional Packages: |
1410 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1396 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1411 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1397 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1412 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
|
|
1413 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1398 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1414 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1399 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1415 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1400 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1416 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1401 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1417 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1402 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1497 | |
1482 | |
1498 | test -n "$ac_init_help" && exit $ac_status |
1483 | test -n "$ac_init_help" && exit $ac_status |
1499 | if $ac_init_version; then |
1484 | if $ac_init_version; then |
1500 | cat <<\_ACEOF |
1485 | cat <<\_ACEOF |
1501 | configure |
1486 | configure |
1502 | generated by GNU Autoconf 2.68 |
1487 | generated by GNU Autoconf 2.67 |
1503 | |
1488 | |
1504 | Copyright (C) 2010 Free Software Foundation, Inc. |
1489 | Copyright (C) 2010 Free Software Foundation, Inc. |
1505 | This configure script is free software; the Free Software Foundation |
1490 | This configure script is free software; the Free Software Foundation |
1506 | gives unlimited permission to copy, distribute and modify it. |
1491 | gives unlimited permission to copy, distribute and modify it. |
1507 | _ACEOF |
1492 | _ACEOF |
… | |
… | |
1543 | $as_echo "$as_me: failed program was:" >&5 |
1528 | $as_echo "$as_me: failed program was:" >&5 |
1544 | sed 's/^/| /' conftest.$ac_ext >&5 |
1529 | sed 's/^/| /' conftest.$ac_ext >&5 |
1545 | |
1530 | |
1546 | ac_retval=1 |
1531 | ac_retval=1 |
1547 | fi |
1532 | fi |
1548 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1533 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1549 | as_fn_set_status $ac_retval |
1534 | as_fn_set_status $ac_retval |
1550 | |
1535 | |
1551 | } # ac_fn_c_try_compile |
1536 | } # ac_fn_c_try_compile |
1552 | |
1537 | |
1553 | # ac_fn_cxx_try_compile LINENO |
1538 | # ac_fn_cxx_try_compile LINENO |
… | |
… | |
1581 | $as_echo "$as_me: failed program was:" >&5 |
1566 | $as_echo "$as_me: failed program was:" >&5 |
1582 | sed 's/^/| /' conftest.$ac_ext >&5 |
1567 | sed 's/^/| /' conftest.$ac_ext >&5 |
1583 | |
1568 | |
1584 | ac_retval=1 |
1569 | ac_retval=1 |
1585 | fi |
1570 | fi |
1586 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1571 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1587 | as_fn_set_status $ac_retval |
1572 | as_fn_set_status $ac_retval |
1588 | |
1573 | |
1589 | } # ac_fn_cxx_try_compile |
1574 | } # ac_fn_cxx_try_compile |
1590 | |
1575 | |
1591 | # ac_fn_c_try_cpp LINENO |
1576 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1618 | $as_echo "$as_me: failed program was:" >&5 |
1603 | $as_echo "$as_me: failed program was:" >&5 |
1619 | sed 's/^/| /' conftest.$ac_ext >&5 |
1604 | sed 's/^/| /' conftest.$ac_ext >&5 |
1620 | |
1605 | |
1621 | ac_retval=1 |
1606 | ac_retval=1 |
1622 | fi |
1607 | fi |
1623 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1608 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1624 | as_fn_set_status $ac_retval |
1609 | as_fn_set_status $ac_retval |
1625 | |
1610 | |
1626 | } # ac_fn_c_try_cpp |
1611 | } # ac_fn_c_try_cpp |
1627 | |
1612 | |
1628 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1613 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1631 | # the include files in INCLUDES and setting the cache variable VAR |
1616 | # the include files in INCLUDES and setting the cache variable VAR |
1632 | # accordingly. |
1617 | # accordingly. |
1633 | ac_fn_c_check_header_mongrel () |
1618 | ac_fn_c_check_header_mongrel () |
1634 | { |
1619 | { |
1635 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1620 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1636 | if eval \${$3+:} false; then : |
1621 | if eval "test \"\${$3+set}\"" = set; then : |
1637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1622 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1638 | $as_echo_n "checking for $2... " >&6; } |
1623 | $as_echo_n "checking for $2... " >&6; } |
1639 | if eval \${$3+:} false; then : |
1624 | if eval "test \"\${$3+set}\"" = set; then : |
1640 | $as_echo_n "(cached) " >&6 |
1625 | $as_echo_n "(cached) " >&6 |
1641 | fi |
1626 | fi |
1642 | eval ac_res=\$$3 |
1627 | eval ac_res=\$$3 |
1643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1644 | $as_echo "$ac_res" >&6; } |
1629 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1697 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1682 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1698 | ;; |
1683 | ;; |
1699 | esac |
1684 | esac |
1700 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1701 | $as_echo_n "checking for $2... " >&6; } |
1686 | $as_echo_n "checking for $2... " >&6; } |
1702 | if eval \${$3+:} false; then : |
1687 | if eval "test \"\${$3+set}\"" = set; then : |
1703 | $as_echo_n "(cached) " >&6 |
1688 | $as_echo_n "(cached) " >&6 |
1704 | else |
1689 | else |
1705 | eval "$3=\$ac_header_compiler" |
1690 | eval "$3=\$ac_header_compiler" |
1706 | fi |
1691 | fi |
1707 | eval ac_res=\$$3 |
1692 | eval ac_res=\$$3 |
1708 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1709 | $as_echo "$ac_res" >&6; } |
1694 | $as_echo "$ac_res" >&6; } |
1710 | fi |
1695 | fi |
1711 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1696 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1712 | |
1697 | |
1713 | } # ac_fn_c_check_header_mongrel |
1698 | } # ac_fn_c_check_header_mongrel |
1714 | |
1699 | |
1715 | # ac_fn_c_try_run LINENO |
1700 | # ac_fn_c_try_run LINENO |
1716 | # ---------------------- |
1701 | # ---------------------- |
… | |
… | |
1747 | sed 's/^/| /' conftest.$ac_ext >&5 |
1732 | sed 's/^/| /' conftest.$ac_ext >&5 |
1748 | |
1733 | |
1749 | ac_retval=$ac_status |
1734 | ac_retval=$ac_status |
1750 | fi |
1735 | fi |
1751 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1736 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1752 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1737 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1753 | as_fn_set_status $ac_retval |
1738 | as_fn_set_status $ac_retval |
1754 | |
1739 | |
1755 | } # ac_fn_c_try_run |
1740 | } # ac_fn_c_try_run |
1756 | |
1741 | |
1757 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1742 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1761 | ac_fn_c_check_header_compile () |
1746 | ac_fn_c_check_header_compile () |
1762 | { |
1747 | { |
1763 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1748 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1764 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1765 | $as_echo_n "checking for $2... " >&6; } |
1750 | $as_echo_n "checking for $2... " >&6; } |
1766 | if eval \${$3+:} false; then : |
1751 | if eval "test \"\${$3+set}\"" = set; then : |
1767 | $as_echo_n "(cached) " >&6 |
1752 | $as_echo_n "(cached) " >&6 |
1768 | else |
1753 | else |
1769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1754 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1770 | /* end confdefs.h. */ |
1755 | /* end confdefs.h. */ |
1771 | $4 |
1756 | $4 |
… | |
… | |
1779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1764 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1780 | fi |
1765 | fi |
1781 | eval ac_res=\$$3 |
1766 | eval ac_res=\$$3 |
1782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1767 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1783 | $as_echo "$ac_res" >&6; } |
1768 | $as_echo "$ac_res" >&6; } |
1784 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1769 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1785 | |
1770 | |
1786 | } # ac_fn_c_check_header_compile |
1771 | } # ac_fn_c_check_header_compile |
1787 | |
1772 | |
1788 | # ac_fn_c_try_link LINENO |
1773 | # ac_fn_c_try_link LINENO |
1789 | # ----------------------- |
1774 | # ----------------------- |
… | |
… | |
1824 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1809 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1825 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1810 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1826 | # interfere with the next link command; also delete a directory that is |
1811 | # interfere with the next link command; also delete a directory that is |
1827 | # left behind by Apple's compiler. We do this before executing the actions. |
1812 | # left behind by Apple's compiler. We do this before executing the actions. |
1828 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1813 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1829 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1814 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1830 | as_fn_set_status $ac_retval |
1815 | as_fn_set_status $ac_retval |
1831 | |
1816 | |
1832 | } # ac_fn_c_try_link |
1817 | } # ac_fn_c_try_link |
1833 | |
1818 | |
1834 | # ac_fn_cxx_try_link LINENO |
1819 | # ac_fn_cxx_try_link LINENO |
… | |
… | |
1870 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1855 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1871 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1856 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1872 | # interfere with the next link command; also delete a directory that is |
1857 | # interfere with the next link command; also delete a directory that is |
1873 | # left behind by Apple's compiler. We do this before executing the actions. |
1858 | # left behind by Apple's compiler. We do this before executing the actions. |
1874 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1859 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1875 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1860 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1876 | as_fn_set_status $ac_retval |
1861 | as_fn_set_status $ac_retval |
1877 | |
1862 | |
1878 | } # ac_fn_cxx_try_link |
1863 | } # ac_fn_cxx_try_link |
1879 | |
1864 | |
1880 | # ac_fn_cxx_try_cpp LINENO |
1865 | # ac_fn_cxx_try_cpp LINENO |
… | |
… | |
1907 | $as_echo "$as_me: failed program was:" >&5 |
1892 | $as_echo "$as_me: failed program was:" >&5 |
1908 | sed 's/^/| /' conftest.$ac_ext >&5 |
1893 | sed 's/^/| /' conftest.$ac_ext >&5 |
1909 | |
1894 | |
1910 | ac_retval=1 |
1895 | ac_retval=1 |
1911 | fi |
1896 | fi |
1912 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1897 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1913 | as_fn_set_status $ac_retval |
1898 | as_fn_set_status $ac_retval |
1914 | |
1899 | |
1915 | } # ac_fn_cxx_try_cpp |
1900 | } # ac_fn_cxx_try_cpp |
1916 | |
1901 | |
1917 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1902 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1920 | # the include files in INCLUDES and setting the cache variable VAR |
1905 | # the include files in INCLUDES and setting the cache variable VAR |
1921 | # accordingly. |
1906 | # accordingly. |
1922 | ac_fn_cxx_check_header_mongrel () |
1907 | ac_fn_cxx_check_header_mongrel () |
1923 | { |
1908 | { |
1924 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1909 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1925 | if eval \${$3+:} false; then : |
1910 | if eval "test \"\${$3+set}\"" = set; then : |
1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1927 | $as_echo_n "checking for $2... " >&6; } |
1912 | $as_echo_n "checking for $2... " >&6; } |
1928 | if eval \${$3+:} false; then : |
1913 | if eval "test \"\${$3+set}\"" = set; then : |
1929 | $as_echo_n "(cached) " >&6 |
1914 | $as_echo_n "(cached) " >&6 |
1930 | fi |
1915 | fi |
1931 | eval ac_res=\$$3 |
1916 | eval ac_res=\$$3 |
1932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1917 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1933 | $as_echo "$ac_res" >&6; } |
1918 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1986 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1971 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1987 | ;; |
1972 | ;; |
1988 | esac |
1973 | esac |
1989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1974 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1990 | $as_echo_n "checking for $2... " >&6; } |
1975 | $as_echo_n "checking for $2... " >&6; } |
1991 | if eval \${$3+:} false; then : |
1976 | if eval "test \"\${$3+set}\"" = set; then : |
1992 | $as_echo_n "(cached) " >&6 |
1977 | $as_echo_n "(cached) " >&6 |
1993 | else |
1978 | else |
1994 | eval "$3=\$ac_header_compiler" |
1979 | eval "$3=\$ac_header_compiler" |
1995 | fi |
1980 | fi |
1996 | eval ac_res=\$$3 |
1981 | eval ac_res=\$$3 |
1997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1982 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1998 | $as_echo "$ac_res" >&6; } |
1983 | $as_echo "$ac_res" >&6; } |
1999 | fi |
1984 | fi |
2000 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1985 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2001 | |
1986 | |
2002 | } # ac_fn_cxx_check_header_mongrel |
1987 | } # ac_fn_cxx_check_header_mongrel |
2003 | |
1988 | |
2004 | # ac_fn_cxx_check_func LINENO FUNC VAR |
1989 | # ac_fn_cxx_check_func LINENO FUNC VAR |
2005 | # ------------------------------------ |
1990 | # ------------------------------------ |
… | |
… | |
2007 | ac_fn_cxx_check_func () |
1992 | ac_fn_cxx_check_func () |
2008 | { |
1993 | { |
2009 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1994 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1995 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2011 | $as_echo_n "checking for $2... " >&6; } |
1996 | $as_echo_n "checking for $2... " >&6; } |
2012 | if eval \${$3+:} false; then : |
1997 | if eval "test \"\${$3+set}\"" = set; then : |
2013 | $as_echo_n "(cached) " >&6 |
1998 | $as_echo_n "(cached) " >&6 |
2014 | else |
1999 | else |
2015 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2000 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2016 | /* end confdefs.h. */ |
2001 | /* end confdefs.h. */ |
2017 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2002 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
… | |
… | |
2062 | conftest$ac_exeext conftest.$ac_ext |
2047 | conftest$ac_exeext conftest.$ac_ext |
2063 | fi |
2048 | fi |
2064 | eval ac_res=\$$3 |
2049 | eval ac_res=\$$3 |
2065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2066 | $as_echo "$ac_res" >&6; } |
2051 | $as_echo "$ac_res" >&6; } |
2067 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2052 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2068 | |
2053 | |
2069 | } # ac_fn_cxx_check_func |
2054 | } # ac_fn_cxx_check_func |
2070 | |
2055 | |
2071 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2056 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2072 | # --------------------------------------------- |
2057 | # --------------------------------------------- |
… | |
… | |
2075 | ac_fn_cxx_check_type () |
2060 | ac_fn_cxx_check_type () |
2076 | { |
2061 | { |
2077 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2062 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2078 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2079 | $as_echo_n "checking for $2... " >&6; } |
2064 | $as_echo_n "checking for $2... " >&6; } |
2080 | if eval \${$3+:} false; then : |
2065 | if eval "test \"\${$3+set}\"" = set; then : |
2081 | $as_echo_n "(cached) " >&6 |
2066 | $as_echo_n "(cached) " >&6 |
2082 | else |
2067 | else |
2083 | eval "$3=no" |
2068 | eval "$3=no" |
2084 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2085 | /* end confdefs.h. */ |
2070 | /* end confdefs.h. */ |
… | |
… | |
2116 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2101 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2117 | fi |
2102 | fi |
2118 | eval ac_res=\$$3 |
2103 | eval ac_res=\$$3 |
2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2120 | $as_echo "$ac_res" >&6; } |
2105 | $as_echo "$ac_res" >&6; } |
2121 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2106 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2122 | |
2107 | |
2123 | } # ac_fn_cxx_check_type |
2108 | } # ac_fn_cxx_check_type |
2124 | |
2109 | |
2125 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2110 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2126 | # ----------------------------------- |
2111 | # ----------------------------------- |
… | |
… | |
2129 | ac_fn_c_find_intX_t () |
2114 | ac_fn_c_find_intX_t () |
2130 | { |
2115 | { |
2131 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2116 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2133 | $as_echo_n "checking for int$2_t... " >&6; } |
2118 | $as_echo_n "checking for int$2_t... " >&6; } |
2134 | if eval \${$3+:} false; then : |
2119 | if eval "test \"\${$3+set}\"" = set; then : |
2135 | $as_echo_n "(cached) " >&6 |
2120 | $as_echo_n "(cached) " >&6 |
2136 | else |
2121 | else |
2137 | eval "$3=no" |
2122 | eval "$3=no" |
2138 | # Order is important - never check a type that is potentially smaller |
2123 | # Order is important - never check a type that is potentially smaller |
2139 | # than half of the expected target width. |
2124 | # than half of the expected target width. |
… | |
… | |
2190 | done |
2175 | done |
2191 | fi |
2176 | fi |
2192 | eval ac_res=\$$3 |
2177 | eval ac_res=\$$3 |
2193 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2194 | $as_echo "$ac_res" >&6; } |
2179 | $as_echo "$ac_res" >&6; } |
2195 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2180 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2196 | |
2181 | |
2197 | } # ac_fn_c_find_intX_t |
2182 | } # ac_fn_c_find_intX_t |
2198 | |
2183 | |
2199 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2184 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2200 | # ------------------------------------ |
2185 | # ------------------------------------ |
… | |
… | |
2203 | ac_fn_c_find_uintX_t () |
2188 | ac_fn_c_find_uintX_t () |
2204 | { |
2189 | { |
2205 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2190 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2206 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2191 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2207 | $as_echo_n "checking for uint$2_t... " >&6; } |
2192 | $as_echo_n "checking for uint$2_t... " >&6; } |
2208 | if eval \${$3+:} false; then : |
2193 | if eval "test \"\${$3+set}\"" = set; then : |
2209 | $as_echo_n "(cached) " >&6 |
2194 | $as_echo_n "(cached) " >&6 |
2210 | else |
2195 | else |
2211 | eval "$3=no" |
2196 | eval "$3=no" |
2212 | # Order is important - never check a type that is potentially smaller |
2197 | # Order is important - never check a type that is potentially smaller |
2213 | # than half of the expected target width. |
2198 | # than half of the expected target width. |
… | |
… | |
2243 | done |
2228 | done |
2244 | fi |
2229 | fi |
2245 | eval ac_res=\$$3 |
2230 | eval ac_res=\$$3 |
2246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2247 | $as_echo "$ac_res" >&6; } |
2232 | $as_echo "$ac_res" >&6; } |
2248 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2233 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2249 | |
2234 | |
2250 | } # ac_fn_c_find_uintX_t |
2235 | } # ac_fn_c_find_uintX_t |
2251 | |
2236 | |
2252 | # ac_fn_cxx_try_run LINENO |
2237 | # ac_fn_cxx_try_run LINENO |
2253 | # ------------------------ |
2238 | # ------------------------ |
… | |
… | |
2284 | sed 's/^/| /' conftest.$ac_ext >&5 |
2269 | sed 's/^/| /' conftest.$ac_ext >&5 |
2285 | |
2270 | |
2286 | ac_retval=$ac_status |
2271 | ac_retval=$ac_status |
2287 | fi |
2272 | fi |
2288 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2273 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2289 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2274 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2290 | as_fn_set_status $ac_retval |
2275 | as_fn_set_status $ac_retval |
2291 | |
2276 | |
2292 | } # ac_fn_cxx_try_run |
2277 | } # ac_fn_cxx_try_run |
2293 | cat >config.log <<_ACEOF |
2278 | cat >config.log <<_ACEOF |
2294 | This file contains any messages produced by compilers while |
2279 | This file contains any messages produced by compilers while |
2295 | running configure, to aid debugging if configure makes a mistake. |
2280 | running configure, to aid debugging if configure makes a mistake. |
2296 | |
2281 | |
2297 | It was created by $as_me, which was |
2282 | It was created by $as_me, which was |
2298 | generated by GNU Autoconf 2.68. Invocation command line was |
2283 | generated by GNU Autoconf 2.67. Invocation command line was |
2299 | |
2284 | |
2300 | $ $0 $@ |
2285 | $ $0 $@ |
2301 | |
2286 | |
2302 | _ACEOF |
2287 | _ACEOF |
2303 | exec 5>>config.log |
2288 | exec 5>>config.log |
… | |
… | |
2551 | sed 's/^/| /' "$ac_site_file" >&5 |
2536 | sed 's/^/| /' "$ac_site_file" >&5 |
2552 | . "$ac_site_file" \ |
2537 | . "$ac_site_file" \ |
2553 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2538 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2554 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2539 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2555 | as_fn_error $? "failed to load site script $ac_site_file |
2540 | as_fn_error $? "failed to load site script $ac_site_file |
2556 | See \`config.log' for more details" "$LINENO" 5; } |
2541 | See \`config.log' for more details" "$LINENO" 5 ; } |
2557 | fi |
2542 | fi |
2558 | done |
2543 | done |
2559 | |
2544 | |
2560 | if test -r "$cache_file"; then |
2545 | if test -r "$cache_file"; then |
2561 | # Some versions of bash will fail to source /dev/null (special files |
2546 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2680 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2665 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2681 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2666 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2682 | |
2667 | |
2683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2684 | $as_echo_n "checking build system type... " >&6; } |
2669 | $as_echo_n "checking build system type... " >&6; } |
2685 | if ${ac_cv_build+:} false; then : |
2670 | if test "${ac_cv_build+set}" = set; then : |
2686 | $as_echo_n "(cached) " >&6 |
2671 | $as_echo_n "(cached) " >&6 |
2687 | else |
2672 | else |
2688 | ac_build_alias=$build_alias |
2673 | ac_build_alias=$build_alias |
2689 | test "x$ac_build_alias" = x && |
2674 | test "x$ac_build_alias" = x && |
2690 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2675 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
… | |
… | |
2696 | fi |
2681 | fi |
2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2698 | $as_echo "$ac_cv_build" >&6; } |
2683 | $as_echo "$ac_cv_build" >&6; } |
2699 | case $ac_cv_build in |
2684 | case $ac_cv_build in |
2700 | *-*-*) ;; |
2685 | *-*-*) ;; |
2701 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2686 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2702 | esac |
2687 | esac |
2703 | build=$ac_cv_build |
2688 | build=$ac_cv_build |
2704 | ac_save_IFS=$IFS; IFS='-' |
2689 | ac_save_IFS=$IFS; IFS='-' |
2705 | set x $ac_cv_build |
2690 | set x $ac_cv_build |
2706 | shift |
2691 | shift |
… | |
… | |
2714 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2699 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2715 | |
2700 | |
2716 | |
2701 | |
2717 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2702 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2718 | $as_echo_n "checking host system type... " >&6; } |
2703 | $as_echo_n "checking host system type... " >&6; } |
2719 | if ${ac_cv_host+:} false; then : |
2704 | if test "${ac_cv_host+set}" = set; then : |
2720 | $as_echo_n "(cached) " >&6 |
2705 | $as_echo_n "(cached) " >&6 |
2721 | else |
2706 | else |
2722 | if test "x$host_alias" = x; then |
2707 | if test "x$host_alias" = x; then |
2723 | ac_cv_host=$ac_cv_build |
2708 | ac_cv_host=$ac_cv_build |
2724 | else |
2709 | else |
… | |
… | |
2729 | fi |
2714 | fi |
2730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2731 | $as_echo "$ac_cv_host" >&6; } |
2716 | $as_echo "$ac_cv_host" >&6; } |
2732 | case $ac_cv_host in |
2717 | case $ac_cv_host in |
2733 | *-*-*) ;; |
2718 | *-*-*) ;; |
2734 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2719 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2735 | esac |
2720 | esac |
2736 | host=$ac_cv_host |
2721 | host=$ac_cv_host |
2737 | ac_save_IFS=$IFS; IFS='-' |
2722 | ac_save_IFS=$IFS; IFS='-' |
2738 | set x $ac_cv_host |
2723 | set x $ac_cv_host |
2739 | shift |
2724 | shift |
… | |
… | |
2746 | IFS=$ac_save_IFS |
2731 | IFS=$ac_save_IFS |
2747 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2732 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2748 | |
2733 | |
2749 | |
2734 | |
2750 | |
2735 | |
2751 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2736 | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2752 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2737 | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2753 | |
2738 | |
2754 | echo "" |
2739 | echo "" |
2755 | echo "configuring for rxvt $VERSION" |
2740 | echo "configuring for rxvt $VERSION" |
2756 | echo "" |
2741 | echo "" |
2757 | |
2742 | |
… | |
… | |
2765 | if test -n "$ac_tool_prefix"; then |
2750 | if test -n "$ac_tool_prefix"; then |
2766 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2751 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2767 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2752 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2768 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2753 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2769 | $as_echo_n "checking for $ac_word... " >&6; } |
2754 | $as_echo_n "checking for $ac_word... " >&6; } |
2770 | if ${ac_cv_prog_CC+:} false; then : |
2755 | if test "${ac_cv_prog_CC+set}" = set; then : |
2771 | $as_echo_n "(cached) " >&6 |
2756 | $as_echo_n "(cached) " >&6 |
2772 | else |
2757 | else |
2773 | if test -n "$CC"; then |
2758 | if test -n "$CC"; then |
2774 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2759 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2775 | else |
2760 | else |
… | |
… | |
2805 | ac_ct_CC=$CC |
2790 | ac_ct_CC=$CC |
2806 | # Extract the first word of "gcc", so it can be a program name with args. |
2791 | # Extract the first word of "gcc", so it can be a program name with args. |
2807 | set dummy gcc; ac_word=$2 |
2792 | set dummy gcc; ac_word=$2 |
2808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2793 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2809 | $as_echo_n "checking for $ac_word... " >&6; } |
2794 | $as_echo_n "checking for $ac_word... " >&6; } |
2810 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2795 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2811 | $as_echo_n "(cached) " >&6 |
2796 | $as_echo_n "(cached) " >&6 |
2812 | else |
2797 | else |
2813 | if test -n "$ac_ct_CC"; then |
2798 | if test -n "$ac_ct_CC"; then |
2814 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2799 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2815 | else |
2800 | else |
… | |
… | |
2858 | if test -n "$ac_tool_prefix"; then |
2843 | if test -n "$ac_tool_prefix"; then |
2859 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2844 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2860 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2845 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2861 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2846 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2862 | $as_echo_n "checking for $ac_word... " >&6; } |
2847 | $as_echo_n "checking for $ac_word... " >&6; } |
2863 | if ${ac_cv_prog_CC+:} false; then : |
2848 | if test "${ac_cv_prog_CC+set}" = set; then : |
2864 | $as_echo_n "(cached) " >&6 |
2849 | $as_echo_n "(cached) " >&6 |
2865 | else |
2850 | else |
2866 | if test -n "$CC"; then |
2851 | if test -n "$CC"; then |
2867 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2852 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2868 | else |
2853 | else |
… | |
… | |
2898 | if test -z "$CC"; then |
2883 | if test -z "$CC"; then |
2899 | # Extract the first word of "cc", so it can be a program name with args. |
2884 | # Extract the first word of "cc", so it can be a program name with args. |
2900 | set dummy cc; ac_word=$2 |
2885 | set dummy cc; ac_word=$2 |
2901 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2886 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2902 | $as_echo_n "checking for $ac_word... " >&6; } |
2887 | $as_echo_n "checking for $ac_word... " >&6; } |
2903 | if ${ac_cv_prog_CC+:} false; then : |
2888 | if test "${ac_cv_prog_CC+set}" = set; then : |
2904 | $as_echo_n "(cached) " >&6 |
2889 | $as_echo_n "(cached) " >&6 |
2905 | else |
2890 | else |
2906 | if test -n "$CC"; then |
2891 | if test -n "$CC"; then |
2907 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2892 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2908 | else |
2893 | else |
… | |
… | |
2957 | do |
2942 | do |
2958 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2943 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2959 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2944 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2960 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2945 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2961 | $as_echo_n "checking for $ac_word... " >&6; } |
2946 | $as_echo_n "checking for $ac_word... " >&6; } |
2962 | if ${ac_cv_prog_CC+:} false; then : |
2947 | if test "${ac_cv_prog_CC+set}" = set; then : |
2963 | $as_echo_n "(cached) " >&6 |
2948 | $as_echo_n "(cached) " >&6 |
2964 | else |
2949 | else |
2965 | if test -n "$CC"; then |
2950 | if test -n "$CC"; then |
2966 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2951 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2967 | else |
2952 | else |
… | |
… | |
3001 | do |
2986 | do |
3002 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2987 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3003 | set dummy $ac_prog; ac_word=$2 |
2988 | set dummy $ac_prog; ac_word=$2 |
3004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3005 | $as_echo_n "checking for $ac_word... " >&6; } |
2990 | $as_echo_n "checking for $ac_word... " >&6; } |
3006 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2991 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3007 | $as_echo_n "(cached) " >&6 |
2992 | $as_echo_n "(cached) " >&6 |
3008 | else |
2993 | else |
3009 | if test -n "$ac_ct_CC"; then |
2994 | if test -n "$ac_ct_CC"; then |
3010 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2995 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3011 | else |
2996 | else |
… | |
… | |
3056 | |
3041 | |
3057 | |
3042 | |
3058 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3043 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3059 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3044 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3060 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3045 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3061 | See \`config.log' for more details" "$LINENO" 5; } |
3046 | See \`config.log' for more details" "$LINENO" 5 ; } |
3062 | |
3047 | |
3063 | # Provide some information about the compiler. |
3048 | # Provide some information about the compiler. |
3064 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3049 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3065 | set X $ac_compile |
3050 | set X $ac_compile |
3066 | ac_compiler=$2 |
3051 | ac_compiler=$2 |
… | |
… | |
3171 | sed 's/^/| /' conftest.$ac_ext >&5 |
3156 | sed 's/^/| /' conftest.$ac_ext >&5 |
3172 | |
3157 | |
3173 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3158 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3174 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3159 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3175 | as_fn_error 77 "C compiler cannot create executables |
3160 | as_fn_error 77 "C compiler cannot create executables |
3176 | See \`config.log' for more details" "$LINENO" 5; } |
3161 | See \`config.log' for more details" "$LINENO" 5 ; } |
3177 | else |
3162 | else |
3178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3163 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3179 | $as_echo "yes" >&6; } |
3164 | $as_echo "yes" >&6; } |
3180 | fi |
3165 | fi |
3181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3214 | done |
3199 | done |
3215 | else |
3200 | else |
3216 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3201 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3217 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3202 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3218 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3203 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3219 | See \`config.log' for more details" "$LINENO" 5; } |
3204 | See \`config.log' for more details" "$LINENO" 5 ; } |
3220 | fi |
3205 | fi |
3221 | rm -f conftest conftest$ac_cv_exeext |
3206 | rm -f conftest conftest$ac_cv_exeext |
3222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3223 | $as_echo "$ac_cv_exeext" >&6; } |
3208 | $as_echo "$ac_cv_exeext" >&6; } |
3224 | |
3209 | |
… | |
… | |
3273 | else |
3258 | else |
3274 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3259 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3275 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3260 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3276 | as_fn_error $? "cannot run C compiled programs. |
3261 | as_fn_error $? "cannot run C compiled programs. |
3277 | If you meant to cross compile, use \`--host'. |
3262 | If you meant to cross compile, use \`--host'. |
3278 | See \`config.log' for more details" "$LINENO" 5; } |
3263 | See \`config.log' for more details" "$LINENO" 5 ; } |
3279 | fi |
3264 | fi |
3280 | fi |
3265 | fi |
3281 | fi |
3266 | fi |
3282 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3267 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3283 | $as_echo "$cross_compiling" >&6; } |
3268 | $as_echo "$cross_compiling" >&6; } |
3284 | |
3269 | |
3285 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3270 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3286 | ac_clean_files=$ac_clean_files_save |
3271 | ac_clean_files=$ac_clean_files_save |
3287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3288 | $as_echo_n "checking for suffix of object files... " >&6; } |
3273 | $as_echo_n "checking for suffix of object files... " >&6; } |
3289 | if ${ac_cv_objext+:} false; then : |
3274 | if test "${ac_cv_objext+set}" = set; then : |
3290 | $as_echo_n "(cached) " >&6 |
3275 | $as_echo_n "(cached) " >&6 |
3291 | else |
3276 | else |
3292 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3293 | /* end confdefs.h. */ |
3278 | /* end confdefs.h. */ |
3294 | |
3279 | |
… | |
… | |
3325 | sed 's/^/| /' conftest.$ac_ext >&5 |
3310 | sed 's/^/| /' conftest.$ac_ext >&5 |
3326 | |
3311 | |
3327 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3312 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3328 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3313 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3329 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3314 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3330 | See \`config.log' for more details" "$LINENO" 5; } |
3315 | See \`config.log' for more details" "$LINENO" 5 ; } |
3331 | fi |
3316 | fi |
3332 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3317 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3333 | fi |
3318 | fi |
3334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3335 | $as_echo "$ac_cv_objext" >&6; } |
3320 | $as_echo "$ac_cv_objext" >&6; } |
3336 | OBJEXT=$ac_cv_objext |
3321 | OBJEXT=$ac_cv_objext |
3337 | ac_objext=$OBJEXT |
3322 | ac_objext=$OBJEXT |
3338 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3339 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3324 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3340 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3325 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3341 | $as_echo_n "(cached) " >&6 |
3326 | $as_echo_n "(cached) " >&6 |
3342 | else |
3327 | else |
3343 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3328 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3344 | /* end confdefs.h. */ |
3329 | /* end confdefs.h. */ |
3345 | |
3330 | |
… | |
… | |
3372 | fi |
3357 | fi |
3373 | ac_test_CFLAGS=${CFLAGS+set} |
3358 | ac_test_CFLAGS=${CFLAGS+set} |
3374 | ac_save_CFLAGS=$CFLAGS |
3359 | ac_save_CFLAGS=$CFLAGS |
3375 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3376 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3361 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3377 | if ${ac_cv_prog_cc_g+:} false; then : |
3362 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
3378 | $as_echo_n "(cached) " >&6 |
3363 | $as_echo_n "(cached) " >&6 |
3379 | else |
3364 | else |
3380 | ac_save_c_werror_flag=$ac_c_werror_flag |
3365 | ac_save_c_werror_flag=$ac_c_werror_flag |
3381 | ac_c_werror_flag=yes |
3366 | ac_c_werror_flag=yes |
3382 | ac_cv_prog_cc_g=no |
3367 | ac_cv_prog_cc_g=no |
… | |
… | |
3450 | CFLAGS= |
3435 | CFLAGS= |
3451 | fi |
3436 | fi |
3452 | fi |
3437 | fi |
3453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3454 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3439 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3455 | if ${ac_cv_prog_cc_c89+:} false; then : |
3440 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3456 | $as_echo_n "(cached) " >&6 |
3441 | $as_echo_n "(cached) " >&6 |
3457 | else |
3442 | else |
3458 | ac_cv_prog_cc_c89=no |
3443 | ac_cv_prog_cc_c89=no |
3459 | ac_save_CC=$CC |
3444 | ac_save_CC=$CC |
3460 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3445 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
3561 | do |
3546 | do |
3562 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3547 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3563 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3548 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3549 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3565 | $as_echo_n "checking for $ac_word... " >&6; } |
3550 | $as_echo_n "checking for $ac_word... " >&6; } |
3566 | if ${ac_cv_prog_CXX+:} false; then : |
3551 | if test "${ac_cv_prog_CXX+set}" = set; then : |
3567 | $as_echo_n "(cached) " >&6 |
3552 | $as_echo_n "(cached) " >&6 |
3568 | else |
3553 | else |
3569 | if test -n "$CXX"; then |
3554 | if test -n "$CXX"; then |
3570 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3555 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3571 | else |
3556 | else |
… | |
… | |
3605 | do |
3590 | do |
3606 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3591 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3607 | set dummy $ac_prog; ac_word=$2 |
3592 | set dummy $ac_prog; ac_word=$2 |
3608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3593 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3609 | $as_echo_n "checking for $ac_word... " >&6; } |
3594 | $as_echo_n "checking for $ac_word... " >&6; } |
3610 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3595 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
3611 | $as_echo_n "(cached) " >&6 |
3596 | $as_echo_n "(cached) " >&6 |
3612 | else |
3597 | else |
3613 | if test -n "$ac_ct_CXX"; then |
3598 | if test -n "$ac_ct_CXX"; then |
3614 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3599 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3615 | else |
3600 | else |
… | |
… | |
3683 | test $ac_status = 0; } |
3668 | test $ac_status = 0; } |
3684 | done |
3669 | done |
3685 | |
3670 | |
3686 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3671 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3687 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3672 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3688 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
3673 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
3689 | $as_echo_n "(cached) " >&6 |
3674 | $as_echo_n "(cached) " >&6 |
3690 | else |
3675 | else |
3691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3676 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3692 | /* end confdefs.h. */ |
3677 | /* end confdefs.h. */ |
3693 | |
3678 | |
… | |
… | |
3720 | fi |
3705 | fi |
3721 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3706 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3722 | ac_save_CXXFLAGS=$CXXFLAGS |
3707 | ac_save_CXXFLAGS=$CXXFLAGS |
3723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3724 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3709 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3725 | if ${ac_cv_prog_cxx_g+:} false; then : |
3710 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
3726 | $as_echo_n "(cached) " >&6 |
3711 | $as_echo_n "(cached) " >&6 |
3727 | else |
3712 | else |
3728 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3713 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3729 | ac_cxx_werror_flag=yes |
3714 | ac_cxx_werror_flag=yes |
3730 | ac_cv_prog_cxx_g=no |
3715 | ac_cv_prog_cxx_g=no |
… | |
… | |
3796 | CXXFLAGS="-O2" |
3781 | CXXFLAGS="-O2" |
3797 | else |
3782 | else |
3798 | CXXFLAGS= |
3783 | CXXFLAGS= |
3799 | fi |
3784 | fi |
3800 | fi |
3785 | fi |
3801 | ac_ext=c |
|
|
3802 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3803 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3804 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3805 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3806 | |
|
|
3807 | ac_ext=c |
|
|
3808 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3809 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3810 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3811 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3812 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3813 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3814 | # On Suns, sometimes $CPP names a directory. |
|
|
3815 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3816 | CPP= |
|
|
3817 | fi |
|
|
3818 | if test -z "$CPP"; then |
|
|
3819 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
3820 | $as_echo_n "(cached) " >&6 |
|
|
3821 | else |
|
|
3822 | # Double quotes because CPP needs to be expanded |
|
|
3823 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3824 | do |
|
|
3825 | ac_preproc_ok=false |
|
|
3826 | for ac_c_preproc_warn_flag in '' yes |
|
|
3827 | do |
|
|
3828 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3829 | # with a fresh cross-compiler works. |
|
|
3830 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3831 | # <limits.h> exists even on freestanding compilers. |
|
|
3832 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3833 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3834 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3835 | /* end confdefs.h. */ |
|
|
3836 | #ifdef __STDC__ |
|
|
3837 | # include <limits.h> |
|
|
3838 | #else |
|
|
3839 | # include <assert.h> |
|
|
3840 | #endif |
|
|
3841 | Syntax error |
|
|
3842 | _ACEOF |
|
|
3843 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3844 | |
|
|
3845 | else |
|
|
3846 | # Broken: fails on valid input. |
|
|
3847 | continue |
|
|
3848 | fi |
|
|
3849 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3850 | |
|
|
3851 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3852 | # can be detected and how. |
|
|
3853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3854 | /* end confdefs.h. */ |
|
|
3855 | #include <ac_nonexistent.h> |
|
|
3856 | _ACEOF |
|
|
3857 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3858 | # Broken: success on invalid input. |
|
|
3859 | continue |
|
|
3860 | else |
|
|
3861 | # Passes both tests. |
|
|
3862 | ac_preproc_ok=: |
|
|
3863 | break |
|
|
3864 | fi |
|
|
3865 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3866 | |
|
|
3867 | done |
|
|
3868 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3869 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3870 | if $ac_preproc_ok; then : |
|
|
3871 | break |
|
|
3872 | fi |
|
|
3873 | |
|
|
3874 | done |
|
|
3875 | ac_cv_prog_CPP=$CPP |
|
|
3876 | |
|
|
3877 | fi |
|
|
3878 | CPP=$ac_cv_prog_CPP |
|
|
3879 | else |
|
|
3880 | ac_cv_prog_CPP=$CPP |
|
|
3881 | fi |
|
|
3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3883 | $as_echo "$CPP" >&6; } |
|
|
3884 | ac_preproc_ok=false |
|
|
3885 | for ac_c_preproc_warn_flag in '' yes |
|
|
3886 | do |
|
|
3887 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3888 | # with a fresh cross-compiler works. |
|
|
3889 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3890 | # <limits.h> exists even on freestanding compilers. |
|
|
3891 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3892 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3894 | /* end confdefs.h. */ |
|
|
3895 | #ifdef __STDC__ |
|
|
3896 | # include <limits.h> |
|
|
3897 | #else |
|
|
3898 | # include <assert.h> |
|
|
3899 | #endif |
|
|
3900 | Syntax error |
|
|
3901 | _ACEOF |
|
|
3902 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3903 | |
|
|
3904 | else |
|
|
3905 | # Broken: fails on valid input. |
|
|
3906 | continue |
|
|
3907 | fi |
|
|
3908 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3909 | |
|
|
3910 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3911 | # can be detected and how. |
|
|
3912 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3913 | /* end confdefs.h. */ |
|
|
3914 | #include <ac_nonexistent.h> |
|
|
3915 | _ACEOF |
|
|
3916 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3917 | # Broken: success on invalid input. |
|
|
3918 | continue |
|
|
3919 | else |
|
|
3920 | # Passes both tests. |
|
|
3921 | ac_preproc_ok=: |
|
|
3922 | break |
|
|
3923 | fi |
|
|
3924 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3925 | |
|
|
3926 | done |
|
|
3927 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3928 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3929 | if $ac_preproc_ok; then : |
|
|
3930 | |
|
|
3931 | else |
|
|
3932 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3933 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3934 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
3935 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3936 | fi |
|
|
3937 | |
|
|
3938 | ac_ext=c |
3786 | ac_ext=c |
3939 | ac_cpp='$CPP $CPPFLAGS' |
3787 | ac_cpp='$CPP $CPPFLAGS' |
3940 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3788 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3941 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3789 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3942 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3790 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3956 | # ./install, which can be erroneously created by make from ./install.sh. |
3804 | # ./install, which can be erroneously created by make from ./install.sh. |
3957 | # Reject install programs that cannot install multiple files. |
3805 | # Reject install programs that cannot install multiple files. |
3958 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3806 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3959 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3807 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3960 | if test -z "$INSTALL"; then |
3808 | if test -z "$INSTALL"; then |
3961 | if ${ac_cv_path_install+:} false; then : |
3809 | if test "${ac_cv_path_install+set}" = set; then : |
3962 | $as_echo_n "(cached) " >&6 |
3810 | $as_echo_n "(cached) " >&6 |
3963 | else |
3811 | else |
3964 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3812 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3965 | for as_dir in $PATH |
3813 | for as_dir in $PATH |
3966 | do |
3814 | do |
… | |
… | |
4034 | |
3882 | |
4035 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3883 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4036 | |
3884 | |
4037 | |
3885 | |
4038 | |
3886 | |
|
|
3887 | ac_ext=c |
|
|
3888 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3889 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3890 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3891 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3893 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3894 | # On Suns, sometimes $CPP names a directory. |
|
|
3895 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3896 | CPP= |
|
|
3897 | fi |
|
|
3898 | if test -z "$CPP"; then |
|
|
3899 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
3900 | $as_echo_n "(cached) " >&6 |
|
|
3901 | else |
|
|
3902 | # Double quotes because CPP needs to be expanded |
|
|
3903 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3904 | do |
|
|
3905 | ac_preproc_ok=false |
|
|
3906 | for ac_c_preproc_warn_flag in '' yes |
|
|
3907 | do |
|
|
3908 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3909 | # with a fresh cross-compiler works. |
|
|
3910 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3911 | # <limits.h> exists even on freestanding compilers. |
|
|
3912 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3913 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3914 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3915 | /* end confdefs.h. */ |
|
|
3916 | #ifdef __STDC__ |
|
|
3917 | # include <limits.h> |
|
|
3918 | #else |
|
|
3919 | # include <assert.h> |
|
|
3920 | #endif |
|
|
3921 | Syntax error |
|
|
3922 | _ACEOF |
|
|
3923 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3924 | |
|
|
3925 | else |
|
|
3926 | # Broken: fails on valid input. |
|
|
3927 | continue |
|
|
3928 | fi |
|
|
3929 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3930 | |
|
|
3931 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3932 | # can be detected and how. |
|
|
3933 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3934 | /* end confdefs.h. */ |
|
|
3935 | #include <ac_nonexistent.h> |
|
|
3936 | _ACEOF |
|
|
3937 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3938 | # Broken: success on invalid input. |
|
|
3939 | continue |
|
|
3940 | else |
|
|
3941 | # Passes both tests. |
|
|
3942 | ac_preproc_ok=: |
|
|
3943 | break |
|
|
3944 | fi |
|
|
3945 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3946 | |
|
|
3947 | done |
|
|
3948 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3949 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3950 | if $ac_preproc_ok; then : |
|
|
3951 | break |
|
|
3952 | fi |
|
|
3953 | |
|
|
3954 | done |
|
|
3955 | ac_cv_prog_CPP=$CPP |
|
|
3956 | |
|
|
3957 | fi |
|
|
3958 | CPP=$ac_cv_prog_CPP |
|
|
3959 | else |
|
|
3960 | ac_cv_prog_CPP=$CPP |
|
|
3961 | fi |
|
|
3962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3963 | $as_echo "$CPP" >&6; } |
|
|
3964 | ac_preproc_ok=false |
|
|
3965 | for ac_c_preproc_warn_flag in '' yes |
|
|
3966 | do |
|
|
3967 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3968 | # with a fresh cross-compiler works. |
|
|
3969 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3970 | # <limits.h> exists even on freestanding compilers. |
|
|
3971 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3972 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3973 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3974 | /* end confdefs.h. */ |
|
|
3975 | #ifdef __STDC__ |
|
|
3976 | # include <limits.h> |
|
|
3977 | #else |
|
|
3978 | # include <assert.h> |
|
|
3979 | #endif |
|
|
3980 | Syntax error |
|
|
3981 | _ACEOF |
|
|
3982 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3983 | |
|
|
3984 | else |
|
|
3985 | # Broken: fails on valid input. |
|
|
3986 | continue |
|
|
3987 | fi |
|
|
3988 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3989 | |
|
|
3990 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3991 | # can be detected and how. |
|
|
3992 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3993 | /* end confdefs.h. */ |
|
|
3994 | #include <ac_nonexistent.h> |
|
|
3995 | _ACEOF |
|
|
3996 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3997 | # Broken: success on invalid input. |
|
|
3998 | continue |
|
|
3999 | else |
|
|
4000 | # Passes both tests. |
|
|
4001 | ac_preproc_ok=: |
|
|
4002 | break |
|
|
4003 | fi |
|
|
4004 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4005 | |
|
|
4006 | done |
|
|
4007 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4008 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4009 | if $ac_preproc_ok; then : |
|
|
4010 | |
|
|
4011 | else |
|
|
4012 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
4013 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
4014 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
4015 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
4016 | fi |
|
|
4017 | |
|
|
4018 | ac_ext=c |
|
|
4019 | ac_cpp='$CPP $CPPFLAGS' |
|
|
4020 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4021 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4022 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
4023 | |
4039 | |
4024 | |
4040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4025 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4041 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4026 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4042 | if ${ac_cv_path_GREP+:} false; then : |
4027 | if test "${ac_cv_path_GREP+set}" = set; then : |
4043 | $as_echo_n "(cached) " >&6 |
4028 | $as_echo_n "(cached) " >&6 |
4044 | else |
4029 | else |
4045 | if test -z "$GREP"; then |
4030 | if test -z "$GREP"; then |
4046 | ac_path_GREP_found=false |
4031 | ac_path_GREP_found=false |
4047 | # Loop through the user's path and test for each of PROGNAME-LIST |
4032 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
4100 | GREP="$ac_cv_path_GREP" |
4085 | GREP="$ac_cv_path_GREP" |
4101 | |
4086 | |
4102 | |
4087 | |
4103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4104 | $as_echo_n "checking for egrep... " >&6; } |
4089 | $as_echo_n "checking for egrep... " >&6; } |
4105 | if ${ac_cv_path_EGREP+:} false; then : |
4090 | if test "${ac_cv_path_EGREP+set}" = set; then : |
4106 | $as_echo_n "(cached) " >&6 |
4091 | $as_echo_n "(cached) " >&6 |
4107 | else |
4092 | else |
4108 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4093 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4109 | then ac_cv_path_EGREP="$GREP -E" |
4094 | then ac_cv_path_EGREP="$GREP -E" |
4110 | else |
4095 | else |
… | |
… | |
4167 | EGREP="$ac_cv_path_EGREP" |
4152 | EGREP="$ac_cv_path_EGREP" |
4168 | |
4153 | |
4169 | |
4154 | |
4170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4171 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4156 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4172 | if ${ac_cv_header_stdc+:} false; then : |
4157 | if test "${ac_cv_header_stdc+set}" = set; then : |
4173 | $as_echo_n "(cached) " >&6 |
4158 | $as_echo_n "(cached) " >&6 |
4174 | else |
4159 | else |
4175 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4176 | /* end confdefs.h. */ |
4161 | /* end confdefs.h. */ |
4177 | #include <stdlib.h> |
4162 | #include <stdlib.h> |
… | |
… | |
4296 | done |
4281 | done |
4297 | |
4282 | |
4298 | |
4283 | |
4299 | |
4284 | |
4300 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4285 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4301 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
4286 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
4302 | MINIX=yes |
4287 | MINIX=yes |
4303 | else |
4288 | else |
4304 | MINIX= |
4289 | MINIX= |
4305 | fi |
4290 | fi |
4306 | |
4291 | |
… | |
… | |
4318 | fi |
4303 | fi |
4319 | |
4304 | |
4320 | |
4305 | |
4321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4306 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4322 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4307 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4323 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
4308 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
4324 | $as_echo_n "(cached) " >&6 |
4309 | $as_echo_n "(cached) " >&6 |
4325 | else |
4310 | else |
4326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4311 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4327 | /* end confdefs.h. */ |
4312 | /* end confdefs.h. */ |
4328 | |
4313 | |
… | |
… | |
4359 | |
4344 | |
4360 | |
4345 | |
4361 | |
4346 | |
4362 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4347 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4363 | $as_echo_n "checking for library containing strerror... " >&6; } |
4348 | $as_echo_n "checking for library containing strerror... " >&6; } |
4364 | if ${ac_cv_search_strerror+:} false; then : |
4349 | if test "${ac_cv_search_strerror+set}" = set; then : |
4365 | $as_echo_n "(cached) " >&6 |
4350 | $as_echo_n "(cached) " >&6 |
4366 | else |
4351 | else |
4367 | ac_func_search_save_LIBS=$LIBS |
4352 | ac_func_search_save_LIBS=$LIBS |
4368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4353 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4369 | /* end confdefs.h. */ |
4354 | /* end confdefs.h. */ |
… | |
… | |
4393 | if ac_fn_c_try_link "$LINENO"; then : |
4378 | if ac_fn_c_try_link "$LINENO"; then : |
4394 | ac_cv_search_strerror=$ac_res |
4379 | ac_cv_search_strerror=$ac_res |
4395 | fi |
4380 | fi |
4396 | rm -f core conftest.err conftest.$ac_objext \ |
4381 | rm -f core conftest.err conftest.$ac_objext \ |
4397 | conftest$ac_exeext |
4382 | conftest$ac_exeext |
4398 | if ${ac_cv_search_strerror+:} false; then : |
4383 | if test "${ac_cv_search_strerror+set}" = set; then : |
4399 | break |
4384 | break |
4400 | fi |
4385 | fi |
4401 | done |
4386 | done |
4402 | if ${ac_cv_search_strerror+:} false; then : |
4387 | if test "${ac_cv_search_strerror+set}" = set; then : |
4403 | |
4388 | |
4404 | else |
4389 | else |
4405 | ac_cv_search_strerror=no |
4390 | ac_cv_search_strerror=no |
4406 | fi |
4391 | fi |
4407 | rm conftest.$ac_ext |
4392 | rm conftest.$ac_ext |
… | |
… | |
4420 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4405 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4421 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4406 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4422 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4407 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4423 | |
4408 | |
4424 | |
4409 | |
|
|
4410 | LINKER="$CXX" |
4425 | if test x$GCC = xyes && test x$GXX = xyes; then |
4411 | if test x$GCC = xyes && test x$GXX = xyes; then |
4426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4427 | $as_echo_n "checking for working libsupc++... " >&6; } |
4413 | $as_echo_n "checking for working libsupc++... " >&6; } |
4428 | save_CXX="$CXX" |
4414 | save_CXX="$CXX" |
4429 | save_LIBS="$LIBS" |
4415 | save_LIBS="$LIBS" |
4430 | CXX="$CC" |
4416 | CXX="$CC" |
4431 | LIBS="$LIBS -lsupc++" |
4417 | LIBS="$LIBS -lsupc++" |
4432 | LINKER="$CC" |
|
|
4433 | |
4418 | |
4434 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4419 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4435 | /* end confdefs.h. */ |
4420 | /* end confdefs.h. */ |
4436 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4421 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4437 | int |
4422 | int |
… | |
… | |
4443 | } |
4428 | } |
4444 | _ACEOF |
4429 | _ACEOF |
4445 | if ac_fn_cxx_try_link "$LINENO"; then : |
4430 | if ac_fn_cxx_try_link "$LINENO"; then : |
4446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4431 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4447 | $as_echo "ok" >&6; } |
4432 | $as_echo "ok" >&6; } |
|
|
4433 | LINKER="$CC" |
4448 | else |
4434 | else |
4449 | |
4435 | |
4450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4436 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4451 | $as_echo "no, making everything bigger and slower" >&6; } |
4437 | $as_echo "no, making everything bigger and slower" >&6; } |
4452 | LIBS="$save_LIBS" |
4438 | LIBS="$save_LIBS" |
4453 | LINKER="$save_CXX" |
|
|
4454 | |
4439 | |
4455 | |
4440 | |
4456 | fi |
4441 | fi |
4457 | rm -f core conftest.err conftest.$ac_objext \ |
4442 | rm -f core conftest.err conftest.$ac_objext \ |
4458 | conftest$ac_exeext conftest.$ac_ext |
4443 | conftest$ac_exeext conftest.$ac_ext |
… | |
… | |
4485 | CXXFLAGS="-O" |
4470 | CXXFLAGS="-O" |
4486 | fi |
4471 | fi |
4487 | CFLAGS="$CXXFLAGS" |
4472 | CFLAGS="$CXXFLAGS" |
4488 | fi |
4473 | fi |
4489 | |
4474 | |
4490 | case $host in |
|
|
4491 | *-*-solaris* ) |
|
|
4492 | |
|
|
4493 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
4494 | |
|
|
4495 | ;; |
|
|
4496 | esac |
|
|
4497 | |
|
|
4498 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4475 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4499 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4476 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4500 | if ${ac_cv_search_setlocale+:} false; then : |
4477 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4501 | $as_echo_n "(cached) " >&6 |
4478 | $as_echo_n "(cached) " >&6 |
4502 | else |
4479 | else |
4503 | ac_func_search_save_LIBS=$LIBS |
4480 | ac_func_search_save_LIBS=$LIBS |
4504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4481 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4505 | /* end confdefs.h. */ |
4482 | /* end confdefs.h. */ |
… | |
… | |
4529 | if ac_fn_cxx_try_link "$LINENO"; then : |
4506 | if ac_fn_cxx_try_link "$LINENO"; then : |
4530 | ac_cv_search_setlocale=$ac_res |
4507 | ac_cv_search_setlocale=$ac_res |
4531 | fi |
4508 | fi |
4532 | rm -f core conftest.err conftest.$ac_objext \ |
4509 | rm -f core conftest.err conftest.$ac_objext \ |
4533 | conftest$ac_exeext |
4510 | conftest$ac_exeext |
4534 | if ${ac_cv_search_setlocale+:} false; then : |
4511 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4535 | break |
4512 | break |
4536 | fi |
4513 | fi |
4537 | done |
4514 | done |
4538 | if ${ac_cv_search_setlocale+:} false; then : |
4515 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4539 | |
4516 | |
4540 | else |
4517 | else |
4541 | ac_cv_search_setlocale=no |
4518 | ac_cv_search_setlocale=no |
4542 | fi |
4519 | fi |
4543 | rm conftest.$ac_ext |
4520 | rm conftest.$ac_ext |
… | |
… | |
4552 | fi |
4529 | fi |
4553 | |
4530 | |
4554 | |
4531 | |
4555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
4532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
4556 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4533 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4557 | if ${ac_cv_search_gethostbyname+:} false; then : |
4534 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4558 | $as_echo_n "(cached) " >&6 |
4535 | $as_echo_n "(cached) " >&6 |
4559 | else |
4536 | else |
4560 | ac_func_search_save_LIBS=$LIBS |
4537 | ac_func_search_save_LIBS=$LIBS |
4561 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4538 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4562 | /* end confdefs.h. */ |
4539 | /* end confdefs.h. */ |
… | |
… | |
4586 | if ac_fn_cxx_try_link "$LINENO"; then : |
4563 | if ac_fn_cxx_try_link "$LINENO"; then : |
4587 | ac_cv_search_gethostbyname=$ac_res |
4564 | ac_cv_search_gethostbyname=$ac_res |
4588 | fi |
4565 | fi |
4589 | rm -f core conftest.err conftest.$ac_objext \ |
4566 | rm -f core conftest.err conftest.$ac_objext \ |
4590 | conftest$ac_exeext |
4567 | conftest$ac_exeext |
4591 | if ${ac_cv_search_gethostbyname+:} false; then : |
4568 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4592 | break |
4569 | break |
4593 | fi |
4570 | fi |
4594 | done |
4571 | done |
4595 | if ${ac_cv_search_gethostbyname+:} false; then : |
4572 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4596 | |
4573 | |
4597 | else |
4574 | else |
4598 | ac_cv_search_gethostbyname=no |
4575 | ac_cv_search_gethostbyname=no |
4599 | fi |
4576 | fi |
4600 | rm conftest.$ac_ext |
4577 | rm conftest.$ac_ext |
… | |
… | |
4608 | |
4585 | |
4609 | fi |
4586 | fi |
4610 | |
4587 | |
4611 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
4588 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
4612 | $as_echo_n "checking for library containing socket... " >&6; } |
4589 | $as_echo_n "checking for library containing socket... " >&6; } |
4613 | if ${ac_cv_search_socket+:} false; then : |
4590 | if test "${ac_cv_search_socket+set}" = set; then : |
4614 | $as_echo_n "(cached) " >&6 |
4591 | $as_echo_n "(cached) " >&6 |
4615 | else |
4592 | else |
4616 | ac_func_search_save_LIBS=$LIBS |
4593 | ac_func_search_save_LIBS=$LIBS |
4617 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4618 | /* end confdefs.h. */ |
4595 | /* end confdefs.h. */ |
… | |
… | |
4642 | if ac_fn_cxx_try_link "$LINENO"; then : |
4619 | if ac_fn_cxx_try_link "$LINENO"; then : |
4643 | ac_cv_search_socket=$ac_res |
4620 | ac_cv_search_socket=$ac_res |
4644 | fi |
4621 | fi |
4645 | rm -f core conftest.err conftest.$ac_objext \ |
4622 | rm -f core conftest.err conftest.$ac_objext \ |
4646 | conftest$ac_exeext |
4623 | conftest$ac_exeext |
4647 | if ${ac_cv_search_socket+:} false; then : |
4624 | if test "${ac_cv_search_socket+set}" = set; then : |
4648 | break |
4625 | break |
4649 | fi |
4626 | fi |
4650 | done |
4627 | done |
4651 | if ${ac_cv_search_socket+:} false; then : |
4628 | if test "${ac_cv_search_socket+set}" = set; then : |
4652 | |
4629 | |
4653 | else |
4630 | else |
4654 | ac_cv_search_socket=no |
4631 | ac_cv_search_socket=no |
4655 | fi |
4632 | fi |
4656 | rm conftest.$ac_ext |
4633 | rm conftest.$ac_ext |
… | |
… | |
4678 | support_scroll_next=yes |
4655 | support_scroll_next=yes |
4679 | support_scroll_xterm=yes |
4656 | support_scroll_xterm=yes |
4680 | support_xim=yes |
4657 | support_xim=yes |
4681 | support_pixbuf=yes |
4658 | support_pixbuf=yes |
4682 | support_startup_notification=yes |
4659 | support_startup_notification=yes |
4683 | support_afterimage=yes |
|
|
4684 | support_xft=yes |
4660 | support_xft=yes |
4685 | support_unicode3=no |
4661 | support_unicode3=no |
4686 | support_combining=yes |
4662 | support_combining=yes |
4687 | support_8bitctrls=no |
4663 | support_8bitctrls=no |
4688 | support_iso14755=yes |
4664 | support_iso14755=yes |
… | |
… | |
4711 | support_utmp=no |
4687 | support_utmp=no |
4712 | support_wtmp=no |
4688 | support_wtmp=no |
4713 | support_xim=no |
4689 | support_xim=no |
4714 | support_pixbuf=no |
4690 | support_pixbuf=no |
4715 | support_startup_notification=no |
4691 | support_startup_notification=no |
4716 | support_afterimage=no |
|
|
4717 | support_xft=no |
4692 | support_xft=no |
4718 | support_unicode3=no |
4693 | support_unicode3=no |
4719 | support_combining=no |
4694 | support_combining=no |
4720 | support_8bitctrls=no |
4695 | support_8bitctrls=no |
4721 | support_iso14755=no |
4696 | support_iso14755=no |
… | |
… | |
4740 | support_utmp=yes |
4715 | support_utmp=yes |
4741 | support_wtmp=yes |
4716 | support_wtmp=yes |
4742 | support_xim=yes |
4717 | support_xim=yes |
4743 | support_pixbuf=yes |
4718 | support_pixbuf=yes |
4744 | support_startup_notification=yes |
4719 | support_startup_notification=yes |
4745 | support_afterimage=yes |
|
|
4746 | support_xft=yes |
4720 | support_xft=yes |
4747 | support_unicode3=yes |
4721 | support_unicode3=yes |
4748 | support_combining=yes |
4722 | support_combining=yes |
4749 | #support_8bitctrls=yes |
4723 | #support_8bitctrls=yes |
4750 | support_iso14755=yes |
4724 | support_iso14755=yes |
… | |
… | |
4754 | fi |
4728 | fi |
4755 | |
4729 | |
4756 | fi |
4730 | fi |
4757 | |
4731 | |
4758 | |
4732 | |
4759 | ASSERTIONS=no |
4733 | support_assertions=no |
4760 | # Check whether --enable-assert was given. |
4734 | # Check whether --enable-assert was given. |
4761 | if test "${enable_assert+set}" = set; then : |
4735 | if test "${enable_assert+set}" = set; then : |
4762 | enableval=$enable_assert; if test x$enableval = xyes; then |
4736 | enableval=$enable_assert; if test x$enableval = xyes; then |
4763 | ASSERTIONS=yes |
4737 | support_assertions=yes |
4764 | fi |
4738 | fi |
4765 | fi |
4739 | fi |
4766 | |
4740 | |
4767 | if test x$ASSERTIONS = xno; then |
4741 | if test x$support_assertions = xno; then |
4768 | |
4742 | |
4769 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4743 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4770 | |
4744 | |
4771 | fi |
4745 | fi |
4772 | |
4746 | |
4773 | WARNINGS=no |
4747 | support_warnings=no |
4774 | # Check whether --enable-warnings was given. |
4748 | # Check whether --enable-warnings was given. |
4775 | if test "${enable_warnings+set}" = set; then : |
4749 | if test "${enable_warnings+set}" = set; then : |
4776 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4750 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4777 | WARNINGS=yes |
4751 | support_warnings=yes |
4778 | fi |
4752 | fi |
4779 | fi |
4753 | fi |
4780 | |
4754 | |
4781 | if test x$GXX = xyes; then |
4755 | if test x$GXX = xyes; then |
4782 | if test $WARNINGS = yes; then |
4756 | if test $support_warnings = yes; then |
4783 | save_CXXFLAGS="$CXXFLAGS" |
4757 | save_CXXFLAGS="$CXXFLAGS" |
4784 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
4758 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" |
4785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4759 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4786 | /* end confdefs.h. */ |
4760 | /* end confdefs.h. */ |
4787 | |
4761 | |
4788 | int |
4762 | int |
4789 | main () |
4763 | main () |
… | |
… | |
4844 | |
4818 | |
4845 | # Check whether --enable-font-styles was given. |
4819 | # Check whether --enable-font-styles was given. |
4846 | if test "${enable_font_styles+set}" = set; then : |
4820 | if test "${enable_font_styles+set}" = set; then : |
4847 | enableval=$enable_font_styles; if test x$enableval = xyes -o x$enableval = xno; then |
4821 | enableval=$enable_font_styles; if test x$enableval = xyes -o x$enableval = xno; then |
4848 | support_styles=$enableval |
4822 | support_styles=$enableval |
4849 | fi |
|
|
4850 | fi |
|
|
4851 | |
|
|
4852 | |
|
|
4853 | # Check whether --enable-afterimage was given. |
|
|
4854 | if test "${enable_afterimage+set}" = set; then : |
|
|
4855 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4856 | support_afterimage=$enableval |
|
|
4857 | fi |
|
|
4858 | fi |
|
|
4859 | |
|
|
4860 | |
|
|
4861 | |
|
|
4862 | # Check whether --with-afterimage_config was given. |
|
|
4863 | if test "${with_afterimage_config+set}" = set; then : |
|
|
4864 | withval=$with_afterimage_config; if test "x$withval" != x; then |
|
|
4865 | afterimage_config=$withval/afterimage-config |
|
|
4866 | fi |
4823 | fi |
4867 | fi |
4824 | fi |
4868 | |
4825 | |
4869 | |
4826 | |
4870 | # Check whether --enable-pixbuf was given. |
4827 | # Check whether --enable-pixbuf was given. |
… | |
… | |
5163 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5120 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5164 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5121 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
5122 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
5166 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5123 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5167 | if test -z "$CXXCPP"; then |
5124 | if test -z "$CXXCPP"; then |
5168 | if ${ac_cv_prog_CXXCPP+:} false; then : |
5125 | if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
5169 | $as_echo_n "(cached) " >&6 |
5126 | $as_echo_n "(cached) " >&6 |
5170 | else |
5127 | else |
5171 | # Double quotes because CXXCPP needs to be expanded |
5128 | # Double quotes because CXXCPP needs to be expanded |
5172 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5129 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5173 | do |
5130 | do |
… | |
… | |
5279 | |
5236 | |
5280 | else |
5237 | else |
5281 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5238 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5282 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5239 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5283 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5240 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5284 | See \`config.log' for more details" "$LINENO" 5; } |
5241 | See \`config.log' for more details" "$LINENO" 5 ; } |
5285 | fi |
5242 | fi |
5286 | |
5243 | |
5287 | ac_ext=cpp |
5244 | ac_ext=cpp |
5288 | ac_cpp='$CXXCPP $CPPFLAGS' |
5245 | ac_cpp='$CXXCPP $CPPFLAGS' |
5289 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5246 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5319 | |
5276 | |
5320 | |
5277 | |
5321 | for ac_func in clock_gettime |
5278 | for ac_func in clock_gettime |
5322 | do : |
5279 | do : |
5323 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5280 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5324 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5281 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5325 | cat >>confdefs.h <<_ACEOF |
5282 | cat >>confdefs.h <<_ACEOF |
5326 | #define HAVE_CLOCK_GETTIME 1 |
5283 | #define HAVE_CLOCK_GETTIME 1 |
5327 | _ACEOF |
5284 | _ACEOF |
5328 | |
5285 | |
5329 | else |
5286 | else |
… | |
… | |
5359 | conftest$ac_exeext conftest.$ac_ext |
5316 | conftest$ac_exeext conftest.$ac_ext |
5360 | fi |
5317 | fi |
5361 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5318 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5362 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
5319 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
5363 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5320 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5364 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
5321 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : |
5365 | $as_echo_n "(cached) " >&6 |
5322 | $as_echo_n "(cached) " >&6 |
5366 | else |
5323 | else |
5367 | ac_check_lib_save_LIBS=$LIBS |
5324 | ac_check_lib_save_LIBS=$LIBS |
5368 | LIBS="-lrt $LIBS" |
5325 | LIBS="-lrt $LIBS" |
5369 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5393 | conftest$ac_exeext conftest.$ac_ext |
5350 | conftest$ac_exeext conftest.$ac_ext |
5394 | LIBS=$ac_check_lib_save_LIBS |
5351 | LIBS=$ac_check_lib_save_LIBS |
5395 | fi |
5352 | fi |
5396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
5353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
5397 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5354 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5398 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
5355 | if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : |
5399 | cat >>confdefs.h <<_ACEOF |
5356 | cat >>confdefs.h <<_ACEOF |
5400 | #define HAVE_LIBRT 1 |
5357 | #define HAVE_LIBRT 1 |
5401 | _ACEOF |
5358 | _ACEOF |
5402 | |
5359 | |
5403 | LIBS="-lrt $LIBS" |
5360 | LIBS="-lrt $LIBS" |
… | |
… | |
5406 | |
5363 | |
5407 | unset ac_cv_func_clock_gettime |
5364 | unset ac_cv_func_clock_gettime |
5408 | for ac_func in clock_gettime |
5365 | for ac_func in clock_gettime |
5409 | do : |
5366 | do : |
5410 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5367 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5411 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5368 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5412 | cat >>confdefs.h <<_ACEOF |
5369 | cat >>confdefs.h <<_ACEOF |
5413 | #define HAVE_CLOCK_GETTIME 1 |
5370 | #define HAVE_CLOCK_GETTIME 1 |
5414 | _ACEOF |
5371 | _ACEOF |
5415 | |
5372 | |
5416 | fi |
5373 | fi |
… | |
… | |
5423 | |
5380 | |
5424 | |
5381 | |
5425 | for ac_func in nanosleep |
5382 | for ac_func in nanosleep |
5426 | do : |
5383 | do : |
5427 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5384 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5428 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5385 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5429 | cat >>confdefs.h <<_ACEOF |
5386 | cat >>confdefs.h <<_ACEOF |
5430 | #define HAVE_NANOSLEEP 1 |
5387 | #define HAVE_NANOSLEEP 1 |
5431 | _ACEOF |
5388 | _ACEOF |
5432 | |
5389 | |
5433 | else |
5390 | else |
5434 | |
5391 | |
5435 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5392 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5437 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5394 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5438 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
5395 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : |
5439 | $as_echo_n "(cached) " >&6 |
5396 | $as_echo_n "(cached) " >&6 |
5440 | else |
5397 | else |
5441 | ac_check_lib_save_LIBS=$LIBS |
5398 | ac_check_lib_save_LIBS=$LIBS |
5442 | LIBS="-lrt $LIBS" |
5399 | LIBS="-lrt $LIBS" |
5443 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5400 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5467 | conftest$ac_exeext conftest.$ac_ext |
5424 | conftest$ac_exeext conftest.$ac_ext |
5468 | LIBS=$ac_check_lib_save_LIBS |
5425 | LIBS=$ac_check_lib_save_LIBS |
5469 | fi |
5426 | fi |
5470 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
5427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
5471 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5428 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5472 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
5429 | if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : |
5473 | cat >>confdefs.h <<_ACEOF |
5430 | cat >>confdefs.h <<_ACEOF |
5474 | #define HAVE_LIBRT 1 |
5431 | #define HAVE_LIBRT 1 |
5475 | _ACEOF |
5432 | _ACEOF |
5476 | |
5433 | |
5477 | LIBS="-lrt $LIBS" |
5434 | LIBS="-lrt $LIBS" |
… | |
… | |
5480 | |
5437 | |
5481 | unset ac_cv_func_nanosleep |
5438 | unset ac_cv_func_nanosleep |
5482 | for ac_func in nanosleep |
5439 | for ac_func in nanosleep |
5483 | do : |
5440 | do : |
5484 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5441 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5485 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5442 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5486 | cat >>confdefs.h <<_ACEOF |
5443 | cat >>confdefs.h <<_ACEOF |
5487 | #define HAVE_NANOSLEEP 1 |
5444 | #define HAVE_NANOSLEEP 1 |
5488 | _ACEOF |
5445 | _ACEOF |
5489 | |
5446 | |
5490 | fi |
5447 | fi |
… | |
… | |
5499 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5456 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5500 | LIBM=m |
5457 | LIBM=m |
5501 | fi |
5458 | fi |
5502 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5503 | $as_echo_n "checking for library containing floor... " >&6; } |
5460 | $as_echo_n "checking for library containing floor... " >&6; } |
5504 | if ${ac_cv_search_floor+:} false; then : |
5461 | if test "${ac_cv_search_floor+set}" = set; then : |
5505 | $as_echo_n "(cached) " >&6 |
5462 | $as_echo_n "(cached) " >&6 |
5506 | else |
5463 | else |
5507 | ac_func_search_save_LIBS=$LIBS |
5464 | ac_func_search_save_LIBS=$LIBS |
5508 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5509 | /* end confdefs.h. */ |
5466 | /* end confdefs.h. */ |
… | |
… | |
5533 | if ac_fn_cxx_try_link "$LINENO"; then : |
5490 | if ac_fn_cxx_try_link "$LINENO"; then : |
5534 | ac_cv_search_floor=$ac_res |
5491 | ac_cv_search_floor=$ac_res |
5535 | fi |
5492 | fi |
5536 | rm -f core conftest.err conftest.$ac_objext \ |
5493 | rm -f core conftest.err conftest.$ac_objext \ |
5537 | conftest$ac_exeext |
5494 | conftest$ac_exeext |
5538 | if ${ac_cv_search_floor+:} false; then : |
5495 | if test "${ac_cv_search_floor+set}" = set; then : |
5539 | break |
5496 | break |
5540 | fi |
5497 | fi |
5541 | done |
5498 | done |
5542 | if ${ac_cv_search_floor+:} false; then : |
5499 | if test "${ac_cv_search_floor+set}" = set; then : |
5543 | |
5500 | |
5544 | else |
5501 | else |
5545 | ac_cv_search_floor=no |
5502 | ac_cv_search_floor=no |
5546 | fi |
5503 | fi |
5547 | rm conftest.$ac_ext |
5504 | rm conftest.$ac_ext |
… | |
… | |
5563 | |
5520 | |
5564 | # Extract the first word of "tic", so it can be a program name with args. |
5521 | # Extract the first word of "tic", so it can be a program name with args. |
5565 | set dummy tic; ac_word=$2 |
5522 | set dummy tic; ac_word=$2 |
5566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5567 | $as_echo_n "checking for $ac_word... " >&6; } |
5524 | $as_echo_n "checking for $ac_word... " >&6; } |
5568 | if ${ac_cv_path_TIC+:} false; then : |
5525 | if test "${ac_cv_path_TIC+set}" = set; then : |
5569 | $as_echo_n "(cached) " >&6 |
5526 | $as_echo_n "(cached) " >&6 |
5570 | else |
5527 | else |
5571 | case $TIC in |
5528 | case $TIC in |
5572 | [\\/]* | ?:[\\/]*) |
5529 | [\\/]* | ?:[\\/]*) |
5573 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
5530 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
… | |
… | |
5616 | if test "x$with_x" = xno; then |
5573 | if test "x$with_x" = xno; then |
5617 | # The user explicitly disabled X. |
5574 | # The user explicitly disabled X. |
5618 | have_x=disabled |
5575 | have_x=disabled |
5619 | else |
5576 | else |
5620 | case $x_includes,$x_libraries in #( |
5577 | case $x_includes,$x_libraries in #( |
5621 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
5578 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( |
5622 | *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
5579 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
5623 | $as_echo_n "(cached) " >&6 |
5580 | $as_echo_n "(cached) " >&6 |
5624 | else |
5581 | else |
5625 | # One or both of the vars are not set, and there is no cached value. |
5582 | # One or both of the vars are not set, and there is no cached value. |
5626 | ac_x_includes=no ac_x_libraries=no |
5583 | ac_x_includes=no ac_x_libraries=no |
5627 | rm -f -r conftest.dir |
5584 | rm -f -r conftest.dir |
… | |
… | |
5894 | if ac_fn_cxx_try_link "$LINENO"; then : |
5851 | if ac_fn_cxx_try_link "$LINENO"; then : |
5895 | |
5852 | |
5896 | else |
5853 | else |
5897 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
5854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
5898 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5855 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5899 | if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : |
5856 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : |
5900 | $as_echo_n "(cached) " >&6 |
5857 | $as_echo_n "(cached) " >&6 |
5901 | else |
5858 | else |
5902 | ac_check_lib_save_LIBS=$LIBS |
5859 | ac_check_lib_save_LIBS=$LIBS |
5903 | LIBS="-ldnet $LIBS" |
5860 | LIBS="-ldnet $LIBS" |
5904 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5928 | conftest$ac_exeext conftest.$ac_ext |
5885 | conftest$ac_exeext conftest.$ac_ext |
5929 | LIBS=$ac_check_lib_save_LIBS |
5886 | LIBS=$ac_check_lib_save_LIBS |
5930 | fi |
5887 | fi |
5931 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
5888 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
5932 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5889 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5933 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : |
5890 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : |
5934 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5891 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5935 | fi |
5892 | fi |
5936 | |
5893 | |
5937 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5894 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5938 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 |
5895 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 |
5939 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5896 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5940 | if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : |
5897 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : |
5941 | $as_echo_n "(cached) " >&6 |
5898 | $as_echo_n "(cached) " >&6 |
5942 | else |
5899 | else |
5943 | ac_check_lib_save_LIBS=$LIBS |
5900 | ac_check_lib_save_LIBS=$LIBS |
5944 | LIBS="-ldnet_stub $LIBS" |
5901 | LIBS="-ldnet_stub $LIBS" |
5945 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5902 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5969 | conftest$ac_exeext conftest.$ac_ext |
5926 | conftest$ac_exeext conftest.$ac_ext |
5970 | LIBS=$ac_check_lib_save_LIBS |
5927 | LIBS=$ac_check_lib_save_LIBS |
5971 | fi |
5928 | fi |
5972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
5929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
5973 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5930 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5974 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : |
5931 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : |
5975 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5932 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5976 | fi |
5933 | fi |
5977 | |
5934 | |
5978 | fi |
5935 | fi |
5979 | fi |
5936 | fi |
… | |
… | |
5988 | # The nsl library prevents programs from opening the X display |
5945 | # The nsl library prevents programs from opening the X display |
5989 | # on Irix 5.2, according to T.E. Dickey. |
5946 | # on Irix 5.2, according to T.E. Dickey. |
5990 | # The functions gethostbyname, getservbyname, and inet_addr are |
5947 | # The functions gethostbyname, getservbyname, and inet_addr are |
5991 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
5948 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
5992 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5949 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5993 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
5950 | if test "x$ac_cv_func_gethostbyname" = x""yes; then : |
5994 | |
5951 | |
5995 | fi |
5952 | fi |
5996 | |
5953 | |
5997 | if test $ac_cv_func_gethostbyname = no; then |
5954 | if test $ac_cv_func_gethostbyname = no; then |
5998 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5955 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5999 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5956 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
6000 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
5957 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : |
6001 | $as_echo_n "(cached) " >&6 |
5958 | $as_echo_n "(cached) " >&6 |
6002 | else |
5959 | else |
6003 | ac_check_lib_save_LIBS=$LIBS |
5960 | ac_check_lib_save_LIBS=$LIBS |
6004 | LIBS="-lnsl $LIBS" |
5961 | LIBS="-lnsl $LIBS" |
6005 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5962 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6029 | conftest$ac_exeext conftest.$ac_ext |
5986 | conftest$ac_exeext conftest.$ac_ext |
6030 | LIBS=$ac_check_lib_save_LIBS |
5987 | LIBS=$ac_check_lib_save_LIBS |
6031 | fi |
5988 | fi |
6032 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
5989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
6033 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
5990 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
6034 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
5991 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : |
6035 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
5992 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
6036 | fi |
5993 | fi |
6037 | |
5994 | |
6038 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
5995 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
6039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
5996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
6040 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
5997 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
6041 | if ${ac_cv_lib_bsd_gethostbyname+:} false; then : |
5998 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : |
6042 | $as_echo_n "(cached) " >&6 |
5999 | $as_echo_n "(cached) " >&6 |
6043 | else |
6000 | else |
6044 | ac_check_lib_save_LIBS=$LIBS |
6001 | ac_check_lib_save_LIBS=$LIBS |
6045 | LIBS="-lbsd $LIBS" |
6002 | LIBS="-lbsd $LIBS" |
6046 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6003 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6070 | conftest$ac_exeext conftest.$ac_ext |
6027 | conftest$ac_exeext conftest.$ac_ext |
6071 | LIBS=$ac_check_lib_save_LIBS |
6028 | LIBS=$ac_check_lib_save_LIBS |
6072 | fi |
6029 | fi |
6073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
6030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
6074 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6031 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6075 | if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : |
6032 | if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : |
6076 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6033 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6077 | fi |
6034 | fi |
6078 | |
6035 | |
6079 | fi |
6036 | fi |
6080 | fi |
6037 | fi |
… | |
… | |
6085 | # on later versions), says Simon Leinen: it contains gethostby* |
6042 | # on later versions), says Simon Leinen: it contains gethostby* |
6086 | # variants that don't use the name server (or something). -lsocket |
6043 | # variants that don't use the name server (or something). -lsocket |
6087 | # must be given before -lnsl if both are needed. We assume that |
6044 | # must be given before -lnsl if both are needed. We assume that |
6088 | # if connect needs -lnsl, so does gethostbyname. |
6045 | # if connect needs -lnsl, so does gethostbyname. |
6089 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6046 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6090 | if test "x$ac_cv_func_connect" = xyes; then : |
6047 | if test "x$ac_cv_func_connect" = x""yes; then : |
6091 | |
6048 | |
6092 | fi |
6049 | fi |
6093 | |
6050 | |
6094 | if test $ac_cv_func_connect = no; then |
6051 | if test $ac_cv_func_connect = no; then |
6095 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
6052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
6096 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6053 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6097 | if ${ac_cv_lib_socket_connect+:} false; then : |
6054 | if test "${ac_cv_lib_socket_connect+set}" = set; then : |
6098 | $as_echo_n "(cached) " >&6 |
6055 | $as_echo_n "(cached) " >&6 |
6099 | else |
6056 | else |
6100 | ac_check_lib_save_LIBS=$LIBS |
6057 | ac_check_lib_save_LIBS=$LIBS |
6101 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6058 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6102 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6126 | conftest$ac_exeext conftest.$ac_ext |
6083 | conftest$ac_exeext conftest.$ac_ext |
6127 | LIBS=$ac_check_lib_save_LIBS |
6084 | LIBS=$ac_check_lib_save_LIBS |
6128 | fi |
6085 | fi |
6129 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
6086 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
6130 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6087 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6131 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
6088 | if test "x$ac_cv_lib_socket_connect" = x""yes; then : |
6132 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6089 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6133 | fi |
6090 | fi |
6134 | |
6091 | |
6135 | fi |
6092 | fi |
6136 | |
6093 | |
6137 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6094 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6138 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6095 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6139 | if test "x$ac_cv_func_remove" = xyes; then : |
6096 | if test "x$ac_cv_func_remove" = x""yes; then : |
6140 | |
6097 | |
6141 | fi |
6098 | fi |
6142 | |
6099 | |
6143 | if test $ac_cv_func_remove = no; then |
6100 | if test $ac_cv_func_remove = no; then |
6144 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
6101 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
6145 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6102 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6146 | if ${ac_cv_lib_posix_remove+:} false; then : |
6103 | if test "${ac_cv_lib_posix_remove+set}" = set; then : |
6147 | $as_echo_n "(cached) " >&6 |
6104 | $as_echo_n "(cached) " >&6 |
6148 | else |
6105 | else |
6149 | ac_check_lib_save_LIBS=$LIBS |
6106 | ac_check_lib_save_LIBS=$LIBS |
6150 | LIBS="-lposix $LIBS" |
6107 | LIBS="-lposix $LIBS" |
6151 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6108 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6175 | conftest$ac_exeext conftest.$ac_ext |
6132 | conftest$ac_exeext conftest.$ac_ext |
6176 | LIBS=$ac_check_lib_save_LIBS |
6133 | LIBS=$ac_check_lib_save_LIBS |
6177 | fi |
6134 | fi |
6178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
6135 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
6179 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6136 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6180 | if test "x$ac_cv_lib_posix_remove" = xyes; then : |
6137 | if test "x$ac_cv_lib_posix_remove" = x""yes; then : |
6181 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6138 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6182 | fi |
6139 | fi |
6183 | |
6140 | |
6184 | fi |
6141 | fi |
6185 | |
6142 | |
6186 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6143 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6187 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6144 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6188 | if test "x$ac_cv_func_shmat" = xyes; then : |
6145 | if test "x$ac_cv_func_shmat" = x""yes; then : |
6189 | |
6146 | |
6190 | fi |
6147 | fi |
6191 | |
6148 | |
6192 | if test $ac_cv_func_shmat = no; then |
6149 | if test $ac_cv_func_shmat = no; then |
6193 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
6150 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
6194 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6151 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6195 | if ${ac_cv_lib_ipc_shmat+:} false; then : |
6152 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then : |
6196 | $as_echo_n "(cached) " >&6 |
6153 | $as_echo_n "(cached) " >&6 |
6197 | else |
6154 | else |
6198 | ac_check_lib_save_LIBS=$LIBS |
6155 | ac_check_lib_save_LIBS=$LIBS |
6199 | LIBS="-lipc $LIBS" |
6156 | LIBS="-lipc $LIBS" |
6200 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6157 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6224 | conftest$ac_exeext conftest.$ac_ext |
6181 | conftest$ac_exeext conftest.$ac_ext |
6225 | LIBS=$ac_check_lib_save_LIBS |
6182 | LIBS=$ac_check_lib_save_LIBS |
6226 | fi |
6183 | fi |
6227 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
6184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
6228 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6185 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6229 | if test "x$ac_cv_lib_ipc_shmat" = xyes; then : |
6186 | if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : |
6230 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6187 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6231 | fi |
6188 | fi |
6232 | |
6189 | |
6233 | fi |
6190 | fi |
6234 | fi |
6191 | fi |
… | |
… | |
6242 | # These have to be linked with before -lX11, unlike the other |
6199 | # These have to be linked with before -lX11, unlike the other |
6243 | # libraries we check for below, so use a different variable. |
6200 | # libraries we check for below, so use a different variable. |
6244 | # John Interrante, Karl Berry |
6201 | # John Interrante, Karl Berry |
6245 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
6202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
6246 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6203 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6247 | if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : |
6204 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : |
6248 | $as_echo_n "(cached) " >&6 |
6205 | $as_echo_n "(cached) " >&6 |
6249 | else |
6206 | else |
6250 | ac_check_lib_save_LIBS=$LIBS |
6207 | ac_check_lib_save_LIBS=$LIBS |
6251 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6208 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6252 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6276 | conftest$ac_exeext conftest.$ac_ext |
6233 | conftest$ac_exeext conftest.$ac_ext |
6277 | LIBS=$ac_check_lib_save_LIBS |
6234 | LIBS=$ac_check_lib_save_LIBS |
6278 | fi |
6235 | fi |
6279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6280 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6237 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6281 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : |
6238 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : |
6282 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6239 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6283 | fi |
6240 | fi |
6284 | |
6241 | |
6285 | LDFLAGS=$ac_save_LDFLAGS |
6242 | LDFLAGS=$ac_save_LDFLAGS |
6286 | |
6243 | |
… | |
… | |
6296 | support_pixbuf=no |
6253 | support_pixbuf=no |
6297 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6254 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6298 | set dummy pkg-config; ac_word=$2 |
6255 | set dummy pkg-config; ac_word=$2 |
6299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6256 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6300 | $as_echo_n "checking for $ac_word... " >&6; } |
6257 | $as_echo_n "checking for $ac_word... " >&6; } |
6301 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6258 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6302 | $as_echo_n "(cached) " >&6 |
6259 | $as_echo_n "(cached) " >&6 |
6303 | else |
6260 | else |
6304 | case $PKG_CONFIG in |
6261 | case $PKG_CONFIG in |
6305 | [\\/]* | ?:[\\/]*) |
6262 | [\\/]* | ?:[\\/]*) |
6306 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6263 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
6345 | |
6302 | |
6346 | if test x$support_pixbuf = xyes; then |
6303 | if test x$support_pixbuf = xyes; then |
6347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6304 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6348 | $as_echo "ok" >&6; } |
6305 | $as_echo "ok" >&6; } |
6349 | image_lib=gdk-pixbuf |
6306 | image_lib=gdk-pixbuf |
6350 | support_afterimage=no |
|
|
6351 | |
6307 | |
6352 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6308 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6353 | |
6309 | |
6354 | |
6310 | |
6355 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
6311 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
… | |
… | |
6370 | support_startup_notification=no |
6326 | support_startup_notification=no |
6371 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6327 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6372 | set dummy pkg-config; ac_word=$2 |
6328 | set dummy pkg-config; ac_word=$2 |
6373 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6329 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6374 | $as_echo_n "checking for $ac_word... " >&6; } |
6330 | $as_echo_n "checking for $ac_word... " >&6; } |
6375 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6331 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6376 | $as_echo_n "(cached) " >&6 |
6332 | $as_echo_n "(cached) " >&6 |
6377 | else |
6333 | else |
6378 | case $PKG_CONFIG in |
6334 | case $PKG_CONFIG in |
6379 | [\\/]* | ?:[\\/]*) |
6335 | [\\/]* | ?:[\\/]*) |
6380 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6336 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
6430 | fi |
6386 | fi |
6431 | |
6387 | |
6432 | |
6388 | |
6433 | |
6389 | |
6434 | |
6390 | |
6435 | AFTERIMAGE_CFLAGS= |
|
|
6436 | AFTERIMAGE_LIBS= |
|
|
6437 | AFTERIMAGE_VERSION= |
|
|
6438 | |
|
|
6439 | if test x$support_afterimage = xyes; then |
|
|
6440 | support_afterimage=no |
|
|
6441 | |
|
|
6442 | if test "x$afterimage_config" = "x" ; then |
|
|
6443 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6444 | set dummy afterimage-config; ac_word=$2 |
|
|
6445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
6446 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
6447 | if ${ac_cv_path_afterimage_config+:} false; then : |
|
|
6448 | $as_echo_n "(cached) " >&6 |
|
|
6449 | else |
|
|
6450 | case $afterimage_config in |
|
|
6451 | [\\/]* | ?:[\\/]*) |
|
|
6452 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6453 | ;; |
|
|
6454 | *) |
|
|
6455 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6456 | for as_dir in $PATH |
|
|
6457 | do |
|
|
6458 | IFS=$as_save_IFS |
|
|
6459 | test -z "$as_dir" && as_dir=. |
|
|
6460 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6461 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6462 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6463 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6464 | break 2 |
|
|
6465 | fi |
|
|
6466 | done |
|
|
6467 | done |
|
|
6468 | IFS=$as_save_IFS |
|
|
6469 | |
|
|
6470 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6471 | ;; |
|
|
6472 | esac |
|
|
6473 | fi |
|
|
6474 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6475 | if test -n "$afterimage_config"; then |
|
|
6476 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5 |
|
|
6477 | $as_echo "$afterimage_config" >&6; } |
|
|
6478 | else |
|
|
6479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6480 | $as_echo "no" >&6; } |
|
|
6481 | fi |
|
|
6482 | |
|
|
6483 | |
|
|
6484 | fi |
|
|
6485 | if test "x$afterimage_config" != "xno" ; then |
|
|
6486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 |
|
|
6487 | $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } |
|
|
6488 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
6489 | if test -n "$xAFTERIMAGE_VERSION" ; then |
|
|
6490 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6491 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6492 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
6493 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
6494 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
6495 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
|
|
6496 | support_afterimage=yes |
|
|
6497 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
|
|
6498 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
|
|
6499 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
|
|
6500 | fi |
|
|
6501 | fi |
|
|
6502 | fi |
|
|
6503 | if test "x$support_afterimage" = "xyes"; then |
|
|
6504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6505 | $as_echo "$AFTERIMAGE_LIBS" >&6; } |
|
|
6506 | image_lib=libafterimage |
|
|
6507 | |
|
|
6508 | $as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h |
|
|
6509 | |
|
|
6510 | |
|
|
6511 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6512 | |
|
|
6513 | else |
|
|
6514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6515 | $as_echo "no" >&6; } |
|
|
6516 | fi |
|
|
6517 | fi |
|
|
6518 | fi |
|
|
6519 | |
|
|
6520 | |
|
|
6521 | |
|
|
6522 | |
|
|
6523 | for ac_header in \ |
6391 | for ac_header in \ |
6524 | sys/byteorder.h \ |
6392 | sys/byteorder.h \ |
6525 | sys/ioctl.h \ |
6393 | sys/ioctl.h \ |
6526 | sys/sockio.h \ |
6394 | sys/sockio.h \ |
6527 | sys/strredir.h \ |
6395 | sys/strredir.h \ |
6528 | stdint.h \ |
6396 | stdint.h \ |
6529 | wchar.h \ |
6397 | wchar.h \ |
6530 | cwchar \ |
|
|
6531 | |
6398 | |
6532 | do : |
6399 | do : |
6533 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6400 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6534 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6401 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6535 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6402 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
… | |
… | |
6542 | done |
6409 | done |
6543 | |
6410 | |
6544 | |
6411 | |
6545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
6412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
6546 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
6413 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
6547 | if ${rxvt_cv_xlib_illegal_access+:} false; then : |
6414 | if test "${rxvt_cv_xlib_illegal_access+set}" = set; then : |
6548 | $as_echo_n "(cached) " >&6 |
6415 | $as_echo_n "(cached) " >&6 |
6549 | else |
6416 | else |
6550 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6417 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6551 | /* end confdefs.h. */ |
6418 | /* end confdefs.h. */ |
6552 | |
6419 | |
… | |
… | |
6579 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
6446 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
6580 | |
6447 | |
6581 | fi |
6448 | fi |
6582 | |
6449 | |
6583 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
6450 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
6584 | if test "x$ac_cv_type_mode_t" = xyes; then : |
6451 | if test "x$ac_cv_type_mode_t" = x""yes; then : |
6585 | |
6452 | |
6586 | else |
6453 | else |
6587 | |
6454 | |
6588 | cat >>confdefs.h <<_ACEOF |
6455 | cat >>confdefs.h <<_ACEOF |
6589 | #define mode_t int |
6456 | #define mode_t int |
6590 | _ACEOF |
6457 | _ACEOF |
6591 | |
6458 | |
6592 | fi |
6459 | fi |
6593 | |
6460 | |
6594 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6461 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6595 | if test "x$ac_cv_type_pid_t" = xyes; then : |
6462 | if test "x$ac_cv_type_pid_t" = x""yes; then : |
6596 | |
6463 | |
6597 | else |
6464 | else |
6598 | |
6465 | |
6599 | cat >>confdefs.h <<_ACEOF |
6466 | cat >>confdefs.h <<_ACEOF |
6600 | #define pid_t int |
6467 | #define pid_t int |
… | |
… | |
6602 | |
6469 | |
6603 | fi |
6470 | fi |
6604 | |
6471 | |
6605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
6472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
6606 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
6473 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
6607 | if ${ac_cv_type_uid_t+:} false; then : |
6474 | if test "${ac_cv_type_uid_t+set}" = set; then : |
6608 | $as_echo_n "(cached) " >&6 |
6475 | $as_echo_n "(cached) " >&6 |
6609 | else |
6476 | else |
6610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6477 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6611 | /* end confdefs.h. */ |
6478 | /* end confdefs.h. */ |
6612 | #include <sys/types.h> |
6479 | #include <sys/types.h> |
… | |
… | |
6682 | |
6549 | |
6683 | |
6550 | |
6684 | for ac_func in unsetenv |
6551 | for ac_func in unsetenv |
6685 | do : |
6552 | do : |
6686 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
6553 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
6687 | if test "x$ac_cv_func_unsetenv" = xyes; then : |
6554 | if test "x$ac_cv_func_unsetenv" = x""yes; then : |
6688 | cat >>confdefs.h <<_ACEOF |
6555 | cat >>confdefs.h <<_ACEOF |
6689 | #define HAVE_UNSETENV 1 |
6556 | #define HAVE_UNSETENV 1 |
6690 | _ACEOF |
6557 | _ACEOF |
6691 | |
6558 | |
6692 | fi |
6559 | fi |
… | |
… | |
6756 | |
6623 | |
6757 | |
6624 | |
6758 | for ac_header in lastlog.h |
6625 | for ac_header in lastlog.h |
6759 | do : |
6626 | do : |
6760 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
6627 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
6761 | if test "x$ac_cv_header_lastlog_h" = xyes; then : |
6628 | if test "x$ac_cv_header_lastlog_h" = x""yes; then : |
6762 | cat >>confdefs.h <<_ACEOF |
6629 | cat >>confdefs.h <<_ACEOF |
6763 | #define HAVE_LASTLOG_H 1 |
6630 | #define HAVE_LASTLOG_H 1 |
6764 | _ACEOF |
6631 | _ACEOF |
6765 | |
6632 | |
6766 | fi |
6633 | fi |
6767 | |
6634 | |
6768 | done |
6635 | done |
6769 | |
6636 | |
|
|
6637 | |
|
|
6638 | case $host in |
|
|
6639 | *-*-solaris*) |
|
|
6640 | |
|
|
6641 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6642 | |
|
|
6643 | ;; |
|
|
6644 | esac |
6770 | |
6645 | |
6771 | |
6646 | |
6772 | for ac_header in utmp.h |
6647 | for ac_header in utmp.h |
6773 | do : |
6648 | do : |
6774 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6649 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6775 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6650 | if test "x$ac_cv_header_utmp_h" = x""yes; then : |
6776 | cat >>confdefs.h <<_ACEOF |
6651 | cat >>confdefs.h <<_ACEOF |
6777 | #define HAVE_UTMP_H 1 |
6652 | #define HAVE_UTMP_H 1 |
6778 | _ACEOF |
6653 | _ACEOF |
6779 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6654 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6780 | #include <sys/types.h> |
6655 | #include <sys/types.h> |
6781 | #include <utmp.h> |
6656 | #include <utmp.h> |
6782 | |
6657 | |
6783 | " |
6658 | " |
6784 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
6659 | if test "x$ac_cv_type_struct_utmp" = x""yes; then : |
6785 | |
6660 | |
6786 | cat >>confdefs.h <<_ACEOF |
6661 | cat >>confdefs.h <<_ACEOF |
6787 | #define HAVE_STRUCT_UTMP 1 |
6662 | #define HAVE_STRUCT_UTMP 1 |
6788 | _ACEOF |
6663 | _ACEOF |
6789 | |
6664 | |
… | |
… | |
6799 | ac_fn_cxx_check_member () |
6674 | ac_fn_cxx_check_member () |
6800 | { |
6675 | { |
6801 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6676 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6802 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
6677 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
6803 | $as_echo_n "checking for $2.$3... " >&6; } |
6678 | $as_echo_n "checking for $2.$3... " >&6; } |
6804 | if eval \${$4+:} false; then : |
6679 | if eval "test \"\${$4+set}\"" = set; then : |
6805 | $as_echo_n "(cached) " >&6 |
6680 | $as_echo_n "(cached) " >&6 |
6806 | else |
6681 | else |
6807 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6682 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6808 | /* end confdefs.h. */ |
6683 | /* end confdefs.h. */ |
6809 | $5 |
6684 | $5 |
… | |
… | |
6843 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6718 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6844 | fi |
6719 | fi |
6845 | eval ac_res=\$$4 |
6720 | eval ac_res=\$$4 |
6846 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6847 | $as_echo "$ac_res" >&6; } |
6722 | $as_echo "$ac_res" >&6; } |
6848 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
6723 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
6849 | |
6724 | |
6850 | } # ac_fn_cxx_check_member |
6725 | } # ac_fn_cxx_check_member |
6851 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6726 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6852 | #include <sys/types.h> |
6727 | #include <sys/types.h> |
6853 | #include <utmp.h> |
6728 | #include <utmp.h> |
6854 | |
6729 | |
6855 | " |
6730 | " |
6856 | if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then : |
6731 | if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then : |
6857 | |
6732 | |
6858 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
6733 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
6859 | |
6734 | |
6860 | fi |
6735 | fi |
6861 | |
6736 | |
… | |
… | |
6863 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
6738 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
6864 | #include <sys/types.h> |
6739 | #include <sys/types.h> |
6865 | #include <utmp.h> |
6740 | #include <utmp.h> |
6866 | |
6741 | |
6867 | " |
6742 | " |
6868 | if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then : |
6743 | if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then : |
6869 | |
6744 | |
6870 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
6745 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
6871 | |
6746 | |
6872 | fi |
6747 | fi |
6873 | |
6748 | |
… | |
… | |
6878 | |
6753 | |
6879 | |
6754 | |
6880 | for ac_header in utmpx.h |
6755 | for ac_header in utmpx.h |
6881 | do : |
6756 | do : |
6882 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6757 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6883 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
6758 | if test "x$ac_cv_header_utmpx_h" = x""yes; then : |
6884 | cat >>confdefs.h <<_ACEOF |
6759 | cat >>confdefs.h <<_ACEOF |
6885 | #define HAVE_UTMPX_H 1 |
6760 | #define HAVE_UTMPX_H 1 |
6886 | _ACEOF |
6761 | _ACEOF |
6887 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6762 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6888 | #include <sys/types.h> |
6763 | #include <sys/types.h> |
6889 | #include <utmpx.h> |
6764 | #include <utmpx.h> |
6890 | |
6765 | |
6891 | " |
6766 | " |
6892 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
6767 | if test "x$ac_cv_type_struct_utmpx" = x""yes; then : |
6893 | |
6768 | |
6894 | cat >>confdefs.h <<_ACEOF |
6769 | cat >>confdefs.h <<_ACEOF |
6895 | #define HAVE_STRUCT_UTMPX 1 |
6770 | #define HAVE_STRUCT_UTMPX 1 |
6896 | _ACEOF |
6771 | _ACEOF |
6897 | |
6772 | |
… | |
… | |
6902 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
6777 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
6903 | #include <sys/types.h> |
6778 | #include <sys/types.h> |
6904 | #include <utmpx.h> |
6779 | #include <utmpx.h> |
6905 | |
6780 | |
6906 | " |
6781 | " |
6907 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
6782 | if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then : |
6908 | |
6783 | |
6909 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6784 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6910 | |
|
|
6911 | fi |
|
|
6912 | |
|
|
6913 | |
|
|
6914 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" " |
|
|
6915 | #include <sys/types.h> |
|
|
6916 | #include <utmpx.h> |
|
|
6917 | |
|
|
6918 | " |
|
|
6919 | if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then : |
|
|
6920 | |
|
|
6921 | $as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h |
|
|
6922 | |
6785 | |
6923 | fi |
6786 | fi |
6924 | |
6787 | |
6925 | |
6788 | |
6926 | fi |
6789 | fi |
… | |
… | |
6933 | #ifdef HAVE_LASTLOG_H |
6796 | #ifdef HAVE_LASTLOG_H |
6934 | #include <lastlog.h> |
6797 | #include <lastlog.h> |
6935 | #endif |
6798 | #endif |
6936 | |
6799 | |
6937 | " |
6800 | " |
6938 | if test "x$ac_cv_type_struct_lastlog" = xyes; then : |
6801 | if test "x$ac_cv_type_struct_lastlog" = x""yes; then : |
6939 | |
6802 | |
6940 | cat >>confdefs.h <<_ACEOF |
6803 | cat >>confdefs.h <<_ACEOF |
6941 | #define HAVE_STRUCT_LASTLOG 1 |
6804 | #define HAVE_STRUCT_LASTLOG 1 |
6942 | _ACEOF |
6805 | _ACEOF |
6943 | |
6806 | |
… | |
… | |
6951 | #ifdef HAVE_LASTLOG_H |
6814 | #ifdef HAVE_LASTLOG_H |
6952 | #include <lastlog.h> |
6815 | #include <lastlog.h> |
6953 | #endif |
6816 | #endif |
6954 | |
6817 | |
6955 | " |
6818 | " |
6956 | if test "x$ac_cv_type_struct_lastlogx" = xyes; then : |
6819 | if test "x$ac_cv_type_struct_lastlogx" = x""yes; then : |
6957 | |
6820 | |
6958 | cat >>confdefs.h <<_ACEOF |
6821 | cat >>confdefs.h <<_ACEOF |
6959 | #define HAVE_STRUCT_LASTLOGX 1 |
6822 | #define HAVE_STRUCT_LASTLOGX 1 |
6960 | _ACEOF |
6823 | _ACEOF |
6961 | |
6824 | |
6962 | |
6825 | |
6963 | fi |
6826 | fi |
6964 | |
6827 | |
6965 | |
6828 | |
6966 | |
6829 | |
6967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where utmp is located" >&5 |
6830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 |
6968 | $as_echo_n "checking where utmp is located... " >&6; } |
6831 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
6969 | if ${pt_cv_path_utmp+:} false; then : |
6832 | if test "${pt_cv_path_utmp+set}" = set; then : |
6970 | $as_echo_n "(cached) " >&6 |
6833 | $as_echo_n "(cached) " >&6 |
6971 | else |
6834 | else |
|
|
6835 | |
6972 | if test "$cross_compiling" = yes; then : |
6836 | if test "$cross_compiling" != yes; then |
6973 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define UTMP_FILE in config.h manually" >&5 |
|
|
6974 | $as_echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
|
|
6975 | else |
|
|
6976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6977 | /* end confdefs.h. */ |
|
|
6978 | #include <stdio.h> |
|
|
6979 | #include <stdlib.h> |
|
|
6980 | #include <sys/stat.h> |
|
|
6981 | |
|
|
6982 | #include <sys/types.h> |
|
|
6983 | #include <utmp.h> |
|
|
6984 | |
|
|
6985 | int main() |
|
|
6986 | { |
|
|
6987 | const char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; |
6837 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
6988 | FILE *f = fopen("conftestval", "w"); |
6838 | if test -f "$file"; then |
6989 | if (!f) return 1; |
|
|
6990 | #ifdef UTMP_FILE |
|
|
6991 | fprintf(f, "%s\n", UTMP_FILE); |
|
|
6992 | #elif defined(_PATH_UTMP) |
|
|
6993 | fprintf(f, "%s\n", _PATH_UTMP); |
|
|
6994 | #else |
|
|
6995 | for (path = list; *path; path++) { |
|
|
6996 | struct stat st; |
|
|
6997 | if (stat(*path, &st) == 0) { |
|
|
6998 | fprintf(f, "%s\n", *path); |
|
|
6999 | break; |
|
|
7000 | } |
|
|
7001 | } |
|
|
7002 | #endif |
|
|
7003 | return fclose(f) != 0; |
|
|
7004 | } |
|
|
7005 | _ACEOF |
|
|
7006 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7007 | pt_cv_path_utmp=`cat conftestval` |
|
|
7008 | else |
|
|
7009 | pt_cv_path_utmp= |
6839 | pt_cv_path_utmp=$file |
|
|
6840 | break |
|
|
6841 | fi |
|
|
6842 | done |
7010 | fi |
6843 | fi |
7011 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7012 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7013 | fi |
|
|
7014 | |
|
|
7015 | fi |
6844 | fi |
7016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
6845 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
7017 | $as_echo "$pt_cv_path_utmp" >&6; } |
6846 | $as_echo "$pt_cv_path_utmp" >&6; } |
7018 | if test x$pt_cv_path_utmp != x; then |
6847 | if test x$pt_cv_path_utmp != x; then |
7019 | |
6848 | |
7020 | cat >>confdefs.h <<_ACEOF |
6849 | cat >>confdefs.h <<_ACEOF |
7021 | #define UTMP_FILE "$pt_cv_path_utmp" |
6850 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
7022 | _ACEOF |
6851 | _ACEOF |
7023 | |
6852 | |
|
|
6853 | elif test "$cross_compiling" = yes; then |
|
|
6854 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5 |
|
|
6855 | $as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} |
7024 | fi |
6856 | fi |
7025 | |
6857 | |
7026 | |
6858 | |
7027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmp is located" >&5 |
6859 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 |
7028 | $as_echo_n "checking where wtmp is located... " >&6; } |
6860 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
7029 | if ${pt_cv_path_wtmp+:} false; then : |
6861 | if test "${pt_cv_path_wtmp+set}" = set; then : |
7030 | $as_echo_n "(cached) " >&6 |
6862 | $as_echo_n "(cached) " >&6 |
7031 | else |
6863 | else |
|
|
6864 | |
7032 | if test "$cross_compiling" = yes; then : |
6865 | if test "$cross_compiling" != yes; then |
7033 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMP_FILE in config.h manually" >&5 |
|
|
7034 | $as_echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
|
|
7035 | else |
|
|
7036 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7037 | /* end confdefs.h. */ |
|
|
7038 | #include <stdio.h> |
|
|
7039 | #include <stdlib.h> |
|
|
7040 | #include <sys/stat.h> |
|
|
7041 | |
|
|
7042 | #include <sys/types.h> |
|
|
7043 | #ifdef HAVE_UTMP_H |
|
|
7044 | #include <utmp.h> |
|
|
7045 | #endif |
|
|
7046 | |
|
|
7047 | int main() |
|
|
7048 | { |
|
|
7049 | const char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; |
6866 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
7050 | FILE *f = fopen("conftestval", "w"); |
6867 | if test -f "$file"; then |
7051 | if (!f) return 1; |
|
|
7052 | #ifdef WTMP_FILE |
|
|
7053 | fprintf(f, "%s\n", WTMP_FILE); |
|
|
7054 | #elif defined(_PATH_WTMP) |
|
|
7055 | fprintf(f, "%s\n", _PATH_WTMP); |
|
|
7056 | #else |
|
|
7057 | for (path = list; *path; path++) { |
|
|
7058 | struct stat st; |
|
|
7059 | if (stat(*path, &st) == 0) { |
|
|
7060 | fprintf(f, "%s\n", *path); |
|
|
7061 | break; |
|
|
7062 | } |
|
|
7063 | } |
|
|
7064 | #endif |
|
|
7065 | return fclose(f) != 0; |
|
|
7066 | } |
|
|
7067 | _ACEOF |
|
|
7068 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7069 | pt_cv_path_wtmp=`cat conftestval` |
|
|
7070 | else |
|
|
7071 | pt_cv_path_wtmp= |
6868 | pt_cv_path_wtmp=$file |
|
|
6869 | break |
|
|
6870 | fi |
|
|
6871 | done |
7072 | fi |
6872 | fi |
7073 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7074 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7075 | fi |
|
|
7076 | |
|
|
7077 | fi |
6873 | fi |
7078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
6874 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
7079 | $as_echo "$pt_cv_path_wtmp" >&6; } |
6875 | $as_echo "$pt_cv_path_wtmp" >&6; } |
7080 | if test x$pt_cv_path_wtmp != x; then |
6876 | if test x$pt_cv_path_wtmp != x; then |
7081 | |
6877 | |
7082 | cat >>confdefs.h <<_ACEOF |
6878 | cat >>confdefs.h <<_ACEOF |
7083 | #define WTMP_FILE "$pt_cv_path_wtmp" |
6879 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
7084 | _ACEOF |
6880 | _ACEOF |
7085 | |
6881 | |
|
|
6882 | elif test "$cross_compiling" = yes; then |
|
|
6883 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5 |
|
|
6884 | $as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} |
7086 | fi |
6885 | fi |
7087 | |
6886 | |
7088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmpx is located" >&5 |
6887 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 |
7089 | $as_echo_n "checking where wtmpx is located... " >&6; } |
6888 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
7090 | if ${pt_cv_path_wtmpx+:} false; then : |
6889 | if test "${pt_cv_path_wtmpx+set}" = set; then : |
7091 | $as_echo_n "(cached) " >&6 |
6890 | $as_echo_n "(cached) " >&6 |
7092 | else |
6891 | else |
|
|
6892 | |
7093 | if test "$cross_compiling" = yes; then : |
6893 | if test "$cross_compiling" != yes; then |
7094 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
6894 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
7095 | $as_echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
6895 | if test -f "$file"; then |
7096 | else |
|
|
7097 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7098 | /* end confdefs.h. */ |
|
|
7099 | #include <stdio.h> |
|
|
7100 | #include <stdlib.h> |
|
|
7101 | #include <sys/stat.h> |
|
|
7102 | |
|
|
7103 | #ifdef HAVE_UTMPX_H |
|
|
7104 | #include <utmpx.h> |
|
|
7105 | #endif |
|
|
7106 | |
|
|
7107 | int main() |
|
|
7108 | { |
|
|
7109 | const char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; |
|
|
7110 | FILE *f = fopen("conftestval", "w"); |
|
|
7111 | if (!f) return 1; |
|
|
7112 | #ifdef WTMPX_FILE |
|
|
7113 | fprintf(f, "%s\n", WTMPX_FILE); |
|
|
7114 | #elif defined(_PATH_WTMPX) |
|
|
7115 | fprintf(f, "%s\n", _PATH_WTMPX); |
|
|
7116 | #else |
|
|
7117 | for (path = list; *path; path++) { |
|
|
7118 | struct stat st; |
|
|
7119 | if (stat(*path, &st) == 0) { |
|
|
7120 | fprintf(f, "%s\n", *path); |
|
|
7121 | break; |
|
|
7122 | } |
|
|
7123 | } |
|
|
7124 | #endif |
|
|
7125 | return fclose(f) != 0; |
|
|
7126 | } |
|
|
7127 | _ACEOF |
|
|
7128 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7129 | pt_cv_path_wtmpx=`cat conftestval` |
|
|
7130 | else |
|
|
7131 | pt_cv_path_wtmpx= |
6896 | pt_cv_path_wtmpx=$file |
|
|
6897 | break |
|
|
6898 | fi |
|
|
6899 | done |
7132 | fi |
6900 | fi |
7133 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7134 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7135 | fi |
|
|
7136 | |
|
|
7137 | fi |
6901 | fi |
7138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
6902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
7139 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
6903 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
7140 | if test x$pt_cv_path_wtmpx != x; then |
6904 | if test x$pt_cv_path_wtmpx != x; then |
7141 | |
6905 | |
7142 | cat >>confdefs.h <<_ACEOF |
6906 | cat >>confdefs.h <<_ACEOF |
7143 | #define WTMPX_FILE "$pt_cv_path_wtmpx" |
6907 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
7144 | _ACEOF |
6908 | _ACEOF |
7145 | |
6909 | |
|
|
6910 | elif test "$cross_compiling" = yes; then |
|
|
6911 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5 |
|
|
6912 | $as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} |
7146 | fi |
6913 | fi |
7147 | |
6914 | |
7148 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlog is located" >&5 |
6915 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 |
7149 | $as_echo_n "checking where lastlog is located... " >&6; } |
6916 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
7150 | if ${pt_cv_path_lastlog+:} false; then : |
6917 | if test "${pt_cv_path_lastlog+set}" = set; then : |
7151 | $as_echo_n "(cached) " >&6 |
6918 | $as_echo_n "(cached) " >&6 |
7152 | else |
6919 | else |
|
|
6920 | |
7153 | if test "$cross_compiling" = yes; then : |
6921 | if test "$cross_compiling" != yes; then |
7154 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
6922 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
7155 | $as_echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
6923 | if test -f "$file"; then |
7156 | else |
|
|
7157 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7158 | /* end confdefs.h. */ |
|
|
7159 | #include <stdio.h> |
|
|
7160 | #include <stdlib.h> |
|
|
7161 | #include <sys/stat.h> |
|
|
7162 | |
|
|
7163 | #include <sys/types.h> |
|
|
7164 | #ifdef HAVE_UTMP_H |
|
|
7165 | #include <utmp.h> |
|
|
7166 | #endif |
|
|
7167 | #ifdef HAVE_LASTLOG_H |
|
|
7168 | #include <lastlog.h> |
|
|
7169 | #endif |
|
|
7170 | |
|
|
7171 | int main() |
|
|
7172 | { |
|
|
7173 | const char **path, *list[] = { "/var/log/lastlog", NULL }; |
|
|
7174 | FILE *f = fopen("conftestval", "w"); |
|
|
7175 | if (!f) return 1; |
|
|
7176 | #ifdef LASTLOG_FILE |
|
|
7177 | fprintf(f, "%s\n", LASTLOG_FILE); |
|
|
7178 | #elif defined(_PATH_LASTLOG) |
|
|
7179 | fprintf(f, "%s\n", _PATH_LASTLOG); |
|
|
7180 | #else |
|
|
7181 | for (path = list; *path; path++) { |
|
|
7182 | struct stat st; |
|
|
7183 | if (stat(*path, &st) == 0) { |
|
|
7184 | fprintf(f, "%s\n", *path); |
|
|
7185 | break; |
|
|
7186 | } |
|
|
7187 | } |
|
|
7188 | #endif |
|
|
7189 | return fclose(f) != 0; |
|
|
7190 | } |
|
|
7191 | _ACEOF |
|
|
7192 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7193 | pt_cv_path_lastlog=`cat conftestval` |
|
|
7194 | else |
|
|
7195 | pt_cv_path_lastlog= |
6924 | pt_cv_path_lastlog=$file |
|
|
6925 | break |
|
|
6926 | fi |
|
|
6927 | done |
7196 | fi |
6928 | fi |
7197 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7198 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7199 | fi |
|
|
7200 | |
|
|
7201 | fi |
6929 | fi |
7202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
6930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
7203 | $as_echo "$pt_cv_path_lastlog" >&6; } |
6931 | $as_echo "$pt_cv_path_lastlog" >&6; } |
7204 | if test x$pt_cv_path_lastlog != x; then |
6932 | if test x$pt_cv_path_lastlog != x; then |
7205 | |
6933 | |
7206 | cat >>confdefs.h <<_ACEOF |
6934 | cat >>confdefs.h <<_ACEOF |
7207 | #define LASTLOG_FILE "$pt_cv_path_lastlog" |
6935 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
7208 | _ACEOF |
6936 | _ACEOF |
7209 | |
6937 | |
|
|
6938 | elif test "$cross_compiling" = yes; then |
|
|
6939 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5 |
|
|
6940 | $as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} |
7210 | fi |
6941 | fi |
7211 | |
6942 | |
7212 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlogx is located" >&5 |
6943 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 |
7213 | $as_echo_n "checking where lastlogx is located... " >&6; } |
6944 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
7214 | if ${pt_cv_path_lastlogx+:} false; then : |
6945 | if test "${pt_cv_path_lastlogx+set}" = set; then : |
7215 | $as_echo_n "(cached) " >&6 |
6946 | $as_echo_n "(cached) " >&6 |
7216 | else |
6947 | else |
|
|
6948 | |
7217 | if test "$cross_compiling" = yes; then : |
6949 | if test "$cross_compiling" != yes; then |
7218 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
6950 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
7219 | $as_echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
6951 | if test -f "$file"; then |
7220 | else |
|
|
7221 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7222 | /* end confdefs.h. */ |
|
|
7223 | #include <stdio.h> |
|
|
7224 | #include <stdlib.h> |
|
|
7225 | #include <sys/stat.h> |
|
|
7226 | |
|
|
7227 | #ifdef HAVE_UTMPX_H |
|
|
7228 | #include <utmpx.h> |
|
|
7229 | #endif |
|
|
7230 | |
|
|
7231 | int main() |
|
|
7232 | { |
|
|
7233 | const char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL }; |
|
|
7234 | FILE *f = fopen("conftestval", "w"); |
|
|
7235 | if (!f) return 1; |
|
|
7236 | #ifdef LASTLOGX_FILE |
|
|
7237 | fprintf(f, "%s\n", LASTLOGX_FILE); |
|
|
7238 | #elif defined(_PATH_LASTLOGX) |
|
|
7239 | fprintf(f, "%s\n", _PATH_LASTLOGX); |
|
|
7240 | #else |
|
|
7241 | for (path = list; *path; path++) { |
|
|
7242 | struct stat st; |
|
|
7243 | if (stat(*path, &st) == 0) { |
|
|
7244 | fprintf(f, "%s\n", *path); |
|
|
7245 | break; |
|
|
7246 | } |
|
|
7247 | } |
|
|
7248 | #endif |
|
|
7249 | return fclose(f) != 0; |
|
|
7250 | } |
|
|
7251 | _ACEOF |
|
|
7252 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7253 | pt_cv_path_lastlogx=`cat conftestval` |
|
|
7254 | else |
|
|
7255 | pt_cv_path_lastlogx= |
6952 | pt_cv_path_lastlogx=$file |
|
|
6953 | break |
|
|
6954 | fi |
|
|
6955 | done |
7256 | fi |
6956 | fi |
7257 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7258 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7259 | fi |
|
|
7260 | |
|
|
7261 | fi |
6957 | fi |
7262 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
6958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
7263 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
6959 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
7264 | if test x$pt_cv_path_lastlogx != x; then |
6960 | if test x$pt_cv_path_lastlogx != x; then |
7265 | |
6961 | |
7266 | cat >>confdefs.h <<_ACEOF |
6962 | cat >>confdefs.h <<_ACEOF |
7267 | #define LASTLOGX_FILE "$pt_cv_path_lastlogx" |
6963 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
7268 | _ACEOF |
6964 | _ACEOF |
7269 | |
6965 | |
|
|
6966 | elif test "$cross_compiling" = yes; then |
|
|
6967 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
6968 | $as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;} |
7270 | fi |
6969 | fi |
7271 | |
6970 | |
7272 | |
6971 | |
7273 | |
6972 | |
7274 | |
6973 | |
… | |
… | |
7277 | CFLAGS="$CFLAGS $X_CFLAGS" |
6976 | CFLAGS="$CFLAGS $X_CFLAGS" |
7278 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
6977 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7279 | if test x$support_xim = xyes; then |
6978 | if test x$support_xim = xyes; then |
7280 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
6979 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7281 | $as_echo_n "checking for working Xlocale... " >&6; } |
6980 | $as_echo_n "checking for working Xlocale... " >&6; } |
7282 | if ${rxvt_cv_func_xlocale+:} false; then : |
6981 | if test "${rxvt_cv_func_xlocale+set}" = set; then : |
7283 | $as_echo_n "(cached) " >&6 |
6982 | $as_echo_n "(cached) " >&6 |
7284 | else |
6983 | else |
7285 | if test "$cross_compiling" = yes; then : |
6984 | if test "$cross_compiling" = yes; then : |
7286 | : |
6985 | : |
7287 | else |
6986 | else |
… | |
… | |
7315 | |
7014 | |
7316 | $as_echo "#define USE_XIM 1" >>confdefs.h |
7015 | $as_echo "#define USE_XIM 1" >>confdefs.h |
7317 | |
7016 | |
7318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
7017 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
7319 | $as_echo_n "checking for broken XIM callback... " >&6; } |
7018 | $as_echo_n "checking for broken XIM callback... " >&6; } |
7320 | if ${rxvt_cv_broken_ximcb+:} false; then : |
7019 | if test "${rxvt_cv_broken_ximcb+set}" = set; then : |
7321 | $as_echo_n "(cached) " >&6 |
7020 | $as_echo_n "(cached) " >&6 |
7322 | else |
7021 | else |
7323 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7022 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7324 | /* end confdefs.h. */ |
7023 | /* end confdefs.h. */ |
7325 | |
7024 | |
… | |
… | |
7351 | fi |
7050 | fi |
7352 | fi |
7051 | fi |
7353 | |
7052 | |
7354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
7053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
7355 | $as_echo_n "checking for working X setlocale... " >&6; } |
7054 | $as_echo_n "checking for working X setlocale... " >&6; } |
7356 | if ${rxvt_cv_func_xsetlocale+:} false; then : |
7055 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then : |
7357 | $as_echo_n "(cached) " >&6 |
7056 | $as_echo_n "(cached) " >&6 |
7358 | else |
7057 | else |
7359 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7058 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7360 | /* end confdefs.h. */ |
7059 | /* end confdefs.h. */ |
7361 | #define X_LOCALE 1 |
7060 | #define X_LOCALE 1 |
… | |
… | |
7384 | |
7083 | |
7385 | fi |
7084 | fi |
7386 | LIBS=$save_LIBS |
7085 | LIBS=$save_LIBS |
7387 | CFLAGS=$save_CFLAGS |
7086 | CFLAGS=$save_CFLAGS |
7388 | |
7087 | |
7389 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 |
|
|
7390 | $as_echo_n "checking for working plain setlocale... " >&6; } |
|
|
7391 | if ${rxvt_cv_func_setlocale+:} false; then : |
|
|
7392 | $as_echo_n "(cached) " >&6 |
|
|
7393 | else |
|
|
7394 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7395 | /* end confdefs.h. */ |
|
|
7396 | #include <clocale> |
|
|
7397 | int |
|
|
7398 | main () |
|
|
7399 | { |
|
|
7400 | setlocale(LC_CTYPE, ""); |
|
|
7401 | ; |
|
|
7402 | return 0; |
|
|
7403 | } |
|
|
7404 | _ACEOF |
|
|
7405 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7406 | rxvt_cv_func_setlocale=yes |
|
|
7407 | else |
|
|
7408 | rxvt_cv_func_setlocale=no |
|
|
7409 | fi |
|
|
7410 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7411 | conftest$ac_exeext conftest.$ac_ext |
|
|
7412 | fi |
|
|
7413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5 |
|
|
7414 | $as_echo "$rxvt_cv_func_setlocale" >&6; } |
|
|
7415 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
7416 | |
|
|
7417 | $as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h |
|
|
7418 | |
|
|
7419 | fi |
|
|
7420 | |
|
|
7421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7422 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7089 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7423 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7090 | if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : |
7424 | $as_echo_n "(cached) " >&6 |
7091 | $as_echo_n "(cached) " >&6 |
7425 | else |
7092 | else |
7426 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7093 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7427 | /* end confdefs.h. */ |
7094 | /* end confdefs.h. */ |
7428 | #include <langinfo.h> |
7095 | #include <langinfo.h> |
… | |
… | |
7449 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7116 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7450 | |
7117 | |
7451 | fi |
7118 | fi |
7452 | |
7119 | |
7453 | |
7120 | |
|
|
7121 | case $host in |
|
|
7122 | *-*-solaris*) |
|
|
7123 | |
|
|
7124 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
7125 | |
|
|
7126 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
|
|
7127 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
|
|
7128 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7129 | $as_echo_n "(cached) " >&6 |
|
|
7130 | else |
|
|
7131 | ac_func_search_save_LIBS=$LIBS |
|
|
7132 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7133 | /* end confdefs.h. */ |
|
|
7134 | |
|
|
7135 | /* Override any GCC internal prototype to avoid an error. |
|
|
7136 | Use char because int might match the return type of a GCC |
|
|
7137 | builtin and then its argument prototype would still apply. */ |
|
|
7138 | #ifdef __cplusplus |
|
|
7139 | extern "C" |
|
|
7140 | #endif |
|
|
7141 | char sendmsg (); |
|
|
7142 | int |
|
|
7143 | main () |
|
|
7144 | { |
|
|
7145 | return sendmsg (); |
|
|
7146 | ; |
|
|
7147 | return 0; |
|
|
7148 | } |
|
|
7149 | _ACEOF |
|
|
7150 | for ac_lib in '' socket; do |
|
|
7151 | if test -z "$ac_lib"; then |
|
|
7152 | ac_res="none required" |
|
|
7153 | else |
|
|
7154 | ac_res=-l$ac_lib |
|
|
7155 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7156 | fi |
|
|
7157 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7158 | ac_cv_search_sendmsg=$ac_res |
|
|
7159 | fi |
|
|
7160 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7161 | conftest$ac_exeext |
|
|
7162 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7163 | break |
|
|
7164 | fi |
|
|
7165 | done |
|
|
7166 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7167 | |
|
|
7168 | else |
|
|
7169 | ac_cv_search_sendmsg=no |
|
|
7170 | fi |
|
|
7171 | rm conftest.$ac_ext |
|
|
7172 | LIBS=$ac_func_search_save_LIBS |
|
|
7173 | fi |
|
|
7174 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 |
|
|
7175 | $as_echo "$ac_cv_search_sendmsg" >&6; } |
|
|
7176 | ac_res=$ac_cv_search_sendmsg |
|
|
7177 | if test "$ac_res" != no; then : |
|
|
7178 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7179 | |
|
|
7180 | fi |
|
|
7181 | |
|
|
7182 | ;; |
|
|
7183 | esac |
|
|
7184 | |
7454 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7185 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7455 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7186 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7456 | if ${pt_cv_can_pass_fds+:} false; then : |
7187 | if test "${pt_cv_can_pass_fds+set}" = set; then : |
7457 | $as_echo_n "(cached) " >&6 |
7188 | $as_echo_n "(cached) " >&6 |
7458 | else |
7189 | else |
7459 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7190 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7460 | /* end confdefs.h. */ |
7191 | /* end confdefs.h. */ |
7461 | |
7192 | |
7462 | #include <cstddef> // broken bsds (is that redundant?) need this |
7193 | #include <stddef.h> // broken bsds (is that redundant?) need this |
7463 | #include <sys/types.h> |
7194 | #include <sys/types.h> |
7464 | #include <sys/socket.h> |
7195 | #include <sys/socket.h> |
7465 | #include <sys/uio.h> |
7196 | #include <sys/uio.h> |
7466 | |
7197 | |
7467 | int |
7198 | int |
… | |
… | |
7519 | for ac_header in \ |
7250 | for ac_header in \ |
7520 | pty.h \ |
7251 | pty.h \ |
7521 | util.h \ |
7252 | util.h \ |
7522 | libutil.h \ |
7253 | libutil.h \ |
7523 | sys/ioctl.h \ |
7254 | sys/ioctl.h \ |
7524 | sys/stropts.h \ |
|
|
7525 | stropts.h \ |
7255 | stropts.h \ |
7526 | |
7256 | |
7527 | do : |
7257 | do : |
7528 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7258 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7529 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7259 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
… | |
… | |
7558 | |
7288 | |
7559 | fi |
7289 | fi |
7560 | done |
7290 | done |
7561 | |
7291 | |
7562 | |
7292 | |
7563 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7293 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7564 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7294 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7565 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7295 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7566 | /* end confdefs.h. */ |
7296 | /* end confdefs.h. */ |
7567 | #include <stdlib.h> |
7297 | #include <stdlib.h> |
7568 | int |
7298 | int |
7569 | main () |
7299 | main () |
7570 | { |
7300 | { |
… | |
… | |
7576 | if ac_fn_cxx_try_link "$LINENO"; then : |
7306 | if ac_fn_cxx_try_link "$LINENO"; then : |
7577 | unix98_pty=yes |
7307 | unix98_pty=yes |
7578 | |
7308 | |
7579 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7309 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7580 | |
7310 | |
7581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7311 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7582 | $as_echo "yes" >&6; } |
7312 | $as_echo "yes" >&6; } |
7583 | else |
7313 | else |
7584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7585 | $as_echo "no" >&6; } |
7315 | $as_echo "no" >&6; } |
7586 | fi |
7316 | fi |
… | |
… | |
7588 | conftest$ac_exeext conftest.$ac_ext |
7318 | conftest$ac_exeext conftest.$ac_ext |
7589 | |
7319 | |
7590 | if test -z "$unix98_pty"; then |
7320 | if test -z "$unix98_pty"; then |
7591 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
7321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
7592 | $as_echo_n "checking for library containing openpty... " >&6; } |
7322 | $as_echo_n "checking for library containing openpty... " >&6; } |
7593 | if ${ac_cv_search_openpty+:} false; then : |
7323 | if test "${ac_cv_search_openpty+set}" = set; then : |
7594 | $as_echo_n "(cached) " >&6 |
7324 | $as_echo_n "(cached) " >&6 |
7595 | else |
7325 | else |
7596 | ac_func_search_save_LIBS=$LIBS |
7326 | ac_func_search_save_LIBS=$LIBS |
7597 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7327 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7598 | /* end confdefs.h. */ |
7328 | /* end confdefs.h. */ |
… | |
… | |
7622 | if ac_fn_cxx_try_link "$LINENO"; then : |
7352 | if ac_fn_cxx_try_link "$LINENO"; then : |
7623 | ac_cv_search_openpty=$ac_res |
7353 | ac_cv_search_openpty=$ac_res |
7624 | fi |
7354 | fi |
7625 | rm -f core conftest.err conftest.$ac_objext \ |
7355 | rm -f core conftest.err conftest.$ac_objext \ |
7626 | conftest$ac_exeext |
7356 | conftest$ac_exeext |
7627 | if ${ac_cv_search_openpty+:} false; then : |
7357 | if test "${ac_cv_search_openpty+set}" = set; then : |
7628 | break |
7358 | break |
7629 | fi |
7359 | fi |
7630 | done |
7360 | done |
7631 | if ${ac_cv_search_openpty+:} false; then : |
7361 | if test "${ac_cv_search_openpty+set}" = set; then : |
7632 | |
7362 | |
7633 | else |
7363 | else |
7634 | ac_cv_search_openpty=no |
7364 | ac_cv_search_openpty=no |
7635 | fi |
7365 | fi |
7636 | rm conftest.$ac_ext |
7366 | rm conftest.$ac_ext |
… | |
… | |
7650 | |
7380 | |
7651 | |
7381 | |
7652 | |
7382 | |
7653 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
7383 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
7654 | $as_echo_n "checking for tty group... " >&6; } |
7384 | $as_echo_n "checking for tty group... " >&6; } |
7655 | if ${pt_cv_tty_group+:} false; then : |
7385 | if test "${pt_cv_tty_group+set}" = set; then : |
7656 | $as_echo_n "(cached) " >&6 |
7386 | $as_echo_n "(cached) " >&6 |
7657 | else |
7387 | else |
7658 | if test "$cross_compiling" = yes; then : |
7388 | if test "$cross_compiling" = yes; then : |
7659 | pt_cv_tty_group=no |
7389 | pt_cv_tty_group=no |
7660 | else |
7390 | else |
… | |
… | |
7704 | rxvt_have_xrender=no |
7434 | rxvt_have_xrender=no |
7705 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7435 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7706 | set dummy pkg-config; ac_word=$2 |
7436 | set dummy pkg-config; ac_word=$2 |
7707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7437 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7708 | $as_echo_n "checking for $ac_word... " >&6; } |
7438 | $as_echo_n "checking for $ac_word... " >&6; } |
7709 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7439 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7710 | $as_echo_n "(cached) " >&6 |
7440 | $as_echo_n "(cached) " >&6 |
7711 | else |
7441 | else |
7712 | case $PKG_CONFIG in |
7442 | case $PKG_CONFIG in |
7713 | [\\/]* | ?:[\\/]*) |
7443 | [\\/]* | ?:[\\/]*) |
7714 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7444 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7749 | rxvt_have_xrender=yes |
7479 | rxvt_have_xrender=yes |
7750 | |
7480 | |
7751 | save_LIBS="$LIBS" |
7481 | save_LIBS="$LIBS" |
7752 | LIBS="$LIBS $X_LIBS" |
7482 | LIBS="$LIBS $X_LIBS" |
7753 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7483 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7754 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then : |
7484 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
7755 | |
7485 | |
7756 | else |
7486 | else |
7757 | rxvt_have_xrender=no |
7487 | rxvt_have_xrender=no |
7758 | fi |
7488 | fi |
7759 | |
7489 | |
7760 | |
7490 | |
7761 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
7491 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
7762 | if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then : |
7492 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
7763 | |
7493 | |
7764 | else |
7494 | else |
7765 | rxvt_have_xrender=no |
7495 | rxvt_have_xrender=no |
7766 | fi |
7496 | fi |
7767 | |
7497 | |
… | |
… | |
7772 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7502 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7773 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7503 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7774 | set dummy pkg-config; ac_word=$2 |
7504 | set dummy pkg-config; ac_word=$2 |
7775 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7505 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7776 | $as_echo_n "checking for $ac_word... " >&6; } |
7506 | $as_echo_n "checking for $ac_word... " >&6; } |
7777 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7507 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7778 | $as_echo_n "(cached) " >&6 |
7508 | $as_echo_n "(cached) " >&6 |
7779 | else |
7509 | else |
7780 | case $PKG_CONFIG in |
7510 | case $PKG_CONFIG in |
7781 | [\\/]* | ?:[\\/]*) |
7511 | [\\/]* | ?:[\\/]*) |
7782 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7512 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7817 | else |
7547 | else |
7818 | # Extract the first word of "xft-config", so it can be a program name with args. |
7548 | # Extract the first word of "xft-config", so it can be a program name with args. |
7819 | set dummy xft-config; ac_word=$2 |
7549 | set dummy xft-config; ac_word=$2 |
7820 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7550 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7821 | $as_echo_n "checking for $ac_word... " >&6; } |
7551 | $as_echo_n "checking for $ac_word... " >&6; } |
7822 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
7552 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then : |
7823 | $as_echo_n "(cached) " >&6 |
7553 | $as_echo_n "(cached) " >&6 |
7824 | else |
7554 | else |
7825 | case $XFT_CONFIG in |
7555 | case $XFT_CONFIG in |
7826 | [\\/]* | ?:[\\/]*) |
7556 | [\\/]* | ?:[\\/]*) |
7827 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
7557 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7870 | save_LIBS="$LIBS" |
7600 | save_LIBS="$LIBS" |
7871 | LIBS="$LIBS $X_LIBS" |
7601 | LIBS="$LIBS $X_LIBS" |
7872 | for ac_header in X11/Xft/Xft.h |
7602 | for ac_header in X11/Xft/Xft.h |
7873 | do : |
7603 | do : |
7874 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7604 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7875 | if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : |
7605 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : |
7876 | cat >>confdefs.h <<_ACEOF |
7606 | cat >>confdefs.h <<_ACEOF |
7877 | #define HAVE_X11_XFT_XFT_H 1 |
7607 | #define HAVE_X11_XFT_XFT_H 1 |
7878 | _ACEOF |
7608 | _ACEOF |
7879 | |
7609 | |
7880 | else |
7610 | else |
… | |
… | |
7883 | |
7613 | |
7884 | done |
7614 | done |
7885 | |
7615 | |
7886 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7887 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7617 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7888 | if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : |
7618 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then : |
7889 | $as_echo_n "(cached) " >&6 |
7619 | $as_echo_n "(cached) " >&6 |
7890 | else |
7620 | else |
7891 | ac_check_lib_save_LIBS=$LIBS |
7621 | ac_check_lib_save_LIBS=$LIBS |
7892 | LIBS="-lXft $LIBS" |
7622 | LIBS="-lXft $LIBS" |
7893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7623 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7917 | conftest$ac_exeext conftest.$ac_ext |
7647 | conftest$ac_exeext conftest.$ac_ext |
7918 | LIBS=$ac_check_lib_save_LIBS |
7648 | LIBS=$ac_check_lib_save_LIBS |
7919 | fi |
7649 | fi |
7920 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
7650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
7921 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
7651 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
7922 | if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : |
7652 | if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then : |
7923 | : |
7653 | : |
7924 | else |
7654 | else |
7925 | support_xft=no |
7655 | support_xft=no |
7926 | fi |
7656 | fi |
7927 | |
7657 | |
7928 | for ac_header in fontconfig/fontconfig.h |
7658 | for ac_header in fontconfig/fontconfig.h |
7929 | do : |
7659 | do : |
7930 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
7660 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
7931 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : |
7661 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then : |
7932 | cat >>confdefs.h <<_ACEOF |
7662 | cat >>confdefs.h <<_ACEOF |
7933 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
7663 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
7934 | _ACEOF |
7664 | _ACEOF |
7935 | |
7665 | |
7936 | else |
7666 | else |
… | |
… | |
7939 | |
7669 | |
7940 | done |
7670 | done |
7941 | |
7671 | |
7942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
7672 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
7943 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
7673 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
7944 | if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : |
7674 | if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then : |
7945 | $as_echo_n "(cached) " >&6 |
7675 | $as_echo_n "(cached) " >&6 |
7946 | else |
7676 | else |
7947 | ac_check_lib_save_LIBS=$LIBS |
7677 | ac_check_lib_save_LIBS=$LIBS |
7948 | LIBS="-lfontconfig $LIBS" |
7678 | LIBS="-lfontconfig $LIBS" |
7949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7679 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7973 | conftest$ac_exeext conftest.$ac_ext |
7703 | conftest$ac_exeext conftest.$ac_ext |
7974 | LIBS=$ac_check_lib_save_LIBS |
7704 | LIBS=$ac_check_lib_save_LIBS |
7975 | fi |
7705 | fi |
7976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
7706 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
7977 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
7707 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
7978 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : |
7708 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then : |
7979 | : |
7709 | : |
7980 | else |
7710 | else |
7981 | support_xft=no |
7711 | support_xft=no |
7982 | fi |
7712 | fi |
7983 | |
7713 | |
… | |
… | |
8122 | if test x$support_perl = xyes; then |
7852 | if test x$support_perl = xyes; then |
8123 | # Extract the first word of "perl5", so it can be a program name with args. |
7853 | # Extract the first word of "perl5", so it can be a program name with args. |
8124 | set dummy perl5; ac_word=$2 |
7854 | set dummy perl5; ac_word=$2 |
8125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8126 | $as_echo_n "checking for $ac_word... " >&6; } |
7856 | $as_echo_n "checking for $ac_word... " >&6; } |
8127 | if ${ac_cv_path_PERL+:} false; then : |
7857 | if test "${ac_cv_path_PERL+set}" = set; then : |
8128 | $as_echo_n "(cached) " >&6 |
7858 | $as_echo_n "(cached) " >&6 |
8129 | else |
7859 | else |
8130 | case $PERL in |
7860 | case $PERL in |
8131 | [\\/]* | ?:[\\/]*) |
7861 | [\\/]* | ?:[\\/]*) |
8132 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
7862 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
… | |
… | |
8145 | fi |
7875 | fi |
8146 | done |
7876 | done |
8147 | done |
7877 | done |
8148 | IFS=$as_save_IFS |
7878 | IFS=$as_save_IFS |
8149 | |
7879 | |
8150 | ;; |
7880 | test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" |
8151 | esac |
|
|
8152 | fi |
|
|
8153 | PERL=$ac_cv_path_PERL |
|
|
8154 | if test -n "$PERL"; then |
|
|
8155 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
|
8156 | $as_echo "$PERL" >&6; } |
|
|
8157 | else |
|
|
8158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8159 | $as_echo "no" >&6; } |
|
|
8160 | fi |
|
|
8161 | |
|
|
8162 | |
|
|
8163 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
8164 | set dummy perl; ac_word=$2 |
|
|
8165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
8166 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
8167 | if ${ac_cv_path_PERL+:} false; then : |
|
|
8168 | $as_echo_n "(cached) " >&6 |
|
|
8169 | else |
|
|
8170 | case $PERL in |
|
|
8171 | [\\/]* | ?:[\\/]*) |
|
|
8172 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
8173 | ;; |
|
|
8174 | *) |
|
|
8175 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8176 | for as_dir in $PATH |
|
|
8177 | do |
|
|
8178 | IFS=$as_save_IFS |
|
|
8179 | test -z "$as_dir" && as_dir=. |
|
|
8180 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8181 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
8182 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
8183 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8184 | break 2 |
|
|
8185 | fi |
|
|
8186 | done |
|
|
8187 | done |
|
|
8188 | IFS=$as_save_IFS |
|
|
8189 | |
|
|
8190 | ;; |
7881 | ;; |
8191 | esac |
7882 | esac |
8192 | fi |
7883 | fi |
8193 | PERL=$ac_cv_path_PERL |
7884 | PERL=$ac_cv_path_PERL |
8194 | if test -n "$PERL"; then |
7885 | if test -n "$PERL"; then |
… | |
… | |
8326 | t end |
8017 | t end |
8327 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8018 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8328 | :end' >>confcache |
8019 | :end' >>confcache |
8329 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8020 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8330 | if test -w "$cache_file"; then |
8021 | if test -w "$cache_file"; then |
8331 | if test "x$cache_file" != "x/dev/null"; then |
8022 | test "x$cache_file" != "x/dev/null" && |
8332 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8023 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8333 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8024 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8334 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
|
8335 | cat confcache >"$cache_file" |
8025 | cat confcache >$cache_file |
8336 | else |
|
|
8337 | case $cache_file in #( |
|
|
8338 | */* | ?:*) |
|
|
8339 | mv -f confcache "$cache_file"$$ && |
|
|
8340 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
8341 | *) |
|
|
8342 | mv -f confcache "$cache_file" ;; |
|
|
8343 | esac |
|
|
8344 | fi |
|
|
8345 | fi |
|
|
8346 | else |
8026 | else |
8347 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8027 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8348 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8028 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8349 | fi |
8029 | fi |
8350 | fi |
8030 | fi |
… | |
… | |
8372 | |
8052 | |
8373 | LTLIBOBJS=$ac_ltlibobjs |
8053 | LTLIBOBJS=$ac_ltlibobjs |
8374 | |
8054 | |
8375 | |
8055 | |
8376 | |
8056 | |
8377 | : "${CONFIG_STATUS=./config.status}" |
8057 | : ${CONFIG_STATUS=./config.status} |
8378 | ac_write_fail=0 |
8058 | ac_write_fail=0 |
8379 | ac_clean_files_save=$ac_clean_files |
8059 | ac_clean_files_save=$ac_clean_files |
8380 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8060 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8381 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8061 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8382 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8062 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
8473 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8153 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8474 | # splitting by setting IFS to empty value.) |
8154 | # splitting by setting IFS to empty value.) |
8475 | IFS=" "" $as_nl" |
8155 | IFS=" "" $as_nl" |
8476 | |
8156 | |
8477 | # Find who we are. Look in the path if we contain no directory separator. |
8157 | # Find who we are. Look in the path if we contain no directory separator. |
8478 | as_myself= |
|
|
8479 | case $0 in #(( |
8158 | case $0 in #(( |
8480 | *[\\/]* ) as_myself=$0 ;; |
8159 | *[\\/]* ) as_myself=$0 ;; |
8481 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8160 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8482 | for as_dir in $PATH |
8161 | for as_dir in $PATH |
8483 | do |
8162 | do |
… | |
… | |
8781 | # Save the log message, to keep $0 and so on meaningful, and to |
8460 | # Save the log message, to keep $0 and so on meaningful, and to |
8782 | # report actual input values of CONFIG_FILES etc. instead of their |
8461 | # report actual input values of CONFIG_FILES etc. instead of their |
8783 | # values after options handling. |
8462 | # values after options handling. |
8784 | ac_log=" |
8463 | ac_log=" |
8785 | This file was extended by $as_me, which was |
8464 | This file was extended by $as_me, which was |
8786 | generated by GNU Autoconf 2.68. Invocation command line was |
8465 | generated by GNU Autoconf 2.67. Invocation command line was |
8787 | |
8466 | |
8788 | CONFIG_FILES = $CONFIG_FILES |
8467 | CONFIG_FILES = $CONFIG_FILES |
8789 | CONFIG_HEADERS = $CONFIG_HEADERS |
8468 | CONFIG_HEADERS = $CONFIG_HEADERS |
8790 | CONFIG_LINKS = $CONFIG_LINKS |
8469 | CONFIG_LINKS = $CONFIG_LINKS |
8791 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
8470 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8843 | _ACEOF |
8522 | _ACEOF |
8844 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8523 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8845 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8524 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8846 | ac_cs_version="\\ |
8525 | ac_cs_version="\\ |
8847 | config.status |
8526 | config.status |
8848 | configured by $0, generated by GNU Autoconf 2.68, |
8527 | configured by $0, generated by GNU Autoconf 2.67, |
8849 | with options \\"\$ac_cs_config\\" |
8528 | with options \\"\$ac_cs_config\\" |
8850 | |
8529 | |
8851 | Copyright (C) 2010 Free Software Foundation, Inc. |
8530 | Copyright (C) 2010 Free Software Foundation, Inc. |
8852 | This config.status script is free software; the Free Software Foundation |
8531 | This config.status script is free software; the Free Software Foundation |
8853 | gives unlimited permission to copy, distribute and modify it." |
8532 | gives unlimited permission to copy, distribute and modify it." |
… | |
… | |
8969 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8648 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8970 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8649 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8971 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8650 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8972 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8651 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8973 | |
8652 | |
8974 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
8653 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
8975 | esac |
8654 | esac |
8976 | done |
8655 | done |
8977 | |
8656 | |
8978 | |
8657 | |
8979 | # If the user did not use the arguments to specify the items to instantiate, |
8658 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
8991 | # Hook for its removal unless debugging. |
8670 | # Hook for its removal unless debugging. |
8992 | # Note that there is a small window in which the directory will not be cleaned: |
8671 | # Note that there is a small window in which the directory will not be cleaned: |
8993 | # after its creation but before its name has been assigned to `$tmp'. |
8672 | # after its creation but before its name has been assigned to `$tmp'. |
8994 | $debug || |
8673 | $debug || |
8995 | { |
8674 | { |
8996 | tmp= ac_tmp= |
8675 | tmp= |
8997 | trap 'exit_status=$? |
8676 | trap 'exit_status=$? |
8998 | : "${ac_tmp:=$tmp}" |
|
|
8999 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
8677 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
9000 | ' 0 |
8678 | ' 0 |
9001 | trap 'as_fn_exit 1' 1 2 13 15 |
8679 | trap 'as_fn_exit 1' 1 2 13 15 |
9002 | } |
8680 | } |
9003 | # Create a (secure) tmp directory for tmp files. |
8681 | # Create a (secure) tmp directory for tmp files. |
9004 | |
8682 | |
9005 | { |
8683 | { |
9006 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8684 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
9007 | test -d "$tmp" |
8685 | test -n "$tmp" && test -d "$tmp" |
9008 | } || |
8686 | } || |
9009 | { |
8687 | { |
9010 | tmp=./conf$$-$RANDOM |
8688 | tmp=./conf$$-$RANDOM |
9011 | (umask 077 && mkdir "$tmp") |
8689 | (umask 077 && mkdir "$tmp") |
9012 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8690 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
9013 | ac_tmp=$tmp |
|
|
9014 | |
8691 | |
9015 | # Set up the scripts for CONFIG_FILES section. |
8692 | # Set up the scripts for CONFIG_FILES section. |
9016 | # No need to generate them if there are no CONFIG_FILES. |
8693 | # No need to generate them if there are no CONFIG_FILES. |
9017 | # This happens for instance with `./config.status config.h'. |
8694 | # This happens for instance with `./config.status config.h'. |
9018 | if test -n "$CONFIG_FILES"; then |
8695 | if test -n "$CONFIG_FILES"; then |
… | |
… | |
9030 | ac_cs_awk_cr='\\r' |
8707 | ac_cs_awk_cr='\\r' |
9031 | else |
8708 | else |
9032 | ac_cs_awk_cr=$ac_cr |
8709 | ac_cs_awk_cr=$ac_cr |
9033 | fi |
8710 | fi |
9034 | |
8711 | |
9035 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
8712 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
9036 | _ACEOF |
8713 | _ACEOF |
9037 | |
8714 | |
9038 | |
8715 | |
9039 | { |
8716 | { |
9040 | echo "cat >conf$$subs.awk <<_ACEOF" && |
8717 | echo "cat >conf$$subs.awk <<_ACEOF" && |
… | |
… | |
9058 | fi |
8735 | fi |
9059 | done |
8736 | done |
9060 | rm -f conf$$subs.sh |
8737 | rm -f conf$$subs.sh |
9061 | |
8738 | |
9062 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8739 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9063 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
8740 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
9064 | _ACEOF |
8741 | _ACEOF |
9065 | sed -n ' |
8742 | sed -n ' |
9066 | h |
8743 | h |
9067 | s/^/S["/; s/!.*/"]=/ |
8744 | s/^/S["/; s/!.*/"]=/ |
9068 | p |
8745 | p |
… | |
… | |
9106 | } |
8783 | } |
9107 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
8784 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9108 | rm -f conf$$subs.awk |
8785 | rm -f conf$$subs.awk |
9109 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8786 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9110 | _ACAWK |
8787 | _ACAWK |
9111 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
8788 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
9112 | for (key in S) S_is_set[key] = 1 |
8789 | for (key in S) S_is_set[key] = 1 |
9113 | FS = "" |
8790 | FS = "" |
9114 | |
8791 | |
9115 | } |
8792 | } |
9116 | { |
8793 | { |
… | |
… | |
9138 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8815 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9139 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
8816 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
9140 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
8817 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
9141 | else |
8818 | else |
9142 | cat |
8819 | cat |
9143 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
8820 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
9144 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
8821 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9145 | _ACEOF |
8822 | _ACEOF |
9146 | |
8823 | |
9147 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
8824 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
9148 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
8825 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
… | |
… | |
9172 | |
8849 | |
9173 | # Set up the scripts for CONFIG_HEADERS section. |
8850 | # Set up the scripts for CONFIG_HEADERS section. |
9174 | # No need to generate them if there are no CONFIG_HEADERS. |
8851 | # No need to generate them if there are no CONFIG_HEADERS. |
9175 | # This happens for instance with `./config.status Makefile'. |
8852 | # This happens for instance with `./config.status Makefile'. |
9176 | if test -n "$CONFIG_HEADERS"; then |
8853 | if test -n "$CONFIG_HEADERS"; then |
9177 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
8854 | cat >"$tmp/defines.awk" <<\_ACAWK || |
9178 | BEGIN { |
8855 | BEGIN { |
9179 | _ACEOF |
8856 | _ACEOF |
9180 | |
8857 | |
9181 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
8858 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9182 | # here-document in config.status, that substitutes the proper values into |
8859 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
9184 | |
8861 | |
9185 | # Create a delimiter string that does not exist in confdefs.h, to ease |
8862 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9186 | # handling of long lines. |
8863 | # handling of long lines. |
9187 | ac_delim='%!_!# ' |
8864 | ac_delim='%!_!# ' |
9188 | for ac_last_try in false false :; do |
8865 | for ac_last_try in false false :; do |
9189 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
8866 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
9190 | if test -z "$ac_tt"; then |
8867 | if test -z "$ac_t"; then |
9191 | break |
8868 | break |
9192 | elif $ac_last_try; then |
8869 | elif $ac_last_try; then |
9193 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
8870 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9194 | else |
8871 | else |
9195 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
8872 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
9286 | case $ac_tag in |
8963 | case $ac_tag in |
9287 | :[FHLC]) ac_mode=$ac_tag; continue;; |
8964 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9288 | esac |
8965 | esac |
9289 | case $ac_mode$ac_tag in |
8966 | case $ac_mode$ac_tag in |
9290 | :[FHL]*:*);; |
8967 | :[FHL]*:*);; |
9291 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
8968 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9292 | :[FH]-) ac_tag=-:-;; |
8969 | :[FH]-) ac_tag=-:-;; |
9293 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
8970 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9294 | esac |
8971 | esac |
9295 | ac_save_IFS=$IFS |
8972 | ac_save_IFS=$IFS |
9296 | IFS=: |
8973 | IFS=: |
… | |
… | |
9305 | :[FH]) |
8982 | :[FH]) |
9306 | ac_file_inputs= |
8983 | ac_file_inputs= |
9307 | for ac_f |
8984 | for ac_f |
9308 | do |
8985 | do |
9309 | case $ac_f in |
8986 | case $ac_f in |
9310 | -) ac_f="$ac_tmp/stdin";; |
8987 | -) ac_f="$tmp/stdin";; |
9311 | *) # Look for the file first in the build tree, then in the source tree |
8988 | *) # Look for the file first in the build tree, then in the source tree |
9312 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
8989 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9313 | # because $ac_f cannot contain `:'. |
8990 | # because $ac_f cannot contain `:'. |
9314 | test -f "$ac_f" || |
8991 | test -f "$ac_f" || |
9315 | case $ac_f in |
8992 | case $ac_f in |
9316 | [\\/$]*) false;; |
8993 | [\\/$]*) false;; |
9317 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
8994 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9318 | esac || |
8995 | esac || |
9319 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
8996 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
9320 | esac |
8997 | esac |
9321 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
8998 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9322 | as_fn_append ac_file_inputs " '$ac_f'" |
8999 | as_fn_append ac_file_inputs " '$ac_f'" |
9323 | done |
9000 | done |
9324 | |
9001 | |
… | |
… | |
9340 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9017 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9341 | *) ac_sed_conf_input=$configure_input;; |
9018 | *) ac_sed_conf_input=$configure_input;; |
9342 | esac |
9019 | esac |
9343 | |
9020 | |
9344 | case $ac_tag in |
9021 | case $ac_tag in |
9345 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
9022 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9346 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9023 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9347 | esac |
9024 | esac |
9348 | ;; |
9025 | ;; |
9349 | esac |
9026 | esac |
9350 | |
9027 | |
9351 | ac_dir=`$as_dirname -- "$ac_file" || |
9028 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
9471 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9148 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9472 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9149 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9473 | s&@INSTALL@&$ac_INSTALL&;t t |
9150 | s&@INSTALL@&$ac_INSTALL&;t t |
9474 | $ac_datarootdir_hack |
9151 | $ac_datarootdir_hack |
9475 | " |
9152 | " |
9476 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9153 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
9477 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9154 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9478 | |
9155 | |
9479 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9156 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9480 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
9157 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
9481 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
9158 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
9482 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
|
|
9483 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9159 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9484 | which seems to be undefined. Please make sure it is defined" >&5 |
9160 | which seems to be undefined. Please make sure it is defined" >&5 |
9485 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9161 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9486 | which seems to be undefined. Please make sure it is defined" >&2;} |
9162 | which seems to be undefined. Please make sure it is defined" >&2;} |
9487 | |
9163 | |
9488 | rm -f "$ac_tmp/stdin" |
9164 | rm -f "$tmp/stdin" |
9489 | case $ac_file in |
9165 | case $ac_file in |
9490 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
9166 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
9491 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
9167 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
9492 | esac \ |
9168 | esac \ |
9493 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9169 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9494 | ;; |
9170 | ;; |
9495 | :H) |
9171 | :H) |
9496 | # |
9172 | # |
9497 | # CONFIG_HEADER |
9173 | # CONFIG_HEADER |
9498 | # |
9174 | # |
9499 | if test x"$ac_file" != x-; then |
9175 | if test x"$ac_file" != x-; then |
9500 | { |
9176 | { |
9501 | $as_echo "/* $configure_input */" \ |
9177 | $as_echo "/* $configure_input */" \ |
9502 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9178 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
9503 | } >"$ac_tmp/config.h" \ |
9179 | } >"$tmp/config.h" \ |
9504 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9180 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9505 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
9181 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
9506 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9182 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9507 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9183 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9508 | else |
9184 | else |
9509 | rm -f "$ac_file" |
9185 | rm -f "$ac_file" |
9510 | mv "$ac_tmp/config.h" "$ac_file" \ |
9186 | mv "$tmp/config.h" "$ac_file" \ |
9511 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9187 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9512 | fi |
9188 | fi |
9513 | else |
9189 | else |
9514 | $as_echo "/* $configure_input */" \ |
9190 | $as_echo "/* $configure_input */" \ |
9515 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9191 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
9516 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9192 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9517 | fi |
9193 | fi |
9518 | ;; |
9194 | ;; |
9519 | |
9195 | |
9520 | |
9196 | |