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." |
… | |
… | |
605 | IF_PERL |
597 | IF_PERL |
606 | PERLPRIVLIBEXP |
598 | PERLPRIVLIBEXP |
607 | PERLFLAGS |
599 | PERLFLAGS |
608 | PERLLIB |
600 | PERLLIB |
609 | PERL |
601 | PERL |
610 | XFT_CONFIG |
|
|
611 | AFTERIMAGE_LIBS |
|
|
612 | AFTERIMAGE_CFLAGS |
|
|
613 | afterimage_config |
|
|
614 | PIXBUF_LIBS |
602 | PIXBUF_LIBS |
615 | PIXBUF_CFLAGS |
603 | PIXBUF_CFLAGS |
|
|
604 | XFT_CONFIG |
|
|
605 | STARTUP_NOTIFICATION_LIBS |
|
|
606 | STARTUP_NOTIFICATION_CFLAGS |
616 | PKG_CONFIG |
607 | PKG_CONFIG |
617 | X_EXTRA_LIBS |
608 | X_EXTRA_LIBS |
618 | X_LIBS |
609 | X_LIBS |
619 | X_PRE_LIBS |
610 | X_PRE_LIBS |
620 | X_CFLAGS |
611 | X_CFLAGS |
… | |
… | |
623 | CXXCPP |
614 | CXXCPP |
624 | RXVTNAME |
615 | RXVTNAME |
625 | LINKER |
616 | LINKER |
626 | EGREP |
617 | EGREP |
627 | GREP |
618 | GREP |
|
|
619 | CPP |
628 | INSTALL_DATA |
620 | INSTALL_DATA |
629 | INSTALL_SCRIPT |
621 | INSTALL_SCRIPT |
630 | INSTALL_PROGRAM |
622 | INSTALL_PROGRAM |
631 | CPP |
|
|
632 | ac_ct_CXX |
623 | ac_ct_CXX |
633 | CXXFLAGS |
624 | CXXFLAGS |
634 | CXX |
625 | CXX |
635 | OBJEXT |
626 | OBJEXT |
636 | EXEEXT |
627 | EXEEXT |
… | |
… | |
696 | enable_256_color |
687 | enable_256_color |
697 | enable_unicode3 |
688 | enable_unicode3 |
698 | enable_combining |
689 | enable_combining |
699 | enable_xft |
690 | enable_xft |
700 | enable_font_styles |
691 | enable_font_styles |
701 | enable_afterimage |
|
|
702 | with_afterimage_config |
|
|
703 | enable_pixbuf |
692 | enable_pixbuf |
|
|
693 | enable_startup_notification |
704 | enable_transparency |
694 | enable_transparency |
705 | enable_fading |
695 | enable_fading |
706 | enable_rxvt_scroll |
696 | enable_rxvt_scroll |
707 | enable_next_scroll |
697 | enable_next_scroll |
708 | enable_xterm_scroll |
698 | enable_xterm_scroll |
… | |
… | |
1150 | *) |
1140 | *) |
1151 | # FIXME: should be removed in autoconf 3.0. |
1141 | # FIXME: should be removed in autoconf 3.0. |
1152 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1142 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1153 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1143 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1154 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1144 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1155 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1145 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1156 | ;; |
1146 | ;; |
1157 | |
1147 | |
1158 | esac |
1148 | esac |
1159 | done |
1149 | done |
1160 | |
1150 | |
… | |
… | |
1372 | --enable-256-color enable 256-color support |
1362 | --enable-256-color enable 256-color support |
1373 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1363 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1374 | --enable-combining enable composition of base and combining characters |
1364 | --enable-combining enable composition of base and combining characters |
1375 | --enable-xft enable xft support on systems that have it |
1365 | --enable-xft enable xft support on systems that have it |
1376 | --enable-font-styles enable bold and italic support |
1366 | --enable-font-styles enable bold and italic support |
1377 | --enable-afterimage enable integration with libAfterImage for background images |
|
|
1378 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1367 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
|
|
1368 | --enable-startup-notification enable freedesktop startup notification support |
1379 | --enable-transparency enable transparent backgrounds |
1369 | --enable-transparency enable transparent backgrounds |
1380 | --enable-fading enable colors fading when off focus |
1370 | --enable-fading enable colors fading when off focus |
1381 | --enable-rxvt-scroll enable rxvt style scrollbar |
1371 | --enable-rxvt-scroll enable rxvt style scrollbar |
1382 | --enable-next-scroll enable NeXT style scrollbar |
1372 | --enable-next-scroll enable NeXT style scrollbar |
1383 | --enable-xterm-scroll enable Xterm style scrollbar |
1373 | --enable-xterm-scroll enable Xterm style scrollbar |
… | |
… | |
1403 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1393 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1404 | |
1394 | |
1405 | Optional Packages: |
1395 | Optional Packages: |
1406 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1396 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1407 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1397 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1408 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
|
|
1409 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1398 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1410 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1399 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1411 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1400 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1412 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1401 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1413 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1402 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1493 | |
1482 | |
1494 | test -n "$ac_init_help" && exit $ac_status |
1483 | test -n "$ac_init_help" && exit $ac_status |
1495 | if $ac_init_version; then |
1484 | if $ac_init_version; then |
1496 | cat <<\_ACEOF |
1485 | cat <<\_ACEOF |
1497 | configure |
1486 | configure |
1498 | generated by GNU Autoconf 2.68 |
1487 | generated by GNU Autoconf 2.67 |
1499 | |
1488 | |
1500 | Copyright (C) 2010 Free Software Foundation, Inc. |
1489 | Copyright (C) 2010 Free Software Foundation, Inc. |
1501 | This configure script is free software; the Free Software Foundation |
1490 | This configure script is free software; the Free Software Foundation |
1502 | gives unlimited permission to copy, distribute and modify it. |
1491 | gives unlimited permission to copy, distribute and modify it. |
1503 | _ACEOF |
1492 | _ACEOF |
… | |
… | |
1539 | $as_echo "$as_me: failed program was:" >&5 |
1528 | $as_echo "$as_me: failed program was:" >&5 |
1540 | sed 's/^/| /' conftest.$ac_ext >&5 |
1529 | sed 's/^/| /' conftest.$ac_ext >&5 |
1541 | |
1530 | |
1542 | ac_retval=1 |
1531 | ac_retval=1 |
1543 | fi |
1532 | fi |
1544 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1533 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1545 | as_fn_set_status $ac_retval |
1534 | as_fn_set_status $ac_retval |
1546 | |
1535 | |
1547 | } # ac_fn_c_try_compile |
1536 | } # ac_fn_c_try_compile |
1548 | |
1537 | |
1549 | # ac_fn_cxx_try_compile LINENO |
1538 | # ac_fn_cxx_try_compile LINENO |
… | |
… | |
1577 | $as_echo "$as_me: failed program was:" >&5 |
1566 | $as_echo "$as_me: failed program was:" >&5 |
1578 | sed 's/^/| /' conftest.$ac_ext >&5 |
1567 | sed 's/^/| /' conftest.$ac_ext >&5 |
1579 | |
1568 | |
1580 | ac_retval=1 |
1569 | ac_retval=1 |
1581 | fi |
1570 | fi |
1582 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1571 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1583 | as_fn_set_status $ac_retval |
1572 | as_fn_set_status $ac_retval |
1584 | |
1573 | |
1585 | } # ac_fn_cxx_try_compile |
1574 | } # ac_fn_cxx_try_compile |
1586 | |
1575 | |
1587 | # ac_fn_c_try_cpp LINENO |
1576 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1614 | $as_echo "$as_me: failed program was:" >&5 |
1603 | $as_echo "$as_me: failed program was:" >&5 |
1615 | sed 's/^/| /' conftest.$ac_ext >&5 |
1604 | sed 's/^/| /' conftest.$ac_ext >&5 |
1616 | |
1605 | |
1617 | ac_retval=1 |
1606 | ac_retval=1 |
1618 | fi |
1607 | fi |
1619 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1608 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1620 | as_fn_set_status $ac_retval |
1609 | as_fn_set_status $ac_retval |
1621 | |
1610 | |
1622 | } # ac_fn_c_try_cpp |
1611 | } # ac_fn_c_try_cpp |
1623 | |
1612 | |
1624 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1613 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1627 | # the include files in INCLUDES and setting the cache variable VAR |
1616 | # the include files in INCLUDES and setting the cache variable VAR |
1628 | # accordingly. |
1617 | # accordingly. |
1629 | ac_fn_c_check_header_mongrel () |
1618 | ac_fn_c_check_header_mongrel () |
1630 | { |
1619 | { |
1631 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1620 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1632 | if eval \${$3+:} false; then : |
1621 | if eval "test \"\${$3+set}\"" = set; then : |
1633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1622 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1634 | $as_echo_n "checking for $2... " >&6; } |
1623 | $as_echo_n "checking for $2... " >&6; } |
1635 | if eval \${$3+:} false; then : |
1624 | if eval "test \"\${$3+set}\"" = set; then : |
1636 | $as_echo_n "(cached) " >&6 |
1625 | $as_echo_n "(cached) " >&6 |
1637 | fi |
1626 | fi |
1638 | eval ac_res=\$$3 |
1627 | eval ac_res=\$$3 |
1639 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1640 | $as_echo "$ac_res" >&6; } |
1629 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1693 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1682 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1694 | ;; |
1683 | ;; |
1695 | esac |
1684 | esac |
1696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1697 | $as_echo_n "checking for $2... " >&6; } |
1686 | $as_echo_n "checking for $2... " >&6; } |
1698 | if eval \${$3+:} false; then : |
1687 | if eval "test \"\${$3+set}\"" = set; then : |
1699 | $as_echo_n "(cached) " >&6 |
1688 | $as_echo_n "(cached) " >&6 |
1700 | else |
1689 | else |
1701 | eval "$3=\$ac_header_compiler" |
1690 | eval "$3=\$ac_header_compiler" |
1702 | fi |
1691 | fi |
1703 | eval ac_res=\$$3 |
1692 | eval ac_res=\$$3 |
1704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1705 | $as_echo "$ac_res" >&6; } |
1694 | $as_echo "$ac_res" >&6; } |
1706 | fi |
1695 | fi |
1707 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1696 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1708 | |
1697 | |
1709 | } # ac_fn_c_check_header_mongrel |
1698 | } # ac_fn_c_check_header_mongrel |
1710 | |
1699 | |
1711 | # ac_fn_c_try_run LINENO |
1700 | # ac_fn_c_try_run LINENO |
1712 | # ---------------------- |
1701 | # ---------------------- |
… | |
… | |
1743 | sed 's/^/| /' conftest.$ac_ext >&5 |
1732 | sed 's/^/| /' conftest.$ac_ext >&5 |
1744 | |
1733 | |
1745 | ac_retval=$ac_status |
1734 | ac_retval=$ac_status |
1746 | fi |
1735 | fi |
1747 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1736 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1748 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1737 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1749 | as_fn_set_status $ac_retval |
1738 | as_fn_set_status $ac_retval |
1750 | |
1739 | |
1751 | } # ac_fn_c_try_run |
1740 | } # ac_fn_c_try_run |
1752 | |
1741 | |
1753 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1742 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1757 | ac_fn_c_check_header_compile () |
1746 | ac_fn_c_check_header_compile () |
1758 | { |
1747 | { |
1759 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1748 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1760 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1761 | $as_echo_n "checking for $2... " >&6; } |
1750 | $as_echo_n "checking for $2... " >&6; } |
1762 | if eval \${$3+:} false; then : |
1751 | if eval "test \"\${$3+set}\"" = set; then : |
1763 | $as_echo_n "(cached) " >&6 |
1752 | $as_echo_n "(cached) " >&6 |
1764 | else |
1753 | else |
1765 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1754 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1766 | /* end confdefs.h. */ |
1755 | /* end confdefs.h. */ |
1767 | $4 |
1756 | $4 |
… | |
… | |
1775 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1764 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1776 | fi |
1765 | fi |
1777 | eval ac_res=\$$3 |
1766 | eval ac_res=\$$3 |
1778 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1767 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1779 | $as_echo "$ac_res" >&6; } |
1768 | $as_echo "$ac_res" >&6; } |
1780 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1769 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1781 | |
1770 | |
1782 | } # ac_fn_c_check_header_compile |
1771 | } # ac_fn_c_check_header_compile |
1783 | |
1772 | |
1784 | # ac_fn_c_try_link LINENO |
1773 | # ac_fn_c_try_link LINENO |
1785 | # ----------------------- |
1774 | # ----------------------- |
… | |
… | |
1820 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1809 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1821 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1810 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1822 | # interfere with the next link command; also delete a directory that is |
1811 | # interfere with the next link command; also delete a directory that is |
1823 | # left behind by Apple's compiler. We do this before executing the actions. |
1812 | # left behind by Apple's compiler. We do this before executing the actions. |
1824 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1813 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1825 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1814 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1826 | as_fn_set_status $ac_retval |
1815 | as_fn_set_status $ac_retval |
1827 | |
1816 | |
1828 | } # ac_fn_c_try_link |
1817 | } # ac_fn_c_try_link |
1829 | |
1818 | |
1830 | # ac_fn_cxx_try_link LINENO |
1819 | # ac_fn_cxx_try_link LINENO |
… | |
… | |
1866 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1855 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1867 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1856 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1868 | # interfere with the next link command; also delete a directory that is |
1857 | # interfere with the next link command; also delete a directory that is |
1869 | # left behind by Apple's compiler. We do this before executing the actions. |
1858 | # left behind by Apple's compiler. We do this before executing the actions. |
1870 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1859 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1871 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1860 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1872 | as_fn_set_status $ac_retval |
1861 | as_fn_set_status $ac_retval |
1873 | |
1862 | |
1874 | } # ac_fn_cxx_try_link |
1863 | } # ac_fn_cxx_try_link |
1875 | |
1864 | |
1876 | # ac_fn_cxx_try_cpp LINENO |
1865 | # ac_fn_cxx_try_cpp LINENO |
… | |
… | |
1903 | $as_echo "$as_me: failed program was:" >&5 |
1892 | $as_echo "$as_me: failed program was:" >&5 |
1904 | sed 's/^/| /' conftest.$ac_ext >&5 |
1893 | sed 's/^/| /' conftest.$ac_ext >&5 |
1905 | |
1894 | |
1906 | ac_retval=1 |
1895 | ac_retval=1 |
1907 | fi |
1896 | fi |
1908 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1897 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1909 | as_fn_set_status $ac_retval |
1898 | as_fn_set_status $ac_retval |
1910 | |
1899 | |
1911 | } # ac_fn_cxx_try_cpp |
1900 | } # ac_fn_cxx_try_cpp |
1912 | |
1901 | |
1913 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1902 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1916 | # the include files in INCLUDES and setting the cache variable VAR |
1905 | # the include files in INCLUDES and setting the cache variable VAR |
1917 | # accordingly. |
1906 | # accordingly. |
1918 | ac_fn_cxx_check_header_mongrel () |
1907 | ac_fn_cxx_check_header_mongrel () |
1919 | { |
1908 | { |
1920 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1909 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1921 | if eval \${$3+:} false; then : |
1910 | if eval "test \"\${$3+set}\"" = set; then : |
1922 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1923 | $as_echo_n "checking for $2... " >&6; } |
1912 | $as_echo_n "checking for $2... " >&6; } |
1924 | if eval \${$3+:} false; then : |
1913 | if eval "test \"\${$3+set}\"" = set; then : |
1925 | $as_echo_n "(cached) " >&6 |
1914 | $as_echo_n "(cached) " >&6 |
1926 | fi |
1915 | fi |
1927 | eval ac_res=\$$3 |
1916 | eval ac_res=\$$3 |
1928 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1917 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1929 | $as_echo "$ac_res" >&6; } |
1918 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1982 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1971 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1983 | ;; |
1972 | ;; |
1984 | esac |
1973 | esac |
1985 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1974 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1986 | $as_echo_n "checking for $2... " >&6; } |
1975 | $as_echo_n "checking for $2... " >&6; } |
1987 | if eval \${$3+:} false; then : |
1976 | if eval "test \"\${$3+set}\"" = set; then : |
1988 | $as_echo_n "(cached) " >&6 |
1977 | $as_echo_n "(cached) " >&6 |
1989 | else |
1978 | else |
1990 | eval "$3=\$ac_header_compiler" |
1979 | eval "$3=\$ac_header_compiler" |
1991 | fi |
1980 | fi |
1992 | eval ac_res=\$$3 |
1981 | eval ac_res=\$$3 |
1993 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1982 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1994 | $as_echo "$ac_res" >&6; } |
1983 | $as_echo "$ac_res" >&6; } |
1995 | fi |
1984 | fi |
1996 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1985 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1997 | |
1986 | |
1998 | } # ac_fn_cxx_check_header_mongrel |
1987 | } # ac_fn_cxx_check_header_mongrel |
1999 | |
1988 | |
2000 | # ac_fn_cxx_check_func LINENO FUNC VAR |
1989 | # ac_fn_cxx_check_func LINENO FUNC VAR |
2001 | # ------------------------------------ |
1990 | # ------------------------------------ |
… | |
… | |
2003 | ac_fn_cxx_check_func () |
1992 | ac_fn_cxx_check_func () |
2004 | { |
1993 | { |
2005 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1994 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2006 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1995 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2007 | $as_echo_n "checking for $2... " >&6; } |
1996 | $as_echo_n "checking for $2... " >&6; } |
2008 | if eval \${$3+:} false; then : |
1997 | if eval "test \"\${$3+set}\"" = set; then : |
2009 | $as_echo_n "(cached) " >&6 |
1998 | $as_echo_n "(cached) " >&6 |
2010 | else |
1999 | else |
2011 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2000 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2012 | /* end confdefs.h. */ |
2001 | /* end confdefs.h. */ |
2013 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2002 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
… | |
… | |
2058 | conftest$ac_exeext conftest.$ac_ext |
2047 | conftest$ac_exeext conftest.$ac_ext |
2059 | fi |
2048 | fi |
2060 | eval ac_res=\$$3 |
2049 | eval ac_res=\$$3 |
2061 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2062 | $as_echo "$ac_res" >&6; } |
2051 | $as_echo "$ac_res" >&6; } |
2063 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2052 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2064 | |
2053 | |
2065 | } # ac_fn_cxx_check_func |
2054 | } # ac_fn_cxx_check_func |
2066 | |
2055 | |
2067 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2056 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2068 | # --------------------------------------------- |
2057 | # --------------------------------------------- |
… | |
… | |
2071 | ac_fn_cxx_check_type () |
2060 | ac_fn_cxx_check_type () |
2072 | { |
2061 | { |
2073 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2062 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2075 | $as_echo_n "checking for $2... " >&6; } |
2064 | $as_echo_n "checking for $2... " >&6; } |
2076 | if eval \${$3+:} false; then : |
2065 | if eval "test \"\${$3+set}\"" = set; then : |
2077 | $as_echo_n "(cached) " >&6 |
2066 | $as_echo_n "(cached) " >&6 |
2078 | else |
2067 | else |
2079 | eval "$3=no" |
2068 | eval "$3=no" |
2080 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2081 | /* end confdefs.h. */ |
2070 | /* end confdefs.h. */ |
… | |
… | |
2112 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2101 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2113 | fi |
2102 | fi |
2114 | eval ac_res=\$$3 |
2103 | eval ac_res=\$$3 |
2115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2116 | $as_echo "$ac_res" >&6; } |
2105 | $as_echo "$ac_res" >&6; } |
2117 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2106 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2118 | |
2107 | |
2119 | } # ac_fn_cxx_check_type |
2108 | } # ac_fn_cxx_check_type |
2120 | |
2109 | |
2121 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2110 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2122 | # ----------------------------------- |
2111 | # ----------------------------------- |
… | |
… | |
2125 | ac_fn_c_find_intX_t () |
2114 | ac_fn_c_find_intX_t () |
2126 | { |
2115 | { |
2127 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2116 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2129 | $as_echo_n "checking for int$2_t... " >&6; } |
2118 | $as_echo_n "checking for int$2_t... " >&6; } |
2130 | if eval \${$3+:} false; then : |
2119 | if eval "test \"\${$3+set}\"" = set; then : |
2131 | $as_echo_n "(cached) " >&6 |
2120 | $as_echo_n "(cached) " >&6 |
2132 | else |
2121 | else |
2133 | eval "$3=no" |
2122 | eval "$3=no" |
2134 | # Order is important - never check a type that is potentially smaller |
2123 | # Order is important - never check a type that is potentially smaller |
2135 | # than half of the expected target width. |
2124 | # than half of the expected target width. |
… | |
… | |
2186 | done |
2175 | done |
2187 | fi |
2176 | fi |
2188 | eval ac_res=\$$3 |
2177 | eval ac_res=\$$3 |
2189 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2190 | $as_echo "$ac_res" >&6; } |
2179 | $as_echo "$ac_res" >&6; } |
2191 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2180 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2192 | |
2181 | |
2193 | } # ac_fn_c_find_intX_t |
2182 | } # ac_fn_c_find_intX_t |
2194 | |
2183 | |
2195 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2184 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2196 | # ------------------------------------ |
2185 | # ------------------------------------ |
… | |
… | |
2199 | ac_fn_c_find_uintX_t () |
2188 | ac_fn_c_find_uintX_t () |
2200 | { |
2189 | { |
2201 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2190 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2191 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2203 | $as_echo_n "checking for uint$2_t... " >&6; } |
2192 | $as_echo_n "checking for uint$2_t... " >&6; } |
2204 | if eval \${$3+:} false; then : |
2193 | if eval "test \"\${$3+set}\"" = set; then : |
2205 | $as_echo_n "(cached) " >&6 |
2194 | $as_echo_n "(cached) " >&6 |
2206 | else |
2195 | else |
2207 | eval "$3=no" |
2196 | eval "$3=no" |
2208 | # Order is important - never check a type that is potentially smaller |
2197 | # Order is important - never check a type that is potentially smaller |
2209 | # than half of the expected target width. |
2198 | # than half of the expected target width. |
… | |
… | |
2239 | done |
2228 | done |
2240 | fi |
2229 | fi |
2241 | eval ac_res=\$$3 |
2230 | eval ac_res=\$$3 |
2242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2243 | $as_echo "$ac_res" >&6; } |
2232 | $as_echo "$ac_res" >&6; } |
2244 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2233 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2245 | |
2234 | |
2246 | } # ac_fn_c_find_uintX_t |
2235 | } # ac_fn_c_find_uintX_t |
2247 | |
2236 | |
2248 | # ac_fn_cxx_try_run LINENO |
2237 | # ac_fn_cxx_try_run LINENO |
2249 | # ------------------------ |
2238 | # ------------------------ |
… | |
… | |
2280 | sed 's/^/| /' conftest.$ac_ext >&5 |
2269 | sed 's/^/| /' conftest.$ac_ext >&5 |
2281 | |
2270 | |
2282 | ac_retval=$ac_status |
2271 | ac_retval=$ac_status |
2283 | fi |
2272 | fi |
2284 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2273 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2285 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2274 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2286 | as_fn_set_status $ac_retval |
2275 | as_fn_set_status $ac_retval |
2287 | |
2276 | |
2288 | } # ac_fn_cxx_try_run |
2277 | } # ac_fn_cxx_try_run |
2289 | cat >config.log <<_ACEOF |
2278 | cat >config.log <<_ACEOF |
2290 | This file contains any messages produced by compilers while |
2279 | This file contains any messages produced by compilers while |
2291 | running configure, to aid debugging if configure makes a mistake. |
2280 | running configure, to aid debugging if configure makes a mistake. |
2292 | |
2281 | |
2293 | It was created by $as_me, which was |
2282 | It was created by $as_me, which was |
2294 | generated by GNU Autoconf 2.68. Invocation command line was |
2283 | generated by GNU Autoconf 2.67. Invocation command line was |
2295 | |
2284 | |
2296 | $ $0 $@ |
2285 | $ $0 $@ |
2297 | |
2286 | |
2298 | _ACEOF |
2287 | _ACEOF |
2299 | exec 5>>config.log |
2288 | exec 5>>config.log |
… | |
… | |
2547 | sed 's/^/| /' "$ac_site_file" >&5 |
2536 | sed 's/^/| /' "$ac_site_file" >&5 |
2548 | . "$ac_site_file" \ |
2537 | . "$ac_site_file" \ |
2549 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2538 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2550 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2539 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2551 | as_fn_error $? "failed to load site script $ac_site_file |
2540 | as_fn_error $? "failed to load site script $ac_site_file |
2552 | See \`config.log' for more details" "$LINENO" 5; } |
2541 | See \`config.log' for more details" "$LINENO" 5 ; } |
2553 | fi |
2542 | fi |
2554 | done |
2543 | done |
2555 | |
2544 | |
2556 | if test -r "$cache_file"; then |
2545 | if test -r "$cache_file"; then |
2557 | # Some versions of bash will fail to source /dev/null (special files |
2546 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2676 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2665 | $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 |
2666 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2678 | |
2667 | |
2679 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2680 | $as_echo_n "checking build system type... " >&6; } |
2669 | $as_echo_n "checking build system type... " >&6; } |
2681 | if ${ac_cv_build+:} false; then : |
2670 | if test "${ac_cv_build+set}" = set; then : |
2682 | $as_echo_n "(cached) " >&6 |
2671 | $as_echo_n "(cached) " >&6 |
2683 | else |
2672 | else |
2684 | ac_build_alias=$build_alias |
2673 | ac_build_alias=$build_alias |
2685 | test "x$ac_build_alias" = x && |
2674 | test "x$ac_build_alias" = x && |
2686 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2675 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
… | |
… | |
2692 | fi |
2681 | fi |
2693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2694 | $as_echo "$ac_cv_build" >&6; } |
2683 | $as_echo "$ac_cv_build" >&6; } |
2695 | case $ac_cv_build in |
2684 | case $ac_cv_build in |
2696 | *-*-*) ;; |
2685 | *-*-*) ;; |
2697 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2686 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2698 | esac |
2687 | esac |
2699 | build=$ac_cv_build |
2688 | build=$ac_cv_build |
2700 | ac_save_IFS=$IFS; IFS='-' |
2689 | ac_save_IFS=$IFS; IFS='-' |
2701 | set x $ac_cv_build |
2690 | set x $ac_cv_build |
2702 | shift |
2691 | shift |
… | |
… | |
2710 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2699 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2711 | |
2700 | |
2712 | |
2701 | |
2713 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2702 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2714 | $as_echo_n "checking host system type... " >&6; } |
2703 | $as_echo_n "checking host system type... " >&6; } |
2715 | if ${ac_cv_host+:} false; then : |
2704 | if test "${ac_cv_host+set}" = set; then : |
2716 | $as_echo_n "(cached) " >&6 |
2705 | $as_echo_n "(cached) " >&6 |
2717 | else |
2706 | else |
2718 | if test "x$host_alias" = x; then |
2707 | if test "x$host_alias" = x; then |
2719 | ac_cv_host=$ac_cv_build |
2708 | ac_cv_host=$ac_cv_build |
2720 | else |
2709 | else |
… | |
… | |
2725 | fi |
2714 | fi |
2726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2727 | $as_echo "$ac_cv_host" >&6; } |
2716 | $as_echo "$ac_cv_host" >&6; } |
2728 | case $ac_cv_host in |
2717 | case $ac_cv_host in |
2729 | *-*-*) ;; |
2718 | *-*-*) ;; |
2730 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2719 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2731 | esac |
2720 | esac |
2732 | host=$ac_cv_host |
2721 | host=$ac_cv_host |
2733 | ac_save_IFS=$IFS; IFS='-' |
2722 | ac_save_IFS=$IFS; IFS='-' |
2734 | set x $ac_cv_host |
2723 | set x $ac_cv_host |
2735 | shift |
2724 | shift |
… | |
… | |
2742 | IFS=$ac_save_IFS |
2731 | IFS=$ac_save_IFS |
2743 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2732 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2744 | |
2733 | |
2745 | |
2734 | |
2746 | |
2735 | |
2747 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2736 | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2748 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2737 | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2749 | |
2738 | |
2750 | echo "" |
2739 | echo "" |
2751 | echo "configuring for rxvt $VERSION" |
2740 | echo "configuring for rxvt $VERSION" |
2752 | echo "" |
2741 | echo "" |
2753 | |
2742 | |
… | |
… | |
2761 | if test -n "$ac_tool_prefix"; then |
2750 | 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. |
2751 | # 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 |
2752 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2764 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2753 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2765 | $as_echo_n "checking for $ac_word... " >&6; } |
2754 | $as_echo_n "checking for $ac_word... " >&6; } |
2766 | if ${ac_cv_prog_CC+:} false; then : |
2755 | if test "${ac_cv_prog_CC+set}" = set; then : |
2767 | $as_echo_n "(cached) " >&6 |
2756 | $as_echo_n "(cached) " >&6 |
2768 | else |
2757 | else |
2769 | if test -n "$CC"; then |
2758 | if test -n "$CC"; then |
2770 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2759 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2771 | else |
2760 | else |
… | |
… | |
2801 | ac_ct_CC=$CC |
2790 | ac_ct_CC=$CC |
2802 | # Extract the first word of "gcc", so it can be a program name with args. |
2791 | # Extract the first word of "gcc", so it can be a program name with args. |
2803 | set dummy gcc; ac_word=$2 |
2792 | set dummy gcc; ac_word=$2 |
2804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2793 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2805 | $as_echo_n "checking for $ac_word... " >&6; } |
2794 | $as_echo_n "checking for $ac_word... " >&6; } |
2806 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2795 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2807 | $as_echo_n "(cached) " >&6 |
2796 | $as_echo_n "(cached) " >&6 |
2808 | else |
2797 | else |
2809 | if test -n "$ac_ct_CC"; then |
2798 | if test -n "$ac_ct_CC"; then |
2810 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2799 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2811 | else |
2800 | else |
… | |
… | |
2854 | if test -n "$ac_tool_prefix"; then |
2843 | 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. |
2844 | # 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 |
2845 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2857 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2846 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2858 | $as_echo_n "checking for $ac_word... " >&6; } |
2847 | $as_echo_n "checking for $ac_word... " >&6; } |
2859 | if ${ac_cv_prog_CC+:} false; then : |
2848 | if test "${ac_cv_prog_CC+set}" = set; then : |
2860 | $as_echo_n "(cached) " >&6 |
2849 | $as_echo_n "(cached) " >&6 |
2861 | else |
2850 | else |
2862 | if test -n "$CC"; then |
2851 | if test -n "$CC"; then |
2863 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2852 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2864 | else |
2853 | else |
… | |
… | |
2894 | if test -z "$CC"; then |
2883 | if test -z "$CC"; then |
2895 | # Extract the first word of "cc", so it can be a program name with args. |
2884 | # Extract the first word of "cc", so it can be a program name with args. |
2896 | set dummy cc; ac_word=$2 |
2885 | set dummy cc; ac_word=$2 |
2897 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2886 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2898 | $as_echo_n "checking for $ac_word... " >&6; } |
2887 | $as_echo_n "checking for $ac_word... " >&6; } |
2899 | if ${ac_cv_prog_CC+:} false; then : |
2888 | if test "${ac_cv_prog_CC+set}" = set; then : |
2900 | $as_echo_n "(cached) " >&6 |
2889 | $as_echo_n "(cached) " >&6 |
2901 | else |
2890 | else |
2902 | if test -n "$CC"; then |
2891 | if test -n "$CC"; then |
2903 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2892 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2904 | else |
2893 | else |
… | |
… | |
2953 | do |
2942 | do |
2954 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2943 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2955 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2944 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2956 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2945 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2957 | $as_echo_n "checking for $ac_word... " >&6; } |
2946 | $as_echo_n "checking for $ac_word... " >&6; } |
2958 | if ${ac_cv_prog_CC+:} false; then : |
2947 | if test "${ac_cv_prog_CC+set}" = set; then : |
2959 | $as_echo_n "(cached) " >&6 |
2948 | $as_echo_n "(cached) " >&6 |
2960 | else |
2949 | else |
2961 | if test -n "$CC"; then |
2950 | if test -n "$CC"; then |
2962 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2951 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2963 | else |
2952 | else |
… | |
… | |
2997 | do |
2986 | do |
2998 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2987 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2999 | set dummy $ac_prog; ac_word=$2 |
2988 | set dummy $ac_prog; ac_word=$2 |
3000 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3001 | $as_echo_n "checking for $ac_word... " >&6; } |
2990 | $as_echo_n "checking for $ac_word... " >&6; } |
3002 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2991 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3003 | $as_echo_n "(cached) " >&6 |
2992 | $as_echo_n "(cached) " >&6 |
3004 | else |
2993 | else |
3005 | if test -n "$ac_ct_CC"; then |
2994 | if test -n "$ac_ct_CC"; then |
3006 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2995 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3007 | else |
2996 | else |
… | |
… | |
3052 | |
3041 | |
3053 | |
3042 | |
3054 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3043 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3055 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3044 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3056 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3045 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3057 | See \`config.log' for more details" "$LINENO" 5; } |
3046 | See \`config.log' for more details" "$LINENO" 5 ; } |
3058 | |
3047 | |
3059 | # Provide some information about the compiler. |
3048 | # Provide some information about the compiler. |
3060 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3049 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3061 | set X $ac_compile |
3050 | set X $ac_compile |
3062 | ac_compiler=$2 |
3051 | ac_compiler=$2 |
… | |
… | |
3167 | sed 's/^/| /' conftest.$ac_ext >&5 |
3156 | sed 's/^/| /' conftest.$ac_ext >&5 |
3168 | |
3157 | |
3169 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3158 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3170 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3159 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3171 | as_fn_error 77 "C compiler cannot create executables |
3160 | as_fn_error 77 "C compiler cannot create executables |
3172 | See \`config.log' for more details" "$LINENO" 5; } |
3161 | See \`config.log' for more details" "$LINENO" 5 ; } |
3173 | else |
3162 | else |
3174 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3163 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3175 | $as_echo "yes" >&6; } |
3164 | $as_echo "yes" >&6; } |
3176 | fi |
3165 | fi |
3177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3210 | done |
3199 | done |
3211 | else |
3200 | else |
3212 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3201 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3213 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3202 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3214 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3203 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3215 | See \`config.log' for more details" "$LINENO" 5; } |
3204 | See \`config.log' for more details" "$LINENO" 5 ; } |
3216 | fi |
3205 | fi |
3217 | rm -f conftest conftest$ac_cv_exeext |
3206 | rm -f conftest conftest$ac_cv_exeext |
3218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3219 | $as_echo "$ac_cv_exeext" >&6; } |
3208 | $as_echo "$ac_cv_exeext" >&6; } |
3220 | |
3209 | |
… | |
… | |
3269 | else |
3258 | else |
3270 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3259 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3271 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3260 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3272 | as_fn_error $? "cannot run C compiled programs. |
3261 | as_fn_error $? "cannot run C compiled programs. |
3273 | If you meant to cross compile, use \`--host'. |
3262 | If you meant to cross compile, use \`--host'. |
3274 | See \`config.log' for more details" "$LINENO" 5; } |
3263 | See \`config.log' for more details" "$LINENO" 5 ; } |
3275 | fi |
3264 | fi |
3276 | fi |
3265 | fi |
3277 | fi |
3266 | fi |
3278 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3267 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3279 | $as_echo "$cross_compiling" >&6; } |
3268 | $as_echo "$cross_compiling" >&6; } |
3280 | |
3269 | |
3281 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3270 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3282 | ac_clean_files=$ac_clean_files_save |
3271 | ac_clean_files=$ac_clean_files_save |
3283 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3284 | $as_echo_n "checking for suffix of object files... " >&6; } |
3273 | $as_echo_n "checking for suffix of object files... " >&6; } |
3285 | if ${ac_cv_objext+:} false; then : |
3274 | if test "${ac_cv_objext+set}" = set; then : |
3286 | $as_echo_n "(cached) " >&6 |
3275 | $as_echo_n "(cached) " >&6 |
3287 | else |
3276 | else |
3288 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3289 | /* end confdefs.h. */ |
3278 | /* end confdefs.h. */ |
3290 | |
3279 | |
… | |
… | |
3321 | sed 's/^/| /' conftest.$ac_ext >&5 |
3310 | sed 's/^/| /' conftest.$ac_ext >&5 |
3322 | |
3311 | |
3323 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3312 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3324 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3313 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3325 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3314 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3326 | See \`config.log' for more details" "$LINENO" 5; } |
3315 | See \`config.log' for more details" "$LINENO" 5 ; } |
3327 | fi |
3316 | fi |
3328 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3317 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3329 | fi |
3318 | fi |
3330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3331 | $as_echo "$ac_cv_objext" >&6; } |
3320 | $as_echo "$ac_cv_objext" >&6; } |
3332 | OBJEXT=$ac_cv_objext |
3321 | OBJEXT=$ac_cv_objext |
3333 | ac_objext=$OBJEXT |
3322 | ac_objext=$OBJEXT |
3334 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3335 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3324 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3336 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3325 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3337 | $as_echo_n "(cached) " >&6 |
3326 | $as_echo_n "(cached) " >&6 |
3338 | else |
3327 | else |
3339 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3328 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3340 | /* end confdefs.h. */ |
3329 | /* end confdefs.h. */ |
3341 | |
3330 | |
… | |
… | |
3368 | fi |
3357 | fi |
3369 | ac_test_CFLAGS=${CFLAGS+set} |
3358 | ac_test_CFLAGS=${CFLAGS+set} |
3370 | ac_save_CFLAGS=$CFLAGS |
3359 | ac_save_CFLAGS=$CFLAGS |
3371 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3372 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3361 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3373 | if ${ac_cv_prog_cc_g+:} false; then : |
3362 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
3374 | $as_echo_n "(cached) " >&6 |
3363 | $as_echo_n "(cached) " >&6 |
3375 | else |
3364 | else |
3376 | ac_save_c_werror_flag=$ac_c_werror_flag |
3365 | ac_save_c_werror_flag=$ac_c_werror_flag |
3377 | ac_c_werror_flag=yes |
3366 | ac_c_werror_flag=yes |
3378 | ac_cv_prog_cc_g=no |
3367 | ac_cv_prog_cc_g=no |
… | |
… | |
3446 | CFLAGS= |
3435 | CFLAGS= |
3447 | fi |
3436 | fi |
3448 | fi |
3437 | fi |
3449 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3450 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3439 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3451 | if ${ac_cv_prog_cc_c89+:} false; then : |
3440 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3452 | $as_echo_n "(cached) " >&6 |
3441 | $as_echo_n "(cached) " >&6 |
3453 | else |
3442 | else |
3454 | ac_cv_prog_cc_c89=no |
3443 | ac_cv_prog_cc_c89=no |
3455 | ac_save_CC=$CC |
3444 | ac_save_CC=$CC |
3456 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3445 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
3557 | do |
3546 | do |
3558 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3547 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3559 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3548 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3560 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3549 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3561 | $as_echo_n "checking for $ac_word... " >&6; } |
3550 | $as_echo_n "checking for $ac_word... " >&6; } |
3562 | if ${ac_cv_prog_CXX+:} false; then : |
3551 | if test "${ac_cv_prog_CXX+set}" = set; then : |
3563 | $as_echo_n "(cached) " >&6 |
3552 | $as_echo_n "(cached) " >&6 |
3564 | else |
3553 | else |
3565 | if test -n "$CXX"; then |
3554 | if test -n "$CXX"; then |
3566 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3555 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3567 | else |
3556 | else |
… | |
… | |
3601 | do |
3590 | do |
3602 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3591 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3603 | set dummy $ac_prog; ac_word=$2 |
3592 | set dummy $ac_prog; ac_word=$2 |
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3593 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3605 | $as_echo_n "checking for $ac_word... " >&6; } |
3594 | $as_echo_n "checking for $ac_word... " >&6; } |
3606 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3595 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
3607 | $as_echo_n "(cached) " >&6 |
3596 | $as_echo_n "(cached) " >&6 |
3608 | else |
3597 | else |
3609 | if test -n "$ac_ct_CXX"; then |
3598 | if test -n "$ac_ct_CXX"; then |
3610 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3599 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3611 | else |
3600 | else |
… | |
… | |
3679 | test $ac_status = 0; } |
3668 | test $ac_status = 0; } |
3680 | done |
3669 | done |
3681 | |
3670 | |
3682 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3671 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3683 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3672 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3684 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
3673 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
3685 | $as_echo_n "(cached) " >&6 |
3674 | $as_echo_n "(cached) " >&6 |
3686 | else |
3675 | else |
3687 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3676 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3688 | /* end confdefs.h. */ |
3677 | /* end confdefs.h. */ |
3689 | |
3678 | |
… | |
… | |
3716 | fi |
3705 | fi |
3717 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3706 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3718 | ac_save_CXXFLAGS=$CXXFLAGS |
3707 | ac_save_CXXFLAGS=$CXXFLAGS |
3719 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3720 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3709 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3721 | if ${ac_cv_prog_cxx_g+:} false; then : |
3710 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
3722 | $as_echo_n "(cached) " >&6 |
3711 | $as_echo_n "(cached) " >&6 |
3723 | else |
3712 | else |
3724 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3713 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3725 | ac_cxx_werror_flag=yes |
3714 | ac_cxx_werror_flag=yes |
3726 | ac_cv_prog_cxx_g=no |
3715 | ac_cv_prog_cxx_g=no |
… | |
… | |
3792 | CXXFLAGS="-O2" |
3781 | CXXFLAGS="-O2" |
3793 | else |
3782 | else |
3794 | CXXFLAGS= |
3783 | CXXFLAGS= |
3795 | fi |
3784 | fi |
3796 | fi |
3785 | 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 |
3786 | ac_ext=c |
3935 | ac_cpp='$CPP $CPPFLAGS' |
3787 | ac_cpp='$CPP $CPPFLAGS' |
3936 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3788 | 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' |
3789 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3938 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3790 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3952 | # ./install, which can be erroneously created by make from ./install.sh. |
3804 | # ./install, which can be erroneously created by make from ./install.sh. |
3953 | # Reject install programs that cannot install multiple files. |
3805 | # Reject install programs that cannot install multiple files. |
3954 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3806 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3955 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3807 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3956 | if test -z "$INSTALL"; then |
3808 | if test -z "$INSTALL"; then |
3957 | if ${ac_cv_path_install+:} false; then : |
3809 | if test "${ac_cv_path_install+set}" = set; then : |
3958 | $as_echo_n "(cached) " >&6 |
3810 | $as_echo_n "(cached) " >&6 |
3959 | else |
3811 | else |
3960 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3812 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3961 | for as_dir in $PATH |
3813 | for as_dir in $PATH |
3962 | do |
3814 | do |
… | |
… | |
4030 | |
3882 | |
4031 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3883 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4032 | |
3884 | |
4033 | |
3885 | |
4034 | |
3886 | |
|
|
3887 | ac_ext=c |
|
|
3888 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3889 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3890 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3891 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3893 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3894 | # On Suns, sometimes $CPP names a directory. |
|
|
3895 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3896 | CPP= |
|
|
3897 | fi |
|
|
3898 | if test -z "$CPP"; then |
|
|
3899 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
3900 | $as_echo_n "(cached) " >&6 |
|
|
3901 | else |
|
|
3902 | # Double quotes because CPP needs to be expanded |
|
|
3903 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3904 | do |
|
|
3905 | ac_preproc_ok=false |
|
|
3906 | for ac_c_preproc_warn_flag in '' yes |
|
|
3907 | do |
|
|
3908 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3909 | # with a fresh cross-compiler works. |
|
|
3910 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3911 | # <limits.h> exists even on freestanding compilers. |
|
|
3912 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3913 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3914 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3915 | /* end confdefs.h. */ |
|
|
3916 | #ifdef __STDC__ |
|
|
3917 | # include <limits.h> |
|
|
3918 | #else |
|
|
3919 | # include <assert.h> |
|
|
3920 | #endif |
|
|
3921 | Syntax error |
|
|
3922 | _ACEOF |
|
|
3923 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3924 | |
|
|
3925 | else |
|
|
3926 | # Broken: fails on valid input. |
|
|
3927 | continue |
|
|
3928 | fi |
|
|
3929 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3930 | |
|
|
3931 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3932 | # can be detected and how. |
|
|
3933 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3934 | /* end confdefs.h. */ |
|
|
3935 | #include <ac_nonexistent.h> |
|
|
3936 | _ACEOF |
|
|
3937 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3938 | # Broken: success on invalid input. |
|
|
3939 | continue |
|
|
3940 | else |
|
|
3941 | # Passes both tests. |
|
|
3942 | ac_preproc_ok=: |
|
|
3943 | break |
|
|
3944 | fi |
|
|
3945 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3946 | |
|
|
3947 | done |
|
|
3948 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3949 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3950 | if $ac_preproc_ok; then : |
|
|
3951 | break |
|
|
3952 | fi |
|
|
3953 | |
|
|
3954 | done |
|
|
3955 | ac_cv_prog_CPP=$CPP |
|
|
3956 | |
|
|
3957 | fi |
|
|
3958 | CPP=$ac_cv_prog_CPP |
|
|
3959 | else |
|
|
3960 | ac_cv_prog_CPP=$CPP |
|
|
3961 | fi |
|
|
3962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3963 | $as_echo "$CPP" >&6; } |
|
|
3964 | ac_preproc_ok=false |
|
|
3965 | for ac_c_preproc_warn_flag in '' yes |
|
|
3966 | do |
|
|
3967 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3968 | # with a fresh cross-compiler works. |
|
|
3969 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3970 | # <limits.h> exists even on freestanding compilers. |
|
|
3971 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3972 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3973 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3974 | /* end confdefs.h. */ |
|
|
3975 | #ifdef __STDC__ |
|
|
3976 | # include <limits.h> |
|
|
3977 | #else |
|
|
3978 | # include <assert.h> |
|
|
3979 | #endif |
|
|
3980 | Syntax error |
|
|
3981 | _ACEOF |
|
|
3982 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3983 | |
|
|
3984 | else |
|
|
3985 | # Broken: fails on valid input. |
|
|
3986 | continue |
|
|
3987 | fi |
|
|
3988 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3989 | |
|
|
3990 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3991 | # can be detected and how. |
|
|
3992 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3993 | /* end confdefs.h. */ |
|
|
3994 | #include <ac_nonexistent.h> |
|
|
3995 | _ACEOF |
|
|
3996 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3997 | # Broken: success on invalid input. |
|
|
3998 | continue |
|
|
3999 | else |
|
|
4000 | # Passes both tests. |
|
|
4001 | ac_preproc_ok=: |
|
|
4002 | break |
|
|
4003 | fi |
|
|
4004 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4005 | |
|
|
4006 | done |
|
|
4007 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4008 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4009 | if $ac_preproc_ok; then : |
|
|
4010 | |
|
|
4011 | else |
|
|
4012 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
4013 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
4014 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
4015 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
4016 | fi |
|
|
4017 | |
|
|
4018 | ac_ext=c |
|
|
4019 | ac_cpp='$CPP $CPPFLAGS' |
|
|
4020 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4021 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4022 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
4023 | |
4035 | |
4024 | |
4036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4025 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4037 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4026 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4038 | if ${ac_cv_path_GREP+:} false; then : |
4027 | if test "${ac_cv_path_GREP+set}" = set; then : |
4039 | $as_echo_n "(cached) " >&6 |
4028 | $as_echo_n "(cached) " >&6 |
4040 | else |
4029 | else |
4041 | if test -z "$GREP"; then |
4030 | if test -z "$GREP"; then |
4042 | ac_path_GREP_found=false |
4031 | ac_path_GREP_found=false |
4043 | # Loop through the user's path and test for each of PROGNAME-LIST |
4032 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
4096 | GREP="$ac_cv_path_GREP" |
4085 | GREP="$ac_cv_path_GREP" |
4097 | |
4086 | |
4098 | |
4087 | |
4099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4100 | $as_echo_n "checking for egrep... " >&6; } |
4089 | $as_echo_n "checking for egrep... " >&6; } |
4101 | if ${ac_cv_path_EGREP+:} false; then : |
4090 | if test "${ac_cv_path_EGREP+set}" = set; then : |
4102 | $as_echo_n "(cached) " >&6 |
4091 | $as_echo_n "(cached) " >&6 |
4103 | else |
4092 | else |
4104 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4093 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4105 | then ac_cv_path_EGREP="$GREP -E" |
4094 | then ac_cv_path_EGREP="$GREP -E" |
4106 | else |
4095 | else |
… | |
… | |
4163 | EGREP="$ac_cv_path_EGREP" |
4152 | EGREP="$ac_cv_path_EGREP" |
4164 | |
4153 | |
4165 | |
4154 | |
4166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4167 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4156 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4168 | if ${ac_cv_header_stdc+:} false; then : |
4157 | if test "${ac_cv_header_stdc+set}" = set; then : |
4169 | $as_echo_n "(cached) " >&6 |
4158 | $as_echo_n "(cached) " >&6 |
4170 | else |
4159 | else |
4171 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4172 | /* end confdefs.h. */ |
4161 | /* end confdefs.h. */ |
4173 | #include <stdlib.h> |
4162 | #include <stdlib.h> |
… | |
… | |
4292 | done |
4281 | done |
4293 | |
4282 | |
4294 | |
4283 | |
4295 | |
4284 | |
4296 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4285 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4297 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
4286 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
4298 | MINIX=yes |
4287 | MINIX=yes |
4299 | else |
4288 | else |
4300 | MINIX= |
4289 | MINIX= |
4301 | fi |
4290 | fi |
4302 | |
4291 | |
… | |
… | |
4314 | fi |
4303 | fi |
4315 | |
4304 | |
4316 | |
4305 | |
4317 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4306 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4318 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4307 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4319 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
4308 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
4320 | $as_echo_n "(cached) " >&6 |
4309 | $as_echo_n "(cached) " >&6 |
4321 | else |
4310 | else |
4322 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4311 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4323 | /* end confdefs.h. */ |
4312 | /* end confdefs.h. */ |
4324 | |
4313 | |
… | |
… | |
4355 | |
4344 | |
4356 | |
4345 | |
4357 | |
4346 | |
4358 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4347 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4359 | $as_echo_n "checking for library containing strerror... " >&6; } |
4348 | $as_echo_n "checking for library containing strerror... " >&6; } |
4360 | if ${ac_cv_search_strerror+:} false; then : |
4349 | if test "${ac_cv_search_strerror+set}" = set; then : |
4361 | $as_echo_n "(cached) " >&6 |
4350 | $as_echo_n "(cached) " >&6 |
4362 | else |
4351 | else |
4363 | ac_func_search_save_LIBS=$LIBS |
4352 | ac_func_search_save_LIBS=$LIBS |
4364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4353 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4365 | /* end confdefs.h. */ |
4354 | /* end confdefs.h. */ |
… | |
… | |
4389 | if ac_fn_c_try_link "$LINENO"; then : |
4378 | if ac_fn_c_try_link "$LINENO"; then : |
4390 | ac_cv_search_strerror=$ac_res |
4379 | ac_cv_search_strerror=$ac_res |
4391 | fi |
4380 | fi |
4392 | rm -f core conftest.err conftest.$ac_objext \ |
4381 | rm -f core conftest.err conftest.$ac_objext \ |
4393 | conftest$ac_exeext |
4382 | conftest$ac_exeext |
4394 | if ${ac_cv_search_strerror+:} false; then : |
4383 | if test "${ac_cv_search_strerror+set}" = set; then : |
4395 | break |
4384 | break |
4396 | fi |
4385 | fi |
4397 | done |
4386 | done |
4398 | if ${ac_cv_search_strerror+:} false; then : |
4387 | if test "${ac_cv_search_strerror+set}" = set; then : |
4399 | |
4388 | |
4400 | else |
4389 | else |
4401 | ac_cv_search_strerror=no |
4390 | ac_cv_search_strerror=no |
4402 | fi |
4391 | fi |
4403 | rm conftest.$ac_ext |
4392 | rm conftest.$ac_ext |
… | |
… | |
4416 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4405 | 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' |
4406 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4418 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4407 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4419 | |
4408 | |
4420 | |
4409 | |
|
|
4410 | LINKER="$CXX" |
4421 | if test x$GCC = xyes && test x$GXX = xyes; then |
4411 | if test x$GCC = xyes && test x$GXX = xyes; then |
4422 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4423 | $as_echo_n "checking for working libsupc++... " >&6; } |
4413 | $as_echo_n "checking for working libsupc++... " >&6; } |
4424 | save_CXX="$CXX" |
4414 | save_CXX="$CXX" |
4425 | save_LIBS="$LIBS" |
4415 | save_LIBS="$LIBS" |
4426 | CXX="$CC" |
4416 | CXX="$CC" |
4427 | LIBS="$LIBS -lsupc++" |
4417 | LIBS="$LIBS -lsupc++" |
4428 | LINKER="$CC" |
|
|
4429 | |
4418 | |
4430 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4419 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4431 | /* end confdefs.h. */ |
4420 | /* end confdefs.h. */ |
4432 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4421 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4433 | int |
4422 | int |
… | |
… | |
4439 | } |
4428 | } |
4440 | _ACEOF |
4429 | _ACEOF |
4441 | if ac_fn_cxx_try_link "$LINENO"; then : |
4430 | if ac_fn_cxx_try_link "$LINENO"; then : |
4442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4431 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4443 | $as_echo "ok" >&6; } |
4432 | $as_echo "ok" >&6; } |
|
|
4433 | LINKER="$CC" |
4444 | else |
4434 | else |
4445 | |
4435 | |
4446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4436 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4447 | $as_echo "no, making everything bigger and slower" >&6; } |
4437 | $as_echo "no, making everything bigger and slower" >&6; } |
4448 | LIBS="$save_LIBS" |
4438 | LIBS="$save_LIBS" |
4449 | LINKER="$save_CXX" |
|
|
4450 | |
4439 | |
4451 | |
4440 | |
4452 | fi |
4441 | fi |
4453 | rm -f core conftest.err conftest.$ac_objext \ |
4442 | rm -f core conftest.err conftest.$ac_objext \ |
4454 | conftest$ac_exeext conftest.$ac_ext |
4443 | conftest$ac_exeext conftest.$ac_ext |
… | |
… | |
4481 | CXXFLAGS="-O" |
4470 | CXXFLAGS="-O" |
4482 | fi |
4471 | fi |
4483 | CFLAGS="$CXXFLAGS" |
4472 | CFLAGS="$CXXFLAGS" |
4484 | fi |
4473 | fi |
4485 | |
4474 | |
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 |
4475 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4495 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4476 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4496 | if ${ac_cv_search_setlocale+:} false; then : |
4477 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4497 | $as_echo_n "(cached) " >&6 |
4478 | $as_echo_n "(cached) " >&6 |
4498 | else |
4479 | else |
4499 | ac_func_search_save_LIBS=$LIBS |
4480 | ac_func_search_save_LIBS=$LIBS |
4500 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4481 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4501 | /* end confdefs.h. */ |
4482 | /* end confdefs.h. */ |
… | |
… | |
4525 | if ac_fn_cxx_try_link "$LINENO"; then : |
4506 | if ac_fn_cxx_try_link "$LINENO"; then : |
4526 | ac_cv_search_setlocale=$ac_res |
4507 | ac_cv_search_setlocale=$ac_res |
4527 | fi |
4508 | fi |
4528 | rm -f core conftest.err conftest.$ac_objext \ |
4509 | rm -f core conftest.err conftest.$ac_objext \ |
4529 | conftest$ac_exeext |
4510 | conftest$ac_exeext |
4530 | if ${ac_cv_search_setlocale+:} false; then : |
4511 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4531 | break |
4512 | break |
4532 | fi |
4513 | fi |
4533 | done |
4514 | done |
4534 | if ${ac_cv_search_setlocale+:} false; then : |
4515 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4535 | |
4516 | |
4536 | else |
4517 | else |
4537 | ac_cv_search_setlocale=no |
4518 | ac_cv_search_setlocale=no |
4538 | fi |
4519 | fi |
4539 | rm conftest.$ac_ext |
4520 | rm conftest.$ac_ext |
… | |
… | |
4548 | fi |
4529 | fi |
4549 | |
4530 | |
4550 | |
4531 | |
4551 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
4532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
4552 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4533 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4553 | if ${ac_cv_search_gethostbyname+:} false; then : |
4534 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4554 | $as_echo_n "(cached) " >&6 |
4535 | $as_echo_n "(cached) " >&6 |
4555 | else |
4536 | else |
4556 | ac_func_search_save_LIBS=$LIBS |
4537 | ac_func_search_save_LIBS=$LIBS |
4557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4538 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4558 | /* end confdefs.h. */ |
4539 | /* end confdefs.h. */ |
… | |
… | |
4582 | if ac_fn_cxx_try_link "$LINENO"; then : |
4563 | if ac_fn_cxx_try_link "$LINENO"; then : |
4583 | ac_cv_search_gethostbyname=$ac_res |
4564 | ac_cv_search_gethostbyname=$ac_res |
4584 | fi |
4565 | fi |
4585 | rm -f core conftest.err conftest.$ac_objext \ |
4566 | rm -f core conftest.err conftest.$ac_objext \ |
4586 | conftest$ac_exeext |
4567 | conftest$ac_exeext |
4587 | if ${ac_cv_search_gethostbyname+:} false; then : |
4568 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4588 | break |
4569 | break |
4589 | fi |
4570 | fi |
4590 | done |
4571 | done |
4591 | if ${ac_cv_search_gethostbyname+:} false; then : |
4572 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4592 | |
4573 | |
4593 | else |
4574 | else |
4594 | ac_cv_search_gethostbyname=no |
4575 | ac_cv_search_gethostbyname=no |
4595 | fi |
4576 | fi |
4596 | rm conftest.$ac_ext |
4577 | rm conftest.$ac_ext |
… | |
… | |
4604 | |
4585 | |
4605 | fi |
4586 | fi |
4606 | |
4587 | |
4607 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
4588 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
4608 | $as_echo_n "checking for library containing socket... " >&6; } |
4589 | $as_echo_n "checking for library containing socket... " >&6; } |
4609 | if ${ac_cv_search_socket+:} false; then : |
4590 | if test "${ac_cv_search_socket+set}" = set; then : |
4610 | $as_echo_n "(cached) " >&6 |
4591 | $as_echo_n "(cached) " >&6 |
4611 | else |
4592 | else |
4612 | ac_func_search_save_LIBS=$LIBS |
4593 | ac_func_search_save_LIBS=$LIBS |
4613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4614 | /* end confdefs.h. */ |
4595 | /* end confdefs.h. */ |
… | |
… | |
4638 | if ac_fn_cxx_try_link "$LINENO"; then : |
4619 | if ac_fn_cxx_try_link "$LINENO"; then : |
4639 | ac_cv_search_socket=$ac_res |
4620 | ac_cv_search_socket=$ac_res |
4640 | fi |
4621 | fi |
4641 | rm -f core conftest.err conftest.$ac_objext \ |
4622 | rm -f core conftest.err conftest.$ac_objext \ |
4642 | conftest$ac_exeext |
4623 | conftest$ac_exeext |
4643 | if ${ac_cv_search_socket+:} false; then : |
4624 | if test "${ac_cv_search_socket+set}" = set; then : |
4644 | break |
4625 | break |
4645 | fi |
4626 | fi |
4646 | done |
4627 | done |
4647 | if ${ac_cv_search_socket+:} false; then : |
4628 | if test "${ac_cv_search_socket+set}" = set; then : |
4648 | |
4629 | |
4649 | else |
4630 | else |
4650 | ac_cv_search_socket=no |
4631 | ac_cv_search_socket=no |
4651 | fi |
4632 | fi |
4652 | rm conftest.$ac_ext |
4633 | rm conftest.$ac_ext |
… | |
… | |
4673 | support_scroll_rxvt=yes |
4654 | support_scroll_rxvt=yes |
4674 | support_scroll_next=yes |
4655 | support_scroll_next=yes |
4675 | support_scroll_xterm=yes |
4656 | support_scroll_xterm=yes |
4676 | support_xim=yes |
4657 | support_xim=yes |
4677 | support_pixbuf=yes |
4658 | support_pixbuf=yes |
4678 | support_afterimage=yes |
4659 | support_startup_notification=yes |
4679 | support_xft=yes |
4660 | support_xft=yes |
4680 | support_unicode3=no |
4661 | support_unicode3=no |
4681 | support_combining=yes |
4662 | support_combining=yes |
4682 | support_8bitctrls=no |
4663 | support_8bitctrls=no |
4683 | support_iso14755=yes |
4664 | support_iso14755=yes |
… | |
… | |
4705 | support_scroll_xterm=no |
4686 | support_scroll_xterm=no |
4706 | support_utmp=no |
4687 | support_utmp=no |
4707 | support_wtmp=no |
4688 | support_wtmp=no |
4708 | support_xim=no |
4689 | support_xim=no |
4709 | support_pixbuf=no |
4690 | support_pixbuf=no |
4710 | support_afterimage=no |
4691 | support_startup_notification=no |
4711 | support_xft=no |
4692 | support_xft=no |
4712 | support_unicode3=no |
4693 | support_unicode3=no |
4713 | support_combining=no |
4694 | support_combining=no |
4714 | support_8bitctrls=no |
4695 | support_8bitctrls=no |
4715 | support_iso14755=no |
4696 | support_iso14755=no |
… | |
… | |
4733 | support_scroll_xterm=yes |
4714 | support_scroll_xterm=yes |
4734 | support_utmp=yes |
4715 | support_utmp=yes |
4735 | support_wtmp=yes |
4716 | support_wtmp=yes |
4736 | support_xim=yes |
4717 | support_xim=yes |
4737 | support_pixbuf=yes |
4718 | support_pixbuf=yes |
4738 | support_afterimage=yes |
4719 | support_startup_notification=yes |
4739 | support_xft=yes |
4720 | support_xft=yes |
4740 | support_unicode3=yes |
4721 | support_unicode3=yes |
4741 | support_combining=yes |
4722 | support_combining=yes |
4742 | #support_8bitctrls=yes |
4723 | #support_8bitctrls=yes |
4743 | support_iso14755=yes |
4724 | support_iso14755=yes |
… | |
… | |
4747 | fi |
4728 | fi |
4748 | |
4729 | |
4749 | fi |
4730 | fi |
4750 | |
4731 | |
4751 | |
4732 | |
4752 | ASSERTIONS=no |
4733 | support_assertions=no |
4753 | # Check whether --enable-assert was given. |
4734 | # Check whether --enable-assert was given. |
4754 | if test "${enable_assert+set}" = set; then : |
4735 | if test "${enable_assert+set}" = set; then : |
4755 | enableval=$enable_assert; if test x$enableval = xyes; then |
4736 | enableval=$enable_assert; if test x$enableval = xyes; then |
4756 | ASSERTIONS=yes |
4737 | support_assertions=yes |
4757 | fi |
4738 | fi |
4758 | fi |
4739 | fi |
4759 | |
4740 | |
4760 | if test x$ASSERTIONS = xno; then |
4741 | if test x$support_assertions = xno; then |
4761 | |
4742 | |
4762 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4743 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4763 | |
4744 | |
4764 | fi |
4745 | fi |
4765 | |
4746 | |
4766 | WARNINGS=no |
4747 | support_warnings=no |
4767 | # Check whether --enable-warnings was given. |
4748 | # Check whether --enable-warnings was given. |
4768 | if test "${enable_warnings+set}" = set; then : |
4749 | if test "${enable_warnings+set}" = set; then : |
4769 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4750 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4770 | WARNINGS=yes |
4751 | support_warnings=yes |
4771 | fi |
4752 | fi |
4772 | fi |
4753 | fi |
4773 | |
4754 | |
4774 | if test x$GXX = xyes; then |
4755 | if test x$GXX = xyes; then |
4775 | if test $WARNINGS = yes; then |
4756 | if test $support_warnings = yes; then |
4776 | save_CXXFLAGS="$CXXFLAGS" |
4757 | save_CXXFLAGS="$CXXFLAGS" |
4777 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
4758 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" |
4778 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4759 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4779 | /* end confdefs.h. */ |
4760 | /* end confdefs.h. */ |
4780 | |
4761 | |
4781 | int |
4762 | int |
4782 | main () |
4763 | main () |
… | |
… | |
4841 | support_styles=$enableval |
4822 | support_styles=$enableval |
4842 | fi |
4823 | fi |
4843 | fi |
4824 | fi |
4844 | |
4825 | |
4845 | |
4826 | |
4846 | # Check whether --enable-afterimage was given. |
|
|
4847 | if test "${enable_afterimage+set}" = set; then : |
|
|
4848 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4849 | support_afterimage=$enableval |
|
|
4850 | fi |
|
|
4851 | fi |
|
|
4852 | |
|
|
4853 | |
|
|
4854 | |
|
|
4855 | # Check whether --with-afterimage_config was given. |
|
|
4856 | if test "${with_afterimage_config+set}" = set; then : |
|
|
4857 | withval=$with_afterimage_config; if test "x$withval" != x; then |
|
|
4858 | afterimage_config=$withval/afterimage-config |
|
|
4859 | fi |
|
|
4860 | fi |
|
|
4861 | |
|
|
4862 | |
|
|
4863 | # Check whether --enable-pixbuf was given. |
4827 | # Check whether --enable-pixbuf was given. |
4864 | if test "${enable_pixbuf+set}" = set; then : |
4828 | if test "${enable_pixbuf+set}" = set; then : |
4865 | enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then |
4829 | enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then |
4866 | support_pixbuf=$enableval |
4830 | support_pixbuf=$enableval |
|
|
4831 | fi |
|
|
4832 | fi |
|
|
4833 | |
|
|
4834 | |
|
|
4835 | # Check whether --enable-startup-notification was given. |
|
|
4836 | if test "${enable_startup_notification+set}" = set; then : |
|
|
4837 | enableval=$enable_startup_notification; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4838 | support_startup_notification=$enableval |
4867 | fi |
4839 | fi |
4868 | fi |
4840 | fi |
4869 | |
4841 | |
4870 | |
4842 | |
4871 | # Check whether --enable-transparency was given. |
4843 | # Check whether --enable-transparency was given. |
… | |
… | |
5148 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5120 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5149 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5121 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5150 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
5122 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
5151 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5123 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5152 | if test -z "$CXXCPP"; then |
5124 | if test -z "$CXXCPP"; then |
5153 | if ${ac_cv_prog_CXXCPP+:} false; then : |
5125 | if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
5154 | $as_echo_n "(cached) " >&6 |
5126 | $as_echo_n "(cached) " >&6 |
5155 | else |
5127 | else |
5156 | # Double quotes because CXXCPP needs to be expanded |
5128 | # Double quotes because CXXCPP needs to be expanded |
5157 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5129 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5158 | do |
5130 | do |
… | |
… | |
5264 | |
5236 | |
5265 | else |
5237 | else |
5266 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5238 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5267 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5239 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5268 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5240 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5269 | See \`config.log' for more details" "$LINENO" 5; } |
5241 | See \`config.log' for more details" "$LINENO" 5 ; } |
5270 | fi |
5242 | fi |
5271 | |
5243 | |
5272 | ac_ext=cpp |
5244 | ac_ext=cpp |
5273 | ac_cpp='$CXXCPP $CPPFLAGS' |
5245 | ac_cpp='$CXXCPP $CPPFLAGS' |
5274 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5246 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5304 | |
5276 | |
5305 | |
5277 | |
5306 | for ac_func in clock_gettime |
5278 | for ac_func in clock_gettime |
5307 | do : |
5279 | do : |
5308 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5280 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5309 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5281 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5310 | cat >>confdefs.h <<_ACEOF |
5282 | cat >>confdefs.h <<_ACEOF |
5311 | #define HAVE_CLOCK_GETTIME 1 |
5283 | #define HAVE_CLOCK_GETTIME 1 |
5312 | _ACEOF |
5284 | _ACEOF |
5313 | |
5285 | |
5314 | else |
5286 | else |
… | |
… | |
5344 | conftest$ac_exeext conftest.$ac_ext |
5316 | conftest$ac_exeext conftest.$ac_ext |
5345 | fi |
5317 | fi |
5346 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5318 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5347 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
5319 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
5348 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5320 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5349 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
5321 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : |
5350 | $as_echo_n "(cached) " >&6 |
5322 | $as_echo_n "(cached) " >&6 |
5351 | else |
5323 | else |
5352 | ac_check_lib_save_LIBS=$LIBS |
5324 | ac_check_lib_save_LIBS=$LIBS |
5353 | LIBS="-lrt $LIBS" |
5325 | LIBS="-lrt $LIBS" |
5354 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5378 | conftest$ac_exeext conftest.$ac_ext |
5350 | conftest$ac_exeext conftest.$ac_ext |
5379 | LIBS=$ac_check_lib_save_LIBS |
5351 | LIBS=$ac_check_lib_save_LIBS |
5380 | fi |
5352 | fi |
5381 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
5353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
5382 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5354 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5383 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
5355 | if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : |
5384 | cat >>confdefs.h <<_ACEOF |
5356 | cat >>confdefs.h <<_ACEOF |
5385 | #define HAVE_LIBRT 1 |
5357 | #define HAVE_LIBRT 1 |
5386 | _ACEOF |
5358 | _ACEOF |
5387 | |
5359 | |
5388 | LIBS="-lrt $LIBS" |
5360 | LIBS="-lrt $LIBS" |
… | |
… | |
5391 | |
5363 | |
5392 | unset ac_cv_func_clock_gettime |
5364 | unset ac_cv_func_clock_gettime |
5393 | for ac_func in clock_gettime |
5365 | for ac_func in clock_gettime |
5394 | do : |
5366 | do : |
5395 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5367 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5396 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5368 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5397 | cat >>confdefs.h <<_ACEOF |
5369 | cat >>confdefs.h <<_ACEOF |
5398 | #define HAVE_CLOCK_GETTIME 1 |
5370 | #define HAVE_CLOCK_GETTIME 1 |
5399 | _ACEOF |
5371 | _ACEOF |
5400 | |
5372 | |
5401 | fi |
5373 | fi |
… | |
… | |
5408 | |
5380 | |
5409 | |
5381 | |
5410 | for ac_func in nanosleep |
5382 | for ac_func in nanosleep |
5411 | do : |
5383 | do : |
5412 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5384 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5413 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5385 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5414 | cat >>confdefs.h <<_ACEOF |
5386 | cat >>confdefs.h <<_ACEOF |
5415 | #define HAVE_NANOSLEEP 1 |
5387 | #define HAVE_NANOSLEEP 1 |
5416 | _ACEOF |
5388 | _ACEOF |
5417 | |
5389 | |
5418 | else |
5390 | else |
5419 | |
5391 | |
5420 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5392 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5422 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5394 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5423 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
5395 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : |
5424 | $as_echo_n "(cached) " >&6 |
5396 | $as_echo_n "(cached) " >&6 |
5425 | else |
5397 | else |
5426 | ac_check_lib_save_LIBS=$LIBS |
5398 | ac_check_lib_save_LIBS=$LIBS |
5427 | LIBS="-lrt $LIBS" |
5399 | LIBS="-lrt $LIBS" |
5428 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5400 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5452 | conftest$ac_exeext conftest.$ac_ext |
5424 | conftest$ac_exeext conftest.$ac_ext |
5453 | LIBS=$ac_check_lib_save_LIBS |
5425 | LIBS=$ac_check_lib_save_LIBS |
5454 | fi |
5426 | fi |
5455 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
5427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
5456 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5428 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5457 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
5429 | if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : |
5458 | cat >>confdefs.h <<_ACEOF |
5430 | cat >>confdefs.h <<_ACEOF |
5459 | #define HAVE_LIBRT 1 |
5431 | #define HAVE_LIBRT 1 |
5460 | _ACEOF |
5432 | _ACEOF |
5461 | |
5433 | |
5462 | LIBS="-lrt $LIBS" |
5434 | LIBS="-lrt $LIBS" |
… | |
… | |
5465 | |
5437 | |
5466 | unset ac_cv_func_nanosleep |
5438 | unset ac_cv_func_nanosleep |
5467 | for ac_func in nanosleep |
5439 | for ac_func in nanosleep |
5468 | do : |
5440 | do : |
5469 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5441 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5470 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5442 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5471 | cat >>confdefs.h <<_ACEOF |
5443 | cat >>confdefs.h <<_ACEOF |
5472 | #define HAVE_NANOSLEEP 1 |
5444 | #define HAVE_NANOSLEEP 1 |
5473 | _ACEOF |
5445 | _ACEOF |
5474 | |
5446 | |
5475 | fi |
5447 | fi |
… | |
… | |
5484 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5456 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5485 | LIBM=m |
5457 | LIBM=m |
5486 | fi |
5458 | fi |
5487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5488 | $as_echo_n "checking for library containing floor... " >&6; } |
5460 | $as_echo_n "checking for library containing floor... " >&6; } |
5489 | if ${ac_cv_search_floor+:} false; then : |
5461 | if test "${ac_cv_search_floor+set}" = set; then : |
5490 | $as_echo_n "(cached) " >&6 |
5462 | $as_echo_n "(cached) " >&6 |
5491 | else |
5463 | else |
5492 | ac_func_search_save_LIBS=$LIBS |
5464 | ac_func_search_save_LIBS=$LIBS |
5493 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5494 | /* end confdefs.h. */ |
5466 | /* end confdefs.h. */ |
… | |
… | |
5518 | if ac_fn_cxx_try_link "$LINENO"; then : |
5490 | if ac_fn_cxx_try_link "$LINENO"; then : |
5519 | ac_cv_search_floor=$ac_res |
5491 | ac_cv_search_floor=$ac_res |
5520 | fi |
5492 | fi |
5521 | rm -f core conftest.err conftest.$ac_objext \ |
5493 | rm -f core conftest.err conftest.$ac_objext \ |
5522 | conftest$ac_exeext |
5494 | conftest$ac_exeext |
5523 | if ${ac_cv_search_floor+:} false; then : |
5495 | if test "${ac_cv_search_floor+set}" = set; then : |
5524 | break |
5496 | break |
5525 | fi |
5497 | fi |
5526 | done |
5498 | done |
5527 | if ${ac_cv_search_floor+:} false; then : |
5499 | if test "${ac_cv_search_floor+set}" = set; then : |
5528 | |
5500 | |
5529 | else |
5501 | else |
5530 | ac_cv_search_floor=no |
5502 | ac_cv_search_floor=no |
5531 | fi |
5503 | fi |
5532 | rm conftest.$ac_ext |
5504 | rm conftest.$ac_ext |
… | |
… | |
5548 | |
5520 | |
5549 | # Extract the first word of "tic", so it can be a program name with args. |
5521 | # Extract the first word of "tic", so it can be a program name with args. |
5550 | set dummy tic; ac_word=$2 |
5522 | set dummy tic; ac_word=$2 |
5551 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5552 | $as_echo_n "checking for $ac_word... " >&6; } |
5524 | $as_echo_n "checking for $ac_word... " >&6; } |
5553 | if ${ac_cv_path_TIC+:} false; then : |
5525 | if test "${ac_cv_path_TIC+set}" = set; then : |
5554 | $as_echo_n "(cached) " >&6 |
5526 | $as_echo_n "(cached) " >&6 |
5555 | else |
5527 | else |
5556 | case $TIC in |
5528 | case $TIC in |
5557 | [\\/]* | ?:[\\/]*) |
5529 | [\\/]* | ?:[\\/]*) |
5558 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
5530 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
… | |
… | |
5601 | if test "x$with_x" = xno; then |
5573 | if test "x$with_x" = xno; then |
5602 | # The user explicitly disabled X. |
5574 | # The user explicitly disabled X. |
5603 | have_x=disabled |
5575 | have_x=disabled |
5604 | else |
5576 | else |
5605 | case $x_includes,$x_libraries in #( |
5577 | case $x_includes,$x_libraries in #( |
5606 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
5578 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( |
5607 | *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
5579 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
5608 | $as_echo_n "(cached) " >&6 |
5580 | $as_echo_n "(cached) " >&6 |
5609 | else |
5581 | else |
5610 | # One or both of the vars are not set, and there is no cached value. |
5582 | # One or both of the vars are not set, and there is no cached value. |
5611 | ac_x_includes=no ac_x_libraries=no |
5583 | ac_x_includes=no ac_x_libraries=no |
5612 | rm -f -r conftest.dir |
5584 | rm -f -r conftest.dir |
… | |
… | |
5879 | if ac_fn_cxx_try_link "$LINENO"; then : |
5851 | if ac_fn_cxx_try_link "$LINENO"; then : |
5880 | |
5852 | |
5881 | else |
5853 | else |
5882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
5854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
5883 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5855 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5884 | if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : |
5856 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : |
5885 | $as_echo_n "(cached) " >&6 |
5857 | $as_echo_n "(cached) " >&6 |
5886 | else |
5858 | else |
5887 | ac_check_lib_save_LIBS=$LIBS |
5859 | ac_check_lib_save_LIBS=$LIBS |
5888 | LIBS="-ldnet $LIBS" |
5860 | LIBS="-ldnet $LIBS" |
5889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5913 | conftest$ac_exeext conftest.$ac_ext |
5885 | conftest$ac_exeext conftest.$ac_ext |
5914 | LIBS=$ac_check_lib_save_LIBS |
5886 | LIBS=$ac_check_lib_save_LIBS |
5915 | fi |
5887 | fi |
5916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
5888 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
5917 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5889 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5918 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : |
5890 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : |
5919 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5891 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5920 | fi |
5892 | fi |
5921 | |
5893 | |
5922 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5894 | 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 |
5895 | { $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; } |
5896 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5925 | if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : |
5897 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : |
5926 | $as_echo_n "(cached) " >&6 |
5898 | $as_echo_n "(cached) " >&6 |
5927 | else |
5899 | else |
5928 | ac_check_lib_save_LIBS=$LIBS |
5900 | ac_check_lib_save_LIBS=$LIBS |
5929 | LIBS="-ldnet_stub $LIBS" |
5901 | LIBS="-ldnet_stub $LIBS" |
5930 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5902 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5954 | conftest$ac_exeext conftest.$ac_ext |
5926 | conftest$ac_exeext conftest.$ac_ext |
5955 | LIBS=$ac_check_lib_save_LIBS |
5927 | LIBS=$ac_check_lib_save_LIBS |
5956 | fi |
5928 | fi |
5957 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
5929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
5958 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5930 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5959 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : |
5931 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : |
5960 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5932 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5961 | fi |
5933 | fi |
5962 | |
5934 | |
5963 | fi |
5935 | fi |
5964 | fi |
5936 | fi |
… | |
… | |
5973 | # The nsl library prevents programs from opening the X display |
5945 | # The nsl library prevents programs from opening the X display |
5974 | # on Irix 5.2, according to T.E. Dickey. |
5946 | # on Irix 5.2, according to T.E. Dickey. |
5975 | # The functions gethostbyname, getservbyname, and inet_addr are |
5947 | # The functions gethostbyname, getservbyname, and inet_addr are |
5976 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
5948 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
5977 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5949 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5978 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
5950 | if test "x$ac_cv_func_gethostbyname" = x""yes; then : |
5979 | |
5951 | |
5980 | fi |
5952 | fi |
5981 | |
5953 | |
5982 | if test $ac_cv_func_gethostbyname = no; then |
5954 | if test $ac_cv_func_gethostbyname = no; then |
5983 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5955 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5984 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5956 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5985 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
5957 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : |
5986 | $as_echo_n "(cached) " >&6 |
5958 | $as_echo_n "(cached) " >&6 |
5987 | else |
5959 | else |
5988 | ac_check_lib_save_LIBS=$LIBS |
5960 | ac_check_lib_save_LIBS=$LIBS |
5989 | LIBS="-lnsl $LIBS" |
5961 | LIBS="-lnsl $LIBS" |
5990 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5962 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6014 | conftest$ac_exeext conftest.$ac_ext |
5986 | conftest$ac_exeext conftest.$ac_ext |
6015 | LIBS=$ac_check_lib_save_LIBS |
5987 | LIBS=$ac_check_lib_save_LIBS |
6016 | fi |
5988 | fi |
6017 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
5989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
6018 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
5990 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
6019 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
5991 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : |
6020 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
5992 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
6021 | fi |
5993 | fi |
6022 | |
5994 | |
6023 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
5995 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
6024 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
5996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
6025 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
5997 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
6026 | if ${ac_cv_lib_bsd_gethostbyname+:} false; then : |
5998 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : |
6027 | $as_echo_n "(cached) " >&6 |
5999 | $as_echo_n "(cached) " >&6 |
6028 | else |
6000 | else |
6029 | ac_check_lib_save_LIBS=$LIBS |
6001 | ac_check_lib_save_LIBS=$LIBS |
6030 | LIBS="-lbsd $LIBS" |
6002 | LIBS="-lbsd $LIBS" |
6031 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6003 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6055 | conftest$ac_exeext conftest.$ac_ext |
6027 | conftest$ac_exeext conftest.$ac_ext |
6056 | LIBS=$ac_check_lib_save_LIBS |
6028 | LIBS=$ac_check_lib_save_LIBS |
6057 | fi |
6029 | fi |
6058 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
6030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
6059 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6031 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6060 | if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : |
6032 | if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : |
6061 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6033 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6062 | fi |
6034 | fi |
6063 | |
6035 | |
6064 | fi |
6036 | fi |
6065 | fi |
6037 | fi |
… | |
… | |
6070 | # on later versions), says Simon Leinen: it contains gethostby* |
6042 | # on later versions), says Simon Leinen: it contains gethostby* |
6071 | # variants that don't use the name server (or something). -lsocket |
6043 | # variants that don't use the name server (or something). -lsocket |
6072 | # must be given before -lnsl if both are needed. We assume that |
6044 | # must be given before -lnsl if both are needed. We assume that |
6073 | # if connect needs -lnsl, so does gethostbyname. |
6045 | # if connect needs -lnsl, so does gethostbyname. |
6074 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6046 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6075 | if test "x$ac_cv_func_connect" = xyes; then : |
6047 | if test "x$ac_cv_func_connect" = x""yes; then : |
6076 | |
6048 | |
6077 | fi |
6049 | fi |
6078 | |
6050 | |
6079 | if test $ac_cv_func_connect = no; then |
6051 | if test $ac_cv_func_connect = no; then |
6080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
6052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
6081 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6053 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6082 | if ${ac_cv_lib_socket_connect+:} false; then : |
6054 | if test "${ac_cv_lib_socket_connect+set}" = set; then : |
6083 | $as_echo_n "(cached) " >&6 |
6055 | $as_echo_n "(cached) " >&6 |
6084 | else |
6056 | else |
6085 | ac_check_lib_save_LIBS=$LIBS |
6057 | ac_check_lib_save_LIBS=$LIBS |
6086 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6058 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6087 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6111 | conftest$ac_exeext conftest.$ac_ext |
6083 | conftest$ac_exeext conftest.$ac_ext |
6112 | LIBS=$ac_check_lib_save_LIBS |
6084 | LIBS=$ac_check_lib_save_LIBS |
6113 | fi |
6085 | fi |
6114 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
6086 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
6115 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6087 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6116 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
6088 | if test "x$ac_cv_lib_socket_connect" = x""yes; then : |
6117 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6089 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6118 | fi |
6090 | fi |
6119 | |
6091 | |
6120 | fi |
6092 | fi |
6121 | |
6093 | |
6122 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6094 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6123 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6095 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6124 | if test "x$ac_cv_func_remove" = xyes; then : |
6096 | if test "x$ac_cv_func_remove" = x""yes; then : |
6125 | |
6097 | |
6126 | fi |
6098 | fi |
6127 | |
6099 | |
6128 | if test $ac_cv_func_remove = no; then |
6100 | if test $ac_cv_func_remove = no; then |
6129 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
6101 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
6130 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6102 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6131 | if ${ac_cv_lib_posix_remove+:} false; then : |
6103 | if test "${ac_cv_lib_posix_remove+set}" = set; then : |
6132 | $as_echo_n "(cached) " >&6 |
6104 | $as_echo_n "(cached) " >&6 |
6133 | else |
6105 | else |
6134 | ac_check_lib_save_LIBS=$LIBS |
6106 | ac_check_lib_save_LIBS=$LIBS |
6135 | LIBS="-lposix $LIBS" |
6107 | LIBS="-lposix $LIBS" |
6136 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6108 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6160 | conftest$ac_exeext conftest.$ac_ext |
6132 | conftest$ac_exeext conftest.$ac_ext |
6161 | LIBS=$ac_check_lib_save_LIBS |
6133 | LIBS=$ac_check_lib_save_LIBS |
6162 | fi |
6134 | fi |
6163 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
6135 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
6164 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6136 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6165 | if test "x$ac_cv_lib_posix_remove" = xyes; then : |
6137 | if test "x$ac_cv_lib_posix_remove" = x""yes; then : |
6166 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6138 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6167 | fi |
6139 | fi |
6168 | |
6140 | |
6169 | fi |
6141 | fi |
6170 | |
6142 | |
6171 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6143 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6172 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6144 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6173 | if test "x$ac_cv_func_shmat" = xyes; then : |
6145 | if test "x$ac_cv_func_shmat" = x""yes; then : |
6174 | |
6146 | |
6175 | fi |
6147 | fi |
6176 | |
6148 | |
6177 | if test $ac_cv_func_shmat = no; then |
6149 | if test $ac_cv_func_shmat = no; then |
6178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
6150 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
6179 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6151 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6180 | if ${ac_cv_lib_ipc_shmat+:} false; then : |
6152 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then : |
6181 | $as_echo_n "(cached) " >&6 |
6153 | $as_echo_n "(cached) " >&6 |
6182 | else |
6154 | else |
6183 | ac_check_lib_save_LIBS=$LIBS |
6155 | ac_check_lib_save_LIBS=$LIBS |
6184 | LIBS="-lipc $LIBS" |
6156 | LIBS="-lipc $LIBS" |
6185 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6157 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6209 | conftest$ac_exeext conftest.$ac_ext |
6181 | conftest$ac_exeext conftest.$ac_ext |
6210 | LIBS=$ac_check_lib_save_LIBS |
6182 | LIBS=$ac_check_lib_save_LIBS |
6211 | fi |
6183 | fi |
6212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
6184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
6213 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6185 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6214 | if test "x$ac_cv_lib_ipc_shmat" = xyes; then : |
6186 | if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : |
6215 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6187 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6216 | fi |
6188 | fi |
6217 | |
6189 | |
6218 | fi |
6190 | fi |
6219 | fi |
6191 | fi |
… | |
… | |
6227 | # These have to be linked with before -lX11, unlike the other |
6199 | # These have to be linked with before -lX11, unlike the other |
6228 | # libraries we check for below, so use a different variable. |
6200 | # libraries we check for below, so use a different variable. |
6229 | # John Interrante, Karl Berry |
6201 | # John Interrante, Karl Berry |
6230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
6202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
6231 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6203 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6232 | if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : |
6204 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : |
6233 | $as_echo_n "(cached) " >&6 |
6205 | $as_echo_n "(cached) " >&6 |
6234 | else |
6206 | else |
6235 | ac_check_lib_save_LIBS=$LIBS |
6207 | ac_check_lib_save_LIBS=$LIBS |
6236 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6208 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6237 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6261 | conftest$ac_exeext conftest.$ac_ext |
6233 | conftest$ac_exeext conftest.$ac_ext |
6262 | LIBS=$ac_check_lib_save_LIBS |
6234 | LIBS=$ac_check_lib_save_LIBS |
6263 | fi |
6235 | fi |
6264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6265 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6237 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6266 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : |
6238 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : |
6267 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6239 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6268 | fi |
6240 | fi |
6269 | |
6241 | |
6270 | LDFLAGS=$ac_save_LDFLAGS |
6242 | LDFLAGS=$ac_save_LDFLAGS |
6271 | |
6243 | |
6272 | fi |
6244 | fi |
6273 | |
6245 | |
6274 | |
6246 | |
6275 | image_lib=none |
6247 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6248 | STARTUP_NOTIFICATION_LIBS= |
6276 | |
6249 | |
6277 | PIXBUF_CFLAGS= |
|
|
6278 | PIXBUF_LIBS= |
|
|
6279 | |
|
|
6280 | if test x$support_pixbuf = xyes; then |
6250 | if test x$support_startup_notification = xyes; then |
6281 | support_pixbuf=no |
6251 | support_startup_notification=no |
6282 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6252 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6283 | set dummy pkg-config; ac_word=$2 |
6253 | set dummy pkg-config; ac_word=$2 |
6284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6254 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6285 | $as_echo_n "checking for $ac_word... " >&6; } |
6255 | $as_echo_n "checking for $ac_word... " >&6; } |
6286 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6256 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6287 | $as_echo_n "(cached) " >&6 |
6257 | $as_echo_n "(cached) " >&6 |
6288 | else |
6258 | else |
6289 | case $PKG_CONFIG in |
6259 | case $PKG_CONFIG in |
6290 | [\\/]* | ?:[\\/]*) |
6260 | [\\/]* | ?:[\\/]*) |
6291 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6261 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
6318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6288 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6319 | $as_echo "no" >&6; } |
6289 | $as_echo "no" >&6; } |
6320 | fi |
6290 | fi |
6321 | |
6291 | |
6322 | |
6292 | |
6323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
6293 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
6324 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
6294 | $as_echo_n "checking for libstartup-notification... " >&6; } |
6325 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
6295 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6326 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
6296 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6327 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
6297 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6328 | support_pixbuf=yes |
6298 | support_startup_notification=yes |
6329 | fi |
6299 | fi |
6330 | |
6300 | |
6331 | if test x$support_pixbuf = xyes; then |
6301 | if test x$support_startup_notification = xyes; then |
6332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6333 | $as_echo "ok" >&6; } |
6303 | $as_echo "ok" >&6; } |
6334 | image_lib=gdk-pixbuf |
|
|
6335 | support_afterimage=no |
|
|
6336 | |
6304 | |
6337 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6305 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6338 | |
|
|
6339 | |
|
|
6340 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6341 | |
6306 | |
6342 | else |
6307 | else |
6343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6344 | $as_echo "no" >&6; } |
6309 | $as_echo "no" >&6; } |
6345 | fi |
|
|
6346 | fi |
|
|
6347 | |
|
|
6348 | |
|
|
6349 | |
|
|
6350 | |
|
|
6351 | AFTERIMAGE_CFLAGS= |
|
|
6352 | AFTERIMAGE_LIBS= |
|
|
6353 | AFTERIMAGE_VERSION= |
|
|
6354 | |
|
|
6355 | if test x$support_afterimage = xyes; then |
|
|
6356 | support_afterimage=no |
|
|
6357 | |
|
|
6358 | if test "x$afterimage_config" = "x" ; then |
|
|
6359 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6360 | set dummy afterimage-config; ac_word=$2 |
|
|
6361 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
6362 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
6363 | if ${ac_cv_path_afterimage_config+:} false; then : |
|
|
6364 | $as_echo_n "(cached) " >&6 |
|
|
6365 | else |
|
|
6366 | case $afterimage_config in |
|
|
6367 | [\\/]* | ?:[\\/]*) |
|
|
6368 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6369 | ;; |
|
|
6370 | *) |
|
|
6371 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6372 | for as_dir in $PATH |
|
|
6373 | do |
|
|
6374 | IFS=$as_save_IFS |
|
|
6375 | test -z "$as_dir" && as_dir=. |
|
|
6376 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6377 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6378 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6379 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6380 | break 2 |
|
|
6381 | fi |
|
|
6382 | done |
|
|
6383 | done |
|
|
6384 | IFS=$as_save_IFS |
|
|
6385 | |
|
|
6386 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6387 | ;; |
|
|
6388 | esac |
|
|
6389 | fi |
|
|
6390 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6391 | if test -n "$afterimage_config"; then |
|
|
6392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5 |
|
|
6393 | $as_echo "$afterimage_config" >&6; } |
|
|
6394 | else |
|
|
6395 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6396 | $as_echo "no" >&6; } |
|
|
6397 | fi |
|
|
6398 | |
|
|
6399 | |
|
|
6400 | fi |
|
|
6401 | if test "x$afterimage_config" != "xno" ; then |
|
|
6402 | { $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; } |
|
|
6404 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
6405 | if test -n "$xAFTERIMAGE_VERSION" ; then |
|
|
6406 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6407 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6408 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
6409 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
6410 | libai_ver_minor=`echo $xAFTERIMAGE_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 |
|
|
6412 | support_afterimage=yes |
|
|
6413 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
|
|
6414 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
|
|
6415 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
|
|
6416 | fi |
|
|
6417 | fi |
|
|
6418 | fi |
|
|
6419 | if test "x$support_afterimage" = "xyes"; then |
|
|
6420 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6421 | $as_echo "$AFTERIMAGE_LIBS" >&6; } |
|
|
6422 | image_lib=libafterimage |
|
|
6423 | |
|
|
6424 | $as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h |
|
|
6425 | |
|
|
6426 | |
|
|
6427 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6428 | |
|
|
6429 | else |
|
|
6430 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6431 | $as_echo "no" >&6; } |
|
|
6432 | fi |
|
|
6433 | fi |
6310 | fi |
6434 | fi |
6311 | fi |
6435 | |
6312 | |
6436 | |
6313 | |
6437 | |
6314 | |
… | |
… | |
6441 | sys/ioctl.h \ |
6318 | sys/ioctl.h \ |
6442 | sys/sockio.h \ |
6319 | sys/sockio.h \ |
6443 | sys/strredir.h \ |
6320 | sys/strredir.h \ |
6444 | stdint.h \ |
6321 | stdint.h \ |
6445 | wchar.h \ |
6322 | wchar.h \ |
6446 | cwchar \ |
|
|
6447 | |
6323 | |
6448 | do : |
6324 | do : |
6449 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6325 | 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" |
6326 | 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 : |
6327 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
… | |
… | |
6458 | done |
6334 | done |
6459 | |
6335 | |
6460 | |
6336 | |
6461 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
6337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
6462 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
6338 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
6463 | if ${rxvt_cv_xlib_illegal_access+:} false; then : |
6339 | if test "${rxvt_cv_xlib_illegal_access+set}" = set; then : |
6464 | $as_echo_n "(cached) " >&6 |
6340 | $as_echo_n "(cached) " >&6 |
6465 | else |
6341 | else |
6466 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6467 | /* end confdefs.h. */ |
6343 | /* end confdefs.h. */ |
6468 | |
6344 | |
… | |
… | |
6495 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
6371 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
6496 | |
6372 | |
6497 | fi |
6373 | fi |
6498 | |
6374 | |
6499 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
6375 | 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 : |
6376 | if test "x$ac_cv_type_mode_t" = x""yes; then : |
6501 | |
6377 | |
6502 | else |
6378 | else |
6503 | |
6379 | |
6504 | cat >>confdefs.h <<_ACEOF |
6380 | cat >>confdefs.h <<_ACEOF |
6505 | #define mode_t int |
6381 | #define mode_t int |
6506 | _ACEOF |
6382 | _ACEOF |
6507 | |
6383 | |
6508 | fi |
6384 | fi |
6509 | |
6385 | |
6510 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6386 | 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 : |
6387 | if test "x$ac_cv_type_pid_t" = x""yes; then : |
6512 | |
6388 | |
6513 | else |
6389 | else |
6514 | |
6390 | |
6515 | cat >>confdefs.h <<_ACEOF |
6391 | cat >>confdefs.h <<_ACEOF |
6516 | #define pid_t int |
6392 | #define pid_t int |
… | |
… | |
6518 | |
6394 | |
6519 | fi |
6395 | fi |
6520 | |
6396 | |
6521 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
6397 | { $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; } |
6398 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
6523 | if ${ac_cv_type_uid_t+:} false; then : |
6399 | if test "${ac_cv_type_uid_t+set}" = set; then : |
6524 | $as_echo_n "(cached) " >&6 |
6400 | $as_echo_n "(cached) " >&6 |
6525 | else |
6401 | else |
6526 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6402 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6527 | /* end confdefs.h. */ |
6403 | /* end confdefs.h. */ |
6528 | #include <sys/types.h> |
6404 | #include <sys/types.h> |
… | |
… | |
6598 | |
6474 | |
6599 | |
6475 | |
6600 | for ac_func in unsetenv |
6476 | for ac_func in unsetenv |
6601 | do : |
6477 | do : |
6602 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
6478 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
6603 | if test "x$ac_cv_func_unsetenv" = xyes; then : |
6479 | if test "x$ac_cv_func_unsetenv" = x""yes; then : |
6604 | cat >>confdefs.h <<_ACEOF |
6480 | cat >>confdefs.h <<_ACEOF |
6605 | #define HAVE_UNSETENV 1 |
6481 | #define HAVE_UNSETENV 1 |
6606 | _ACEOF |
6482 | _ACEOF |
6607 | |
6483 | |
6608 | fi |
6484 | fi |
… | |
… | |
6672 | |
6548 | |
6673 | |
6549 | |
6674 | for ac_header in lastlog.h |
6550 | for ac_header in lastlog.h |
6675 | do : |
6551 | do : |
6676 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
6552 | 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 : |
6553 | if test "x$ac_cv_header_lastlog_h" = x""yes; then : |
6678 | cat >>confdefs.h <<_ACEOF |
6554 | cat >>confdefs.h <<_ACEOF |
6679 | #define HAVE_LASTLOG_H 1 |
6555 | #define HAVE_LASTLOG_H 1 |
6680 | _ACEOF |
6556 | _ACEOF |
6681 | |
6557 | |
6682 | fi |
6558 | fi |
6683 | |
6559 | |
6684 | done |
6560 | done |
6685 | |
6561 | |
|
|
6562 | |
|
|
6563 | case $host in |
|
|
6564 | *-*-solaris*) |
|
|
6565 | |
|
|
6566 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6567 | |
|
|
6568 | ;; |
|
|
6569 | esac |
6686 | |
6570 | |
6687 | |
6571 | |
6688 | for ac_header in utmp.h |
6572 | for ac_header in utmp.h |
6689 | do : |
6573 | do : |
6690 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
6574 | 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 : |
6575 | if test "x$ac_cv_header_utmp_h" = x""yes; then : |
6692 | cat >>confdefs.h <<_ACEOF |
6576 | cat >>confdefs.h <<_ACEOF |
6693 | #define HAVE_UTMP_H 1 |
6577 | #define HAVE_UTMP_H 1 |
6694 | _ACEOF |
6578 | _ACEOF |
6695 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6579 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
6696 | #include <sys/types.h> |
6580 | #include <sys/types.h> |
6697 | #include <utmp.h> |
6581 | #include <utmp.h> |
6698 | |
6582 | |
6699 | " |
6583 | " |
6700 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
6584 | if test "x$ac_cv_type_struct_utmp" = x""yes; then : |
6701 | |
6585 | |
6702 | cat >>confdefs.h <<_ACEOF |
6586 | cat >>confdefs.h <<_ACEOF |
6703 | #define HAVE_STRUCT_UTMP 1 |
6587 | #define HAVE_STRUCT_UTMP 1 |
6704 | _ACEOF |
6588 | _ACEOF |
6705 | |
6589 | |
… | |
… | |
6715 | ac_fn_cxx_check_member () |
6599 | ac_fn_cxx_check_member () |
6716 | { |
6600 | { |
6717 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6601 | 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 |
6602 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
6719 | $as_echo_n "checking for $2.$3... " >&6; } |
6603 | $as_echo_n "checking for $2.$3... " >&6; } |
6720 | if eval \${$4+:} false; then : |
6604 | if eval "test \"\${$4+set}\"" = set; then : |
6721 | $as_echo_n "(cached) " >&6 |
6605 | $as_echo_n "(cached) " >&6 |
6722 | else |
6606 | else |
6723 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6607 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6724 | /* end confdefs.h. */ |
6608 | /* end confdefs.h. */ |
6725 | $5 |
6609 | $5 |
… | |
… | |
6759 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6643 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6760 | fi |
6644 | fi |
6761 | eval ac_res=\$$4 |
6645 | eval ac_res=\$$4 |
6762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6763 | $as_echo "$ac_res" >&6; } |
6647 | $as_echo "$ac_res" >&6; } |
6764 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
6648 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
6765 | |
6649 | |
6766 | } # ac_fn_cxx_check_member |
6650 | } # ac_fn_cxx_check_member |
6767 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6651 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
6768 | #include <sys/types.h> |
6652 | #include <sys/types.h> |
6769 | #include <utmp.h> |
6653 | #include <utmp.h> |
6770 | |
6654 | |
6771 | " |
6655 | " |
6772 | if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then : |
6656 | if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then : |
6773 | |
6657 | |
6774 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
6658 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
6775 | |
6659 | |
6776 | fi |
6660 | fi |
6777 | |
6661 | |
… | |
… | |
6779 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
6663 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
6780 | #include <sys/types.h> |
6664 | #include <sys/types.h> |
6781 | #include <utmp.h> |
6665 | #include <utmp.h> |
6782 | |
6666 | |
6783 | " |
6667 | " |
6784 | if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then : |
6668 | if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then : |
6785 | |
6669 | |
6786 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
6670 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
6787 | |
6671 | |
6788 | fi |
6672 | fi |
6789 | |
6673 | |
… | |
… | |
6794 | |
6678 | |
6795 | |
6679 | |
6796 | for ac_header in utmpx.h |
6680 | for ac_header in utmpx.h |
6797 | do : |
6681 | do : |
6798 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
6682 | 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 : |
6683 | if test "x$ac_cv_header_utmpx_h" = x""yes; then : |
6800 | cat >>confdefs.h <<_ACEOF |
6684 | cat >>confdefs.h <<_ACEOF |
6801 | #define HAVE_UTMPX_H 1 |
6685 | #define HAVE_UTMPX_H 1 |
6802 | _ACEOF |
6686 | _ACEOF |
6803 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6687 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
6804 | #include <sys/types.h> |
6688 | #include <sys/types.h> |
6805 | #include <utmpx.h> |
6689 | #include <utmpx.h> |
6806 | |
6690 | |
6807 | " |
6691 | " |
6808 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
6692 | if test "x$ac_cv_type_struct_utmpx" = x""yes; then : |
6809 | |
6693 | |
6810 | cat >>confdefs.h <<_ACEOF |
6694 | cat >>confdefs.h <<_ACEOF |
6811 | #define HAVE_STRUCT_UTMPX 1 |
6695 | #define HAVE_STRUCT_UTMPX 1 |
6812 | _ACEOF |
6696 | _ACEOF |
6813 | |
6697 | |
… | |
… | |
6818 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
6702 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
6819 | #include <sys/types.h> |
6703 | #include <sys/types.h> |
6820 | #include <utmpx.h> |
6704 | #include <utmpx.h> |
6821 | |
6705 | |
6822 | " |
6706 | " |
6823 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
6707 | if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then : |
6824 | |
6708 | |
6825 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
6709 | $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 | |
6710 | |
6839 | fi |
6711 | fi |
6840 | |
6712 | |
6841 | |
6713 | |
6842 | fi |
6714 | fi |
… | |
… | |
6849 | #ifdef HAVE_LASTLOG_H |
6721 | #ifdef HAVE_LASTLOG_H |
6850 | #include <lastlog.h> |
6722 | #include <lastlog.h> |
6851 | #endif |
6723 | #endif |
6852 | |
6724 | |
6853 | " |
6725 | " |
6854 | if test "x$ac_cv_type_struct_lastlog" = xyes; then : |
6726 | if test "x$ac_cv_type_struct_lastlog" = x""yes; then : |
6855 | |
6727 | |
6856 | cat >>confdefs.h <<_ACEOF |
6728 | cat >>confdefs.h <<_ACEOF |
6857 | #define HAVE_STRUCT_LASTLOG 1 |
6729 | #define HAVE_STRUCT_LASTLOG 1 |
6858 | _ACEOF |
6730 | _ACEOF |
6859 | |
6731 | |
… | |
… | |
6867 | #ifdef HAVE_LASTLOG_H |
6739 | #ifdef HAVE_LASTLOG_H |
6868 | #include <lastlog.h> |
6740 | #include <lastlog.h> |
6869 | #endif |
6741 | #endif |
6870 | |
6742 | |
6871 | " |
6743 | " |
6872 | if test "x$ac_cv_type_struct_lastlogx" = xyes; then : |
6744 | if test "x$ac_cv_type_struct_lastlogx" = x""yes; then : |
6873 | |
6745 | |
6874 | cat >>confdefs.h <<_ACEOF |
6746 | cat >>confdefs.h <<_ACEOF |
6875 | #define HAVE_STRUCT_LASTLOGX 1 |
6747 | #define HAVE_STRUCT_LASTLOGX 1 |
6876 | _ACEOF |
6748 | _ACEOF |
6877 | |
6749 | |
6878 | |
6750 | |
6879 | fi |
6751 | fi |
6880 | |
6752 | |
6881 | |
6753 | |
6882 | |
6754 | |
6883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where utmp is located" >&5 |
6755 | { $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; } |
6756 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
6885 | if ${pt_cv_path_utmp+:} false; then : |
6757 | if test "${pt_cv_path_utmp+set}" = set; then : |
6886 | $as_echo_n "(cached) " >&6 |
6758 | $as_echo_n "(cached) " >&6 |
6887 | else |
6759 | else |
|
|
6760 | |
6888 | if test "$cross_compiling" = yes; then : |
6761 | 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 }; |
6762 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
6904 | FILE *f = fopen("conftestval", "w"); |
6763 | 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= |
6764 | pt_cv_path_utmp=$file |
|
|
6765 | break |
|
|
6766 | fi |
|
|
6767 | done |
6926 | fi |
6768 | 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 |
6769 | fi |
6932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
6770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
6933 | $as_echo "$pt_cv_path_utmp" >&6; } |
6771 | $as_echo "$pt_cv_path_utmp" >&6; } |
6934 | if test x$pt_cv_path_utmp != x; then |
6772 | if test x$pt_cv_path_utmp != x; then |
6935 | |
6773 | |
6936 | cat >>confdefs.h <<_ACEOF |
6774 | cat >>confdefs.h <<_ACEOF |
6937 | #define UTMP_FILE "$pt_cv_path_utmp" |
6775 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
6938 | _ACEOF |
6776 | _ACEOF |
6939 | |
6777 | |
|
|
6778 | elif test "$cross_compiling" = yes; then |
|
|
6779 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5 |
|
|
6780 | $as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} |
6940 | fi |
6781 | fi |
6941 | |
6782 | |
6942 | |
6783 | |
6943 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmp is located" >&5 |
6784 | { $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; } |
6785 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
6945 | if ${pt_cv_path_wtmp+:} false; then : |
6786 | if test "${pt_cv_path_wtmp+set}" = set; then : |
6946 | $as_echo_n "(cached) " >&6 |
6787 | $as_echo_n "(cached) " >&6 |
6947 | else |
6788 | else |
|
|
6789 | |
6948 | if test "$cross_compiling" = yes; then : |
6790 | 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 }; |
6791 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
6966 | FILE *f = fopen("conftestval", "w"); |
6792 | 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= |
6793 | pt_cv_path_wtmp=$file |
|
|
6794 | break |
|
|
6795 | fi |
|
|
6796 | done |
6988 | fi |
6797 | 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 |
6798 | fi |
6994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
6799 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
6995 | $as_echo "$pt_cv_path_wtmp" >&6; } |
6800 | $as_echo "$pt_cv_path_wtmp" >&6; } |
6996 | if test x$pt_cv_path_wtmp != x; then |
6801 | if test x$pt_cv_path_wtmp != x; then |
6997 | |
6802 | |
6998 | cat >>confdefs.h <<_ACEOF |
6803 | cat >>confdefs.h <<_ACEOF |
6999 | #define WTMP_FILE "$pt_cv_path_wtmp" |
6804 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
7000 | _ACEOF |
6805 | _ACEOF |
7001 | |
6806 | |
|
|
6807 | elif test "$cross_compiling" = yes; then |
|
|
6808 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5 |
|
|
6809 | $as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} |
7002 | fi |
6810 | fi |
7003 | |
6811 | |
7004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmpx is located" >&5 |
6812 | { $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; } |
6813 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
7006 | if ${pt_cv_path_wtmpx+:} false; then : |
6814 | if test "${pt_cv_path_wtmpx+set}" = set; then : |
7007 | $as_echo_n "(cached) " >&6 |
6815 | $as_echo_n "(cached) " >&6 |
7008 | else |
6816 | else |
|
|
6817 | |
7009 | if test "$cross_compiling" = yes; then : |
6818 | if test "$cross_compiling" != yes; then |
7010 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
6819 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
7011 | $as_echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
6820 | 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= |
6821 | pt_cv_path_wtmpx=$file |
|
|
6822 | break |
|
|
6823 | fi |
|
|
6824 | done |
7048 | fi |
6825 | 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 |
6826 | fi |
7054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
6827 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
7055 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
6828 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
7056 | if test x$pt_cv_path_wtmpx != x; then |
6829 | if test x$pt_cv_path_wtmpx != x; then |
7057 | |
6830 | |
7058 | cat >>confdefs.h <<_ACEOF |
6831 | cat >>confdefs.h <<_ACEOF |
7059 | #define WTMPX_FILE "$pt_cv_path_wtmpx" |
6832 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
7060 | _ACEOF |
6833 | _ACEOF |
7061 | |
6834 | |
|
|
6835 | elif test "$cross_compiling" = yes; then |
|
|
6836 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5 |
|
|
6837 | $as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} |
7062 | fi |
6838 | fi |
7063 | |
6839 | |
7064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlog is located" >&5 |
6840 | { $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; } |
6841 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
7066 | if ${pt_cv_path_lastlog+:} false; then : |
6842 | if test "${pt_cv_path_lastlog+set}" = set; then : |
7067 | $as_echo_n "(cached) " >&6 |
6843 | $as_echo_n "(cached) " >&6 |
7068 | else |
6844 | else |
|
|
6845 | |
7069 | if test "$cross_compiling" = yes; then : |
6846 | if test "$cross_compiling" != yes; then |
7070 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
6847 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
7071 | $as_echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
6848 | 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= |
6849 | pt_cv_path_lastlog=$file |
|
|
6850 | break |
|
|
6851 | fi |
|
|
6852 | done |
7112 | fi |
6853 | 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 |
6854 | fi |
7118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
6855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
7119 | $as_echo "$pt_cv_path_lastlog" >&6; } |
6856 | $as_echo "$pt_cv_path_lastlog" >&6; } |
7120 | if test x$pt_cv_path_lastlog != x; then |
6857 | if test x$pt_cv_path_lastlog != x; then |
7121 | |
6858 | |
7122 | cat >>confdefs.h <<_ACEOF |
6859 | cat >>confdefs.h <<_ACEOF |
7123 | #define LASTLOG_FILE "$pt_cv_path_lastlog" |
6860 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
7124 | _ACEOF |
6861 | _ACEOF |
7125 | |
6862 | |
|
|
6863 | elif test "$cross_compiling" = yes; then |
|
|
6864 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5 |
|
|
6865 | $as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} |
7126 | fi |
6866 | fi |
7127 | |
6867 | |
7128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlogx is located" >&5 |
6868 | { $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; } |
6869 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
7130 | if ${pt_cv_path_lastlogx+:} false; then : |
6870 | if test "${pt_cv_path_lastlogx+set}" = set; then : |
7131 | $as_echo_n "(cached) " >&6 |
6871 | $as_echo_n "(cached) " >&6 |
7132 | else |
6872 | else |
|
|
6873 | |
7133 | if test "$cross_compiling" = yes; then : |
6874 | if test "$cross_compiling" != yes; then |
7134 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
6875 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
7135 | $as_echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
6876 | 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= |
6877 | pt_cv_path_lastlogx=$file |
|
|
6878 | break |
|
|
6879 | fi |
|
|
6880 | done |
7172 | fi |
6881 | 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 |
6882 | fi |
7178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
6883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
7179 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
6884 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
7180 | if test x$pt_cv_path_lastlogx != x; then |
6885 | if test x$pt_cv_path_lastlogx != x; then |
7181 | |
6886 | |
7182 | cat >>confdefs.h <<_ACEOF |
6887 | cat >>confdefs.h <<_ACEOF |
7183 | #define LASTLOGX_FILE "$pt_cv_path_lastlogx" |
6888 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
7184 | _ACEOF |
6889 | _ACEOF |
7185 | |
6890 | |
|
|
6891 | elif test "$cross_compiling" = yes; then |
|
|
6892 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
6893 | $as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;} |
7186 | fi |
6894 | fi |
7187 | |
6895 | |
7188 | |
6896 | |
7189 | |
6897 | |
7190 | |
6898 | |
… | |
… | |
7193 | CFLAGS="$CFLAGS $X_CFLAGS" |
6901 | CFLAGS="$CFLAGS $X_CFLAGS" |
7194 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
6902 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7195 | if test x$support_xim = xyes; then |
6903 | if test x$support_xim = xyes; then |
7196 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
6904 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
7197 | $as_echo_n "checking for working Xlocale... " >&6; } |
6905 | $as_echo_n "checking for working Xlocale... " >&6; } |
7198 | if ${rxvt_cv_func_xlocale+:} false; then : |
6906 | if test "${rxvt_cv_func_xlocale+set}" = set; then : |
7199 | $as_echo_n "(cached) " >&6 |
6907 | $as_echo_n "(cached) " >&6 |
7200 | else |
6908 | else |
7201 | if test "$cross_compiling" = yes; then : |
6909 | if test "$cross_compiling" = yes; then : |
7202 | : |
6910 | : |
7203 | else |
6911 | else |
… | |
… | |
7231 | |
6939 | |
7232 | $as_echo "#define USE_XIM 1" >>confdefs.h |
6940 | $as_echo "#define USE_XIM 1" >>confdefs.h |
7233 | |
6941 | |
7234 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
6942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
7235 | $as_echo_n "checking for broken XIM callback... " >&6; } |
6943 | $as_echo_n "checking for broken XIM callback... " >&6; } |
7236 | if ${rxvt_cv_broken_ximcb+:} false; then : |
6944 | if test "${rxvt_cv_broken_ximcb+set}" = set; then : |
7237 | $as_echo_n "(cached) " >&6 |
6945 | $as_echo_n "(cached) " >&6 |
7238 | else |
6946 | else |
7239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6947 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7240 | /* end confdefs.h. */ |
6948 | /* end confdefs.h. */ |
7241 | |
6949 | |
… | |
… | |
7267 | fi |
6975 | fi |
7268 | fi |
6976 | fi |
7269 | |
6977 | |
7270 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
6978 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
7271 | $as_echo_n "checking for working X setlocale... " >&6; } |
6979 | $as_echo_n "checking for working X setlocale... " >&6; } |
7272 | if ${rxvt_cv_func_xsetlocale+:} false; then : |
6980 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then : |
7273 | $as_echo_n "(cached) " >&6 |
6981 | $as_echo_n "(cached) " >&6 |
7274 | else |
6982 | else |
7275 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6983 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7276 | /* end confdefs.h. */ |
6984 | /* end confdefs.h. */ |
7277 | #define X_LOCALE 1 |
6985 | #define X_LOCALE 1 |
… | |
… | |
7300 | |
7008 | |
7301 | fi |
7009 | fi |
7302 | LIBS=$save_LIBS |
7010 | LIBS=$save_LIBS |
7303 | CFLAGS=$save_CFLAGS |
7011 | CFLAGS=$save_CFLAGS |
7304 | |
7012 | |
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 |
7013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7338 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7014 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7339 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
7015 | if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : |
7340 | $as_echo_n "(cached) " >&6 |
7016 | $as_echo_n "(cached) " >&6 |
7341 | else |
7017 | else |
7342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7018 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7343 | /* end confdefs.h. */ |
7019 | /* end confdefs.h. */ |
7344 | #include <langinfo.h> |
7020 | #include <langinfo.h> |
… | |
… | |
7365 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7041 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
7366 | |
7042 | |
7367 | fi |
7043 | fi |
7368 | |
7044 | |
7369 | |
7045 | |
|
|
7046 | case $host in |
|
|
7047 | *-*-solaris*) |
|
|
7048 | |
|
|
7049 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
7050 | |
|
|
7051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
|
|
7052 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
|
|
7053 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7054 | $as_echo_n "(cached) " >&6 |
|
|
7055 | else |
|
|
7056 | ac_func_search_save_LIBS=$LIBS |
|
|
7057 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7058 | /* end confdefs.h. */ |
|
|
7059 | |
|
|
7060 | /* Override any GCC internal prototype to avoid an error. |
|
|
7061 | Use char because int might match the return type of a GCC |
|
|
7062 | builtin and then its argument prototype would still apply. */ |
|
|
7063 | #ifdef __cplusplus |
|
|
7064 | extern "C" |
|
|
7065 | #endif |
|
|
7066 | char sendmsg (); |
|
|
7067 | int |
|
|
7068 | main () |
|
|
7069 | { |
|
|
7070 | return sendmsg (); |
|
|
7071 | ; |
|
|
7072 | return 0; |
|
|
7073 | } |
|
|
7074 | _ACEOF |
|
|
7075 | for ac_lib in '' socket; do |
|
|
7076 | if test -z "$ac_lib"; then |
|
|
7077 | ac_res="none required" |
|
|
7078 | else |
|
|
7079 | ac_res=-l$ac_lib |
|
|
7080 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7081 | fi |
|
|
7082 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7083 | ac_cv_search_sendmsg=$ac_res |
|
|
7084 | fi |
|
|
7085 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7086 | conftest$ac_exeext |
|
|
7087 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7088 | break |
|
|
7089 | fi |
|
|
7090 | done |
|
|
7091 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7092 | |
|
|
7093 | else |
|
|
7094 | ac_cv_search_sendmsg=no |
|
|
7095 | fi |
|
|
7096 | rm conftest.$ac_ext |
|
|
7097 | LIBS=$ac_func_search_save_LIBS |
|
|
7098 | fi |
|
|
7099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 |
|
|
7100 | $as_echo "$ac_cv_search_sendmsg" >&6; } |
|
|
7101 | ac_res=$ac_cv_search_sendmsg |
|
|
7102 | if test "$ac_res" != no; then : |
|
|
7103 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7104 | |
|
|
7105 | fi |
|
|
7106 | |
|
|
7107 | ;; |
|
|
7108 | esac |
|
|
7109 | |
7370 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
7110 | { $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; } |
7111 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
7372 | if ${pt_cv_can_pass_fds+:} false; then : |
7112 | if test "${pt_cv_can_pass_fds+set}" = set; then : |
7373 | $as_echo_n "(cached) " >&6 |
7113 | $as_echo_n "(cached) " >&6 |
7374 | else |
7114 | else |
7375 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7115 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7376 | /* end confdefs.h. */ |
7116 | /* end confdefs.h. */ |
7377 | |
7117 | |
7378 | #include <cstddef> // broken bsds (is that redundant?) need this |
7118 | #include <stddef.h> // broken bsds (is that redundant?) need this |
7379 | #include <sys/types.h> |
7119 | #include <sys/types.h> |
7380 | #include <sys/socket.h> |
7120 | #include <sys/socket.h> |
7381 | #include <sys/uio.h> |
7121 | #include <sys/uio.h> |
7382 | |
7122 | |
7383 | int |
7123 | int |
… | |
… | |
7435 | for ac_header in \ |
7175 | for ac_header in \ |
7436 | pty.h \ |
7176 | pty.h \ |
7437 | util.h \ |
7177 | util.h \ |
7438 | libutil.h \ |
7178 | libutil.h \ |
7439 | sys/ioctl.h \ |
7179 | sys/ioctl.h \ |
7440 | sys/stropts.h \ |
|
|
7441 | stropts.h \ |
7180 | stropts.h \ |
7442 | |
7181 | |
7443 | do : |
7182 | do : |
7444 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7183 | 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" |
7184 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
… | |
… | |
7474 | |
7213 | |
7475 | fi |
7214 | fi |
7476 | done |
7215 | done |
7477 | |
7216 | |
7478 | |
7217 | |
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 |
7218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
7524 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7219 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
7525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7220 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7526 | /* end confdefs.h. */ |
7221 | /* end confdefs.h. */ |
7527 | #include <stdlib.h> |
7222 | #include <stdlib.h> |
7528 | int |
7223 | int |
7529 | main () |
7224 | main () |
7530 | { |
7225 | { |
… | |
… | |
7536 | if ac_fn_cxx_try_link "$LINENO"; then : |
7231 | if ac_fn_cxx_try_link "$LINENO"; then : |
7537 | unix98_pty=yes |
7232 | unix98_pty=yes |
7538 | |
7233 | |
7539 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7234 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
7540 | |
7235 | |
7541 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7542 | $as_echo "yes" >&6; } |
7237 | $as_echo "yes" >&6; } |
7543 | else |
7238 | else |
7544 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7545 | $as_echo "no" >&6; } |
7240 | $as_echo "no" >&6; } |
7546 | fi |
7241 | fi |
7547 | rm -f core conftest.err conftest.$ac_objext \ |
7242 | rm -f core conftest.err conftest.$ac_objext \ |
7548 | conftest$ac_exeext conftest.$ac_ext |
7243 | conftest$ac_exeext conftest.$ac_ext |
7549 | fi |
|
|
7550 | |
7244 | |
7551 | if test -z "$unix98_pty"; then |
7245 | if test -z "$unix98_pty"; then |
7552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
7246 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
7553 | $as_echo_n "checking for library containing openpty... " >&6; } |
7247 | $as_echo_n "checking for library containing openpty... " >&6; } |
7554 | if ${ac_cv_search_openpty+:} false; then : |
7248 | if test "${ac_cv_search_openpty+set}" = set; then : |
7555 | $as_echo_n "(cached) " >&6 |
7249 | $as_echo_n "(cached) " >&6 |
7556 | else |
7250 | else |
7557 | ac_func_search_save_LIBS=$LIBS |
7251 | ac_func_search_save_LIBS=$LIBS |
7558 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7252 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7559 | /* end confdefs.h. */ |
7253 | /* end confdefs.h. */ |
… | |
… | |
7583 | if ac_fn_cxx_try_link "$LINENO"; then : |
7277 | if ac_fn_cxx_try_link "$LINENO"; then : |
7584 | ac_cv_search_openpty=$ac_res |
7278 | ac_cv_search_openpty=$ac_res |
7585 | fi |
7279 | fi |
7586 | rm -f core conftest.err conftest.$ac_objext \ |
7280 | rm -f core conftest.err conftest.$ac_objext \ |
7587 | conftest$ac_exeext |
7281 | conftest$ac_exeext |
7588 | if ${ac_cv_search_openpty+:} false; then : |
7282 | if test "${ac_cv_search_openpty+set}" = set; then : |
7589 | break |
7283 | break |
7590 | fi |
7284 | fi |
7591 | done |
7285 | done |
7592 | if ${ac_cv_search_openpty+:} false; then : |
7286 | if test "${ac_cv_search_openpty+set}" = set; then : |
7593 | |
7287 | |
7594 | else |
7288 | else |
7595 | ac_cv_search_openpty=no |
7289 | ac_cv_search_openpty=no |
7596 | fi |
7290 | fi |
7597 | rm conftest.$ac_ext |
7291 | rm conftest.$ac_ext |
… | |
… | |
7611 | |
7305 | |
7612 | |
7306 | |
7613 | |
7307 | |
7614 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
7308 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
7615 | $as_echo_n "checking for tty group... " >&6; } |
7309 | $as_echo_n "checking for tty group... " >&6; } |
7616 | if ${pt_cv_tty_group+:} false; then : |
7310 | if test "${pt_cv_tty_group+set}" = set; then : |
7617 | $as_echo_n "(cached) " >&6 |
7311 | $as_echo_n "(cached) " >&6 |
7618 | else |
7312 | else |
7619 | if test "$cross_compiling" = yes; then : |
7313 | if test "$cross_compiling" = yes; then : |
7620 | pt_cv_tty_group=no |
7314 | pt_cv_tty_group=no |
7621 | else |
7315 | else |
… | |
… | |
7659 | |
7353 | |
7660 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7354 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7661 | |
7355 | |
7662 | fi |
7356 | fi |
7663 | |
7357 | |
|
|
7358 | support_image=no |
|
|
7359 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
|
|
7360 | support_image=yes |
|
|
7361 | fi |
7664 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
7362 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7665 | rxvt_have_xrender=no |
7363 | rxvt_have_xrender=no |
7666 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7364 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7667 | set dummy pkg-config; ac_word=$2 |
7365 | set dummy pkg-config; ac_word=$2 |
7668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7669 | $as_echo_n "checking for $ac_word... " >&6; } |
7367 | $as_echo_n "checking for $ac_word... " >&6; } |
7670 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7368 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7671 | $as_echo_n "(cached) " >&6 |
7369 | $as_echo_n "(cached) " >&6 |
7672 | else |
7370 | else |
7673 | case $PKG_CONFIG in |
7371 | case $PKG_CONFIG in |
7674 | [\\/]* | ?:[\\/]*) |
7372 | [\\/]* | ?:[\\/]*) |
7675 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7373 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7710 | rxvt_have_xrender=yes |
7408 | rxvt_have_xrender=yes |
7711 | |
7409 | |
7712 | save_LIBS="$LIBS" |
7410 | save_LIBS="$LIBS" |
7713 | LIBS="$LIBS $X_LIBS" |
7411 | 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" |
7412 | 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 : |
7413 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
7716 | |
7414 | |
7717 | else |
7415 | else |
7718 | rxvt_have_xrender=no |
7416 | rxvt_have_xrender=no |
7719 | fi |
7417 | fi |
7720 | |
7418 | |
7721 | |
7419 | |
7722 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
7420 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
7723 | if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then : |
7421 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
7724 | |
7422 | |
7725 | else |
7423 | else |
7726 | rxvt_have_xrender=no |
7424 | rxvt_have_xrender=no |
7727 | fi |
7425 | fi |
7728 | |
7426 | |
… | |
… | |
7733 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7431 | 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. |
7432 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7735 | set dummy pkg-config; ac_word=$2 |
7433 | set dummy pkg-config; ac_word=$2 |
7736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7434 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7737 | $as_echo_n "checking for $ac_word... " >&6; } |
7435 | $as_echo_n "checking for $ac_word... " >&6; } |
7738 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7436 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7739 | $as_echo_n "(cached) " >&6 |
7437 | $as_echo_n "(cached) " >&6 |
7740 | else |
7438 | else |
7741 | case $PKG_CONFIG in |
7439 | case $PKG_CONFIG in |
7742 | [\\/]* | ?:[\\/]*) |
7440 | [\\/]* | ?:[\\/]*) |
7743 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7441 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7778 | else |
7476 | else |
7779 | # Extract the first word of "xft-config", so it can be a program name with args. |
7477 | # Extract the first word of "xft-config", so it can be a program name with args. |
7780 | set dummy xft-config; ac_word=$2 |
7478 | set dummy xft-config; ac_word=$2 |
7781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7782 | $as_echo_n "checking for $ac_word... " >&6; } |
7480 | $as_echo_n "checking for $ac_word... " >&6; } |
7783 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
7481 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then : |
7784 | $as_echo_n "(cached) " >&6 |
7482 | $as_echo_n "(cached) " >&6 |
7785 | else |
7483 | else |
7786 | case $XFT_CONFIG in |
7484 | case $XFT_CONFIG in |
7787 | [\\/]* | ?:[\\/]*) |
7485 | [\\/]* | ?:[\\/]*) |
7788 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
7486 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7831 | save_LIBS="$LIBS" |
7529 | save_LIBS="$LIBS" |
7832 | LIBS="$LIBS $X_LIBS" |
7530 | LIBS="$LIBS $X_LIBS" |
7833 | for ac_header in X11/Xft/Xft.h |
7531 | for ac_header in X11/Xft/Xft.h |
7834 | do : |
7532 | do : |
7835 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7533 | 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 : |
7534 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : |
7837 | cat >>confdefs.h <<_ACEOF |
7535 | cat >>confdefs.h <<_ACEOF |
7838 | #define HAVE_X11_XFT_XFT_H 1 |
7536 | #define HAVE_X11_XFT_XFT_H 1 |
7839 | _ACEOF |
7537 | _ACEOF |
7840 | |
7538 | |
7841 | else |
7539 | else |
… | |
… | |
7844 | |
7542 | |
7845 | done |
7543 | done |
7846 | |
7544 | |
7847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7848 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7546 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7849 | if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : |
7547 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then : |
7850 | $as_echo_n "(cached) " >&6 |
7548 | $as_echo_n "(cached) " >&6 |
7851 | else |
7549 | else |
7852 | ac_check_lib_save_LIBS=$LIBS |
7550 | ac_check_lib_save_LIBS=$LIBS |
7853 | LIBS="-lXft $LIBS" |
7551 | LIBS="-lXft $LIBS" |
7854 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7552 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7878 | conftest$ac_exeext conftest.$ac_ext |
7576 | conftest$ac_exeext conftest.$ac_ext |
7879 | LIBS=$ac_check_lib_save_LIBS |
7577 | LIBS=$ac_check_lib_save_LIBS |
7880 | fi |
7578 | fi |
7881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
7579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
7882 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
7580 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
7883 | if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : |
7581 | if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then : |
7884 | : |
7582 | : |
7885 | else |
7583 | else |
7886 | support_xft=no |
7584 | support_xft=no |
7887 | fi |
7585 | fi |
7888 | |
7586 | |
7889 | for ac_header in fontconfig/fontconfig.h |
7587 | for ac_header in fontconfig/fontconfig.h |
7890 | do : |
7588 | do : |
7891 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
7589 | 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 : |
7590 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then : |
7893 | cat >>confdefs.h <<_ACEOF |
7591 | cat >>confdefs.h <<_ACEOF |
7894 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
7592 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
7895 | _ACEOF |
7593 | _ACEOF |
7896 | |
7594 | |
7897 | else |
7595 | else |
… | |
… | |
7900 | |
7598 | |
7901 | done |
7599 | done |
7902 | |
7600 | |
7903 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
7601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
7904 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
7602 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
7905 | if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : |
7603 | if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then : |
7906 | $as_echo_n "(cached) " >&6 |
7604 | $as_echo_n "(cached) " >&6 |
7907 | else |
7605 | else |
7908 | ac_check_lib_save_LIBS=$LIBS |
7606 | ac_check_lib_save_LIBS=$LIBS |
7909 | LIBS="-lfontconfig $LIBS" |
7607 | LIBS="-lfontconfig $LIBS" |
7910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7608 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
7934 | conftest$ac_exeext conftest.$ac_ext |
7632 | conftest$ac_exeext conftest.$ac_ext |
7935 | LIBS=$ac_check_lib_save_LIBS |
7633 | LIBS=$ac_check_lib_save_LIBS |
7936 | fi |
7634 | fi |
7937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
7635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
7938 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
7636 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
7939 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : |
7637 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then : |
7940 | : |
7638 | : |
7941 | else |
7639 | else |
7942 | support_xft=no |
7640 | support_xft=no |
7943 | fi |
7641 | fi |
7944 | |
7642 | |
… | |
… | |
7948 | |
7646 | |
7949 | $as_echo "#define XFT 1" >>confdefs.h |
7647 | $as_echo "#define XFT 1" >>confdefs.h |
7950 | |
7648 | |
7951 | fi |
7649 | fi |
7952 | fi |
7650 | fi |
|
|
7651 | |
|
|
7652 | image_lib=none |
|
|
7653 | |
|
|
7654 | PIXBUF_CFLAGS= |
|
|
7655 | PIXBUF_LIBS= |
|
|
7656 | |
|
|
7657 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
7658 | LIBS="$LIBS -lm" |
|
|
7659 | |
|
|
7660 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7661 | |
|
|
7662 | |
|
|
7663 | if test x$support_inheritpixmap = xyes; then |
|
|
7664 | |
|
|
7665 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7666 | |
|
|
7667 | fi |
|
|
7668 | |
|
|
7669 | if test x$support_pixbuf = xyes; then |
|
|
7670 | support_pixbuf=no |
|
|
7671 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
7672 | set dummy pkg-config; ac_word=$2 |
|
|
7673 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
7674 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
7675 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
|
|
7676 | $as_echo_n "(cached) " >&6 |
|
|
7677 | else |
|
|
7678 | case $PKG_CONFIG in |
|
|
7679 | [\\/]* | ?:[\\/]*) |
|
|
7680 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7681 | ;; |
|
|
7682 | *) |
|
|
7683 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7684 | for as_dir in $PATH |
|
|
7685 | do |
|
|
7686 | IFS=$as_save_IFS |
|
|
7687 | test -z "$as_dir" && as_dir=. |
|
|
7688 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7689 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7690 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7691 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7692 | break 2 |
|
|
7693 | fi |
|
|
7694 | done |
|
|
7695 | done |
|
|
7696 | IFS=$as_save_IFS |
|
|
7697 | |
|
|
7698 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7699 | ;; |
|
|
7700 | esac |
|
|
7701 | fi |
|
|
7702 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7703 | if test -n "$PKG_CONFIG"; then |
|
|
7704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7705 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7706 | else |
|
|
7707 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7708 | $as_echo "no" >&6; } |
|
|
7709 | fi |
|
|
7710 | |
|
|
7711 | |
|
|
7712 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
|
|
7713 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
|
|
7714 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
|
|
7715 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
|
|
7716 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
|
|
7717 | support_pixbuf=yes |
|
|
7718 | fi |
|
|
7719 | |
|
|
7720 | if test x$support_pixbuf = xyes; then |
|
|
7721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
7722 | $as_echo "ok" >&6; } |
|
|
7723 | image_lib=gdk-pixbuf |
|
|
7724 | |
|
|
7725 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
|
|
7726 | |
|
|
7727 | |
|
|
7728 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
7729 | |
|
|
7730 | else |
|
|
7731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7732 | $as_echo "no" >&6; } |
|
|
7733 | fi |
|
|
7734 | fi |
|
|
7735 | fi |
|
|
7736 | |
|
|
7737 | |
|
|
7738 | |
|
|
7739 | |
7953 | if test x$support_styles = xyes; then |
7740 | if test x$support_styles = xyes; then |
7954 | |
7741 | |
7955 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7742 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7956 | |
7743 | |
7957 | fi |
7744 | fi |
… | |
… | |
7966 | |
7753 | |
7967 | fi |
7754 | fi |
7968 | if test x$support_fading = xyes; then |
7755 | if test x$support_fading = xyes; then |
7969 | |
7756 | |
7970 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7757 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7971 | |
|
|
7972 | fi |
|
|
7973 | if test x$support_inheritpixmap = xyes; then |
|
|
7974 | if test x$rxvt_have_xrender = xyes; then |
|
|
7975 | LIBS="$LIBS -lm" |
|
|
7976 | |
|
|
7977 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7978 | |
|
|
7979 | fi |
|
|
7980 | |
|
|
7981 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7982 | |
7758 | |
7983 | fi |
7759 | fi |
7984 | if test x$support_keepscrolling = xno; then |
7760 | if test x$support_keepscrolling = xno; then |
7985 | |
7761 | |
7986 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
7762 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
… | |
… | |
8083 | if test x$support_perl = xyes; then |
7859 | if test x$support_perl = xyes; then |
8084 | # Extract the first word of "perl5", so it can be a program name with args. |
7860 | # Extract the first word of "perl5", so it can be a program name with args. |
8085 | set dummy perl5; ac_word=$2 |
7861 | set dummy perl5; ac_word=$2 |
8086 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7862 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8087 | $as_echo_n "checking for $ac_word... " >&6; } |
7863 | $as_echo_n "checking for $ac_word... " >&6; } |
8088 | if ${ac_cv_path_PERL+:} false; then : |
7864 | if test "${ac_cv_path_PERL+set}" = set; then : |
8089 | $as_echo_n "(cached) " >&6 |
7865 | $as_echo_n "(cached) " >&6 |
8090 | else |
7866 | else |
8091 | case $PERL in |
7867 | case $PERL in |
8092 | [\\/]* | ?:[\\/]*) |
7868 | [\\/]* | ?:[\\/]*) |
8093 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
7869 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
… | |
… | |
8106 | fi |
7882 | fi |
8107 | done |
7883 | done |
8108 | done |
7884 | done |
8109 | IFS=$as_save_IFS |
7885 | IFS=$as_save_IFS |
8110 | |
7886 | |
8111 | ;; |
7887 | test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" |
8112 | esac |
|
|
8113 | fi |
|
|
8114 | PERL=$ac_cv_path_PERL |
|
|
8115 | if test -n "$PERL"; then |
|
|
8116 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
|
8117 | $as_echo "$PERL" >&6; } |
|
|
8118 | else |
|
|
8119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8120 | $as_echo "no" >&6; } |
|
|
8121 | fi |
|
|
8122 | |
|
|
8123 | |
|
|
8124 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
8125 | set dummy perl; ac_word=$2 |
|
|
8126 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
8127 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
8128 | if ${ac_cv_path_PERL+:} false; then : |
|
|
8129 | $as_echo_n "(cached) " >&6 |
|
|
8130 | else |
|
|
8131 | case $PERL in |
|
|
8132 | [\\/]* | ?:[\\/]*) |
|
|
8133 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
8134 | ;; |
|
|
8135 | *) |
|
|
8136 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8137 | for as_dir in $PATH |
|
|
8138 | do |
|
|
8139 | IFS=$as_save_IFS |
|
|
8140 | test -z "$as_dir" && as_dir=. |
|
|
8141 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8142 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
8143 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
8144 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8145 | break 2 |
|
|
8146 | fi |
|
|
8147 | done |
|
|
8148 | done |
|
|
8149 | IFS=$as_save_IFS |
|
|
8150 | |
|
|
8151 | ;; |
7888 | ;; |
8152 | esac |
7889 | esac |
8153 | fi |
7890 | fi |
8154 | PERL=$ac_cv_path_PERL |
7891 | PERL=$ac_cv_path_PERL |
8155 | if test -n "$PERL"; then |
7892 | if test -n "$PERL"; then |
… | |
… | |
8287 | t end |
8024 | t end |
8288 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8025 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8289 | :end' >>confcache |
8026 | :end' >>confcache |
8290 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8027 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8291 | if test -w "$cache_file"; then |
8028 | if test -w "$cache_file"; then |
8292 | if test "x$cache_file" != "x/dev/null"; then |
8029 | test "x$cache_file" != "x/dev/null" && |
8293 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8030 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8294 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8031 | $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" |
8032 | 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 |
8033 | else |
8308 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8034 | { $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;} |
8035 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8310 | fi |
8036 | fi |
8311 | fi |
8037 | fi |
… | |
… | |
8333 | |
8059 | |
8334 | LTLIBOBJS=$ac_ltlibobjs |
8060 | LTLIBOBJS=$ac_ltlibobjs |
8335 | |
8061 | |
8336 | |
8062 | |
8337 | |
8063 | |
8338 | : "${CONFIG_STATUS=./config.status}" |
8064 | : ${CONFIG_STATUS=./config.status} |
8339 | ac_write_fail=0 |
8065 | ac_write_fail=0 |
8340 | ac_clean_files_save=$ac_clean_files |
8066 | ac_clean_files_save=$ac_clean_files |
8341 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8067 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8342 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8068 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8343 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8069 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
8434 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8160 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8435 | # splitting by setting IFS to empty value.) |
8161 | # splitting by setting IFS to empty value.) |
8436 | IFS=" "" $as_nl" |
8162 | IFS=" "" $as_nl" |
8437 | |
8163 | |
8438 | # Find who we are. Look in the path if we contain no directory separator. |
8164 | # Find who we are. Look in the path if we contain no directory separator. |
8439 | as_myself= |
|
|
8440 | case $0 in #(( |
8165 | case $0 in #(( |
8441 | *[\\/]* ) as_myself=$0 ;; |
8166 | *[\\/]* ) as_myself=$0 ;; |
8442 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8167 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8443 | for as_dir in $PATH |
8168 | for as_dir in $PATH |
8444 | do |
8169 | do |
… | |
… | |
8742 | # Save the log message, to keep $0 and so on meaningful, and to |
8467 | # 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 |
8468 | # report actual input values of CONFIG_FILES etc. instead of their |
8744 | # values after options handling. |
8469 | # values after options handling. |
8745 | ac_log=" |
8470 | ac_log=" |
8746 | This file was extended by $as_me, which was |
8471 | This file was extended by $as_me, which was |
8747 | generated by GNU Autoconf 2.68. Invocation command line was |
8472 | generated by GNU Autoconf 2.67. Invocation command line was |
8748 | |
8473 | |
8749 | CONFIG_FILES = $CONFIG_FILES |
8474 | CONFIG_FILES = $CONFIG_FILES |
8750 | CONFIG_HEADERS = $CONFIG_HEADERS |
8475 | CONFIG_HEADERS = $CONFIG_HEADERS |
8751 | CONFIG_LINKS = $CONFIG_LINKS |
8476 | CONFIG_LINKS = $CONFIG_LINKS |
8752 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
8477 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8804 | _ACEOF |
8529 | _ACEOF |
8805 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8530 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8806 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8531 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8807 | ac_cs_version="\\ |
8532 | ac_cs_version="\\ |
8808 | config.status |
8533 | config.status |
8809 | configured by $0, generated by GNU Autoconf 2.68, |
8534 | configured by $0, generated by GNU Autoconf 2.67, |
8810 | with options \\"\$ac_cs_config\\" |
8535 | with options \\"\$ac_cs_config\\" |
8811 | |
8536 | |
8812 | Copyright (C) 2010 Free Software Foundation, Inc. |
8537 | Copyright (C) 2010 Free Software Foundation, Inc. |
8813 | This config.status script is free software; the Free Software Foundation |
8538 | This config.status script is free software; the Free Software Foundation |
8814 | gives unlimited permission to copy, distribute and modify it." |
8539 | gives unlimited permission to copy, distribute and modify it." |
… | |
… | |
8930 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8655 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8931 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8656 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8932 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8657 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8933 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8658 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8934 | |
8659 | |
8935 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
8660 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
8936 | esac |
8661 | esac |
8937 | done |
8662 | done |
8938 | |
8663 | |
8939 | |
8664 | |
8940 | # If the user did not use the arguments to specify the items to instantiate, |
8665 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
8952 | # Hook for its removal unless debugging. |
8677 | # Hook for its removal unless debugging. |
8953 | # Note that there is a small window in which the directory will not be cleaned: |
8678 | # 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'. |
8679 | # after its creation but before its name has been assigned to `$tmp'. |
8955 | $debug || |
8680 | $debug || |
8956 | { |
8681 | { |
8957 | tmp= ac_tmp= |
8682 | tmp= |
8958 | trap 'exit_status=$? |
8683 | trap 'exit_status=$? |
8959 | : "${ac_tmp:=$tmp}" |
|
|
8960 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
8684 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
8961 | ' 0 |
8685 | ' 0 |
8962 | trap 'as_fn_exit 1' 1 2 13 15 |
8686 | trap 'as_fn_exit 1' 1 2 13 15 |
8963 | } |
8687 | } |
8964 | # Create a (secure) tmp directory for tmp files. |
8688 | # Create a (secure) tmp directory for tmp files. |
8965 | |
8689 | |
8966 | { |
8690 | { |
8967 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8691 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8968 | test -d "$tmp" |
8692 | test -n "$tmp" && test -d "$tmp" |
8969 | } || |
8693 | } || |
8970 | { |
8694 | { |
8971 | tmp=./conf$$-$RANDOM |
8695 | tmp=./conf$$-$RANDOM |
8972 | (umask 077 && mkdir "$tmp") |
8696 | (umask 077 && mkdir "$tmp") |
8973 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8697 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8974 | ac_tmp=$tmp |
|
|
8975 | |
8698 | |
8976 | # Set up the scripts for CONFIG_FILES section. |
8699 | # Set up the scripts for CONFIG_FILES section. |
8977 | # No need to generate them if there are no CONFIG_FILES. |
8700 | # No need to generate them if there are no CONFIG_FILES. |
8978 | # This happens for instance with `./config.status config.h'. |
8701 | # This happens for instance with `./config.status config.h'. |
8979 | if test -n "$CONFIG_FILES"; then |
8702 | if test -n "$CONFIG_FILES"; then |
… | |
… | |
8991 | ac_cs_awk_cr='\\r' |
8714 | ac_cs_awk_cr='\\r' |
8992 | else |
8715 | else |
8993 | ac_cs_awk_cr=$ac_cr |
8716 | ac_cs_awk_cr=$ac_cr |
8994 | fi |
8717 | fi |
8995 | |
8718 | |
8996 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
8719 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
8997 | _ACEOF |
8720 | _ACEOF |
8998 | |
8721 | |
8999 | |
8722 | |
9000 | { |
8723 | { |
9001 | echo "cat >conf$$subs.awk <<_ACEOF" && |
8724 | echo "cat >conf$$subs.awk <<_ACEOF" && |
… | |
… | |
9019 | fi |
8742 | fi |
9020 | done |
8743 | done |
9021 | rm -f conf$$subs.sh |
8744 | rm -f conf$$subs.sh |
9022 | |
8745 | |
9023 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8746 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9024 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
8747 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
9025 | _ACEOF |
8748 | _ACEOF |
9026 | sed -n ' |
8749 | sed -n ' |
9027 | h |
8750 | h |
9028 | s/^/S["/; s/!.*/"]=/ |
8751 | s/^/S["/; s/!.*/"]=/ |
9029 | p |
8752 | p |
… | |
… | |
9067 | } |
8790 | } |
9068 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
8791 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
9069 | rm -f conf$$subs.awk |
8792 | rm -f conf$$subs.awk |
9070 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8793 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9071 | _ACAWK |
8794 | _ACAWK |
9072 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
8795 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
9073 | for (key in S) S_is_set[key] = 1 |
8796 | for (key in S) S_is_set[key] = 1 |
9074 | FS = "" |
8797 | FS = "" |
9075 | |
8798 | |
9076 | } |
8799 | } |
9077 | { |
8800 | { |
… | |
… | |
9099 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8822 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9100 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
8823 | 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" |
8824 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
9102 | else |
8825 | else |
9103 | cat |
8826 | cat |
9104 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
8827 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
9105 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
8828 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9106 | _ACEOF |
8829 | _ACEOF |
9107 | |
8830 | |
9108 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
8831 | # 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 |
8832 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
… | |
… | |
9133 | |
8856 | |
9134 | # Set up the scripts for CONFIG_HEADERS section. |
8857 | # Set up the scripts for CONFIG_HEADERS section. |
9135 | # No need to generate them if there are no CONFIG_HEADERS. |
8858 | # No need to generate them if there are no CONFIG_HEADERS. |
9136 | # This happens for instance with `./config.status Makefile'. |
8859 | # This happens for instance with `./config.status Makefile'. |
9137 | if test -n "$CONFIG_HEADERS"; then |
8860 | if test -n "$CONFIG_HEADERS"; then |
9138 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
8861 | cat >"$tmp/defines.awk" <<\_ACAWK || |
9139 | BEGIN { |
8862 | BEGIN { |
9140 | _ACEOF |
8863 | _ACEOF |
9141 | |
8864 | |
9142 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
8865 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9143 | # here-document in config.status, that substitutes the proper values into |
8866 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
9145 | |
8868 | |
9146 | # Create a delimiter string that does not exist in confdefs.h, to ease |
8869 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9147 | # handling of long lines. |
8870 | # handling of long lines. |
9148 | ac_delim='%!_!# ' |
8871 | ac_delim='%!_!# ' |
9149 | for ac_last_try in false false :; do |
8872 | for ac_last_try in false false :; do |
9150 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
8873 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
9151 | if test -z "$ac_tt"; then |
8874 | if test -z "$ac_t"; then |
9152 | break |
8875 | break |
9153 | elif $ac_last_try; then |
8876 | elif $ac_last_try; then |
9154 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
8877 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9155 | else |
8878 | else |
9156 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
8879 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
9247 | case $ac_tag in |
8970 | case $ac_tag in |
9248 | :[FHLC]) ac_mode=$ac_tag; continue;; |
8971 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9249 | esac |
8972 | esac |
9250 | case $ac_mode$ac_tag in |
8973 | case $ac_mode$ac_tag in |
9251 | :[FHL]*:*);; |
8974 | :[FHL]*:*);; |
9252 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
8975 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9253 | :[FH]-) ac_tag=-:-;; |
8976 | :[FH]-) ac_tag=-:-;; |
9254 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
8977 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9255 | esac |
8978 | esac |
9256 | ac_save_IFS=$IFS |
8979 | ac_save_IFS=$IFS |
9257 | IFS=: |
8980 | IFS=: |
… | |
… | |
9266 | :[FH]) |
8989 | :[FH]) |
9267 | ac_file_inputs= |
8990 | ac_file_inputs= |
9268 | for ac_f |
8991 | for ac_f |
9269 | do |
8992 | do |
9270 | case $ac_f in |
8993 | case $ac_f in |
9271 | -) ac_f="$ac_tmp/stdin";; |
8994 | -) ac_f="$tmp/stdin";; |
9272 | *) # Look for the file first in the build tree, then in the source tree |
8995 | *) # 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, |
8996 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9274 | # because $ac_f cannot contain `:'. |
8997 | # because $ac_f cannot contain `:'. |
9275 | test -f "$ac_f" || |
8998 | test -f "$ac_f" || |
9276 | case $ac_f in |
8999 | case $ac_f in |
9277 | [\\/$]*) false;; |
9000 | [\\/$]*) false;; |
9278 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9001 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9279 | esac || |
9002 | esac || |
9280 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
9003 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
9281 | esac |
9004 | esac |
9282 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9005 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9283 | as_fn_append ac_file_inputs " '$ac_f'" |
9006 | as_fn_append ac_file_inputs " '$ac_f'" |
9284 | done |
9007 | done |
9285 | |
9008 | |
… | |
… | |
9301 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9024 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9302 | *) ac_sed_conf_input=$configure_input;; |
9025 | *) ac_sed_conf_input=$configure_input;; |
9303 | esac |
9026 | esac |
9304 | |
9027 | |
9305 | case $ac_tag in |
9028 | case $ac_tag in |
9306 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
9029 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9307 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9030 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9308 | esac |
9031 | esac |
9309 | ;; |
9032 | ;; |
9310 | esac |
9033 | esac |
9311 | |
9034 | |
9312 | ac_dir=`$as_dirname -- "$ac_file" || |
9035 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
9432 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9155 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9433 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9156 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9434 | s&@INSTALL@&$ac_INSTALL&;t t |
9157 | s&@INSTALL@&$ac_INSTALL&;t t |
9435 | $ac_datarootdir_hack |
9158 | $ac_datarootdir_hack |
9436 | " |
9159 | " |
9437 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9160 | 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 |
9161 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9439 | |
9162 | |
9440 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9163 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9441 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
9164 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
9442 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
9165 | { 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' |
9166 | { $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 |
9167 | 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' |
9168 | $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;} |
9169 | which seems to be undefined. Please make sure it is defined" >&2;} |
9448 | |
9170 | |
9449 | rm -f "$ac_tmp/stdin" |
9171 | rm -f "$tmp/stdin" |
9450 | case $ac_file in |
9172 | case $ac_file in |
9451 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
9173 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
9452 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
9174 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
9453 | esac \ |
9175 | esac \ |
9454 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9176 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9455 | ;; |
9177 | ;; |
9456 | :H) |
9178 | :H) |
9457 | # |
9179 | # |
9458 | # CONFIG_HEADER |
9180 | # CONFIG_HEADER |
9459 | # |
9181 | # |
9460 | if test x"$ac_file" != x-; then |
9182 | if test x"$ac_file" != x-; then |
9461 | { |
9183 | { |
9462 | $as_echo "/* $configure_input */" \ |
9184 | $as_echo "/* $configure_input */" \ |
9463 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9185 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
9464 | } >"$ac_tmp/config.h" \ |
9186 | } >"$tmp/config.h" \ |
9465 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9187 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9466 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
9188 | 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 |
9189 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9468 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9190 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9469 | else |
9191 | else |
9470 | rm -f "$ac_file" |
9192 | rm -f "$ac_file" |
9471 | mv "$ac_tmp/config.h" "$ac_file" \ |
9193 | mv "$tmp/config.h" "$ac_file" \ |
9472 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9194 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9473 | fi |
9195 | fi |
9474 | else |
9196 | else |
9475 | $as_echo "/* $configure_input */" \ |
9197 | $as_echo "/* $configure_input */" \ |
9476 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9198 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
9477 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9199 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9478 | fi |
9200 | fi |
9479 | ;; |
9201 | ;; |
9480 | |
9202 | |
9481 | |
9203 | |