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." |
… | |
… | |
609 | PERL |
601 | PERL |
610 | XFT_CONFIG |
602 | XFT_CONFIG |
611 | AFTERIMAGE_LIBS |
603 | AFTERIMAGE_LIBS |
612 | AFTERIMAGE_CFLAGS |
604 | AFTERIMAGE_CFLAGS |
613 | afterimage_config |
605 | afterimage_config |
|
|
606 | STARTUP_NOTIFICATION_LIBS |
|
|
607 | STARTUP_NOTIFICATION_CFLAGS |
614 | PIXBUF_LIBS |
608 | PIXBUF_LIBS |
615 | PIXBUF_CFLAGS |
609 | PIXBUF_CFLAGS |
616 | PKG_CONFIG |
610 | PKG_CONFIG |
617 | X_EXTRA_LIBS |
611 | X_EXTRA_LIBS |
618 | X_LIBS |
612 | X_LIBS |
… | |
… | |
623 | CXXCPP |
617 | CXXCPP |
624 | RXVTNAME |
618 | RXVTNAME |
625 | LINKER |
619 | LINKER |
626 | EGREP |
620 | EGREP |
627 | GREP |
621 | GREP |
|
|
622 | CPP |
628 | INSTALL_DATA |
623 | INSTALL_DATA |
629 | INSTALL_SCRIPT |
624 | INSTALL_SCRIPT |
630 | INSTALL_PROGRAM |
625 | INSTALL_PROGRAM |
631 | CPP |
|
|
632 | ac_ct_CXX |
626 | ac_ct_CXX |
633 | CXXFLAGS |
627 | CXXFLAGS |
634 | CXX |
628 | CXX |
635 | OBJEXT |
629 | OBJEXT |
636 | EXEEXT |
630 | EXEEXT |
… | |
… | |
699 | enable_xft |
693 | enable_xft |
700 | enable_font_styles |
694 | enable_font_styles |
701 | enable_afterimage |
695 | enable_afterimage |
702 | with_afterimage_config |
696 | with_afterimage_config |
703 | enable_pixbuf |
697 | enable_pixbuf |
|
|
698 | enable_startup_notification |
704 | enable_transparency |
699 | enable_transparency |
705 | enable_fading |
700 | enable_fading |
706 | enable_rxvt_scroll |
701 | enable_rxvt_scroll |
707 | enable_next_scroll |
702 | enable_next_scroll |
708 | enable_xterm_scroll |
703 | enable_xterm_scroll |
… | |
… | |
1150 | *) |
1145 | *) |
1151 | # FIXME: should be removed in autoconf 3.0. |
1146 | # FIXME: should be removed in autoconf 3.0. |
1152 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1147 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1153 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1148 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1154 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1149 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1155 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1150 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1156 | ;; |
1151 | ;; |
1157 | |
1152 | |
1158 | esac |
1153 | esac |
1159 | done |
1154 | done |
1160 | |
1155 | |
… | |
… | |
1372 | --enable-256-color enable 256-color support |
1367 | --enable-256-color enable 256-color support |
1373 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1368 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1374 | --enable-combining enable composition of base and combining characters |
1369 | --enable-combining enable composition of base and combining characters |
1375 | --enable-xft enable xft support on systems that have it |
1370 | --enable-xft enable xft support on systems that have it |
1376 | --enable-font-styles enable bold and italic support |
1371 | --enable-font-styles enable bold and italic support |
1377 | --enable-afterimage enable integration with libAfterImage for background images |
1372 | --enable-afterimage enable integration with libAfterImage for background images (deprecated) |
1378 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1373 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
|
|
1374 | --enable-startup-notification enable freedesktop startup notification support |
1379 | --enable-transparency enable transparent backgrounds |
1375 | --enable-transparency enable transparent backgrounds |
1380 | --enable-fading enable colors fading when off focus |
1376 | --enable-fading enable colors fading when off focus |
1381 | --enable-rxvt-scroll enable rxvt style scrollbar |
1377 | --enable-rxvt-scroll enable rxvt style scrollbar |
1382 | --enable-next-scroll enable NeXT style scrollbar |
1378 | --enable-next-scroll enable NeXT style scrollbar |
1383 | --enable-xterm-scroll enable Xterm style scrollbar |
1379 | --enable-xterm-scroll enable Xterm style scrollbar |
… | |
… | |
1493 | |
1489 | |
1494 | test -n "$ac_init_help" && exit $ac_status |
1490 | test -n "$ac_init_help" && exit $ac_status |
1495 | if $ac_init_version; then |
1491 | if $ac_init_version; then |
1496 | cat <<\_ACEOF |
1492 | cat <<\_ACEOF |
1497 | configure |
1493 | configure |
1498 | generated by GNU Autoconf 2.68 |
1494 | generated by GNU Autoconf 2.67 |
1499 | |
1495 | |
1500 | Copyright (C) 2010 Free Software Foundation, Inc. |
1496 | Copyright (C) 2010 Free Software Foundation, Inc. |
1501 | This configure script is free software; the Free Software Foundation |
1497 | This configure script is free software; the Free Software Foundation |
1502 | gives unlimited permission to copy, distribute and modify it. |
1498 | gives unlimited permission to copy, distribute and modify it. |
1503 | _ACEOF |
1499 | _ACEOF |
… | |
… | |
1539 | $as_echo "$as_me: failed program was:" >&5 |
1535 | $as_echo "$as_me: failed program was:" >&5 |
1540 | sed 's/^/| /' conftest.$ac_ext >&5 |
1536 | sed 's/^/| /' conftest.$ac_ext >&5 |
1541 | |
1537 | |
1542 | ac_retval=1 |
1538 | ac_retval=1 |
1543 | fi |
1539 | fi |
1544 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1540 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1545 | as_fn_set_status $ac_retval |
1541 | as_fn_set_status $ac_retval |
1546 | |
1542 | |
1547 | } # ac_fn_c_try_compile |
1543 | } # ac_fn_c_try_compile |
1548 | |
1544 | |
1549 | # ac_fn_cxx_try_compile LINENO |
1545 | # ac_fn_cxx_try_compile LINENO |
… | |
… | |
1577 | $as_echo "$as_me: failed program was:" >&5 |
1573 | $as_echo "$as_me: failed program was:" >&5 |
1578 | sed 's/^/| /' conftest.$ac_ext >&5 |
1574 | sed 's/^/| /' conftest.$ac_ext >&5 |
1579 | |
1575 | |
1580 | ac_retval=1 |
1576 | ac_retval=1 |
1581 | fi |
1577 | fi |
1582 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1578 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1583 | as_fn_set_status $ac_retval |
1579 | as_fn_set_status $ac_retval |
1584 | |
1580 | |
1585 | } # ac_fn_cxx_try_compile |
1581 | } # ac_fn_cxx_try_compile |
1586 | |
1582 | |
1587 | # ac_fn_c_try_cpp LINENO |
1583 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1614 | $as_echo "$as_me: failed program was:" >&5 |
1610 | $as_echo "$as_me: failed program was:" >&5 |
1615 | sed 's/^/| /' conftest.$ac_ext >&5 |
1611 | sed 's/^/| /' conftest.$ac_ext >&5 |
1616 | |
1612 | |
1617 | ac_retval=1 |
1613 | ac_retval=1 |
1618 | fi |
1614 | fi |
1619 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1615 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1620 | as_fn_set_status $ac_retval |
1616 | as_fn_set_status $ac_retval |
1621 | |
1617 | |
1622 | } # ac_fn_c_try_cpp |
1618 | } # ac_fn_c_try_cpp |
1623 | |
1619 | |
1624 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1620 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1627 | # the include files in INCLUDES and setting the cache variable VAR |
1623 | # the include files in INCLUDES and setting the cache variable VAR |
1628 | # accordingly. |
1624 | # accordingly. |
1629 | ac_fn_c_check_header_mongrel () |
1625 | ac_fn_c_check_header_mongrel () |
1630 | { |
1626 | { |
1631 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1627 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1632 | if eval \${$3+:} false; then : |
1628 | if eval "test \"\${$3+set}\"" = set; then : |
1633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1629 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1634 | $as_echo_n "checking for $2... " >&6; } |
1630 | $as_echo_n "checking for $2... " >&6; } |
1635 | if eval \${$3+:} false; then : |
1631 | if eval "test \"\${$3+set}\"" = set; then : |
1636 | $as_echo_n "(cached) " >&6 |
1632 | $as_echo_n "(cached) " >&6 |
1637 | fi |
1633 | fi |
1638 | eval ac_res=\$$3 |
1634 | eval ac_res=\$$3 |
1639 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1640 | $as_echo "$ac_res" >&6; } |
1636 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1693 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1689 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1694 | ;; |
1690 | ;; |
1695 | esac |
1691 | esac |
1696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1692 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1697 | $as_echo_n "checking for $2... " >&6; } |
1693 | $as_echo_n "checking for $2... " >&6; } |
1698 | if eval \${$3+:} false; then : |
1694 | if eval "test \"\${$3+set}\"" = set; then : |
1699 | $as_echo_n "(cached) " >&6 |
1695 | $as_echo_n "(cached) " >&6 |
1700 | else |
1696 | else |
1701 | eval "$3=\$ac_header_compiler" |
1697 | eval "$3=\$ac_header_compiler" |
1702 | fi |
1698 | fi |
1703 | eval ac_res=\$$3 |
1699 | eval ac_res=\$$3 |
1704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1700 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1705 | $as_echo "$ac_res" >&6; } |
1701 | $as_echo "$ac_res" >&6; } |
1706 | fi |
1702 | fi |
1707 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1703 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1708 | |
1704 | |
1709 | } # ac_fn_c_check_header_mongrel |
1705 | } # ac_fn_c_check_header_mongrel |
1710 | |
1706 | |
1711 | # ac_fn_c_try_run LINENO |
1707 | # ac_fn_c_try_run LINENO |
1712 | # ---------------------- |
1708 | # ---------------------- |
… | |
… | |
1743 | sed 's/^/| /' conftest.$ac_ext >&5 |
1739 | sed 's/^/| /' conftest.$ac_ext >&5 |
1744 | |
1740 | |
1745 | ac_retval=$ac_status |
1741 | ac_retval=$ac_status |
1746 | fi |
1742 | fi |
1747 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1743 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1748 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1744 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1749 | as_fn_set_status $ac_retval |
1745 | as_fn_set_status $ac_retval |
1750 | |
1746 | |
1751 | } # ac_fn_c_try_run |
1747 | } # ac_fn_c_try_run |
1752 | |
1748 | |
1753 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1749 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1757 | ac_fn_c_check_header_compile () |
1753 | ac_fn_c_check_header_compile () |
1758 | { |
1754 | { |
1759 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1755 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1760 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1756 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1761 | $as_echo_n "checking for $2... " >&6; } |
1757 | $as_echo_n "checking for $2... " >&6; } |
1762 | if eval \${$3+:} false; then : |
1758 | if eval "test \"\${$3+set}\"" = set; then : |
1763 | $as_echo_n "(cached) " >&6 |
1759 | $as_echo_n "(cached) " >&6 |
1764 | else |
1760 | else |
1765 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1761 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1766 | /* end confdefs.h. */ |
1762 | /* end confdefs.h. */ |
1767 | $4 |
1763 | $4 |
… | |
… | |
1775 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1771 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1776 | fi |
1772 | fi |
1777 | eval ac_res=\$$3 |
1773 | eval ac_res=\$$3 |
1778 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1779 | $as_echo "$ac_res" >&6; } |
1775 | $as_echo "$ac_res" >&6; } |
1780 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1776 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1781 | |
1777 | |
1782 | } # ac_fn_c_check_header_compile |
1778 | } # ac_fn_c_check_header_compile |
1783 | |
1779 | |
1784 | # ac_fn_c_try_link LINENO |
1780 | # ac_fn_c_try_link LINENO |
1785 | # ----------------------- |
1781 | # ----------------------- |
… | |
… | |
1820 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1816 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1821 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1817 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1822 | # interfere with the next link command; also delete a directory that is |
1818 | # interfere with the next link command; also delete a directory that is |
1823 | # left behind by Apple's compiler. We do this before executing the actions. |
1819 | # left behind by Apple's compiler. We do this before executing the actions. |
1824 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1820 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1825 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1821 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1826 | as_fn_set_status $ac_retval |
1822 | as_fn_set_status $ac_retval |
1827 | |
1823 | |
1828 | } # ac_fn_c_try_link |
1824 | } # ac_fn_c_try_link |
1829 | |
1825 | |
1830 | # ac_fn_cxx_try_link LINENO |
1826 | # ac_fn_cxx_try_link LINENO |
… | |
… | |
1866 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1862 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1867 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1863 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1868 | # interfere with the next link command; also delete a directory that is |
1864 | # interfere with the next link command; also delete a directory that is |
1869 | # left behind by Apple's compiler. We do this before executing the actions. |
1865 | # left behind by Apple's compiler. We do this before executing the actions. |
1870 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1866 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1871 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1867 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1872 | as_fn_set_status $ac_retval |
1868 | as_fn_set_status $ac_retval |
1873 | |
1869 | |
1874 | } # ac_fn_cxx_try_link |
1870 | } # ac_fn_cxx_try_link |
1875 | |
1871 | |
1876 | # ac_fn_cxx_try_cpp LINENO |
1872 | # ac_fn_cxx_try_cpp LINENO |
… | |
… | |
1903 | $as_echo "$as_me: failed program was:" >&5 |
1899 | $as_echo "$as_me: failed program was:" >&5 |
1904 | sed 's/^/| /' conftest.$ac_ext >&5 |
1900 | sed 's/^/| /' conftest.$ac_ext >&5 |
1905 | |
1901 | |
1906 | ac_retval=1 |
1902 | ac_retval=1 |
1907 | fi |
1903 | fi |
1908 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1904 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1909 | as_fn_set_status $ac_retval |
1905 | as_fn_set_status $ac_retval |
1910 | |
1906 | |
1911 | } # ac_fn_cxx_try_cpp |
1907 | } # ac_fn_cxx_try_cpp |
1912 | |
1908 | |
1913 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1909 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1916 | # the include files in INCLUDES and setting the cache variable VAR |
1912 | # the include files in INCLUDES and setting the cache variable VAR |
1917 | # accordingly. |
1913 | # accordingly. |
1918 | ac_fn_cxx_check_header_mongrel () |
1914 | ac_fn_cxx_check_header_mongrel () |
1919 | { |
1915 | { |
1920 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1916 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1921 | if eval \${$3+:} false; then : |
1917 | if eval "test \"\${$3+set}\"" = set; then : |
1922 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1918 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1923 | $as_echo_n "checking for $2... " >&6; } |
1919 | $as_echo_n "checking for $2... " >&6; } |
1924 | if eval \${$3+:} false; then : |
1920 | if eval "test \"\${$3+set}\"" = set; then : |
1925 | $as_echo_n "(cached) " >&6 |
1921 | $as_echo_n "(cached) " >&6 |
1926 | fi |
1922 | fi |
1927 | eval ac_res=\$$3 |
1923 | eval ac_res=\$$3 |
1928 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1924 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1929 | $as_echo "$ac_res" >&6; } |
1925 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1982 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1978 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1983 | ;; |
1979 | ;; |
1984 | esac |
1980 | esac |
1985 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1986 | $as_echo_n "checking for $2... " >&6; } |
1982 | $as_echo_n "checking for $2... " >&6; } |
1987 | if eval \${$3+:} false; then : |
1983 | if eval "test \"\${$3+set}\"" = set; then : |
1988 | $as_echo_n "(cached) " >&6 |
1984 | $as_echo_n "(cached) " >&6 |
1989 | else |
1985 | else |
1990 | eval "$3=\$ac_header_compiler" |
1986 | eval "$3=\$ac_header_compiler" |
1991 | fi |
1987 | fi |
1992 | eval ac_res=\$$3 |
1988 | eval ac_res=\$$3 |
1993 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1994 | $as_echo "$ac_res" >&6; } |
1990 | $as_echo "$ac_res" >&6; } |
1995 | fi |
1991 | fi |
1996 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1992 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1997 | |
1993 | |
1998 | } # ac_fn_cxx_check_header_mongrel |
1994 | } # ac_fn_cxx_check_header_mongrel |
1999 | |
1995 | |
2000 | # ac_fn_cxx_check_func LINENO FUNC VAR |
1996 | # ac_fn_cxx_check_func LINENO FUNC VAR |
2001 | # ------------------------------------ |
1997 | # ------------------------------------ |
… | |
… | |
2003 | ac_fn_cxx_check_func () |
1999 | ac_fn_cxx_check_func () |
2004 | { |
2000 | { |
2005 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2001 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2006 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2002 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2007 | $as_echo_n "checking for $2... " >&6; } |
2003 | $as_echo_n "checking for $2... " >&6; } |
2008 | if eval \${$3+:} false; then : |
2004 | if eval "test \"\${$3+set}\"" = set; then : |
2009 | $as_echo_n "(cached) " >&6 |
2005 | $as_echo_n "(cached) " >&6 |
2010 | else |
2006 | else |
2011 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2007 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2012 | /* end confdefs.h. */ |
2008 | /* end confdefs.h. */ |
2013 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2009 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
… | |
… | |
2058 | conftest$ac_exeext conftest.$ac_ext |
2054 | conftest$ac_exeext conftest.$ac_ext |
2059 | fi |
2055 | fi |
2060 | eval ac_res=\$$3 |
2056 | eval ac_res=\$$3 |
2061 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2057 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2062 | $as_echo "$ac_res" >&6; } |
2058 | $as_echo "$ac_res" >&6; } |
2063 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2059 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2064 | |
2060 | |
2065 | } # ac_fn_cxx_check_func |
2061 | } # ac_fn_cxx_check_func |
2066 | |
2062 | |
2067 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2063 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2068 | # --------------------------------------------- |
2064 | # --------------------------------------------- |
… | |
… | |
2071 | ac_fn_cxx_check_type () |
2067 | ac_fn_cxx_check_type () |
2072 | { |
2068 | { |
2073 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2069 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2070 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2075 | $as_echo_n "checking for $2... " >&6; } |
2071 | $as_echo_n "checking for $2... " >&6; } |
2076 | if eval \${$3+:} false; then : |
2072 | if eval "test \"\${$3+set}\"" = set; then : |
2077 | $as_echo_n "(cached) " >&6 |
2073 | $as_echo_n "(cached) " >&6 |
2078 | else |
2074 | else |
2079 | eval "$3=no" |
2075 | eval "$3=no" |
2080 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2076 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2081 | /* end confdefs.h. */ |
2077 | /* end confdefs.h. */ |
… | |
… | |
2112 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2108 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2113 | fi |
2109 | fi |
2114 | eval ac_res=\$$3 |
2110 | eval ac_res=\$$3 |
2115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2116 | $as_echo "$ac_res" >&6; } |
2112 | $as_echo "$ac_res" >&6; } |
2117 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2113 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2118 | |
2114 | |
2119 | } # ac_fn_cxx_check_type |
2115 | } # ac_fn_cxx_check_type |
2120 | |
2116 | |
2121 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2117 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2122 | # ----------------------------------- |
2118 | # ----------------------------------- |
… | |
… | |
2125 | ac_fn_c_find_intX_t () |
2121 | ac_fn_c_find_intX_t () |
2126 | { |
2122 | { |
2127 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2123 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2124 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2129 | $as_echo_n "checking for int$2_t... " >&6; } |
2125 | $as_echo_n "checking for int$2_t... " >&6; } |
2130 | if eval \${$3+:} false; then : |
2126 | if eval "test \"\${$3+set}\"" = set; then : |
2131 | $as_echo_n "(cached) " >&6 |
2127 | $as_echo_n "(cached) " >&6 |
2132 | else |
2128 | else |
2133 | eval "$3=no" |
2129 | eval "$3=no" |
2134 | # Order is important - never check a type that is potentially smaller |
2130 | # Order is important - never check a type that is potentially smaller |
2135 | # than half of the expected target width. |
2131 | # than half of the expected target width. |
… | |
… | |
2186 | done |
2182 | done |
2187 | fi |
2183 | fi |
2188 | eval ac_res=\$$3 |
2184 | eval ac_res=\$$3 |
2189 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2185 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2190 | $as_echo "$ac_res" >&6; } |
2186 | $as_echo "$ac_res" >&6; } |
2191 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2187 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2192 | |
2188 | |
2193 | } # ac_fn_c_find_intX_t |
2189 | } # ac_fn_c_find_intX_t |
2194 | |
2190 | |
2195 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2191 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2196 | # ------------------------------------ |
2192 | # ------------------------------------ |
… | |
… | |
2199 | ac_fn_c_find_uintX_t () |
2195 | ac_fn_c_find_uintX_t () |
2200 | { |
2196 | { |
2201 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2197 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2198 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2203 | $as_echo_n "checking for uint$2_t... " >&6; } |
2199 | $as_echo_n "checking for uint$2_t... " >&6; } |
2204 | if eval \${$3+:} false; then : |
2200 | if eval "test \"\${$3+set}\"" = set; then : |
2205 | $as_echo_n "(cached) " >&6 |
2201 | $as_echo_n "(cached) " >&6 |
2206 | else |
2202 | else |
2207 | eval "$3=no" |
2203 | eval "$3=no" |
2208 | # Order is important - never check a type that is potentially smaller |
2204 | # Order is important - never check a type that is potentially smaller |
2209 | # than half of the expected target width. |
2205 | # than half of the expected target width. |
… | |
… | |
2239 | done |
2235 | done |
2240 | fi |
2236 | fi |
2241 | eval ac_res=\$$3 |
2237 | eval ac_res=\$$3 |
2242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2238 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2243 | $as_echo "$ac_res" >&6; } |
2239 | $as_echo "$ac_res" >&6; } |
2244 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2240 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2245 | |
2241 | |
2246 | } # ac_fn_c_find_uintX_t |
2242 | } # ac_fn_c_find_uintX_t |
2247 | |
2243 | |
2248 | # ac_fn_cxx_try_run LINENO |
2244 | # ac_fn_cxx_try_run LINENO |
2249 | # ------------------------ |
2245 | # ------------------------ |
… | |
… | |
2280 | sed 's/^/| /' conftest.$ac_ext >&5 |
2276 | sed 's/^/| /' conftest.$ac_ext >&5 |
2281 | |
2277 | |
2282 | ac_retval=$ac_status |
2278 | ac_retval=$ac_status |
2283 | fi |
2279 | fi |
2284 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2280 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2285 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2281 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2286 | as_fn_set_status $ac_retval |
2282 | as_fn_set_status $ac_retval |
2287 | |
2283 | |
2288 | } # ac_fn_cxx_try_run |
2284 | } # ac_fn_cxx_try_run |
2289 | cat >config.log <<_ACEOF |
2285 | cat >config.log <<_ACEOF |
2290 | This file contains any messages produced by compilers while |
2286 | This file contains any messages produced by compilers while |
2291 | running configure, to aid debugging if configure makes a mistake. |
2287 | running configure, to aid debugging if configure makes a mistake. |
2292 | |
2288 | |
2293 | It was created by $as_me, which was |
2289 | It was created by $as_me, which was |
2294 | generated by GNU Autoconf 2.68. Invocation command line was |
2290 | generated by GNU Autoconf 2.67. Invocation command line was |
2295 | |
2291 | |
2296 | $ $0 $@ |
2292 | $ $0 $@ |
2297 | |
2293 | |
2298 | _ACEOF |
2294 | _ACEOF |
2299 | exec 5>>config.log |
2295 | exec 5>>config.log |
… | |
… | |
2547 | sed 's/^/| /' "$ac_site_file" >&5 |
2543 | sed 's/^/| /' "$ac_site_file" >&5 |
2548 | . "$ac_site_file" \ |
2544 | . "$ac_site_file" \ |
2549 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2545 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2550 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2546 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2551 | as_fn_error $? "failed to load site script $ac_site_file |
2547 | as_fn_error $? "failed to load site script $ac_site_file |
2552 | See \`config.log' for more details" "$LINENO" 5; } |
2548 | See \`config.log' for more details" "$LINENO" 5 ; } |
2553 | fi |
2549 | fi |
2554 | done |
2550 | done |
2555 | |
2551 | |
2556 | if test -r "$cache_file"; then |
2552 | if test -r "$cache_file"; then |
2557 | # Some versions of bash will fail to source /dev/null (special files |
2553 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2676 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2672 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2677 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2673 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2678 | |
2674 | |
2679 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2675 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2680 | $as_echo_n "checking build system type... " >&6; } |
2676 | $as_echo_n "checking build system type... " >&6; } |
2681 | if ${ac_cv_build+:} false; then : |
2677 | if test "${ac_cv_build+set}" = set; then : |
2682 | $as_echo_n "(cached) " >&6 |
2678 | $as_echo_n "(cached) " >&6 |
2683 | else |
2679 | else |
2684 | ac_build_alias=$build_alias |
2680 | ac_build_alias=$build_alias |
2685 | test "x$ac_build_alias" = x && |
2681 | test "x$ac_build_alias" = x && |
2686 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2682 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
… | |
… | |
2692 | fi |
2688 | fi |
2693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2694 | $as_echo "$ac_cv_build" >&6; } |
2690 | $as_echo "$ac_cv_build" >&6; } |
2695 | case $ac_cv_build in |
2691 | case $ac_cv_build in |
2696 | *-*-*) ;; |
2692 | *-*-*) ;; |
2697 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2693 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2698 | esac |
2694 | esac |
2699 | build=$ac_cv_build |
2695 | build=$ac_cv_build |
2700 | ac_save_IFS=$IFS; IFS='-' |
2696 | ac_save_IFS=$IFS; IFS='-' |
2701 | set x $ac_cv_build |
2697 | set x $ac_cv_build |
2702 | shift |
2698 | shift |
… | |
… | |
2710 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2706 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2711 | |
2707 | |
2712 | |
2708 | |
2713 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2709 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2714 | $as_echo_n "checking host system type... " >&6; } |
2710 | $as_echo_n "checking host system type... " >&6; } |
2715 | if ${ac_cv_host+:} false; then : |
2711 | if test "${ac_cv_host+set}" = set; then : |
2716 | $as_echo_n "(cached) " >&6 |
2712 | $as_echo_n "(cached) " >&6 |
2717 | else |
2713 | else |
2718 | if test "x$host_alias" = x; then |
2714 | if test "x$host_alias" = x; then |
2719 | ac_cv_host=$ac_cv_build |
2715 | ac_cv_host=$ac_cv_build |
2720 | else |
2716 | else |
… | |
… | |
2725 | fi |
2721 | fi |
2726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2722 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2727 | $as_echo "$ac_cv_host" >&6; } |
2723 | $as_echo "$ac_cv_host" >&6; } |
2728 | case $ac_cv_host in |
2724 | case $ac_cv_host in |
2729 | *-*-*) ;; |
2725 | *-*-*) ;; |
2730 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2726 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2731 | esac |
2727 | esac |
2732 | host=$ac_cv_host |
2728 | host=$ac_cv_host |
2733 | ac_save_IFS=$IFS; IFS='-' |
2729 | ac_save_IFS=$IFS; IFS='-' |
2734 | set x $ac_cv_host |
2730 | set x $ac_cv_host |
2735 | shift |
2731 | shift |
… | |
… | |
2742 | IFS=$ac_save_IFS |
2738 | IFS=$ac_save_IFS |
2743 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2739 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2744 | |
2740 | |
2745 | |
2741 | |
2746 | |
2742 | |
2747 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2743 | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2748 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2744 | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2749 | |
2745 | |
2750 | echo "" |
2746 | echo "" |
2751 | echo "configuring for rxvt $VERSION" |
2747 | echo "configuring for rxvt $VERSION" |
2752 | echo "" |
2748 | echo "" |
2753 | |
2749 | |
… | |
… | |
2761 | if test -n "$ac_tool_prefix"; then |
2757 | if test -n "$ac_tool_prefix"; then |
2762 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2758 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2763 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2759 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2764 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2760 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2765 | $as_echo_n "checking for $ac_word... " >&6; } |
2761 | $as_echo_n "checking for $ac_word... " >&6; } |
2766 | if ${ac_cv_prog_CC+:} false; then : |
2762 | if test "${ac_cv_prog_CC+set}" = set; then : |
2767 | $as_echo_n "(cached) " >&6 |
2763 | $as_echo_n "(cached) " >&6 |
2768 | else |
2764 | else |
2769 | if test -n "$CC"; then |
2765 | if test -n "$CC"; then |
2770 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2766 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2771 | else |
2767 | else |
… | |
… | |
2801 | ac_ct_CC=$CC |
2797 | ac_ct_CC=$CC |
2802 | # Extract the first word of "gcc", so it can be a program name with args. |
2798 | # Extract the first word of "gcc", so it can be a program name with args. |
2803 | set dummy gcc; ac_word=$2 |
2799 | set dummy gcc; ac_word=$2 |
2804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2800 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2805 | $as_echo_n "checking for $ac_word... " >&6; } |
2801 | $as_echo_n "checking for $ac_word... " >&6; } |
2806 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2802 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2807 | $as_echo_n "(cached) " >&6 |
2803 | $as_echo_n "(cached) " >&6 |
2808 | else |
2804 | else |
2809 | if test -n "$ac_ct_CC"; then |
2805 | if test -n "$ac_ct_CC"; then |
2810 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2806 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2811 | else |
2807 | else |
… | |
… | |
2854 | if test -n "$ac_tool_prefix"; then |
2850 | if test -n "$ac_tool_prefix"; then |
2855 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2851 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2856 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2852 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2857 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2858 | $as_echo_n "checking for $ac_word... " >&6; } |
2854 | $as_echo_n "checking for $ac_word... " >&6; } |
2859 | if ${ac_cv_prog_CC+:} false; then : |
2855 | if test "${ac_cv_prog_CC+set}" = set; then : |
2860 | $as_echo_n "(cached) " >&6 |
2856 | $as_echo_n "(cached) " >&6 |
2861 | else |
2857 | else |
2862 | if test -n "$CC"; then |
2858 | if test -n "$CC"; then |
2863 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2859 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2864 | else |
2860 | else |
… | |
… | |
2894 | if test -z "$CC"; then |
2890 | if test -z "$CC"; then |
2895 | # Extract the first word of "cc", so it can be a program name with args. |
2891 | # Extract the first word of "cc", so it can be a program name with args. |
2896 | set dummy cc; ac_word=$2 |
2892 | set dummy cc; ac_word=$2 |
2897 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2893 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2898 | $as_echo_n "checking for $ac_word... " >&6; } |
2894 | $as_echo_n "checking for $ac_word... " >&6; } |
2899 | if ${ac_cv_prog_CC+:} false; then : |
2895 | if test "${ac_cv_prog_CC+set}" = set; then : |
2900 | $as_echo_n "(cached) " >&6 |
2896 | $as_echo_n "(cached) " >&6 |
2901 | else |
2897 | else |
2902 | if test -n "$CC"; then |
2898 | if test -n "$CC"; then |
2903 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2899 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2904 | else |
2900 | else |
… | |
… | |
2953 | do |
2949 | do |
2954 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2950 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2955 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2951 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2956 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2952 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2957 | $as_echo_n "checking for $ac_word... " >&6; } |
2953 | $as_echo_n "checking for $ac_word... " >&6; } |
2958 | if ${ac_cv_prog_CC+:} false; then : |
2954 | if test "${ac_cv_prog_CC+set}" = set; then : |
2959 | $as_echo_n "(cached) " >&6 |
2955 | $as_echo_n "(cached) " >&6 |
2960 | else |
2956 | else |
2961 | if test -n "$CC"; then |
2957 | if test -n "$CC"; then |
2962 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2958 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2963 | else |
2959 | else |
… | |
… | |
2997 | do |
2993 | do |
2998 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2994 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2999 | set dummy $ac_prog; ac_word=$2 |
2995 | set dummy $ac_prog; ac_word=$2 |
3000 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3001 | $as_echo_n "checking for $ac_word... " >&6; } |
2997 | $as_echo_n "checking for $ac_word... " >&6; } |
3002 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2998 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3003 | $as_echo_n "(cached) " >&6 |
2999 | $as_echo_n "(cached) " >&6 |
3004 | else |
3000 | else |
3005 | if test -n "$ac_ct_CC"; then |
3001 | if test -n "$ac_ct_CC"; then |
3006 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3002 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3007 | else |
3003 | else |
… | |
… | |
3052 | |
3048 | |
3053 | |
3049 | |
3054 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3050 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3055 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3051 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3056 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3052 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3057 | See \`config.log' for more details" "$LINENO" 5; } |
3053 | See \`config.log' for more details" "$LINENO" 5 ; } |
3058 | |
3054 | |
3059 | # Provide some information about the compiler. |
3055 | # Provide some information about the compiler. |
3060 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3056 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3061 | set X $ac_compile |
3057 | set X $ac_compile |
3062 | ac_compiler=$2 |
3058 | ac_compiler=$2 |
… | |
… | |
3167 | sed 's/^/| /' conftest.$ac_ext >&5 |
3163 | sed 's/^/| /' conftest.$ac_ext >&5 |
3168 | |
3164 | |
3169 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3165 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3170 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3166 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3171 | as_fn_error 77 "C compiler cannot create executables |
3167 | as_fn_error 77 "C compiler cannot create executables |
3172 | See \`config.log' for more details" "$LINENO" 5; } |
3168 | See \`config.log' for more details" "$LINENO" 5 ; } |
3173 | else |
3169 | else |
3174 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3170 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3175 | $as_echo "yes" >&6; } |
3171 | $as_echo "yes" >&6; } |
3176 | fi |
3172 | fi |
3177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3210 | done |
3206 | done |
3211 | else |
3207 | else |
3212 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3208 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3213 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3209 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3214 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3210 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3215 | See \`config.log' for more details" "$LINENO" 5; } |
3211 | See \`config.log' for more details" "$LINENO" 5 ; } |
3216 | fi |
3212 | fi |
3217 | rm -f conftest conftest$ac_cv_exeext |
3213 | rm -f conftest conftest$ac_cv_exeext |
3218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3219 | $as_echo "$ac_cv_exeext" >&6; } |
3215 | $as_echo "$ac_cv_exeext" >&6; } |
3220 | |
3216 | |
… | |
… | |
3269 | else |
3265 | else |
3270 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3266 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3271 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3267 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3272 | as_fn_error $? "cannot run C compiled programs. |
3268 | as_fn_error $? "cannot run C compiled programs. |
3273 | If you meant to cross compile, use \`--host'. |
3269 | If you meant to cross compile, use \`--host'. |
3274 | See \`config.log' for more details" "$LINENO" 5; } |
3270 | See \`config.log' for more details" "$LINENO" 5 ; } |
3275 | fi |
3271 | fi |
3276 | fi |
3272 | fi |
3277 | fi |
3273 | fi |
3278 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3279 | $as_echo "$cross_compiling" >&6; } |
3275 | $as_echo "$cross_compiling" >&6; } |
3280 | |
3276 | |
3281 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3277 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3282 | ac_clean_files=$ac_clean_files_save |
3278 | ac_clean_files=$ac_clean_files_save |
3283 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3279 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3284 | $as_echo_n "checking for suffix of object files... " >&6; } |
3280 | $as_echo_n "checking for suffix of object files... " >&6; } |
3285 | if ${ac_cv_objext+:} false; then : |
3281 | if test "${ac_cv_objext+set}" = set; then : |
3286 | $as_echo_n "(cached) " >&6 |
3282 | $as_echo_n "(cached) " >&6 |
3287 | else |
3283 | else |
3288 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3284 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3289 | /* end confdefs.h. */ |
3285 | /* end confdefs.h. */ |
3290 | |
3286 | |
… | |
… | |
3321 | sed 's/^/| /' conftest.$ac_ext >&5 |
3317 | sed 's/^/| /' conftest.$ac_ext >&5 |
3322 | |
3318 | |
3323 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3319 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3324 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3320 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3325 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3321 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3326 | See \`config.log' for more details" "$LINENO" 5; } |
3322 | See \`config.log' for more details" "$LINENO" 5 ; } |
3327 | fi |
3323 | fi |
3328 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3324 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3329 | fi |
3325 | fi |
3330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3326 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3331 | $as_echo "$ac_cv_objext" >&6; } |
3327 | $as_echo "$ac_cv_objext" >&6; } |
3332 | OBJEXT=$ac_cv_objext |
3328 | OBJEXT=$ac_cv_objext |
3333 | ac_objext=$OBJEXT |
3329 | ac_objext=$OBJEXT |
3334 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3330 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3335 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3331 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3336 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3332 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3337 | $as_echo_n "(cached) " >&6 |
3333 | $as_echo_n "(cached) " >&6 |
3338 | else |
3334 | else |
3339 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3335 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3340 | /* end confdefs.h. */ |
3336 | /* end confdefs.h. */ |
3341 | |
3337 | |
… | |
… | |
3368 | fi |
3364 | fi |
3369 | ac_test_CFLAGS=${CFLAGS+set} |
3365 | ac_test_CFLAGS=${CFLAGS+set} |
3370 | ac_save_CFLAGS=$CFLAGS |
3366 | ac_save_CFLAGS=$CFLAGS |
3371 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3367 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3372 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3368 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3373 | if ${ac_cv_prog_cc_g+:} false; then : |
3369 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
3374 | $as_echo_n "(cached) " >&6 |
3370 | $as_echo_n "(cached) " >&6 |
3375 | else |
3371 | else |
3376 | ac_save_c_werror_flag=$ac_c_werror_flag |
3372 | ac_save_c_werror_flag=$ac_c_werror_flag |
3377 | ac_c_werror_flag=yes |
3373 | ac_c_werror_flag=yes |
3378 | ac_cv_prog_cc_g=no |
3374 | ac_cv_prog_cc_g=no |
… | |
… | |
3446 | CFLAGS= |
3442 | CFLAGS= |
3447 | fi |
3443 | fi |
3448 | fi |
3444 | fi |
3449 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3450 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3446 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3451 | if ${ac_cv_prog_cc_c89+:} false; then : |
3447 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3452 | $as_echo_n "(cached) " >&6 |
3448 | $as_echo_n "(cached) " >&6 |
3453 | else |
3449 | else |
3454 | ac_cv_prog_cc_c89=no |
3450 | ac_cv_prog_cc_c89=no |
3455 | ac_save_CC=$CC |
3451 | ac_save_CC=$CC |
3456 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3452 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
3557 | do |
3553 | do |
3558 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3554 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3559 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3555 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3560 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3556 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3561 | $as_echo_n "checking for $ac_word... " >&6; } |
3557 | $as_echo_n "checking for $ac_word... " >&6; } |
3562 | if ${ac_cv_prog_CXX+:} false; then : |
3558 | if test "${ac_cv_prog_CXX+set}" = set; then : |
3563 | $as_echo_n "(cached) " >&6 |
3559 | $as_echo_n "(cached) " >&6 |
3564 | else |
3560 | else |
3565 | if test -n "$CXX"; then |
3561 | if test -n "$CXX"; then |
3566 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3562 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3567 | else |
3563 | else |
… | |
… | |
3601 | do |
3597 | do |
3602 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3598 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3603 | set dummy $ac_prog; ac_word=$2 |
3599 | set dummy $ac_prog; ac_word=$2 |
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3600 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3605 | $as_echo_n "checking for $ac_word... " >&6; } |
3601 | $as_echo_n "checking for $ac_word... " >&6; } |
3606 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3602 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
3607 | $as_echo_n "(cached) " >&6 |
3603 | $as_echo_n "(cached) " >&6 |
3608 | else |
3604 | else |
3609 | if test -n "$ac_ct_CXX"; then |
3605 | if test -n "$ac_ct_CXX"; then |
3610 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3606 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3611 | else |
3607 | else |
… | |
… | |
3679 | test $ac_status = 0; } |
3675 | test $ac_status = 0; } |
3680 | done |
3676 | done |
3681 | |
3677 | |
3682 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3678 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3683 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3679 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3684 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
3680 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
3685 | $as_echo_n "(cached) " >&6 |
3681 | $as_echo_n "(cached) " >&6 |
3686 | else |
3682 | else |
3687 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3683 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3688 | /* end confdefs.h. */ |
3684 | /* end confdefs.h. */ |
3689 | |
3685 | |
… | |
… | |
3716 | fi |
3712 | fi |
3717 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3713 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3718 | ac_save_CXXFLAGS=$CXXFLAGS |
3714 | ac_save_CXXFLAGS=$CXXFLAGS |
3719 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3715 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3720 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3716 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3721 | if ${ac_cv_prog_cxx_g+:} false; then : |
3717 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
3722 | $as_echo_n "(cached) " >&6 |
3718 | $as_echo_n "(cached) " >&6 |
3723 | else |
3719 | else |
3724 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3720 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3725 | ac_cxx_werror_flag=yes |
3721 | ac_cxx_werror_flag=yes |
3726 | ac_cv_prog_cxx_g=no |
3722 | ac_cv_prog_cxx_g=no |
… | |
… | |
3792 | CXXFLAGS="-O2" |
3788 | CXXFLAGS="-O2" |
3793 | else |
3789 | else |
3794 | CXXFLAGS= |
3790 | CXXFLAGS= |
3795 | fi |
3791 | fi |
3796 | fi |
3792 | fi |
3797 | ac_ext=c |
|
|
3798 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3799 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3800 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3801 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3802 | |
|
|
3803 | ac_ext=c |
|
|
3804 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3805 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3806 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3807 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3809 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3810 | # On Suns, sometimes $CPP names a directory. |
|
|
3811 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3812 | CPP= |
|
|
3813 | fi |
|
|
3814 | if test -z "$CPP"; then |
|
|
3815 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
3816 | $as_echo_n "(cached) " >&6 |
|
|
3817 | else |
|
|
3818 | # Double quotes because CPP needs to be expanded |
|
|
3819 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3820 | do |
|
|
3821 | ac_preproc_ok=false |
|
|
3822 | for ac_c_preproc_warn_flag in '' yes |
|
|
3823 | do |
|
|
3824 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3825 | # with a fresh cross-compiler works. |
|
|
3826 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3827 | # <limits.h> exists even on freestanding compilers. |
|
|
3828 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3829 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3830 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3831 | /* end confdefs.h. */ |
|
|
3832 | #ifdef __STDC__ |
|
|
3833 | # include <limits.h> |
|
|
3834 | #else |
|
|
3835 | # include <assert.h> |
|
|
3836 | #endif |
|
|
3837 | Syntax error |
|
|
3838 | _ACEOF |
|
|
3839 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3840 | |
|
|
3841 | else |
|
|
3842 | # Broken: fails on valid input. |
|
|
3843 | continue |
|
|
3844 | fi |
|
|
3845 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3846 | |
|
|
3847 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3848 | # can be detected and how. |
|
|
3849 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3850 | /* end confdefs.h. */ |
|
|
3851 | #include <ac_nonexistent.h> |
|
|
3852 | _ACEOF |
|
|
3853 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3854 | # Broken: success on invalid input. |
|
|
3855 | continue |
|
|
3856 | else |
|
|
3857 | # Passes both tests. |
|
|
3858 | ac_preproc_ok=: |
|
|
3859 | break |
|
|
3860 | fi |
|
|
3861 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3862 | |
|
|
3863 | done |
|
|
3864 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3865 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3866 | if $ac_preproc_ok; then : |
|
|
3867 | break |
|
|
3868 | fi |
|
|
3869 | |
|
|
3870 | done |
|
|
3871 | ac_cv_prog_CPP=$CPP |
|
|
3872 | |
|
|
3873 | fi |
|
|
3874 | CPP=$ac_cv_prog_CPP |
|
|
3875 | else |
|
|
3876 | ac_cv_prog_CPP=$CPP |
|
|
3877 | fi |
|
|
3878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3879 | $as_echo "$CPP" >&6; } |
|
|
3880 | ac_preproc_ok=false |
|
|
3881 | for ac_c_preproc_warn_flag in '' yes |
|
|
3882 | do |
|
|
3883 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3884 | # with a fresh cross-compiler works. |
|
|
3885 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3886 | # <limits.h> exists even on freestanding compilers. |
|
|
3887 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3888 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3890 | /* end confdefs.h. */ |
|
|
3891 | #ifdef __STDC__ |
|
|
3892 | # include <limits.h> |
|
|
3893 | #else |
|
|
3894 | # include <assert.h> |
|
|
3895 | #endif |
|
|
3896 | Syntax error |
|
|
3897 | _ACEOF |
|
|
3898 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3899 | |
|
|
3900 | else |
|
|
3901 | # Broken: fails on valid input. |
|
|
3902 | continue |
|
|
3903 | fi |
|
|
3904 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3905 | |
|
|
3906 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3907 | # can be detected and how. |
|
|
3908 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3909 | /* end confdefs.h. */ |
|
|
3910 | #include <ac_nonexistent.h> |
|
|
3911 | _ACEOF |
|
|
3912 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3913 | # Broken: success on invalid input. |
|
|
3914 | continue |
|
|
3915 | else |
|
|
3916 | # Passes both tests. |
|
|
3917 | ac_preproc_ok=: |
|
|
3918 | break |
|
|
3919 | fi |
|
|
3920 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3921 | |
|
|
3922 | done |
|
|
3923 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3924 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3925 | if $ac_preproc_ok; then : |
|
|
3926 | |
|
|
3927 | else |
|
|
3928 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3929 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3930 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
3931 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3932 | fi |
|
|
3933 | |
|
|
3934 | ac_ext=c |
3793 | ac_ext=c |
3935 | ac_cpp='$CPP $CPPFLAGS' |
3794 | ac_cpp='$CPP $CPPFLAGS' |
3936 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3795 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3937 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3796 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3938 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3797 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3952 | # ./install, which can be erroneously created by make from ./install.sh. |
3811 | # ./install, which can be erroneously created by make from ./install.sh. |
3953 | # Reject install programs that cannot install multiple files. |
3812 | # Reject install programs that cannot install multiple files. |
3954 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3813 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3955 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3814 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3956 | if test -z "$INSTALL"; then |
3815 | if test -z "$INSTALL"; then |
3957 | if ${ac_cv_path_install+:} false; then : |
3816 | if test "${ac_cv_path_install+set}" = set; then : |
3958 | $as_echo_n "(cached) " >&6 |
3817 | $as_echo_n "(cached) " >&6 |
3959 | else |
3818 | else |
3960 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3819 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3961 | for as_dir in $PATH |
3820 | for as_dir in $PATH |
3962 | do |
3821 | do |
… | |
… | |
4030 | |
3889 | |
4031 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3890 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4032 | |
3891 | |
4033 | |
3892 | |
4034 | |
3893 | |
|
|
3894 | ac_ext=c |
|
|
3895 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3896 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3897 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3898 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3900 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3901 | # On Suns, sometimes $CPP names a directory. |
|
|
3902 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3903 | CPP= |
|
|
3904 | fi |
|
|
3905 | if test -z "$CPP"; then |
|
|
3906 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
3907 | $as_echo_n "(cached) " >&6 |
|
|
3908 | else |
|
|
3909 | # Double quotes because CPP needs to be expanded |
|
|
3910 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3911 | do |
|
|
3912 | ac_preproc_ok=false |
|
|
3913 | for ac_c_preproc_warn_flag in '' yes |
|
|
3914 | do |
|
|
3915 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3916 | # with a fresh cross-compiler works. |
|
|
3917 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3918 | # <limits.h> exists even on freestanding compilers. |
|
|
3919 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3920 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3921 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3922 | /* end confdefs.h. */ |
|
|
3923 | #ifdef __STDC__ |
|
|
3924 | # include <limits.h> |
|
|
3925 | #else |
|
|
3926 | # include <assert.h> |
|
|
3927 | #endif |
|
|
3928 | Syntax error |
|
|
3929 | _ACEOF |
|
|
3930 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3931 | |
|
|
3932 | else |
|
|
3933 | # Broken: fails on valid input. |
|
|
3934 | continue |
|
|
3935 | fi |
|
|
3936 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3937 | |
|
|
3938 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3939 | # can be detected and how. |
|
|
3940 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3941 | /* end confdefs.h. */ |
|
|
3942 | #include <ac_nonexistent.h> |
|
|
3943 | _ACEOF |
|
|
3944 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3945 | # Broken: success on invalid input. |
|
|
3946 | continue |
|
|
3947 | else |
|
|
3948 | # Passes both tests. |
|
|
3949 | ac_preproc_ok=: |
|
|
3950 | break |
|
|
3951 | fi |
|
|
3952 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3953 | |
|
|
3954 | done |
|
|
3955 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3956 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3957 | if $ac_preproc_ok; then : |
|
|
3958 | break |
|
|
3959 | fi |
|
|
3960 | |
|
|
3961 | done |
|
|
3962 | ac_cv_prog_CPP=$CPP |
|
|
3963 | |
|
|
3964 | fi |
|
|
3965 | CPP=$ac_cv_prog_CPP |
|
|
3966 | else |
|
|
3967 | ac_cv_prog_CPP=$CPP |
|
|
3968 | fi |
|
|
3969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3970 | $as_echo "$CPP" >&6; } |
|
|
3971 | ac_preproc_ok=false |
|
|
3972 | for ac_c_preproc_warn_flag in '' yes |
|
|
3973 | do |
|
|
3974 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3975 | # with a fresh cross-compiler works. |
|
|
3976 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3977 | # <limits.h> exists even on freestanding compilers. |
|
|
3978 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3979 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3980 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3981 | /* end confdefs.h. */ |
|
|
3982 | #ifdef __STDC__ |
|
|
3983 | # include <limits.h> |
|
|
3984 | #else |
|
|
3985 | # include <assert.h> |
|
|
3986 | #endif |
|
|
3987 | Syntax error |
|
|
3988 | _ACEOF |
|
|
3989 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3990 | |
|
|
3991 | else |
|
|
3992 | # Broken: fails on valid input. |
|
|
3993 | continue |
|
|
3994 | fi |
|
|
3995 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3996 | |
|
|
3997 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3998 | # can be detected and how. |
|
|
3999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4000 | /* end confdefs.h. */ |
|
|
4001 | #include <ac_nonexistent.h> |
|
|
4002 | _ACEOF |
|
|
4003 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
4004 | # Broken: success on invalid input. |
|
|
4005 | continue |
|
|
4006 | else |
|
|
4007 | # Passes both tests. |
|
|
4008 | ac_preproc_ok=: |
|
|
4009 | break |
|
|
4010 | fi |
|
|
4011 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4012 | |
|
|
4013 | done |
|
|
4014 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4015 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4016 | if $ac_preproc_ok; then : |
|
|
4017 | |
|
|
4018 | else |
|
|
4019 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
4020 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
4021 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
4022 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
4023 | fi |
|
|
4024 | |
|
|
4025 | ac_ext=c |
|
|
4026 | ac_cpp='$CPP $CPPFLAGS' |
|
|
4027 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4028 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4029 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
4030 | |
4035 | |
4031 | |
4036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4032 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4037 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4033 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4038 | if ${ac_cv_path_GREP+:} false; then : |
4034 | if test "${ac_cv_path_GREP+set}" = set; then : |
4039 | $as_echo_n "(cached) " >&6 |
4035 | $as_echo_n "(cached) " >&6 |
4040 | else |
4036 | else |
4041 | if test -z "$GREP"; then |
4037 | if test -z "$GREP"; then |
4042 | ac_path_GREP_found=false |
4038 | ac_path_GREP_found=false |
4043 | # Loop through the user's path and test for each of PROGNAME-LIST |
4039 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
4096 | GREP="$ac_cv_path_GREP" |
4092 | GREP="$ac_cv_path_GREP" |
4097 | |
4093 | |
4098 | |
4094 | |
4099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4095 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4100 | $as_echo_n "checking for egrep... " >&6; } |
4096 | $as_echo_n "checking for egrep... " >&6; } |
4101 | if ${ac_cv_path_EGREP+:} false; then : |
4097 | if test "${ac_cv_path_EGREP+set}" = set; then : |
4102 | $as_echo_n "(cached) " >&6 |
4098 | $as_echo_n "(cached) " >&6 |
4103 | else |
4099 | else |
4104 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4100 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4105 | then ac_cv_path_EGREP="$GREP -E" |
4101 | then ac_cv_path_EGREP="$GREP -E" |
4106 | else |
4102 | else |
… | |
… | |
4163 | EGREP="$ac_cv_path_EGREP" |
4159 | EGREP="$ac_cv_path_EGREP" |
4164 | |
4160 | |
4165 | |
4161 | |
4166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4162 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4167 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4163 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4168 | if ${ac_cv_header_stdc+:} false; then : |
4164 | if test "${ac_cv_header_stdc+set}" = set; then : |
4169 | $as_echo_n "(cached) " >&6 |
4165 | $as_echo_n "(cached) " >&6 |
4170 | else |
4166 | else |
4171 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4167 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4172 | /* end confdefs.h. */ |
4168 | /* end confdefs.h. */ |
4173 | #include <stdlib.h> |
4169 | #include <stdlib.h> |
… | |
… | |
4292 | done |
4288 | done |
4293 | |
4289 | |
4294 | |
4290 | |
4295 | |
4291 | |
4296 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4292 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4297 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
4293 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
4298 | MINIX=yes |
4294 | MINIX=yes |
4299 | else |
4295 | else |
4300 | MINIX= |
4296 | MINIX= |
4301 | fi |
4297 | fi |
4302 | |
4298 | |
… | |
… | |
4314 | fi |
4310 | fi |
4315 | |
4311 | |
4316 | |
4312 | |
4317 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4313 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4318 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4314 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4319 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
4315 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
4320 | $as_echo_n "(cached) " >&6 |
4316 | $as_echo_n "(cached) " >&6 |
4321 | else |
4317 | else |
4322 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4318 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4323 | /* end confdefs.h. */ |
4319 | /* end confdefs.h. */ |
4324 | |
4320 | |
… | |
… | |
4355 | |
4351 | |
4356 | |
4352 | |
4357 | |
4353 | |
4358 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4359 | $as_echo_n "checking for library containing strerror... " >&6; } |
4355 | $as_echo_n "checking for library containing strerror... " >&6; } |
4360 | if ${ac_cv_search_strerror+:} false; then : |
4356 | if test "${ac_cv_search_strerror+set}" = set; then : |
4361 | $as_echo_n "(cached) " >&6 |
4357 | $as_echo_n "(cached) " >&6 |
4362 | else |
4358 | else |
4363 | ac_func_search_save_LIBS=$LIBS |
4359 | ac_func_search_save_LIBS=$LIBS |
4364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4360 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4365 | /* end confdefs.h. */ |
4361 | /* end confdefs.h. */ |
… | |
… | |
4389 | if ac_fn_c_try_link "$LINENO"; then : |
4385 | if ac_fn_c_try_link "$LINENO"; then : |
4390 | ac_cv_search_strerror=$ac_res |
4386 | ac_cv_search_strerror=$ac_res |
4391 | fi |
4387 | fi |
4392 | rm -f core conftest.err conftest.$ac_objext \ |
4388 | rm -f core conftest.err conftest.$ac_objext \ |
4393 | conftest$ac_exeext |
4389 | conftest$ac_exeext |
4394 | if ${ac_cv_search_strerror+:} false; then : |
4390 | if test "${ac_cv_search_strerror+set}" = set; then : |
4395 | break |
4391 | break |
4396 | fi |
4392 | fi |
4397 | done |
4393 | done |
4398 | if ${ac_cv_search_strerror+:} false; then : |
4394 | if test "${ac_cv_search_strerror+set}" = set; then : |
4399 | |
4395 | |
4400 | else |
4396 | else |
4401 | ac_cv_search_strerror=no |
4397 | ac_cv_search_strerror=no |
4402 | fi |
4398 | fi |
4403 | rm conftest.$ac_ext |
4399 | rm conftest.$ac_ext |
… | |
… | |
4416 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4412 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4417 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4413 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4418 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4414 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4419 | |
4415 | |
4420 | |
4416 | |
|
|
4417 | LINKER="$CXX" |
4421 | if test x$GCC = xyes && test x$GXX = xyes; then |
4418 | if test x$GCC = xyes && test x$GXX = xyes; then |
4422 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4419 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4423 | $as_echo_n "checking for working libsupc++... " >&6; } |
4420 | $as_echo_n "checking for working libsupc++... " >&6; } |
4424 | save_CXX="$CXX" |
4421 | save_CXX="$CXX" |
4425 | save_LIBS="$LIBS" |
4422 | save_LIBS="$LIBS" |
4426 | CXX="$CC" |
4423 | CXX="$CC" |
4427 | LIBS="$LIBS -lsupc++" |
4424 | LIBS="$LIBS -lsupc++" |
4428 | LINKER="$CC" |
|
|
4429 | |
4425 | |
4430 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4426 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4431 | /* end confdefs.h. */ |
4427 | /* end confdefs.h. */ |
4432 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4428 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4433 | int |
4429 | int |
… | |
… | |
4439 | } |
4435 | } |
4440 | _ACEOF |
4436 | _ACEOF |
4441 | if ac_fn_cxx_try_link "$LINENO"; then : |
4437 | if ac_fn_cxx_try_link "$LINENO"; then : |
4442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4443 | $as_echo "ok" >&6; } |
4439 | $as_echo "ok" >&6; } |
|
|
4440 | LINKER="$CC" |
4444 | else |
4441 | else |
4445 | |
4442 | |
4446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4443 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4447 | $as_echo "no, making everything bigger and slower" >&6; } |
4444 | $as_echo "no, making everything bigger and slower" >&6; } |
4448 | LIBS="$save_LIBS" |
4445 | LIBS="$save_LIBS" |
4449 | LINKER="$save_CXX" |
|
|
4450 | |
4446 | |
4451 | |
4447 | |
4452 | fi |
4448 | fi |
4453 | rm -f core conftest.err conftest.$ac_objext \ |
4449 | rm -f core conftest.err conftest.$ac_objext \ |
4454 | conftest$ac_exeext conftest.$ac_ext |
4450 | conftest$ac_exeext conftest.$ac_ext |
… | |
… | |
4481 | CXXFLAGS="-O" |
4477 | CXXFLAGS="-O" |
4482 | fi |
4478 | fi |
4483 | CFLAGS="$CXXFLAGS" |
4479 | CFLAGS="$CXXFLAGS" |
4484 | fi |
4480 | fi |
4485 | |
4481 | |
4486 | case $host in |
|
|
4487 | *-*-solaris* ) |
|
|
4488 | |
|
|
4489 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
4490 | |
|
|
4491 | ;; |
|
|
4492 | esac |
|
|
4493 | |
|
|
4494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4482 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4495 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4483 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4496 | if ${ac_cv_search_setlocale+:} false; then : |
4484 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4497 | $as_echo_n "(cached) " >&6 |
4485 | $as_echo_n "(cached) " >&6 |
4498 | else |
4486 | else |
4499 | ac_func_search_save_LIBS=$LIBS |
4487 | ac_func_search_save_LIBS=$LIBS |
4500 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4488 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4501 | /* end confdefs.h. */ |
4489 | /* end confdefs.h. */ |
… | |
… | |
4525 | if ac_fn_cxx_try_link "$LINENO"; then : |
4513 | if ac_fn_cxx_try_link "$LINENO"; then : |
4526 | ac_cv_search_setlocale=$ac_res |
4514 | ac_cv_search_setlocale=$ac_res |
4527 | fi |
4515 | fi |
4528 | rm -f core conftest.err conftest.$ac_objext \ |
4516 | rm -f core conftest.err conftest.$ac_objext \ |
4529 | conftest$ac_exeext |
4517 | conftest$ac_exeext |
4530 | if ${ac_cv_search_setlocale+:} false; then : |
4518 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4531 | break |
4519 | break |
4532 | fi |
4520 | fi |
4533 | done |
4521 | done |
4534 | if ${ac_cv_search_setlocale+:} false; then : |
4522 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4535 | |
4523 | |
4536 | else |
4524 | else |
4537 | ac_cv_search_setlocale=no |
4525 | ac_cv_search_setlocale=no |
4538 | fi |
4526 | fi |
4539 | rm conftest.$ac_ext |
4527 | rm conftest.$ac_ext |
… | |
… | |
4548 | fi |
4536 | fi |
4549 | |
4537 | |
4550 | |
4538 | |
4551 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
4539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
4552 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4540 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4553 | if ${ac_cv_search_gethostbyname+:} false; then : |
4541 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4554 | $as_echo_n "(cached) " >&6 |
4542 | $as_echo_n "(cached) " >&6 |
4555 | else |
4543 | else |
4556 | ac_func_search_save_LIBS=$LIBS |
4544 | ac_func_search_save_LIBS=$LIBS |
4557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4545 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4558 | /* end confdefs.h. */ |
4546 | /* end confdefs.h. */ |
… | |
… | |
4582 | if ac_fn_cxx_try_link "$LINENO"; then : |
4570 | if ac_fn_cxx_try_link "$LINENO"; then : |
4583 | ac_cv_search_gethostbyname=$ac_res |
4571 | ac_cv_search_gethostbyname=$ac_res |
4584 | fi |
4572 | fi |
4585 | rm -f core conftest.err conftest.$ac_objext \ |
4573 | rm -f core conftest.err conftest.$ac_objext \ |
4586 | conftest$ac_exeext |
4574 | conftest$ac_exeext |
4587 | if ${ac_cv_search_gethostbyname+:} false; then : |
4575 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4588 | break |
4576 | break |
4589 | fi |
4577 | fi |
4590 | done |
4578 | done |
4591 | if ${ac_cv_search_gethostbyname+:} false; then : |
4579 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4592 | |
4580 | |
4593 | else |
4581 | else |
4594 | ac_cv_search_gethostbyname=no |
4582 | ac_cv_search_gethostbyname=no |
4595 | fi |
4583 | fi |
4596 | rm conftest.$ac_ext |
4584 | rm conftest.$ac_ext |
… | |
… | |
4604 | |
4592 | |
4605 | fi |
4593 | fi |
4606 | |
4594 | |
4607 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
4595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
4608 | $as_echo_n "checking for library containing socket... " >&6; } |
4596 | $as_echo_n "checking for library containing socket... " >&6; } |
4609 | if ${ac_cv_search_socket+:} false; then : |
4597 | if test "${ac_cv_search_socket+set}" = set; then : |
4610 | $as_echo_n "(cached) " >&6 |
4598 | $as_echo_n "(cached) " >&6 |
4611 | else |
4599 | else |
4612 | ac_func_search_save_LIBS=$LIBS |
4600 | ac_func_search_save_LIBS=$LIBS |
4613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4601 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4614 | /* end confdefs.h. */ |
4602 | /* end confdefs.h. */ |
… | |
… | |
4638 | if ac_fn_cxx_try_link "$LINENO"; then : |
4626 | if ac_fn_cxx_try_link "$LINENO"; then : |
4639 | ac_cv_search_socket=$ac_res |
4627 | ac_cv_search_socket=$ac_res |
4640 | fi |
4628 | fi |
4641 | rm -f core conftest.err conftest.$ac_objext \ |
4629 | rm -f core conftest.err conftest.$ac_objext \ |
4642 | conftest$ac_exeext |
4630 | conftest$ac_exeext |
4643 | if ${ac_cv_search_socket+:} false; then : |
4631 | if test "${ac_cv_search_socket+set}" = set; then : |
4644 | break |
4632 | break |
4645 | fi |
4633 | fi |
4646 | done |
4634 | done |
4647 | if ${ac_cv_search_socket+:} false; then : |
4635 | if test "${ac_cv_search_socket+set}" = set; then : |
4648 | |
4636 | |
4649 | else |
4637 | else |
4650 | ac_cv_search_socket=no |
4638 | ac_cv_search_socket=no |
4651 | fi |
4639 | fi |
4652 | rm conftest.$ac_ext |
4640 | rm conftest.$ac_ext |
… | |
… | |
4673 | support_scroll_rxvt=yes |
4661 | support_scroll_rxvt=yes |
4674 | support_scroll_next=yes |
4662 | support_scroll_next=yes |
4675 | support_scroll_xterm=yes |
4663 | support_scroll_xterm=yes |
4676 | support_xim=yes |
4664 | support_xim=yes |
4677 | support_pixbuf=yes |
4665 | support_pixbuf=yes |
4678 | support_afterimage=yes |
4666 | support_startup_notification=yes |
4679 | support_xft=yes |
4667 | support_xft=yes |
4680 | support_unicode3=no |
4668 | support_unicode3=no |
4681 | support_combining=yes |
4669 | support_combining=yes |
4682 | support_8bitctrls=no |
4670 | support_8bitctrls=no |
4683 | support_iso14755=yes |
4671 | support_iso14755=yes |
… | |
… | |
4705 | support_scroll_xterm=no |
4693 | support_scroll_xterm=no |
4706 | support_utmp=no |
4694 | support_utmp=no |
4707 | support_wtmp=no |
4695 | support_wtmp=no |
4708 | support_xim=no |
4696 | support_xim=no |
4709 | support_pixbuf=no |
4697 | support_pixbuf=no |
4710 | support_afterimage=no |
4698 | support_startup_notification=no |
4711 | support_xft=no |
4699 | support_xft=no |
4712 | support_unicode3=no |
4700 | support_unicode3=no |
4713 | support_combining=no |
4701 | support_combining=no |
4714 | support_8bitctrls=no |
4702 | support_8bitctrls=no |
4715 | support_iso14755=no |
4703 | support_iso14755=no |
… | |
… | |
4733 | support_scroll_xterm=yes |
4721 | support_scroll_xterm=yes |
4734 | support_utmp=yes |
4722 | support_utmp=yes |
4735 | support_wtmp=yes |
4723 | support_wtmp=yes |
4736 | support_xim=yes |
4724 | support_xim=yes |
4737 | support_pixbuf=yes |
4725 | support_pixbuf=yes |
4738 | support_afterimage=yes |
4726 | support_startup_notification=yes |
4739 | support_xft=yes |
4727 | support_xft=yes |
4740 | support_unicode3=yes |
4728 | support_unicode3=yes |
4741 | support_combining=yes |
4729 | support_combining=yes |
4742 | #support_8bitctrls=yes |
4730 | #support_8bitctrls=yes |
4743 | support_iso14755=yes |
4731 | support_iso14755=yes |
… | |
… | |
4747 | fi |
4735 | fi |
4748 | |
4736 | |
4749 | fi |
4737 | fi |
4750 | |
4738 | |
4751 | |
4739 | |
4752 | ASSERTIONS=no |
4740 | support_assertions=no |
4753 | # Check whether --enable-assert was given. |
4741 | # Check whether --enable-assert was given. |
4754 | if test "${enable_assert+set}" = set; then : |
4742 | if test "${enable_assert+set}" = set; then : |
4755 | enableval=$enable_assert; if test x$enableval = xyes; then |
4743 | enableval=$enable_assert; if test x$enableval = xyes; then |
4756 | ASSERTIONS=yes |
4744 | support_assertions=yes |
4757 | fi |
4745 | fi |
4758 | fi |
4746 | fi |
4759 | |
4747 | |
4760 | if test x$ASSERTIONS = xno; then |
4748 | if test x$support_assertions = xno; then |
4761 | |
4749 | |
4762 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4750 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4763 | |
4751 | |
4764 | fi |
4752 | fi |
4765 | |
4753 | |
4766 | WARNINGS=no |
4754 | support_warnings=no |
4767 | # Check whether --enable-warnings was given. |
4755 | # Check whether --enable-warnings was given. |
4768 | if test "${enable_warnings+set}" = set; then : |
4756 | if test "${enable_warnings+set}" = set; then : |
4769 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4757 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4770 | WARNINGS=yes |
4758 | support_warnings=yes |
4771 | fi |
4759 | fi |
4772 | fi |
4760 | fi |
4773 | |
4761 | |
4774 | if test x$GXX = xyes; then |
4762 | if test x$GXX = xyes; then |
4775 | if test $WARNINGS = yes; then |
4763 | if test $support_warnings = yes; then |
4776 | save_CXXFLAGS="$CXXFLAGS" |
4764 | save_CXXFLAGS="$CXXFLAGS" |
4777 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
4765 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" |
4778 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4766 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4779 | /* end confdefs.h. */ |
4767 | /* end confdefs.h. */ |
4780 | |
4768 | |
4781 | int |
4769 | int |
4782 | main () |
4770 | main () |
… | |
… | |
4862 | |
4850 | |
4863 | # Check whether --enable-pixbuf was given. |
4851 | # Check whether --enable-pixbuf was given. |
4864 | if test "${enable_pixbuf+set}" = set; then : |
4852 | if test "${enable_pixbuf+set}" = set; then : |
4865 | enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then |
4853 | enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then |
4866 | support_pixbuf=$enableval |
4854 | support_pixbuf=$enableval |
|
|
4855 | fi |
|
|
4856 | fi |
|
|
4857 | |
|
|
4858 | |
|
|
4859 | # Check whether --enable-startup-notification was given. |
|
|
4860 | if test "${enable_startup_notification+set}" = set; then : |
|
|
4861 | enableval=$enable_startup_notification; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4862 | support_startup_notification=$enableval |
4867 | fi |
4863 | fi |
4868 | fi |
4864 | fi |
4869 | |
4865 | |
4870 | |
4866 | |
4871 | # Check whether --enable-transparency was given. |
4867 | # Check whether --enable-transparency was given. |
… | |
… | |
5148 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5144 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5149 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5145 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5150 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
5146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
5151 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5147 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5152 | if test -z "$CXXCPP"; then |
5148 | if test -z "$CXXCPP"; then |
5153 | if ${ac_cv_prog_CXXCPP+:} false; then : |
5149 | if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
5154 | $as_echo_n "(cached) " >&6 |
5150 | $as_echo_n "(cached) " >&6 |
5155 | else |
5151 | else |
5156 | # Double quotes because CXXCPP needs to be expanded |
5152 | # Double quotes because CXXCPP needs to be expanded |
5157 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5153 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5158 | do |
5154 | do |
… | |
… | |
5264 | |
5260 | |
5265 | else |
5261 | else |
5266 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5262 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5267 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5263 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5268 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5264 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5269 | See \`config.log' for more details" "$LINENO" 5; } |
5265 | See \`config.log' for more details" "$LINENO" 5 ; } |
5270 | fi |
5266 | fi |
5271 | |
5267 | |
5272 | ac_ext=cpp |
5268 | ac_ext=cpp |
5273 | ac_cpp='$CXXCPP $CPPFLAGS' |
5269 | ac_cpp='$CXXCPP $CPPFLAGS' |
5274 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5270 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5304 | |
5300 | |
5305 | |
5301 | |
5306 | for ac_func in clock_gettime |
5302 | for ac_func in clock_gettime |
5307 | do : |
5303 | do : |
5308 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5304 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5309 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5305 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5310 | cat >>confdefs.h <<_ACEOF |
5306 | cat >>confdefs.h <<_ACEOF |
5311 | #define HAVE_CLOCK_GETTIME 1 |
5307 | #define HAVE_CLOCK_GETTIME 1 |
5312 | _ACEOF |
5308 | _ACEOF |
5313 | |
5309 | |
5314 | else |
5310 | else |
… | |
… | |
5344 | conftest$ac_exeext conftest.$ac_ext |
5340 | conftest$ac_exeext conftest.$ac_ext |
5345 | fi |
5341 | fi |
5346 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5342 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5347 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
5343 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
5348 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5344 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5349 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
5345 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : |
5350 | $as_echo_n "(cached) " >&6 |
5346 | $as_echo_n "(cached) " >&6 |
5351 | else |
5347 | else |
5352 | ac_check_lib_save_LIBS=$LIBS |
5348 | ac_check_lib_save_LIBS=$LIBS |
5353 | LIBS="-lrt $LIBS" |
5349 | LIBS="-lrt $LIBS" |
5354 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5350 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5378 | conftest$ac_exeext conftest.$ac_ext |
5374 | conftest$ac_exeext conftest.$ac_ext |
5379 | LIBS=$ac_check_lib_save_LIBS |
5375 | LIBS=$ac_check_lib_save_LIBS |
5380 | fi |
5376 | fi |
5381 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
5377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
5382 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5378 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5383 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
5379 | if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : |
5384 | cat >>confdefs.h <<_ACEOF |
5380 | cat >>confdefs.h <<_ACEOF |
5385 | #define HAVE_LIBRT 1 |
5381 | #define HAVE_LIBRT 1 |
5386 | _ACEOF |
5382 | _ACEOF |
5387 | |
5383 | |
5388 | LIBS="-lrt $LIBS" |
5384 | LIBS="-lrt $LIBS" |
… | |
… | |
5391 | |
5387 | |
5392 | unset ac_cv_func_clock_gettime |
5388 | unset ac_cv_func_clock_gettime |
5393 | for ac_func in clock_gettime |
5389 | for ac_func in clock_gettime |
5394 | do : |
5390 | do : |
5395 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5391 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5396 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5392 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5397 | cat >>confdefs.h <<_ACEOF |
5393 | cat >>confdefs.h <<_ACEOF |
5398 | #define HAVE_CLOCK_GETTIME 1 |
5394 | #define HAVE_CLOCK_GETTIME 1 |
5399 | _ACEOF |
5395 | _ACEOF |
5400 | |
5396 | |
5401 | fi |
5397 | fi |
… | |
… | |
5408 | |
5404 | |
5409 | |
5405 | |
5410 | for ac_func in nanosleep |
5406 | for ac_func in nanosleep |
5411 | do : |
5407 | do : |
5412 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5408 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5413 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5409 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5414 | cat >>confdefs.h <<_ACEOF |
5410 | cat >>confdefs.h <<_ACEOF |
5415 | #define HAVE_NANOSLEEP 1 |
5411 | #define HAVE_NANOSLEEP 1 |
5416 | _ACEOF |
5412 | _ACEOF |
5417 | |
5413 | |
5418 | else |
5414 | else |
5419 | |
5415 | |
5420 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5416 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5422 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5418 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5423 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
5419 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : |
5424 | $as_echo_n "(cached) " >&6 |
5420 | $as_echo_n "(cached) " >&6 |
5425 | else |
5421 | else |
5426 | ac_check_lib_save_LIBS=$LIBS |
5422 | ac_check_lib_save_LIBS=$LIBS |
5427 | LIBS="-lrt $LIBS" |
5423 | LIBS="-lrt $LIBS" |
5428 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5424 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5452 | conftest$ac_exeext conftest.$ac_ext |
5448 | conftest$ac_exeext conftest.$ac_ext |
5453 | LIBS=$ac_check_lib_save_LIBS |
5449 | LIBS=$ac_check_lib_save_LIBS |
5454 | fi |
5450 | fi |
5455 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
5451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
5456 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5452 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5457 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
5453 | if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : |
5458 | cat >>confdefs.h <<_ACEOF |
5454 | cat >>confdefs.h <<_ACEOF |
5459 | #define HAVE_LIBRT 1 |
5455 | #define HAVE_LIBRT 1 |
5460 | _ACEOF |
5456 | _ACEOF |
5461 | |
5457 | |
5462 | LIBS="-lrt $LIBS" |
5458 | LIBS="-lrt $LIBS" |
… | |
… | |
5465 | |
5461 | |
5466 | unset ac_cv_func_nanosleep |
5462 | unset ac_cv_func_nanosleep |
5467 | for ac_func in nanosleep |
5463 | for ac_func in nanosleep |
5468 | do : |
5464 | do : |
5469 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5465 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5470 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5466 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5471 | cat >>confdefs.h <<_ACEOF |
5467 | cat >>confdefs.h <<_ACEOF |
5472 | #define HAVE_NANOSLEEP 1 |
5468 | #define HAVE_NANOSLEEP 1 |
5473 | _ACEOF |
5469 | _ACEOF |
5474 | |
5470 | |
5475 | fi |
5471 | fi |
… | |
… | |
5484 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5480 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5485 | LIBM=m |
5481 | LIBM=m |
5486 | fi |
5482 | fi |
5487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5483 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5488 | $as_echo_n "checking for library containing floor... " >&6; } |
5484 | $as_echo_n "checking for library containing floor... " >&6; } |
5489 | if ${ac_cv_search_floor+:} false; then : |
5485 | if test "${ac_cv_search_floor+set}" = set; then : |
5490 | $as_echo_n "(cached) " >&6 |
5486 | $as_echo_n "(cached) " >&6 |
5491 | else |
5487 | else |
5492 | ac_func_search_save_LIBS=$LIBS |
5488 | ac_func_search_save_LIBS=$LIBS |
5493 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5489 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5494 | /* end confdefs.h. */ |
5490 | /* end confdefs.h. */ |
… | |
… | |
5518 | if ac_fn_cxx_try_link "$LINENO"; then : |
5514 | if ac_fn_cxx_try_link "$LINENO"; then : |
5519 | ac_cv_search_floor=$ac_res |
5515 | ac_cv_search_floor=$ac_res |
5520 | fi |
5516 | fi |
5521 | rm -f core conftest.err conftest.$ac_objext \ |
5517 | rm -f core conftest.err conftest.$ac_objext \ |
5522 | conftest$ac_exeext |
5518 | conftest$ac_exeext |
5523 | if ${ac_cv_search_floor+:} false; then : |
5519 | if test "${ac_cv_search_floor+set}" = set; then : |
5524 | break |
5520 | break |
5525 | fi |
5521 | fi |
5526 | done |
5522 | done |
5527 | if ${ac_cv_search_floor+:} false; then : |
5523 | if test "${ac_cv_search_floor+set}" = set; then : |
5528 | |
5524 | |
5529 | else |
5525 | else |
5530 | ac_cv_search_floor=no |
5526 | ac_cv_search_floor=no |
5531 | fi |
5527 | fi |
5532 | rm conftest.$ac_ext |
5528 | rm conftest.$ac_ext |
… | |
… | |
5548 | |
5544 | |
5549 | # Extract the first word of "tic", so it can be a program name with args. |
5545 | # Extract the first word of "tic", so it can be a program name with args. |
5550 | set dummy tic; ac_word=$2 |
5546 | set dummy tic; ac_word=$2 |
5551 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5547 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5552 | $as_echo_n "checking for $ac_word... " >&6; } |
5548 | $as_echo_n "checking for $ac_word... " >&6; } |
5553 | if ${ac_cv_path_TIC+:} false; then : |
5549 | if test "${ac_cv_path_TIC+set}" = set; then : |
5554 | $as_echo_n "(cached) " >&6 |
5550 | $as_echo_n "(cached) " >&6 |
5555 | else |
5551 | else |
5556 | case $TIC in |
5552 | case $TIC in |
5557 | [\\/]* | ?:[\\/]*) |
5553 | [\\/]* | ?:[\\/]*) |
5558 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
5554 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
… | |
… | |
5601 | if test "x$with_x" = xno; then |
5597 | if test "x$with_x" = xno; then |
5602 | # The user explicitly disabled X. |
5598 | # The user explicitly disabled X. |
5603 | have_x=disabled |
5599 | have_x=disabled |
5604 | else |
5600 | else |
5605 | case $x_includes,$x_libraries in #( |
5601 | case $x_includes,$x_libraries in #( |
5606 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
5602 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( |
5607 | *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
5603 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
5608 | $as_echo_n "(cached) " >&6 |
5604 | $as_echo_n "(cached) " >&6 |
5609 | else |
5605 | else |
5610 | # One or both of the vars are not set, and there is no cached value. |
5606 | # One or both of the vars are not set, and there is no cached value. |
5611 | ac_x_includes=no ac_x_libraries=no |
5607 | ac_x_includes=no ac_x_libraries=no |
5612 | rm -f -r conftest.dir |
5608 | rm -f -r conftest.dir |
… | |
… | |
5879 | if ac_fn_cxx_try_link "$LINENO"; then : |
5875 | if ac_fn_cxx_try_link "$LINENO"; then : |
5880 | |
5876 | |
5881 | else |
5877 | else |
5882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
5878 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
5883 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5879 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5884 | if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : |
5880 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : |
5885 | $as_echo_n "(cached) " >&6 |
5881 | $as_echo_n "(cached) " >&6 |
5886 | else |
5882 | else |
5887 | ac_check_lib_save_LIBS=$LIBS |
5883 | ac_check_lib_save_LIBS=$LIBS |
5888 | LIBS="-ldnet $LIBS" |
5884 | LIBS="-ldnet $LIBS" |
5889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5885 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5913 | conftest$ac_exeext conftest.$ac_ext |
5909 | conftest$ac_exeext conftest.$ac_ext |
5914 | LIBS=$ac_check_lib_save_LIBS |
5910 | LIBS=$ac_check_lib_save_LIBS |
5915 | fi |
5911 | fi |
5916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
5912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
5917 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5913 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5918 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : |
5914 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : |
5919 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5915 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5920 | fi |
5916 | fi |
5921 | |
5917 | |
5922 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5918 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 |
5919 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 |
5924 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5920 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5925 | if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : |
5921 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : |
5926 | $as_echo_n "(cached) " >&6 |
5922 | $as_echo_n "(cached) " >&6 |
5927 | else |
5923 | else |
5928 | ac_check_lib_save_LIBS=$LIBS |
5924 | ac_check_lib_save_LIBS=$LIBS |
5929 | LIBS="-ldnet_stub $LIBS" |
5925 | LIBS="-ldnet_stub $LIBS" |
5930 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5926 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5954 | conftest$ac_exeext conftest.$ac_ext |
5950 | conftest$ac_exeext conftest.$ac_ext |
5955 | LIBS=$ac_check_lib_save_LIBS |
5951 | LIBS=$ac_check_lib_save_LIBS |
5956 | fi |
5952 | fi |
5957 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
5953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
5958 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5954 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5959 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : |
5955 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : |
5960 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5956 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5961 | fi |
5957 | fi |
5962 | |
5958 | |
5963 | fi |
5959 | fi |
5964 | fi |
5960 | fi |
… | |
… | |
5973 | # The nsl library prevents programs from opening the X display |
5969 | # The nsl library prevents programs from opening the X display |
5974 | # on Irix 5.2, according to T.E. Dickey. |
5970 | # on Irix 5.2, according to T.E. Dickey. |
5975 | # The functions gethostbyname, getservbyname, and inet_addr are |
5971 | # The functions gethostbyname, getservbyname, and inet_addr are |
5976 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
5972 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
5977 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5973 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5978 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
5974 | if test "x$ac_cv_func_gethostbyname" = x""yes; then : |
5979 | |
5975 | |
5980 | fi |
5976 | fi |
5981 | |
5977 | |
5982 | if test $ac_cv_func_gethostbyname = no; then |
5978 | if test $ac_cv_func_gethostbyname = no; then |
5983 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5979 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5984 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5980 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5985 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
5981 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : |
5986 | $as_echo_n "(cached) " >&6 |
5982 | $as_echo_n "(cached) " >&6 |
5987 | else |
5983 | else |
5988 | ac_check_lib_save_LIBS=$LIBS |
5984 | ac_check_lib_save_LIBS=$LIBS |
5989 | LIBS="-lnsl $LIBS" |
5985 | LIBS="-lnsl $LIBS" |
5990 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5986 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6014 | conftest$ac_exeext conftest.$ac_ext |
6010 | conftest$ac_exeext conftest.$ac_ext |
6015 | LIBS=$ac_check_lib_save_LIBS |
6011 | LIBS=$ac_check_lib_save_LIBS |
6016 | fi |
6012 | fi |
6017 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
6013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
6018 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
6014 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
6019 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
6015 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : |
6020 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
6016 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
6021 | fi |
6017 | fi |
6022 | |
6018 | |
6023 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
6019 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
6024 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
6020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
6025 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
6021 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
6026 | if ${ac_cv_lib_bsd_gethostbyname+:} false; then : |
6022 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : |
6027 | $as_echo_n "(cached) " >&6 |
6023 | $as_echo_n "(cached) " >&6 |
6028 | else |
6024 | else |
6029 | ac_check_lib_save_LIBS=$LIBS |
6025 | ac_check_lib_save_LIBS=$LIBS |
6030 | LIBS="-lbsd $LIBS" |
6026 | LIBS="-lbsd $LIBS" |
6031 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6027 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6055 | conftest$ac_exeext conftest.$ac_ext |
6051 | conftest$ac_exeext conftest.$ac_ext |
6056 | LIBS=$ac_check_lib_save_LIBS |
6052 | LIBS=$ac_check_lib_save_LIBS |
6057 | fi |
6053 | fi |
6058 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
6054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
6059 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6055 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6060 | if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : |
6056 | if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : |
6061 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6057 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6062 | fi |
6058 | fi |
6063 | |
6059 | |
6064 | fi |
6060 | fi |
6065 | fi |
6061 | fi |
… | |
… | |
6070 | # on later versions), says Simon Leinen: it contains gethostby* |
6066 | # on later versions), says Simon Leinen: it contains gethostby* |
6071 | # variants that don't use the name server (or something). -lsocket |
6067 | # variants that don't use the name server (or something). -lsocket |
6072 | # must be given before -lnsl if both are needed. We assume that |
6068 | # must be given before -lnsl if both are needed. We assume that |
6073 | # if connect needs -lnsl, so does gethostbyname. |
6069 | # if connect needs -lnsl, so does gethostbyname. |
6074 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6070 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6075 | if test "x$ac_cv_func_connect" = xyes; then : |
6071 | if test "x$ac_cv_func_connect" = x""yes; then : |
6076 | |
6072 | |
6077 | fi |
6073 | fi |
6078 | |
6074 | |
6079 | if test $ac_cv_func_connect = no; then |
6075 | if test $ac_cv_func_connect = no; then |
6080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
6076 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
6081 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6077 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6082 | if ${ac_cv_lib_socket_connect+:} false; then : |
6078 | if test "${ac_cv_lib_socket_connect+set}" = set; then : |
6083 | $as_echo_n "(cached) " >&6 |
6079 | $as_echo_n "(cached) " >&6 |
6084 | else |
6080 | else |
6085 | ac_check_lib_save_LIBS=$LIBS |
6081 | ac_check_lib_save_LIBS=$LIBS |
6086 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6082 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6087 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6083 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6111 | conftest$ac_exeext conftest.$ac_ext |
6107 | conftest$ac_exeext conftest.$ac_ext |
6112 | LIBS=$ac_check_lib_save_LIBS |
6108 | LIBS=$ac_check_lib_save_LIBS |
6113 | fi |
6109 | fi |
6114 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
6110 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
6115 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6111 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6116 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
6112 | if test "x$ac_cv_lib_socket_connect" = x""yes; then : |
6117 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6113 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6118 | fi |
6114 | fi |
6119 | |
6115 | |
6120 | fi |
6116 | fi |
6121 | |
6117 | |
6122 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6118 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6123 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6119 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6124 | if test "x$ac_cv_func_remove" = xyes; then : |
6120 | if test "x$ac_cv_func_remove" = x""yes; then : |
6125 | |
6121 | |
6126 | fi |
6122 | fi |
6127 | |
6123 | |
6128 | if test $ac_cv_func_remove = no; then |
6124 | if test $ac_cv_func_remove = no; then |
6129 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
6125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
6130 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6126 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6131 | if ${ac_cv_lib_posix_remove+:} false; then : |
6127 | if test "${ac_cv_lib_posix_remove+set}" = set; then : |
6132 | $as_echo_n "(cached) " >&6 |
6128 | $as_echo_n "(cached) " >&6 |
6133 | else |
6129 | else |
6134 | ac_check_lib_save_LIBS=$LIBS |
6130 | ac_check_lib_save_LIBS=$LIBS |
6135 | LIBS="-lposix $LIBS" |
6131 | LIBS="-lposix $LIBS" |
6136 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6132 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6160 | conftest$ac_exeext conftest.$ac_ext |
6156 | conftest$ac_exeext conftest.$ac_ext |
6161 | LIBS=$ac_check_lib_save_LIBS |
6157 | LIBS=$ac_check_lib_save_LIBS |
6162 | fi |
6158 | fi |
6163 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
6159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
6164 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6160 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6165 | if test "x$ac_cv_lib_posix_remove" = xyes; then : |
6161 | if test "x$ac_cv_lib_posix_remove" = x""yes; then : |
6166 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6162 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6167 | fi |
6163 | fi |
6168 | |
6164 | |
6169 | fi |
6165 | fi |
6170 | |
6166 | |
6171 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6167 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6172 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6168 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6173 | if test "x$ac_cv_func_shmat" = xyes; then : |
6169 | if test "x$ac_cv_func_shmat" = x""yes; then : |
6174 | |
6170 | |
6175 | fi |
6171 | fi |
6176 | |
6172 | |
6177 | if test $ac_cv_func_shmat = no; then |
6173 | if test $ac_cv_func_shmat = no; then |
6178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
6174 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
6179 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6175 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6180 | if ${ac_cv_lib_ipc_shmat+:} false; then : |
6176 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then : |
6181 | $as_echo_n "(cached) " >&6 |
6177 | $as_echo_n "(cached) " >&6 |
6182 | else |
6178 | else |
6183 | ac_check_lib_save_LIBS=$LIBS |
6179 | ac_check_lib_save_LIBS=$LIBS |
6184 | LIBS="-lipc $LIBS" |
6180 | LIBS="-lipc $LIBS" |
6185 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6181 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6209 | conftest$ac_exeext conftest.$ac_ext |
6205 | conftest$ac_exeext conftest.$ac_ext |
6210 | LIBS=$ac_check_lib_save_LIBS |
6206 | LIBS=$ac_check_lib_save_LIBS |
6211 | fi |
6207 | fi |
6212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
6208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
6213 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6209 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6214 | if test "x$ac_cv_lib_ipc_shmat" = xyes; then : |
6210 | if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : |
6215 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6211 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6216 | fi |
6212 | fi |
6217 | |
6213 | |
6218 | fi |
6214 | fi |
6219 | fi |
6215 | fi |
… | |
… | |
6227 | # These have to be linked with before -lX11, unlike the other |
6223 | # These have to be linked with before -lX11, unlike the other |
6228 | # libraries we check for below, so use a different variable. |
6224 | # libraries we check for below, so use a different variable. |
6229 | # John Interrante, Karl Berry |
6225 | # John Interrante, Karl Berry |
6230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
6226 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
6231 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6227 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6232 | if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : |
6228 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : |
6233 | $as_echo_n "(cached) " >&6 |
6229 | $as_echo_n "(cached) " >&6 |
6234 | else |
6230 | else |
6235 | ac_check_lib_save_LIBS=$LIBS |
6231 | ac_check_lib_save_LIBS=$LIBS |
6236 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6232 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6237 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6233 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6261 | conftest$ac_exeext conftest.$ac_ext |
6257 | conftest$ac_exeext conftest.$ac_ext |
6262 | LIBS=$ac_check_lib_save_LIBS |
6258 | LIBS=$ac_check_lib_save_LIBS |
6263 | fi |
6259 | fi |
6264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6260 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6265 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6261 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6266 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : |
6262 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : |
6267 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6263 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6268 | fi |
6264 | fi |
6269 | |
6265 | |
6270 | LDFLAGS=$ac_save_LDFLAGS |
6266 | LDFLAGS=$ac_save_LDFLAGS |
6271 | |
6267 | |
… | |
… | |
6281 | support_pixbuf=no |
6277 | support_pixbuf=no |
6282 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6278 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6283 | set dummy pkg-config; ac_word=$2 |
6279 | set dummy pkg-config; ac_word=$2 |
6284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6280 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6285 | $as_echo_n "checking for $ac_word... " >&6; } |
6281 | $as_echo_n "checking for $ac_word... " >&6; } |
6286 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6282 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6287 | $as_echo_n "(cached) " >&6 |
6283 | $as_echo_n "(cached) " >&6 |
6288 | else |
6284 | else |
6289 | case $PKG_CONFIG in |
6285 | case $PKG_CONFIG in |
6290 | [\\/]* | ?:[\\/]*) |
6286 | [\\/]* | ?:[\\/]*) |
6291 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6287 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
6346 | fi |
6342 | fi |
6347 | |
6343 | |
6348 | |
6344 | |
6349 | |
6345 | |
6350 | |
6346 | |
|
|
6347 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6348 | STARTUP_NOTIFICATION_LIBS= |
|
|
6349 | |
|
|
6350 | if test x$support_startup_notification = xyes; then |
|
|
6351 | support_startup_notification=no |
|
|
6352 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
6353 | set dummy pkg-config; ac_word=$2 |
|
|
6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
6355 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
6356 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
|
|
6357 | $as_echo_n "(cached) " >&6 |
|
|
6358 | else |
|
|
6359 | case $PKG_CONFIG in |
|
|
6360 | [\\/]* | ?:[\\/]*) |
|
|
6361 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
6362 | ;; |
|
|
6363 | *) |
|
|
6364 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6365 | for as_dir in $PATH |
|
|
6366 | do |
|
|
6367 | IFS=$as_save_IFS |
|
|
6368 | test -z "$as_dir" && as_dir=. |
|
|
6369 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6370 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6371 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
6372 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6373 | break 2 |
|
|
6374 | fi |
|
|
6375 | done |
|
|
6376 | done |
|
|
6377 | IFS=$as_save_IFS |
|
|
6378 | |
|
|
6379 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
6380 | ;; |
|
|
6381 | esac |
|
|
6382 | fi |
|
|
6383 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
6384 | if test -n "$PKG_CONFIG"; then |
|
|
6385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
6386 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
6387 | else |
|
|
6388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6389 | $as_echo "no" >&6; } |
|
|
6390 | fi |
|
|
6391 | |
|
|
6392 | |
|
|
6393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
|
|
6394 | $as_echo_n "checking for libstartup-notification... " >&6; } |
|
|
6395 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
|
|
6396 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
|
|
6397 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
|
|
6398 | support_startup_notification=yes |
|
|
6399 | fi |
|
|
6400 | |
|
|
6401 | if test x$support_startup_notification = xyes; then |
|
|
6402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6403 | $as_echo "ok" >&6; } |
|
|
6404 | |
|
|
6405 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
|
|
6406 | |
|
|
6407 | else |
|
|
6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6409 | $as_echo "no" >&6; } |
|
|
6410 | fi |
|
|
6411 | fi |
|
|
6412 | |
|
|
6413 | |
|
|
6414 | |
|
|
6415 | |
6351 | AFTERIMAGE_CFLAGS= |
6416 | AFTERIMAGE_CFLAGS= |
6352 | AFTERIMAGE_LIBS= |
6417 | AFTERIMAGE_LIBS= |
6353 | AFTERIMAGE_VERSION= |
|
|
6354 | |
6418 | |
6355 | if test x$support_afterimage = xyes; then |
6419 | if test x$support_afterimage = xyes; then |
6356 | support_afterimage=no |
6420 | support_afterimage=no |
6357 | |
6421 | |
6358 | if test "x$afterimage_config" = "x" ; then |
6422 | if test "x$afterimage_config" = "x" ; then |
6359 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
6423 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
6360 | set dummy afterimage-config; ac_word=$2 |
6424 | set dummy afterimage-config; ac_word=$2 |
6361 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6425 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6362 | $as_echo_n "checking for $ac_word... " >&6; } |
6426 | $as_echo_n "checking for $ac_word... " >&6; } |
6363 | if ${ac_cv_path_afterimage_config+:} false; then : |
6427 | if test "${ac_cv_path_afterimage_config+set}" = set; then : |
6364 | $as_echo_n "(cached) " >&6 |
6428 | $as_echo_n "(cached) " >&6 |
6365 | else |
6429 | else |
6366 | case $afterimage_config in |
6430 | case $afterimage_config in |
6367 | [\\/]* | ?:[\\/]*) |
6431 | [\\/]* | ?:[\\/]*) |
6368 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
6432 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
… | |
… | |
6399 | |
6463 | |
6400 | fi |
6464 | fi |
6401 | if test "x$afterimage_config" != "xno" ; then |
6465 | if test "x$afterimage_config" != "xno" ; then |
6402 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 |
6466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 |
6403 | $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } |
6467 | $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } |
6404 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
6468 | AFTERIMAGE_VERSION=`$afterimage_config --version` |
6405 | if test -n "$xAFTERIMAGE_VERSION" ; then |
6469 | if test -n "$AFTERIMAGE_VERSION" ; then |
6406 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6470 | AFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6407 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
6471 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
6408 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
6472 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
6409 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
6473 | libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .` |
6410 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
6474 | libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .` |
6411 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
6475 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
6412 | support_afterimage=yes |
6476 | support_afterimage=yes |
6413 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
|
|
6414 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
|
|
6415 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
|
|
6416 | fi |
6477 | fi |
6417 | fi |
6478 | fi |
6418 | fi |
6479 | fi |
6419 | if test "x$support_afterimage" = "xyes"; then |
6480 | if test "x$support_afterimage" = "xyes"; then |
6420 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
6481 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
… | |
… | |
6427 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
6488 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
6428 | |
6489 | |
6429 | else |
6490 | else |
6430 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6431 | $as_echo "no" >&6; } |
6492 | $as_echo "no" >&6; } |
|
|
6493 | AFTERIMAGE_CFLAGS= |
|
|
6494 | AFTERIMAGE_LIBS= |
6432 | fi |
6495 | fi |
6433 | fi |
6496 | fi |
6434 | fi |
6497 | fi |
6435 | |
6498 | |
6436 | |
6499 | |
… | |
… | |
6441 | sys/ioctl.h \ |
6504 | sys/ioctl.h \ |
6442 | sys/sockio.h \ |
6505 | sys/sockio.h \ |
6443 | sys/strredir.h \ |
6506 | sys/strredir.h \ |
6444 | stdint.h \ |
6507 | stdint.h \ |
6445 | wchar.h \ |
6508 | wchar.h \ |
6446 | cwchar \ |
|
|
6447 | |
6509 | |
6448 | do : |
6510 | do : |
6449 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6511 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6450 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6512 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6451 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6513 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
… | |
… | |
6458 | done |
6520 | done |
6459 | |
6521 | |
6460 | |
6522 | |
6461 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
6523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
6462 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
6524 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
6463 | if ${rxvt_cv_xlib_illegal_access+:} false; then : |
6525 | if test "${rxvt_cv_xlib_illegal_access+set}" = set; then : |
6464 | $as_echo_n "(cached) " >&6 |
6526 | $as_echo_n "(cached) " >&6 |
6465 | else |
6527 | else |
6466 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6528 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6467 | /* end confdefs.h. */ |
6529 | /* end confdefs.h. */ |
6468 | |
6530 | |
… | |
… | |
6495 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
6557 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
6496 | |
6558 | |
6497 | fi |
6559 | fi |
6498 | |
6560 | |
6499 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
6561 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
6500 | if test "x$ac_cv_type_mode_t" = xyes; then : |
6562 | if test "x$ac_cv_type_mode_t" = x""yes; then : |
6501 | |
6563 | |
6502 | else |
6564 | else |
6503 | |
6565 | |
6504 | cat >>confdefs.h <<_ACEOF |
6566 | cat >>confdefs.h <<_ACEOF |
6505 | #define mode_t int |
6567 | #define mode_t int |
6506 | _ACEOF |
6568 | _ACEOF |
6507 | |
6569 | |
6508 | fi |
6570 | fi |
6509 | |
6571 | |
6510 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6572 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6511 | if test "x$ac_cv_type_pid_t" = xyes; then : |
6573 | if test "x$ac_cv_type_pid_t" = x""yes; then : |
6512 | |
6574 | |
6513 | else |
6575 | else |
6514 | |
6576 | |
6515 | cat >>confdefs.h <<_ACEOF |
6577 | cat >>confdefs.h <<_ACEOF |
6516 | #define pid_t int |
6578 | #define pid_t int |
… | |
… | |
6518 | |
6580 | |
6519 | fi |
6581 | fi |
6520 | |
6582 | |
6521 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
6583 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
6522 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
6584 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
6523 | if ${ac_cv_type_uid_t+:} false; then : |
6585 | if test "${ac_cv_type_uid_t+set}" = set; then : |
6524 | $as_echo_n "(cached) " >&6 |
6586 | $as_echo_n "(cached) " >&6 |
6525 | else |
6587 | else |
6526 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6588 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6527 | /* end confdefs.h. */ |
6589 | /* end confdefs.h. */ |
6528 | #include <sys/types.h> |
6590 | #include <sys/types.h> |
… | |
… | |
6598 | |
6660 | |
6599 | |
6661 | |
6600 | for ac_func in unsetenv |
6662 | for ac_func in unsetenv |
6601 | do : |
6663 | do : |
6602 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
6664 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
6603 | if test "x$ac_cv_func_unsetenv" = xyes; then : |
6665 | if test "x$ac_cv_func_unsetenv" = x""yes; then : |
6604 | cat >>confdefs.h <<_ACEOF |
6666 | cat >>confdefs.h <<_ACEOF |
6605 | #define HAVE_UNSETENV 1 |
6667 | #define HAVE_UNSETENV 1 |
6606 | _ACEOF |
6668 | _ACEOF |
6607 | |
6669 | |
6608 | fi |
6670 | fi |
… | |
… | |
6672 | |
6734 | |
6673 | |
6735 | |
6674 | for ac_header in lastlog.h |
6736 | for ac_header in lastlog.h |
6675 | do : |
6737 | do : |
6676 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
6738 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
6677 | if test "x$ac_cv_header_lastlog_h" = xyes; then : |
6739 | if test "x$ac_cv_header_lastlog_h" = x""yes; then : |
6678 | cat >>confdefs.h <<_ACEOF |
6740 | cat >>confdefs.h <<_ACEOF |
6679 | #define HAVE_LASTLOG_H 1 |
6741 | #define HAVE_LASTLOG_H 1 |
6680 | _ACEOF |
6742 | _ACEOF |
6681 | |
6743 | |
6682 | fi |
6744 | fi |
6683 | |
6745 | |
6684 | done |
6746 | done |
6685 | |
6747 | |
|
|
6748 | |
|
|
6749 | case $host in |
|
|
6750 | *-*-solaris*) |
|
|
6751 | |
|
|
6752 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6753 | |
|
|
6754 | ;; |
|
|
6755 | esac |
6686 | |
6756 | |
6687 | |
6757 | |
6688 | for ac_header in utmp.h |
6758 | for ac_header in utmp.h |
6689 | do : |
6759 | do : |
6690 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6760 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6691 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
6761 | if test "x$ac_cv_header_utmp_h" = x""yes; then : |
6692 | cat >>confdefs.h <<_ACEOF |
6762 | cat >>confdefs.h <<_ACEOF |
6693 | #define HAVE_UTMP_H 1 |
6763 | #define HAVE_UTMP_H 1 |
6694 | _ACEOF |
6764 | _ACEOF |
6695 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6765 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6696 | #include <sys/types.h> |
6766 | #include <sys/types.h> |
6697 | #include <utmp.h> |
6767 | #include <utmp.h> |
6698 | |
6768 | |
6699 | " |
6769 | " |
6700 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
6770 | if test "x$ac_cv_type_struct_utmp" = x""yes; then : |
6701 | |
6771 | |
6702 | cat >>confdefs.h <<_ACEOF |
6772 | cat >>confdefs.h <<_ACEOF |
6703 | #define HAVE_STRUCT_UTMP 1 |
6773 | #define HAVE_STRUCT_UTMP 1 |
6704 | _ACEOF |
6774 | _ACEOF |
6705 | |
6775 | |
… | |
… | |
6715 | ac_fn_cxx_check_member () |
6785 | ac_fn_cxx_check_member () |
6716 | { |
6786 | { |
6717 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6787 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6718 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
6788 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
6719 | $as_echo_n "checking for $2.$3... " >&6; } |
6789 | $as_echo_n "checking for $2.$3... " >&6; } |
6720 | if eval \${$4+:} false; then : |
6790 | if eval "test \"\${$4+set}\"" = set; then : |
6721 | $as_echo_n "(cached) " >&6 |
6791 | $as_echo_n "(cached) " >&6 |
6722 | else |
6792 | else |
6723 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6793 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6724 | /* end confdefs.h. */ |
6794 | /* end confdefs.h. */ |
6725 | $5 |
6795 | $5 |
… | |
… | |
6759 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6829 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6760 | fi |
6830 | fi |
6761 | eval ac_res=\$$4 |
6831 | eval ac_res=\$$4 |
6762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6763 | $as_echo "$ac_res" >&6; } |
6833 | $as_echo "$ac_res" >&6; } |
6764 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
6834 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
6765 | |
6835 | |
6766 | } # ac_fn_cxx_check_member |
6836 | } # ac_fn_cxx_check_member |
6767 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6837 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6768 | #include <sys/types.h> |
6838 | #include <sys/types.h> |
6769 | #include <utmp.h> |
6839 | #include <utmp.h> |
6770 | |
6840 | |
6771 | " |
6841 | " |
6772 | if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then : |
6842 | if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then : |
6773 | |
6843 | |
6774 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
6844 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
6775 | |
6845 | |
6776 | fi |
6846 | fi |
6777 | |
6847 | |
… | |
… | |
6779 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
6849 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
6780 | #include <sys/types.h> |
6850 | #include <sys/types.h> |
6781 | #include <utmp.h> |
6851 | #include <utmp.h> |
6782 | |
6852 | |
6783 | " |
6853 | " |
6784 | if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then : |
6854 | if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then : |
6785 | |
6855 | |
6786 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
6856 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
6787 | |
6857 | |
6788 | fi |
6858 | fi |
6789 | |
6859 | |
… | |
… | |
6794 | |
6864 | |
6795 | |
6865 | |
6796 | for ac_header in utmpx.h |
6866 | for ac_header in utmpx.h |
6797 | do : |
6867 | do : |
6798 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6868 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6799 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
6869 | if test "x$ac_cv_header_utmpx_h" = x""yes; then : |
6800 | cat >>confdefs.h <<_ACEOF |
6870 | cat >>confdefs.h <<_ACEOF |
6801 | #define HAVE_UTMPX_H 1 |
6871 | #define HAVE_UTMPX_H 1 |
6802 | _ACEOF |
6872 | _ACEOF |
6803 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6873 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6804 | #include <sys/types.h> |
6874 | #include <sys/types.h> |
6805 | #include <utmpx.h> |
6875 | #include <utmpx.h> |
6806 | |
6876 | |
6807 | " |
6877 | " |
6808 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
6878 | if test "x$ac_cv_type_struct_utmpx" = x""yes; then : |
6809 | |
6879 | |
6810 | cat >>confdefs.h <<_ACEOF |
6880 | cat >>confdefs.h <<_ACEOF |
6811 | #define HAVE_STRUCT_UTMPX 1 |
6881 | #define HAVE_STRUCT_UTMPX 1 |
6812 | _ACEOF |
6882 | _ACEOF |
6813 | |
6883 | |
… | |
… | |
6818 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
6888 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
6819 | #include <sys/types.h> |
6889 | #include <sys/types.h> |
6820 | #include <utmpx.h> |
6890 | #include <utmpx.h> |
6821 | |
6891 | |
6822 | " |
6892 | " |
6823 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
6893 | if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then : |
6824 | |
6894 | |
6825 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6895 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6826 | |
|
|
6827 | fi |
|
|
6828 | |
|
|
6829 | |
|
|
6830 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" " |
|
|
6831 | #include <sys/types.h> |
|
|
6832 | #include <utmpx.h> |
|
|
6833 | |
|
|
6834 | " |
|
|
6835 | if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then : |
|
|
6836 | |
|
|
6837 | $as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h |
|
|
6838 | |
6896 | |
6839 | fi |
6897 | fi |
6840 | |
6898 | |
6841 | |
6899 | |
6842 | fi |
6900 | fi |
… | |
… | |
6849 | #ifdef HAVE_LASTLOG_H |
6907 | #ifdef HAVE_LASTLOG_H |
6850 | #include <lastlog.h> |
6908 | #include <lastlog.h> |
6851 | #endif |
6909 | #endif |
6852 | |
6910 | |
6853 | " |
6911 | " |
6854 | if test "x$ac_cv_type_struct_lastlog" = xyes; then : |
6912 | if test "x$ac_cv_type_struct_lastlog" = x""yes; then : |
6855 | |
6913 | |
6856 | cat >>confdefs.h <<_ACEOF |
6914 | cat >>confdefs.h <<_ACEOF |
6857 | #define HAVE_STRUCT_LASTLOG 1 |
6915 | #define HAVE_STRUCT_LASTLOG 1 |
6858 | _ACEOF |
6916 | _ACEOF |
6859 | |
6917 | |
… | |
… | |
6867 | #ifdef HAVE_LASTLOG_H |
6925 | #ifdef HAVE_LASTLOG_H |
6868 | #include <lastlog.h> |
6926 | #include <lastlog.h> |
6869 | #endif |
6927 | #endif |
6870 | |
6928 | |
6871 | " |
6929 | " |
6872 | if test "x$ac_cv_type_struct_lastlogx" = xyes; then : |
6930 | if test "x$ac_cv_type_struct_lastlogx" = x""yes; then : |
6873 | |
6931 | |
6874 | cat >>confdefs.h <<_ACEOF |
6932 | cat >>confdefs.h <<_ACEOF |
6875 | #define HAVE_STRUCT_LASTLOGX 1 |
6933 | #define HAVE_STRUCT_LASTLOGX 1 |
6876 | _ACEOF |
6934 | _ACEOF |
6877 | |
6935 | |
6878 | |
6936 | |
6879 | fi |
6937 | fi |
6880 | |
6938 | |
6881 | |
6939 | |
6882 | |
6940 | |
6883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where utmp is located" >&5 |
6941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 |
6884 | $as_echo_n "checking where utmp is located... " >&6; } |
6942 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
6885 | if ${pt_cv_path_utmp+:} false; then : |
6943 | if test "${pt_cv_path_utmp+set}" = set; then : |
6886 | $as_echo_n "(cached) " >&6 |
6944 | $as_echo_n "(cached) " >&6 |
6887 | else |
6945 | else |
|
|
6946 | |
6888 | if test "$cross_compiling" = yes; then : |
6947 | if test "$cross_compiling" != yes; then |
6889 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define UTMP_FILE in config.h manually" >&5 |
|
|
6890 | $as_echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
|
|
6891 | else |
|
|
6892 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6893 | /* end confdefs.h. */ |
|
|
6894 | #include <stdio.h> |
|
|
6895 | #include <stdlib.h> |
|
|
6896 | #include <sys/stat.h> |
|
|
6897 | |
|
|
6898 | #include <sys/types.h> |
|
|
6899 | #include <utmp.h> |
|
|
6900 | |
|
|
6901 | int main() |
|
|
6902 | { |
|
|
6903 | char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; |
6948 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
6904 | FILE *f = fopen("conftestval", "w"); |
6949 | if test -f "$file"; then |
6905 | if (!f) return 1; |
|
|
6906 | #ifdef UTMP_FILE |
|
|
6907 | fprintf(f, "%s\n", UTMP_FILE); |
|
|
6908 | #elif defined(_PATH_UTMP) |
|
|
6909 | fprintf(f, "%s\n", _PATH_UTMP); |
|
|
6910 | #else |
|
|
6911 | for (path = list; *path; path++) { |
|
|
6912 | struct stat st; |
|
|
6913 | if (stat(*path, &st) == 0) { |
|
|
6914 | fprintf(f, "%s\n", *path); |
|
|
6915 | break; |
|
|
6916 | } |
|
|
6917 | } |
|
|
6918 | #endif |
|
|
6919 | return fclose(f) != 0; |
|
|
6920 | } |
|
|
6921 | _ACEOF |
|
|
6922 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
6923 | pt_cv_path_utmp=`cat conftestval` |
|
|
6924 | else |
|
|
6925 | pt_cv_path_utmp= |
6950 | pt_cv_path_utmp=$file |
|
|
6951 | break |
|
|
6952 | fi |
|
|
6953 | done |
6926 | fi |
6954 | fi |
6927 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
6928 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
6929 | fi |
|
|
6930 | |
|
|
6931 | fi |
6955 | fi |
6932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
6956 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
6933 | $as_echo "$pt_cv_path_utmp" >&6; } |
6957 | $as_echo "$pt_cv_path_utmp" >&6; } |
6934 | if test x$pt_cv_path_utmp != x; then |
6958 | if test x$pt_cv_path_utmp != x; then |
6935 | |
6959 | |
6936 | cat >>confdefs.h <<_ACEOF |
6960 | cat >>confdefs.h <<_ACEOF |
6937 | #define UTMP_FILE "$pt_cv_path_utmp" |
6961 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
6938 | _ACEOF |
6962 | _ACEOF |
6939 | |
6963 | |
|
|
6964 | elif test "$cross_compiling" = yes; then |
|
|
6965 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5 |
|
|
6966 | $as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} |
6940 | fi |
6967 | fi |
6941 | |
6968 | |
6942 | |
6969 | |
6943 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmp is located" >&5 |
6970 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 |
6944 | $as_echo_n "checking where wtmp is located... " >&6; } |
6971 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
6945 | if ${pt_cv_path_wtmp+:} false; then : |
6972 | if test "${pt_cv_path_wtmp+set}" = set; then : |
6946 | $as_echo_n "(cached) " >&6 |
6973 | $as_echo_n "(cached) " >&6 |
6947 | else |
6974 | else |
|
|
6975 | |
6948 | if test "$cross_compiling" = yes; then : |
6976 | if test "$cross_compiling" != yes; then |
6949 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMP_FILE in config.h manually" >&5 |
|
|
6950 | $as_echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
|
|
6951 | else |
|
|
6952 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6953 | /* end confdefs.h. */ |
|
|
6954 | #include <stdio.h> |
|
|
6955 | #include <stdlib.h> |
|
|
6956 | #include <sys/stat.h> |
|
|
6957 | |
|
|
6958 | #include <sys/types.h> |
|
|
6959 | #ifdef HAVE_UTMP_H |
|
|
6960 | #include <utmp.h> |
|
|
6961 | #endif |
|
|
6962 | |
|
|
6963 | int main() |
|
|
6964 | { |
|
|
6965 | char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; |
6977 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
6966 | FILE *f = fopen("conftestval", "w"); |
6978 | if test -f "$file"; then |
6967 | if (!f) return 1; |
|
|
6968 | #ifdef WTMP_FILE |
|
|
6969 | fprintf(f, "%s\n", WTMP_FILE); |
|
|
6970 | #elif defined(_PATH_WTMP) |
|
|
6971 | fprintf(f, "%s\n", _PATH_WTMP); |
|
|
6972 | #else |
|
|
6973 | for (path = list; *path; path++) { |
|
|
6974 | struct stat st; |
|
|
6975 | if (stat(*path, &st) == 0) { |
|
|
6976 | fprintf(f, "%s\n", *path); |
|
|
6977 | break; |
|
|
6978 | } |
|
|
6979 | } |
|
|
6980 | #endif |
|
|
6981 | return fclose(f) != 0; |
|
|
6982 | } |
|
|
6983 | _ACEOF |
|
|
6984 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
6985 | pt_cv_path_wtmp=`cat conftestval` |
|
|
6986 | else |
|
|
6987 | pt_cv_path_wtmp= |
6979 | pt_cv_path_wtmp=$file |
|
|
6980 | break |
|
|
6981 | fi |
|
|
6982 | done |
6988 | fi |
6983 | fi |
6989 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
6990 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
6991 | fi |
|
|
6992 | |
|
|
6993 | fi |
6984 | fi |
6994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
6985 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
6995 | $as_echo "$pt_cv_path_wtmp" >&6; } |
6986 | $as_echo "$pt_cv_path_wtmp" >&6; } |
6996 | if test x$pt_cv_path_wtmp != x; then |
6987 | if test x$pt_cv_path_wtmp != x; then |
6997 | |
6988 | |
6998 | cat >>confdefs.h <<_ACEOF |
6989 | cat >>confdefs.h <<_ACEOF |
6999 | #define WTMP_FILE "$pt_cv_path_wtmp" |
6990 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
7000 | _ACEOF |
6991 | _ACEOF |
7001 | |
6992 | |
|
|
6993 | elif test "$cross_compiling" = yes; then |
|
|
6994 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5 |
|
|
6995 | $as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} |
7002 | fi |
6996 | fi |
7003 | |
6997 | |
7004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmpx is located" >&5 |
6998 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 |
7005 | $as_echo_n "checking where wtmpx is located... " >&6; } |
6999 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
7006 | if ${pt_cv_path_wtmpx+:} false; then : |
7000 | if test "${pt_cv_path_wtmpx+set}" = set; then : |
7007 | $as_echo_n "(cached) " >&6 |
7001 | $as_echo_n "(cached) " >&6 |
7008 | else |
7002 | else |
|
|
7003 | |
7009 | if test "$cross_compiling" = yes; then : |
7004 | if test "$cross_compiling" != yes; then |
7010 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
7005 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
7011 | $as_echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
7006 | if test -f "$file"; then |
7012 | else |
|
|
7013 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7014 | /* end confdefs.h. */ |
|
|
7015 | #include <stdio.h> |
|
|
7016 | #include <stdlib.h> |
|
|
7017 | #include <sys/stat.h> |
|
|
7018 | |
|
|
7019 | #ifdef HAVE_UTMPX_H |
|
|
7020 | #include <utmpx.h> |
|
|
7021 | #endif |
|
|
7022 | |
|
|
7023 | int main() |
|
|
7024 | { |
|
|
7025 | char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; |
|
|
7026 | FILE *f = fopen("conftestval", "w"); |
|
|
7027 | if (!f) return 1; |
|
|
7028 | #ifdef WTMPX_FILE |
|
|
7029 | fprintf(f, "%s\n", WTMPX_FILE); |
|
|
7030 | #elif defined(_PATH_WTMPX) |
|
|
7031 | fprintf(f, "%s\n", _PATH_WTMPX); |
|
|
7032 | #else |
|
|
7033 | for (path = list; *path; path++) { |
|
|
7034 | struct stat st; |
|
|
7035 | if (stat(*path, &st) == 0) { |
|
|
7036 | fprintf(f, "%s\n", *path); |
|
|
7037 | break; |
|
|
7038 | } |
|
|
7039 | } |
|
|
7040 | #endif |
|
|
7041 | return fclose(f) != 0; |
|
|
7042 | } |
|
|
7043 | _ACEOF |
|
|
7044 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7045 | pt_cv_path_wtmpx=`cat conftestval` |
|
|
7046 | else |
|
|
7047 | pt_cv_path_wtmpx= |
7007 | pt_cv_path_wtmpx=$file |
|
|
7008 | break |
|
|
7009 | fi |
|
|
7010 | done |
7048 | fi |
7011 | fi |
7049 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7050 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7051 | fi |
|
|
7052 | |
|
|
7053 | fi |
7012 | fi |
7054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
7013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
7055 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
7014 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
7056 | if test x$pt_cv_path_wtmpx != x; then |
7015 | if test x$pt_cv_path_wtmpx != x; then |
7057 | |
7016 | |
7058 | cat >>confdefs.h <<_ACEOF |
7017 | cat >>confdefs.h <<_ACEOF |
7059 | #define WTMPX_FILE "$pt_cv_path_wtmpx" |
7018 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
7060 | _ACEOF |
7019 | _ACEOF |
7061 | |
7020 | |
|
|
7021 | elif test "$cross_compiling" = yes; then |
|
|
7022 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5 |
|
|
7023 | $as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} |
7062 | fi |
7024 | fi |
7063 | |
7025 | |
7064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlog is located" >&5 |
7026 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 |
7065 | $as_echo_n "checking where lastlog is located... " >&6; } |
7027 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
7066 | if ${pt_cv_path_lastlog+:} false; then : |
7028 | if test "${pt_cv_path_lastlog+set}" = set; then : |
7067 | $as_echo_n "(cached) " >&6 |
7029 | $as_echo_n "(cached) " >&6 |
7068 | else |
7030 | else |
|
|
7031 | |
7069 | if test "$cross_compiling" = yes; then : |
7032 | if test "$cross_compiling" != yes; then |
7070 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
7033 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
7071 | $as_echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
7034 | if test -f "$file"; then |
7072 | else |
|
|
7073 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7074 | /* end confdefs.h. */ |
|
|
7075 | #include <stdio.h> |
|
|
7076 | #include <stdlib.h> |
|
|
7077 | #include <sys/stat.h> |
|
|
7078 | |
|
|
7079 | #include <sys/types.h> |
|
|
7080 | #ifdef HAVE_UTMP_H |
|
|
7081 | #include <utmp.h> |
|
|
7082 | #endif |
|
|
7083 | #ifdef HAVE_LASTLOG_H |
|
|
7084 | #include <lastlog.h> |
|
|
7085 | #endif |
|
|
7086 | |
|
|
7087 | int main() |
|
|
7088 | { |
|
|
7089 | char **path, *list[] = { "/var/log/lastlog", NULL }; |
|
|
7090 | FILE *f = fopen("conftestval", "w"); |
|
|
7091 | if (!f) return 1; |
|
|
7092 | #ifdef LASTLOG_FILE |
|
|
7093 | fprintf(f, "%s\n", LASTLOG_FILE); |
|
|
7094 | #elif defined(_PATH_LASTLOG) |
|
|
7095 | fprintf(f, "%s\n", _PATH_LASTLOG); |
|
|
7096 | #else |
|
|
7097 | for (path = list; *path; path++) { |
|
|
7098 | struct stat st; |
|
|
7099 | if (stat(*path, &st) == 0) { |
|
|
7100 | fprintf(f, "%s\n", *path); |
|
|
7101 | break; |
|
|
7102 | } |
|
|
7103 | } |
|
|
7104 | #endif |
|
|
7105 | return fclose(f) != 0; |
|
|
7106 | } |
|
|
7107 | _ACEOF |
|
|
7108 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7109 | pt_cv_path_lastlog=`cat conftestval` |
|
|
7110 | else |
|
|
7111 | pt_cv_path_lastlog= |
7035 | pt_cv_path_lastlog=$file |
|
|
7036 | break |
|
|
7037 | fi |
|
|
7038 | done |
7112 | fi |
7039 | fi |
7113 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7114 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7115 | fi |
|
|
7116 | |
|
|
7117 | fi |
7040 | fi |
7118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
7041 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
7119 | $as_echo "$pt_cv_path_lastlog" >&6; } |
7042 | $as_echo "$pt_cv_path_lastlog" >&6; } |
7120 | if test x$pt_cv_path_lastlog != x; then |
7043 | if test x$pt_cv_path_lastlog != x; then |
7121 | |
7044 | |
7122 | cat >>confdefs.h <<_ACEOF |
7045 | cat >>confdefs.h <<_ACEOF |
7123 | #define LASTLOG_FILE "$pt_cv_path_lastlog" |
7046 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
7124 | _ACEOF |
7047 | _ACEOF |
7125 | |
7048 | |
|
|
7049 | elif test "$cross_compiling" = yes; then |
|
|
7050 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5 |
|
|
7051 | $as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} |
7126 | fi |
7052 | fi |
7127 | |
7053 | |
7128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlogx is located" >&5 |
7054 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 |
7129 | $as_echo_n "checking where lastlogx is located... " >&6; } |
7055 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
7130 | if ${pt_cv_path_lastlogx+:} false; then : |
7056 | if test "${pt_cv_path_lastlogx+set}" = set; then : |
7131 | $as_echo_n "(cached) " >&6 |
7057 | $as_echo_n "(cached) " >&6 |
7132 | else |
7058 | else |
|
|
7059 | |
7133 | if test "$cross_compiling" = yes; then : |
7060 | if test "$cross_compiling" != yes; then |
7134 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
7061 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
7135 | $as_echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
7062 | if test -f "$file"; then |
7136 | else |
|
|
7137 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7138 | /* end confdefs.h. */ |
|
|
7139 | #include <stdio.h> |
|
|
7140 | #include <stdlib.h> |
|
|
7141 | #include <sys/stat.h> |
|
|
7142 | |
|
|
7143 | #ifdef HAVE_UTMPX_H |
|
|
7144 | #include <utmpx.h> |
|
|
7145 | #endif |
|
|
7146 | |
|
|
7147 | int main() |
|
|
7148 | { |
|
|
7149 | char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL }; |
|
|
7150 | FILE *f = fopen("conftestval", "w"); |
|
|
7151 | if (!f) return 1; |
|
|
7152 | #ifdef LASTLOGX_FILE |
|
|
7153 | fprintf(f, "%s\n", LASTLOGX_FILE); |
|
|
7154 | #elif defined(_PATH_LASTLOGX) |
|
|
7155 | fprintf(f, "%s\n", _PATH_LASTLOGX); |
|
|
7156 | #else |
|
|
7157 | for (path = list; *path; path++) { |
|
|
7158 | struct stat st; |
|
|
7159 | if (stat(*path, &st) == 0) { |
|
|
7160 | fprintf(f, "%s\n", *path); |
|
|
7161 | break; |
|
|
7162 | } |
|
|
7163 | } |
|
|
7164 | #endif |
|
|
7165 | return fclose(f) != 0; |
|
|
7166 | } |
|
|
7167 | _ACEOF |
|
|
7168 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7169 | pt_cv_path_lastlogx=`cat conftestval` |
|
|
7170 | else |
|
|
7171 | pt_cv_path_lastlogx= |
7063 | pt_cv_path_lastlogx=$file |
|
|
7064 | break |
|
|
7065 | fi |
|
|
7066 | done |
7172 | fi |
7067 | fi |
7173 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7174 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7175 | fi |
|
|
7176 | |
|
|
7177 | fi |
7068 | fi |
7178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
7069 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
7179 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
7070 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
7180 | if test x$pt_cv_path_lastlogx != x; then |
7071 | if test x$pt_cv_path_lastlogx != x; then |
7181 | |
7072 | |
7182 | cat >>confdefs.h <<_ACEOF |
7073 | cat >>confdefs.h <<_ACEOF |
7183 | #define LASTLOGX_FILE "$pt_cv_path_lastlogx" |
7074 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
7184 | _ACEOF |
7075 | _ACEOF |
7185 | |
7076 | |
|
|
7077 | elif test "$cross_compiling" = yes; then |
|
|
7078 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
7079 | $as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;} |
7186 | fi |
7080 | fi |
7187 | |
7081 | |
7188 | |
7082 | |
7189 | |
7083 | |
7190 | |
7084 | |
… | |
… | |
7193 | CFLAGS="$CFLAGS $X_CFLAGS" |
7087 | CFLAGS="$CFLAGS $X_CFLAGS" |
7194 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7088 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7195 | if test x$support_xim = xyes; then |
7089 | if test x$support_xim = xyes; then |
7196 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7197 | $as_echo_n "checking for working Xlocale... " >&6; } |
7091 | $as_echo_n "checking for working Xlocale... " >&6; } |
7198 | if ${rxvt_cv_func_xlocale+:} false; then : |
7092 | if test "${rxvt_cv_func_xlocale+set}" = set; then : |
7199 | $as_echo_n "(cached) " >&6 |
7093 | $as_echo_n "(cached) " >&6 |
7200 | else |
7094 | else |
7201 | if test "$cross_compiling" = yes; then : |
7095 | if test "$cross_compiling" = yes; then : |
7202 | : |
7096 | : |
7203 | else |
7097 | else |
… | |
… | |
7231 | |
7125 | |
7232 | $as_echo "#define USE_XIM 1" >>confdefs.h |
7126 | $as_echo "#define USE_XIM 1" >>confdefs.h |
7233 | |
7127 | |
7234 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
7128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
7235 | $as_echo_n "checking for broken XIM callback... " >&6; } |
7129 | $as_echo_n "checking for broken XIM callback... " >&6; } |
7236 | if ${rxvt_cv_broken_ximcb+:} false; then : |
7130 | if test "${rxvt_cv_broken_ximcb+set}" = set; then : |
7237 | $as_echo_n "(cached) " >&6 |
7131 | $as_echo_n "(cached) " >&6 |
7238 | else |
7132 | else |
7239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7133 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7240 | /* end confdefs.h. */ |
7134 | /* end confdefs.h. */ |
7241 | |
7135 | |
… | |
… | |
7267 | fi |
7161 | fi |
7268 | fi |
7162 | fi |
7269 | |
7163 | |
7270 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
7164 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
7271 | $as_echo_n "checking for working X setlocale... " >&6; } |
7165 | $as_echo_n "checking for working X setlocale... " >&6; } |
7272 | if ${rxvt_cv_func_xsetlocale+:} false; then : |
7166 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then : |
7273 | $as_echo_n "(cached) " >&6 |
7167 | $as_echo_n "(cached) " >&6 |
7274 | else |
7168 | else |
7275 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7169 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7276 | /* end confdefs.h. */ |
7170 | /* end confdefs.h. */ |
7277 | #define X_LOCALE 1 |
7171 | #define X_LOCALE 1 |
… | |
… | |
7300 | |
7194 | |
7301 | fi |
7195 | fi |
7302 | LIBS=$save_LIBS |
7196 | LIBS=$save_LIBS |
7303 | CFLAGS=$save_CFLAGS |
7197 | CFLAGS=$save_CFLAGS |
7304 | |
7198 | |
7305 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 |
|
|
7306 | $as_echo_n "checking for working plain setlocale... " >&6; } |
|
|
7307 | if ${rxvt_cv_func_setlocale+:} false; then : |
|
|
7308 | $as_echo_n "(cached) " >&6 |
|
|
7309 | else |
|
|
7310 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7311 | /* end confdefs.h. */ |
|
|
7312 | #include <clocale> |
|
|
7313 | int |
|
|
7314 | main () |
|
|
7315 | { |
|
|
7316 | setlocale(LC_CTYPE, ""); |
|
|
7317 | ; |
|
|
7318 | return 0; |
|
|
7319 | } |
|
|
7320 | _ACEOF |
|
|
7321 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7322 | rxvt_cv_func_setlocale=yes |
|
|
7323 | else |
|
|
7324 | rxvt_cv_func_setlocale=no |
|
|
7325 | fi |
|
|
7326 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7327 | conftest$ac_exeext conftest.$ac_ext |
|
|
7328 | fi |
|
|
7329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5 |
|
|
7330 | $as_echo "$rxvt_cv_func_setlocale" >&6; } |
|
|
7331 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
7332 | |
|
|
7333 | $as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h |
|
|
7334 | |
|
|
7335 | fi |
|
|
7336 | |
|
|
7337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7338 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7200 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7339 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7201 | if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : |
7340 | $as_echo_n "(cached) " >&6 |
7202 | $as_echo_n "(cached) " >&6 |
7341 | else |
7203 | else |
7342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7343 | /* end confdefs.h. */ |
7205 | /* end confdefs.h. */ |
7344 | #include <langinfo.h> |
7206 | #include <langinfo.h> |
… | |
… | |
7365 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7227 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7366 | |
7228 | |
7367 | fi |
7229 | fi |
7368 | |
7230 | |
7369 | |
7231 | |
|
|
7232 | case $host in |
|
|
7233 | *-*-solaris*) |
|
|
7234 | |
|
|
7235 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
7236 | |
|
|
7237 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
|
|
7238 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
|
|
7239 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7240 | $as_echo_n "(cached) " >&6 |
|
|
7241 | else |
|
|
7242 | ac_func_search_save_LIBS=$LIBS |
|
|
7243 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7244 | /* end confdefs.h. */ |
|
|
7245 | |
|
|
7246 | /* Override any GCC internal prototype to avoid an error. |
|
|
7247 | Use char because int might match the return type of a GCC |
|
|
7248 | builtin and then its argument prototype would still apply. */ |
|
|
7249 | #ifdef __cplusplus |
|
|
7250 | extern "C" |
|
|
7251 | #endif |
|
|
7252 | char sendmsg (); |
|
|
7253 | int |
|
|
7254 | main () |
|
|
7255 | { |
|
|
7256 | return sendmsg (); |
|
|
7257 | ; |
|
|
7258 | return 0; |
|
|
7259 | } |
|
|
7260 | _ACEOF |
|
|
7261 | for ac_lib in '' socket; do |
|
|
7262 | if test -z "$ac_lib"; then |
|
|
7263 | ac_res="none required" |
|
|
7264 | else |
|
|
7265 | ac_res=-l$ac_lib |
|
|
7266 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7267 | fi |
|
|
7268 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7269 | ac_cv_search_sendmsg=$ac_res |
|
|
7270 | fi |
|
|
7271 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7272 | conftest$ac_exeext |
|
|
7273 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7274 | break |
|
|
7275 | fi |
|
|
7276 | done |
|
|
7277 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7278 | |
|
|
7279 | else |
|
|
7280 | ac_cv_search_sendmsg=no |
|
|
7281 | fi |
|
|
7282 | rm conftest.$ac_ext |
|
|
7283 | LIBS=$ac_func_search_save_LIBS |
|
|
7284 | fi |
|
|
7285 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 |
|
|
7286 | $as_echo "$ac_cv_search_sendmsg" >&6; } |
|
|
7287 | ac_res=$ac_cv_search_sendmsg |
|
|
7288 | if test "$ac_res" != no; then : |
|
|
7289 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7290 | |
|
|
7291 | fi |
|
|
7292 | |
|
|
7293 | ;; |
|
|
7294 | esac |
|
|
7295 | |
7370 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7371 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7297 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7372 | if ${pt_cv_can_pass_fds+:} false; then : |
7298 | if test "${pt_cv_can_pass_fds+set}" = set; then : |
7373 | $as_echo_n "(cached) " >&6 |
7299 | $as_echo_n "(cached) " >&6 |
7374 | else |
7300 | else |
7375 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7301 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7376 | /* end confdefs.h. */ |
7302 | /* end confdefs.h. */ |
7377 | |
7303 | |
7378 | #include <cstddef> // broken bsds (is that redundant?) need this |
7304 | #include <stddef.h> // broken bsds (is that redundant?) need this |
7379 | #include <sys/types.h> |
7305 | #include <sys/types.h> |
7380 | #include <sys/socket.h> |
7306 | #include <sys/socket.h> |
7381 | #include <sys/uio.h> |
7307 | #include <sys/uio.h> |
7382 | |
7308 | |
7383 | int |
7309 | int |
… | |
… | |
7435 | for ac_header in \ |
7361 | for ac_header in \ |
7436 | pty.h \ |
7362 | pty.h \ |
7437 | util.h \ |
7363 | util.h \ |
7438 | libutil.h \ |
7364 | libutil.h \ |
7439 | sys/ioctl.h \ |
7365 | sys/ioctl.h \ |
7440 | sys/stropts.h \ |
|
|
7441 | stropts.h \ |
7366 | stropts.h \ |
7442 | |
7367 | |
7443 | do : |
7368 | do : |
7444 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7369 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7445 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7370 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
… | |
… | |
7474 | |
7399 | |
7475 | fi |
7400 | fi |
7476 | done |
7401 | done |
7477 | |
7402 | |
7478 | |
7403 | |
7479 | have_clone=no |
|
|
7480 | |
|
|
7481 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5 |
|
|
7482 | $as_echo_n "checking for /dev/ptc... " >&6; } |
|
|
7483 | if test -e /dev/ptc; then |
|
|
7484 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
7485 | $as_echo "yes" >&6; } |
|
|
7486 | |
|
|
7487 | $as_echo "#define CLONE_DEVICE \"/dev/ptc\"" >>confdefs.h |
|
|
7488 | |
|
|
7489 | have_clone=yes |
|
|
7490 | else |
|
|
7491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7492 | $as_echo "no" >&6; } |
|
|
7493 | fi |
|
|
7494 | |
|
|
7495 | case $host in |
|
|
7496 | *-*-cygwin*) |
|
|
7497 | have_clone=yes |
|
|
7498 | |
|
|
7499 | $as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h |
|
|
7500 | |
|
|
7501 | ;; |
|
|
7502 | *) |
|
|
7503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5 |
|
|
7504 | $as_echo_n "checking for /dev/ptmx... " >&6; } |
|
|
7505 | if test -e /dev/ptmx; then |
|
|
7506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
7507 | $as_echo "yes" >&6; } |
|
|
7508 | |
|
|
7509 | $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h |
|
|
7510 | |
|
|
7511 | |
|
|
7512 | $as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h |
|
|
7513 | |
|
|
7514 | have_clone=yes |
|
|
7515 | else |
|
|
7516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7517 | $as_echo "no" >&6; } |
|
|
7518 | fi |
|
|
7519 | ;; |
|
|
7520 | esac |
|
|
7521 | |
|
|
7522 | if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then |
|
|
7523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7404 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7524 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7405 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7406 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7526 | /* end confdefs.h. */ |
7407 | /* end confdefs.h. */ |
7527 | #include <stdlib.h> |
7408 | #include <stdlib.h> |
7528 | int |
7409 | int |
7529 | main () |
7410 | main () |
7530 | { |
7411 | { |
… | |
… | |
7536 | if ac_fn_cxx_try_link "$LINENO"; then : |
7417 | if ac_fn_cxx_try_link "$LINENO"; then : |
7537 | unix98_pty=yes |
7418 | unix98_pty=yes |
7538 | |
7419 | |
7539 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7420 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7540 | |
7421 | |
7541 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7542 | $as_echo "yes" >&6; } |
7423 | $as_echo "yes" >&6; } |
7543 | else |
7424 | else |
7544 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7545 | $as_echo "no" >&6; } |
7426 | $as_echo "no" >&6; } |
7546 | fi |
7427 | fi |
7547 | rm -f core conftest.err conftest.$ac_objext \ |
7428 | rm -f core conftest.err conftest.$ac_objext \ |
7548 | conftest$ac_exeext conftest.$ac_ext |
7429 | conftest$ac_exeext conftest.$ac_ext |
7549 | fi |
|
|
7550 | |
7430 | |
7551 | if test -z "$unix98_pty"; then |
7431 | if test -z "$unix98_pty"; then |
7552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
7432 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
7553 | $as_echo_n "checking for library containing openpty... " >&6; } |
7433 | $as_echo_n "checking for library containing openpty... " >&6; } |
7554 | if ${ac_cv_search_openpty+:} false; then : |
7434 | if test "${ac_cv_search_openpty+set}" = set; then : |
7555 | $as_echo_n "(cached) " >&6 |
7435 | $as_echo_n "(cached) " >&6 |
7556 | else |
7436 | else |
7557 | ac_func_search_save_LIBS=$LIBS |
7437 | ac_func_search_save_LIBS=$LIBS |
7558 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7438 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7559 | /* end confdefs.h. */ |
7439 | /* end confdefs.h. */ |
… | |
… | |
7583 | if ac_fn_cxx_try_link "$LINENO"; then : |
7463 | if ac_fn_cxx_try_link "$LINENO"; then : |
7584 | ac_cv_search_openpty=$ac_res |
7464 | ac_cv_search_openpty=$ac_res |
7585 | fi |
7465 | fi |
7586 | rm -f core conftest.err conftest.$ac_objext \ |
7466 | rm -f core conftest.err conftest.$ac_objext \ |
7587 | conftest$ac_exeext |
7467 | conftest$ac_exeext |
7588 | if ${ac_cv_search_openpty+:} false; then : |
7468 | if test "${ac_cv_search_openpty+set}" = set; then : |
7589 | break |
7469 | break |
7590 | fi |
7470 | fi |
7591 | done |
7471 | done |
7592 | if ${ac_cv_search_openpty+:} false; then : |
7472 | if test "${ac_cv_search_openpty+set}" = set; then : |
7593 | |
7473 | |
7594 | else |
7474 | else |
7595 | ac_cv_search_openpty=no |
7475 | ac_cv_search_openpty=no |
7596 | fi |
7476 | fi |
7597 | rm conftest.$ac_ext |
7477 | rm conftest.$ac_ext |
… | |
… | |
7611 | |
7491 | |
7612 | |
7492 | |
7613 | |
7493 | |
7614 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
7494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
7615 | $as_echo_n "checking for tty group... " >&6; } |
7495 | $as_echo_n "checking for tty group... " >&6; } |
7616 | if ${pt_cv_tty_group+:} false; then : |
7496 | if test "${pt_cv_tty_group+set}" = set; then : |
7617 | $as_echo_n "(cached) " >&6 |
7497 | $as_echo_n "(cached) " >&6 |
7618 | else |
7498 | else |
7619 | if test "$cross_compiling" = yes; then : |
7499 | if test "$cross_compiling" = yes; then : |
7620 | pt_cv_tty_group=no |
7500 | pt_cv_tty_group=no |
7621 | else |
7501 | else |
… | |
… | |
7665 | rxvt_have_xrender=no |
7545 | rxvt_have_xrender=no |
7666 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7546 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7667 | set dummy pkg-config; ac_word=$2 |
7547 | set dummy pkg-config; ac_word=$2 |
7668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7548 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7669 | $as_echo_n "checking for $ac_word... " >&6; } |
7549 | $as_echo_n "checking for $ac_word... " >&6; } |
7670 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7550 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7671 | $as_echo_n "(cached) " >&6 |
7551 | $as_echo_n "(cached) " >&6 |
7672 | else |
7552 | else |
7673 | case $PKG_CONFIG in |
7553 | case $PKG_CONFIG in |
7674 | [\\/]* | ?:[\\/]*) |
7554 | [\\/]* | ?:[\\/]*) |
7675 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7555 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7710 | rxvt_have_xrender=yes |
7590 | rxvt_have_xrender=yes |
7711 | |
7591 | |
7712 | save_LIBS="$LIBS" |
7592 | save_LIBS="$LIBS" |
7713 | LIBS="$LIBS $X_LIBS" |
7593 | LIBS="$LIBS $X_LIBS" |
7714 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7594 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7715 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then : |
7595 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
7716 | |
7596 | |
7717 | else |
7597 | else |
7718 | rxvt_have_xrender=no |
7598 | rxvt_have_xrender=no |
7719 | fi |
7599 | fi |
7720 | |
7600 | |
7721 | |
7601 | |
7722 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
7602 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
7723 | if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then : |
7603 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
7724 | |
7604 | |
7725 | else |
7605 | else |
7726 | rxvt_have_xrender=no |
7606 | rxvt_have_xrender=no |
7727 | fi |
7607 | fi |
7728 | |
7608 | |
… | |
… | |
7733 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7613 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7734 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7614 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7735 | set dummy pkg-config; ac_word=$2 |
7615 | set dummy pkg-config; ac_word=$2 |
7736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7737 | $as_echo_n "checking for $ac_word... " >&6; } |
7617 | $as_echo_n "checking for $ac_word... " >&6; } |
7738 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7618 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7739 | $as_echo_n "(cached) " >&6 |
7619 | $as_echo_n "(cached) " >&6 |
7740 | else |
7620 | else |
7741 | case $PKG_CONFIG in |
7621 | case $PKG_CONFIG in |
7742 | [\\/]* | ?:[\\/]*) |
7622 | [\\/]* | ?:[\\/]*) |
7743 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7623 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7778 | else |
7658 | else |
7779 | # Extract the first word of "xft-config", so it can be a program name with args. |
7659 | # Extract the first word of "xft-config", so it can be a program name with args. |
7780 | set dummy xft-config; ac_word=$2 |
7660 | set dummy xft-config; ac_word=$2 |
7781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7782 | $as_echo_n "checking for $ac_word... " >&6; } |
7662 | $as_echo_n "checking for $ac_word... " >&6; } |
7783 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
7663 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then : |
7784 | $as_echo_n "(cached) " >&6 |
7664 | $as_echo_n "(cached) " >&6 |
7785 | else |
7665 | else |
7786 | case $XFT_CONFIG in |
7666 | case $XFT_CONFIG in |
7787 | [\\/]* | ?:[\\/]*) |
7667 | [\\/]* | ?:[\\/]*) |
7788 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
7668 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7831 | save_LIBS="$LIBS" |
7711 | save_LIBS="$LIBS" |
7832 | LIBS="$LIBS $X_LIBS" |
7712 | LIBS="$LIBS $X_LIBS" |
7833 | for ac_header in X11/Xft/Xft.h |
7713 | for ac_header in X11/Xft/Xft.h |
7834 | do : |
7714 | do : |
7835 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7715 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7836 | if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : |
7716 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : |
7837 | cat >>confdefs.h <<_ACEOF |
7717 | cat >>confdefs.h <<_ACEOF |
7838 | #define HAVE_X11_XFT_XFT_H 1 |
7718 | #define HAVE_X11_XFT_XFT_H 1 |
7839 | _ACEOF |
7719 | _ACEOF |
7840 | |
7720 | |
7841 | else |
7721 | else |
… | |
… | |
7844 | |
7724 | |
7845 | done |
7725 | done |
7846 | |
7726 | |
7847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7727 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7848 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7728 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7849 | if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : |
7729 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then : |
7850 | $as_echo_n "(cached) " >&6 |
7730 | $as_echo_n "(cached) " >&6 |
7851 | else |
7731 | else |
7852 | ac_check_lib_save_LIBS=$LIBS |
7732 | ac_check_lib_save_LIBS=$LIBS |
7853 | LIBS="-lXft $LIBS" |
7733 | LIBS="-lXft $LIBS" |
7854 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7734 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7878 | conftest$ac_exeext conftest.$ac_ext |
7758 | conftest$ac_exeext conftest.$ac_ext |
7879 | LIBS=$ac_check_lib_save_LIBS |
7759 | LIBS=$ac_check_lib_save_LIBS |
7880 | fi |
7760 | fi |
7881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
7761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
7882 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
7762 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
7883 | if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : |
7763 | if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then : |
7884 | : |
7764 | : |
7885 | else |
7765 | else |
7886 | support_xft=no |
7766 | support_xft=no |
7887 | fi |
7767 | fi |
7888 | |
7768 | |
7889 | for ac_header in fontconfig/fontconfig.h |
7769 | for ac_header in fontconfig/fontconfig.h |
7890 | do : |
7770 | do : |
7891 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
7771 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
7892 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : |
7772 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then : |
7893 | cat >>confdefs.h <<_ACEOF |
7773 | cat >>confdefs.h <<_ACEOF |
7894 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
7774 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
7895 | _ACEOF |
7775 | _ACEOF |
7896 | |
7776 | |
7897 | else |
7777 | else |
… | |
… | |
7900 | |
7780 | |
7901 | done |
7781 | done |
7902 | |
7782 | |
7903 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
7783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
7904 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
7784 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
7905 | if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : |
7785 | if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then : |
7906 | $as_echo_n "(cached) " >&6 |
7786 | $as_echo_n "(cached) " >&6 |
7907 | else |
7787 | else |
7908 | ac_check_lib_save_LIBS=$LIBS |
7788 | ac_check_lib_save_LIBS=$LIBS |
7909 | LIBS="-lfontconfig $LIBS" |
7789 | LIBS="-lfontconfig $LIBS" |
7910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7790 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7934 | conftest$ac_exeext conftest.$ac_ext |
7814 | conftest$ac_exeext conftest.$ac_ext |
7935 | LIBS=$ac_check_lib_save_LIBS |
7815 | LIBS=$ac_check_lib_save_LIBS |
7936 | fi |
7816 | fi |
7937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
7817 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
7938 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
7818 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
7939 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : |
7819 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then : |
7940 | : |
7820 | : |
7941 | else |
7821 | else |
7942 | support_xft=no |
7822 | support_xft=no |
7943 | fi |
7823 | fi |
7944 | |
7824 | |
… | |
… | |
8083 | if test x$support_perl = xyes; then |
7963 | if test x$support_perl = xyes; then |
8084 | # Extract the first word of "perl5", so it can be a program name with args. |
7964 | # Extract the first word of "perl5", so it can be a program name with args. |
8085 | set dummy perl5; ac_word=$2 |
7965 | set dummy perl5; ac_word=$2 |
8086 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7966 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8087 | $as_echo_n "checking for $ac_word... " >&6; } |
7967 | $as_echo_n "checking for $ac_word... " >&6; } |
8088 | if ${ac_cv_path_PERL+:} false; then : |
7968 | if test "${ac_cv_path_PERL+set}" = set; then : |
8089 | $as_echo_n "(cached) " >&6 |
7969 | $as_echo_n "(cached) " >&6 |
8090 | else |
7970 | else |
8091 | case $PERL in |
7971 | case $PERL in |
8092 | [\\/]* | ?:[\\/]*) |
7972 | [\\/]* | ?:[\\/]*) |
8093 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
7973 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
… | |
… | |
8123 | |
8003 | |
8124 | # Extract the first word of "perl", so it can be a program name with args. |
8004 | # Extract the first word of "perl", so it can be a program name with args. |
8125 | set dummy perl; ac_word=$2 |
8005 | set dummy perl; ac_word=$2 |
8126 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8006 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8127 | $as_echo_n "checking for $ac_word... " >&6; } |
8007 | $as_echo_n "checking for $ac_word... " >&6; } |
8128 | if ${ac_cv_path_PERL+:} false; then : |
8008 | if test "${ac_cv_path_PERL+set}" = set; then : |
8129 | $as_echo_n "(cached) " >&6 |
8009 | $as_echo_n "(cached) " >&6 |
8130 | else |
8010 | else |
8131 | case $PERL in |
8011 | case $PERL in |
8132 | [\\/]* | ?:[\\/]*) |
8012 | [\\/]* | ?:[\\/]*) |
8133 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
8013 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
… | |
… | |
8287 | t end |
8167 | t end |
8288 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8168 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8289 | :end' >>confcache |
8169 | :end' >>confcache |
8290 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8170 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8291 | if test -w "$cache_file"; then |
8171 | if test -w "$cache_file"; then |
8292 | if test "x$cache_file" != "x/dev/null"; then |
8172 | test "x$cache_file" != "x/dev/null" && |
8293 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8173 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8294 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8174 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8295 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
|
8296 | cat confcache >"$cache_file" |
8175 | cat confcache >$cache_file |
8297 | else |
|
|
8298 | case $cache_file in #( |
|
|
8299 | */* | ?:*) |
|
|
8300 | mv -f confcache "$cache_file"$$ && |
|
|
8301 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
8302 | *) |
|
|
8303 | mv -f confcache "$cache_file" ;; |
|
|
8304 | esac |
|
|
8305 | fi |
|
|
8306 | fi |
|
|
8307 | else |
8176 | else |
8308 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8177 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8309 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8178 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8310 | fi |
8179 | fi |
8311 | fi |
8180 | fi |
… | |
… | |
8333 | |
8202 | |
8334 | LTLIBOBJS=$ac_ltlibobjs |
8203 | LTLIBOBJS=$ac_ltlibobjs |
8335 | |
8204 | |
8336 | |
8205 | |
8337 | |
8206 | |
8338 | : "${CONFIG_STATUS=./config.status}" |
8207 | : ${CONFIG_STATUS=./config.status} |
8339 | ac_write_fail=0 |
8208 | ac_write_fail=0 |
8340 | ac_clean_files_save=$ac_clean_files |
8209 | ac_clean_files_save=$ac_clean_files |
8341 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8210 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8342 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8211 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8343 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8212 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
8434 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8303 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8435 | # splitting by setting IFS to empty value.) |
8304 | # splitting by setting IFS to empty value.) |
8436 | IFS=" "" $as_nl" |
8305 | IFS=" "" $as_nl" |
8437 | |
8306 | |
8438 | # Find who we are. Look in the path if we contain no directory separator. |
8307 | # Find who we are. Look in the path if we contain no directory separator. |
8439 | as_myself= |
|
|
8440 | case $0 in #(( |
8308 | case $0 in #(( |
8441 | *[\\/]* ) as_myself=$0 ;; |
8309 | *[\\/]* ) as_myself=$0 ;; |
8442 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8310 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8443 | for as_dir in $PATH |
8311 | for as_dir in $PATH |
8444 | do |
8312 | do |
… | |
… | |
8742 | # Save the log message, to keep $0 and so on meaningful, and to |
8610 | # Save the log message, to keep $0 and so on meaningful, and to |
8743 | # report actual input values of CONFIG_FILES etc. instead of their |
8611 | # report actual input values of CONFIG_FILES etc. instead of their |
8744 | # values after options handling. |
8612 | # values after options handling. |
8745 | ac_log=" |
8613 | ac_log=" |
8746 | This file was extended by $as_me, which was |
8614 | This file was extended by $as_me, which was |
8747 | generated by GNU Autoconf 2.68. Invocation command line was |
8615 | generated by GNU Autoconf 2.67. Invocation command line was |
8748 | |
8616 | |
8749 | CONFIG_FILES = $CONFIG_FILES |
8617 | CONFIG_FILES = $CONFIG_FILES |
8750 | CONFIG_HEADERS = $CONFIG_HEADERS |
8618 | CONFIG_HEADERS = $CONFIG_HEADERS |
8751 | CONFIG_LINKS = $CONFIG_LINKS |
8619 | CONFIG_LINKS = $CONFIG_LINKS |
8752 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
8620 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8804 | _ACEOF |
8672 | _ACEOF |
8805 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8673 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8806 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8674 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8807 | ac_cs_version="\\ |
8675 | ac_cs_version="\\ |
8808 | config.status |
8676 | config.status |
8809 | configured by $0, generated by GNU Autoconf 2.68, |
8677 | configured by $0, generated by GNU Autoconf 2.67, |
8810 | with options \\"\$ac_cs_config\\" |
8678 | with options \\"\$ac_cs_config\\" |
8811 | |
8679 | |
8812 | Copyright (C) 2010 Free Software Foundation, Inc. |
8680 | Copyright (C) 2010 Free Software Foundation, Inc. |
8813 | This config.status script is free software; the Free Software Foundation |
8681 | This config.status script is free software; the Free Software Foundation |
8814 | gives unlimited permission to copy, distribute and modify it." |
8682 | gives unlimited permission to copy, distribute and modify it." |
… | |
… | |
8930 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8798 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8931 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8799 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8932 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8800 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8933 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8801 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8934 | |
8802 | |
8935 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
8803 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
8936 | esac |
8804 | esac |
8937 | done |
8805 | done |
8938 | |
8806 | |
8939 | |
8807 | |
8940 | # If the user did not use the arguments to specify the items to instantiate, |
8808 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
8952 | # Hook for its removal unless debugging. |
8820 | # Hook for its removal unless debugging. |
8953 | # Note that there is a small window in which the directory will not be cleaned: |
8821 | # Note that there is a small window in which the directory will not be cleaned: |
8954 | # after its creation but before its name has been assigned to `$tmp'. |
8822 | # after its creation but before its name has been assigned to `$tmp'. |
8955 | $debug || |
8823 | $debug || |
8956 | { |
8824 | { |
8957 | tmp= ac_tmp= |
8825 | tmp= |
8958 | trap 'exit_status=$? |
8826 | trap 'exit_status=$? |
8959 | : "${ac_tmp:=$tmp}" |
|
|
8960 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
8827 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
8961 | ' 0 |
8828 | ' 0 |
8962 | trap 'as_fn_exit 1' 1 2 13 15 |
8829 | trap 'as_fn_exit 1' 1 2 13 15 |
8963 | } |
8830 | } |
8964 | # Create a (secure) tmp directory for tmp files. |
8831 | # Create a (secure) tmp directory for tmp files. |
8965 | |
8832 | |
8966 | { |
8833 | { |
8967 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8834 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8968 | test -d "$tmp" |
8835 | test -n "$tmp" && test -d "$tmp" |
8969 | } || |
8836 | } || |
8970 | { |
8837 | { |
8971 | tmp=./conf$$-$RANDOM |
8838 | tmp=./conf$$-$RANDOM |
8972 | (umask 077 && mkdir "$tmp") |
8839 | (umask 077 && mkdir "$tmp") |
8973 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8840 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8974 | ac_tmp=$tmp |
|
|
8975 | |
8841 | |
8976 | # Set up the scripts for CONFIG_FILES section. |
8842 | # Set up the scripts for CONFIG_FILES section. |
8977 | # No need to generate them if there are no CONFIG_FILES. |
8843 | # No need to generate them if there are no CONFIG_FILES. |
8978 | # This happens for instance with `./config.status config.h'. |
8844 | # This happens for instance with `./config.status config.h'. |
8979 | if test -n "$CONFIG_FILES"; then |
8845 | if test -n "$CONFIG_FILES"; then |
… | |
… | |
8991 | ac_cs_awk_cr='\\r' |
8857 | ac_cs_awk_cr='\\r' |
8992 | else |
8858 | else |
8993 | ac_cs_awk_cr=$ac_cr |
8859 | ac_cs_awk_cr=$ac_cr |
8994 | fi |
8860 | fi |
8995 | |
8861 | |
8996 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
8862 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
8997 | _ACEOF |
8863 | _ACEOF |
8998 | |
8864 | |
8999 | |
8865 | |
9000 | { |
8866 | { |
9001 | echo "cat >conf$$subs.awk <<_ACEOF" && |
8867 | echo "cat >conf$$subs.awk <<_ACEOF" && |
… | |
… | |
9019 | fi |
8885 | fi |
9020 | done |
8886 | done |
9021 | rm -f conf$$subs.sh |
8887 | rm -f conf$$subs.sh |
9022 | |
8888 | |
9023 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8889 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9024 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
8890 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
9025 | _ACEOF |
8891 | _ACEOF |
9026 | sed -n ' |
8892 | sed -n ' |
9027 | h |
8893 | h |
9028 | s/^/S["/; s/!.*/"]=/ |
8894 | s/^/S["/; s/!.*/"]=/ |
9029 | p |
8895 | p |
… | |
… | |
9067 | } |
8933 | } |
9068 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
8934 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9069 | rm -f conf$$subs.awk |
8935 | rm -f conf$$subs.awk |
9070 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8936 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9071 | _ACAWK |
8937 | _ACAWK |
9072 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
8938 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
9073 | for (key in S) S_is_set[key] = 1 |
8939 | for (key in S) S_is_set[key] = 1 |
9074 | FS = "" |
8940 | FS = "" |
9075 | |
8941 | |
9076 | } |
8942 | } |
9077 | { |
8943 | { |
… | |
… | |
9099 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8965 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9100 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
8966 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
9101 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
8967 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
9102 | else |
8968 | else |
9103 | cat |
8969 | cat |
9104 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
8970 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
9105 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
8971 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9106 | _ACEOF |
8972 | _ACEOF |
9107 | |
8973 | |
9108 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
8974 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
9109 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
8975 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
… | |
… | |
9133 | |
8999 | |
9134 | # Set up the scripts for CONFIG_HEADERS section. |
9000 | # Set up the scripts for CONFIG_HEADERS section. |
9135 | # No need to generate them if there are no CONFIG_HEADERS. |
9001 | # No need to generate them if there are no CONFIG_HEADERS. |
9136 | # This happens for instance with `./config.status Makefile'. |
9002 | # This happens for instance with `./config.status Makefile'. |
9137 | if test -n "$CONFIG_HEADERS"; then |
9003 | if test -n "$CONFIG_HEADERS"; then |
9138 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
9004 | cat >"$tmp/defines.awk" <<\_ACAWK || |
9139 | BEGIN { |
9005 | BEGIN { |
9140 | _ACEOF |
9006 | _ACEOF |
9141 | |
9007 | |
9142 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9008 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9143 | # here-document in config.status, that substitutes the proper values into |
9009 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
9145 | |
9011 | |
9146 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9012 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9147 | # handling of long lines. |
9013 | # handling of long lines. |
9148 | ac_delim='%!_!# ' |
9014 | ac_delim='%!_!# ' |
9149 | for ac_last_try in false false :; do |
9015 | for ac_last_try in false false :; do |
9150 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
9016 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
9151 | if test -z "$ac_tt"; then |
9017 | if test -z "$ac_t"; then |
9152 | break |
9018 | break |
9153 | elif $ac_last_try; then |
9019 | elif $ac_last_try; then |
9154 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9020 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9155 | else |
9021 | else |
9156 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
9022 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
9247 | case $ac_tag in |
9113 | case $ac_tag in |
9248 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9114 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9249 | esac |
9115 | esac |
9250 | case $ac_mode$ac_tag in |
9116 | case $ac_mode$ac_tag in |
9251 | :[FHL]*:*);; |
9117 | :[FHL]*:*);; |
9252 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
9118 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9253 | :[FH]-) ac_tag=-:-;; |
9119 | :[FH]-) ac_tag=-:-;; |
9254 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9120 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9255 | esac |
9121 | esac |
9256 | ac_save_IFS=$IFS |
9122 | ac_save_IFS=$IFS |
9257 | IFS=: |
9123 | IFS=: |
… | |
… | |
9266 | :[FH]) |
9132 | :[FH]) |
9267 | ac_file_inputs= |
9133 | ac_file_inputs= |
9268 | for ac_f |
9134 | for ac_f |
9269 | do |
9135 | do |
9270 | case $ac_f in |
9136 | case $ac_f in |
9271 | -) ac_f="$ac_tmp/stdin";; |
9137 | -) ac_f="$tmp/stdin";; |
9272 | *) # Look for the file first in the build tree, then in the source tree |
9138 | *) # Look for the file first in the build tree, then in the source tree |
9273 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9139 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9274 | # because $ac_f cannot contain `:'. |
9140 | # because $ac_f cannot contain `:'. |
9275 | test -f "$ac_f" || |
9141 | test -f "$ac_f" || |
9276 | case $ac_f in |
9142 | case $ac_f in |
9277 | [\\/$]*) false;; |
9143 | [\\/$]*) false;; |
9278 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9144 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9279 | esac || |
9145 | esac || |
9280 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
9146 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
9281 | esac |
9147 | esac |
9282 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9148 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9283 | as_fn_append ac_file_inputs " '$ac_f'" |
9149 | as_fn_append ac_file_inputs " '$ac_f'" |
9284 | done |
9150 | done |
9285 | |
9151 | |
… | |
… | |
9301 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9167 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9302 | *) ac_sed_conf_input=$configure_input;; |
9168 | *) ac_sed_conf_input=$configure_input;; |
9303 | esac |
9169 | esac |
9304 | |
9170 | |
9305 | case $ac_tag in |
9171 | case $ac_tag in |
9306 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
9172 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9307 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9173 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9308 | esac |
9174 | esac |
9309 | ;; |
9175 | ;; |
9310 | esac |
9176 | esac |
9311 | |
9177 | |
9312 | ac_dir=`$as_dirname -- "$ac_file" || |
9178 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
9432 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9298 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9433 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9299 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9434 | s&@INSTALL@&$ac_INSTALL&;t t |
9300 | s&@INSTALL@&$ac_INSTALL&;t t |
9435 | $ac_datarootdir_hack |
9301 | $ac_datarootdir_hack |
9436 | " |
9302 | " |
9437 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9303 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
9438 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9304 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9439 | |
9305 | |
9440 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9306 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9441 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
9307 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
9442 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
9308 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
9443 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
|
|
9444 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9309 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9445 | which seems to be undefined. Please make sure it is defined" >&5 |
9310 | which seems to be undefined. Please make sure it is defined" >&5 |
9446 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9311 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9447 | which seems to be undefined. Please make sure it is defined" >&2;} |
9312 | which seems to be undefined. Please make sure it is defined" >&2;} |
9448 | |
9313 | |
9449 | rm -f "$ac_tmp/stdin" |
9314 | rm -f "$tmp/stdin" |
9450 | case $ac_file in |
9315 | case $ac_file in |
9451 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
9316 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
9452 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
9317 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
9453 | esac \ |
9318 | esac \ |
9454 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9319 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9455 | ;; |
9320 | ;; |
9456 | :H) |
9321 | :H) |
9457 | # |
9322 | # |
9458 | # CONFIG_HEADER |
9323 | # CONFIG_HEADER |
9459 | # |
9324 | # |
9460 | if test x"$ac_file" != x-; then |
9325 | if test x"$ac_file" != x-; then |
9461 | { |
9326 | { |
9462 | $as_echo "/* $configure_input */" \ |
9327 | $as_echo "/* $configure_input */" \ |
9463 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9328 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
9464 | } >"$ac_tmp/config.h" \ |
9329 | } >"$tmp/config.h" \ |
9465 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9330 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9466 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
9331 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
9467 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9332 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9468 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9333 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9469 | else |
9334 | else |
9470 | rm -f "$ac_file" |
9335 | rm -f "$ac_file" |
9471 | mv "$ac_tmp/config.h" "$ac_file" \ |
9336 | mv "$tmp/config.h" "$ac_file" \ |
9472 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9337 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9473 | fi |
9338 | fi |
9474 | else |
9339 | else |
9475 | $as_echo "/* $configure_input */" \ |
9340 | $as_echo "/* $configure_input */" \ |
9476 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9341 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
9477 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9342 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9478 | fi |
9343 | fi |
9479 | ;; |
9344 | ;; |
9480 | |
9345 | |
9481 | |
9346 | |