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 |
|
|
602 | PIXBUF_LIBS |
|
|
603 | PIXBUF_CFLAGS |
610 | XFT_CONFIG |
604 | XFT_CONFIG |
611 | AFTERIMAGE_LIBS |
|
|
612 | AFTERIMAGE_CFLAGS |
|
|
613 | afterimage_config |
|
|
614 | STARTUP_NOTIFICATION_LIBS |
605 | STARTUP_NOTIFICATION_LIBS |
615 | STARTUP_NOTIFICATION_CFLAGS |
606 | STARTUP_NOTIFICATION_CFLAGS |
616 | PIXBUF_LIBS |
|
|
617 | PIXBUF_CFLAGS |
|
|
618 | PKG_CONFIG |
607 | PKG_CONFIG |
619 | X_EXTRA_LIBS |
608 | X_EXTRA_LIBS |
620 | X_LIBS |
609 | X_LIBS |
621 | X_PRE_LIBS |
610 | X_PRE_LIBS |
622 | X_CFLAGS |
611 | X_CFLAGS |
… | |
… | |
625 | CXXCPP |
614 | CXXCPP |
626 | RXVTNAME |
615 | RXVTNAME |
627 | LINKER |
616 | LINKER |
628 | EGREP |
617 | EGREP |
629 | GREP |
618 | GREP |
|
|
619 | CPP |
630 | INSTALL_DATA |
620 | INSTALL_DATA |
631 | INSTALL_SCRIPT |
621 | INSTALL_SCRIPT |
632 | INSTALL_PROGRAM |
622 | INSTALL_PROGRAM |
633 | CPP |
|
|
634 | ac_ct_CXX |
623 | ac_ct_CXX |
635 | CXXFLAGS |
624 | CXXFLAGS |
636 | CXX |
625 | CXX |
637 | OBJEXT |
626 | OBJEXT |
638 | EXEEXT |
627 | EXEEXT |
… | |
… | |
698 | enable_256_color |
687 | enable_256_color |
699 | enable_unicode3 |
688 | enable_unicode3 |
700 | enable_combining |
689 | enable_combining |
701 | enable_xft |
690 | enable_xft |
702 | enable_font_styles |
691 | enable_font_styles |
703 | enable_afterimage |
|
|
704 | with_afterimage_config |
|
|
705 | enable_pixbuf |
692 | enable_pixbuf |
706 | enable_startup_notification |
693 | enable_startup_notification |
707 | enable_transparency |
694 | enable_transparency |
708 | enable_fading |
695 | enable_fading |
709 | enable_rxvt_scroll |
696 | enable_rxvt_scroll |
… | |
… | |
1153 | *) |
1140 | *) |
1154 | # FIXME: should be removed in autoconf 3.0. |
1141 | # FIXME: should be removed in autoconf 3.0. |
1155 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1142 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1156 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1143 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1157 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1144 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1158 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1145 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1159 | ;; |
1146 | ;; |
1160 | |
1147 | |
1161 | esac |
1148 | esac |
1162 | done |
1149 | done |
1163 | |
1150 | |
… | |
… | |
1375 | --enable-256-color enable 256-color support |
1362 | --enable-256-color enable 256-color support |
1376 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1363 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1377 | --enable-combining enable composition of base and combining characters |
1364 | --enable-combining enable composition of base and combining characters |
1378 | --enable-xft enable xft support on systems that have it |
1365 | --enable-xft enable xft support on systems that have it |
1379 | --enable-font-styles enable bold and italic support |
1366 | --enable-font-styles enable bold and italic support |
1380 | --enable-afterimage enable integration with libAfterImage for background images (deprecated) |
|
|
1381 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1367 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1382 | --enable-startup-notification enable freedesktop startup notification support |
1368 | --enable-startup-notification enable freedesktop startup notification support |
1383 | --enable-transparency enable transparent backgrounds |
1369 | --enable-transparency enable transparent backgrounds |
1384 | --enable-fading enable colors fading when off focus |
1370 | --enable-fading enable colors fading when off focus |
1385 | --enable-rxvt-scroll enable rxvt style scrollbar |
1371 | --enable-rxvt-scroll enable rxvt style scrollbar |
… | |
… | |
1407 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1393 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1408 | |
1394 | |
1409 | Optional Packages: |
1395 | Optional Packages: |
1410 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1396 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1411 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1397 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1412 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
|
|
1413 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1398 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1414 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1399 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1415 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1400 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1416 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1401 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1417 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1402 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1497 | |
1482 | |
1498 | test -n "$ac_init_help" && exit $ac_status |
1483 | test -n "$ac_init_help" && exit $ac_status |
1499 | if $ac_init_version; then |
1484 | if $ac_init_version; then |
1500 | cat <<\_ACEOF |
1485 | cat <<\_ACEOF |
1501 | configure |
1486 | configure |
1502 | generated by GNU Autoconf 2.68 |
1487 | generated by GNU Autoconf 2.67 |
1503 | |
1488 | |
1504 | Copyright (C) 2010 Free Software Foundation, Inc. |
1489 | Copyright (C) 2010 Free Software Foundation, Inc. |
1505 | This configure script is free software; the Free Software Foundation |
1490 | This configure script is free software; the Free Software Foundation |
1506 | gives unlimited permission to copy, distribute and modify it. |
1491 | gives unlimited permission to copy, distribute and modify it. |
1507 | _ACEOF |
1492 | _ACEOF |
… | |
… | |
1543 | $as_echo "$as_me: failed program was:" >&5 |
1528 | $as_echo "$as_me: failed program was:" >&5 |
1544 | sed 's/^/| /' conftest.$ac_ext >&5 |
1529 | sed 's/^/| /' conftest.$ac_ext >&5 |
1545 | |
1530 | |
1546 | ac_retval=1 |
1531 | ac_retval=1 |
1547 | fi |
1532 | fi |
1548 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1533 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1549 | as_fn_set_status $ac_retval |
1534 | as_fn_set_status $ac_retval |
1550 | |
1535 | |
1551 | } # ac_fn_c_try_compile |
1536 | } # ac_fn_c_try_compile |
1552 | |
1537 | |
1553 | # ac_fn_cxx_try_compile LINENO |
1538 | # ac_fn_cxx_try_compile LINENO |
… | |
… | |
1581 | $as_echo "$as_me: failed program was:" >&5 |
1566 | $as_echo "$as_me: failed program was:" >&5 |
1582 | sed 's/^/| /' conftest.$ac_ext >&5 |
1567 | sed 's/^/| /' conftest.$ac_ext >&5 |
1583 | |
1568 | |
1584 | ac_retval=1 |
1569 | ac_retval=1 |
1585 | fi |
1570 | fi |
1586 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1571 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1587 | as_fn_set_status $ac_retval |
1572 | as_fn_set_status $ac_retval |
1588 | |
1573 | |
1589 | } # ac_fn_cxx_try_compile |
1574 | } # ac_fn_cxx_try_compile |
1590 | |
1575 | |
1591 | # ac_fn_c_try_cpp LINENO |
1576 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1618 | $as_echo "$as_me: failed program was:" >&5 |
1603 | $as_echo "$as_me: failed program was:" >&5 |
1619 | sed 's/^/| /' conftest.$ac_ext >&5 |
1604 | sed 's/^/| /' conftest.$ac_ext >&5 |
1620 | |
1605 | |
1621 | ac_retval=1 |
1606 | ac_retval=1 |
1622 | fi |
1607 | fi |
1623 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1608 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1624 | as_fn_set_status $ac_retval |
1609 | as_fn_set_status $ac_retval |
1625 | |
1610 | |
1626 | } # ac_fn_c_try_cpp |
1611 | } # ac_fn_c_try_cpp |
1627 | |
1612 | |
1628 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1613 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1631 | # the include files in INCLUDES and setting the cache variable VAR |
1616 | # the include files in INCLUDES and setting the cache variable VAR |
1632 | # accordingly. |
1617 | # accordingly. |
1633 | ac_fn_c_check_header_mongrel () |
1618 | ac_fn_c_check_header_mongrel () |
1634 | { |
1619 | { |
1635 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1620 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1636 | if eval \${$3+:} false; then : |
1621 | if eval "test \"\${$3+set}\"" = set; then : |
1637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1622 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1638 | $as_echo_n "checking for $2... " >&6; } |
1623 | $as_echo_n "checking for $2... " >&6; } |
1639 | if eval \${$3+:} false; then : |
1624 | if eval "test \"\${$3+set}\"" = set; then : |
1640 | $as_echo_n "(cached) " >&6 |
1625 | $as_echo_n "(cached) " >&6 |
1641 | fi |
1626 | fi |
1642 | eval ac_res=\$$3 |
1627 | eval ac_res=\$$3 |
1643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1644 | $as_echo "$ac_res" >&6; } |
1629 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1697 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1682 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1698 | ;; |
1683 | ;; |
1699 | esac |
1684 | esac |
1700 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1701 | $as_echo_n "checking for $2... " >&6; } |
1686 | $as_echo_n "checking for $2... " >&6; } |
1702 | if eval \${$3+:} false; then : |
1687 | if eval "test \"\${$3+set}\"" = set; then : |
1703 | $as_echo_n "(cached) " >&6 |
1688 | $as_echo_n "(cached) " >&6 |
1704 | else |
1689 | else |
1705 | eval "$3=\$ac_header_compiler" |
1690 | eval "$3=\$ac_header_compiler" |
1706 | fi |
1691 | fi |
1707 | eval ac_res=\$$3 |
1692 | eval ac_res=\$$3 |
1708 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1709 | $as_echo "$ac_res" >&6; } |
1694 | $as_echo "$ac_res" >&6; } |
1710 | fi |
1695 | fi |
1711 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1696 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1712 | |
1697 | |
1713 | } # ac_fn_c_check_header_mongrel |
1698 | } # ac_fn_c_check_header_mongrel |
1714 | |
1699 | |
1715 | # ac_fn_c_try_run LINENO |
1700 | # ac_fn_c_try_run LINENO |
1716 | # ---------------------- |
1701 | # ---------------------- |
… | |
… | |
1747 | sed 's/^/| /' conftest.$ac_ext >&5 |
1732 | sed 's/^/| /' conftest.$ac_ext >&5 |
1748 | |
1733 | |
1749 | ac_retval=$ac_status |
1734 | ac_retval=$ac_status |
1750 | fi |
1735 | fi |
1751 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1736 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1752 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1737 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1753 | as_fn_set_status $ac_retval |
1738 | as_fn_set_status $ac_retval |
1754 | |
1739 | |
1755 | } # ac_fn_c_try_run |
1740 | } # ac_fn_c_try_run |
1756 | |
1741 | |
1757 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1742 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1761 | ac_fn_c_check_header_compile () |
1746 | ac_fn_c_check_header_compile () |
1762 | { |
1747 | { |
1763 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1748 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1764 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1765 | $as_echo_n "checking for $2... " >&6; } |
1750 | $as_echo_n "checking for $2... " >&6; } |
1766 | if eval \${$3+:} false; then : |
1751 | if eval "test \"\${$3+set}\"" = set; then : |
1767 | $as_echo_n "(cached) " >&6 |
1752 | $as_echo_n "(cached) " >&6 |
1768 | else |
1753 | else |
1769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1754 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1770 | /* end confdefs.h. */ |
1755 | /* end confdefs.h. */ |
1771 | $4 |
1756 | $4 |
… | |
… | |
1779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1764 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1780 | fi |
1765 | fi |
1781 | eval ac_res=\$$3 |
1766 | eval ac_res=\$$3 |
1782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1767 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1783 | $as_echo "$ac_res" >&6; } |
1768 | $as_echo "$ac_res" >&6; } |
1784 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1769 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1785 | |
1770 | |
1786 | } # ac_fn_c_check_header_compile |
1771 | } # ac_fn_c_check_header_compile |
1787 | |
1772 | |
1788 | # ac_fn_c_try_link LINENO |
1773 | # ac_fn_c_try_link LINENO |
1789 | # ----------------------- |
1774 | # ----------------------- |
… | |
… | |
1824 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1809 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1825 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1810 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1826 | # interfere with the next link command; also delete a directory that is |
1811 | # interfere with the next link command; also delete a directory that is |
1827 | # left behind by Apple's compiler. We do this before executing the actions. |
1812 | # left behind by Apple's compiler. We do this before executing the actions. |
1828 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1813 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1829 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1814 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1830 | as_fn_set_status $ac_retval |
1815 | as_fn_set_status $ac_retval |
1831 | |
1816 | |
1832 | } # ac_fn_c_try_link |
1817 | } # ac_fn_c_try_link |
1833 | |
1818 | |
1834 | # ac_fn_cxx_try_link LINENO |
1819 | # ac_fn_cxx_try_link LINENO |
… | |
… | |
1870 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1855 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1871 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1856 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1872 | # interfere with the next link command; also delete a directory that is |
1857 | # interfere with the next link command; also delete a directory that is |
1873 | # left behind by Apple's compiler. We do this before executing the actions. |
1858 | # left behind by Apple's compiler. We do this before executing the actions. |
1874 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1859 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1875 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1860 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1876 | as_fn_set_status $ac_retval |
1861 | as_fn_set_status $ac_retval |
1877 | |
1862 | |
1878 | } # ac_fn_cxx_try_link |
1863 | } # ac_fn_cxx_try_link |
1879 | |
1864 | |
1880 | # ac_fn_cxx_try_cpp LINENO |
1865 | # ac_fn_cxx_try_cpp LINENO |
… | |
… | |
1907 | $as_echo "$as_me: failed program was:" >&5 |
1892 | $as_echo "$as_me: failed program was:" >&5 |
1908 | sed 's/^/| /' conftest.$ac_ext >&5 |
1893 | sed 's/^/| /' conftest.$ac_ext >&5 |
1909 | |
1894 | |
1910 | ac_retval=1 |
1895 | ac_retval=1 |
1911 | fi |
1896 | fi |
1912 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1897 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1913 | as_fn_set_status $ac_retval |
1898 | as_fn_set_status $ac_retval |
1914 | |
1899 | |
1915 | } # ac_fn_cxx_try_cpp |
1900 | } # ac_fn_cxx_try_cpp |
1916 | |
1901 | |
1917 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1902 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1920 | # the include files in INCLUDES and setting the cache variable VAR |
1905 | # the include files in INCLUDES and setting the cache variable VAR |
1921 | # accordingly. |
1906 | # accordingly. |
1922 | ac_fn_cxx_check_header_mongrel () |
1907 | ac_fn_cxx_check_header_mongrel () |
1923 | { |
1908 | { |
1924 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1909 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1925 | if eval \${$3+:} false; then : |
1910 | if eval "test \"\${$3+set}\"" = set; then : |
1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1927 | $as_echo_n "checking for $2... " >&6; } |
1912 | $as_echo_n "checking for $2... " >&6; } |
1928 | if eval \${$3+:} false; then : |
1913 | if eval "test \"\${$3+set}\"" = set; then : |
1929 | $as_echo_n "(cached) " >&6 |
1914 | $as_echo_n "(cached) " >&6 |
1930 | fi |
1915 | fi |
1931 | eval ac_res=\$$3 |
1916 | eval ac_res=\$$3 |
1932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1917 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1933 | $as_echo "$ac_res" >&6; } |
1918 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1986 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1971 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1987 | ;; |
1972 | ;; |
1988 | esac |
1973 | esac |
1989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1974 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1990 | $as_echo_n "checking for $2... " >&6; } |
1975 | $as_echo_n "checking for $2... " >&6; } |
1991 | if eval \${$3+:} false; then : |
1976 | if eval "test \"\${$3+set}\"" = set; then : |
1992 | $as_echo_n "(cached) " >&6 |
1977 | $as_echo_n "(cached) " >&6 |
1993 | else |
1978 | else |
1994 | eval "$3=\$ac_header_compiler" |
1979 | eval "$3=\$ac_header_compiler" |
1995 | fi |
1980 | fi |
1996 | eval ac_res=\$$3 |
1981 | eval ac_res=\$$3 |
1997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1982 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1998 | $as_echo "$ac_res" >&6; } |
1983 | $as_echo "$ac_res" >&6; } |
1999 | fi |
1984 | fi |
2000 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1985 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2001 | |
1986 | |
2002 | } # ac_fn_cxx_check_header_mongrel |
1987 | } # ac_fn_cxx_check_header_mongrel |
2003 | |
1988 | |
2004 | # ac_fn_cxx_check_func LINENO FUNC VAR |
1989 | # ac_fn_cxx_check_func LINENO FUNC VAR |
2005 | # ------------------------------------ |
1990 | # ------------------------------------ |
… | |
… | |
2007 | ac_fn_cxx_check_func () |
1992 | ac_fn_cxx_check_func () |
2008 | { |
1993 | { |
2009 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1994 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1995 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2011 | $as_echo_n "checking for $2... " >&6; } |
1996 | $as_echo_n "checking for $2... " >&6; } |
2012 | if eval \${$3+:} false; then : |
1997 | if eval "test \"\${$3+set}\"" = set; then : |
2013 | $as_echo_n "(cached) " >&6 |
1998 | $as_echo_n "(cached) " >&6 |
2014 | else |
1999 | else |
2015 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2000 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2016 | /* end confdefs.h. */ |
2001 | /* end confdefs.h. */ |
2017 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2002 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
… | |
… | |
2062 | conftest$ac_exeext conftest.$ac_ext |
2047 | conftest$ac_exeext conftest.$ac_ext |
2063 | fi |
2048 | fi |
2064 | eval ac_res=\$$3 |
2049 | eval ac_res=\$$3 |
2065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2066 | $as_echo "$ac_res" >&6; } |
2051 | $as_echo "$ac_res" >&6; } |
2067 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2052 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2068 | |
2053 | |
2069 | } # ac_fn_cxx_check_func |
2054 | } # ac_fn_cxx_check_func |
2070 | |
2055 | |
2071 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2056 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2072 | # --------------------------------------------- |
2057 | # --------------------------------------------- |
… | |
… | |
2075 | ac_fn_cxx_check_type () |
2060 | ac_fn_cxx_check_type () |
2076 | { |
2061 | { |
2077 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2062 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2078 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2079 | $as_echo_n "checking for $2... " >&6; } |
2064 | $as_echo_n "checking for $2... " >&6; } |
2080 | if eval \${$3+:} false; then : |
2065 | if eval "test \"\${$3+set}\"" = set; then : |
2081 | $as_echo_n "(cached) " >&6 |
2066 | $as_echo_n "(cached) " >&6 |
2082 | else |
2067 | else |
2083 | eval "$3=no" |
2068 | eval "$3=no" |
2084 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2085 | /* end confdefs.h. */ |
2070 | /* end confdefs.h. */ |
… | |
… | |
2116 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2101 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2117 | fi |
2102 | fi |
2118 | eval ac_res=\$$3 |
2103 | eval ac_res=\$$3 |
2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2120 | $as_echo "$ac_res" >&6; } |
2105 | $as_echo "$ac_res" >&6; } |
2121 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2106 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2122 | |
2107 | |
2123 | } # ac_fn_cxx_check_type |
2108 | } # ac_fn_cxx_check_type |
2124 | |
2109 | |
2125 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2110 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2126 | # ----------------------------------- |
2111 | # ----------------------------------- |
… | |
… | |
2129 | ac_fn_c_find_intX_t () |
2114 | ac_fn_c_find_intX_t () |
2130 | { |
2115 | { |
2131 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2116 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2133 | $as_echo_n "checking for int$2_t... " >&6; } |
2118 | $as_echo_n "checking for int$2_t... " >&6; } |
2134 | if eval \${$3+:} false; then : |
2119 | if eval "test \"\${$3+set}\"" = set; then : |
2135 | $as_echo_n "(cached) " >&6 |
2120 | $as_echo_n "(cached) " >&6 |
2136 | else |
2121 | else |
2137 | eval "$3=no" |
2122 | eval "$3=no" |
2138 | # Order is important - never check a type that is potentially smaller |
2123 | # Order is important - never check a type that is potentially smaller |
2139 | # than half of the expected target width. |
2124 | # than half of the expected target width. |
… | |
… | |
2190 | done |
2175 | done |
2191 | fi |
2176 | fi |
2192 | eval ac_res=\$$3 |
2177 | eval ac_res=\$$3 |
2193 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2194 | $as_echo "$ac_res" >&6; } |
2179 | $as_echo "$ac_res" >&6; } |
2195 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2180 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2196 | |
2181 | |
2197 | } # ac_fn_c_find_intX_t |
2182 | } # ac_fn_c_find_intX_t |
2198 | |
2183 | |
2199 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2184 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2200 | # ------------------------------------ |
2185 | # ------------------------------------ |
… | |
… | |
2203 | ac_fn_c_find_uintX_t () |
2188 | ac_fn_c_find_uintX_t () |
2204 | { |
2189 | { |
2205 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2190 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2206 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2191 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2207 | $as_echo_n "checking for uint$2_t... " >&6; } |
2192 | $as_echo_n "checking for uint$2_t... " >&6; } |
2208 | if eval \${$3+:} false; then : |
2193 | if eval "test \"\${$3+set}\"" = set; then : |
2209 | $as_echo_n "(cached) " >&6 |
2194 | $as_echo_n "(cached) " >&6 |
2210 | else |
2195 | else |
2211 | eval "$3=no" |
2196 | eval "$3=no" |
2212 | # Order is important - never check a type that is potentially smaller |
2197 | # Order is important - never check a type that is potentially smaller |
2213 | # than half of the expected target width. |
2198 | # than half of the expected target width. |
… | |
… | |
2243 | done |
2228 | done |
2244 | fi |
2229 | fi |
2245 | eval ac_res=\$$3 |
2230 | eval ac_res=\$$3 |
2246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2247 | $as_echo "$ac_res" >&6; } |
2232 | $as_echo "$ac_res" >&6; } |
2248 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2233 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2249 | |
2234 | |
2250 | } # ac_fn_c_find_uintX_t |
2235 | } # ac_fn_c_find_uintX_t |
2251 | |
2236 | |
2252 | # ac_fn_cxx_try_run LINENO |
2237 | # ac_fn_cxx_try_run LINENO |
2253 | # ------------------------ |
2238 | # ------------------------ |
… | |
… | |
2284 | sed 's/^/| /' conftest.$ac_ext >&5 |
2269 | sed 's/^/| /' conftest.$ac_ext >&5 |
2285 | |
2270 | |
2286 | ac_retval=$ac_status |
2271 | ac_retval=$ac_status |
2287 | fi |
2272 | fi |
2288 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2273 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2289 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2274 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2290 | as_fn_set_status $ac_retval |
2275 | as_fn_set_status $ac_retval |
2291 | |
2276 | |
2292 | } # ac_fn_cxx_try_run |
2277 | } # ac_fn_cxx_try_run |
2293 | cat >config.log <<_ACEOF |
2278 | cat >config.log <<_ACEOF |
2294 | This file contains any messages produced by compilers while |
2279 | This file contains any messages produced by compilers while |
2295 | running configure, to aid debugging if configure makes a mistake. |
2280 | running configure, to aid debugging if configure makes a mistake. |
2296 | |
2281 | |
2297 | It was created by $as_me, which was |
2282 | It was created by $as_me, which was |
2298 | generated by GNU Autoconf 2.68. Invocation command line was |
2283 | generated by GNU Autoconf 2.67. Invocation command line was |
2299 | |
2284 | |
2300 | $ $0 $@ |
2285 | $ $0 $@ |
2301 | |
2286 | |
2302 | _ACEOF |
2287 | _ACEOF |
2303 | exec 5>>config.log |
2288 | exec 5>>config.log |
… | |
… | |
2551 | sed 's/^/| /' "$ac_site_file" >&5 |
2536 | sed 's/^/| /' "$ac_site_file" >&5 |
2552 | . "$ac_site_file" \ |
2537 | . "$ac_site_file" \ |
2553 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2538 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2554 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2539 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2555 | as_fn_error $? "failed to load site script $ac_site_file |
2540 | as_fn_error $? "failed to load site script $ac_site_file |
2556 | See \`config.log' for more details" "$LINENO" 5; } |
2541 | See \`config.log' for more details" "$LINENO" 5 ; } |
2557 | fi |
2542 | fi |
2558 | done |
2543 | done |
2559 | |
2544 | |
2560 | if test -r "$cache_file"; then |
2545 | if test -r "$cache_file"; then |
2561 | # Some versions of bash will fail to source /dev/null (special files |
2546 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2680 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2665 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2681 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2666 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2682 | |
2667 | |
2683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2684 | $as_echo_n "checking build system type... " >&6; } |
2669 | $as_echo_n "checking build system type... " >&6; } |
2685 | if ${ac_cv_build+:} false; then : |
2670 | if test "${ac_cv_build+set}" = set; then : |
2686 | $as_echo_n "(cached) " >&6 |
2671 | $as_echo_n "(cached) " >&6 |
2687 | else |
2672 | else |
2688 | ac_build_alias=$build_alias |
2673 | ac_build_alias=$build_alias |
2689 | test "x$ac_build_alias" = x && |
2674 | test "x$ac_build_alias" = x && |
2690 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2675 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
… | |
… | |
2696 | fi |
2681 | fi |
2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2698 | $as_echo "$ac_cv_build" >&6; } |
2683 | $as_echo "$ac_cv_build" >&6; } |
2699 | case $ac_cv_build in |
2684 | case $ac_cv_build in |
2700 | *-*-*) ;; |
2685 | *-*-*) ;; |
2701 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2686 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2702 | esac |
2687 | esac |
2703 | build=$ac_cv_build |
2688 | build=$ac_cv_build |
2704 | ac_save_IFS=$IFS; IFS='-' |
2689 | ac_save_IFS=$IFS; IFS='-' |
2705 | set x $ac_cv_build |
2690 | set x $ac_cv_build |
2706 | shift |
2691 | shift |
… | |
… | |
2714 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2699 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2715 | |
2700 | |
2716 | |
2701 | |
2717 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2702 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2718 | $as_echo_n "checking host system type... " >&6; } |
2703 | $as_echo_n "checking host system type... " >&6; } |
2719 | if ${ac_cv_host+:} false; then : |
2704 | if test "${ac_cv_host+set}" = set; then : |
2720 | $as_echo_n "(cached) " >&6 |
2705 | $as_echo_n "(cached) " >&6 |
2721 | else |
2706 | else |
2722 | if test "x$host_alias" = x; then |
2707 | if test "x$host_alias" = x; then |
2723 | ac_cv_host=$ac_cv_build |
2708 | ac_cv_host=$ac_cv_build |
2724 | else |
2709 | else |
… | |
… | |
2729 | fi |
2714 | fi |
2730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2731 | $as_echo "$ac_cv_host" >&6; } |
2716 | $as_echo "$ac_cv_host" >&6; } |
2732 | case $ac_cv_host in |
2717 | case $ac_cv_host in |
2733 | *-*-*) ;; |
2718 | *-*-*) ;; |
2734 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2719 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2735 | esac |
2720 | esac |
2736 | host=$ac_cv_host |
2721 | host=$ac_cv_host |
2737 | ac_save_IFS=$IFS; IFS='-' |
2722 | ac_save_IFS=$IFS; IFS='-' |
2738 | set x $ac_cv_host |
2723 | set x $ac_cv_host |
2739 | shift |
2724 | shift |
… | |
… | |
2765 | if test -n "$ac_tool_prefix"; then |
2750 | if test -n "$ac_tool_prefix"; then |
2766 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2751 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2767 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2752 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2768 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2753 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2769 | $as_echo_n "checking for $ac_word... " >&6; } |
2754 | $as_echo_n "checking for $ac_word... " >&6; } |
2770 | if ${ac_cv_prog_CC+:} false; then : |
2755 | if test "${ac_cv_prog_CC+set}" = set; then : |
2771 | $as_echo_n "(cached) " >&6 |
2756 | $as_echo_n "(cached) " >&6 |
2772 | else |
2757 | else |
2773 | if test -n "$CC"; then |
2758 | if test -n "$CC"; then |
2774 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2759 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2775 | else |
2760 | else |
… | |
… | |
2805 | ac_ct_CC=$CC |
2790 | ac_ct_CC=$CC |
2806 | # Extract the first word of "gcc", so it can be a program name with args. |
2791 | # Extract the first word of "gcc", so it can be a program name with args. |
2807 | set dummy gcc; ac_word=$2 |
2792 | set dummy gcc; ac_word=$2 |
2808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2793 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2809 | $as_echo_n "checking for $ac_word... " >&6; } |
2794 | $as_echo_n "checking for $ac_word... " >&6; } |
2810 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2795 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2811 | $as_echo_n "(cached) " >&6 |
2796 | $as_echo_n "(cached) " >&6 |
2812 | else |
2797 | else |
2813 | if test -n "$ac_ct_CC"; then |
2798 | if test -n "$ac_ct_CC"; then |
2814 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2799 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2815 | else |
2800 | else |
… | |
… | |
2858 | if test -n "$ac_tool_prefix"; then |
2843 | if test -n "$ac_tool_prefix"; then |
2859 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2844 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2860 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2845 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2861 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2846 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2862 | $as_echo_n "checking for $ac_word... " >&6; } |
2847 | $as_echo_n "checking for $ac_word... " >&6; } |
2863 | if ${ac_cv_prog_CC+:} false; then : |
2848 | if test "${ac_cv_prog_CC+set}" = set; then : |
2864 | $as_echo_n "(cached) " >&6 |
2849 | $as_echo_n "(cached) " >&6 |
2865 | else |
2850 | else |
2866 | if test -n "$CC"; then |
2851 | if test -n "$CC"; then |
2867 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2852 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2868 | else |
2853 | else |
… | |
… | |
2898 | if test -z "$CC"; then |
2883 | if test -z "$CC"; then |
2899 | # Extract the first word of "cc", so it can be a program name with args. |
2884 | # Extract the first word of "cc", so it can be a program name with args. |
2900 | set dummy cc; ac_word=$2 |
2885 | set dummy cc; ac_word=$2 |
2901 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2886 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2902 | $as_echo_n "checking for $ac_word... " >&6; } |
2887 | $as_echo_n "checking for $ac_word... " >&6; } |
2903 | if ${ac_cv_prog_CC+:} false; then : |
2888 | if test "${ac_cv_prog_CC+set}" = set; then : |
2904 | $as_echo_n "(cached) " >&6 |
2889 | $as_echo_n "(cached) " >&6 |
2905 | else |
2890 | else |
2906 | if test -n "$CC"; then |
2891 | if test -n "$CC"; then |
2907 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2892 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2908 | else |
2893 | else |
… | |
… | |
2957 | do |
2942 | do |
2958 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2943 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2959 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2944 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2960 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2945 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2961 | $as_echo_n "checking for $ac_word... " >&6; } |
2946 | $as_echo_n "checking for $ac_word... " >&6; } |
2962 | if ${ac_cv_prog_CC+:} false; then : |
2947 | if test "${ac_cv_prog_CC+set}" = set; then : |
2963 | $as_echo_n "(cached) " >&6 |
2948 | $as_echo_n "(cached) " >&6 |
2964 | else |
2949 | else |
2965 | if test -n "$CC"; then |
2950 | if test -n "$CC"; then |
2966 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2951 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2967 | else |
2952 | else |
… | |
… | |
3001 | do |
2986 | do |
3002 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2987 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3003 | set dummy $ac_prog; ac_word=$2 |
2988 | set dummy $ac_prog; ac_word=$2 |
3004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3005 | $as_echo_n "checking for $ac_word... " >&6; } |
2990 | $as_echo_n "checking for $ac_word... " >&6; } |
3006 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2991 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3007 | $as_echo_n "(cached) " >&6 |
2992 | $as_echo_n "(cached) " >&6 |
3008 | else |
2993 | else |
3009 | if test -n "$ac_ct_CC"; then |
2994 | if test -n "$ac_ct_CC"; then |
3010 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2995 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3011 | else |
2996 | else |
… | |
… | |
3056 | |
3041 | |
3057 | |
3042 | |
3058 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3043 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3059 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3044 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3060 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3045 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3061 | See \`config.log' for more details" "$LINENO" 5; } |
3046 | See \`config.log' for more details" "$LINENO" 5 ; } |
3062 | |
3047 | |
3063 | # Provide some information about the compiler. |
3048 | # Provide some information about the compiler. |
3064 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3049 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3065 | set X $ac_compile |
3050 | set X $ac_compile |
3066 | ac_compiler=$2 |
3051 | ac_compiler=$2 |
… | |
… | |
3171 | sed 's/^/| /' conftest.$ac_ext >&5 |
3156 | sed 's/^/| /' conftest.$ac_ext >&5 |
3172 | |
3157 | |
3173 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3158 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3174 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3159 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3175 | as_fn_error 77 "C compiler cannot create executables |
3160 | as_fn_error 77 "C compiler cannot create executables |
3176 | See \`config.log' for more details" "$LINENO" 5; } |
3161 | See \`config.log' for more details" "$LINENO" 5 ; } |
3177 | else |
3162 | else |
3178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3163 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3179 | $as_echo "yes" >&6; } |
3164 | $as_echo "yes" >&6; } |
3180 | fi |
3165 | fi |
3181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3214 | done |
3199 | done |
3215 | else |
3200 | else |
3216 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3201 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3217 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3202 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3218 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3203 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3219 | See \`config.log' for more details" "$LINENO" 5; } |
3204 | See \`config.log' for more details" "$LINENO" 5 ; } |
3220 | fi |
3205 | fi |
3221 | rm -f conftest conftest$ac_cv_exeext |
3206 | rm -f conftest conftest$ac_cv_exeext |
3222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3223 | $as_echo "$ac_cv_exeext" >&6; } |
3208 | $as_echo "$ac_cv_exeext" >&6; } |
3224 | |
3209 | |
… | |
… | |
3273 | else |
3258 | else |
3274 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3259 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3275 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3260 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3276 | as_fn_error $? "cannot run C compiled programs. |
3261 | as_fn_error $? "cannot run C compiled programs. |
3277 | If you meant to cross compile, use \`--host'. |
3262 | If you meant to cross compile, use \`--host'. |
3278 | See \`config.log' for more details" "$LINENO" 5; } |
3263 | See \`config.log' for more details" "$LINENO" 5 ; } |
3279 | fi |
3264 | fi |
3280 | fi |
3265 | fi |
3281 | fi |
3266 | fi |
3282 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3267 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3283 | $as_echo "$cross_compiling" >&6; } |
3268 | $as_echo "$cross_compiling" >&6; } |
3284 | |
3269 | |
3285 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3270 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3286 | ac_clean_files=$ac_clean_files_save |
3271 | ac_clean_files=$ac_clean_files_save |
3287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3288 | $as_echo_n "checking for suffix of object files... " >&6; } |
3273 | $as_echo_n "checking for suffix of object files... " >&6; } |
3289 | if ${ac_cv_objext+:} false; then : |
3274 | if test "${ac_cv_objext+set}" = set; then : |
3290 | $as_echo_n "(cached) " >&6 |
3275 | $as_echo_n "(cached) " >&6 |
3291 | else |
3276 | else |
3292 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3293 | /* end confdefs.h. */ |
3278 | /* end confdefs.h. */ |
3294 | |
3279 | |
… | |
… | |
3325 | sed 's/^/| /' conftest.$ac_ext >&5 |
3310 | sed 's/^/| /' conftest.$ac_ext >&5 |
3326 | |
3311 | |
3327 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3312 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3328 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3313 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3329 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3314 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3330 | See \`config.log' for more details" "$LINENO" 5; } |
3315 | See \`config.log' for more details" "$LINENO" 5 ; } |
3331 | fi |
3316 | fi |
3332 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3317 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3333 | fi |
3318 | fi |
3334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3335 | $as_echo "$ac_cv_objext" >&6; } |
3320 | $as_echo "$ac_cv_objext" >&6; } |
3336 | OBJEXT=$ac_cv_objext |
3321 | OBJEXT=$ac_cv_objext |
3337 | ac_objext=$OBJEXT |
3322 | ac_objext=$OBJEXT |
3338 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3339 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3324 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3340 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3325 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3341 | $as_echo_n "(cached) " >&6 |
3326 | $as_echo_n "(cached) " >&6 |
3342 | else |
3327 | else |
3343 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3328 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3344 | /* end confdefs.h. */ |
3329 | /* end confdefs.h. */ |
3345 | |
3330 | |
… | |
… | |
3372 | fi |
3357 | fi |
3373 | ac_test_CFLAGS=${CFLAGS+set} |
3358 | ac_test_CFLAGS=${CFLAGS+set} |
3374 | ac_save_CFLAGS=$CFLAGS |
3359 | ac_save_CFLAGS=$CFLAGS |
3375 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3376 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3361 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3377 | if ${ac_cv_prog_cc_g+:} false; then : |
3362 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
3378 | $as_echo_n "(cached) " >&6 |
3363 | $as_echo_n "(cached) " >&6 |
3379 | else |
3364 | else |
3380 | ac_save_c_werror_flag=$ac_c_werror_flag |
3365 | ac_save_c_werror_flag=$ac_c_werror_flag |
3381 | ac_c_werror_flag=yes |
3366 | ac_c_werror_flag=yes |
3382 | ac_cv_prog_cc_g=no |
3367 | ac_cv_prog_cc_g=no |
… | |
… | |
3450 | CFLAGS= |
3435 | CFLAGS= |
3451 | fi |
3436 | fi |
3452 | fi |
3437 | fi |
3453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3454 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3439 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3455 | if ${ac_cv_prog_cc_c89+:} false; then : |
3440 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3456 | $as_echo_n "(cached) " >&6 |
3441 | $as_echo_n "(cached) " >&6 |
3457 | else |
3442 | else |
3458 | ac_cv_prog_cc_c89=no |
3443 | ac_cv_prog_cc_c89=no |
3459 | ac_save_CC=$CC |
3444 | ac_save_CC=$CC |
3460 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3445 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
3561 | do |
3546 | do |
3562 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3547 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3563 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3548 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3549 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3565 | $as_echo_n "checking for $ac_word... " >&6; } |
3550 | $as_echo_n "checking for $ac_word... " >&6; } |
3566 | if ${ac_cv_prog_CXX+:} false; then : |
3551 | if test "${ac_cv_prog_CXX+set}" = set; then : |
3567 | $as_echo_n "(cached) " >&6 |
3552 | $as_echo_n "(cached) " >&6 |
3568 | else |
3553 | else |
3569 | if test -n "$CXX"; then |
3554 | if test -n "$CXX"; then |
3570 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3555 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3571 | else |
3556 | else |
… | |
… | |
3605 | do |
3590 | do |
3606 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3591 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3607 | set dummy $ac_prog; ac_word=$2 |
3592 | set dummy $ac_prog; ac_word=$2 |
3608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3593 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3609 | $as_echo_n "checking for $ac_word... " >&6; } |
3594 | $as_echo_n "checking for $ac_word... " >&6; } |
3610 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3595 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
3611 | $as_echo_n "(cached) " >&6 |
3596 | $as_echo_n "(cached) " >&6 |
3612 | else |
3597 | else |
3613 | if test -n "$ac_ct_CXX"; then |
3598 | if test -n "$ac_ct_CXX"; then |
3614 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3599 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3615 | else |
3600 | else |
… | |
… | |
3683 | test $ac_status = 0; } |
3668 | test $ac_status = 0; } |
3684 | done |
3669 | done |
3685 | |
3670 | |
3686 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3671 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3687 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3672 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3688 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
3673 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
3689 | $as_echo_n "(cached) " >&6 |
3674 | $as_echo_n "(cached) " >&6 |
3690 | else |
3675 | else |
3691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3676 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3692 | /* end confdefs.h. */ |
3677 | /* end confdefs.h. */ |
3693 | |
3678 | |
… | |
… | |
3720 | fi |
3705 | fi |
3721 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3706 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3722 | ac_save_CXXFLAGS=$CXXFLAGS |
3707 | ac_save_CXXFLAGS=$CXXFLAGS |
3723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3724 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3709 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3725 | if ${ac_cv_prog_cxx_g+:} false; then : |
3710 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
3726 | $as_echo_n "(cached) " >&6 |
3711 | $as_echo_n "(cached) " >&6 |
3727 | else |
3712 | else |
3728 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3713 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3729 | ac_cxx_werror_flag=yes |
3714 | ac_cxx_werror_flag=yes |
3730 | ac_cv_prog_cxx_g=no |
3715 | ac_cv_prog_cxx_g=no |
… | |
… | |
3796 | CXXFLAGS="-O2" |
3781 | CXXFLAGS="-O2" |
3797 | else |
3782 | else |
3798 | CXXFLAGS= |
3783 | CXXFLAGS= |
3799 | fi |
3784 | fi |
3800 | fi |
3785 | fi |
3801 | ac_ext=c |
|
|
3802 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3803 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3804 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3805 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3806 | |
|
|
3807 | ac_ext=c |
|
|
3808 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3809 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3810 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3811 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3812 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3813 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3814 | # On Suns, sometimes $CPP names a directory. |
|
|
3815 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3816 | CPP= |
|
|
3817 | fi |
|
|
3818 | if test -z "$CPP"; then |
|
|
3819 | if ${ac_cv_prog_CPP+:} false; then : |
|
|
3820 | $as_echo_n "(cached) " >&6 |
|
|
3821 | else |
|
|
3822 | # Double quotes because CPP needs to be expanded |
|
|
3823 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3824 | do |
|
|
3825 | ac_preproc_ok=false |
|
|
3826 | for ac_c_preproc_warn_flag in '' yes |
|
|
3827 | do |
|
|
3828 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3829 | # with a fresh cross-compiler works. |
|
|
3830 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3831 | # <limits.h> exists even on freestanding compilers. |
|
|
3832 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3833 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3834 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3835 | /* end confdefs.h. */ |
|
|
3836 | #ifdef __STDC__ |
|
|
3837 | # include <limits.h> |
|
|
3838 | #else |
|
|
3839 | # include <assert.h> |
|
|
3840 | #endif |
|
|
3841 | Syntax error |
|
|
3842 | _ACEOF |
|
|
3843 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3844 | |
|
|
3845 | else |
|
|
3846 | # Broken: fails on valid input. |
|
|
3847 | continue |
|
|
3848 | fi |
|
|
3849 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3850 | |
|
|
3851 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3852 | # can be detected and how. |
|
|
3853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3854 | /* end confdefs.h. */ |
|
|
3855 | #include <ac_nonexistent.h> |
|
|
3856 | _ACEOF |
|
|
3857 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3858 | # Broken: success on invalid input. |
|
|
3859 | continue |
|
|
3860 | else |
|
|
3861 | # Passes both tests. |
|
|
3862 | ac_preproc_ok=: |
|
|
3863 | break |
|
|
3864 | fi |
|
|
3865 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3866 | |
|
|
3867 | done |
|
|
3868 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3869 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3870 | if $ac_preproc_ok; then : |
|
|
3871 | break |
|
|
3872 | fi |
|
|
3873 | |
|
|
3874 | done |
|
|
3875 | ac_cv_prog_CPP=$CPP |
|
|
3876 | |
|
|
3877 | fi |
|
|
3878 | CPP=$ac_cv_prog_CPP |
|
|
3879 | else |
|
|
3880 | ac_cv_prog_CPP=$CPP |
|
|
3881 | fi |
|
|
3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3883 | $as_echo "$CPP" >&6; } |
|
|
3884 | ac_preproc_ok=false |
|
|
3885 | for ac_c_preproc_warn_flag in '' yes |
|
|
3886 | do |
|
|
3887 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3888 | # with a fresh cross-compiler works. |
|
|
3889 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3890 | # <limits.h> exists even on freestanding compilers. |
|
|
3891 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3892 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3894 | /* end confdefs.h. */ |
|
|
3895 | #ifdef __STDC__ |
|
|
3896 | # include <limits.h> |
|
|
3897 | #else |
|
|
3898 | # include <assert.h> |
|
|
3899 | #endif |
|
|
3900 | Syntax error |
|
|
3901 | _ACEOF |
|
|
3902 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3903 | |
|
|
3904 | else |
|
|
3905 | # Broken: fails on valid input. |
|
|
3906 | continue |
|
|
3907 | fi |
|
|
3908 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3909 | |
|
|
3910 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3911 | # can be detected and how. |
|
|
3912 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3913 | /* end confdefs.h. */ |
|
|
3914 | #include <ac_nonexistent.h> |
|
|
3915 | _ACEOF |
|
|
3916 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3917 | # Broken: success on invalid input. |
|
|
3918 | continue |
|
|
3919 | else |
|
|
3920 | # Passes both tests. |
|
|
3921 | ac_preproc_ok=: |
|
|
3922 | break |
|
|
3923 | fi |
|
|
3924 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3925 | |
|
|
3926 | done |
|
|
3927 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3928 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3929 | if $ac_preproc_ok; then : |
|
|
3930 | |
|
|
3931 | else |
|
|
3932 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3933 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3934 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
3935 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3936 | fi |
|
|
3937 | |
|
|
3938 | ac_ext=c |
3786 | ac_ext=c |
3939 | ac_cpp='$CPP $CPPFLAGS' |
3787 | ac_cpp='$CPP $CPPFLAGS' |
3940 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3788 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3941 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3789 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3942 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3790 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3956 | # ./install, which can be erroneously created by make from ./install.sh. |
3804 | # ./install, which can be erroneously created by make from ./install.sh. |
3957 | # Reject install programs that cannot install multiple files. |
3805 | # Reject install programs that cannot install multiple files. |
3958 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3806 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3959 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3807 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3960 | if test -z "$INSTALL"; then |
3808 | if test -z "$INSTALL"; then |
3961 | if ${ac_cv_path_install+:} false; then : |
3809 | if test "${ac_cv_path_install+set}" = set; then : |
3962 | $as_echo_n "(cached) " >&6 |
3810 | $as_echo_n "(cached) " >&6 |
3963 | else |
3811 | else |
3964 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3812 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3965 | for as_dir in $PATH |
3813 | for as_dir in $PATH |
3966 | do |
3814 | do |
… | |
… | |
4034 | |
3882 | |
4035 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3883 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4036 | |
3884 | |
4037 | |
3885 | |
4038 | |
3886 | |
|
|
3887 | ac_ext=c |
|
|
3888 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3889 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3890 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3891 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3893 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3894 | # On Suns, sometimes $CPP names a directory. |
|
|
3895 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3896 | CPP= |
|
|
3897 | fi |
|
|
3898 | if test -z "$CPP"; then |
|
|
3899 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
3900 | $as_echo_n "(cached) " >&6 |
|
|
3901 | else |
|
|
3902 | # Double quotes because CPP needs to be expanded |
|
|
3903 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3904 | do |
|
|
3905 | ac_preproc_ok=false |
|
|
3906 | for ac_c_preproc_warn_flag in '' yes |
|
|
3907 | do |
|
|
3908 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3909 | # with a fresh cross-compiler works. |
|
|
3910 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3911 | # <limits.h> exists even on freestanding compilers. |
|
|
3912 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3913 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3914 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3915 | /* end confdefs.h. */ |
|
|
3916 | #ifdef __STDC__ |
|
|
3917 | # include <limits.h> |
|
|
3918 | #else |
|
|
3919 | # include <assert.h> |
|
|
3920 | #endif |
|
|
3921 | Syntax error |
|
|
3922 | _ACEOF |
|
|
3923 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3924 | |
|
|
3925 | else |
|
|
3926 | # Broken: fails on valid input. |
|
|
3927 | continue |
|
|
3928 | fi |
|
|
3929 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3930 | |
|
|
3931 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3932 | # can be detected and how. |
|
|
3933 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3934 | /* end confdefs.h. */ |
|
|
3935 | #include <ac_nonexistent.h> |
|
|
3936 | _ACEOF |
|
|
3937 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3938 | # Broken: success on invalid input. |
|
|
3939 | continue |
|
|
3940 | else |
|
|
3941 | # Passes both tests. |
|
|
3942 | ac_preproc_ok=: |
|
|
3943 | break |
|
|
3944 | fi |
|
|
3945 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3946 | |
|
|
3947 | done |
|
|
3948 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3949 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3950 | if $ac_preproc_ok; then : |
|
|
3951 | break |
|
|
3952 | fi |
|
|
3953 | |
|
|
3954 | done |
|
|
3955 | ac_cv_prog_CPP=$CPP |
|
|
3956 | |
|
|
3957 | fi |
|
|
3958 | CPP=$ac_cv_prog_CPP |
|
|
3959 | else |
|
|
3960 | ac_cv_prog_CPP=$CPP |
|
|
3961 | fi |
|
|
3962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3963 | $as_echo "$CPP" >&6; } |
|
|
3964 | ac_preproc_ok=false |
|
|
3965 | for ac_c_preproc_warn_flag in '' yes |
|
|
3966 | do |
|
|
3967 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3968 | # with a fresh cross-compiler works. |
|
|
3969 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3970 | # <limits.h> exists even on freestanding compilers. |
|
|
3971 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3972 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3973 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3974 | /* end confdefs.h. */ |
|
|
3975 | #ifdef __STDC__ |
|
|
3976 | # include <limits.h> |
|
|
3977 | #else |
|
|
3978 | # include <assert.h> |
|
|
3979 | #endif |
|
|
3980 | Syntax error |
|
|
3981 | _ACEOF |
|
|
3982 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3983 | |
|
|
3984 | else |
|
|
3985 | # Broken: fails on valid input. |
|
|
3986 | continue |
|
|
3987 | fi |
|
|
3988 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3989 | |
|
|
3990 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3991 | # can be detected and how. |
|
|
3992 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3993 | /* end confdefs.h. */ |
|
|
3994 | #include <ac_nonexistent.h> |
|
|
3995 | _ACEOF |
|
|
3996 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3997 | # Broken: success on invalid input. |
|
|
3998 | continue |
|
|
3999 | else |
|
|
4000 | # Passes both tests. |
|
|
4001 | ac_preproc_ok=: |
|
|
4002 | break |
|
|
4003 | fi |
|
|
4004 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4005 | |
|
|
4006 | done |
|
|
4007 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4008 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4009 | if $ac_preproc_ok; then : |
|
|
4010 | |
|
|
4011 | else |
|
|
4012 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
4013 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
4014 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
4015 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
4016 | fi |
|
|
4017 | |
|
|
4018 | ac_ext=c |
|
|
4019 | ac_cpp='$CPP $CPPFLAGS' |
|
|
4020 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4021 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4022 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
4023 | |
4039 | |
4024 | |
4040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4025 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4041 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4026 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4042 | if ${ac_cv_path_GREP+:} false; then : |
4027 | if test "${ac_cv_path_GREP+set}" = set; then : |
4043 | $as_echo_n "(cached) " >&6 |
4028 | $as_echo_n "(cached) " >&6 |
4044 | else |
4029 | else |
4045 | if test -z "$GREP"; then |
4030 | if test -z "$GREP"; then |
4046 | ac_path_GREP_found=false |
4031 | ac_path_GREP_found=false |
4047 | # Loop through the user's path and test for each of PROGNAME-LIST |
4032 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
4100 | GREP="$ac_cv_path_GREP" |
4085 | GREP="$ac_cv_path_GREP" |
4101 | |
4086 | |
4102 | |
4087 | |
4103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4104 | $as_echo_n "checking for egrep... " >&6; } |
4089 | $as_echo_n "checking for egrep... " >&6; } |
4105 | if ${ac_cv_path_EGREP+:} false; then : |
4090 | if test "${ac_cv_path_EGREP+set}" = set; then : |
4106 | $as_echo_n "(cached) " >&6 |
4091 | $as_echo_n "(cached) " >&6 |
4107 | else |
4092 | else |
4108 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4093 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4109 | then ac_cv_path_EGREP="$GREP -E" |
4094 | then ac_cv_path_EGREP="$GREP -E" |
4110 | else |
4095 | else |
… | |
… | |
4167 | EGREP="$ac_cv_path_EGREP" |
4152 | EGREP="$ac_cv_path_EGREP" |
4168 | |
4153 | |
4169 | |
4154 | |
4170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4171 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4156 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4172 | if ${ac_cv_header_stdc+:} false; then : |
4157 | if test "${ac_cv_header_stdc+set}" = set; then : |
4173 | $as_echo_n "(cached) " >&6 |
4158 | $as_echo_n "(cached) " >&6 |
4174 | else |
4159 | else |
4175 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4176 | /* end confdefs.h. */ |
4161 | /* end confdefs.h. */ |
4177 | #include <stdlib.h> |
4162 | #include <stdlib.h> |
… | |
… | |
4296 | done |
4281 | done |
4297 | |
4282 | |
4298 | |
4283 | |
4299 | |
4284 | |
4300 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4285 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4301 | if test "x$ac_cv_header_minix_config_h" = xyes; then : |
4286 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
4302 | MINIX=yes |
4287 | MINIX=yes |
4303 | else |
4288 | else |
4304 | MINIX= |
4289 | MINIX= |
4305 | fi |
4290 | fi |
4306 | |
4291 | |
… | |
… | |
4318 | fi |
4303 | fi |
4319 | |
4304 | |
4320 | |
4305 | |
4321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4306 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4322 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4307 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4323 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
4308 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
4324 | $as_echo_n "(cached) " >&6 |
4309 | $as_echo_n "(cached) " >&6 |
4325 | else |
4310 | else |
4326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4311 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4327 | /* end confdefs.h. */ |
4312 | /* end confdefs.h. */ |
4328 | |
4313 | |
… | |
… | |
4359 | |
4344 | |
4360 | |
4345 | |
4361 | |
4346 | |
4362 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4347 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4363 | $as_echo_n "checking for library containing strerror... " >&6; } |
4348 | $as_echo_n "checking for library containing strerror... " >&6; } |
4364 | if ${ac_cv_search_strerror+:} false; then : |
4349 | if test "${ac_cv_search_strerror+set}" = set; then : |
4365 | $as_echo_n "(cached) " >&6 |
4350 | $as_echo_n "(cached) " >&6 |
4366 | else |
4351 | else |
4367 | ac_func_search_save_LIBS=$LIBS |
4352 | ac_func_search_save_LIBS=$LIBS |
4368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4353 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4369 | /* end confdefs.h. */ |
4354 | /* end confdefs.h. */ |
… | |
… | |
4393 | if ac_fn_c_try_link "$LINENO"; then : |
4378 | if ac_fn_c_try_link "$LINENO"; then : |
4394 | ac_cv_search_strerror=$ac_res |
4379 | ac_cv_search_strerror=$ac_res |
4395 | fi |
4380 | fi |
4396 | rm -f core conftest.err conftest.$ac_objext \ |
4381 | rm -f core conftest.err conftest.$ac_objext \ |
4397 | conftest$ac_exeext |
4382 | conftest$ac_exeext |
4398 | if ${ac_cv_search_strerror+:} false; then : |
4383 | if test "${ac_cv_search_strerror+set}" = set; then : |
4399 | break |
4384 | break |
4400 | fi |
4385 | fi |
4401 | done |
4386 | done |
4402 | if ${ac_cv_search_strerror+:} false; then : |
4387 | if test "${ac_cv_search_strerror+set}" = set; then : |
4403 | |
4388 | |
4404 | else |
4389 | else |
4405 | ac_cv_search_strerror=no |
4390 | ac_cv_search_strerror=no |
4406 | fi |
4391 | fi |
4407 | rm conftest.$ac_ext |
4392 | rm conftest.$ac_ext |
… | |
… | |
4487 | CFLAGS="$CXXFLAGS" |
4472 | CFLAGS="$CXXFLAGS" |
4488 | fi |
4473 | fi |
4489 | |
4474 | |
4490 | { $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 |
4491 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4476 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4492 | if ${ac_cv_search_setlocale+:} false; then : |
4477 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4493 | $as_echo_n "(cached) " >&6 |
4478 | $as_echo_n "(cached) " >&6 |
4494 | else |
4479 | else |
4495 | ac_func_search_save_LIBS=$LIBS |
4480 | ac_func_search_save_LIBS=$LIBS |
4496 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4481 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4497 | /* end confdefs.h. */ |
4482 | /* end confdefs.h. */ |
… | |
… | |
4521 | if ac_fn_cxx_try_link "$LINENO"; then : |
4506 | if ac_fn_cxx_try_link "$LINENO"; then : |
4522 | ac_cv_search_setlocale=$ac_res |
4507 | ac_cv_search_setlocale=$ac_res |
4523 | fi |
4508 | fi |
4524 | rm -f core conftest.err conftest.$ac_objext \ |
4509 | rm -f core conftest.err conftest.$ac_objext \ |
4525 | conftest$ac_exeext |
4510 | conftest$ac_exeext |
4526 | if ${ac_cv_search_setlocale+:} false; then : |
4511 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4527 | break |
4512 | break |
4528 | fi |
4513 | fi |
4529 | done |
4514 | done |
4530 | if ${ac_cv_search_setlocale+:} false; then : |
4515 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4531 | |
4516 | |
4532 | else |
4517 | else |
4533 | ac_cv_search_setlocale=no |
4518 | ac_cv_search_setlocale=no |
4534 | fi |
4519 | fi |
4535 | rm conftest.$ac_ext |
4520 | rm conftest.$ac_ext |
… | |
… | |
4544 | fi |
4529 | fi |
4545 | |
4530 | |
4546 | |
4531 | |
4547 | { $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 |
4548 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4533 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4549 | if ${ac_cv_search_gethostbyname+:} false; then : |
4534 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4550 | $as_echo_n "(cached) " >&6 |
4535 | $as_echo_n "(cached) " >&6 |
4551 | else |
4536 | else |
4552 | ac_func_search_save_LIBS=$LIBS |
4537 | ac_func_search_save_LIBS=$LIBS |
4553 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4538 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4554 | /* end confdefs.h. */ |
4539 | /* end confdefs.h. */ |
… | |
… | |
4578 | if ac_fn_cxx_try_link "$LINENO"; then : |
4563 | if ac_fn_cxx_try_link "$LINENO"; then : |
4579 | ac_cv_search_gethostbyname=$ac_res |
4564 | ac_cv_search_gethostbyname=$ac_res |
4580 | fi |
4565 | fi |
4581 | rm -f core conftest.err conftest.$ac_objext \ |
4566 | rm -f core conftest.err conftest.$ac_objext \ |
4582 | conftest$ac_exeext |
4567 | conftest$ac_exeext |
4583 | if ${ac_cv_search_gethostbyname+:} false; then : |
4568 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4584 | break |
4569 | break |
4585 | fi |
4570 | fi |
4586 | done |
4571 | done |
4587 | if ${ac_cv_search_gethostbyname+:} false; then : |
4572 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4588 | |
4573 | |
4589 | else |
4574 | else |
4590 | ac_cv_search_gethostbyname=no |
4575 | ac_cv_search_gethostbyname=no |
4591 | fi |
4576 | fi |
4592 | rm conftest.$ac_ext |
4577 | rm conftest.$ac_ext |
… | |
… | |
4600 | |
4585 | |
4601 | fi |
4586 | fi |
4602 | |
4587 | |
4603 | { $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 |
4604 | $as_echo_n "checking for library containing socket... " >&6; } |
4589 | $as_echo_n "checking for library containing socket... " >&6; } |
4605 | if ${ac_cv_search_socket+:} false; then : |
4590 | if test "${ac_cv_search_socket+set}" = set; then : |
4606 | $as_echo_n "(cached) " >&6 |
4591 | $as_echo_n "(cached) " >&6 |
4607 | else |
4592 | else |
4608 | ac_func_search_save_LIBS=$LIBS |
4593 | ac_func_search_save_LIBS=$LIBS |
4609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4610 | /* end confdefs.h. */ |
4595 | /* end confdefs.h. */ |
… | |
… | |
4634 | if ac_fn_cxx_try_link "$LINENO"; then : |
4619 | if ac_fn_cxx_try_link "$LINENO"; then : |
4635 | ac_cv_search_socket=$ac_res |
4620 | ac_cv_search_socket=$ac_res |
4636 | fi |
4621 | fi |
4637 | rm -f core conftest.err conftest.$ac_objext \ |
4622 | rm -f core conftest.err conftest.$ac_objext \ |
4638 | conftest$ac_exeext |
4623 | conftest$ac_exeext |
4639 | if ${ac_cv_search_socket+:} false; then : |
4624 | if test "${ac_cv_search_socket+set}" = set; then : |
4640 | break |
4625 | break |
4641 | fi |
4626 | fi |
4642 | done |
4627 | done |
4643 | if ${ac_cv_search_socket+:} false; then : |
4628 | if test "${ac_cv_search_socket+set}" = set; then : |
4644 | |
4629 | |
4645 | else |
4630 | else |
4646 | ac_cv_search_socket=no |
4631 | ac_cv_search_socket=no |
4647 | fi |
4632 | fi |
4648 | rm conftest.$ac_ext |
4633 | rm conftest.$ac_ext |
… | |
… | |
4837 | support_styles=$enableval |
4822 | support_styles=$enableval |
4838 | fi |
4823 | fi |
4839 | fi |
4824 | fi |
4840 | |
4825 | |
4841 | |
4826 | |
4842 | # Check whether --enable-afterimage was given. |
|
|
4843 | if test "${enable_afterimage+set}" = set; then : |
|
|
4844 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4845 | support_afterimage=$enableval |
|
|
4846 | fi |
|
|
4847 | fi |
|
|
4848 | |
|
|
4849 | |
|
|
4850 | |
|
|
4851 | # Check whether --with-afterimage_config was given. |
|
|
4852 | if test "${with_afterimage_config+set}" = set; then : |
|
|
4853 | withval=$with_afterimage_config; if test "x$withval" != x; then |
|
|
4854 | afterimage_config=$withval/afterimage-config |
|
|
4855 | fi |
|
|
4856 | fi |
|
|
4857 | |
|
|
4858 | |
|
|
4859 | # Check whether --enable-pixbuf was given. |
4827 | # Check whether --enable-pixbuf was given. |
4860 | if test "${enable_pixbuf+set}" = set; then : |
4828 | if test "${enable_pixbuf+set}" = set; then : |
4861 | 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 |
4862 | support_pixbuf=$enableval |
4830 | support_pixbuf=$enableval |
4863 | fi |
4831 | fi |
… | |
… | |
5152 | 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' |
5153 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5121 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5154 | { $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 |
5155 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5123 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5156 | if test -z "$CXXCPP"; then |
5124 | if test -z "$CXXCPP"; then |
5157 | if ${ac_cv_prog_CXXCPP+:} false; then : |
5125 | if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
5158 | $as_echo_n "(cached) " >&6 |
5126 | $as_echo_n "(cached) " >&6 |
5159 | else |
5127 | else |
5160 | # Double quotes because CXXCPP needs to be expanded |
5128 | # Double quotes because CXXCPP needs to be expanded |
5161 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5129 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5162 | do |
5130 | do |
… | |
… | |
5268 | |
5236 | |
5269 | else |
5237 | else |
5270 | { { $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 |
5271 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5239 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5272 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5240 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5273 | See \`config.log' for more details" "$LINENO" 5; } |
5241 | See \`config.log' for more details" "$LINENO" 5 ; } |
5274 | fi |
5242 | fi |
5275 | |
5243 | |
5276 | ac_ext=cpp |
5244 | ac_ext=cpp |
5277 | ac_cpp='$CXXCPP $CPPFLAGS' |
5245 | ac_cpp='$CXXCPP $CPPFLAGS' |
5278 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5246 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5308 | |
5276 | |
5309 | |
5277 | |
5310 | for ac_func in clock_gettime |
5278 | for ac_func in clock_gettime |
5311 | do : |
5279 | do : |
5312 | 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" |
5313 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5281 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5314 | cat >>confdefs.h <<_ACEOF |
5282 | cat >>confdefs.h <<_ACEOF |
5315 | #define HAVE_CLOCK_GETTIME 1 |
5283 | #define HAVE_CLOCK_GETTIME 1 |
5316 | _ACEOF |
5284 | _ACEOF |
5317 | |
5285 | |
5318 | else |
5286 | else |
… | |
… | |
5348 | conftest$ac_exeext conftest.$ac_ext |
5316 | conftest$ac_exeext conftest.$ac_ext |
5349 | fi |
5317 | fi |
5350 | 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 |
5351 | { $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 |
5352 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5320 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5353 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
5321 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : |
5354 | $as_echo_n "(cached) " >&6 |
5322 | $as_echo_n "(cached) " >&6 |
5355 | else |
5323 | else |
5356 | ac_check_lib_save_LIBS=$LIBS |
5324 | ac_check_lib_save_LIBS=$LIBS |
5357 | LIBS="-lrt $LIBS" |
5325 | LIBS="-lrt $LIBS" |
5358 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5382 | conftest$ac_exeext conftest.$ac_ext |
5350 | conftest$ac_exeext conftest.$ac_ext |
5383 | LIBS=$ac_check_lib_save_LIBS |
5351 | LIBS=$ac_check_lib_save_LIBS |
5384 | fi |
5352 | fi |
5385 | { $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 |
5386 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5354 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5387 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
5355 | if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : |
5388 | cat >>confdefs.h <<_ACEOF |
5356 | cat >>confdefs.h <<_ACEOF |
5389 | #define HAVE_LIBRT 1 |
5357 | #define HAVE_LIBRT 1 |
5390 | _ACEOF |
5358 | _ACEOF |
5391 | |
5359 | |
5392 | LIBS="-lrt $LIBS" |
5360 | LIBS="-lrt $LIBS" |
… | |
… | |
5395 | |
5363 | |
5396 | unset ac_cv_func_clock_gettime |
5364 | unset ac_cv_func_clock_gettime |
5397 | for ac_func in clock_gettime |
5365 | for ac_func in clock_gettime |
5398 | do : |
5366 | do : |
5399 | 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" |
5400 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5368 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5401 | cat >>confdefs.h <<_ACEOF |
5369 | cat >>confdefs.h <<_ACEOF |
5402 | #define HAVE_CLOCK_GETTIME 1 |
5370 | #define HAVE_CLOCK_GETTIME 1 |
5403 | _ACEOF |
5371 | _ACEOF |
5404 | |
5372 | |
5405 | fi |
5373 | fi |
… | |
… | |
5412 | |
5380 | |
5413 | |
5381 | |
5414 | for ac_func in nanosleep |
5382 | for ac_func in nanosleep |
5415 | do : |
5383 | do : |
5416 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5384 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5417 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5385 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5418 | cat >>confdefs.h <<_ACEOF |
5386 | cat >>confdefs.h <<_ACEOF |
5419 | #define HAVE_NANOSLEEP 1 |
5387 | #define HAVE_NANOSLEEP 1 |
5420 | _ACEOF |
5388 | _ACEOF |
5421 | |
5389 | |
5422 | else |
5390 | else |
5423 | |
5391 | |
5424 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5392 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5425 | { $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 |
5426 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5394 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5427 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
5395 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : |
5428 | $as_echo_n "(cached) " >&6 |
5396 | $as_echo_n "(cached) " >&6 |
5429 | else |
5397 | else |
5430 | ac_check_lib_save_LIBS=$LIBS |
5398 | ac_check_lib_save_LIBS=$LIBS |
5431 | LIBS="-lrt $LIBS" |
5399 | LIBS="-lrt $LIBS" |
5432 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5400 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5456 | conftest$ac_exeext conftest.$ac_ext |
5424 | conftest$ac_exeext conftest.$ac_ext |
5457 | LIBS=$ac_check_lib_save_LIBS |
5425 | LIBS=$ac_check_lib_save_LIBS |
5458 | fi |
5426 | fi |
5459 | { $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 |
5460 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5428 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5461 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
5429 | if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : |
5462 | cat >>confdefs.h <<_ACEOF |
5430 | cat >>confdefs.h <<_ACEOF |
5463 | #define HAVE_LIBRT 1 |
5431 | #define HAVE_LIBRT 1 |
5464 | _ACEOF |
5432 | _ACEOF |
5465 | |
5433 | |
5466 | LIBS="-lrt $LIBS" |
5434 | LIBS="-lrt $LIBS" |
… | |
… | |
5469 | |
5437 | |
5470 | unset ac_cv_func_nanosleep |
5438 | unset ac_cv_func_nanosleep |
5471 | for ac_func in nanosleep |
5439 | for ac_func in nanosleep |
5472 | do : |
5440 | do : |
5473 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5441 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5474 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5442 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5475 | cat >>confdefs.h <<_ACEOF |
5443 | cat >>confdefs.h <<_ACEOF |
5476 | #define HAVE_NANOSLEEP 1 |
5444 | #define HAVE_NANOSLEEP 1 |
5477 | _ACEOF |
5445 | _ACEOF |
5478 | |
5446 | |
5479 | fi |
5447 | fi |
… | |
… | |
5488 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5456 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5489 | LIBM=m |
5457 | LIBM=m |
5490 | fi |
5458 | fi |
5491 | { $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 |
5492 | $as_echo_n "checking for library containing floor... " >&6; } |
5460 | $as_echo_n "checking for library containing floor... " >&6; } |
5493 | if ${ac_cv_search_floor+:} false; then : |
5461 | if test "${ac_cv_search_floor+set}" = set; then : |
5494 | $as_echo_n "(cached) " >&6 |
5462 | $as_echo_n "(cached) " >&6 |
5495 | else |
5463 | else |
5496 | ac_func_search_save_LIBS=$LIBS |
5464 | ac_func_search_save_LIBS=$LIBS |
5497 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5498 | /* end confdefs.h. */ |
5466 | /* end confdefs.h. */ |
… | |
… | |
5522 | if ac_fn_cxx_try_link "$LINENO"; then : |
5490 | if ac_fn_cxx_try_link "$LINENO"; then : |
5523 | ac_cv_search_floor=$ac_res |
5491 | ac_cv_search_floor=$ac_res |
5524 | fi |
5492 | fi |
5525 | rm -f core conftest.err conftest.$ac_objext \ |
5493 | rm -f core conftest.err conftest.$ac_objext \ |
5526 | conftest$ac_exeext |
5494 | conftest$ac_exeext |
5527 | if ${ac_cv_search_floor+:} false; then : |
5495 | if test "${ac_cv_search_floor+set}" = set; then : |
5528 | break |
5496 | break |
5529 | fi |
5497 | fi |
5530 | done |
5498 | done |
5531 | if ${ac_cv_search_floor+:} false; then : |
5499 | if test "${ac_cv_search_floor+set}" = set; then : |
5532 | |
5500 | |
5533 | else |
5501 | else |
5534 | ac_cv_search_floor=no |
5502 | ac_cv_search_floor=no |
5535 | fi |
5503 | fi |
5536 | rm conftest.$ac_ext |
5504 | rm conftest.$ac_ext |
… | |
… | |
5552 | |
5520 | |
5553 | # 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. |
5554 | set dummy tic; ac_word=$2 |
5522 | set dummy tic; ac_word=$2 |
5555 | { $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 |
5556 | $as_echo_n "checking for $ac_word... " >&6; } |
5524 | $as_echo_n "checking for $ac_word... " >&6; } |
5557 | if ${ac_cv_path_TIC+:} false; then : |
5525 | if test "${ac_cv_path_TIC+set}" = set; then : |
5558 | $as_echo_n "(cached) " >&6 |
5526 | $as_echo_n "(cached) " >&6 |
5559 | else |
5527 | else |
5560 | case $TIC in |
5528 | case $TIC in |
5561 | [\\/]* | ?:[\\/]*) |
5529 | [\\/]* | ?:[\\/]*) |
5562 | 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. |
… | |
… | |
5605 | if test "x$with_x" = xno; then |
5573 | if test "x$with_x" = xno; then |
5606 | # The user explicitly disabled X. |
5574 | # The user explicitly disabled X. |
5607 | have_x=disabled |
5575 | have_x=disabled |
5608 | else |
5576 | else |
5609 | case $x_includes,$x_libraries in #( |
5577 | case $x_includes,$x_libraries in #( |
5610 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
5578 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( |
5611 | *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
5579 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
5612 | $as_echo_n "(cached) " >&6 |
5580 | $as_echo_n "(cached) " >&6 |
5613 | else |
5581 | else |
5614 | # 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. |
5615 | ac_x_includes=no ac_x_libraries=no |
5583 | ac_x_includes=no ac_x_libraries=no |
5616 | rm -f -r conftest.dir |
5584 | rm -f -r conftest.dir |
… | |
… | |
5883 | if ac_fn_cxx_try_link "$LINENO"; then : |
5851 | if ac_fn_cxx_try_link "$LINENO"; then : |
5884 | |
5852 | |
5885 | else |
5853 | else |
5886 | { $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 |
5887 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5855 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5888 | if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : |
5856 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : |
5889 | $as_echo_n "(cached) " >&6 |
5857 | $as_echo_n "(cached) " >&6 |
5890 | else |
5858 | else |
5891 | ac_check_lib_save_LIBS=$LIBS |
5859 | ac_check_lib_save_LIBS=$LIBS |
5892 | LIBS="-ldnet $LIBS" |
5860 | LIBS="-ldnet $LIBS" |
5893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5917 | conftest$ac_exeext conftest.$ac_ext |
5885 | conftest$ac_exeext conftest.$ac_ext |
5918 | LIBS=$ac_check_lib_save_LIBS |
5886 | LIBS=$ac_check_lib_save_LIBS |
5919 | fi |
5887 | fi |
5920 | { $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 |
5921 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5889 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5922 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : |
5890 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : |
5923 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5891 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5924 | fi |
5892 | fi |
5925 | |
5893 | |
5926 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5894 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5927 | { $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 |
5928 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5896 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5929 | if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : |
5897 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : |
5930 | $as_echo_n "(cached) " >&6 |
5898 | $as_echo_n "(cached) " >&6 |
5931 | else |
5899 | else |
5932 | ac_check_lib_save_LIBS=$LIBS |
5900 | ac_check_lib_save_LIBS=$LIBS |
5933 | LIBS="-ldnet_stub $LIBS" |
5901 | LIBS="-ldnet_stub $LIBS" |
5934 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5902 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5958 | conftest$ac_exeext conftest.$ac_ext |
5926 | conftest$ac_exeext conftest.$ac_ext |
5959 | LIBS=$ac_check_lib_save_LIBS |
5927 | LIBS=$ac_check_lib_save_LIBS |
5960 | fi |
5928 | fi |
5961 | { $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 |
5962 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5930 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5963 | 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 : |
5964 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5932 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5965 | fi |
5933 | fi |
5966 | |
5934 | |
5967 | fi |
5935 | fi |
5968 | fi |
5936 | fi |
… | |
… | |
5977 | # The nsl library prevents programs from opening the X display |
5945 | # The nsl library prevents programs from opening the X display |
5978 | # on Irix 5.2, according to T.E. Dickey. |
5946 | # on Irix 5.2, according to T.E. Dickey. |
5979 | # The functions gethostbyname, getservbyname, and inet_addr are |
5947 | # The functions gethostbyname, getservbyname, and inet_addr are |
5980 | # 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. |
5981 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5949 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5982 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
5950 | if test "x$ac_cv_func_gethostbyname" = x""yes; then : |
5983 | |
5951 | |
5984 | fi |
5952 | fi |
5985 | |
5953 | |
5986 | if test $ac_cv_func_gethostbyname = no; then |
5954 | if test $ac_cv_func_gethostbyname = no; then |
5987 | { $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 |
5988 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5956 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5989 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
5957 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : |
5990 | $as_echo_n "(cached) " >&6 |
5958 | $as_echo_n "(cached) " >&6 |
5991 | else |
5959 | else |
5992 | ac_check_lib_save_LIBS=$LIBS |
5960 | ac_check_lib_save_LIBS=$LIBS |
5993 | LIBS="-lnsl $LIBS" |
5961 | LIBS="-lnsl $LIBS" |
5994 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5962 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6018 | conftest$ac_exeext conftest.$ac_ext |
5986 | conftest$ac_exeext conftest.$ac_ext |
6019 | LIBS=$ac_check_lib_save_LIBS |
5987 | LIBS=$ac_check_lib_save_LIBS |
6020 | fi |
5988 | fi |
6021 | { $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 |
6022 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
5990 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
6023 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
5991 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : |
6024 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
5992 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
6025 | fi |
5993 | fi |
6026 | |
5994 | |
6027 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
5995 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
6028 | { $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 |
6029 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
5997 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
6030 | if ${ac_cv_lib_bsd_gethostbyname+:} false; then : |
5998 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : |
6031 | $as_echo_n "(cached) " >&6 |
5999 | $as_echo_n "(cached) " >&6 |
6032 | else |
6000 | else |
6033 | ac_check_lib_save_LIBS=$LIBS |
6001 | ac_check_lib_save_LIBS=$LIBS |
6034 | LIBS="-lbsd $LIBS" |
6002 | LIBS="-lbsd $LIBS" |
6035 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6003 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6059 | conftest$ac_exeext conftest.$ac_ext |
6027 | conftest$ac_exeext conftest.$ac_ext |
6060 | LIBS=$ac_check_lib_save_LIBS |
6028 | LIBS=$ac_check_lib_save_LIBS |
6061 | fi |
6029 | fi |
6062 | { $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 |
6063 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6031 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6064 | if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : |
6032 | if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : |
6065 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6033 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6066 | fi |
6034 | fi |
6067 | |
6035 | |
6068 | fi |
6036 | fi |
6069 | fi |
6037 | fi |
… | |
… | |
6074 | # on later versions), says Simon Leinen: it contains gethostby* |
6042 | # on later versions), says Simon Leinen: it contains gethostby* |
6075 | # variants that don't use the name server (or something). -lsocket |
6043 | # variants that don't use the name server (or something). -lsocket |
6076 | # 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 |
6077 | # if connect needs -lnsl, so does gethostbyname. |
6045 | # if connect needs -lnsl, so does gethostbyname. |
6078 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6046 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6079 | if test "x$ac_cv_func_connect" = xyes; then : |
6047 | if test "x$ac_cv_func_connect" = x""yes; then : |
6080 | |
6048 | |
6081 | fi |
6049 | fi |
6082 | |
6050 | |
6083 | if test $ac_cv_func_connect = no; then |
6051 | if test $ac_cv_func_connect = no; then |
6084 | { $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 |
6085 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6053 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6086 | if ${ac_cv_lib_socket_connect+:} false; then : |
6054 | if test "${ac_cv_lib_socket_connect+set}" = set; then : |
6087 | $as_echo_n "(cached) " >&6 |
6055 | $as_echo_n "(cached) " >&6 |
6088 | else |
6056 | else |
6089 | ac_check_lib_save_LIBS=$LIBS |
6057 | ac_check_lib_save_LIBS=$LIBS |
6090 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6058 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6091 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6115 | conftest$ac_exeext conftest.$ac_ext |
6083 | conftest$ac_exeext conftest.$ac_ext |
6116 | LIBS=$ac_check_lib_save_LIBS |
6084 | LIBS=$ac_check_lib_save_LIBS |
6117 | fi |
6085 | fi |
6118 | { $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 |
6119 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6087 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6120 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
6088 | if test "x$ac_cv_lib_socket_connect" = x""yes; then : |
6121 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6089 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6122 | fi |
6090 | fi |
6123 | |
6091 | |
6124 | fi |
6092 | fi |
6125 | |
6093 | |
6126 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6094 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6127 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6095 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6128 | if test "x$ac_cv_func_remove" = xyes; then : |
6096 | if test "x$ac_cv_func_remove" = x""yes; then : |
6129 | |
6097 | |
6130 | fi |
6098 | fi |
6131 | |
6099 | |
6132 | if test $ac_cv_func_remove = no; then |
6100 | if test $ac_cv_func_remove = no; then |
6133 | { $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 |
6134 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6102 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6135 | if ${ac_cv_lib_posix_remove+:} false; then : |
6103 | if test "${ac_cv_lib_posix_remove+set}" = set; then : |
6136 | $as_echo_n "(cached) " >&6 |
6104 | $as_echo_n "(cached) " >&6 |
6137 | else |
6105 | else |
6138 | ac_check_lib_save_LIBS=$LIBS |
6106 | ac_check_lib_save_LIBS=$LIBS |
6139 | LIBS="-lposix $LIBS" |
6107 | LIBS="-lposix $LIBS" |
6140 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6108 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6164 | conftest$ac_exeext conftest.$ac_ext |
6132 | conftest$ac_exeext conftest.$ac_ext |
6165 | LIBS=$ac_check_lib_save_LIBS |
6133 | LIBS=$ac_check_lib_save_LIBS |
6166 | fi |
6134 | fi |
6167 | { $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 |
6168 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6136 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6169 | if test "x$ac_cv_lib_posix_remove" = xyes; then : |
6137 | if test "x$ac_cv_lib_posix_remove" = x""yes; then : |
6170 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6138 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6171 | fi |
6139 | fi |
6172 | |
6140 | |
6173 | fi |
6141 | fi |
6174 | |
6142 | |
6175 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6143 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6176 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6144 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6177 | if test "x$ac_cv_func_shmat" = xyes; then : |
6145 | if test "x$ac_cv_func_shmat" = x""yes; then : |
6178 | |
6146 | |
6179 | fi |
6147 | fi |
6180 | |
6148 | |
6181 | if test $ac_cv_func_shmat = no; then |
6149 | if test $ac_cv_func_shmat = no; then |
6182 | { $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 |
6183 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6151 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6184 | if ${ac_cv_lib_ipc_shmat+:} false; then : |
6152 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then : |
6185 | $as_echo_n "(cached) " >&6 |
6153 | $as_echo_n "(cached) " >&6 |
6186 | else |
6154 | else |
6187 | ac_check_lib_save_LIBS=$LIBS |
6155 | ac_check_lib_save_LIBS=$LIBS |
6188 | LIBS="-lipc $LIBS" |
6156 | LIBS="-lipc $LIBS" |
6189 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6157 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6213 | conftest$ac_exeext conftest.$ac_ext |
6181 | conftest$ac_exeext conftest.$ac_ext |
6214 | LIBS=$ac_check_lib_save_LIBS |
6182 | LIBS=$ac_check_lib_save_LIBS |
6215 | fi |
6183 | fi |
6216 | { $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 |
6217 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6185 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6218 | if test "x$ac_cv_lib_ipc_shmat" = xyes; then : |
6186 | if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : |
6219 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6187 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6220 | fi |
6188 | fi |
6221 | |
6189 | |
6222 | fi |
6190 | fi |
6223 | fi |
6191 | fi |
… | |
… | |
6231 | # These have to be linked with before -lX11, unlike the other |
6199 | # These have to be linked with before -lX11, unlike the other |
6232 | # libraries we check for below, so use a different variable. |
6200 | # libraries we check for below, so use a different variable. |
6233 | # John Interrante, Karl Berry |
6201 | # John Interrante, Karl Berry |
6234 | { $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 |
6235 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6203 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6236 | if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : |
6204 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : |
6237 | $as_echo_n "(cached) " >&6 |
6205 | $as_echo_n "(cached) " >&6 |
6238 | else |
6206 | else |
6239 | ac_check_lib_save_LIBS=$LIBS |
6207 | ac_check_lib_save_LIBS=$LIBS |
6240 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6208 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6265 | conftest$ac_exeext conftest.$ac_ext |
6233 | conftest$ac_exeext conftest.$ac_ext |
6266 | LIBS=$ac_check_lib_save_LIBS |
6234 | LIBS=$ac_check_lib_save_LIBS |
6267 | fi |
6235 | fi |
6268 | { $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 |
6269 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6237 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6270 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : |
6238 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : |
6271 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6239 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6272 | fi |
6240 | fi |
6273 | |
6241 | |
6274 | LDFLAGS=$ac_save_LDFLAGS |
6242 | LDFLAGS=$ac_save_LDFLAGS |
6275 | |
6243 | |
6276 | fi |
6244 | fi |
6277 | |
6245 | |
6278 | |
6246 | |
6279 | image_lib=none |
6247 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6248 | STARTUP_NOTIFICATION_LIBS= |
6280 | |
6249 | |
6281 | PIXBUF_CFLAGS= |
|
|
6282 | PIXBUF_LIBS= |
|
|
6283 | |
|
|
6284 | if test x$support_pixbuf = xyes; then |
6250 | if test x$support_startup_notification = xyes; then |
6285 | support_pixbuf=no |
6251 | support_startup_notification=no |
6286 | # 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. |
6287 | set dummy pkg-config; ac_word=$2 |
6253 | set dummy pkg-config; ac_word=$2 |
6288 | { $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 |
6289 | $as_echo_n "checking for $ac_word... " >&6; } |
6255 | $as_echo_n "checking for $ac_word... " >&6; } |
6290 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6256 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6291 | $as_echo_n "(cached) " >&6 |
6257 | $as_echo_n "(cached) " >&6 |
6292 | else |
6258 | else |
6293 | case $PKG_CONFIG in |
6259 | case $PKG_CONFIG in |
6294 | [\\/]* | ?:[\\/]*) |
6260 | [\\/]* | ?:[\\/]*) |
6295 | 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. |
… | |
… | |
6322 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6288 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6323 | $as_echo "no" >&6; } |
6289 | $as_echo "no" >&6; } |
6324 | fi |
6290 | fi |
6325 | |
6291 | |
6326 | |
6292 | |
6327 | { $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 |
6328 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
6294 | $as_echo_n "checking for libstartup-notification... " >&6; } |
6329 | 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 |
6330 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
6296 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6331 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
6297 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6332 | support_pixbuf=yes |
6298 | support_startup_notification=yes |
6333 | fi |
6299 | fi |
6334 | |
6300 | |
6335 | if test x$support_pixbuf = xyes; then |
6301 | if test x$support_startup_notification = xyes; then |
6336 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6337 | $as_echo "ok" >&6; } |
6303 | $as_echo "ok" >&6; } |
6338 | image_lib=gdk-pixbuf |
|
|
6339 | support_afterimage=no |
|
|
6340 | |
6304 | |
6341 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6305 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6342 | |
|
|
6343 | |
|
|
6344 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6345 | |
6306 | |
6346 | else |
6307 | else |
6347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6348 | $as_echo "no" >&6; } |
6309 | $as_echo "no" >&6; } |
6349 | fi |
6310 | fi |
6350 | fi |
6311 | fi |
6351 | |
6312 | |
6352 | |
6313 | |
6353 | |
6314 | |
6354 | |
6315 | |
6355 | STARTUP_NOTIFICATION_CFLAGS= |
6316 | for ac_header in \ |
6356 | STARTUP_NOTIFICATION_LIBS= |
6317 | sys/byteorder.h \ |
|
|
6318 | sys/ioctl.h \ |
|
|
6319 | sys/sockio.h \ |
|
|
6320 | sys/strredir.h \ |
|
|
6321 | stdint.h \ |
|
|
6322 | wchar.h \ |
6357 | |
6323 | |
|
|
6324 | do : |
|
|
6325 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6326 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
6327 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
6328 | cat >>confdefs.h <<_ACEOF |
|
|
6329 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6330 | _ACEOF |
|
|
6331 | |
|
|
6332 | fi |
|
|
6333 | |
|
|
6334 | done |
|
|
6335 | |
|
|
6336 | |
|
|
6337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
6338 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
|
|
6339 | if test "${rxvt_cv_xlib_illegal_access+set}" = set; then : |
|
|
6340 | $as_echo_n "(cached) " >&6 |
|
|
6341 | else |
|
|
6342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6343 | /* end confdefs.h. */ |
|
|
6344 | |
|
|
6345 | #define XLIB_ILLEGAL_ACCESS |
|
|
6346 | #include <X11/Xlib.h> |
|
|
6347 | |
|
|
6348 | int |
|
|
6349 | main () |
|
|
6350 | { |
|
|
6351 | |
|
|
6352 | Display *dpy; |
|
|
6353 | dpy->xdefaults = (char *)0; |
|
|
6354 | |
|
|
6355 | ; |
|
|
6356 | return 0; |
|
|
6357 | } |
|
|
6358 | _ACEOF |
|
|
6359 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6360 | rxvt_cv_xlib_illegal_access=yes |
|
|
6361 | else |
|
|
6362 | rxvt_cv_xlib_illegal_access=no |
|
|
6363 | |
|
|
6364 | fi |
|
|
6365 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6366 | fi |
|
|
6367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_xlib_illegal_access" >&5 |
|
|
6368 | $as_echo "$rxvt_cv_xlib_illegal_access" >&6; } |
|
|
6369 | if test x$rxvt_cv_xlib_illegal_access = xyes; then |
|
|
6370 | |
|
|
6371 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
|
|
6372 | |
|
|
6373 | fi |
|
|
6374 | |
|
|
6375 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
|
|
6376 | if test "x$ac_cv_type_mode_t" = x""yes; then : |
|
|
6377 | |
|
|
6378 | else |
|
|
6379 | |
|
|
6380 | cat >>confdefs.h <<_ACEOF |
|
|
6381 | #define mode_t int |
|
|
6382 | _ACEOF |
|
|
6383 | |
|
|
6384 | fi |
|
|
6385 | |
|
|
6386 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
|
|
6387 | if test "x$ac_cv_type_pid_t" = x""yes; then : |
|
|
6388 | |
|
|
6389 | else |
|
|
6390 | |
|
|
6391 | cat >>confdefs.h <<_ACEOF |
|
|
6392 | #define pid_t int |
|
|
6393 | _ACEOF |
|
|
6394 | |
|
|
6395 | fi |
|
|
6396 | |
|
|
6397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
|
|
6398 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
|
|
6399 | if test "${ac_cv_type_uid_t+set}" = set; then : |
|
|
6400 | $as_echo_n "(cached) " >&6 |
|
|
6401 | else |
|
|
6402 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6403 | /* end confdefs.h. */ |
|
|
6404 | #include <sys/types.h> |
|
|
6405 | |
|
|
6406 | _ACEOF |
|
|
6407 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6408 | $EGREP "uid_t" >/dev/null 2>&1; then : |
|
|
6409 | ac_cv_type_uid_t=yes |
|
|
6410 | else |
|
|
6411 | ac_cv_type_uid_t=no |
|
|
6412 | fi |
|
|
6413 | rm -f conftest* |
|
|
6414 | |
|
|
6415 | fi |
|
|
6416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 |
|
|
6417 | $as_echo "$ac_cv_type_uid_t" >&6; } |
|
|
6418 | if test $ac_cv_type_uid_t = no; then |
|
|
6419 | |
|
|
6420 | $as_echo "#define uid_t int" >>confdefs.h |
|
|
6421 | |
|
|
6422 | |
|
|
6423 | $as_echo "#define gid_t int" >>confdefs.h |
|
|
6424 | |
|
|
6425 | fi |
|
|
6426 | |
|
|
6427 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" |
|
|
6428 | case $ac_cv_c_int16_t in #( |
|
|
6429 | no|yes) ;; #( |
|
|
6430 | *) |
|
|
6431 | |
|
|
6432 | cat >>confdefs.h <<_ACEOF |
|
|
6433 | #define int16_t $ac_cv_c_int16_t |
|
|
6434 | _ACEOF |
|
|
6435 | ;; |
|
|
6436 | esac |
|
|
6437 | |
|
|
6438 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
|
|
6439 | case $ac_cv_c_uint16_t in #( |
|
|
6440 | no|yes) ;; #( |
|
|
6441 | *) |
|
|
6442 | |
|
|
6443 | |
|
|
6444 | cat >>confdefs.h <<_ACEOF |
|
|
6445 | #define uint16_t $ac_cv_c_uint16_t |
|
|
6446 | _ACEOF |
|
|
6447 | ;; |
|
|
6448 | esac |
|
|
6449 | |
|
|
6450 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" |
|
|
6451 | case $ac_cv_c_int32_t in #( |
|
|
6452 | no|yes) ;; #( |
|
|
6453 | *) |
|
|
6454 | |
|
|
6455 | cat >>confdefs.h <<_ACEOF |
|
|
6456 | #define int32_t $ac_cv_c_int32_t |
|
|
6457 | _ACEOF |
|
|
6458 | ;; |
|
|
6459 | esac |
|
|
6460 | |
|
|
6461 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" |
|
|
6462 | case $ac_cv_c_uint32_t in #( |
|
|
6463 | no|yes) ;; #( |
|
|
6464 | *) |
|
|
6465 | |
|
|
6466 | $as_echo "#define _UINT32_T 1" >>confdefs.h |
|
|
6467 | |
|
|
6468 | |
|
|
6469 | cat >>confdefs.h <<_ACEOF |
|
|
6470 | #define uint32_t $ac_cv_c_uint32_t |
|
|
6471 | _ACEOF |
|
|
6472 | ;; |
|
|
6473 | esac |
|
|
6474 | |
|
|
6475 | |
|
|
6476 | for ac_func in unsetenv |
|
|
6477 | do : |
|
|
6478 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
|
|
6479 | if test "x$ac_cv_func_unsetenv" = x""yes; then : |
|
|
6480 | cat >>confdefs.h <<_ACEOF |
|
|
6481 | #define HAVE_UNSETENV 1 |
|
|
6482 | _ACEOF |
|
|
6483 | |
|
|
6484 | fi |
|
|
6485 | done |
|
|
6486 | |
|
|
6487 | |
|
|
6488 | |
|
|
6489 | support_utmp=yes |
|
|
6490 | support_wtmp=yes |
|
|
6491 | support_lastlog=yes |
|
|
6492 | |
|
|
6493 | # Check whether --enable-utmp was given. |
|
|
6494 | if test "${enable_utmp+set}" = set; then : |
|
|
6495 | enableval=$enable_utmp; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6496 | support_utmp=$enableval |
|
|
6497 | fi |
|
|
6498 | fi |
|
|
6499 | |
|
|
6500 | |
|
|
6501 | # Check whether --enable-wtmp was given. |
|
|
6502 | if test "${enable_wtmp+set}" = set; then : |
|
|
6503 | enableval=$enable_wtmp; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6504 | support_wtmp=$enableval |
|
|
6505 | fi |
|
|
6506 | fi |
|
|
6507 | |
|
|
6508 | |
|
|
6509 | # Check whether --enable-lastlog was given. |
|
|
6510 | if test "${enable_lastlog+set}" = set; then : |
|
|
6511 | enableval=$enable_lastlog; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6512 | support_lastlog=$enableval |
|
|
6513 | fi |
|
|
6514 | fi |
|
|
6515 | |
|
|
6516 | |
6358 | if test x$support_startup_notification = xyes; then |
6517 | if test x$support_utmp = xyes; then |
6359 | support_startup_notification=no |
6518 | |
|
|
6519 | $as_echo "#define UTMP_SUPPORT 1" >>confdefs.h |
|
|
6520 | |
|
|
6521 | fi |
|
|
6522 | if test x$support_wtmp = xyes; then |
|
|
6523 | |
|
|
6524 | $as_echo "#define WTMP_SUPPORT 1" >>confdefs.h |
|
|
6525 | |
|
|
6526 | fi |
|
|
6527 | if test x$support_lastlog = xyes; then |
|
|
6528 | |
|
|
6529 | $as_echo "#define LASTLOG_SUPPORT 1" >>confdefs.h |
|
|
6530 | |
|
|
6531 | fi |
|
|
6532 | |
|
|
6533 | for ac_func in \ |
|
|
6534 | updwtmp \ |
|
|
6535 | updwtmpx \ |
|
|
6536 | updlastlogx \ |
|
|
6537 | |
|
|
6538 | do : |
|
|
6539 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
6540 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
6541 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
6542 | cat >>confdefs.h <<_ACEOF |
|
|
6543 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6544 | _ACEOF |
|
|
6545 | |
|
|
6546 | fi |
|
|
6547 | done |
|
|
6548 | |
|
|
6549 | |
|
|
6550 | for ac_header in lastlog.h |
|
|
6551 | do : |
|
|
6552 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
|
|
6553 | if test "x$ac_cv_header_lastlog_h" = x""yes; then : |
|
|
6554 | cat >>confdefs.h <<_ACEOF |
|
|
6555 | #define HAVE_LASTLOG_H 1 |
|
|
6556 | _ACEOF |
|
|
6557 | |
|
|
6558 | fi |
|
|
6559 | |
|
|
6560 | done |
|
|
6561 | |
|
|
6562 | |
|
|
6563 | case $host in |
|
|
6564 | *-*-solaris*) |
|
|
6565 | |
|
|
6566 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6567 | |
|
|
6568 | ;; |
|
|
6569 | esac |
|
|
6570 | |
|
|
6571 | |
|
|
6572 | for ac_header in utmp.h |
|
|
6573 | do : |
|
|
6574 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
|
|
6575 | if test "x$ac_cv_header_utmp_h" = x""yes; then : |
|
|
6576 | cat >>confdefs.h <<_ACEOF |
|
|
6577 | #define HAVE_UTMP_H 1 |
|
|
6578 | _ACEOF |
|
|
6579 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
|
|
6580 | #include <sys/types.h> |
|
|
6581 | #include <utmp.h> |
|
|
6582 | |
|
|
6583 | " |
|
|
6584 | if test "x$ac_cv_type_struct_utmp" = x""yes; then : |
|
|
6585 | |
|
|
6586 | cat >>confdefs.h <<_ACEOF |
|
|
6587 | #define HAVE_STRUCT_UTMP 1 |
|
|
6588 | _ACEOF |
|
|
6589 | |
|
|
6590 | |
|
|
6591 | fi |
|
|
6592 | |
|
|
6593 | |
|
|
6594 | |
|
|
6595 | # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES |
|
|
6596 | # ------------------------------------------------------ |
|
|
6597 | # Tries to find if the field MEMBER exists in type AGGR, after including |
|
|
6598 | # INCLUDES, setting cache variable VAR accordingly. |
|
|
6599 | ac_fn_cxx_check_member () |
|
|
6600 | { |
|
|
6601 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
6602 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
|
6603 | $as_echo_n "checking for $2.$3... " >&6; } |
|
|
6604 | if eval "test \"\${$4+set}\"" = set; then : |
|
|
6605 | $as_echo_n "(cached) " >&6 |
|
|
6606 | else |
|
|
6607 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6608 | /* end confdefs.h. */ |
|
|
6609 | $5 |
|
|
6610 | int |
|
|
6611 | main () |
|
|
6612 | { |
|
|
6613 | static $2 ac_aggr; |
|
|
6614 | if (ac_aggr.$3) |
|
|
6615 | return 0; |
|
|
6616 | ; |
|
|
6617 | return 0; |
|
|
6618 | } |
|
|
6619 | _ACEOF |
|
|
6620 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6621 | eval "$4=yes" |
|
|
6622 | else |
|
|
6623 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6624 | /* end confdefs.h. */ |
|
|
6625 | $5 |
|
|
6626 | int |
|
|
6627 | main () |
|
|
6628 | { |
|
|
6629 | static $2 ac_aggr; |
|
|
6630 | if (sizeof ac_aggr.$3) |
|
|
6631 | return 0; |
|
|
6632 | ; |
|
|
6633 | return 0; |
|
|
6634 | } |
|
|
6635 | _ACEOF |
|
|
6636 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6637 | eval "$4=yes" |
|
|
6638 | else |
|
|
6639 | eval "$4=no" |
|
|
6640 | fi |
|
|
6641 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6642 | fi |
|
|
6643 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6644 | fi |
|
|
6645 | eval ac_res=\$$4 |
|
|
6646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
6647 | $as_echo "$ac_res" >&6; } |
|
|
6648 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
6649 | |
|
|
6650 | } # ac_fn_cxx_check_member |
|
|
6651 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
|
|
6652 | #include <sys/types.h> |
|
|
6653 | #include <utmp.h> |
|
|
6654 | |
|
|
6655 | " |
|
|
6656 | if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then : |
|
|
6657 | |
|
|
6658 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
|
|
6659 | |
|
|
6660 | fi |
|
|
6661 | |
|
|
6662 | |
|
|
6663 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
|
|
6664 | #include <sys/types.h> |
|
|
6665 | #include <utmp.h> |
|
|
6666 | |
|
|
6667 | " |
|
|
6668 | if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then : |
|
|
6669 | |
|
|
6670 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
|
|
6671 | |
|
|
6672 | fi |
|
|
6673 | |
|
|
6674 | |
|
|
6675 | fi |
|
|
6676 | |
|
|
6677 | done |
|
|
6678 | |
|
|
6679 | |
|
|
6680 | for ac_header in utmpx.h |
|
|
6681 | do : |
|
|
6682 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
|
|
6683 | if test "x$ac_cv_header_utmpx_h" = x""yes; then : |
|
|
6684 | cat >>confdefs.h <<_ACEOF |
|
|
6685 | #define HAVE_UTMPX_H 1 |
|
|
6686 | _ACEOF |
|
|
6687 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
|
|
6688 | #include <sys/types.h> |
|
|
6689 | #include <utmpx.h> |
|
|
6690 | |
|
|
6691 | " |
|
|
6692 | if test "x$ac_cv_type_struct_utmpx" = x""yes; then : |
|
|
6693 | |
|
|
6694 | cat >>confdefs.h <<_ACEOF |
|
|
6695 | #define HAVE_STRUCT_UTMPX 1 |
|
|
6696 | _ACEOF |
|
|
6697 | |
|
|
6698 | |
|
|
6699 | fi |
|
|
6700 | |
|
|
6701 | |
|
|
6702 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
|
|
6703 | #include <sys/types.h> |
|
|
6704 | #include <utmpx.h> |
|
|
6705 | |
|
|
6706 | " |
|
|
6707 | if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then : |
|
|
6708 | |
|
|
6709 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
|
|
6710 | |
|
|
6711 | fi |
|
|
6712 | |
|
|
6713 | |
|
|
6714 | fi |
|
|
6715 | |
|
|
6716 | done |
|
|
6717 | |
|
|
6718 | ac_fn_cxx_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" " |
|
|
6719 | #include <sys/types.h> |
|
|
6720 | #include <utmp.h> |
|
|
6721 | #ifdef HAVE_LASTLOG_H |
|
|
6722 | #include <lastlog.h> |
|
|
6723 | #endif |
|
|
6724 | |
|
|
6725 | " |
|
|
6726 | if test "x$ac_cv_type_struct_lastlog" = x""yes; then : |
|
|
6727 | |
|
|
6728 | cat >>confdefs.h <<_ACEOF |
|
|
6729 | #define HAVE_STRUCT_LASTLOG 1 |
|
|
6730 | _ACEOF |
|
|
6731 | |
|
|
6732 | |
|
|
6733 | fi |
|
|
6734 | |
|
|
6735 | |
|
|
6736 | ac_fn_cxx_check_type "$LINENO" "struct lastlogx" "ac_cv_type_struct_lastlogx" " |
|
|
6737 | #include <sys/types.h> |
|
|
6738 | #include <utmpx.h> |
|
|
6739 | #ifdef HAVE_LASTLOG_H |
|
|
6740 | #include <lastlog.h> |
|
|
6741 | #endif |
|
|
6742 | |
|
|
6743 | " |
|
|
6744 | if test "x$ac_cv_type_struct_lastlogx" = x""yes; then : |
|
|
6745 | |
|
|
6746 | cat >>confdefs.h <<_ACEOF |
|
|
6747 | #define HAVE_STRUCT_LASTLOGX 1 |
|
|
6748 | _ACEOF |
|
|
6749 | |
|
|
6750 | |
|
|
6751 | fi |
|
|
6752 | |
|
|
6753 | |
|
|
6754 | |
|
|
6755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 |
|
|
6756 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
|
|
6757 | if test "${pt_cv_path_utmp+set}" = set; then : |
|
|
6758 | $as_echo_n "(cached) " >&6 |
|
|
6759 | else |
|
|
6760 | |
|
|
6761 | if test "$cross_compiling" != yes; then |
|
|
6762 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
|
|
6763 | if test -f "$file"; then |
|
|
6764 | pt_cv_path_utmp=$file |
|
|
6765 | break |
|
|
6766 | fi |
|
|
6767 | done |
|
|
6768 | fi |
|
|
6769 | fi |
|
|
6770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
|
|
6771 | $as_echo "$pt_cv_path_utmp" >&6; } |
|
|
6772 | if test x$pt_cv_path_utmp != x; then |
|
|
6773 | |
|
|
6774 | cat >>confdefs.h <<_ACEOF |
|
|
6775 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
|
|
6776 | _ACEOF |
|
|
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;} |
|
|
6781 | fi |
|
|
6782 | |
|
|
6783 | |
|
|
6784 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 |
|
|
6785 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
|
|
6786 | if test "${pt_cv_path_wtmp+set}" = set; then : |
|
|
6787 | $as_echo_n "(cached) " >&6 |
|
|
6788 | else |
|
|
6789 | |
|
|
6790 | if test "$cross_compiling" != yes; then |
|
|
6791 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
|
|
6792 | if test -f "$file"; then |
|
|
6793 | pt_cv_path_wtmp=$file |
|
|
6794 | break |
|
|
6795 | fi |
|
|
6796 | done |
|
|
6797 | fi |
|
|
6798 | fi |
|
|
6799 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
|
|
6800 | $as_echo "$pt_cv_path_wtmp" >&6; } |
|
|
6801 | if test x$pt_cv_path_wtmp != x; then |
|
|
6802 | |
|
|
6803 | cat >>confdefs.h <<_ACEOF |
|
|
6804 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
|
|
6805 | _ACEOF |
|
|
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;} |
|
|
6810 | fi |
|
|
6811 | |
|
|
6812 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 |
|
|
6813 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
|
|
6814 | if test "${pt_cv_path_wtmpx+set}" = set; then : |
|
|
6815 | $as_echo_n "(cached) " >&6 |
|
|
6816 | else |
|
|
6817 | |
|
|
6818 | if test "$cross_compiling" != yes; then |
|
|
6819 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
|
|
6820 | if test -f "$file"; then |
|
|
6821 | pt_cv_path_wtmpx=$file |
|
|
6822 | break |
|
|
6823 | fi |
|
|
6824 | done |
|
|
6825 | fi |
|
|
6826 | fi |
|
|
6827 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
|
|
6828 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
|
|
6829 | if test x$pt_cv_path_wtmpx != x; then |
|
|
6830 | |
|
|
6831 | cat >>confdefs.h <<_ACEOF |
|
|
6832 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
|
|
6833 | _ACEOF |
|
|
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;} |
|
|
6838 | fi |
|
|
6839 | |
|
|
6840 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 |
|
|
6841 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
|
|
6842 | if test "${pt_cv_path_lastlog+set}" = set; then : |
|
|
6843 | $as_echo_n "(cached) " >&6 |
|
|
6844 | else |
|
|
6845 | |
|
|
6846 | if test "$cross_compiling" != yes; then |
|
|
6847 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
|
|
6848 | if test -f "$file"; then |
|
|
6849 | pt_cv_path_lastlog=$file |
|
|
6850 | break |
|
|
6851 | fi |
|
|
6852 | done |
|
|
6853 | fi |
|
|
6854 | fi |
|
|
6855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
|
|
6856 | $as_echo "$pt_cv_path_lastlog" >&6; } |
|
|
6857 | if test x$pt_cv_path_lastlog != x; then |
|
|
6858 | |
|
|
6859 | cat >>confdefs.h <<_ACEOF |
|
|
6860 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
|
|
6861 | _ACEOF |
|
|
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;} |
|
|
6866 | fi |
|
|
6867 | |
|
|
6868 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 |
|
|
6869 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
|
|
6870 | if test "${pt_cv_path_lastlogx+set}" = set; then : |
|
|
6871 | $as_echo_n "(cached) " >&6 |
|
|
6872 | else |
|
|
6873 | |
|
|
6874 | if test "$cross_compiling" != yes; then |
|
|
6875 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
|
|
6876 | if test -f "$file"; then |
|
|
6877 | pt_cv_path_lastlogx=$file |
|
|
6878 | break |
|
|
6879 | fi |
|
|
6880 | done |
|
|
6881 | fi |
|
|
6882 | fi |
|
|
6883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
|
|
6884 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
|
|
6885 | if test x$pt_cv_path_lastlogx != x; then |
|
|
6886 | |
|
|
6887 | cat >>confdefs.h <<_ACEOF |
|
|
6888 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
|
|
6889 | _ACEOF |
|
|
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;} |
|
|
6894 | fi |
|
|
6895 | |
|
|
6896 | |
|
|
6897 | |
|
|
6898 | |
|
|
6899 | save_LIBS=$LIBS |
|
|
6900 | save_CFLAGS=$CFLAGS |
|
|
6901 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
6902 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
6903 | if test x$support_xim = xyes; then |
|
|
6904 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
|
|
6905 | $as_echo_n "checking for working Xlocale... " >&6; } |
|
|
6906 | if test "${rxvt_cv_func_xlocale+set}" = set; then : |
|
|
6907 | $as_echo_n "(cached) " >&6 |
|
|
6908 | else |
|
|
6909 | if test "$cross_compiling" = yes; then : |
|
|
6910 | : |
|
|
6911 | else |
|
|
6912 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6913 | /* end confdefs.h. */ |
|
|
6914 | |
|
|
6915 | #include <X11/Xlib.h> |
|
|
6916 | #include <stdlib.h> |
|
|
6917 | int main() { |
|
|
6918 | char *p; |
|
|
6919 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
|
|
6920 | exit (XSupportsLocale() ? 0 : 1); |
|
|
6921 | else |
|
|
6922 | exit (1); |
|
|
6923 | } |
|
|
6924 | |
|
|
6925 | _ACEOF |
|
|
6926 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
6927 | rxvt_cv_func_xlocale=yes |
|
|
6928 | else |
|
|
6929 | rxvt_cv_func_xlocale=no |
|
|
6930 | fi |
|
|
6931 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
6932 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
6933 | fi |
|
|
6934 | |
|
|
6935 | fi |
|
|
6936 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_xlocale" >&5 |
|
|
6937 | $as_echo "$rxvt_cv_func_xlocale" >&6; } |
|
|
6938 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
6939 | |
|
|
6940 | $as_echo "#define USE_XIM 1" >>confdefs.h |
|
|
6941 | |
|
|
6942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
|
|
6943 | $as_echo_n "checking for broken XIM callback... " >&6; } |
|
|
6944 | if test "${rxvt_cv_broken_ximcb+set}" = set; then : |
|
|
6945 | $as_echo_n "(cached) " >&6 |
|
|
6946 | else |
|
|
6947 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6948 | /* end confdefs.h. */ |
|
|
6949 | |
|
|
6950 | #include <X11/Xlib.h> |
|
|
6951 | |
|
|
6952 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
6953 | |
|
|
6954 | void f() { |
|
|
6955 | XIMCallback cb; |
|
|
6956 | cb.callback = im_destroy_cb; |
|
|
6957 | } |
|
|
6958 | |
|
|
6959 | _ACEOF |
|
|
6960 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6961 | rxvt_cv_broken_ximcb=yes |
|
|
6962 | else |
|
|
6963 | rxvt_cv_broken_ximcb=no |
|
|
6964 | fi |
|
|
6965 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6966 | fi |
|
|
6967 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_broken_ximcb" >&5 |
|
|
6968 | $as_echo "$rxvt_cv_broken_ximcb" >&6; } |
|
|
6969 | |
|
|
6970 | if test x$rxvt_cv_broken_ximcb = xyes; then |
|
|
6971 | |
|
|
6972 | $as_echo "#define XIMCB_PROTO_BROKEN 1" >>confdefs.h |
|
|
6973 | |
|
|
6974 | fi |
|
|
6975 | fi |
|
|
6976 | fi |
|
|
6977 | |
|
|
6978 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
|
|
6979 | $as_echo_n "checking for working X setlocale... " >&6; } |
|
|
6980 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then : |
|
|
6981 | $as_echo_n "(cached) " >&6 |
|
|
6982 | else |
|
|
6983 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6984 | /* end confdefs.h. */ |
|
|
6985 | #define X_LOCALE 1 |
|
|
6986 | #include <X11/Xlocale.h> |
|
|
6987 | int |
|
|
6988 | main () |
|
|
6989 | { |
|
|
6990 | setlocale(LC_CTYPE, ""); |
|
|
6991 | ; |
|
|
6992 | return 0; |
|
|
6993 | } |
|
|
6994 | _ACEOF |
|
|
6995 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
6996 | rxvt_cv_func_xsetlocale=yes |
|
|
6997 | else |
|
|
6998 | rxvt_cv_func_xsetlocale=no |
|
|
6999 | fi |
|
|
7000 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7001 | conftest$ac_exeext conftest.$ac_ext |
|
|
7002 | fi |
|
|
7003 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_xsetlocale" >&5 |
|
|
7004 | $as_echo "$rxvt_cv_func_xsetlocale" >&6; } |
|
|
7005 | if test x$rxvt_cv_func_xsetlocale = xyes; then |
|
|
7006 | |
|
|
7007 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
|
|
7008 | |
|
|
7009 | fi |
|
|
7010 | LIBS=$save_LIBS |
|
|
7011 | CFLAGS=$save_CFLAGS |
|
|
7012 | |
|
|
7013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
|
|
7014 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
|
|
7015 | if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : |
|
|
7016 | $as_echo_n "(cached) " >&6 |
|
|
7017 | else |
|
|
7018 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7019 | /* end confdefs.h. */ |
|
|
7020 | #include <langinfo.h> |
|
|
7021 | int |
|
|
7022 | main () |
|
|
7023 | { |
|
|
7024 | nl_langinfo(CODESET); |
|
|
7025 | ; |
|
|
7026 | return 0; |
|
|
7027 | } |
|
|
7028 | _ACEOF |
|
|
7029 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7030 | rxvt_cv_func_nl_langinfo=yes |
|
|
7031 | else |
|
|
7032 | rxvt_cv_func_nl_langinfo=no |
|
|
7033 | fi |
|
|
7034 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7035 | conftest$ac_exeext conftest.$ac_ext |
|
|
7036 | fi |
|
|
7037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_nl_langinfo" >&5 |
|
|
7038 | $as_echo "$rxvt_cv_func_nl_langinfo" >&6; } |
|
|
7039 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
|
|
7040 | |
|
|
7041 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
|
|
7042 | |
|
|
7043 | fi |
|
|
7044 | |
|
|
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 | |
|
|
7110 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
|
|
7111 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
|
|
7112 | if test "${pt_cv_can_pass_fds+set}" = set; then : |
|
|
7113 | $as_echo_n "(cached) " >&6 |
|
|
7114 | else |
|
|
7115 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7116 | /* end confdefs.h. */ |
|
|
7117 | |
|
|
7118 | #include <stddef.h> // broken bsds (is that redundant?) need this |
|
|
7119 | #include <sys/types.h> |
|
|
7120 | #include <sys/socket.h> |
|
|
7121 | #include <sys/uio.h> |
|
|
7122 | |
|
|
7123 | int |
|
|
7124 | main () |
|
|
7125 | { |
|
|
7126 | |
|
|
7127 | { |
|
|
7128 | msghdr msg; |
|
|
7129 | iovec iov; |
|
|
7130 | char buf [100]; |
|
|
7131 | char data = 0; |
|
|
7132 | |
|
|
7133 | iov.iov_base = &data; |
|
|
7134 | iov.iov_len = 1; |
|
|
7135 | |
|
|
7136 | msg.msg_iov = &iov; |
|
|
7137 | msg.msg_iovlen = 1; |
|
|
7138 | msg.msg_control = buf; |
|
|
7139 | msg.msg_controllen = sizeof buf; |
|
|
7140 | |
|
|
7141 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
7142 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
7143 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
7144 | cmsg->cmsg_len = 100; |
|
|
7145 | |
|
|
7146 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
7147 | |
|
|
7148 | return sendmsg (3, &msg, 0); |
|
|
7149 | } |
|
|
7150 | |
|
|
7151 | ; |
|
|
7152 | return 0; |
|
|
7153 | } |
|
|
7154 | _ACEOF |
|
|
7155 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7156 | pt_cv_can_pass_fds=yes |
|
|
7157 | else |
|
|
7158 | pt_cv_can_pass_fds=no |
|
|
7159 | fi |
|
|
7160 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7161 | conftest$ac_exeext conftest.$ac_ext |
|
|
7162 | fi |
|
|
7163 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_can_pass_fds" >&5 |
|
|
7164 | $as_echo "$pt_cv_can_pass_fds" >&6; } |
|
|
7165 | if test x$pt_cv_can_pass_fds = xyes; then |
|
|
7166 | |
|
|
7167 | $as_echo "#define HAVE_UNIX_FDPASS 1" >>confdefs.h |
|
|
7168 | |
|
|
7169 | else |
|
|
7170 | as_fn_error $? "libptytty requires unix-compliant filehandle passing ability" "$LINENO" 5 |
|
|
7171 | fi |
|
|
7172 | |
|
|
7173 | |
|
|
7174 | |
|
|
7175 | for ac_header in \ |
|
|
7176 | pty.h \ |
|
|
7177 | util.h \ |
|
|
7178 | libutil.h \ |
|
|
7179 | sys/ioctl.h \ |
|
|
7180 | stropts.h \ |
|
|
7181 | |
|
|
7182 | do : |
|
|
7183 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7184 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
7185 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
7186 | cat >>confdefs.h <<_ACEOF |
|
|
7187 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7188 | _ACEOF |
|
|
7189 | |
|
|
7190 | fi |
|
|
7191 | |
|
|
7192 | done |
|
|
7193 | |
|
|
7194 | |
|
|
7195 | for ac_func in \ |
|
|
7196 | revoke \ |
|
|
7197 | _getpty \ |
|
|
7198 | getpt \ |
|
|
7199 | posix_openpt \ |
|
|
7200 | isastream \ |
|
|
7201 | setuid \ |
|
|
7202 | seteuid \ |
|
|
7203 | setreuid \ |
|
|
7204 | setresuid \ |
|
|
7205 | |
|
|
7206 | do : |
|
|
7207 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7208 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7209 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7210 | cat >>confdefs.h <<_ACEOF |
|
|
7211 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7212 | _ACEOF |
|
|
7213 | |
|
|
7214 | fi |
|
|
7215 | done |
|
|
7216 | |
|
|
7217 | |
|
|
7218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
|
|
7219 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
|
|
7220 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7221 | /* end confdefs.h. */ |
|
|
7222 | #include <stdlib.h> |
|
|
7223 | int |
|
|
7224 | main () |
|
|
7225 | { |
|
|
7226 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
7227 | ; |
|
|
7228 | return 0; |
|
|
7229 | } |
|
|
7230 | _ACEOF |
|
|
7231 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7232 | unix98_pty=yes |
|
|
7233 | |
|
|
7234 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
|
|
7235 | |
|
|
7236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
7237 | $as_echo "yes" >&6; } |
|
|
7238 | else |
|
|
7239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7240 | $as_echo "no" >&6; } |
|
|
7241 | fi |
|
|
7242 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7243 | conftest$ac_exeext conftest.$ac_ext |
|
|
7244 | |
|
|
7245 | if test -z "$unix98_pty"; then |
|
|
7246 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
|
|
7247 | $as_echo_n "checking for library containing openpty... " >&6; } |
|
|
7248 | if test "${ac_cv_search_openpty+set}" = set; then : |
|
|
7249 | $as_echo_n "(cached) " >&6 |
|
|
7250 | else |
|
|
7251 | ac_func_search_save_LIBS=$LIBS |
|
|
7252 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7253 | /* end confdefs.h. */ |
|
|
7254 | |
|
|
7255 | /* Override any GCC internal prototype to avoid an error. |
|
|
7256 | Use char because int might match the return type of a GCC |
|
|
7257 | builtin and then its argument prototype would still apply. */ |
|
|
7258 | #ifdef __cplusplus |
|
|
7259 | extern "C" |
|
|
7260 | #endif |
|
|
7261 | char openpty (); |
|
|
7262 | int |
|
|
7263 | main () |
|
|
7264 | { |
|
|
7265 | return openpty (); |
|
|
7266 | ; |
|
|
7267 | return 0; |
|
|
7268 | } |
|
|
7269 | _ACEOF |
|
|
7270 | for ac_lib in '' util; do |
|
|
7271 | if test -z "$ac_lib"; then |
|
|
7272 | ac_res="none required" |
|
|
7273 | else |
|
|
7274 | ac_res=-l$ac_lib |
|
|
7275 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7276 | fi |
|
|
7277 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7278 | ac_cv_search_openpty=$ac_res |
|
|
7279 | fi |
|
|
7280 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7281 | conftest$ac_exeext |
|
|
7282 | if test "${ac_cv_search_openpty+set}" = set; then : |
|
|
7283 | break |
|
|
7284 | fi |
|
|
7285 | done |
|
|
7286 | if test "${ac_cv_search_openpty+set}" = set; then : |
|
|
7287 | |
|
|
7288 | else |
|
|
7289 | ac_cv_search_openpty=no |
|
|
7290 | fi |
|
|
7291 | rm conftest.$ac_ext |
|
|
7292 | LIBS=$ac_func_search_save_LIBS |
|
|
7293 | fi |
|
|
7294 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 |
|
|
7295 | $as_echo "$ac_cv_search_openpty" >&6; } |
|
|
7296 | ac_res=$ac_cv_search_openpty |
|
|
7297 | if test "$ac_res" != no; then : |
|
|
7298 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7299 | |
|
|
7300 | $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h |
|
|
7301 | |
|
|
7302 | fi |
|
|
7303 | |
|
|
7304 | fi |
|
|
7305 | |
|
|
7306 | |
|
|
7307 | |
|
|
7308 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
|
|
7309 | $as_echo_n "checking for tty group... " >&6; } |
|
|
7310 | if test "${pt_cv_tty_group+set}" = set; then : |
|
|
7311 | $as_echo_n "(cached) " >&6 |
|
|
7312 | else |
|
|
7313 | if test "$cross_compiling" = yes; then : |
|
|
7314 | pt_cv_tty_group=no |
|
|
7315 | else |
|
|
7316 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7317 | /* end confdefs.h. */ |
|
|
7318 | |
|
|
7319 | #include <sys/types.h> |
|
|
7320 | #include <sys/stat.h> |
|
|
7321 | #include <unistd.h> |
|
|
7322 | #include <grp.h> |
|
|
7323 | |
|
|
7324 | int main() |
|
|
7325 | { |
|
|
7326 | struct stat st; |
|
|
7327 | struct group *gr; |
|
|
7328 | char *tty; |
|
|
7329 | gr = getgrnam("tty"); |
|
|
7330 | tty = ttyname(0); |
|
|
7331 | if (gr != 0 |
|
|
7332 | && tty != 0 |
|
|
7333 | && (stat(tty, &st)) == 0 |
|
|
7334 | && st.st_gid == gr->gr_gid) |
|
|
7335 | return 0; |
|
|
7336 | else |
|
|
7337 | return 1; |
|
|
7338 | } |
|
|
7339 | _ACEOF |
|
|
7340 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7341 | pt_cv_tty_group=yes |
|
|
7342 | else |
|
|
7343 | pt_cv_tty_group=no |
|
|
7344 | fi |
|
|
7345 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7346 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7347 | fi |
|
|
7348 | |
|
|
7349 | fi |
|
|
7350 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_tty_group" >&5 |
|
|
7351 | $as_echo "$pt_cv_tty_group" >&6; } |
|
|
7352 | if test x$pt_cv_tty_group = xyes; then |
|
|
7353 | |
|
|
7354 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
|
|
7355 | |
|
|
7356 | fi |
|
|
7357 | |
|
|
7358 | support_image=no |
|
|
7359 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
|
|
7360 | support_image=yes |
|
|
7361 | fi |
|
|
7362 | if test x$support_xft = xyes || test x$support_image = xyes; then |
|
|
7363 | rxvt_have_xrender=no |
6360 | # 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. |
6361 | set dummy pkg-config; ac_word=$2 |
7365 | set dummy pkg-config; ac_word=$2 |
6362 | { $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 |
6363 | $as_echo_n "checking for $ac_word... " >&6; } |
7367 | $as_echo_n "checking for $ac_word... " >&6; } |
6364 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7368 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6365 | $as_echo_n "(cached) " >&6 |
7369 | $as_echo_n "(cached) " >&6 |
6366 | else |
7370 | else |
6367 | case $PKG_CONFIG in |
7371 | case $PKG_CONFIG in |
6368 | [\\/]* | ?:[\\/]*) |
7372 | [\\/]* | ?:[\\/]*) |
6369 | 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. |
… | |
… | |
6396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6397 | $as_echo "no" >&6; } |
7401 | $as_echo "no" >&6; } |
6398 | fi |
7402 | fi |
6399 | |
7403 | |
6400 | |
7404 | |
6401 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
|
|
6402 | $as_echo_n "checking for libstartup-notification... " >&6; } |
|
|
6403 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
7405 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
6404 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
7406 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
6405 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
7407 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
6406 | support_startup_notification=yes |
7408 | rxvt_have_xrender=yes |
6407 | fi |
|
|
6408 | |
7409 | |
6409 | if test x$support_startup_notification = xyes; then |
|
|
6410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6411 | $as_echo "ok" >&6; } |
|
|
6412 | |
|
|
6413 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
|
|
6414 | |
|
|
6415 | else |
|
|
6416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6417 | $as_echo "no" >&6; } |
|
|
6418 | fi |
|
|
6419 | fi |
|
|
6420 | |
|
|
6421 | |
|
|
6422 | |
|
|
6423 | |
|
|
6424 | AFTERIMAGE_CFLAGS= |
|
|
6425 | AFTERIMAGE_LIBS= |
|
|
6426 | |
|
|
6427 | if test x$support_afterimage = xyes; then |
|
|
6428 | support_afterimage=no |
|
|
6429 | |
|
|
6430 | if test "x$afterimage_config" = "x" ; then |
|
|
6431 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6432 | set dummy afterimage-config; ac_word=$2 |
|
|
6433 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
6434 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
6435 | if ${ac_cv_path_afterimage_config+:} false; then : |
|
|
6436 | $as_echo_n "(cached) " >&6 |
|
|
6437 | else |
|
|
6438 | case $afterimage_config in |
|
|
6439 | [\\/]* | ?:[\\/]*) |
|
|
6440 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6441 | ;; |
|
|
6442 | *) |
|
|
6443 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6444 | for as_dir in $PATH |
|
|
6445 | do |
|
|
6446 | IFS=$as_save_IFS |
|
|
6447 | test -z "$as_dir" && as_dir=. |
|
|
6448 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6449 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6450 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6451 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6452 | break 2 |
|
|
6453 | fi |
|
|
6454 | done |
|
|
6455 | done |
|
|
6456 | IFS=$as_save_IFS |
|
|
6457 | |
|
|
6458 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6459 | ;; |
|
|
6460 | esac |
|
|
6461 | fi |
|
|
6462 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6463 | if test -n "$afterimage_config"; then |
|
|
6464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5 |
|
|
6465 | $as_echo "$afterimage_config" >&6; } |
|
|
6466 | else |
|
|
6467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6468 | $as_echo "no" >&6; } |
|
|
6469 | fi |
|
|
6470 | |
|
|
6471 | |
|
|
6472 | fi |
|
|
6473 | if test "x$afterimage_config" != "xno" ; then |
|
|
6474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 |
|
|
6475 | $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } |
|
|
6476 | AFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
6477 | if test -n "$AFTERIMAGE_VERSION" ; then |
|
|
6478 | AFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6479 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6480 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
|
|
6481 | libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
6482 | libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
6483 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
|
|
6484 | support_afterimage=yes |
|
|
6485 | fi |
|
|
6486 | fi |
|
|
6487 | fi |
|
|
6488 | if test "x$support_afterimage" = "xyes"; then |
|
|
6489 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6490 | $as_echo "$AFTERIMAGE_LIBS" >&6; } |
|
|
6491 | image_lib=libafterimage |
|
|
6492 | |
|
|
6493 | $as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h |
|
|
6494 | |
|
|
6495 | |
|
|
6496 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6497 | |
|
|
6498 | else |
|
|
6499 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6500 | $as_echo "no" >&6; } |
|
|
6501 | AFTERIMAGE_CFLAGS= |
|
|
6502 | AFTERIMAGE_LIBS= |
|
|
6503 | fi |
|
|
6504 | fi |
|
|
6505 | fi |
|
|
6506 | |
|
|
6507 | |
|
|
6508 | |
|
|
6509 | |
|
|
6510 | for ac_header in \ |
|
|
6511 | sys/byteorder.h \ |
|
|
6512 | sys/ioctl.h \ |
|
|
6513 | sys/sockio.h \ |
|
|
6514 | sys/strredir.h \ |
|
|
6515 | stdint.h \ |
|
|
6516 | wchar.h \ |
|
|
6517 | cwchar \ |
|
|
6518 | |
|
|
6519 | do : |
|
|
6520 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6521 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
6522 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
6523 | cat >>confdefs.h <<_ACEOF |
|
|
6524 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6525 | _ACEOF |
|
|
6526 | |
|
|
6527 | fi |
|
|
6528 | |
|
|
6529 | done |
|
|
6530 | |
|
|
6531 | |
|
|
6532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
6533 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
|
|
6534 | if ${rxvt_cv_xlib_illegal_access+:} false; then : |
|
|
6535 | $as_echo_n "(cached) " >&6 |
|
|
6536 | else |
|
|
6537 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6538 | /* end confdefs.h. */ |
|
|
6539 | |
|
|
6540 | #define XLIB_ILLEGAL_ACCESS |
|
|
6541 | #include <X11/Xlib.h> |
|
|
6542 | |
|
|
6543 | int |
|
|
6544 | main () |
|
|
6545 | { |
|
|
6546 | |
|
|
6547 | Display *dpy; |
|
|
6548 | dpy->xdefaults = (char *)0; |
|
|
6549 | |
|
|
6550 | ; |
|
|
6551 | return 0; |
|
|
6552 | } |
|
|
6553 | _ACEOF |
|
|
6554 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6555 | rxvt_cv_xlib_illegal_access=yes |
|
|
6556 | else |
|
|
6557 | rxvt_cv_xlib_illegal_access=no |
|
|
6558 | |
|
|
6559 | fi |
|
|
6560 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6561 | fi |
|
|
6562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_xlib_illegal_access" >&5 |
|
|
6563 | $as_echo "$rxvt_cv_xlib_illegal_access" >&6; } |
|
|
6564 | if test x$rxvt_cv_xlib_illegal_access = xyes; then |
|
|
6565 | |
|
|
6566 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
|
|
6567 | |
|
|
6568 | fi |
|
|
6569 | |
|
|
6570 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
|
|
6571 | if test "x$ac_cv_type_mode_t" = xyes; then : |
|
|
6572 | |
|
|
6573 | else |
|
|
6574 | |
|
|
6575 | cat >>confdefs.h <<_ACEOF |
|
|
6576 | #define mode_t int |
|
|
6577 | _ACEOF |
|
|
6578 | |
|
|
6579 | fi |
|
|
6580 | |
|
|
6581 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
|
|
6582 | if test "x$ac_cv_type_pid_t" = xyes; then : |
|
|
6583 | |
|
|
6584 | else |
|
|
6585 | |
|
|
6586 | cat >>confdefs.h <<_ACEOF |
|
|
6587 | #define pid_t int |
|
|
6588 | _ACEOF |
|
|
6589 | |
|
|
6590 | fi |
|
|
6591 | |
|
|
6592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
|
|
6593 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
|
|
6594 | if ${ac_cv_type_uid_t+:} false; then : |
|
|
6595 | $as_echo_n "(cached) " >&6 |
|
|
6596 | else |
|
|
6597 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6598 | /* end confdefs.h. */ |
|
|
6599 | #include <sys/types.h> |
|
|
6600 | |
|
|
6601 | _ACEOF |
|
|
6602 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6603 | $EGREP "uid_t" >/dev/null 2>&1; then : |
|
|
6604 | ac_cv_type_uid_t=yes |
|
|
6605 | else |
|
|
6606 | ac_cv_type_uid_t=no |
|
|
6607 | fi |
|
|
6608 | rm -f conftest* |
|
|
6609 | |
|
|
6610 | fi |
|
|
6611 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 |
|
|
6612 | $as_echo "$ac_cv_type_uid_t" >&6; } |
|
|
6613 | if test $ac_cv_type_uid_t = no; then |
|
|
6614 | |
|
|
6615 | $as_echo "#define uid_t int" >>confdefs.h |
|
|
6616 | |
|
|
6617 | |
|
|
6618 | $as_echo "#define gid_t int" >>confdefs.h |
|
|
6619 | |
|
|
6620 | fi |
|
|
6621 | |
|
|
6622 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" |
|
|
6623 | case $ac_cv_c_int16_t in #( |
|
|
6624 | no|yes) ;; #( |
|
|
6625 | *) |
|
|
6626 | |
|
|
6627 | cat >>confdefs.h <<_ACEOF |
|
|
6628 | #define int16_t $ac_cv_c_int16_t |
|
|
6629 | _ACEOF |
|
|
6630 | ;; |
|
|
6631 | esac |
|
|
6632 | |
|
|
6633 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
|
|
6634 | case $ac_cv_c_uint16_t in #( |
|
|
6635 | no|yes) ;; #( |
|
|
6636 | *) |
|
|
6637 | |
|
|
6638 | |
|
|
6639 | cat >>confdefs.h <<_ACEOF |
|
|
6640 | #define uint16_t $ac_cv_c_uint16_t |
|
|
6641 | _ACEOF |
|
|
6642 | ;; |
|
|
6643 | esac |
|
|
6644 | |
|
|
6645 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" |
|
|
6646 | case $ac_cv_c_int32_t in #( |
|
|
6647 | no|yes) ;; #( |
|
|
6648 | *) |
|
|
6649 | |
|
|
6650 | cat >>confdefs.h <<_ACEOF |
|
|
6651 | #define int32_t $ac_cv_c_int32_t |
|
|
6652 | _ACEOF |
|
|
6653 | ;; |
|
|
6654 | esac |
|
|
6655 | |
|
|
6656 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" |
|
|
6657 | case $ac_cv_c_uint32_t in #( |
|
|
6658 | no|yes) ;; #( |
|
|
6659 | *) |
|
|
6660 | |
|
|
6661 | $as_echo "#define _UINT32_T 1" >>confdefs.h |
|
|
6662 | |
|
|
6663 | |
|
|
6664 | cat >>confdefs.h <<_ACEOF |
|
|
6665 | #define uint32_t $ac_cv_c_uint32_t |
|
|
6666 | _ACEOF |
|
|
6667 | ;; |
|
|
6668 | esac |
|
|
6669 | |
|
|
6670 | |
|
|
6671 | for ac_func in unsetenv |
|
|
6672 | do : |
|
|
6673 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
|
|
6674 | if test "x$ac_cv_func_unsetenv" = xyes; then : |
|
|
6675 | cat >>confdefs.h <<_ACEOF |
|
|
6676 | #define HAVE_UNSETENV 1 |
|
|
6677 | _ACEOF |
|
|
6678 | |
|
|
6679 | fi |
|
|
6680 | done |
|
|
6681 | |
|
|
6682 | |
|
|
6683 | |
|
|
6684 | support_utmp=yes |
|
|
6685 | support_wtmp=yes |
|
|
6686 | support_lastlog=yes |
|
|
6687 | |
|
|
6688 | # Check whether --enable-utmp was given. |
|
|
6689 | if test "${enable_utmp+set}" = set; then : |
|
|
6690 | enableval=$enable_utmp; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6691 | support_utmp=$enableval |
|
|
6692 | fi |
|
|
6693 | fi |
|
|
6694 | |
|
|
6695 | |
|
|
6696 | # Check whether --enable-wtmp was given. |
|
|
6697 | if test "${enable_wtmp+set}" = set; then : |
|
|
6698 | enableval=$enable_wtmp; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6699 | support_wtmp=$enableval |
|
|
6700 | fi |
|
|
6701 | fi |
|
|
6702 | |
|
|
6703 | |
|
|
6704 | # Check whether --enable-lastlog was given. |
|
|
6705 | if test "${enable_lastlog+set}" = set; then : |
|
|
6706 | enableval=$enable_lastlog; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6707 | support_lastlog=$enableval |
|
|
6708 | fi |
|
|
6709 | fi |
|
|
6710 | |
|
|
6711 | |
|
|
6712 | if test x$support_utmp = xyes; then |
|
|
6713 | |
|
|
6714 | $as_echo "#define UTMP_SUPPORT 1" >>confdefs.h |
|
|
6715 | |
|
|
6716 | fi |
|
|
6717 | if test x$support_wtmp = xyes; then |
|
|
6718 | |
|
|
6719 | $as_echo "#define WTMP_SUPPORT 1" >>confdefs.h |
|
|
6720 | |
|
|
6721 | fi |
|
|
6722 | if test x$support_lastlog = xyes; then |
|
|
6723 | |
|
|
6724 | $as_echo "#define LASTLOG_SUPPORT 1" >>confdefs.h |
|
|
6725 | |
|
|
6726 | fi |
|
|
6727 | |
|
|
6728 | for ac_func in \ |
|
|
6729 | updwtmp \ |
|
|
6730 | updwtmpx \ |
|
|
6731 | updlastlogx \ |
|
|
6732 | |
|
|
6733 | do : |
|
|
6734 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
6735 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
6736 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
6737 | cat >>confdefs.h <<_ACEOF |
|
|
6738 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6739 | _ACEOF |
|
|
6740 | |
|
|
6741 | fi |
|
|
6742 | done |
|
|
6743 | |
|
|
6744 | |
|
|
6745 | for ac_header in lastlog.h |
|
|
6746 | do : |
|
|
6747 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
|
|
6748 | if test "x$ac_cv_header_lastlog_h" = xyes; then : |
|
|
6749 | cat >>confdefs.h <<_ACEOF |
|
|
6750 | #define HAVE_LASTLOG_H 1 |
|
|
6751 | _ACEOF |
|
|
6752 | |
|
|
6753 | fi |
|
|
6754 | |
|
|
6755 | done |
|
|
6756 | |
|
|
6757 | |
|
|
6758 | case $host in |
|
|
6759 | *-*-solaris*) |
|
|
6760 | |
|
|
6761 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6762 | |
|
|
6763 | ;; |
|
|
6764 | esac |
|
|
6765 | |
|
|
6766 | |
|
|
6767 | for ac_header in utmp.h |
|
|
6768 | do : |
|
|
6769 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
|
|
6770 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
|
|
6771 | cat >>confdefs.h <<_ACEOF |
|
|
6772 | #define HAVE_UTMP_H 1 |
|
|
6773 | _ACEOF |
|
|
6774 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
|
|
6775 | #include <sys/types.h> |
|
|
6776 | #include <utmp.h> |
|
|
6777 | |
|
|
6778 | " |
|
|
6779 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
|
|
6780 | |
|
|
6781 | cat >>confdefs.h <<_ACEOF |
|
|
6782 | #define HAVE_STRUCT_UTMP 1 |
|
|
6783 | _ACEOF |
|
|
6784 | |
|
|
6785 | |
|
|
6786 | fi |
|
|
6787 | |
|
|
6788 | |
|
|
6789 | |
|
|
6790 | # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES |
|
|
6791 | # ------------------------------------------------------ |
|
|
6792 | # Tries to find if the field MEMBER exists in type AGGR, after including |
|
|
6793 | # INCLUDES, setting cache variable VAR accordingly. |
|
|
6794 | ac_fn_cxx_check_member () |
|
|
6795 | { |
|
|
6796 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
6797 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
|
6798 | $as_echo_n "checking for $2.$3... " >&6; } |
|
|
6799 | if eval \${$4+:} false; then : |
|
|
6800 | $as_echo_n "(cached) " >&6 |
|
|
6801 | else |
|
|
6802 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6803 | /* end confdefs.h. */ |
|
|
6804 | $5 |
|
|
6805 | int |
|
|
6806 | main () |
|
|
6807 | { |
|
|
6808 | static $2 ac_aggr; |
|
|
6809 | if (ac_aggr.$3) |
|
|
6810 | return 0; |
|
|
6811 | ; |
|
|
6812 | return 0; |
|
|
6813 | } |
|
|
6814 | _ACEOF |
|
|
6815 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6816 | eval "$4=yes" |
|
|
6817 | else |
|
|
6818 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6819 | /* end confdefs.h. */ |
|
|
6820 | $5 |
|
|
6821 | int |
|
|
6822 | main () |
|
|
6823 | { |
|
|
6824 | static $2 ac_aggr; |
|
|
6825 | if (sizeof ac_aggr.$3) |
|
|
6826 | return 0; |
|
|
6827 | ; |
|
|
6828 | return 0; |
|
|
6829 | } |
|
|
6830 | _ACEOF |
|
|
6831 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6832 | eval "$4=yes" |
|
|
6833 | else |
|
|
6834 | eval "$4=no" |
|
|
6835 | fi |
|
|
6836 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6837 | fi |
|
|
6838 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6839 | fi |
|
|
6840 | eval ac_res=\$$4 |
|
|
6841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
6842 | $as_echo "$ac_res" >&6; } |
|
|
6843 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
6844 | |
|
|
6845 | } # ac_fn_cxx_check_member |
|
|
6846 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
|
|
6847 | #include <sys/types.h> |
|
|
6848 | #include <utmp.h> |
|
|
6849 | |
|
|
6850 | " |
|
|
6851 | if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then : |
|
|
6852 | |
|
|
6853 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
|
|
6854 | |
|
|
6855 | fi |
|
|
6856 | |
|
|
6857 | |
|
|
6858 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
|
|
6859 | #include <sys/types.h> |
|
|
6860 | #include <utmp.h> |
|
|
6861 | |
|
|
6862 | " |
|
|
6863 | if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then : |
|
|
6864 | |
|
|
6865 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
|
|
6866 | |
|
|
6867 | fi |
|
|
6868 | |
|
|
6869 | |
|
|
6870 | fi |
|
|
6871 | |
|
|
6872 | done |
|
|
6873 | |
|
|
6874 | |
|
|
6875 | for ac_header in utmpx.h |
|
|
6876 | do : |
|
|
6877 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
|
|
6878 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
|
|
6879 | cat >>confdefs.h <<_ACEOF |
|
|
6880 | #define HAVE_UTMPX_H 1 |
|
|
6881 | _ACEOF |
|
|
6882 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
|
|
6883 | #include <sys/types.h> |
|
|
6884 | #include <utmpx.h> |
|
|
6885 | |
|
|
6886 | " |
|
|
6887 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
|
|
6888 | |
|
|
6889 | cat >>confdefs.h <<_ACEOF |
|
|
6890 | #define HAVE_STRUCT_UTMPX 1 |
|
|
6891 | _ACEOF |
|
|
6892 | |
|
|
6893 | |
|
|
6894 | fi |
|
|
6895 | |
|
|
6896 | |
|
|
6897 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
|
|
6898 | #include <sys/types.h> |
|
|
6899 | #include <utmpx.h> |
|
|
6900 | |
|
|
6901 | " |
|
|
6902 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
|
|
6903 | |
|
|
6904 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
|
|
6905 | |
|
|
6906 | fi |
|
|
6907 | |
|
|
6908 | |
|
|
6909 | fi |
|
|
6910 | |
|
|
6911 | done |
|
|
6912 | |
|
|
6913 | ac_fn_cxx_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" " |
|
|
6914 | #include <sys/types.h> |
|
|
6915 | #include <utmp.h> |
|
|
6916 | #ifdef HAVE_LASTLOG_H |
|
|
6917 | #include <lastlog.h> |
|
|
6918 | #endif |
|
|
6919 | |
|
|
6920 | " |
|
|
6921 | if test "x$ac_cv_type_struct_lastlog" = xyes; then : |
|
|
6922 | |
|
|
6923 | cat >>confdefs.h <<_ACEOF |
|
|
6924 | #define HAVE_STRUCT_LASTLOG 1 |
|
|
6925 | _ACEOF |
|
|
6926 | |
|
|
6927 | |
|
|
6928 | fi |
|
|
6929 | |
|
|
6930 | |
|
|
6931 | ac_fn_cxx_check_type "$LINENO" "struct lastlogx" "ac_cv_type_struct_lastlogx" " |
|
|
6932 | #include <sys/types.h> |
|
|
6933 | #include <utmpx.h> |
|
|
6934 | #ifdef HAVE_LASTLOG_H |
|
|
6935 | #include <lastlog.h> |
|
|
6936 | #endif |
|
|
6937 | |
|
|
6938 | " |
|
|
6939 | if test "x$ac_cv_type_struct_lastlogx" = xyes; then : |
|
|
6940 | |
|
|
6941 | cat >>confdefs.h <<_ACEOF |
|
|
6942 | #define HAVE_STRUCT_LASTLOGX 1 |
|
|
6943 | _ACEOF |
|
|
6944 | |
|
|
6945 | |
|
|
6946 | fi |
|
|
6947 | |
|
|
6948 | |
|
|
6949 | |
|
|
6950 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 |
|
|
6951 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
|
|
6952 | if ${pt_cv_path_utmp+:} false; then : |
|
|
6953 | $as_echo_n "(cached) " >&6 |
|
|
6954 | else |
|
|
6955 | |
|
|
6956 | if test "$cross_compiling" != yes; then |
|
|
6957 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
|
|
6958 | if test -f "$file"; then |
|
|
6959 | pt_cv_path_utmp=$file |
|
|
6960 | break |
|
|
6961 | fi |
|
|
6962 | done |
|
|
6963 | fi |
|
|
6964 | fi |
|
|
6965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
|
|
6966 | $as_echo "$pt_cv_path_utmp" >&6; } |
|
|
6967 | if test x$pt_cv_path_utmp != x; then |
|
|
6968 | |
|
|
6969 | cat >>confdefs.h <<_ACEOF |
|
|
6970 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
|
|
6971 | _ACEOF |
|
|
6972 | |
|
|
6973 | elif test "$cross_compiling" = yes; then |
|
|
6974 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5 |
|
|
6975 | $as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} |
|
|
6976 | fi |
|
|
6977 | |
|
|
6978 | |
|
|
6979 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 |
|
|
6980 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
|
|
6981 | if ${pt_cv_path_wtmp+:} false; then : |
|
|
6982 | $as_echo_n "(cached) " >&6 |
|
|
6983 | else |
|
|
6984 | |
|
|
6985 | if test "$cross_compiling" != yes; then |
|
|
6986 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
|
|
6987 | if test -f "$file"; then |
|
|
6988 | pt_cv_path_wtmp=$file |
|
|
6989 | break |
|
|
6990 | fi |
|
|
6991 | done |
|
|
6992 | fi |
|
|
6993 | fi |
|
|
6994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
|
|
6995 | $as_echo "$pt_cv_path_wtmp" >&6; } |
|
|
6996 | if test x$pt_cv_path_wtmp != x; then |
|
|
6997 | |
|
|
6998 | cat >>confdefs.h <<_ACEOF |
|
|
6999 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
|
|
7000 | _ACEOF |
|
|
7001 | |
|
|
7002 | elif test "$cross_compiling" = yes; then |
|
|
7003 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5 |
|
|
7004 | $as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} |
|
|
7005 | fi |
|
|
7006 | |
|
|
7007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 |
|
|
7008 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
|
|
7009 | if ${pt_cv_path_wtmpx+:} false; then : |
|
|
7010 | $as_echo_n "(cached) " >&6 |
|
|
7011 | else |
|
|
7012 | |
|
|
7013 | if test "$cross_compiling" != yes; then |
|
|
7014 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
|
|
7015 | if test -f "$file"; then |
|
|
7016 | pt_cv_path_wtmpx=$file |
|
|
7017 | break |
|
|
7018 | fi |
|
|
7019 | done |
|
|
7020 | fi |
|
|
7021 | fi |
|
|
7022 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
|
|
7023 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
|
|
7024 | if test x$pt_cv_path_wtmpx != x; then |
|
|
7025 | |
|
|
7026 | cat >>confdefs.h <<_ACEOF |
|
|
7027 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
|
|
7028 | _ACEOF |
|
|
7029 | |
|
|
7030 | elif test "$cross_compiling" = yes; then |
|
|
7031 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5 |
|
|
7032 | $as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} |
|
|
7033 | fi |
|
|
7034 | |
|
|
7035 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 |
|
|
7036 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
|
|
7037 | if ${pt_cv_path_lastlog+:} false; then : |
|
|
7038 | $as_echo_n "(cached) " >&6 |
|
|
7039 | else |
|
|
7040 | |
|
|
7041 | if test "$cross_compiling" != yes; then |
|
|
7042 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
|
|
7043 | if test -f "$file"; then |
|
|
7044 | pt_cv_path_lastlog=$file |
|
|
7045 | break |
|
|
7046 | fi |
|
|
7047 | done |
|
|
7048 | fi |
|
|
7049 | fi |
|
|
7050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
|
|
7051 | $as_echo "$pt_cv_path_lastlog" >&6; } |
|
|
7052 | if test x$pt_cv_path_lastlog != x; then |
|
|
7053 | |
|
|
7054 | cat >>confdefs.h <<_ACEOF |
|
|
7055 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
|
|
7056 | _ACEOF |
|
|
7057 | |
|
|
7058 | elif test "$cross_compiling" = yes; then |
|
|
7059 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5 |
|
|
7060 | $as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} |
|
|
7061 | fi |
|
|
7062 | |
|
|
7063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 |
|
|
7064 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
|
|
7065 | if ${pt_cv_path_lastlogx+:} false; then : |
|
|
7066 | $as_echo_n "(cached) " >&6 |
|
|
7067 | else |
|
|
7068 | |
|
|
7069 | if test "$cross_compiling" != yes; then |
|
|
7070 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
|
|
7071 | if test -f "$file"; then |
|
|
7072 | pt_cv_path_lastlogx=$file |
|
|
7073 | break |
|
|
7074 | fi |
|
|
7075 | done |
|
|
7076 | fi |
|
|
7077 | fi |
|
|
7078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
|
|
7079 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
|
|
7080 | if test x$pt_cv_path_lastlogx != x; then |
|
|
7081 | |
|
|
7082 | cat >>confdefs.h <<_ACEOF |
|
|
7083 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
|
|
7084 | _ACEOF |
|
|
7085 | |
|
|
7086 | elif test "$cross_compiling" = yes; then |
|
|
7087 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
7088 | $as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;} |
|
|
7089 | fi |
|
|
7090 | |
|
|
7091 | |
|
|
7092 | |
|
|
7093 | |
|
|
7094 | save_LIBS=$LIBS |
7410 | save_LIBS="$LIBS" |
7095 | save_CFLAGS=$CFLAGS |
7411 | LIBS="$LIBS $X_LIBS" |
7096 | CFLAGS="$CFLAGS $X_CFLAGS" |
7412 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7097 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7413 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
7098 | if test x$support_xim = xyes; then |
|
|
7099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
|
|
7100 | $as_echo_n "checking for working Xlocale... " >&6; } |
|
|
7101 | if ${rxvt_cv_func_xlocale+:} false; then : |
|
|
7102 | $as_echo_n "(cached) " >&6 |
|
|
7103 | else |
|
|
7104 | if test "$cross_compiling" = yes; then : |
|
|
7105 | : |
|
|
7106 | else |
|
|
7107 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7108 | /* end confdefs.h. */ |
|
|
7109 | |
7414 | |
7110 | #include <X11/Xlib.h> |
|
|
7111 | #include <stdlib.h> |
|
|
7112 | int main() { |
|
|
7113 | char *p; |
|
|
7114 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
|
|
7115 | exit (XSupportsLocale() ? 0 : 1); |
|
|
7116 | else |
|
|
7117 | exit (1); |
|
|
7118 | } |
|
|
7119 | |
|
|
7120 | _ACEOF |
|
|
7121 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7122 | rxvt_cv_func_xlocale=yes |
|
|
7123 | else |
|
|
7124 | rxvt_cv_func_xlocale=no |
|
|
7125 | fi |
|
|
7126 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7127 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7128 | fi |
|
|
7129 | |
|
|
7130 | fi |
|
|
7131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_xlocale" >&5 |
|
|
7132 | $as_echo "$rxvt_cv_func_xlocale" >&6; } |
|
|
7133 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
7134 | |
|
|
7135 | $as_echo "#define USE_XIM 1" >>confdefs.h |
|
|
7136 | |
|
|
7137 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
|
|
7138 | $as_echo_n "checking for broken XIM callback... " >&6; } |
|
|
7139 | if ${rxvt_cv_broken_ximcb+:} false; then : |
|
|
7140 | $as_echo_n "(cached) " >&6 |
|
|
7141 | else |
|
|
7142 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7143 | /* end confdefs.h. */ |
|
|
7144 | |
|
|
7145 | #include <X11/Xlib.h> |
|
|
7146 | |
|
|
7147 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
7148 | |
|
|
7149 | void f() { |
|
|
7150 | XIMCallback cb; |
|
|
7151 | cb.callback = im_destroy_cb; |
|
|
7152 | } |
|
|
7153 | |
|
|
7154 | _ACEOF |
|
|
7155 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
7156 | rxvt_cv_broken_ximcb=yes |
|
|
7157 | else |
|
|
7158 | rxvt_cv_broken_ximcb=no |
|
|
7159 | fi |
|
|
7160 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7161 | fi |
|
|
7162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_broken_ximcb" >&5 |
|
|
7163 | $as_echo "$rxvt_cv_broken_ximcb" >&6; } |
|
|
7164 | |
|
|
7165 | if test x$rxvt_cv_broken_ximcb = xyes; then |
|
|
7166 | |
|
|
7167 | $as_echo "#define XIMCB_PROTO_BROKEN 1" >>confdefs.h |
|
|
7168 | |
|
|
7169 | fi |
|
|
7170 | fi |
|
|
7171 | fi |
|
|
7172 | |
|
|
7173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
|
|
7174 | $as_echo_n "checking for working X setlocale... " >&6; } |
|
|
7175 | if ${rxvt_cv_func_xsetlocale+:} false; then : |
|
|
7176 | $as_echo_n "(cached) " >&6 |
|
|
7177 | else |
|
|
7178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7179 | /* end confdefs.h. */ |
|
|
7180 | #define X_LOCALE 1 |
|
|
7181 | #include <X11/Xlocale.h> |
|
|
7182 | int |
|
|
7183 | main () |
|
|
7184 | { |
|
|
7185 | setlocale(LC_CTYPE, ""); |
|
|
7186 | ; |
|
|
7187 | return 0; |
|
|
7188 | } |
|
|
7189 | _ACEOF |
|
|
7190 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7191 | rxvt_cv_func_xsetlocale=yes |
|
|
7192 | else |
|
|
7193 | rxvt_cv_func_xsetlocale=no |
|
|
7194 | fi |
|
|
7195 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7196 | conftest$ac_exeext conftest.$ac_ext |
|
|
7197 | fi |
|
|
7198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_xsetlocale" >&5 |
|
|
7199 | $as_echo "$rxvt_cv_func_xsetlocale" >&6; } |
|
|
7200 | if test x$rxvt_cv_func_xsetlocale = xyes; then |
|
|
7201 | |
|
|
7202 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
|
|
7203 | |
|
|
7204 | fi |
|
|
7205 | LIBS=$save_LIBS |
|
|
7206 | CFLAGS=$save_CFLAGS |
|
|
7207 | |
|
|
7208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 |
|
|
7209 | $as_echo_n "checking for working plain setlocale... " >&6; } |
|
|
7210 | if ${rxvt_cv_func_setlocale+:} false; then : |
|
|
7211 | $as_echo_n "(cached) " >&6 |
|
|
7212 | else |
|
|
7213 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7214 | /* end confdefs.h. */ |
|
|
7215 | #include <clocale> |
|
|
7216 | int |
|
|
7217 | main () |
|
|
7218 | { |
|
|
7219 | setlocale(LC_CTYPE, ""); |
|
|
7220 | ; |
|
|
7221 | return 0; |
|
|
7222 | } |
|
|
7223 | _ACEOF |
|
|
7224 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7225 | rxvt_cv_func_setlocale=yes |
|
|
7226 | else |
|
|
7227 | rxvt_cv_func_setlocale=no |
|
|
7228 | fi |
|
|
7229 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7230 | conftest$ac_exeext conftest.$ac_ext |
|
|
7231 | fi |
|
|
7232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5 |
|
|
7233 | $as_echo "$rxvt_cv_func_setlocale" >&6; } |
|
|
7234 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
7235 | |
|
|
7236 | $as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h |
|
|
7237 | |
|
|
7238 | fi |
|
|
7239 | |
|
|
7240 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
|
|
7241 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
|
|
7242 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
|
|
7243 | $as_echo_n "(cached) " >&6 |
|
|
7244 | else |
|
|
7245 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7246 | /* end confdefs.h. */ |
|
|
7247 | #include <langinfo.h> |
|
|
7248 | int |
|
|
7249 | main () |
|
|
7250 | { |
|
|
7251 | nl_langinfo(CODESET); |
|
|
7252 | ; |
|
|
7253 | return 0; |
|
|
7254 | } |
|
|
7255 | _ACEOF |
|
|
7256 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7257 | rxvt_cv_func_nl_langinfo=yes |
|
|
7258 | else |
|
|
7259 | rxvt_cv_func_nl_langinfo=no |
|
|
7260 | fi |
|
|
7261 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7262 | conftest$ac_exeext conftest.$ac_ext |
|
|
7263 | fi |
|
|
7264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_nl_langinfo" >&5 |
|
|
7265 | $as_echo "$rxvt_cv_func_nl_langinfo" >&6; } |
|
|
7266 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
|
|
7267 | |
|
|
7268 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
|
|
7269 | |
|
|
7270 | fi |
|
|
7271 | |
|
|
7272 | |
|
|
7273 | case $host in |
|
|
7274 | *-*-solaris*) |
|
|
7275 | |
|
|
7276 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
7277 | |
|
|
7278 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
|
|
7279 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
|
|
7280 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7281 | $as_echo_n "(cached) " >&6 |
|
|
7282 | else |
|
|
7283 | ac_func_search_save_LIBS=$LIBS |
|
|
7284 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7285 | /* end confdefs.h. */ |
|
|
7286 | |
|
|
7287 | /* Override any GCC internal prototype to avoid an error. |
|
|
7288 | Use char because int might match the return type of a GCC |
|
|
7289 | builtin and then its argument prototype would still apply. */ |
|
|
7290 | #ifdef __cplusplus |
|
|
7291 | extern "C" |
|
|
7292 | #endif |
|
|
7293 | char sendmsg (); |
|
|
7294 | int |
|
|
7295 | main () |
|
|
7296 | { |
|
|
7297 | return sendmsg (); |
|
|
7298 | ; |
|
|
7299 | return 0; |
|
|
7300 | } |
|
|
7301 | _ACEOF |
|
|
7302 | for ac_lib in '' socket; do |
|
|
7303 | if test -z "$ac_lib"; then |
|
|
7304 | ac_res="none required" |
|
|
7305 | else |
7415 | else |
7306 | ac_res=-l$ac_lib |
|
|
7307 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7308 | fi |
|
|
7309 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7310 | ac_cv_search_sendmsg=$ac_res |
|
|
7311 | fi |
|
|
7312 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7313 | conftest$ac_exeext |
|
|
7314 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7315 | break |
|
|
7316 | fi |
|
|
7317 | done |
|
|
7318 | if ${ac_cv_search_sendmsg+:} false; then : |
|
|
7319 | |
|
|
7320 | else |
|
|
7321 | ac_cv_search_sendmsg=no |
|
|
7322 | fi |
|
|
7323 | rm conftest.$ac_ext |
|
|
7324 | LIBS=$ac_func_search_save_LIBS |
|
|
7325 | fi |
|
|
7326 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 |
|
|
7327 | $as_echo "$ac_cv_search_sendmsg" >&6; } |
|
|
7328 | ac_res=$ac_cv_search_sendmsg |
|
|
7329 | if test "$ac_res" != no; then : |
|
|
7330 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7331 | |
|
|
7332 | fi |
|
|
7333 | |
|
|
7334 | ;; |
|
|
7335 | esac |
|
|
7336 | |
|
|
7337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
|
|
7338 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
|
|
7339 | if ${pt_cv_can_pass_fds+:} false; then : |
|
|
7340 | $as_echo_n "(cached) " >&6 |
|
|
7341 | else |
|
|
7342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7343 | /* end confdefs.h. */ |
|
|
7344 | |
|
|
7345 | #include <cstddef> // broken bsds (is that redundant?) need this |
|
|
7346 | #include <sys/types.h> |
|
|
7347 | #include <sys/socket.h> |
|
|
7348 | #include <sys/uio.h> |
|
|
7349 | |
|
|
7350 | int |
|
|
7351 | main () |
|
|
7352 | { |
|
|
7353 | |
|
|
7354 | { |
|
|
7355 | msghdr msg; |
|
|
7356 | iovec iov; |
|
|
7357 | char buf [100]; |
|
|
7358 | char data = 0; |
|
|
7359 | |
|
|
7360 | iov.iov_base = &data; |
|
|
7361 | iov.iov_len = 1; |
|
|
7362 | |
|
|
7363 | msg.msg_iov = &iov; |
|
|
7364 | msg.msg_iovlen = 1; |
|
|
7365 | msg.msg_control = buf; |
|
|
7366 | msg.msg_controllen = sizeof buf; |
|
|
7367 | |
|
|
7368 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
7369 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
7370 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
7371 | cmsg->cmsg_len = 100; |
|
|
7372 | |
|
|
7373 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
7374 | |
|
|
7375 | return sendmsg (3, &msg, 0); |
|
|
7376 | } |
|
|
7377 | |
|
|
7378 | ; |
|
|
7379 | return 0; |
|
|
7380 | } |
|
|
7381 | _ACEOF |
|
|
7382 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7383 | pt_cv_can_pass_fds=yes |
|
|
7384 | else |
|
|
7385 | pt_cv_can_pass_fds=no |
|
|
7386 | fi |
|
|
7387 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7388 | conftest$ac_exeext conftest.$ac_ext |
|
|
7389 | fi |
|
|
7390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_can_pass_fds" >&5 |
|
|
7391 | $as_echo "$pt_cv_can_pass_fds" >&6; } |
|
|
7392 | if test x$pt_cv_can_pass_fds = xyes; then |
|
|
7393 | |
|
|
7394 | $as_echo "#define HAVE_UNIX_FDPASS 1" >>confdefs.h |
|
|
7395 | |
|
|
7396 | else |
|
|
7397 | as_fn_error $? "libptytty requires unix-compliant filehandle passing ability" "$LINENO" 5 |
|
|
7398 | fi |
|
|
7399 | |
|
|
7400 | |
|
|
7401 | |
|
|
7402 | for ac_header in \ |
|
|
7403 | pty.h \ |
|
|
7404 | util.h \ |
|
|
7405 | libutil.h \ |
|
|
7406 | sys/ioctl.h \ |
|
|
7407 | sys/stropts.h \ |
|
|
7408 | stropts.h \ |
|
|
7409 | |
|
|
7410 | do : |
|
|
7411 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7412 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
7413 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
7414 | cat >>confdefs.h <<_ACEOF |
|
|
7415 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7416 | _ACEOF |
|
|
7417 | |
|
|
7418 | fi |
|
|
7419 | |
|
|
7420 | done |
|
|
7421 | |
|
|
7422 | |
|
|
7423 | for ac_func in \ |
|
|
7424 | revoke \ |
|
|
7425 | _getpty \ |
|
|
7426 | getpt \ |
|
|
7427 | posix_openpt \ |
|
|
7428 | isastream \ |
|
|
7429 | setuid \ |
|
|
7430 | seteuid \ |
|
|
7431 | setreuid \ |
|
|
7432 | setresuid \ |
|
|
7433 | |
|
|
7434 | do : |
|
|
7435 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7436 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7437 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7438 | cat >>confdefs.h <<_ACEOF |
|
|
7439 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7440 | _ACEOF |
|
|
7441 | |
|
|
7442 | fi |
|
|
7443 | done |
|
|
7444 | |
|
|
7445 | |
|
|
7446 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
|
|
7447 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
|
|
7448 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7449 | /* end confdefs.h. */ |
|
|
7450 | #include <stdlib.h> |
|
|
7451 | int |
|
|
7452 | main () |
|
|
7453 | { |
|
|
7454 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
7455 | ; |
|
|
7456 | return 0; |
|
|
7457 | } |
|
|
7458 | _ACEOF |
|
|
7459 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7460 | unix98_pty=yes |
|
|
7461 | |
|
|
7462 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
|
|
7463 | |
|
|
7464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
7465 | $as_echo "yes" >&6; } |
|
|
7466 | else |
|
|
7467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7468 | $as_echo "no" >&6; } |
|
|
7469 | fi |
|
|
7470 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7471 | conftest$ac_exeext conftest.$ac_ext |
|
|
7472 | |
|
|
7473 | if test -z "$unix98_pty"; then |
|
|
7474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
|
|
7475 | $as_echo_n "checking for library containing openpty... " >&6; } |
|
|
7476 | if ${ac_cv_search_openpty+:} false; then : |
|
|
7477 | $as_echo_n "(cached) " >&6 |
|
|
7478 | else |
|
|
7479 | ac_func_search_save_LIBS=$LIBS |
|
|
7480 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7481 | /* end confdefs.h. */ |
|
|
7482 | |
|
|
7483 | /* Override any GCC internal prototype to avoid an error. |
|
|
7484 | Use char because int might match the return type of a GCC |
|
|
7485 | builtin and then its argument prototype would still apply. */ |
|
|
7486 | #ifdef __cplusplus |
|
|
7487 | extern "C" |
|
|
7488 | #endif |
|
|
7489 | char openpty (); |
|
|
7490 | int |
|
|
7491 | main () |
|
|
7492 | { |
|
|
7493 | return openpty (); |
|
|
7494 | ; |
|
|
7495 | return 0; |
|
|
7496 | } |
|
|
7497 | _ACEOF |
|
|
7498 | for ac_lib in '' util; do |
|
|
7499 | if test -z "$ac_lib"; then |
|
|
7500 | ac_res="none required" |
|
|
7501 | else |
|
|
7502 | ac_res=-l$ac_lib |
|
|
7503 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7504 | fi |
|
|
7505 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7506 | ac_cv_search_openpty=$ac_res |
|
|
7507 | fi |
|
|
7508 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7509 | conftest$ac_exeext |
|
|
7510 | if ${ac_cv_search_openpty+:} false; then : |
|
|
7511 | break |
|
|
7512 | fi |
|
|
7513 | done |
|
|
7514 | if ${ac_cv_search_openpty+:} false; then : |
|
|
7515 | |
|
|
7516 | else |
|
|
7517 | ac_cv_search_openpty=no |
|
|
7518 | fi |
|
|
7519 | rm conftest.$ac_ext |
|
|
7520 | LIBS=$ac_func_search_save_LIBS |
|
|
7521 | fi |
|
|
7522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 |
|
|
7523 | $as_echo "$ac_cv_search_openpty" >&6; } |
|
|
7524 | ac_res=$ac_cv_search_openpty |
|
|
7525 | if test "$ac_res" != no; then : |
|
|
7526 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7527 | |
|
|
7528 | $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h |
|
|
7529 | |
|
|
7530 | fi |
|
|
7531 | |
|
|
7532 | fi |
|
|
7533 | |
|
|
7534 | |
|
|
7535 | |
|
|
7536 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
|
|
7537 | $as_echo_n "checking for tty group... " >&6; } |
|
|
7538 | if ${pt_cv_tty_group+:} false; then : |
|
|
7539 | $as_echo_n "(cached) " >&6 |
|
|
7540 | else |
|
|
7541 | if test "$cross_compiling" = yes; then : |
|
|
7542 | pt_cv_tty_group=no |
|
|
7543 | else |
|
|
7544 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7545 | /* end confdefs.h. */ |
|
|
7546 | |
|
|
7547 | #include <sys/types.h> |
|
|
7548 | #include <sys/stat.h> |
|
|
7549 | #include <unistd.h> |
|
|
7550 | #include <grp.h> |
|
|
7551 | |
|
|
7552 | int main() |
|
|
7553 | { |
|
|
7554 | struct stat st; |
|
|
7555 | struct group *gr; |
|
|
7556 | char *tty; |
|
|
7557 | gr = getgrnam("tty"); |
|
|
7558 | tty = ttyname(0); |
|
|
7559 | if (gr != 0 |
|
|
7560 | && tty != 0 |
|
|
7561 | && (stat(tty, &st)) == 0 |
|
|
7562 | && st.st_gid == gr->gr_gid) |
|
|
7563 | return 0; |
|
|
7564 | else |
|
|
7565 | return 1; |
|
|
7566 | } |
|
|
7567 | _ACEOF |
|
|
7568 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7569 | pt_cv_tty_group=yes |
|
|
7570 | else |
|
|
7571 | pt_cv_tty_group=no |
|
|
7572 | fi |
|
|
7573 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7574 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7575 | fi |
|
|
7576 | |
|
|
7577 | fi |
|
|
7578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_tty_group" >&5 |
|
|
7579 | $as_echo "$pt_cv_tty_group" >&6; } |
|
|
7580 | if test x$pt_cv_tty_group = xyes; then |
|
|
7581 | |
|
|
7582 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
|
|
7583 | |
|
|
7584 | fi |
|
|
7585 | |
|
|
7586 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
|
|
7587 | rxvt_have_xrender=no |
7416 | rxvt_have_xrender=no |
|
|
7417 | fi |
|
|
7418 | |
|
|
7419 | |
|
|
7420 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
|
|
7421 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
|
|
7422 | |
|
|
7423 | else |
|
|
7424 | rxvt_have_xrender=no |
|
|
7425 | fi |
|
|
7426 | |
|
|
7427 | LIBS="$save_LIBS" |
|
|
7428 | fi |
|
|
7429 | fi |
|
|
7430 | |
|
|
7431 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7588 | # 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. |
7589 | set dummy pkg-config; ac_word=$2 |
7433 | set dummy pkg-config; ac_word=$2 |
7590 | { $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 |
7591 | $as_echo_n "checking for $ac_word... " >&6; } |
7435 | $as_echo_n "checking for $ac_word... " >&6; } |
7592 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7436 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7593 | $as_echo_n "(cached) " >&6 |
7437 | $as_echo_n "(cached) " >&6 |
7594 | else |
7438 | else |
7595 | case $PKG_CONFIG in |
7439 | case $PKG_CONFIG in |
7596 | [\\/]* | ?:[\\/]*) |
7440 | [\\/]* | ?:[\\/]*) |
7597 | 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. |
… | |
… | |
7624 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7468 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7625 | $as_echo "no" >&6; } |
7469 | $as_echo "no" >&6; } |
7626 | fi |
7470 | fi |
7627 | |
7471 | |
7628 | |
7472 | |
7629 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
7473 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
7630 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
7474 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
7631 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
7475 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
7632 | rxvt_have_xrender=yes |
7476 | else |
|
|
7477 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
7478 | set dummy xft-config; ac_word=$2 |
|
|
7479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
7480 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
7481 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then : |
|
|
7482 | $as_echo_n "(cached) " >&6 |
|
|
7483 | else |
|
|
7484 | case $XFT_CONFIG in |
|
|
7485 | [\\/]* | ?:[\\/]*) |
|
|
7486 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
7487 | ;; |
|
|
7488 | *) |
|
|
7489 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7490 | for as_dir in $PATH |
|
|
7491 | do |
|
|
7492 | IFS=$as_save_IFS |
|
|
7493 | test -z "$as_dir" && as_dir=. |
|
|
7494 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7495 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7496 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7497 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7498 | break 2 |
|
|
7499 | fi |
|
|
7500 | done |
|
|
7501 | done |
|
|
7502 | IFS=$as_save_IFS |
7633 | |
7503 | |
|
|
7504 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
7505 | ;; |
|
|
7506 | esac |
|
|
7507 | fi |
|
|
7508 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
7509 | if test -n "$XFT_CONFIG"; then |
|
|
7510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CONFIG" >&5 |
|
|
7511 | $as_echo "$XFT_CONFIG" >&6; } |
|
|
7512 | else |
|
|
7513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7514 | $as_echo "no" >&6; } |
|
|
7515 | fi |
|
|
7516 | |
|
|
7517 | |
|
|
7518 | if test $XFT_CONFIG != no; then |
|
|
7519 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
|
|
7520 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
7521 | fi |
|
|
7522 | fi |
|
|
7523 | |
|
|
7524 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then |
|
|
7525 | X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS" |
|
|
7526 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
|
|
7527 | fi |
|
|
7528 | |
7634 | save_LIBS="$LIBS" |
7529 | save_LIBS="$LIBS" |
7635 | LIBS="$LIBS $X_LIBS" |
7530 | LIBS="$LIBS $X_LIBS" |
|
|
7531 | for ac_header in X11/Xft/Xft.h |
|
|
7532 | do : |
7636 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_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" |
7637 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then : |
7534 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : |
|
|
7535 | cat >>confdefs.h <<_ACEOF |
|
|
7536 | #define HAVE_X11_XFT_XFT_H 1 |
|
|
7537 | _ACEOF |
7638 | |
7538 | |
7639 | else |
7539 | else |
7640 | rxvt_have_xrender=no |
7540 | support_xft=no |
7641 | fi |
7541 | fi |
7642 | |
7542 | |
|
|
7543 | done |
7643 | |
7544 | |
7644 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
7545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7645 | if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then : |
7546 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7646 | |
7547 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then : |
|
|
7548 | $as_echo_n "(cached) " >&6 |
7647 | else |
7549 | else |
7648 | rxvt_have_xrender=no |
7550 | ac_check_lib_save_LIBS=$LIBS |
7649 | fi |
7551 | LIBS="-lXft $LIBS" |
|
|
7552 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7553 | /* end confdefs.h. */ |
7650 | |
7554 | |
|
|
7555 | /* Override any GCC internal prototype to avoid an error. |
|
|
7556 | Use char because int might match the return type of a GCC |
|
|
7557 | builtin and then its argument prototype would still apply. */ |
|
|
7558 | #ifdef __cplusplus |
|
|
7559 | extern "C" |
|
|
7560 | #endif |
|
|
7561 | char XftDrawString32 (); |
|
|
7562 | int |
|
|
7563 | main () |
|
|
7564 | { |
|
|
7565 | return XftDrawString32 (); |
|
|
7566 | ; |
|
|
7567 | return 0; |
|
|
7568 | } |
|
|
7569 | _ACEOF |
|
|
7570 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7571 | ac_cv_lib_Xft_XftDrawString32=yes |
|
|
7572 | else |
|
|
7573 | ac_cv_lib_Xft_XftDrawString32=no |
|
|
7574 | fi |
|
|
7575 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7576 | conftest$ac_exeext conftest.$ac_ext |
|
|
7577 | LIBS=$ac_check_lib_save_LIBS |
|
|
7578 | fi |
|
|
7579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
|
|
7580 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
|
|
7581 | if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then : |
|
|
7582 | : |
|
|
7583 | else |
|
|
7584 | support_xft=no |
|
|
7585 | fi |
|
|
7586 | |
|
|
7587 | for ac_header in fontconfig/fontconfig.h |
|
|
7588 | do : |
|
|
7589 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
|
|
7590 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then : |
|
|
7591 | cat >>confdefs.h <<_ACEOF |
|
|
7592 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
|
|
7593 | _ACEOF |
|
|
7594 | |
|
|
7595 | else |
|
|
7596 | support_xft=no |
|
|
7597 | fi |
|
|
7598 | |
|
|
7599 | done |
|
|
7600 | |
|
|
7601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
|
|
7602 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
|
|
7603 | if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then : |
|
|
7604 | $as_echo_n "(cached) " >&6 |
|
|
7605 | else |
|
|
7606 | ac_check_lib_save_LIBS=$LIBS |
|
|
7607 | LIBS="-lfontconfig $LIBS" |
|
|
7608 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7609 | /* end confdefs.h. */ |
|
|
7610 | |
|
|
7611 | /* Override any GCC internal prototype to avoid an error. |
|
|
7612 | Use char because int might match the return type of a GCC |
|
|
7613 | builtin and then its argument prototype would still apply. */ |
|
|
7614 | #ifdef __cplusplus |
|
|
7615 | extern "C" |
|
|
7616 | #endif |
|
|
7617 | char FcPatternGet (); |
|
|
7618 | int |
|
|
7619 | main () |
|
|
7620 | { |
|
|
7621 | return FcPatternGet (); |
|
|
7622 | ; |
|
|
7623 | return 0; |
|
|
7624 | } |
|
|
7625 | _ACEOF |
|
|
7626 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7627 | ac_cv_lib_fontconfig_FcPatternGet=yes |
|
|
7628 | else |
|
|
7629 | ac_cv_lib_fontconfig_FcPatternGet=no |
|
|
7630 | fi |
|
|
7631 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7632 | conftest$ac_exeext conftest.$ac_ext |
|
|
7633 | LIBS=$ac_check_lib_save_LIBS |
|
|
7634 | fi |
|
|
7635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
|
|
7636 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
|
|
7637 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then : |
|
|
7638 | : |
|
|
7639 | else |
|
|
7640 | support_xft=no |
|
|
7641 | fi |
|
|
7642 | |
7651 | LIBS="$save_LIBS" |
7643 | LIBS="$save_LIBS" |
7652 | fi |
|
|
7653 | fi |
|
|
7654 | |
7644 | |
|
|
7645 | if test x$support_xft = xyes; then |
|
|
7646 | |
|
|
7647 | $as_echo "#define XFT 1" >>confdefs.h |
|
|
7648 | |
|
|
7649 | fi |
|
|
7650 | fi |
|
|
7651 | |
|
|
7652 | image_lib=none |
|
|
7653 | |
|
|
7654 | PIXBUF_CFLAGS= |
|
|
7655 | PIXBUF_LIBS= |
|
|
7656 | |
7655 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
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 |
7656 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7671 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7657 | set dummy pkg-config; ac_word=$2 |
7672 | set dummy pkg-config; ac_word=$2 |
7658 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7673 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7659 | $as_echo_n "checking for $ac_word... " >&6; } |
7674 | $as_echo_n "checking for $ac_word... " >&6; } |
7660 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7675 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7661 | $as_echo_n "(cached) " >&6 |
7676 | $as_echo_n "(cached) " >&6 |
7662 | else |
7677 | else |
7663 | case $PKG_CONFIG in |
7678 | case $PKG_CONFIG in |
7664 | [\\/]* | ?:[\\/]*) |
7679 | [\\/]* | ?:[\\/]*) |
7665 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7680 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7692 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7707 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7693 | $as_echo "no" >&6; } |
7708 | $as_echo "no" >&6; } |
7694 | fi |
7709 | fi |
7695 | |
7710 | |
7696 | |
7711 | |
|
|
7712 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
|
|
7713 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
7697 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
7714 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
7698 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
7715 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
7699 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
7716 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
7700 | else |
7717 | support_pixbuf=yes |
7701 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
7702 | set dummy xft-config; ac_word=$2 |
|
|
7703 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
7704 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
7705 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
|
|
7706 | $as_echo_n "(cached) " >&6 |
|
|
7707 | else |
|
|
7708 | case $XFT_CONFIG in |
|
|
7709 | [\\/]* | ?:[\\/]*) |
|
|
7710 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
7711 | ;; |
|
|
7712 | *) |
|
|
7713 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7714 | for as_dir in $PATH |
|
|
7715 | do |
|
|
7716 | IFS=$as_save_IFS |
|
|
7717 | test -z "$as_dir" && as_dir=. |
|
|
7718 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7719 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7720 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7721 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7722 | break 2 |
|
|
7723 | fi |
7718 | fi |
7724 | done |
|
|
7725 | done |
|
|
7726 | IFS=$as_save_IFS |
|
|
7727 | |
7719 | |
7728 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
7720 | if test x$support_pixbuf = xyes; then |
7729 | ;; |
|
|
7730 | esac |
|
|
7731 | fi |
|
|
7732 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
7733 | if test -n "$XFT_CONFIG"; then |
|
|
7734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CONFIG" >&5 |
7721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
7735 | $as_echo "$XFT_CONFIG" >&6; } |
7722 | $as_echo "ok" >&6; } |
7736 | else |
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 |
7737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7738 | $as_echo "no" >&6; } |
7732 | $as_echo "no" >&6; } |
7739 | fi |
|
|
7740 | |
|
|
7741 | |
|
|
7742 | if test $XFT_CONFIG != no; then |
|
|
7743 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
|
|
7744 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
7745 | fi |
7733 | fi |
7746 | fi |
7734 | fi |
7747 | |
|
|
7748 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then |
|
|
7749 | X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS" |
|
|
7750 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
|
|
7751 | fi |
|
|
7752 | |
|
|
7753 | save_LIBS="$LIBS" |
|
|
7754 | LIBS="$LIBS $X_LIBS" |
|
|
7755 | for ac_header in X11/Xft/Xft.h |
|
|
7756 | do : |
|
|
7757 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
|
|
7758 | if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : |
|
|
7759 | cat >>confdefs.h <<_ACEOF |
|
|
7760 | #define HAVE_X11_XFT_XFT_H 1 |
|
|
7761 | _ACEOF |
|
|
7762 | |
|
|
7763 | else |
|
|
7764 | support_xft=no |
|
|
7765 | fi |
7735 | fi |
7766 | |
7736 | |
7767 | done |
|
|
7768 | |
7737 | |
7769 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
|
|
7770 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
|
|
7771 | if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : |
|
|
7772 | $as_echo_n "(cached) " >&6 |
|
|
7773 | else |
|
|
7774 | ac_check_lib_save_LIBS=$LIBS |
|
|
7775 | LIBS="-lXft $LIBS" |
|
|
7776 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7777 | /* end confdefs.h. */ |
|
|
7778 | |
7738 | |
7779 | /* Override any GCC internal prototype to avoid an error. |
|
|
7780 | Use char because int might match the return type of a GCC |
|
|
7781 | builtin and then its argument prototype would still apply. */ |
|
|
7782 | #ifdef __cplusplus |
|
|
7783 | extern "C" |
|
|
7784 | #endif |
|
|
7785 | char XftDrawString32 (); |
|
|
7786 | int |
|
|
7787 | main () |
|
|
7788 | { |
|
|
7789 | return XftDrawString32 (); |
|
|
7790 | ; |
|
|
7791 | return 0; |
|
|
7792 | } |
|
|
7793 | _ACEOF |
|
|
7794 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7795 | ac_cv_lib_Xft_XftDrawString32=yes |
|
|
7796 | else |
|
|
7797 | ac_cv_lib_Xft_XftDrawString32=no |
|
|
7798 | fi |
|
|
7799 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7800 | conftest$ac_exeext conftest.$ac_ext |
|
|
7801 | LIBS=$ac_check_lib_save_LIBS |
|
|
7802 | fi |
|
|
7803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
|
|
7804 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
|
|
7805 | if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : |
|
|
7806 | : |
|
|
7807 | else |
|
|
7808 | support_xft=no |
|
|
7809 | fi |
|
|
7810 | |
7739 | |
7811 | for ac_header in fontconfig/fontconfig.h |
|
|
7812 | do : |
|
|
7813 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
|
|
7814 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : |
|
|
7815 | cat >>confdefs.h <<_ACEOF |
|
|
7816 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
|
|
7817 | _ACEOF |
|
|
7818 | |
|
|
7819 | else |
|
|
7820 | support_xft=no |
|
|
7821 | fi |
|
|
7822 | |
|
|
7823 | done |
|
|
7824 | |
|
|
7825 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
|
|
7826 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
|
|
7827 | if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : |
|
|
7828 | $as_echo_n "(cached) " >&6 |
|
|
7829 | else |
|
|
7830 | ac_check_lib_save_LIBS=$LIBS |
|
|
7831 | LIBS="-lfontconfig $LIBS" |
|
|
7832 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7833 | /* end confdefs.h. */ |
|
|
7834 | |
|
|
7835 | /* Override any GCC internal prototype to avoid an error. |
|
|
7836 | Use char because int might match the return type of a GCC |
|
|
7837 | builtin and then its argument prototype would still apply. */ |
|
|
7838 | #ifdef __cplusplus |
|
|
7839 | extern "C" |
|
|
7840 | #endif |
|
|
7841 | char FcPatternGet (); |
|
|
7842 | int |
|
|
7843 | main () |
|
|
7844 | { |
|
|
7845 | return FcPatternGet (); |
|
|
7846 | ; |
|
|
7847 | return 0; |
|
|
7848 | } |
|
|
7849 | _ACEOF |
|
|
7850 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7851 | ac_cv_lib_fontconfig_FcPatternGet=yes |
|
|
7852 | else |
|
|
7853 | ac_cv_lib_fontconfig_FcPatternGet=no |
|
|
7854 | fi |
|
|
7855 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7856 | conftest$ac_exeext conftest.$ac_ext |
|
|
7857 | LIBS=$ac_check_lib_save_LIBS |
|
|
7858 | fi |
|
|
7859 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
|
|
7860 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
|
|
7861 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : |
|
|
7862 | : |
|
|
7863 | else |
|
|
7864 | support_xft=no |
|
|
7865 | fi |
|
|
7866 | |
|
|
7867 | LIBS="$save_LIBS" |
|
|
7868 | |
|
|
7869 | if test x$support_xft = xyes; then |
|
|
7870 | |
|
|
7871 | $as_echo "#define XFT 1" >>confdefs.h |
|
|
7872 | |
|
|
7873 | fi |
|
|
7874 | fi |
|
|
7875 | if test x$support_styles = xyes; then |
7740 | if test x$support_styles = xyes; then |
7876 | |
7741 | |
7877 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7742 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7878 | |
7743 | |
7879 | fi |
7744 | fi |
… | |
… | |
7888 | |
7753 | |
7889 | fi |
7754 | fi |
7890 | if test x$support_fading = xyes; then |
7755 | if test x$support_fading = xyes; then |
7891 | |
7756 | |
7892 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7757 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7893 | |
|
|
7894 | fi |
|
|
7895 | if test x$support_inheritpixmap = xyes; then |
|
|
7896 | if test x$rxvt_have_xrender = xyes; then |
|
|
7897 | LIBS="$LIBS -lm" |
|
|
7898 | |
|
|
7899 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7900 | |
|
|
7901 | fi |
|
|
7902 | |
|
|
7903 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7904 | |
7758 | |
7905 | fi |
7759 | fi |
7906 | if test x$support_keepscrolling = xno; then |
7760 | if test x$support_keepscrolling = xno; then |
7907 | |
7761 | |
7908 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
7762 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
… | |
… | |
8005 | if test x$support_perl = xyes; then |
7859 | if test x$support_perl = xyes; then |
8006 | # 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. |
8007 | set dummy perl5; ac_word=$2 |
7861 | set dummy perl5; ac_word=$2 |
8008 | { $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 |
8009 | $as_echo_n "checking for $ac_word... " >&6; } |
7863 | $as_echo_n "checking for $ac_word... " >&6; } |
8010 | if ${ac_cv_path_PERL+:} false; then : |
7864 | if test "${ac_cv_path_PERL+set}" = set; then : |
8011 | $as_echo_n "(cached) " >&6 |
7865 | $as_echo_n "(cached) " >&6 |
8012 | else |
7866 | else |
8013 | case $PERL in |
7867 | case $PERL in |
8014 | [\\/]* | ?:[\\/]*) |
7868 | [\\/]* | ?:[\\/]*) |
8015 | 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. |
… | |
… | |
8028 | fi |
7882 | fi |
8029 | done |
7883 | done |
8030 | done |
7884 | done |
8031 | IFS=$as_save_IFS |
7885 | IFS=$as_save_IFS |
8032 | |
7886 | |
8033 | ;; |
7887 | test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" |
8034 | esac |
|
|
8035 | fi |
|
|
8036 | PERL=$ac_cv_path_PERL |
|
|
8037 | if test -n "$PERL"; then |
|
|
8038 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
|
8039 | $as_echo "$PERL" >&6; } |
|
|
8040 | else |
|
|
8041 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
8042 | $as_echo "no" >&6; } |
|
|
8043 | fi |
|
|
8044 | |
|
|
8045 | |
|
|
8046 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
8047 | set dummy perl; ac_word=$2 |
|
|
8048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
8049 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
8050 | if ${ac_cv_path_PERL+:} false; then : |
|
|
8051 | $as_echo_n "(cached) " >&6 |
|
|
8052 | else |
|
|
8053 | case $PERL in |
|
|
8054 | [\\/]* | ?:[\\/]*) |
|
|
8055 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
8056 | ;; |
|
|
8057 | *) |
|
|
8058 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8059 | for as_dir in $PATH |
|
|
8060 | do |
|
|
8061 | IFS=$as_save_IFS |
|
|
8062 | test -z "$as_dir" && as_dir=. |
|
|
8063 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8064 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
8065 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
8066 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8067 | break 2 |
|
|
8068 | fi |
|
|
8069 | done |
|
|
8070 | done |
|
|
8071 | IFS=$as_save_IFS |
|
|
8072 | |
|
|
8073 | ;; |
7888 | ;; |
8074 | esac |
7889 | esac |
8075 | fi |
7890 | fi |
8076 | PERL=$ac_cv_path_PERL |
7891 | PERL=$ac_cv_path_PERL |
8077 | if test -n "$PERL"; then |
7892 | if test -n "$PERL"; then |
… | |
… | |
8209 | t end |
8024 | t end |
8210 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8025 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8211 | :end' >>confcache |
8026 | :end' >>confcache |
8212 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8027 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8213 | if test -w "$cache_file"; then |
8028 | if test -w "$cache_file"; then |
8214 | if test "x$cache_file" != "x/dev/null"; then |
8029 | test "x$cache_file" != "x/dev/null" && |
8215 | { $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 |
8216 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8031 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8217 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
|
8218 | cat confcache >"$cache_file" |
8032 | cat confcache >$cache_file |
8219 | else |
|
|
8220 | case $cache_file in #( |
|
|
8221 | */* | ?:*) |
|
|
8222 | mv -f confcache "$cache_file"$$ && |
|
|
8223 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
8224 | *) |
|
|
8225 | mv -f confcache "$cache_file" ;; |
|
|
8226 | esac |
|
|
8227 | fi |
|
|
8228 | fi |
|
|
8229 | else |
8033 | else |
8230 | { $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 |
8231 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8035 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8232 | fi |
8036 | fi |
8233 | fi |
8037 | fi |
… | |
… | |
8255 | |
8059 | |
8256 | LTLIBOBJS=$ac_ltlibobjs |
8060 | LTLIBOBJS=$ac_ltlibobjs |
8257 | |
8061 | |
8258 | |
8062 | |
8259 | |
8063 | |
8260 | : "${CONFIG_STATUS=./config.status}" |
8064 | : ${CONFIG_STATUS=./config.status} |
8261 | ac_write_fail=0 |
8065 | ac_write_fail=0 |
8262 | ac_clean_files_save=$ac_clean_files |
8066 | ac_clean_files_save=$ac_clean_files |
8263 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8067 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8264 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8068 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8265 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8069 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
8356 | # (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 |
8357 | # splitting by setting IFS to empty value.) |
8161 | # splitting by setting IFS to empty value.) |
8358 | IFS=" "" $as_nl" |
8162 | IFS=" "" $as_nl" |
8359 | |
8163 | |
8360 | # 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. |
8361 | as_myself= |
|
|
8362 | case $0 in #(( |
8165 | case $0 in #(( |
8363 | *[\\/]* ) as_myself=$0 ;; |
8166 | *[\\/]* ) as_myself=$0 ;; |
8364 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8167 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8365 | for as_dir in $PATH |
8168 | for as_dir in $PATH |
8366 | do |
8169 | do |
… | |
… | |
8664 | # 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 |
8665 | # report actual input values of CONFIG_FILES etc. instead of their |
8468 | # report actual input values of CONFIG_FILES etc. instead of their |
8666 | # values after options handling. |
8469 | # values after options handling. |
8667 | ac_log=" |
8470 | ac_log=" |
8668 | This file was extended by $as_me, which was |
8471 | This file was extended by $as_me, which was |
8669 | generated by GNU Autoconf 2.68. Invocation command line was |
8472 | generated by GNU Autoconf 2.67. Invocation command line was |
8670 | |
8473 | |
8671 | CONFIG_FILES = $CONFIG_FILES |
8474 | CONFIG_FILES = $CONFIG_FILES |
8672 | CONFIG_HEADERS = $CONFIG_HEADERS |
8475 | CONFIG_HEADERS = $CONFIG_HEADERS |
8673 | CONFIG_LINKS = $CONFIG_LINKS |
8476 | CONFIG_LINKS = $CONFIG_LINKS |
8674 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
8477 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8726 | _ACEOF |
8529 | _ACEOF |
8727 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8530 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8728 | 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'`" |
8729 | ac_cs_version="\\ |
8532 | ac_cs_version="\\ |
8730 | config.status |
8533 | config.status |
8731 | configured by $0, generated by GNU Autoconf 2.68, |
8534 | configured by $0, generated by GNU Autoconf 2.67, |
8732 | with options \\"\$ac_cs_config\\" |
8535 | with options \\"\$ac_cs_config\\" |
8733 | |
8536 | |
8734 | Copyright (C) 2010 Free Software Foundation, Inc. |
8537 | Copyright (C) 2010 Free Software Foundation, Inc. |
8735 | This config.status script is free software; the Free Software Foundation |
8538 | This config.status script is free software; the Free Software Foundation |
8736 | gives unlimited permission to copy, distribute and modify it." |
8539 | gives unlimited permission to copy, distribute and modify it." |
… | |
… | |
8852 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8655 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8853 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8656 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8854 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8657 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8855 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8658 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8856 | |
8659 | |
8857 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
8660 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
8858 | esac |
8661 | esac |
8859 | done |
8662 | done |
8860 | |
8663 | |
8861 | |
8664 | |
8862 | # 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, |
… | |
… | |
8874 | # Hook for its removal unless debugging. |
8677 | # Hook for its removal unless debugging. |
8875 | # 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: |
8876 | # 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'. |
8877 | $debug || |
8680 | $debug || |
8878 | { |
8681 | { |
8879 | tmp= ac_tmp= |
8682 | tmp= |
8880 | trap 'exit_status=$? |
8683 | trap 'exit_status=$? |
8881 | : "${ac_tmp:=$tmp}" |
|
|
8882 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
8684 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
8883 | ' 0 |
8685 | ' 0 |
8884 | trap 'as_fn_exit 1' 1 2 13 15 |
8686 | trap 'as_fn_exit 1' 1 2 13 15 |
8885 | } |
8687 | } |
8886 | # Create a (secure) tmp directory for tmp files. |
8688 | # Create a (secure) tmp directory for tmp files. |
8887 | |
8689 | |
8888 | { |
8690 | { |
8889 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8691 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8890 | test -d "$tmp" |
8692 | test -n "$tmp" && test -d "$tmp" |
8891 | } || |
8693 | } || |
8892 | { |
8694 | { |
8893 | tmp=./conf$$-$RANDOM |
8695 | tmp=./conf$$-$RANDOM |
8894 | (umask 077 && mkdir "$tmp") |
8696 | (umask 077 && mkdir "$tmp") |
8895 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8697 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8896 | ac_tmp=$tmp |
|
|
8897 | |
8698 | |
8898 | # Set up the scripts for CONFIG_FILES section. |
8699 | # Set up the scripts for CONFIG_FILES section. |
8899 | # No need to generate them if there are no CONFIG_FILES. |
8700 | # No need to generate them if there are no CONFIG_FILES. |
8900 | # This happens for instance with `./config.status config.h'. |
8701 | # This happens for instance with `./config.status config.h'. |
8901 | if test -n "$CONFIG_FILES"; then |
8702 | if test -n "$CONFIG_FILES"; then |
… | |
… | |
8913 | ac_cs_awk_cr='\\r' |
8714 | ac_cs_awk_cr='\\r' |
8914 | else |
8715 | else |
8915 | ac_cs_awk_cr=$ac_cr |
8716 | ac_cs_awk_cr=$ac_cr |
8916 | fi |
8717 | fi |
8917 | |
8718 | |
8918 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
8719 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
8919 | _ACEOF |
8720 | _ACEOF |
8920 | |
8721 | |
8921 | |
8722 | |
8922 | { |
8723 | { |
8923 | echo "cat >conf$$subs.awk <<_ACEOF" && |
8724 | echo "cat >conf$$subs.awk <<_ACEOF" && |
… | |
… | |
8941 | fi |
8742 | fi |
8942 | done |
8743 | done |
8943 | rm -f conf$$subs.sh |
8744 | rm -f conf$$subs.sh |
8944 | |
8745 | |
8945 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8746 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8946 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
8747 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
8947 | _ACEOF |
8748 | _ACEOF |
8948 | sed -n ' |
8749 | sed -n ' |
8949 | h |
8750 | h |
8950 | s/^/S["/; s/!.*/"]=/ |
8751 | s/^/S["/; s/!.*/"]=/ |
8951 | p |
8752 | p |
… | |
… | |
8989 | } |
8790 | } |
8990 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
8791 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
8991 | rm -f conf$$subs.awk |
8792 | rm -f conf$$subs.awk |
8992 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8793 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8993 | _ACAWK |
8794 | _ACAWK |
8994 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
8795 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
8995 | for (key in S) S_is_set[key] = 1 |
8796 | for (key in S) S_is_set[key] = 1 |
8996 | FS = "" |
8797 | FS = "" |
8997 | |
8798 | |
8998 | } |
8799 | } |
8999 | { |
8800 | { |
… | |
… | |
9021 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8822 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9022 | 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 |
9023 | 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" |
9024 | else |
8825 | else |
9025 | cat |
8826 | cat |
9026 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
8827 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
9027 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
8828 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
9028 | _ACEOF |
8829 | _ACEOF |
9029 | |
8830 | |
9030 | # 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), |
9031 | # ${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 |
… | |
… | |
9055 | |
8856 | |
9056 | # Set up the scripts for CONFIG_HEADERS section. |
8857 | # Set up the scripts for CONFIG_HEADERS section. |
9057 | # No need to generate them if there are no CONFIG_HEADERS. |
8858 | # No need to generate them if there are no CONFIG_HEADERS. |
9058 | # This happens for instance with `./config.status Makefile'. |
8859 | # This happens for instance with `./config.status Makefile'. |
9059 | if test -n "$CONFIG_HEADERS"; then |
8860 | if test -n "$CONFIG_HEADERS"; then |
9060 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
8861 | cat >"$tmp/defines.awk" <<\_ACAWK || |
9061 | BEGIN { |
8862 | BEGIN { |
9062 | _ACEOF |
8863 | _ACEOF |
9063 | |
8864 | |
9064 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
8865 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9065 | # here-document in config.status, that substitutes the proper values into |
8866 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
9067 | |
8868 | |
9068 | # 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 |
9069 | # handling of long lines. |
8870 | # handling of long lines. |
9070 | ac_delim='%!_!# ' |
8871 | ac_delim='%!_!# ' |
9071 | for ac_last_try in false false :; do |
8872 | for ac_last_try in false false :; do |
9072 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
8873 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
9073 | if test -z "$ac_tt"; then |
8874 | if test -z "$ac_t"; then |
9074 | break |
8875 | break |
9075 | elif $ac_last_try; then |
8876 | elif $ac_last_try; then |
9076 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
8877 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9077 | else |
8878 | else |
9078 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
8879 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
9169 | case $ac_tag in |
8970 | case $ac_tag in |
9170 | :[FHLC]) ac_mode=$ac_tag; continue;; |
8971 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9171 | esac |
8972 | esac |
9172 | case $ac_mode$ac_tag in |
8973 | case $ac_mode$ac_tag in |
9173 | :[FHL]*:*);; |
8974 | :[FHL]*:*);; |
9174 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
8975 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9175 | :[FH]-) ac_tag=-:-;; |
8976 | :[FH]-) ac_tag=-:-;; |
9176 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
8977 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9177 | esac |
8978 | esac |
9178 | ac_save_IFS=$IFS |
8979 | ac_save_IFS=$IFS |
9179 | IFS=: |
8980 | IFS=: |
… | |
… | |
9188 | :[FH]) |
8989 | :[FH]) |
9189 | ac_file_inputs= |
8990 | ac_file_inputs= |
9190 | for ac_f |
8991 | for ac_f |
9191 | do |
8992 | do |
9192 | case $ac_f in |
8993 | case $ac_f in |
9193 | -) ac_f="$ac_tmp/stdin";; |
8994 | -) ac_f="$tmp/stdin";; |
9194 | *) # 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 |
9195 | # (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, |
9196 | # because $ac_f cannot contain `:'. |
8997 | # because $ac_f cannot contain `:'. |
9197 | test -f "$ac_f" || |
8998 | test -f "$ac_f" || |
9198 | case $ac_f in |
8999 | case $ac_f in |
9199 | [\\/$]*) false;; |
9000 | [\\/$]*) false;; |
9200 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9001 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9201 | esac || |
9002 | esac || |
9202 | 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 ;; |
9203 | esac |
9004 | esac |
9204 | 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 |
9205 | as_fn_append ac_file_inputs " '$ac_f'" |
9006 | as_fn_append ac_file_inputs " '$ac_f'" |
9206 | done |
9007 | done |
9207 | |
9008 | |
… | |
… | |
9223 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9024 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9224 | *) ac_sed_conf_input=$configure_input;; |
9025 | *) ac_sed_conf_input=$configure_input;; |
9225 | esac |
9026 | esac |
9226 | |
9027 | |
9227 | case $ac_tag in |
9028 | case $ac_tag in |
9228 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
9029 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9229 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9030 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9230 | esac |
9031 | esac |
9231 | ;; |
9032 | ;; |
9232 | esac |
9033 | esac |
9233 | |
9034 | |
9234 | ac_dir=`$as_dirname -- "$ac_file" || |
9035 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
9354 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9155 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9355 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9156 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9356 | s&@INSTALL@&$ac_INSTALL&;t t |
9157 | s&@INSTALL@&$ac_INSTALL&;t t |
9357 | $ac_datarootdir_hack |
9158 | $ac_datarootdir_hack |
9358 | " |
9159 | " |
9359 | 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 \ |
9360 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9161 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9361 | |
9162 | |
9362 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9163 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9363 | { 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"; } && |
9364 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
9165 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
9365 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
|
|
9366 | { $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' |
9367 | 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 |
9368 | $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' |
9369 | 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;} |
9370 | |
9170 | |
9371 | rm -f "$ac_tmp/stdin" |
9171 | rm -f "$tmp/stdin" |
9372 | case $ac_file in |
9172 | case $ac_file in |
9373 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
9173 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
9374 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
9174 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
9375 | esac \ |
9175 | esac \ |
9376 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9176 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9377 | ;; |
9177 | ;; |
9378 | :H) |
9178 | :H) |
9379 | # |
9179 | # |
9380 | # CONFIG_HEADER |
9180 | # CONFIG_HEADER |
9381 | # |
9181 | # |
9382 | if test x"$ac_file" != x-; then |
9182 | if test x"$ac_file" != x-; then |
9383 | { |
9183 | { |
9384 | $as_echo "/* $configure_input */" \ |
9184 | $as_echo "/* $configure_input */" \ |
9385 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9185 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
9386 | } >"$ac_tmp/config.h" \ |
9186 | } >"$tmp/config.h" \ |
9387 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9187 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9388 | 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 |
9389 | { $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 |
9390 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9190 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9391 | else |
9191 | else |
9392 | rm -f "$ac_file" |
9192 | rm -f "$ac_file" |
9393 | mv "$ac_tmp/config.h" "$ac_file" \ |
9193 | mv "$tmp/config.h" "$ac_file" \ |
9394 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9194 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9395 | fi |
9195 | fi |
9396 | else |
9196 | else |
9397 | $as_echo "/* $configure_input */" \ |
9197 | $as_echo "/* $configure_input */" \ |
9398 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9198 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
9399 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9199 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9400 | fi |
9200 | fi |
9401 | ;; |
9201 | ;; |
9402 | |
9202 | |
9403 | |
9203 | |