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 |
… | |
… | |
730 | enable_smart_resize |
717 | enable_smart_resize |
731 | enable_text_blink |
718 | enable_text_blink |
732 | enable_pointer_blank |
719 | enable_pointer_blank |
733 | with_term |
720 | with_term |
734 | with_terminfo |
721 | with_terminfo |
|
|
722 | enable_xdbe |
735 | with_x |
723 | with_x |
736 | enable_utmp |
724 | enable_utmp |
737 | enable_wtmp |
725 | enable_wtmp |
738 | enable_lastlog |
726 | enable_lastlog |
739 | ' |
727 | ' |
… | |
… | |
1153 | *) |
1141 | *) |
1154 | # FIXME: should be removed in autoconf 3.0. |
1142 | # FIXME: should be removed in autoconf 3.0. |
1155 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1143 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1156 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1144 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1157 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1145 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1158 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1146 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1159 | ;; |
1147 | ;; |
1160 | |
1148 | |
1161 | esac |
1149 | esac |
1162 | done |
1150 | done |
1163 | |
1151 | |
… | |
… | |
1375 | --enable-256-color enable 256-color support |
1363 | --enable-256-color enable 256-color support |
1376 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1364 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1377 | --enable-combining enable composition of base and combining characters |
1365 | --enable-combining enable composition of base and combining characters |
1378 | --enable-xft enable xft support on systems that have it |
1366 | --enable-xft enable xft support on systems that have it |
1379 | --enable-font-styles enable bold and italic support |
1367 | --enable-font-styles enable bold and italic support |
1380 | --enable-afterimage enable integration with libAfterImage for background images |
|
|
1381 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1368 | --enable-pixbuf enable integration with gdk-pixbuf for background images |
1382 | --enable-startup-notification enable freedesktop startup notification support |
1369 | --enable-startup-notification enable freedesktop startup notification support |
1383 | --enable-transparency enable transparent backgrounds |
1370 | --enable-transparency enable transparent backgrounds |
1384 | --enable-fading enable colors fading when off focus |
1371 | --enable-fading enable colors fading when off focus |
1385 | --enable-rxvt-scroll enable rxvt style scrollbar |
1372 | --enable-rxvt-scroll enable rxvt style scrollbar |
… | |
… | |
1400 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1387 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1401 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1388 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1402 | --enable-smart-resize enable smart growth/shrink behaviour |
1389 | --enable-smart-resize enable smart growth/shrink behaviour |
1403 | --enable-text-blink enable blinking text |
1390 | --enable-text-blink enable blinking text |
1404 | --enable-pointer-blank enable pointer blanking when typing or inactive |
1391 | --enable-pointer-blank enable pointer blanking when typing or inactive |
|
|
1392 | --enable-xdbe enable support for double buffering |
1405 | --enable-utmp enable utmp (utmpx) support |
1393 | --enable-utmp enable utmp (utmpx) support |
1406 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1394 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1407 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1395 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1408 | |
1396 | |
1409 | Optional Packages: |
1397 | Optional Packages: |
1410 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1398 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1411 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1399 | --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) |
1400 | --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) |
1401 | --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) |
1402 | --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) |
1403 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1417 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1404 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1497 | |
1484 | |
1498 | test -n "$ac_init_help" && exit $ac_status |
1485 | test -n "$ac_init_help" && exit $ac_status |
1499 | if $ac_init_version; then |
1486 | if $ac_init_version; then |
1500 | cat <<\_ACEOF |
1487 | cat <<\_ACEOF |
1501 | configure |
1488 | configure |
1502 | generated by GNU Autoconf 2.68 |
1489 | generated by GNU Autoconf 2.67 |
1503 | |
1490 | |
1504 | Copyright (C) 2010 Free Software Foundation, Inc. |
1491 | Copyright (C) 2010 Free Software Foundation, Inc. |
1505 | This configure script is free software; the Free Software Foundation |
1492 | This configure script is free software; the Free Software Foundation |
1506 | gives unlimited permission to copy, distribute and modify it. |
1493 | gives unlimited permission to copy, distribute and modify it. |
1507 | _ACEOF |
1494 | _ACEOF |
… | |
… | |
1543 | $as_echo "$as_me: failed program was:" >&5 |
1530 | $as_echo "$as_me: failed program was:" >&5 |
1544 | sed 's/^/| /' conftest.$ac_ext >&5 |
1531 | sed 's/^/| /' conftest.$ac_ext >&5 |
1545 | |
1532 | |
1546 | ac_retval=1 |
1533 | ac_retval=1 |
1547 | fi |
1534 | fi |
1548 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1535 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1549 | as_fn_set_status $ac_retval |
1536 | as_fn_set_status $ac_retval |
1550 | |
1537 | |
1551 | } # ac_fn_c_try_compile |
1538 | } # ac_fn_c_try_compile |
1552 | |
1539 | |
1553 | # ac_fn_cxx_try_compile LINENO |
1540 | # ac_fn_cxx_try_compile LINENO |
… | |
… | |
1581 | $as_echo "$as_me: failed program was:" >&5 |
1568 | $as_echo "$as_me: failed program was:" >&5 |
1582 | sed 's/^/| /' conftest.$ac_ext >&5 |
1569 | sed 's/^/| /' conftest.$ac_ext >&5 |
1583 | |
1570 | |
1584 | ac_retval=1 |
1571 | ac_retval=1 |
1585 | fi |
1572 | fi |
1586 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1573 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1587 | as_fn_set_status $ac_retval |
1574 | as_fn_set_status $ac_retval |
1588 | |
1575 | |
1589 | } # ac_fn_cxx_try_compile |
1576 | } # ac_fn_cxx_try_compile |
1590 | |
1577 | |
1591 | # ac_fn_c_try_cpp LINENO |
1578 | # ac_fn_c_try_cpp LINENO |
… | |
… | |
1618 | $as_echo "$as_me: failed program was:" >&5 |
1605 | $as_echo "$as_me: failed program was:" >&5 |
1619 | sed 's/^/| /' conftest.$ac_ext >&5 |
1606 | sed 's/^/| /' conftest.$ac_ext >&5 |
1620 | |
1607 | |
1621 | ac_retval=1 |
1608 | ac_retval=1 |
1622 | fi |
1609 | fi |
1623 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1610 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1624 | as_fn_set_status $ac_retval |
1611 | as_fn_set_status $ac_retval |
1625 | |
1612 | |
1626 | } # ac_fn_c_try_cpp |
1613 | } # ac_fn_c_try_cpp |
1627 | |
1614 | |
1628 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1615 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1631 | # the include files in INCLUDES and setting the cache variable VAR |
1618 | # the include files in INCLUDES and setting the cache variable VAR |
1632 | # accordingly. |
1619 | # accordingly. |
1633 | ac_fn_c_check_header_mongrel () |
1620 | ac_fn_c_check_header_mongrel () |
1634 | { |
1621 | { |
1635 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1622 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1636 | if eval \${$3+:} false; then : |
1623 | if eval "test \"\${$3+set}\"" = set; then : |
1637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1638 | $as_echo_n "checking for $2... " >&6; } |
1625 | $as_echo_n "checking for $2... " >&6; } |
1639 | if eval \${$3+:} false; then : |
1626 | if eval "test \"\${$3+set}\"" = set; then : |
1640 | $as_echo_n "(cached) " >&6 |
1627 | $as_echo_n "(cached) " >&6 |
1641 | fi |
1628 | fi |
1642 | eval ac_res=\$$3 |
1629 | eval ac_res=\$$3 |
1643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1644 | $as_echo "$ac_res" >&6; } |
1631 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1697 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1684 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1698 | ;; |
1685 | ;; |
1699 | esac |
1686 | esac |
1700 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1687 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1701 | $as_echo_n "checking for $2... " >&6; } |
1688 | $as_echo_n "checking for $2... " >&6; } |
1702 | if eval \${$3+:} false; then : |
1689 | if eval "test \"\${$3+set}\"" = set; then : |
1703 | $as_echo_n "(cached) " >&6 |
1690 | $as_echo_n "(cached) " >&6 |
1704 | else |
1691 | else |
1705 | eval "$3=\$ac_header_compiler" |
1692 | eval "$3=\$ac_header_compiler" |
1706 | fi |
1693 | fi |
1707 | eval ac_res=\$$3 |
1694 | eval ac_res=\$$3 |
1708 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1695 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1709 | $as_echo "$ac_res" >&6; } |
1696 | $as_echo "$ac_res" >&6; } |
1710 | fi |
1697 | fi |
1711 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1698 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1712 | |
1699 | |
1713 | } # ac_fn_c_check_header_mongrel |
1700 | } # ac_fn_c_check_header_mongrel |
1714 | |
1701 | |
1715 | # ac_fn_c_try_run LINENO |
1702 | # ac_fn_c_try_run LINENO |
1716 | # ---------------------- |
1703 | # ---------------------- |
… | |
… | |
1747 | sed 's/^/| /' conftest.$ac_ext >&5 |
1734 | sed 's/^/| /' conftest.$ac_ext >&5 |
1748 | |
1735 | |
1749 | ac_retval=$ac_status |
1736 | ac_retval=$ac_status |
1750 | fi |
1737 | fi |
1751 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1738 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1752 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1739 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1753 | as_fn_set_status $ac_retval |
1740 | as_fn_set_status $ac_retval |
1754 | |
1741 | |
1755 | } # ac_fn_c_try_run |
1742 | } # ac_fn_c_try_run |
1756 | |
1743 | |
1757 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1744 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
… | |
… | |
1761 | ac_fn_c_check_header_compile () |
1748 | ac_fn_c_check_header_compile () |
1762 | { |
1749 | { |
1763 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1750 | 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 |
1751 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1765 | $as_echo_n "checking for $2... " >&6; } |
1752 | $as_echo_n "checking for $2... " >&6; } |
1766 | if eval \${$3+:} false; then : |
1753 | if eval "test \"\${$3+set}\"" = set; then : |
1767 | $as_echo_n "(cached) " >&6 |
1754 | $as_echo_n "(cached) " >&6 |
1768 | else |
1755 | else |
1769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1756 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1770 | /* end confdefs.h. */ |
1757 | /* end confdefs.h. */ |
1771 | $4 |
1758 | $4 |
… | |
… | |
1779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1766 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1780 | fi |
1767 | fi |
1781 | eval ac_res=\$$3 |
1768 | eval ac_res=\$$3 |
1782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1783 | $as_echo "$ac_res" >&6; } |
1770 | $as_echo "$ac_res" >&6; } |
1784 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1771 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1785 | |
1772 | |
1786 | } # ac_fn_c_check_header_compile |
1773 | } # ac_fn_c_check_header_compile |
1787 | |
1774 | |
1788 | # ac_fn_c_try_link LINENO |
1775 | # ac_fn_c_try_link LINENO |
1789 | # ----------------------- |
1776 | # ----------------------- |
… | |
… | |
1824 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1811 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1825 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1812 | # 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 |
1813 | # 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. |
1814 | # left behind by Apple's compiler. We do this before executing the actions. |
1828 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1815 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1829 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1816 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1830 | as_fn_set_status $ac_retval |
1817 | as_fn_set_status $ac_retval |
1831 | |
1818 | |
1832 | } # ac_fn_c_try_link |
1819 | } # ac_fn_c_try_link |
1833 | |
1820 | |
1834 | # ac_fn_cxx_try_link LINENO |
1821 | # ac_fn_cxx_try_link LINENO |
… | |
… | |
1870 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1857 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1871 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1858 | # 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 |
1859 | # 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. |
1860 | # left behind by Apple's compiler. We do this before executing the actions. |
1874 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1861 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1875 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1862 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1876 | as_fn_set_status $ac_retval |
1863 | as_fn_set_status $ac_retval |
1877 | |
1864 | |
1878 | } # ac_fn_cxx_try_link |
1865 | } # ac_fn_cxx_try_link |
1879 | |
1866 | |
1880 | # ac_fn_cxx_try_cpp LINENO |
1867 | # ac_fn_cxx_try_cpp LINENO |
… | |
… | |
1907 | $as_echo "$as_me: failed program was:" >&5 |
1894 | $as_echo "$as_me: failed program was:" >&5 |
1908 | sed 's/^/| /' conftest.$ac_ext >&5 |
1895 | sed 's/^/| /' conftest.$ac_ext >&5 |
1909 | |
1896 | |
1910 | ac_retval=1 |
1897 | ac_retval=1 |
1911 | fi |
1898 | fi |
1912 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1899 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1913 | as_fn_set_status $ac_retval |
1900 | as_fn_set_status $ac_retval |
1914 | |
1901 | |
1915 | } # ac_fn_cxx_try_cpp |
1902 | } # ac_fn_cxx_try_cpp |
1916 | |
1903 | |
1917 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1904 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
… | |
… | |
1920 | # the include files in INCLUDES and setting the cache variable VAR |
1907 | # the include files in INCLUDES and setting the cache variable VAR |
1921 | # accordingly. |
1908 | # accordingly. |
1922 | ac_fn_cxx_check_header_mongrel () |
1909 | ac_fn_cxx_check_header_mongrel () |
1923 | { |
1910 | { |
1924 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1911 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1925 | if eval \${$3+:} false; then : |
1912 | if eval "test \"\${$3+set}\"" = set; then : |
1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1927 | $as_echo_n "checking for $2... " >&6; } |
1914 | $as_echo_n "checking for $2... " >&6; } |
1928 | if eval \${$3+:} false; then : |
1915 | if eval "test \"\${$3+set}\"" = set; then : |
1929 | $as_echo_n "(cached) " >&6 |
1916 | $as_echo_n "(cached) " >&6 |
1930 | fi |
1917 | fi |
1931 | eval ac_res=\$$3 |
1918 | eval ac_res=\$$3 |
1932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1919 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1933 | $as_echo "$ac_res" >&6; } |
1920 | $as_echo "$ac_res" >&6; } |
… | |
… | |
1986 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1973 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1987 | ;; |
1974 | ;; |
1988 | esac |
1975 | esac |
1989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1976 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1990 | $as_echo_n "checking for $2... " >&6; } |
1977 | $as_echo_n "checking for $2... " >&6; } |
1991 | if eval \${$3+:} false; then : |
1978 | if eval "test \"\${$3+set}\"" = set; then : |
1992 | $as_echo_n "(cached) " >&6 |
1979 | $as_echo_n "(cached) " >&6 |
1993 | else |
1980 | else |
1994 | eval "$3=\$ac_header_compiler" |
1981 | eval "$3=\$ac_header_compiler" |
1995 | fi |
1982 | fi |
1996 | eval ac_res=\$$3 |
1983 | eval ac_res=\$$3 |
1997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1984 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1998 | $as_echo "$ac_res" >&6; } |
1985 | $as_echo "$ac_res" >&6; } |
1999 | fi |
1986 | fi |
2000 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1987 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2001 | |
1988 | |
2002 | } # ac_fn_cxx_check_header_mongrel |
1989 | } # ac_fn_cxx_check_header_mongrel |
2003 | |
1990 | |
2004 | # ac_fn_cxx_check_func LINENO FUNC VAR |
1991 | # ac_fn_cxx_check_func LINENO FUNC VAR |
2005 | # ------------------------------------ |
1992 | # ------------------------------------ |
… | |
… | |
2007 | ac_fn_cxx_check_func () |
1994 | ac_fn_cxx_check_func () |
2008 | { |
1995 | { |
2009 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1996 | 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 |
1997 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2011 | $as_echo_n "checking for $2... " >&6; } |
1998 | $as_echo_n "checking for $2... " >&6; } |
2012 | if eval \${$3+:} false; then : |
1999 | if eval "test \"\${$3+set}\"" = set; then : |
2013 | $as_echo_n "(cached) " >&6 |
2000 | $as_echo_n "(cached) " >&6 |
2014 | else |
2001 | else |
2015 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2002 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2016 | /* end confdefs.h. */ |
2003 | /* end confdefs.h. */ |
2017 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2004 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
… | |
… | |
2062 | conftest$ac_exeext conftest.$ac_ext |
2049 | conftest$ac_exeext conftest.$ac_ext |
2063 | fi |
2050 | fi |
2064 | eval ac_res=\$$3 |
2051 | eval ac_res=\$$3 |
2065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2052 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2066 | $as_echo "$ac_res" >&6; } |
2053 | $as_echo "$ac_res" >&6; } |
2067 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2054 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2068 | |
2055 | |
2069 | } # ac_fn_cxx_check_func |
2056 | } # ac_fn_cxx_check_func |
2070 | |
2057 | |
2071 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2058 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
2072 | # --------------------------------------------- |
2059 | # --------------------------------------------- |
… | |
… | |
2075 | ac_fn_cxx_check_type () |
2062 | ac_fn_cxx_check_type () |
2076 | { |
2063 | { |
2077 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2064 | 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 |
2065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2079 | $as_echo_n "checking for $2... " >&6; } |
2066 | $as_echo_n "checking for $2... " >&6; } |
2080 | if eval \${$3+:} false; then : |
2067 | if eval "test \"\${$3+set}\"" = set; then : |
2081 | $as_echo_n "(cached) " >&6 |
2068 | $as_echo_n "(cached) " >&6 |
2082 | else |
2069 | else |
2083 | eval "$3=no" |
2070 | eval "$3=no" |
2084 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2071 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2085 | /* end confdefs.h. */ |
2072 | /* end confdefs.h. */ |
… | |
… | |
2116 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2103 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2117 | fi |
2104 | fi |
2118 | eval ac_res=\$$3 |
2105 | eval ac_res=\$$3 |
2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2106 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2120 | $as_echo "$ac_res" >&6; } |
2107 | $as_echo "$ac_res" >&6; } |
2121 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2108 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2122 | |
2109 | |
2123 | } # ac_fn_cxx_check_type |
2110 | } # ac_fn_cxx_check_type |
2124 | |
2111 | |
2125 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2112 | # ac_fn_c_find_intX_t LINENO BITS VAR |
2126 | # ----------------------------------- |
2113 | # ----------------------------------- |
… | |
… | |
2129 | ac_fn_c_find_intX_t () |
2116 | ac_fn_c_find_intX_t () |
2130 | { |
2117 | { |
2131 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2118 | 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 |
2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
2133 | $as_echo_n "checking for int$2_t... " >&6; } |
2120 | $as_echo_n "checking for int$2_t... " >&6; } |
2134 | if eval \${$3+:} false; then : |
2121 | if eval "test \"\${$3+set}\"" = set; then : |
2135 | $as_echo_n "(cached) " >&6 |
2122 | $as_echo_n "(cached) " >&6 |
2136 | else |
2123 | else |
2137 | eval "$3=no" |
2124 | eval "$3=no" |
2138 | # Order is important - never check a type that is potentially smaller |
2125 | # Order is important - never check a type that is potentially smaller |
2139 | # than half of the expected target width. |
2126 | # than half of the expected target width. |
… | |
… | |
2190 | done |
2177 | done |
2191 | fi |
2178 | fi |
2192 | eval ac_res=\$$3 |
2179 | eval ac_res=\$$3 |
2193 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2180 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2194 | $as_echo "$ac_res" >&6; } |
2181 | $as_echo "$ac_res" >&6; } |
2195 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2182 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2196 | |
2183 | |
2197 | } # ac_fn_c_find_intX_t |
2184 | } # ac_fn_c_find_intX_t |
2198 | |
2185 | |
2199 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2186 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
2200 | # ------------------------------------ |
2187 | # ------------------------------------ |
… | |
… | |
2203 | ac_fn_c_find_uintX_t () |
2190 | ac_fn_c_find_uintX_t () |
2204 | { |
2191 | { |
2205 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2192 | 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 |
2193 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
2207 | $as_echo_n "checking for uint$2_t... " >&6; } |
2194 | $as_echo_n "checking for uint$2_t... " >&6; } |
2208 | if eval \${$3+:} false; then : |
2195 | if eval "test \"\${$3+set}\"" = set; then : |
2209 | $as_echo_n "(cached) " >&6 |
2196 | $as_echo_n "(cached) " >&6 |
2210 | else |
2197 | else |
2211 | eval "$3=no" |
2198 | eval "$3=no" |
2212 | # Order is important - never check a type that is potentially smaller |
2199 | # Order is important - never check a type that is potentially smaller |
2213 | # than half of the expected target width. |
2200 | # than half of the expected target width. |
… | |
… | |
2243 | done |
2230 | done |
2244 | fi |
2231 | fi |
2245 | eval ac_res=\$$3 |
2232 | eval ac_res=\$$3 |
2246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2233 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2247 | $as_echo "$ac_res" >&6; } |
2234 | $as_echo "$ac_res" >&6; } |
2248 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2235 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2249 | |
2236 | |
2250 | } # ac_fn_c_find_uintX_t |
2237 | } # ac_fn_c_find_uintX_t |
2251 | |
2238 | |
2252 | # ac_fn_cxx_try_run LINENO |
2239 | # ac_fn_cxx_try_run LINENO |
2253 | # ------------------------ |
2240 | # ------------------------ |
… | |
… | |
2284 | sed 's/^/| /' conftest.$ac_ext >&5 |
2271 | sed 's/^/| /' conftest.$ac_ext >&5 |
2285 | |
2272 | |
2286 | ac_retval=$ac_status |
2273 | ac_retval=$ac_status |
2287 | fi |
2274 | fi |
2288 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2275 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2289 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2276 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2290 | as_fn_set_status $ac_retval |
2277 | as_fn_set_status $ac_retval |
2291 | |
2278 | |
2292 | } # ac_fn_cxx_try_run |
2279 | } # ac_fn_cxx_try_run |
2293 | cat >config.log <<_ACEOF |
2280 | cat >config.log <<_ACEOF |
2294 | This file contains any messages produced by compilers while |
2281 | This file contains any messages produced by compilers while |
2295 | running configure, to aid debugging if configure makes a mistake. |
2282 | running configure, to aid debugging if configure makes a mistake. |
2296 | |
2283 | |
2297 | It was created by $as_me, which was |
2284 | It was created by $as_me, which was |
2298 | generated by GNU Autoconf 2.68. Invocation command line was |
2285 | generated by GNU Autoconf 2.67. Invocation command line was |
2299 | |
2286 | |
2300 | $ $0 $@ |
2287 | $ $0 $@ |
2301 | |
2288 | |
2302 | _ACEOF |
2289 | _ACEOF |
2303 | exec 5>>config.log |
2290 | exec 5>>config.log |
… | |
… | |
2551 | sed 's/^/| /' "$ac_site_file" >&5 |
2538 | sed 's/^/| /' "$ac_site_file" >&5 |
2552 | . "$ac_site_file" \ |
2539 | . "$ac_site_file" \ |
2553 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2540 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2554 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2541 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2555 | as_fn_error $? "failed to load site script $ac_site_file |
2542 | as_fn_error $? "failed to load site script $ac_site_file |
2556 | See \`config.log' for more details" "$LINENO" 5; } |
2543 | See \`config.log' for more details" "$LINENO" 5 ; } |
2557 | fi |
2544 | fi |
2558 | done |
2545 | done |
2559 | |
2546 | |
2560 | if test -r "$cache_file"; then |
2547 | if test -r "$cache_file"; then |
2561 | # Some versions of bash will fail to source /dev/null (special files |
2548 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2680 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2667 | $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 |
2668 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2682 | |
2669 | |
2683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2670 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2684 | $as_echo_n "checking build system type... " >&6; } |
2671 | $as_echo_n "checking build system type... " >&6; } |
2685 | if ${ac_cv_build+:} false; then : |
2672 | if test "${ac_cv_build+set}" = set; then : |
2686 | $as_echo_n "(cached) " >&6 |
2673 | $as_echo_n "(cached) " >&6 |
2687 | else |
2674 | else |
2688 | ac_build_alias=$build_alias |
2675 | ac_build_alias=$build_alias |
2689 | test "x$ac_build_alias" = x && |
2676 | test "x$ac_build_alias" = x && |
2690 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2677 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
… | |
… | |
2696 | fi |
2683 | fi |
2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2698 | $as_echo "$ac_cv_build" >&6; } |
2685 | $as_echo "$ac_cv_build" >&6; } |
2699 | case $ac_cv_build in |
2686 | case $ac_cv_build in |
2700 | *-*-*) ;; |
2687 | *-*-*) ;; |
2701 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2688 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2702 | esac |
2689 | esac |
2703 | build=$ac_cv_build |
2690 | build=$ac_cv_build |
2704 | ac_save_IFS=$IFS; IFS='-' |
2691 | ac_save_IFS=$IFS; IFS='-' |
2705 | set x $ac_cv_build |
2692 | set x $ac_cv_build |
2706 | shift |
2693 | shift |
… | |
… | |
2714 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2701 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2715 | |
2702 | |
2716 | |
2703 | |
2717 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2704 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2718 | $as_echo_n "checking host system type... " >&6; } |
2705 | $as_echo_n "checking host system type... " >&6; } |
2719 | if ${ac_cv_host+:} false; then : |
2706 | if test "${ac_cv_host+set}" = set; then : |
2720 | $as_echo_n "(cached) " >&6 |
2707 | $as_echo_n "(cached) " >&6 |
2721 | else |
2708 | else |
2722 | if test "x$host_alias" = x; then |
2709 | if test "x$host_alias" = x; then |
2723 | ac_cv_host=$ac_cv_build |
2710 | ac_cv_host=$ac_cv_build |
2724 | else |
2711 | else |
… | |
… | |
2729 | fi |
2716 | fi |
2730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2717 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2731 | $as_echo "$ac_cv_host" >&6; } |
2718 | $as_echo "$ac_cv_host" >&6; } |
2732 | case $ac_cv_host in |
2719 | case $ac_cv_host in |
2733 | *-*-*) ;; |
2720 | *-*-*) ;; |
2734 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2721 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2735 | esac |
2722 | esac |
2736 | host=$ac_cv_host |
2723 | host=$ac_cv_host |
2737 | ac_save_IFS=$IFS; IFS='-' |
2724 | ac_save_IFS=$IFS; IFS='-' |
2738 | set x $ac_cv_host |
2725 | set x $ac_cv_host |
2739 | shift |
2726 | shift |
… | |
… | |
2746 | IFS=$ac_save_IFS |
2733 | IFS=$ac_save_IFS |
2747 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2734 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2748 | |
2735 | |
2749 | |
2736 | |
2750 | |
2737 | |
2751 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2738 | VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2752 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2739 | DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
2753 | |
2740 | |
2754 | echo "" |
2741 | echo "" |
2755 | echo "configuring for rxvt $VERSION" |
2742 | echo "configuring for rxvt $VERSION" |
2756 | echo "" |
2743 | echo "" |
2757 | |
2744 | |
… | |
… | |
2765 | if test -n "$ac_tool_prefix"; then |
2752 | 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. |
2753 | # 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 |
2754 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2768 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2769 | $as_echo_n "checking for $ac_word... " >&6; } |
2756 | $as_echo_n "checking for $ac_word... " >&6; } |
2770 | if ${ac_cv_prog_CC+:} false; then : |
2757 | if test "${ac_cv_prog_CC+set}" = set; then : |
2771 | $as_echo_n "(cached) " >&6 |
2758 | $as_echo_n "(cached) " >&6 |
2772 | else |
2759 | else |
2773 | if test -n "$CC"; then |
2760 | if test -n "$CC"; then |
2774 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2761 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2775 | else |
2762 | else |
… | |
… | |
2805 | ac_ct_CC=$CC |
2792 | ac_ct_CC=$CC |
2806 | # Extract the first word of "gcc", so it can be a program name with args. |
2793 | # Extract the first word of "gcc", so it can be a program name with args. |
2807 | set dummy gcc; ac_word=$2 |
2794 | set dummy gcc; ac_word=$2 |
2808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2795 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2809 | $as_echo_n "checking for $ac_word... " >&6; } |
2796 | $as_echo_n "checking for $ac_word... " >&6; } |
2810 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2797 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2811 | $as_echo_n "(cached) " >&6 |
2798 | $as_echo_n "(cached) " >&6 |
2812 | else |
2799 | else |
2813 | if test -n "$ac_ct_CC"; then |
2800 | if test -n "$ac_ct_CC"; then |
2814 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2801 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2815 | else |
2802 | else |
… | |
… | |
2858 | if test -n "$ac_tool_prefix"; then |
2845 | 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. |
2846 | # 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 |
2847 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2861 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2848 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2862 | $as_echo_n "checking for $ac_word... " >&6; } |
2849 | $as_echo_n "checking for $ac_word... " >&6; } |
2863 | if ${ac_cv_prog_CC+:} false; then : |
2850 | if test "${ac_cv_prog_CC+set}" = set; then : |
2864 | $as_echo_n "(cached) " >&6 |
2851 | $as_echo_n "(cached) " >&6 |
2865 | else |
2852 | else |
2866 | if test -n "$CC"; then |
2853 | if test -n "$CC"; then |
2867 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2854 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2868 | else |
2855 | else |
… | |
… | |
2898 | if test -z "$CC"; then |
2885 | if test -z "$CC"; then |
2899 | # Extract the first word of "cc", so it can be a program name with args. |
2886 | # Extract the first word of "cc", so it can be a program name with args. |
2900 | set dummy cc; ac_word=$2 |
2887 | set dummy cc; ac_word=$2 |
2901 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2888 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2902 | $as_echo_n "checking for $ac_word... " >&6; } |
2889 | $as_echo_n "checking for $ac_word... " >&6; } |
2903 | if ${ac_cv_prog_CC+:} false; then : |
2890 | if test "${ac_cv_prog_CC+set}" = set; then : |
2904 | $as_echo_n "(cached) " >&6 |
2891 | $as_echo_n "(cached) " >&6 |
2905 | else |
2892 | else |
2906 | if test -n "$CC"; then |
2893 | if test -n "$CC"; then |
2907 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2894 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2908 | else |
2895 | else |
… | |
… | |
2957 | do |
2944 | do |
2958 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2945 | # 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 |
2946 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2960 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2947 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2961 | $as_echo_n "checking for $ac_word... " >&6; } |
2948 | $as_echo_n "checking for $ac_word... " >&6; } |
2962 | if ${ac_cv_prog_CC+:} false; then : |
2949 | if test "${ac_cv_prog_CC+set}" = set; then : |
2963 | $as_echo_n "(cached) " >&6 |
2950 | $as_echo_n "(cached) " >&6 |
2964 | else |
2951 | else |
2965 | if test -n "$CC"; then |
2952 | if test -n "$CC"; then |
2966 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2953 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2967 | else |
2954 | else |
… | |
… | |
3001 | do |
2988 | do |
3002 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2989 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3003 | set dummy $ac_prog; ac_word=$2 |
2990 | set dummy $ac_prog; ac_word=$2 |
3004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2991 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3005 | $as_echo_n "checking for $ac_word... " >&6; } |
2992 | $as_echo_n "checking for $ac_word... " >&6; } |
3006 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2993 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3007 | $as_echo_n "(cached) " >&6 |
2994 | $as_echo_n "(cached) " >&6 |
3008 | else |
2995 | else |
3009 | if test -n "$ac_ct_CC"; then |
2996 | if test -n "$ac_ct_CC"; then |
3010 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2997 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3011 | else |
2998 | else |
… | |
… | |
3056 | |
3043 | |
3057 | |
3044 | |
3058 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3045 | 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;} |
3046 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3060 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3047 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3061 | See \`config.log' for more details" "$LINENO" 5; } |
3048 | See \`config.log' for more details" "$LINENO" 5 ; } |
3062 | |
3049 | |
3063 | # Provide some information about the compiler. |
3050 | # Provide some information about the compiler. |
3064 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3051 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3065 | set X $ac_compile |
3052 | set X $ac_compile |
3066 | ac_compiler=$2 |
3053 | ac_compiler=$2 |
… | |
… | |
3171 | sed 's/^/| /' conftest.$ac_ext >&5 |
3158 | sed 's/^/| /' conftest.$ac_ext >&5 |
3172 | |
3159 | |
3173 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3160 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3174 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3161 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3175 | as_fn_error 77 "C compiler cannot create executables |
3162 | as_fn_error 77 "C compiler cannot create executables |
3176 | See \`config.log' for more details" "$LINENO" 5; } |
3163 | See \`config.log' for more details" "$LINENO" 5 ; } |
3177 | else |
3164 | else |
3178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3165 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3179 | $as_echo "yes" >&6; } |
3166 | $as_echo "yes" >&6; } |
3180 | fi |
3167 | fi |
3181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3214 | done |
3201 | done |
3215 | else |
3202 | else |
3216 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3203 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3217 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3204 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3218 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3205 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3219 | See \`config.log' for more details" "$LINENO" 5; } |
3206 | See \`config.log' for more details" "$LINENO" 5 ; } |
3220 | fi |
3207 | fi |
3221 | rm -f conftest conftest$ac_cv_exeext |
3208 | rm -f conftest conftest$ac_cv_exeext |
3222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3209 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3223 | $as_echo "$ac_cv_exeext" >&6; } |
3210 | $as_echo "$ac_cv_exeext" >&6; } |
3224 | |
3211 | |
… | |
… | |
3273 | else |
3260 | else |
3274 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3261 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3275 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3262 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3276 | as_fn_error $? "cannot run C compiled programs. |
3263 | as_fn_error $? "cannot run C compiled programs. |
3277 | If you meant to cross compile, use \`--host'. |
3264 | If you meant to cross compile, use \`--host'. |
3278 | See \`config.log' for more details" "$LINENO" 5; } |
3265 | See \`config.log' for more details" "$LINENO" 5 ; } |
3279 | fi |
3266 | fi |
3280 | fi |
3267 | fi |
3281 | fi |
3268 | fi |
3282 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3269 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3283 | $as_echo "$cross_compiling" >&6; } |
3270 | $as_echo "$cross_compiling" >&6; } |
3284 | |
3271 | |
3285 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3272 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3286 | ac_clean_files=$ac_clean_files_save |
3273 | ac_clean_files=$ac_clean_files_save |
3287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3274 | { $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; } |
3275 | $as_echo_n "checking for suffix of object files... " >&6; } |
3289 | if ${ac_cv_objext+:} false; then : |
3276 | if test "${ac_cv_objext+set}" = set; then : |
3290 | $as_echo_n "(cached) " >&6 |
3277 | $as_echo_n "(cached) " >&6 |
3291 | else |
3278 | else |
3292 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3279 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3293 | /* end confdefs.h. */ |
3280 | /* end confdefs.h. */ |
3294 | |
3281 | |
… | |
… | |
3325 | sed 's/^/| /' conftest.$ac_ext >&5 |
3312 | sed 's/^/| /' conftest.$ac_ext >&5 |
3326 | |
3313 | |
3327 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3314 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3328 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3315 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3329 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3316 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3330 | See \`config.log' for more details" "$LINENO" 5; } |
3317 | See \`config.log' for more details" "$LINENO" 5 ; } |
3331 | fi |
3318 | fi |
3332 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3319 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3333 | fi |
3320 | fi |
3334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3321 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3335 | $as_echo "$ac_cv_objext" >&6; } |
3322 | $as_echo "$ac_cv_objext" >&6; } |
3336 | OBJEXT=$ac_cv_objext |
3323 | OBJEXT=$ac_cv_objext |
3337 | ac_objext=$OBJEXT |
3324 | ac_objext=$OBJEXT |
3338 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3325 | { $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; } |
3326 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3340 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3327 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3341 | $as_echo_n "(cached) " >&6 |
3328 | $as_echo_n "(cached) " >&6 |
3342 | else |
3329 | else |
3343 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3330 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3344 | /* end confdefs.h. */ |
3331 | /* end confdefs.h. */ |
3345 | |
3332 | |
… | |
… | |
3372 | fi |
3359 | fi |
3373 | ac_test_CFLAGS=${CFLAGS+set} |
3360 | ac_test_CFLAGS=${CFLAGS+set} |
3374 | ac_save_CFLAGS=$CFLAGS |
3361 | ac_save_CFLAGS=$CFLAGS |
3375 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3362 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3376 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3363 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3377 | if ${ac_cv_prog_cc_g+:} false; then : |
3364 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
3378 | $as_echo_n "(cached) " >&6 |
3365 | $as_echo_n "(cached) " >&6 |
3379 | else |
3366 | else |
3380 | ac_save_c_werror_flag=$ac_c_werror_flag |
3367 | ac_save_c_werror_flag=$ac_c_werror_flag |
3381 | ac_c_werror_flag=yes |
3368 | ac_c_werror_flag=yes |
3382 | ac_cv_prog_cc_g=no |
3369 | ac_cv_prog_cc_g=no |
… | |
… | |
3450 | CFLAGS= |
3437 | CFLAGS= |
3451 | fi |
3438 | fi |
3452 | fi |
3439 | fi |
3453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3440 | { $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; } |
3441 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3455 | if ${ac_cv_prog_cc_c89+:} false; then : |
3442 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3456 | $as_echo_n "(cached) " >&6 |
3443 | $as_echo_n "(cached) " >&6 |
3457 | else |
3444 | else |
3458 | ac_cv_prog_cc_c89=no |
3445 | ac_cv_prog_cc_c89=no |
3459 | ac_save_CC=$CC |
3446 | ac_save_CC=$CC |
3460 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3447 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
3561 | do |
3548 | do |
3562 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3549 | # 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 |
3550 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3551 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3565 | $as_echo_n "checking for $ac_word... " >&6; } |
3552 | $as_echo_n "checking for $ac_word... " >&6; } |
3566 | if ${ac_cv_prog_CXX+:} false; then : |
3553 | if test "${ac_cv_prog_CXX+set}" = set; then : |
3567 | $as_echo_n "(cached) " >&6 |
3554 | $as_echo_n "(cached) " >&6 |
3568 | else |
3555 | else |
3569 | if test -n "$CXX"; then |
3556 | if test -n "$CXX"; then |
3570 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3557 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3571 | else |
3558 | else |
… | |
… | |
3605 | do |
3592 | do |
3606 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3593 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3607 | set dummy $ac_prog; ac_word=$2 |
3594 | set dummy $ac_prog; ac_word=$2 |
3608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3609 | $as_echo_n "checking for $ac_word... " >&6; } |
3596 | $as_echo_n "checking for $ac_word... " >&6; } |
3610 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3597 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
3611 | $as_echo_n "(cached) " >&6 |
3598 | $as_echo_n "(cached) " >&6 |
3612 | else |
3599 | else |
3613 | if test -n "$ac_ct_CXX"; then |
3600 | if test -n "$ac_ct_CXX"; then |
3614 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3601 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3615 | else |
3602 | else |
… | |
… | |
3683 | test $ac_status = 0; } |
3670 | test $ac_status = 0; } |
3684 | done |
3671 | done |
3685 | |
3672 | |
3686 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3673 | { $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; } |
3674 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3688 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
3675 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
3689 | $as_echo_n "(cached) " >&6 |
3676 | $as_echo_n "(cached) " >&6 |
3690 | else |
3677 | else |
3691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3678 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3692 | /* end confdefs.h. */ |
3679 | /* end confdefs.h. */ |
3693 | |
3680 | |
… | |
… | |
3720 | fi |
3707 | fi |
3721 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3708 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3722 | ac_save_CXXFLAGS=$CXXFLAGS |
3709 | ac_save_CXXFLAGS=$CXXFLAGS |
3723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3710 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3724 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3711 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3725 | if ${ac_cv_prog_cxx_g+:} false; then : |
3712 | if test "${ac_cv_prog_cxx_g+set}" = set; then : |
3726 | $as_echo_n "(cached) " >&6 |
3713 | $as_echo_n "(cached) " >&6 |
3727 | else |
3714 | else |
3728 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3715 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3729 | ac_cxx_werror_flag=yes |
3716 | ac_cxx_werror_flag=yes |
3730 | ac_cv_prog_cxx_g=no |
3717 | ac_cv_prog_cxx_g=no |
… | |
… | |
3796 | CXXFLAGS="-O2" |
3783 | CXXFLAGS="-O2" |
3797 | else |
3784 | else |
3798 | CXXFLAGS= |
3785 | CXXFLAGS= |
3799 | fi |
3786 | fi |
3800 | fi |
3787 | 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 |
3788 | ac_ext=c |
3939 | ac_cpp='$CPP $CPPFLAGS' |
3789 | ac_cpp='$CPP $CPPFLAGS' |
3940 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3790 | 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' |
3791 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3942 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3792 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3956 | # ./install, which can be erroneously created by make from ./install.sh. |
3806 | # ./install, which can be erroneously created by make from ./install.sh. |
3957 | # Reject install programs that cannot install multiple files. |
3807 | # Reject install programs that cannot install multiple files. |
3958 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3808 | { $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; } |
3809 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3960 | if test -z "$INSTALL"; then |
3810 | if test -z "$INSTALL"; then |
3961 | if ${ac_cv_path_install+:} false; then : |
3811 | if test "${ac_cv_path_install+set}" = set; then : |
3962 | $as_echo_n "(cached) " >&6 |
3812 | $as_echo_n "(cached) " >&6 |
3963 | else |
3813 | else |
3964 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3814 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3965 | for as_dir in $PATH |
3815 | for as_dir in $PATH |
3966 | do |
3816 | do |
… | |
… | |
4034 | |
3884 | |
4035 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3885 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4036 | |
3886 | |
4037 | |
3887 | |
4038 | |
3888 | |
|
|
3889 | ac_ext=c |
|
|
3890 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3891 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3892 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3893 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3894 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3895 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3896 | # On Suns, sometimes $CPP names a directory. |
|
|
3897 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3898 | CPP= |
|
|
3899 | fi |
|
|
3900 | if test -z "$CPP"; then |
|
|
3901 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
3902 | $as_echo_n "(cached) " >&6 |
|
|
3903 | else |
|
|
3904 | # Double quotes because CPP needs to be expanded |
|
|
3905 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3906 | do |
|
|
3907 | ac_preproc_ok=false |
|
|
3908 | for ac_c_preproc_warn_flag in '' yes |
|
|
3909 | do |
|
|
3910 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3911 | # with a fresh cross-compiler works. |
|
|
3912 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3913 | # <limits.h> exists even on freestanding compilers. |
|
|
3914 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3915 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3917 | /* end confdefs.h. */ |
|
|
3918 | #ifdef __STDC__ |
|
|
3919 | # include <limits.h> |
|
|
3920 | #else |
|
|
3921 | # include <assert.h> |
|
|
3922 | #endif |
|
|
3923 | Syntax error |
|
|
3924 | _ACEOF |
|
|
3925 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3926 | |
|
|
3927 | else |
|
|
3928 | # Broken: fails on valid input. |
|
|
3929 | continue |
|
|
3930 | fi |
|
|
3931 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3932 | |
|
|
3933 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3934 | # can be detected and how. |
|
|
3935 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3936 | /* end confdefs.h. */ |
|
|
3937 | #include <ac_nonexistent.h> |
|
|
3938 | _ACEOF |
|
|
3939 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3940 | # Broken: success on invalid input. |
|
|
3941 | continue |
|
|
3942 | else |
|
|
3943 | # Passes both tests. |
|
|
3944 | ac_preproc_ok=: |
|
|
3945 | break |
|
|
3946 | fi |
|
|
3947 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3948 | |
|
|
3949 | done |
|
|
3950 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3951 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3952 | if $ac_preproc_ok; then : |
|
|
3953 | break |
|
|
3954 | fi |
|
|
3955 | |
|
|
3956 | done |
|
|
3957 | ac_cv_prog_CPP=$CPP |
|
|
3958 | |
|
|
3959 | fi |
|
|
3960 | CPP=$ac_cv_prog_CPP |
|
|
3961 | else |
|
|
3962 | ac_cv_prog_CPP=$CPP |
|
|
3963 | fi |
|
|
3964 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3965 | $as_echo "$CPP" >&6; } |
|
|
3966 | ac_preproc_ok=false |
|
|
3967 | for ac_c_preproc_warn_flag in '' yes |
|
|
3968 | do |
|
|
3969 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3970 | # with a fresh cross-compiler works. |
|
|
3971 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3972 | # <limits.h> exists even on freestanding compilers. |
|
|
3973 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3974 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3975 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3976 | /* end confdefs.h. */ |
|
|
3977 | #ifdef __STDC__ |
|
|
3978 | # include <limits.h> |
|
|
3979 | #else |
|
|
3980 | # include <assert.h> |
|
|
3981 | #endif |
|
|
3982 | Syntax error |
|
|
3983 | _ACEOF |
|
|
3984 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3985 | |
|
|
3986 | else |
|
|
3987 | # Broken: fails on valid input. |
|
|
3988 | continue |
|
|
3989 | fi |
|
|
3990 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3991 | |
|
|
3992 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3993 | # can be detected and how. |
|
|
3994 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3995 | /* end confdefs.h. */ |
|
|
3996 | #include <ac_nonexistent.h> |
|
|
3997 | _ACEOF |
|
|
3998 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3999 | # Broken: success on invalid input. |
|
|
4000 | continue |
|
|
4001 | else |
|
|
4002 | # Passes both tests. |
|
|
4003 | ac_preproc_ok=: |
|
|
4004 | break |
|
|
4005 | fi |
|
|
4006 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4007 | |
|
|
4008 | done |
|
|
4009 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4010 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4011 | if $ac_preproc_ok; then : |
|
|
4012 | |
|
|
4013 | else |
|
|
4014 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
4015 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
4016 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
4017 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
4018 | fi |
|
|
4019 | |
|
|
4020 | ac_ext=c |
|
|
4021 | ac_cpp='$CPP $CPPFLAGS' |
|
|
4022 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4023 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4024 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
4025 | |
4039 | |
4026 | |
4040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4027 | { $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; } |
4028 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4042 | if ${ac_cv_path_GREP+:} false; then : |
4029 | if test "${ac_cv_path_GREP+set}" = set; then : |
4043 | $as_echo_n "(cached) " >&6 |
4030 | $as_echo_n "(cached) " >&6 |
4044 | else |
4031 | else |
4045 | if test -z "$GREP"; then |
4032 | if test -z "$GREP"; then |
4046 | ac_path_GREP_found=false |
4033 | ac_path_GREP_found=false |
4047 | # Loop through the user's path and test for each of PROGNAME-LIST |
4034 | # Loop through the user's path and test for each of PROGNAME-LIST |
… | |
… | |
4100 | GREP="$ac_cv_path_GREP" |
4087 | GREP="$ac_cv_path_GREP" |
4101 | |
4088 | |
4102 | |
4089 | |
4103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4104 | $as_echo_n "checking for egrep... " >&6; } |
4091 | $as_echo_n "checking for egrep... " >&6; } |
4105 | if ${ac_cv_path_EGREP+:} false; then : |
4092 | if test "${ac_cv_path_EGREP+set}" = set; then : |
4106 | $as_echo_n "(cached) " >&6 |
4093 | $as_echo_n "(cached) " >&6 |
4107 | else |
4094 | else |
4108 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4095 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4109 | then ac_cv_path_EGREP="$GREP -E" |
4096 | then ac_cv_path_EGREP="$GREP -E" |
4110 | else |
4097 | else |
… | |
… | |
4167 | EGREP="$ac_cv_path_EGREP" |
4154 | EGREP="$ac_cv_path_EGREP" |
4168 | |
4155 | |
4169 | |
4156 | |
4170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4157 | { $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; } |
4158 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4172 | if ${ac_cv_header_stdc+:} false; then : |
4159 | if test "${ac_cv_header_stdc+set}" = set; then : |
4173 | $as_echo_n "(cached) " >&6 |
4160 | $as_echo_n "(cached) " >&6 |
4174 | else |
4161 | else |
4175 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4162 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4176 | /* end confdefs.h. */ |
4163 | /* end confdefs.h. */ |
4177 | #include <stdlib.h> |
4164 | #include <stdlib.h> |
… | |
… | |
4296 | done |
4283 | done |
4297 | |
4284 | |
4298 | |
4285 | |
4299 | |
4286 | |
4300 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
4287 | 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 : |
4288 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
4302 | MINIX=yes |
4289 | MINIX=yes |
4303 | else |
4290 | else |
4304 | MINIX= |
4291 | MINIX= |
4305 | fi |
4292 | fi |
4306 | |
4293 | |
… | |
… | |
4318 | fi |
4305 | fi |
4319 | |
4306 | |
4320 | |
4307 | |
4321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
4308 | { $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; } |
4309 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4323 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
4310 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
4324 | $as_echo_n "(cached) " >&6 |
4311 | $as_echo_n "(cached) " >&6 |
4325 | else |
4312 | else |
4326 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4313 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4327 | /* end confdefs.h. */ |
4314 | /* end confdefs.h. */ |
4328 | |
4315 | |
… | |
… | |
4359 | |
4346 | |
4360 | |
4347 | |
4361 | |
4348 | |
4362 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4349 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
4363 | $as_echo_n "checking for library containing strerror... " >&6; } |
4350 | $as_echo_n "checking for library containing strerror... " >&6; } |
4364 | if ${ac_cv_search_strerror+:} false; then : |
4351 | if test "${ac_cv_search_strerror+set}" = set; then : |
4365 | $as_echo_n "(cached) " >&6 |
4352 | $as_echo_n "(cached) " >&6 |
4366 | else |
4353 | else |
4367 | ac_func_search_save_LIBS=$LIBS |
4354 | ac_func_search_save_LIBS=$LIBS |
4368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4355 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4369 | /* end confdefs.h. */ |
4356 | /* end confdefs.h. */ |
… | |
… | |
4393 | if ac_fn_c_try_link "$LINENO"; then : |
4380 | if ac_fn_c_try_link "$LINENO"; then : |
4394 | ac_cv_search_strerror=$ac_res |
4381 | ac_cv_search_strerror=$ac_res |
4395 | fi |
4382 | fi |
4396 | rm -f core conftest.err conftest.$ac_objext \ |
4383 | rm -f core conftest.err conftest.$ac_objext \ |
4397 | conftest$ac_exeext |
4384 | conftest$ac_exeext |
4398 | if ${ac_cv_search_strerror+:} false; then : |
4385 | if test "${ac_cv_search_strerror+set}" = set; then : |
4399 | break |
4386 | break |
4400 | fi |
4387 | fi |
4401 | done |
4388 | done |
4402 | if ${ac_cv_search_strerror+:} false; then : |
4389 | if test "${ac_cv_search_strerror+set}" = set; then : |
4403 | |
4390 | |
4404 | else |
4391 | else |
4405 | ac_cv_search_strerror=no |
4392 | ac_cv_search_strerror=no |
4406 | fi |
4393 | fi |
4407 | rm conftest.$ac_ext |
4394 | rm conftest.$ac_ext |
… | |
… | |
4420 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4407 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4421 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4408 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4422 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4409 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4423 | |
4410 | |
4424 | |
4411 | |
|
|
4412 | LINKER="$CXX" |
4425 | if test x$GCC = xyes && test x$GXX = xyes; then |
4413 | if test x$GCC = xyes && test x$GXX = xyes; then |
4426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 |
4427 | $as_echo_n "checking for working libsupc++... " >&6; } |
4415 | $as_echo_n "checking for working libsupc++... " >&6; } |
4428 | save_CXX="$CXX" |
4416 | save_CXX="$CXX" |
4429 | save_LIBS="$LIBS" |
4417 | save_LIBS="$LIBS" |
4430 | CXX="$CC" |
4418 | CXX="$CC" |
4431 | LIBS="$LIBS -lsupc++" |
4419 | LIBS="$LIBS -lsupc++" |
4432 | LINKER="$CC" |
|
|
4433 | |
4420 | |
4434 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4421 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4435 | /* end confdefs.h. */ |
4422 | /* end confdefs.h. */ |
4436 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4423 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
4437 | int |
4424 | int |
… | |
… | |
4443 | } |
4430 | } |
4444 | _ACEOF |
4431 | _ACEOF |
4445 | if ac_fn_cxx_try_link "$LINENO"; then : |
4432 | if ac_fn_cxx_try_link "$LINENO"; then : |
4446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4433 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
4447 | $as_echo "ok" >&6; } |
4434 | $as_echo "ok" >&6; } |
|
|
4435 | LINKER="$CC" |
4448 | else |
4436 | else |
4449 | |
4437 | |
4450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 |
4451 | $as_echo "no, making everything bigger and slower" >&6; } |
4439 | $as_echo "no, making everything bigger and slower" >&6; } |
4452 | LIBS="$save_LIBS" |
4440 | LIBS="$save_LIBS" |
4453 | LINKER="$save_CXX" |
|
|
4454 | |
4441 | |
4455 | |
4442 | |
4456 | fi |
4443 | fi |
4457 | rm -f core conftest.err conftest.$ac_objext \ |
4444 | rm -f core conftest.err conftest.$ac_objext \ |
4458 | conftest$ac_exeext conftest.$ac_ext |
4445 | conftest$ac_exeext conftest.$ac_ext |
… | |
… | |
4485 | CXXFLAGS="-O" |
4472 | CXXFLAGS="-O" |
4486 | fi |
4473 | fi |
4487 | CFLAGS="$CXXFLAGS" |
4474 | CFLAGS="$CXXFLAGS" |
4488 | fi |
4475 | fi |
4489 | |
4476 | |
4490 | case $host in |
|
|
4491 | *-*-solaris* ) |
|
|
4492 | |
|
|
4493 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
4494 | |
|
|
4495 | ;; |
|
|
4496 | esac |
|
|
4497 | |
|
|
4498 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 |
4499 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4478 | $as_echo_n "checking for library containing setlocale... " >&6; } |
4500 | if ${ac_cv_search_setlocale+:} false; then : |
4479 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4501 | $as_echo_n "(cached) " >&6 |
4480 | $as_echo_n "(cached) " >&6 |
4502 | else |
4481 | else |
4503 | ac_func_search_save_LIBS=$LIBS |
4482 | ac_func_search_save_LIBS=$LIBS |
4504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4483 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4505 | /* end confdefs.h. */ |
4484 | /* end confdefs.h. */ |
… | |
… | |
4529 | if ac_fn_cxx_try_link "$LINENO"; then : |
4508 | if ac_fn_cxx_try_link "$LINENO"; then : |
4530 | ac_cv_search_setlocale=$ac_res |
4509 | ac_cv_search_setlocale=$ac_res |
4531 | fi |
4510 | fi |
4532 | rm -f core conftest.err conftest.$ac_objext \ |
4511 | rm -f core conftest.err conftest.$ac_objext \ |
4533 | conftest$ac_exeext |
4512 | conftest$ac_exeext |
4534 | if ${ac_cv_search_setlocale+:} false; then : |
4513 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4535 | break |
4514 | break |
4536 | fi |
4515 | fi |
4537 | done |
4516 | done |
4538 | if ${ac_cv_search_setlocale+:} false; then : |
4517 | if test "${ac_cv_search_setlocale+set}" = set; then : |
4539 | |
4518 | |
4540 | else |
4519 | else |
4541 | ac_cv_search_setlocale=no |
4520 | ac_cv_search_setlocale=no |
4542 | fi |
4521 | fi |
4543 | rm conftest.$ac_ext |
4522 | rm conftest.$ac_ext |
… | |
… | |
4552 | fi |
4531 | fi |
4553 | |
4532 | |
4554 | |
4533 | |
4555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
4534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
4556 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4535 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
4557 | if ${ac_cv_search_gethostbyname+:} false; then : |
4536 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4558 | $as_echo_n "(cached) " >&6 |
4537 | $as_echo_n "(cached) " >&6 |
4559 | else |
4538 | else |
4560 | ac_func_search_save_LIBS=$LIBS |
4539 | ac_func_search_save_LIBS=$LIBS |
4561 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4540 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4562 | /* end confdefs.h. */ |
4541 | /* end confdefs.h. */ |
… | |
… | |
4586 | if ac_fn_cxx_try_link "$LINENO"; then : |
4565 | if ac_fn_cxx_try_link "$LINENO"; then : |
4587 | ac_cv_search_gethostbyname=$ac_res |
4566 | ac_cv_search_gethostbyname=$ac_res |
4588 | fi |
4567 | fi |
4589 | rm -f core conftest.err conftest.$ac_objext \ |
4568 | rm -f core conftest.err conftest.$ac_objext \ |
4590 | conftest$ac_exeext |
4569 | conftest$ac_exeext |
4591 | if ${ac_cv_search_gethostbyname+:} false; then : |
4570 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4592 | break |
4571 | break |
4593 | fi |
4572 | fi |
4594 | done |
4573 | done |
4595 | if ${ac_cv_search_gethostbyname+:} false; then : |
4574 | if test "${ac_cv_search_gethostbyname+set}" = set; then : |
4596 | |
4575 | |
4597 | else |
4576 | else |
4598 | ac_cv_search_gethostbyname=no |
4577 | ac_cv_search_gethostbyname=no |
4599 | fi |
4578 | fi |
4600 | rm conftest.$ac_ext |
4579 | rm conftest.$ac_ext |
… | |
… | |
4608 | |
4587 | |
4609 | fi |
4588 | fi |
4610 | |
4589 | |
4611 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
4590 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
4612 | $as_echo_n "checking for library containing socket... " >&6; } |
4591 | $as_echo_n "checking for library containing socket... " >&6; } |
4613 | if ${ac_cv_search_socket+:} false; then : |
4592 | if test "${ac_cv_search_socket+set}" = set; then : |
4614 | $as_echo_n "(cached) " >&6 |
4593 | $as_echo_n "(cached) " >&6 |
4615 | else |
4594 | else |
4616 | ac_func_search_save_LIBS=$LIBS |
4595 | ac_func_search_save_LIBS=$LIBS |
4617 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4596 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4618 | /* end confdefs.h. */ |
4597 | /* end confdefs.h. */ |
… | |
… | |
4642 | if ac_fn_cxx_try_link "$LINENO"; then : |
4621 | if ac_fn_cxx_try_link "$LINENO"; then : |
4643 | ac_cv_search_socket=$ac_res |
4622 | ac_cv_search_socket=$ac_res |
4644 | fi |
4623 | fi |
4645 | rm -f core conftest.err conftest.$ac_objext \ |
4624 | rm -f core conftest.err conftest.$ac_objext \ |
4646 | conftest$ac_exeext |
4625 | conftest$ac_exeext |
4647 | if ${ac_cv_search_socket+:} false; then : |
4626 | if test "${ac_cv_search_socket+set}" = set; then : |
4648 | break |
4627 | break |
4649 | fi |
4628 | fi |
4650 | done |
4629 | done |
4651 | if ${ac_cv_search_socket+:} false; then : |
4630 | if test "${ac_cv_search_socket+set}" = set; then : |
4652 | |
4631 | |
4653 | else |
4632 | else |
4654 | ac_cv_search_socket=no |
4633 | ac_cv_search_socket=no |
4655 | fi |
4634 | fi |
4656 | rm conftest.$ac_ext |
4635 | rm conftest.$ac_ext |
… | |
… | |
4678 | support_scroll_next=yes |
4657 | support_scroll_next=yes |
4679 | support_scroll_xterm=yes |
4658 | support_scroll_xterm=yes |
4680 | support_xim=yes |
4659 | support_xim=yes |
4681 | support_pixbuf=yes |
4660 | support_pixbuf=yes |
4682 | support_startup_notification=yes |
4661 | support_startup_notification=yes |
4683 | support_afterimage=yes |
|
|
4684 | support_xft=yes |
4662 | support_xft=yes |
4685 | support_unicode3=no |
4663 | support_unicode3=no |
4686 | support_combining=yes |
4664 | support_combining=yes |
4687 | support_8bitctrls=no |
4665 | support_8bitctrls=no |
4688 | support_iso14755=yes |
4666 | support_iso14755=yes |
4689 | support_styles=yes |
4667 | support_styles=yes |
4690 | support_perl=yes |
4668 | support_perl=yes |
|
|
4669 | support_xdbe=yes |
4691 | codesets=all |
4670 | codesets=all |
4692 | |
4671 | |
4693 | |
4672 | |
4694 | # Check whether --enable-everything was given. |
4673 | # Check whether --enable-everything was given. |
4695 | if test "${enable_everything+set}" = set; then : |
4674 | if test "${enable_everything+set}" = set; then : |
4696 | enableval=$enable_everything; |
4675 | enableval=$enable_everything; |
4697 | if test x$enableval = xno; then |
4676 | if test x$enableval = xno; then |
4698 | support_frills=no |
4677 | support_frills=no |
|
|
4678 | support_xdbe=no |
4699 | support_inheritpixmap=no |
4679 | support_inheritpixmap=no |
4700 | support_fading=no |
4680 | support_fading=no |
4701 | support_keepscrolling=no |
4681 | support_keepscrolling=no |
4702 | support_selectionscrolling=no |
4682 | support_selectionscrolling=no |
4703 | support_lastlog=no |
4683 | support_lastlog=no |
… | |
… | |
4711 | support_utmp=no |
4691 | support_utmp=no |
4712 | support_wtmp=no |
4692 | support_wtmp=no |
4713 | support_xim=no |
4693 | support_xim=no |
4714 | support_pixbuf=no |
4694 | support_pixbuf=no |
4715 | support_startup_notification=no |
4695 | support_startup_notification=no |
4716 | support_afterimage=no |
|
|
4717 | support_xft=no |
4696 | support_xft=no |
4718 | support_unicode3=no |
4697 | support_unicode3=no |
4719 | support_combining=no |
4698 | support_combining=no |
4720 | support_8bitctrls=no |
4699 | support_8bitctrls=no |
4721 | support_iso14755=no |
4700 | support_iso14755=no |
4722 | support_styles=no |
4701 | support_styles=no |
4723 | support_perl=no |
4702 | support_perl=no |
|
|
4703 | support_xdbe=no |
4724 | codesets= |
4704 | codesets= |
4725 | fi |
4705 | fi |
4726 | if test x$enableval = xyes; then |
4706 | if test x$enableval = xyes; then |
4727 | support_frills=yes |
4707 | support_frills=yes |
4728 | support_inheritpixmap=yes |
4708 | support_inheritpixmap=yes |
… | |
… | |
4740 | support_utmp=yes |
4720 | support_utmp=yes |
4741 | support_wtmp=yes |
4721 | support_wtmp=yes |
4742 | support_xim=yes |
4722 | support_xim=yes |
4743 | support_pixbuf=yes |
4723 | support_pixbuf=yes |
4744 | support_startup_notification=yes |
4724 | support_startup_notification=yes |
4745 | support_afterimage=yes |
|
|
4746 | support_xft=yes |
4725 | support_xft=yes |
4747 | support_unicode3=yes |
4726 | support_unicode3=yes |
4748 | support_combining=yes |
4727 | support_combining=yes |
4749 | #support_8bitctrls=yes |
4728 | #support_8bitctrls=yes |
4750 | support_iso14755=yes |
4729 | support_iso14755=yes |
4751 | support_styles=yes |
4730 | support_styles=yes |
4752 | support_perl=yes |
4731 | support_perl=yes |
|
|
4732 | support_xdbe=yes |
4753 | codesets=all |
4733 | codesets=all |
4754 | fi |
4734 | fi |
4755 | |
4735 | |
4756 | fi |
4736 | fi |
4757 | |
4737 | |
4758 | |
4738 | |
4759 | ASSERTIONS=no |
4739 | support_assertions=no |
4760 | # Check whether --enable-assert was given. |
4740 | # Check whether --enable-assert was given. |
4761 | if test "${enable_assert+set}" = set; then : |
4741 | if test "${enable_assert+set}" = set; then : |
4762 | enableval=$enable_assert; if test x$enableval = xyes; then |
4742 | enableval=$enable_assert; if test x$enableval = xyes; then |
4763 | ASSERTIONS=yes |
4743 | support_assertions=yes |
4764 | fi |
4744 | fi |
4765 | fi |
4745 | fi |
4766 | |
4746 | |
4767 | if test x$ASSERTIONS = xno; then |
4747 | if test x$support_assertions = xno; then |
4768 | |
4748 | |
4769 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4749 | $as_echo "#define NDEBUG 1" >>confdefs.h |
4770 | |
4750 | |
4771 | fi |
4751 | fi |
4772 | |
4752 | |
4773 | WARNINGS=no |
4753 | support_warnings=no |
4774 | # Check whether --enable-warnings was given. |
4754 | # Check whether --enable-warnings was given. |
4775 | if test "${enable_warnings+set}" = set; then : |
4755 | if test "${enable_warnings+set}" = set; then : |
4776 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4756 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4777 | WARNINGS=yes |
4757 | support_warnings=yes |
4778 | fi |
4758 | fi |
4779 | fi |
4759 | fi |
4780 | |
4760 | |
4781 | if test x$GXX = xyes; then |
4761 | if test x$GXX = xyes; then |
4782 | if test $WARNINGS = yes; then |
4762 | if test $support_warnings = yes; then |
4783 | save_CXXFLAGS="$CXXFLAGS" |
4763 | save_CXXFLAGS="$CXXFLAGS" |
4784 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
4764 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" |
4785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4765 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4786 | /* end confdefs.h. */ |
4766 | /* end confdefs.h. */ |
4787 | |
4767 | |
4788 | int |
4768 | int |
4789 | main () |
4769 | main () |
… | |
… | |
4844 | |
4824 | |
4845 | # Check whether --enable-font-styles was given. |
4825 | # Check whether --enable-font-styles was given. |
4846 | if test "${enable_font_styles+set}" = set; then : |
4826 | if test "${enable_font_styles+set}" = set; then : |
4847 | enableval=$enable_font_styles; if test x$enableval = xyes -o x$enableval = xno; then |
4827 | enableval=$enable_font_styles; if test x$enableval = xyes -o x$enableval = xno; then |
4848 | support_styles=$enableval |
4828 | support_styles=$enableval |
4849 | fi |
|
|
4850 | fi |
|
|
4851 | |
|
|
4852 | |
|
|
4853 | # Check whether --enable-afterimage was given. |
|
|
4854 | if test "${enable_afterimage+set}" = set; then : |
|
|
4855 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4856 | support_afterimage=$enableval |
|
|
4857 | fi |
|
|
4858 | fi |
|
|
4859 | |
|
|
4860 | |
|
|
4861 | |
|
|
4862 | # Check whether --with-afterimage_config was given. |
|
|
4863 | if test "${with_afterimage_config+set}" = set; then : |
|
|
4864 | withval=$with_afterimage_config; if test "x$withval" != x; then |
|
|
4865 | afterimage_config=$withval/afterimage-config |
|
|
4866 | fi |
4829 | fi |
4867 | fi |
4830 | fi |
4868 | |
4831 | |
4869 | |
4832 | |
4870 | # Check whether --enable-pixbuf was given. |
4833 | # Check whether --enable-pixbuf was given. |
… | |
… | |
5148 | |
5111 | |
5149 | cat >>confdefs.h <<_ACEOF |
5112 | cat >>confdefs.h <<_ACEOF |
5150 | #define RXVT_TERMINFO "$withval" |
5113 | #define RXVT_TERMINFO "$withval" |
5151 | _ACEOF |
5114 | _ACEOF |
5152 | terminfo="$withval" |
5115 | terminfo="$withval" |
|
|
5116 | fi |
|
|
5117 | fi |
|
|
5118 | |
|
|
5119 | |
|
|
5120 | # Check whether --enable-xdbe was given. |
|
|
5121 | if test "${enable_xdbe+set}" = set; then : |
|
|
5122 | enableval=$enable_xdbe; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
5123 | support_xdbe=$enableval |
5153 | fi |
5124 | fi |
5154 | fi |
5125 | fi |
5155 | |
5126 | |
5156 | |
5127 | |
5157 | |
5128 | |
… | |
… | |
5163 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5134 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5164 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5135 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
5136 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
5166 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5137 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
5167 | if test -z "$CXXCPP"; then |
5138 | if test -z "$CXXCPP"; then |
5168 | if ${ac_cv_prog_CXXCPP+:} false; then : |
5139 | if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
5169 | $as_echo_n "(cached) " >&6 |
5140 | $as_echo_n "(cached) " >&6 |
5170 | else |
5141 | else |
5171 | # Double quotes because CXXCPP needs to be expanded |
5142 | # Double quotes because CXXCPP needs to be expanded |
5172 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5143 | for CXXCPP in "$CXX -E" "/lib/cpp" |
5173 | do |
5144 | do |
… | |
… | |
5279 | |
5250 | |
5280 | else |
5251 | else |
5281 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5252 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5282 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5253 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5283 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5254 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5284 | See \`config.log' for more details" "$LINENO" 5; } |
5255 | See \`config.log' for more details" "$LINENO" 5 ; } |
5285 | fi |
5256 | fi |
5286 | |
5257 | |
5287 | ac_ext=cpp |
5258 | ac_ext=cpp |
5288 | ac_cpp='$CXXCPP $CPPFLAGS' |
5259 | ac_cpp='$CXXCPP $CPPFLAGS' |
5289 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5260 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5319 | |
5290 | |
5320 | |
5291 | |
5321 | for ac_func in clock_gettime |
5292 | for ac_func in clock_gettime |
5322 | do : |
5293 | do : |
5323 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5294 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5324 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5295 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5325 | cat >>confdefs.h <<_ACEOF |
5296 | cat >>confdefs.h <<_ACEOF |
5326 | #define HAVE_CLOCK_GETTIME 1 |
5297 | #define HAVE_CLOCK_GETTIME 1 |
5327 | _ACEOF |
5298 | _ACEOF |
5328 | |
5299 | |
5329 | else |
5300 | else |
… | |
… | |
5359 | conftest$ac_exeext conftest.$ac_ext |
5330 | conftest$ac_exeext conftest.$ac_ext |
5360 | fi |
5331 | fi |
5361 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5332 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5362 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
5333 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
5363 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5334 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
5364 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
5335 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then : |
5365 | $as_echo_n "(cached) " >&6 |
5336 | $as_echo_n "(cached) " >&6 |
5366 | else |
5337 | else |
5367 | ac_check_lib_save_LIBS=$LIBS |
5338 | ac_check_lib_save_LIBS=$LIBS |
5368 | LIBS="-lrt $LIBS" |
5339 | LIBS="-lrt $LIBS" |
5369 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5340 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5393 | conftest$ac_exeext conftest.$ac_ext |
5364 | conftest$ac_exeext conftest.$ac_ext |
5394 | LIBS=$ac_check_lib_save_LIBS |
5365 | LIBS=$ac_check_lib_save_LIBS |
5395 | fi |
5366 | fi |
5396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
5367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
5397 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5368 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
5398 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
5369 | if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then : |
5399 | cat >>confdefs.h <<_ACEOF |
5370 | cat >>confdefs.h <<_ACEOF |
5400 | #define HAVE_LIBRT 1 |
5371 | #define HAVE_LIBRT 1 |
5401 | _ACEOF |
5372 | _ACEOF |
5402 | |
5373 | |
5403 | LIBS="-lrt $LIBS" |
5374 | LIBS="-lrt $LIBS" |
… | |
… | |
5406 | |
5377 | |
5407 | unset ac_cv_func_clock_gettime |
5378 | unset ac_cv_func_clock_gettime |
5408 | for ac_func in clock_gettime |
5379 | for ac_func in clock_gettime |
5409 | do : |
5380 | do : |
5410 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5381 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5411 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
5382 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5412 | cat >>confdefs.h <<_ACEOF |
5383 | cat >>confdefs.h <<_ACEOF |
5413 | #define HAVE_CLOCK_GETTIME 1 |
5384 | #define HAVE_CLOCK_GETTIME 1 |
5414 | _ACEOF |
5385 | _ACEOF |
5415 | |
5386 | |
5416 | fi |
5387 | fi |
… | |
… | |
5423 | |
5394 | |
5424 | |
5395 | |
5425 | for ac_func in nanosleep |
5396 | for ac_func in nanosleep |
5426 | do : |
5397 | do : |
5427 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5398 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5428 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5399 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5429 | cat >>confdefs.h <<_ACEOF |
5400 | cat >>confdefs.h <<_ACEOF |
5430 | #define HAVE_NANOSLEEP 1 |
5401 | #define HAVE_NANOSLEEP 1 |
5431 | _ACEOF |
5402 | _ACEOF |
5432 | |
5403 | |
5433 | else |
5404 | else |
5434 | |
5405 | |
5435 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5406 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5407 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5437 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5408 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
5438 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
5409 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : |
5439 | $as_echo_n "(cached) " >&6 |
5410 | $as_echo_n "(cached) " >&6 |
5440 | else |
5411 | else |
5441 | ac_check_lib_save_LIBS=$LIBS |
5412 | ac_check_lib_save_LIBS=$LIBS |
5442 | LIBS="-lrt $LIBS" |
5413 | LIBS="-lrt $LIBS" |
5443 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5414 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5467 | conftest$ac_exeext conftest.$ac_ext |
5438 | conftest$ac_exeext conftest.$ac_ext |
5468 | LIBS=$ac_check_lib_save_LIBS |
5439 | LIBS=$ac_check_lib_save_LIBS |
5469 | fi |
5440 | fi |
5470 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
5441 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
5471 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5442 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
5472 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
5443 | if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : |
5473 | cat >>confdefs.h <<_ACEOF |
5444 | cat >>confdefs.h <<_ACEOF |
5474 | #define HAVE_LIBRT 1 |
5445 | #define HAVE_LIBRT 1 |
5475 | _ACEOF |
5446 | _ACEOF |
5476 | |
5447 | |
5477 | LIBS="-lrt $LIBS" |
5448 | LIBS="-lrt $LIBS" |
… | |
… | |
5480 | |
5451 | |
5481 | unset ac_cv_func_nanosleep |
5452 | unset ac_cv_func_nanosleep |
5482 | for ac_func in nanosleep |
5453 | for ac_func in nanosleep |
5483 | do : |
5454 | do : |
5484 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5455 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5485 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
5456 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5486 | cat >>confdefs.h <<_ACEOF |
5457 | cat >>confdefs.h <<_ACEOF |
5487 | #define HAVE_NANOSLEEP 1 |
5458 | #define HAVE_NANOSLEEP 1 |
5488 | _ACEOF |
5459 | _ACEOF |
5489 | |
5460 | |
5490 | fi |
5461 | fi |
… | |
… | |
5499 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5470 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
5500 | LIBM=m |
5471 | LIBM=m |
5501 | fi |
5472 | fi |
5502 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5473 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5503 | $as_echo_n "checking for library containing floor... " >&6; } |
5474 | $as_echo_n "checking for library containing floor... " >&6; } |
5504 | if ${ac_cv_search_floor+:} false; then : |
5475 | if test "${ac_cv_search_floor+set}" = set; then : |
5505 | $as_echo_n "(cached) " >&6 |
5476 | $as_echo_n "(cached) " >&6 |
5506 | else |
5477 | else |
5507 | ac_func_search_save_LIBS=$LIBS |
5478 | ac_func_search_save_LIBS=$LIBS |
5508 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5479 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5509 | /* end confdefs.h. */ |
5480 | /* end confdefs.h. */ |
… | |
… | |
5533 | if ac_fn_cxx_try_link "$LINENO"; then : |
5504 | if ac_fn_cxx_try_link "$LINENO"; then : |
5534 | ac_cv_search_floor=$ac_res |
5505 | ac_cv_search_floor=$ac_res |
5535 | fi |
5506 | fi |
5536 | rm -f core conftest.err conftest.$ac_objext \ |
5507 | rm -f core conftest.err conftest.$ac_objext \ |
5537 | conftest$ac_exeext |
5508 | conftest$ac_exeext |
5538 | if ${ac_cv_search_floor+:} false; then : |
5509 | if test "${ac_cv_search_floor+set}" = set; then : |
5539 | break |
5510 | break |
5540 | fi |
5511 | fi |
5541 | done |
5512 | done |
5542 | if ${ac_cv_search_floor+:} false; then : |
5513 | if test "${ac_cv_search_floor+set}" = set; then : |
5543 | |
5514 | |
5544 | else |
5515 | else |
5545 | ac_cv_search_floor=no |
5516 | ac_cv_search_floor=no |
5546 | fi |
5517 | fi |
5547 | rm conftest.$ac_ext |
5518 | rm conftest.$ac_ext |
… | |
… | |
5563 | |
5534 | |
5564 | # Extract the first word of "tic", so it can be a program name with args. |
5535 | # Extract the first word of "tic", so it can be a program name with args. |
5565 | set dummy tic; ac_word=$2 |
5536 | set dummy tic; ac_word=$2 |
5566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5537 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5567 | $as_echo_n "checking for $ac_word... " >&6; } |
5538 | $as_echo_n "checking for $ac_word... " >&6; } |
5568 | if ${ac_cv_path_TIC+:} false; then : |
5539 | if test "${ac_cv_path_TIC+set}" = set; then : |
5569 | $as_echo_n "(cached) " >&6 |
5540 | $as_echo_n "(cached) " >&6 |
5570 | else |
5541 | else |
5571 | case $TIC in |
5542 | case $TIC in |
5572 | [\\/]* | ?:[\\/]*) |
5543 | [\\/]* | ?:[\\/]*) |
5573 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
5544 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
… | |
… | |
5616 | if test "x$with_x" = xno; then |
5587 | if test "x$with_x" = xno; then |
5617 | # The user explicitly disabled X. |
5588 | # The user explicitly disabled X. |
5618 | have_x=disabled |
5589 | have_x=disabled |
5619 | else |
5590 | else |
5620 | case $x_includes,$x_libraries in #( |
5591 | case $x_includes,$x_libraries in #( |
5621 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
5592 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( |
5622 | *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
5593 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
5623 | $as_echo_n "(cached) " >&6 |
5594 | $as_echo_n "(cached) " >&6 |
5624 | else |
5595 | else |
5625 | # One or both of the vars are not set, and there is no cached value. |
5596 | # One or both of the vars are not set, and there is no cached value. |
5626 | ac_x_includes=no ac_x_libraries=no |
5597 | ac_x_includes=no ac_x_libraries=no |
5627 | rm -f -r conftest.dir |
5598 | rm -f -r conftest.dir |
… | |
… | |
5894 | if ac_fn_cxx_try_link "$LINENO"; then : |
5865 | if ac_fn_cxx_try_link "$LINENO"; then : |
5895 | |
5866 | |
5896 | else |
5867 | else |
5897 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
5868 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 |
5898 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5869 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
5899 | if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : |
5870 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : |
5900 | $as_echo_n "(cached) " >&6 |
5871 | $as_echo_n "(cached) " >&6 |
5901 | else |
5872 | else |
5902 | ac_check_lib_save_LIBS=$LIBS |
5873 | ac_check_lib_save_LIBS=$LIBS |
5903 | LIBS="-ldnet $LIBS" |
5874 | LIBS="-ldnet $LIBS" |
5904 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5875 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5928 | conftest$ac_exeext conftest.$ac_ext |
5899 | conftest$ac_exeext conftest.$ac_ext |
5929 | LIBS=$ac_check_lib_save_LIBS |
5900 | LIBS=$ac_check_lib_save_LIBS |
5930 | fi |
5901 | fi |
5931 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
5902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
5932 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5903 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
5933 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : |
5904 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : |
5934 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5905 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
5935 | fi |
5906 | fi |
5936 | |
5907 | |
5937 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5908 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5938 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 |
5909 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 |
5939 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5910 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
5940 | if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : |
5911 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : |
5941 | $as_echo_n "(cached) " >&6 |
5912 | $as_echo_n "(cached) " >&6 |
5942 | else |
5913 | else |
5943 | ac_check_lib_save_LIBS=$LIBS |
5914 | ac_check_lib_save_LIBS=$LIBS |
5944 | LIBS="-ldnet_stub $LIBS" |
5915 | LIBS="-ldnet_stub $LIBS" |
5945 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5969 | conftest$ac_exeext conftest.$ac_ext |
5940 | conftest$ac_exeext conftest.$ac_ext |
5970 | LIBS=$ac_check_lib_save_LIBS |
5941 | LIBS=$ac_check_lib_save_LIBS |
5971 | fi |
5942 | fi |
5972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
5943 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
5973 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5944 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
5974 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : |
5945 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : |
5975 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5946 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
5976 | fi |
5947 | fi |
5977 | |
5948 | |
5978 | fi |
5949 | fi |
5979 | fi |
5950 | fi |
… | |
… | |
5988 | # The nsl library prevents programs from opening the X display |
5959 | # The nsl library prevents programs from opening the X display |
5989 | # on Irix 5.2, according to T.E. Dickey. |
5960 | # on Irix 5.2, according to T.E. Dickey. |
5990 | # The functions gethostbyname, getservbyname, and inet_addr are |
5961 | # The functions gethostbyname, getservbyname, and inet_addr are |
5991 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
5962 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
5992 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5963 | ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
5993 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
5964 | if test "x$ac_cv_func_gethostbyname" = x""yes; then : |
5994 | |
5965 | |
5995 | fi |
5966 | fi |
5996 | |
5967 | |
5997 | if test $ac_cv_func_gethostbyname = no; then |
5968 | if test $ac_cv_func_gethostbyname = no; then |
5998 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5999 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5970 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
6000 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
5971 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : |
6001 | $as_echo_n "(cached) " >&6 |
5972 | $as_echo_n "(cached) " >&6 |
6002 | else |
5973 | else |
6003 | ac_check_lib_save_LIBS=$LIBS |
5974 | ac_check_lib_save_LIBS=$LIBS |
6004 | LIBS="-lnsl $LIBS" |
5975 | LIBS="-lnsl $LIBS" |
6005 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6029 | conftest$ac_exeext conftest.$ac_ext |
6000 | conftest$ac_exeext conftest.$ac_ext |
6030 | LIBS=$ac_check_lib_save_LIBS |
6001 | LIBS=$ac_check_lib_save_LIBS |
6031 | fi |
6002 | fi |
6032 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
6003 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
6033 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
6004 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
6034 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
6005 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : |
6035 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
6006 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
6036 | fi |
6007 | fi |
6037 | |
6008 | |
6038 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
6009 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
6039 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
6010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 |
6040 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
6011 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
6041 | if ${ac_cv_lib_bsd_gethostbyname+:} false; then : |
6012 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : |
6042 | $as_echo_n "(cached) " >&6 |
6013 | $as_echo_n "(cached) " >&6 |
6043 | else |
6014 | else |
6044 | ac_check_lib_save_LIBS=$LIBS |
6015 | ac_check_lib_save_LIBS=$LIBS |
6045 | LIBS="-lbsd $LIBS" |
6016 | LIBS="-lbsd $LIBS" |
6046 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6017 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6070 | conftest$ac_exeext conftest.$ac_ext |
6041 | conftest$ac_exeext conftest.$ac_ext |
6071 | LIBS=$ac_check_lib_save_LIBS |
6042 | LIBS=$ac_check_lib_save_LIBS |
6072 | fi |
6043 | fi |
6073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
6044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
6074 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6045 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
6075 | if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : |
6046 | if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : |
6076 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6047 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
6077 | fi |
6048 | fi |
6078 | |
6049 | |
6079 | fi |
6050 | fi |
6080 | fi |
6051 | fi |
… | |
… | |
6085 | # on later versions), says Simon Leinen: it contains gethostby* |
6056 | # on later versions), says Simon Leinen: it contains gethostby* |
6086 | # variants that don't use the name server (or something). -lsocket |
6057 | # variants that don't use the name server (or something). -lsocket |
6087 | # must be given before -lnsl if both are needed. We assume that |
6058 | # must be given before -lnsl if both are needed. We assume that |
6088 | # if connect needs -lnsl, so does gethostbyname. |
6059 | # if connect needs -lnsl, so does gethostbyname. |
6089 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6060 | ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" |
6090 | if test "x$ac_cv_func_connect" = xyes; then : |
6061 | if test "x$ac_cv_func_connect" = x""yes; then : |
6091 | |
6062 | |
6092 | fi |
6063 | fi |
6093 | |
6064 | |
6094 | if test $ac_cv_func_connect = no; then |
6065 | if test $ac_cv_func_connect = no; then |
6095 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
6066 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
6096 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6067 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
6097 | if ${ac_cv_lib_socket_connect+:} false; then : |
6068 | if test "${ac_cv_lib_socket_connect+set}" = set; then : |
6098 | $as_echo_n "(cached) " >&6 |
6069 | $as_echo_n "(cached) " >&6 |
6099 | else |
6070 | else |
6100 | ac_check_lib_save_LIBS=$LIBS |
6071 | ac_check_lib_save_LIBS=$LIBS |
6101 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6072 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6102 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6073 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6126 | conftest$ac_exeext conftest.$ac_ext |
6097 | conftest$ac_exeext conftest.$ac_ext |
6127 | LIBS=$ac_check_lib_save_LIBS |
6098 | LIBS=$ac_check_lib_save_LIBS |
6128 | fi |
6099 | fi |
6129 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
6100 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
6130 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6101 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
6131 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
6102 | if test "x$ac_cv_lib_socket_connect" = x""yes; then : |
6132 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6103 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
6133 | fi |
6104 | fi |
6134 | |
6105 | |
6135 | fi |
6106 | fi |
6136 | |
6107 | |
6137 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6108 | # Guillermo Gomez says -lposix is necessary on A/UX. |
6138 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6109 | ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" |
6139 | if test "x$ac_cv_func_remove" = xyes; then : |
6110 | if test "x$ac_cv_func_remove" = x""yes; then : |
6140 | |
6111 | |
6141 | fi |
6112 | fi |
6142 | |
6113 | |
6143 | if test $ac_cv_func_remove = no; then |
6114 | if test $ac_cv_func_remove = no; then |
6144 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
6115 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 |
6145 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6116 | $as_echo_n "checking for remove in -lposix... " >&6; } |
6146 | if ${ac_cv_lib_posix_remove+:} false; then : |
6117 | if test "${ac_cv_lib_posix_remove+set}" = set; then : |
6147 | $as_echo_n "(cached) " >&6 |
6118 | $as_echo_n "(cached) " >&6 |
6148 | else |
6119 | else |
6149 | ac_check_lib_save_LIBS=$LIBS |
6120 | ac_check_lib_save_LIBS=$LIBS |
6150 | LIBS="-lposix $LIBS" |
6121 | LIBS="-lposix $LIBS" |
6151 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6122 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6175 | conftest$ac_exeext conftest.$ac_ext |
6146 | conftest$ac_exeext conftest.$ac_ext |
6176 | LIBS=$ac_check_lib_save_LIBS |
6147 | LIBS=$ac_check_lib_save_LIBS |
6177 | fi |
6148 | fi |
6178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
6149 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 |
6179 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6150 | $as_echo "$ac_cv_lib_posix_remove" >&6; } |
6180 | if test "x$ac_cv_lib_posix_remove" = xyes; then : |
6151 | if test "x$ac_cv_lib_posix_remove" = x""yes; then : |
6181 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6152 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
6182 | fi |
6153 | fi |
6183 | |
6154 | |
6184 | fi |
6155 | fi |
6185 | |
6156 | |
6186 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6157 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6187 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6158 | ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" |
6188 | if test "x$ac_cv_func_shmat" = xyes; then : |
6159 | if test "x$ac_cv_func_shmat" = x""yes; then : |
6189 | |
6160 | |
6190 | fi |
6161 | fi |
6191 | |
6162 | |
6192 | if test $ac_cv_func_shmat = no; then |
6163 | if test $ac_cv_func_shmat = no; then |
6193 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
6164 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 |
6194 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6165 | $as_echo_n "checking for shmat in -lipc... " >&6; } |
6195 | if ${ac_cv_lib_ipc_shmat+:} false; then : |
6166 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then : |
6196 | $as_echo_n "(cached) " >&6 |
6167 | $as_echo_n "(cached) " >&6 |
6197 | else |
6168 | else |
6198 | ac_check_lib_save_LIBS=$LIBS |
6169 | ac_check_lib_save_LIBS=$LIBS |
6199 | LIBS="-lipc $LIBS" |
6170 | LIBS="-lipc $LIBS" |
6200 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6171 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6224 | conftest$ac_exeext conftest.$ac_ext |
6195 | conftest$ac_exeext conftest.$ac_ext |
6225 | LIBS=$ac_check_lib_save_LIBS |
6196 | LIBS=$ac_check_lib_save_LIBS |
6226 | fi |
6197 | fi |
6227 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
6198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 |
6228 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6199 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
6229 | if test "x$ac_cv_lib_ipc_shmat" = xyes; then : |
6200 | if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : |
6230 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6201 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
6231 | fi |
6202 | fi |
6232 | |
6203 | |
6233 | fi |
6204 | fi |
6234 | fi |
6205 | fi |
… | |
… | |
6242 | # These have to be linked with before -lX11, unlike the other |
6213 | # These have to be linked with before -lX11, unlike the other |
6243 | # libraries we check for below, so use a different variable. |
6214 | # libraries we check for below, so use a different variable. |
6244 | # John Interrante, Karl Berry |
6215 | # John Interrante, Karl Berry |
6245 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
6216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 |
6246 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6217 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
6247 | if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : |
6218 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : |
6248 | $as_echo_n "(cached) " >&6 |
6219 | $as_echo_n "(cached) " >&6 |
6249 | else |
6220 | else |
6250 | ac_check_lib_save_LIBS=$LIBS |
6221 | ac_check_lib_save_LIBS=$LIBS |
6251 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6222 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6252 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
6276 | conftest$ac_exeext conftest.$ac_ext |
6247 | conftest$ac_exeext conftest.$ac_ext |
6277 | LIBS=$ac_check_lib_save_LIBS |
6248 | LIBS=$ac_check_lib_save_LIBS |
6278 | fi |
6249 | fi |
6279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6250 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
6280 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6251 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
6281 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : |
6252 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : |
6282 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6253 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
6283 | fi |
6254 | fi |
6284 | |
6255 | |
6285 | LDFLAGS=$ac_save_LDFLAGS |
6256 | LDFLAGS=$ac_save_LDFLAGS |
6286 | |
6257 | |
6287 | fi |
6258 | fi |
6288 | |
6259 | |
6289 | |
6260 | |
6290 | image_lib=none |
6261 | STARTUP_NOTIFICATION_CFLAGS= |
|
|
6262 | STARTUP_NOTIFICATION_LIBS= |
6291 | |
6263 | |
6292 | PIXBUF_CFLAGS= |
|
|
6293 | PIXBUF_LIBS= |
|
|
6294 | |
|
|
6295 | if test x$support_pixbuf = xyes; then |
6264 | if test x$support_startup_notification = xyes; then |
6296 | support_pixbuf=no |
6265 | support_startup_notification=no |
6297 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6266 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6298 | set dummy pkg-config; ac_word=$2 |
6267 | set dummy pkg-config; ac_word=$2 |
6299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6268 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6300 | $as_echo_n "checking for $ac_word... " >&6; } |
6269 | $as_echo_n "checking for $ac_word... " >&6; } |
6301 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
6270 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6302 | $as_echo_n "(cached) " >&6 |
6271 | $as_echo_n "(cached) " >&6 |
6303 | else |
6272 | else |
6304 | case $PKG_CONFIG in |
6273 | case $PKG_CONFIG in |
6305 | [\\/]* | ?:[\\/]*) |
6274 | [\\/]* | ?:[\\/]*) |
6306 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
6275 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
6333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6334 | $as_echo "no" >&6; } |
6303 | $as_echo "no" >&6; } |
6335 | fi |
6304 | fi |
6336 | |
6305 | |
6337 | |
6306 | |
6338 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
6307 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
6339 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
6308 | $as_echo_n "checking for libstartup-notification... " >&6; } |
6340 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
6309 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
6341 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
6310 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
6342 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
6311 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
6343 | support_pixbuf=yes |
6312 | support_startup_notification=yes |
6344 | fi |
6313 | fi |
6345 | |
6314 | |
6346 | if test x$support_pixbuf = xyes; then |
6315 | if test x$support_startup_notification = xyes; then |
6347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6348 | $as_echo "ok" >&6; } |
6317 | $as_echo "ok" >&6; } |
6349 | image_lib=gdk-pixbuf |
|
|
6350 | support_afterimage=no |
|
|
6351 | |
6318 | |
6352 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
6319 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
6353 | |
|
|
6354 | |
|
|
6355 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6356 | |
6320 | |
6357 | else |
6321 | else |
6358 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6322 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6359 | $as_echo "no" >&6; } |
6323 | $as_echo "no" >&6; } |
6360 | fi |
6324 | fi |
6361 | fi |
6325 | fi |
6362 | |
6326 | |
6363 | |
6327 | |
6364 | |
6328 | |
6365 | |
6329 | |
6366 | STARTUP_NOTIFICATION_CFLAGS= |
6330 | for ac_header in \ |
6367 | STARTUP_NOTIFICATION_LIBS= |
6331 | sys/byteorder.h \ |
|
|
6332 | sys/ioctl.h \ |
|
|
6333 | sys/sockio.h \ |
|
|
6334 | sys/strredir.h \ |
|
|
6335 | stdint.h \ |
|
|
6336 | wchar.h \ |
6368 | |
6337 | |
|
|
6338 | do : |
|
|
6339 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6340 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
6341 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
6342 | cat >>confdefs.h <<_ACEOF |
|
|
6343 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6344 | _ACEOF |
|
|
6345 | |
|
|
6346 | fi |
|
|
6347 | |
|
|
6348 | done |
|
|
6349 | |
|
|
6350 | |
|
|
6351 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
6352 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
|
|
6353 | if test "${rxvt_cv_xlib_illegal_access+set}" = set; then : |
|
|
6354 | $as_echo_n "(cached) " >&6 |
|
|
6355 | else |
|
|
6356 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6357 | /* end confdefs.h. */ |
|
|
6358 | |
|
|
6359 | #define XLIB_ILLEGAL_ACCESS |
|
|
6360 | #include <X11/Xlib.h> |
|
|
6361 | |
|
|
6362 | int |
|
|
6363 | main () |
|
|
6364 | { |
|
|
6365 | |
|
|
6366 | Display *dpy; |
|
|
6367 | dpy->xdefaults = (char *)0; |
|
|
6368 | |
|
|
6369 | ; |
|
|
6370 | return 0; |
|
|
6371 | } |
|
|
6372 | _ACEOF |
|
|
6373 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6374 | rxvt_cv_xlib_illegal_access=yes |
|
|
6375 | else |
|
|
6376 | rxvt_cv_xlib_illegal_access=no |
|
|
6377 | |
|
|
6378 | fi |
|
|
6379 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6380 | fi |
|
|
6381 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_xlib_illegal_access" >&5 |
|
|
6382 | $as_echo "$rxvt_cv_xlib_illegal_access" >&6; } |
|
|
6383 | if test x$rxvt_cv_xlib_illegal_access = xyes; then |
|
|
6384 | |
|
|
6385 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
|
|
6386 | |
|
|
6387 | fi |
|
|
6388 | |
|
|
6389 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
|
|
6390 | if test "x$ac_cv_type_mode_t" = x""yes; then : |
|
|
6391 | |
|
|
6392 | else |
|
|
6393 | |
|
|
6394 | cat >>confdefs.h <<_ACEOF |
|
|
6395 | #define mode_t int |
|
|
6396 | _ACEOF |
|
|
6397 | |
|
|
6398 | fi |
|
|
6399 | |
|
|
6400 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
|
|
6401 | if test "x$ac_cv_type_pid_t" = x""yes; then : |
|
|
6402 | |
|
|
6403 | else |
|
|
6404 | |
|
|
6405 | cat >>confdefs.h <<_ACEOF |
|
|
6406 | #define pid_t int |
|
|
6407 | _ACEOF |
|
|
6408 | |
|
|
6409 | fi |
|
|
6410 | |
|
|
6411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
|
|
6412 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
|
|
6413 | if test "${ac_cv_type_uid_t+set}" = set; then : |
|
|
6414 | $as_echo_n "(cached) " >&6 |
|
|
6415 | else |
|
|
6416 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6417 | /* end confdefs.h. */ |
|
|
6418 | #include <sys/types.h> |
|
|
6419 | |
|
|
6420 | _ACEOF |
|
|
6421 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6422 | $EGREP "uid_t" >/dev/null 2>&1; then : |
|
|
6423 | ac_cv_type_uid_t=yes |
|
|
6424 | else |
|
|
6425 | ac_cv_type_uid_t=no |
|
|
6426 | fi |
|
|
6427 | rm -f conftest* |
|
|
6428 | |
|
|
6429 | fi |
|
|
6430 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 |
|
|
6431 | $as_echo "$ac_cv_type_uid_t" >&6; } |
|
|
6432 | if test $ac_cv_type_uid_t = no; then |
|
|
6433 | |
|
|
6434 | $as_echo "#define uid_t int" >>confdefs.h |
|
|
6435 | |
|
|
6436 | |
|
|
6437 | $as_echo "#define gid_t int" >>confdefs.h |
|
|
6438 | |
|
|
6439 | fi |
|
|
6440 | |
|
|
6441 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" |
|
|
6442 | case $ac_cv_c_int16_t in #( |
|
|
6443 | no|yes) ;; #( |
|
|
6444 | *) |
|
|
6445 | |
|
|
6446 | cat >>confdefs.h <<_ACEOF |
|
|
6447 | #define int16_t $ac_cv_c_int16_t |
|
|
6448 | _ACEOF |
|
|
6449 | ;; |
|
|
6450 | esac |
|
|
6451 | |
|
|
6452 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
|
|
6453 | case $ac_cv_c_uint16_t in #( |
|
|
6454 | no|yes) ;; #( |
|
|
6455 | *) |
|
|
6456 | |
|
|
6457 | |
|
|
6458 | cat >>confdefs.h <<_ACEOF |
|
|
6459 | #define uint16_t $ac_cv_c_uint16_t |
|
|
6460 | _ACEOF |
|
|
6461 | ;; |
|
|
6462 | esac |
|
|
6463 | |
|
|
6464 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" |
|
|
6465 | case $ac_cv_c_int32_t in #( |
|
|
6466 | no|yes) ;; #( |
|
|
6467 | *) |
|
|
6468 | |
|
|
6469 | cat >>confdefs.h <<_ACEOF |
|
|
6470 | #define int32_t $ac_cv_c_int32_t |
|
|
6471 | _ACEOF |
|
|
6472 | ;; |
|
|
6473 | esac |
|
|
6474 | |
|
|
6475 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" |
|
|
6476 | case $ac_cv_c_uint32_t in #( |
|
|
6477 | no|yes) ;; #( |
|
|
6478 | *) |
|
|
6479 | |
|
|
6480 | $as_echo "#define _UINT32_T 1" >>confdefs.h |
|
|
6481 | |
|
|
6482 | |
|
|
6483 | cat >>confdefs.h <<_ACEOF |
|
|
6484 | #define uint32_t $ac_cv_c_uint32_t |
|
|
6485 | _ACEOF |
|
|
6486 | ;; |
|
|
6487 | esac |
|
|
6488 | |
|
|
6489 | |
|
|
6490 | for ac_func in unsetenv |
|
|
6491 | do : |
|
|
6492 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
|
|
6493 | if test "x$ac_cv_func_unsetenv" = x""yes; then : |
|
|
6494 | cat >>confdefs.h <<_ACEOF |
|
|
6495 | #define HAVE_UNSETENV 1 |
|
|
6496 | _ACEOF |
|
|
6497 | |
|
|
6498 | fi |
|
|
6499 | done |
|
|
6500 | |
|
|
6501 | |
|
|
6502 | |
|
|
6503 | support_utmp=yes |
|
|
6504 | support_wtmp=yes |
|
|
6505 | support_lastlog=yes |
|
|
6506 | |
|
|
6507 | # Check whether --enable-utmp was given. |
|
|
6508 | if test "${enable_utmp+set}" = set; then : |
|
|
6509 | enableval=$enable_utmp; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6510 | support_utmp=$enableval |
|
|
6511 | fi |
|
|
6512 | fi |
|
|
6513 | |
|
|
6514 | |
|
|
6515 | # Check whether --enable-wtmp was given. |
|
|
6516 | if test "${enable_wtmp+set}" = set; then : |
|
|
6517 | enableval=$enable_wtmp; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6518 | support_wtmp=$enableval |
|
|
6519 | fi |
|
|
6520 | fi |
|
|
6521 | |
|
|
6522 | |
|
|
6523 | # Check whether --enable-lastlog was given. |
|
|
6524 | if test "${enable_lastlog+set}" = set; then : |
|
|
6525 | enableval=$enable_lastlog; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6526 | support_lastlog=$enableval |
|
|
6527 | fi |
|
|
6528 | fi |
|
|
6529 | |
|
|
6530 | |
6369 | if test x$support_startup_notification = xyes; then |
6531 | if test x$support_utmp = xyes; then |
6370 | support_startup_notification=no |
6532 | |
|
|
6533 | $as_echo "#define UTMP_SUPPORT 1" >>confdefs.h |
|
|
6534 | |
|
|
6535 | fi |
|
|
6536 | if test x$support_wtmp = xyes; then |
|
|
6537 | |
|
|
6538 | $as_echo "#define WTMP_SUPPORT 1" >>confdefs.h |
|
|
6539 | |
|
|
6540 | fi |
|
|
6541 | if test x$support_lastlog = xyes; then |
|
|
6542 | |
|
|
6543 | $as_echo "#define LASTLOG_SUPPORT 1" >>confdefs.h |
|
|
6544 | |
|
|
6545 | fi |
|
|
6546 | |
|
|
6547 | for ac_func in \ |
|
|
6548 | updwtmp \ |
|
|
6549 | updwtmpx \ |
|
|
6550 | updlastlogx \ |
|
|
6551 | |
|
|
6552 | do : |
|
|
6553 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
6554 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
6555 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
6556 | cat >>confdefs.h <<_ACEOF |
|
|
6557 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6558 | _ACEOF |
|
|
6559 | |
|
|
6560 | fi |
|
|
6561 | done |
|
|
6562 | |
|
|
6563 | |
|
|
6564 | for ac_header in lastlog.h |
|
|
6565 | do : |
|
|
6566 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
|
|
6567 | if test "x$ac_cv_header_lastlog_h" = x""yes; then : |
|
|
6568 | cat >>confdefs.h <<_ACEOF |
|
|
6569 | #define HAVE_LASTLOG_H 1 |
|
|
6570 | _ACEOF |
|
|
6571 | |
|
|
6572 | fi |
|
|
6573 | |
|
|
6574 | done |
|
|
6575 | |
|
|
6576 | |
|
|
6577 | case $host in |
|
|
6578 | *-*-solaris*) |
|
|
6579 | |
|
|
6580 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
|
|
6581 | |
|
|
6582 | ;; |
|
|
6583 | esac |
|
|
6584 | |
|
|
6585 | |
|
|
6586 | for ac_header in utmp.h |
|
|
6587 | do : |
|
|
6588 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
|
|
6589 | if test "x$ac_cv_header_utmp_h" = x""yes; then : |
|
|
6590 | cat >>confdefs.h <<_ACEOF |
|
|
6591 | #define HAVE_UTMP_H 1 |
|
|
6592 | _ACEOF |
|
|
6593 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
|
|
6594 | #include <sys/types.h> |
|
|
6595 | #include <utmp.h> |
|
|
6596 | |
|
|
6597 | " |
|
|
6598 | if test "x$ac_cv_type_struct_utmp" = x""yes; then : |
|
|
6599 | |
|
|
6600 | cat >>confdefs.h <<_ACEOF |
|
|
6601 | #define HAVE_STRUCT_UTMP 1 |
|
|
6602 | _ACEOF |
|
|
6603 | |
|
|
6604 | |
|
|
6605 | fi |
|
|
6606 | |
|
|
6607 | |
|
|
6608 | |
|
|
6609 | # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES |
|
|
6610 | # ------------------------------------------------------ |
|
|
6611 | # Tries to find if the field MEMBER exists in type AGGR, after including |
|
|
6612 | # INCLUDES, setting cache variable VAR accordingly. |
|
|
6613 | ac_fn_cxx_check_member () |
|
|
6614 | { |
|
|
6615 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
6616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
|
6617 | $as_echo_n "checking for $2.$3... " >&6; } |
|
|
6618 | if eval "test \"\${$4+set}\"" = set; then : |
|
|
6619 | $as_echo_n "(cached) " >&6 |
|
|
6620 | else |
|
|
6621 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6622 | /* end confdefs.h. */ |
|
|
6623 | $5 |
|
|
6624 | int |
|
|
6625 | main () |
|
|
6626 | { |
|
|
6627 | static $2 ac_aggr; |
|
|
6628 | if (ac_aggr.$3) |
|
|
6629 | return 0; |
|
|
6630 | ; |
|
|
6631 | return 0; |
|
|
6632 | } |
|
|
6633 | _ACEOF |
|
|
6634 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6635 | eval "$4=yes" |
|
|
6636 | else |
|
|
6637 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6638 | /* end confdefs.h. */ |
|
|
6639 | $5 |
|
|
6640 | int |
|
|
6641 | main () |
|
|
6642 | { |
|
|
6643 | static $2 ac_aggr; |
|
|
6644 | if (sizeof ac_aggr.$3) |
|
|
6645 | return 0; |
|
|
6646 | ; |
|
|
6647 | return 0; |
|
|
6648 | } |
|
|
6649 | _ACEOF |
|
|
6650 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6651 | eval "$4=yes" |
|
|
6652 | else |
|
|
6653 | eval "$4=no" |
|
|
6654 | fi |
|
|
6655 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6656 | fi |
|
|
6657 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6658 | fi |
|
|
6659 | eval ac_res=\$$4 |
|
|
6660 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
6661 | $as_echo "$ac_res" >&6; } |
|
|
6662 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
6663 | |
|
|
6664 | } # ac_fn_cxx_check_member |
|
|
6665 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
|
|
6666 | #include <sys/types.h> |
|
|
6667 | #include <utmp.h> |
|
|
6668 | |
|
|
6669 | " |
|
|
6670 | if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then : |
|
|
6671 | |
|
|
6672 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
|
|
6673 | |
|
|
6674 | fi |
|
|
6675 | |
|
|
6676 | |
|
|
6677 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
|
|
6678 | #include <sys/types.h> |
|
|
6679 | #include <utmp.h> |
|
|
6680 | |
|
|
6681 | " |
|
|
6682 | if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then : |
|
|
6683 | |
|
|
6684 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
|
|
6685 | |
|
|
6686 | fi |
|
|
6687 | |
|
|
6688 | |
|
|
6689 | fi |
|
|
6690 | |
|
|
6691 | done |
|
|
6692 | |
|
|
6693 | |
|
|
6694 | for ac_header in utmpx.h |
|
|
6695 | do : |
|
|
6696 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
|
|
6697 | if test "x$ac_cv_header_utmpx_h" = x""yes; then : |
|
|
6698 | cat >>confdefs.h <<_ACEOF |
|
|
6699 | #define HAVE_UTMPX_H 1 |
|
|
6700 | _ACEOF |
|
|
6701 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
|
|
6702 | #include <sys/types.h> |
|
|
6703 | #include <utmpx.h> |
|
|
6704 | |
|
|
6705 | " |
|
|
6706 | if test "x$ac_cv_type_struct_utmpx" = x""yes; then : |
|
|
6707 | |
|
|
6708 | cat >>confdefs.h <<_ACEOF |
|
|
6709 | #define HAVE_STRUCT_UTMPX 1 |
|
|
6710 | _ACEOF |
|
|
6711 | |
|
|
6712 | |
|
|
6713 | fi |
|
|
6714 | |
|
|
6715 | |
|
|
6716 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
|
|
6717 | #include <sys/types.h> |
|
|
6718 | #include <utmpx.h> |
|
|
6719 | |
|
|
6720 | " |
|
|
6721 | if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then : |
|
|
6722 | |
|
|
6723 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
|
|
6724 | |
|
|
6725 | fi |
|
|
6726 | |
|
|
6727 | |
|
|
6728 | fi |
|
|
6729 | |
|
|
6730 | done |
|
|
6731 | |
|
|
6732 | ac_fn_cxx_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" " |
|
|
6733 | #include <sys/types.h> |
|
|
6734 | #include <utmp.h> |
|
|
6735 | #ifdef HAVE_LASTLOG_H |
|
|
6736 | #include <lastlog.h> |
|
|
6737 | #endif |
|
|
6738 | |
|
|
6739 | " |
|
|
6740 | if test "x$ac_cv_type_struct_lastlog" = x""yes; then : |
|
|
6741 | |
|
|
6742 | cat >>confdefs.h <<_ACEOF |
|
|
6743 | #define HAVE_STRUCT_LASTLOG 1 |
|
|
6744 | _ACEOF |
|
|
6745 | |
|
|
6746 | |
|
|
6747 | fi |
|
|
6748 | |
|
|
6749 | |
|
|
6750 | ac_fn_cxx_check_type "$LINENO" "struct lastlogx" "ac_cv_type_struct_lastlogx" " |
|
|
6751 | #include <sys/types.h> |
|
|
6752 | #include <utmpx.h> |
|
|
6753 | #ifdef HAVE_LASTLOG_H |
|
|
6754 | #include <lastlog.h> |
|
|
6755 | #endif |
|
|
6756 | |
|
|
6757 | " |
|
|
6758 | if test "x$ac_cv_type_struct_lastlogx" = x""yes; then : |
|
|
6759 | |
|
|
6760 | cat >>confdefs.h <<_ACEOF |
|
|
6761 | #define HAVE_STRUCT_LASTLOGX 1 |
|
|
6762 | _ACEOF |
|
|
6763 | |
|
|
6764 | |
|
|
6765 | fi |
|
|
6766 | |
|
|
6767 | |
|
|
6768 | |
|
|
6769 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 |
|
|
6770 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
|
|
6771 | if test "${pt_cv_path_utmp+set}" = set; then : |
|
|
6772 | $as_echo_n "(cached) " >&6 |
|
|
6773 | else |
|
|
6774 | |
|
|
6775 | if test "$cross_compiling" != yes; then |
|
|
6776 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
|
|
6777 | if test -f "$file"; then |
|
|
6778 | pt_cv_path_utmp=$file |
|
|
6779 | break |
|
|
6780 | fi |
|
|
6781 | done |
|
|
6782 | fi |
|
|
6783 | fi |
|
|
6784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
|
|
6785 | $as_echo "$pt_cv_path_utmp" >&6; } |
|
|
6786 | if test x$pt_cv_path_utmp != x; then |
|
|
6787 | |
|
|
6788 | cat >>confdefs.h <<_ACEOF |
|
|
6789 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
|
|
6790 | _ACEOF |
|
|
6791 | |
|
|
6792 | elif test "$cross_compiling" = yes; then |
|
|
6793 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5 |
|
|
6794 | $as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} |
|
|
6795 | fi |
|
|
6796 | |
|
|
6797 | |
|
|
6798 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 |
|
|
6799 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
|
|
6800 | if test "${pt_cv_path_wtmp+set}" = set; then : |
|
|
6801 | $as_echo_n "(cached) " >&6 |
|
|
6802 | else |
|
|
6803 | |
|
|
6804 | if test "$cross_compiling" != yes; then |
|
|
6805 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
|
|
6806 | if test -f "$file"; then |
|
|
6807 | pt_cv_path_wtmp=$file |
|
|
6808 | break |
|
|
6809 | fi |
|
|
6810 | done |
|
|
6811 | fi |
|
|
6812 | fi |
|
|
6813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
|
|
6814 | $as_echo "$pt_cv_path_wtmp" >&6; } |
|
|
6815 | if test x$pt_cv_path_wtmp != x; then |
|
|
6816 | |
|
|
6817 | cat >>confdefs.h <<_ACEOF |
|
|
6818 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
|
|
6819 | _ACEOF |
|
|
6820 | |
|
|
6821 | elif test "$cross_compiling" = yes; then |
|
|
6822 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5 |
|
|
6823 | $as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} |
|
|
6824 | fi |
|
|
6825 | |
|
|
6826 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 |
|
|
6827 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
|
|
6828 | if test "${pt_cv_path_wtmpx+set}" = set; then : |
|
|
6829 | $as_echo_n "(cached) " >&6 |
|
|
6830 | else |
|
|
6831 | |
|
|
6832 | if test "$cross_compiling" != yes; then |
|
|
6833 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
|
|
6834 | if test -f "$file"; then |
|
|
6835 | pt_cv_path_wtmpx=$file |
|
|
6836 | break |
|
|
6837 | fi |
|
|
6838 | done |
|
|
6839 | fi |
|
|
6840 | fi |
|
|
6841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
|
|
6842 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
|
|
6843 | if test x$pt_cv_path_wtmpx != x; then |
|
|
6844 | |
|
|
6845 | cat >>confdefs.h <<_ACEOF |
|
|
6846 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
|
|
6847 | _ACEOF |
|
|
6848 | |
|
|
6849 | elif test "$cross_compiling" = yes; then |
|
|
6850 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5 |
|
|
6851 | $as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} |
|
|
6852 | fi |
|
|
6853 | |
|
|
6854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 |
|
|
6855 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
|
|
6856 | if test "${pt_cv_path_lastlog+set}" = set; then : |
|
|
6857 | $as_echo_n "(cached) " >&6 |
|
|
6858 | else |
|
|
6859 | |
|
|
6860 | if test "$cross_compiling" != yes; then |
|
|
6861 | for file in "/var/log/lastlog" "/var/adm/lastlog"; do |
|
|
6862 | if test -f "$file"; then |
|
|
6863 | pt_cv_path_lastlog=$file |
|
|
6864 | break |
|
|
6865 | fi |
|
|
6866 | done |
|
|
6867 | fi |
|
|
6868 | fi |
|
|
6869 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
|
|
6870 | $as_echo "$pt_cv_path_lastlog" >&6; } |
|
|
6871 | if test x$pt_cv_path_lastlog != x; then |
|
|
6872 | |
|
|
6873 | cat >>confdefs.h <<_ACEOF |
|
|
6874 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
|
|
6875 | _ACEOF |
|
|
6876 | |
|
|
6877 | elif test "$cross_compiling" = yes; then |
|
|
6878 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5 |
|
|
6879 | $as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} |
|
|
6880 | fi |
|
|
6881 | |
|
|
6882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 |
|
|
6883 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
|
|
6884 | if test "${pt_cv_path_lastlogx+set}" = set; then : |
|
|
6885 | $as_echo_n "(cached) " >&6 |
|
|
6886 | else |
|
|
6887 | |
|
|
6888 | if test "$cross_compiling" != yes; then |
|
|
6889 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
|
|
6890 | if test -f "$file"; then |
|
|
6891 | pt_cv_path_lastlogx=$file |
|
|
6892 | break |
|
|
6893 | fi |
|
|
6894 | done |
|
|
6895 | fi |
|
|
6896 | fi |
|
|
6897 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
|
|
6898 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
|
|
6899 | if test x$pt_cv_path_lastlogx != x; then |
|
|
6900 | |
|
|
6901 | cat >>confdefs.h <<_ACEOF |
|
|
6902 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
|
|
6903 | _ACEOF |
|
|
6904 | |
|
|
6905 | elif test "$cross_compiling" = yes; then |
|
|
6906 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
6907 | $as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;} |
|
|
6908 | fi |
|
|
6909 | |
|
|
6910 | |
|
|
6911 | |
|
|
6912 | |
|
|
6913 | save_LIBS=$LIBS |
|
|
6914 | save_CFLAGS=$CFLAGS |
|
|
6915 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
6916 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
6917 | if test x$support_xim = xyes; then |
|
|
6918 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
|
|
6919 | $as_echo_n "checking for working Xlocale... " >&6; } |
|
|
6920 | if test "${rxvt_cv_func_xlocale+set}" = set; then : |
|
|
6921 | $as_echo_n "(cached) " >&6 |
|
|
6922 | else |
|
|
6923 | if test "$cross_compiling" = yes; then : |
|
|
6924 | : |
|
|
6925 | else |
|
|
6926 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6927 | /* end confdefs.h. */ |
|
|
6928 | |
|
|
6929 | #include <X11/Xlib.h> |
|
|
6930 | #include <stdlib.h> |
|
|
6931 | int main() { |
|
|
6932 | char *p; |
|
|
6933 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
|
|
6934 | exit (XSupportsLocale() ? 0 : 1); |
|
|
6935 | else |
|
|
6936 | exit (1); |
|
|
6937 | } |
|
|
6938 | |
|
|
6939 | _ACEOF |
|
|
6940 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
6941 | rxvt_cv_func_xlocale=yes |
|
|
6942 | else |
|
|
6943 | rxvt_cv_func_xlocale=no |
|
|
6944 | fi |
|
|
6945 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
6946 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
6947 | fi |
|
|
6948 | |
|
|
6949 | fi |
|
|
6950 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_xlocale" >&5 |
|
|
6951 | $as_echo "$rxvt_cv_func_xlocale" >&6; } |
|
|
6952 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
6953 | |
|
|
6954 | $as_echo "#define USE_XIM 1" >>confdefs.h |
|
|
6955 | |
|
|
6956 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
|
|
6957 | $as_echo_n "checking for broken XIM callback... " >&6; } |
|
|
6958 | if test "${rxvt_cv_broken_ximcb+set}" = set; then : |
|
|
6959 | $as_echo_n "(cached) " >&6 |
|
|
6960 | else |
|
|
6961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6962 | /* end confdefs.h. */ |
|
|
6963 | |
|
|
6964 | #include <X11/Xlib.h> |
|
|
6965 | |
|
|
6966 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
6967 | |
|
|
6968 | void f() { |
|
|
6969 | XIMCallback cb; |
|
|
6970 | cb.callback = im_destroy_cb; |
|
|
6971 | } |
|
|
6972 | |
|
|
6973 | _ACEOF |
|
|
6974 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6975 | rxvt_cv_broken_ximcb=yes |
|
|
6976 | else |
|
|
6977 | rxvt_cv_broken_ximcb=no |
|
|
6978 | fi |
|
|
6979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6980 | fi |
|
|
6981 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_broken_ximcb" >&5 |
|
|
6982 | $as_echo "$rxvt_cv_broken_ximcb" >&6; } |
|
|
6983 | |
|
|
6984 | if test x$rxvt_cv_broken_ximcb = xyes; then |
|
|
6985 | |
|
|
6986 | $as_echo "#define XIMCB_PROTO_BROKEN 1" >>confdefs.h |
|
|
6987 | |
|
|
6988 | fi |
|
|
6989 | fi |
|
|
6990 | fi |
|
|
6991 | |
|
|
6992 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
|
|
6993 | $as_echo_n "checking for working X setlocale... " >&6; } |
|
|
6994 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then : |
|
|
6995 | $as_echo_n "(cached) " >&6 |
|
|
6996 | else |
|
|
6997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6998 | /* end confdefs.h. */ |
|
|
6999 | #define X_LOCALE 1 |
|
|
7000 | #include <X11/Xlocale.h> |
|
|
7001 | int |
|
|
7002 | main () |
|
|
7003 | { |
|
|
7004 | setlocale(LC_CTYPE, ""); |
|
|
7005 | ; |
|
|
7006 | return 0; |
|
|
7007 | } |
|
|
7008 | _ACEOF |
|
|
7009 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7010 | rxvt_cv_func_xsetlocale=yes |
|
|
7011 | else |
|
|
7012 | rxvt_cv_func_xsetlocale=no |
|
|
7013 | fi |
|
|
7014 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7015 | conftest$ac_exeext conftest.$ac_ext |
|
|
7016 | fi |
|
|
7017 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_xsetlocale" >&5 |
|
|
7018 | $as_echo "$rxvt_cv_func_xsetlocale" >&6; } |
|
|
7019 | if test x$rxvt_cv_func_xsetlocale = xyes; then |
|
|
7020 | |
|
|
7021 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
|
|
7022 | |
|
|
7023 | fi |
|
|
7024 | LIBS=$save_LIBS |
|
|
7025 | CFLAGS=$save_CFLAGS |
|
|
7026 | |
|
|
7027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
|
|
7028 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
|
|
7029 | if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : |
|
|
7030 | $as_echo_n "(cached) " >&6 |
|
|
7031 | else |
|
|
7032 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7033 | /* end confdefs.h. */ |
|
|
7034 | #include <langinfo.h> |
|
|
7035 | int |
|
|
7036 | main () |
|
|
7037 | { |
|
|
7038 | nl_langinfo(CODESET); |
|
|
7039 | ; |
|
|
7040 | return 0; |
|
|
7041 | } |
|
|
7042 | _ACEOF |
|
|
7043 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7044 | rxvt_cv_func_nl_langinfo=yes |
|
|
7045 | else |
|
|
7046 | rxvt_cv_func_nl_langinfo=no |
|
|
7047 | fi |
|
|
7048 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7049 | conftest$ac_exeext conftest.$ac_ext |
|
|
7050 | fi |
|
|
7051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_nl_langinfo" >&5 |
|
|
7052 | $as_echo "$rxvt_cv_func_nl_langinfo" >&6; } |
|
|
7053 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
|
|
7054 | |
|
|
7055 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
|
|
7056 | |
|
|
7057 | fi |
|
|
7058 | |
|
|
7059 | |
|
|
7060 | case $host in |
|
|
7061 | *-*-solaris*) |
|
|
7062 | |
|
|
7063 | $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h |
|
|
7064 | |
|
|
7065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 |
|
|
7066 | $as_echo_n "checking for library containing sendmsg... " >&6; } |
|
|
7067 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7068 | $as_echo_n "(cached) " >&6 |
|
|
7069 | else |
|
|
7070 | ac_func_search_save_LIBS=$LIBS |
|
|
7071 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7072 | /* end confdefs.h. */ |
|
|
7073 | |
|
|
7074 | /* Override any GCC internal prototype to avoid an error. |
|
|
7075 | Use char because int might match the return type of a GCC |
|
|
7076 | builtin and then its argument prototype would still apply. */ |
|
|
7077 | #ifdef __cplusplus |
|
|
7078 | extern "C" |
|
|
7079 | #endif |
|
|
7080 | char sendmsg (); |
|
|
7081 | int |
|
|
7082 | main () |
|
|
7083 | { |
|
|
7084 | return sendmsg (); |
|
|
7085 | ; |
|
|
7086 | return 0; |
|
|
7087 | } |
|
|
7088 | _ACEOF |
|
|
7089 | for ac_lib in '' socket; do |
|
|
7090 | if test -z "$ac_lib"; then |
|
|
7091 | ac_res="none required" |
|
|
7092 | else |
|
|
7093 | ac_res=-l$ac_lib |
|
|
7094 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7095 | fi |
|
|
7096 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7097 | ac_cv_search_sendmsg=$ac_res |
|
|
7098 | fi |
|
|
7099 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7100 | conftest$ac_exeext |
|
|
7101 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7102 | break |
|
|
7103 | fi |
|
|
7104 | done |
|
|
7105 | if test "${ac_cv_search_sendmsg+set}" = set; then : |
|
|
7106 | |
|
|
7107 | else |
|
|
7108 | ac_cv_search_sendmsg=no |
|
|
7109 | fi |
|
|
7110 | rm conftest.$ac_ext |
|
|
7111 | LIBS=$ac_func_search_save_LIBS |
|
|
7112 | fi |
|
|
7113 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5 |
|
|
7114 | $as_echo "$ac_cv_search_sendmsg" >&6; } |
|
|
7115 | ac_res=$ac_cv_search_sendmsg |
|
|
7116 | if test "$ac_res" != no; then : |
|
|
7117 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7118 | |
|
|
7119 | fi |
|
|
7120 | |
|
|
7121 | ;; |
|
|
7122 | esac |
|
|
7123 | |
|
|
7124 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
|
|
7125 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
|
|
7126 | if test "${pt_cv_can_pass_fds+set}" = set; then : |
|
|
7127 | $as_echo_n "(cached) " >&6 |
|
|
7128 | else |
|
|
7129 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7130 | /* end confdefs.h. */ |
|
|
7131 | |
|
|
7132 | #include <stddef.h> // broken bsds (is that redundant?) need this |
|
|
7133 | #include <sys/types.h> |
|
|
7134 | #include <sys/socket.h> |
|
|
7135 | #include <sys/uio.h> |
|
|
7136 | |
|
|
7137 | int |
|
|
7138 | main () |
|
|
7139 | { |
|
|
7140 | |
|
|
7141 | { |
|
|
7142 | msghdr msg; |
|
|
7143 | iovec iov; |
|
|
7144 | char buf [100]; |
|
|
7145 | char data = 0; |
|
|
7146 | |
|
|
7147 | iov.iov_base = &data; |
|
|
7148 | iov.iov_len = 1; |
|
|
7149 | |
|
|
7150 | msg.msg_iov = &iov; |
|
|
7151 | msg.msg_iovlen = 1; |
|
|
7152 | msg.msg_control = buf; |
|
|
7153 | msg.msg_controllen = sizeof buf; |
|
|
7154 | |
|
|
7155 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
7156 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
7157 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
7158 | cmsg->cmsg_len = 100; |
|
|
7159 | |
|
|
7160 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
7161 | |
|
|
7162 | return sendmsg (3, &msg, 0); |
|
|
7163 | } |
|
|
7164 | |
|
|
7165 | ; |
|
|
7166 | return 0; |
|
|
7167 | } |
|
|
7168 | _ACEOF |
|
|
7169 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7170 | pt_cv_can_pass_fds=yes |
|
|
7171 | else |
|
|
7172 | pt_cv_can_pass_fds=no |
|
|
7173 | fi |
|
|
7174 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7175 | conftest$ac_exeext conftest.$ac_ext |
|
|
7176 | fi |
|
|
7177 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_can_pass_fds" >&5 |
|
|
7178 | $as_echo "$pt_cv_can_pass_fds" >&6; } |
|
|
7179 | if test x$pt_cv_can_pass_fds = xyes; then |
|
|
7180 | |
|
|
7181 | $as_echo "#define HAVE_UNIX_FDPASS 1" >>confdefs.h |
|
|
7182 | |
|
|
7183 | else |
|
|
7184 | as_fn_error $? "libptytty requires unix-compliant filehandle passing ability" "$LINENO" 5 |
|
|
7185 | fi |
|
|
7186 | |
|
|
7187 | |
|
|
7188 | |
|
|
7189 | for ac_header in \ |
|
|
7190 | pty.h \ |
|
|
7191 | util.h \ |
|
|
7192 | libutil.h \ |
|
|
7193 | sys/ioctl.h \ |
|
|
7194 | stropts.h \ |
|
|
7195 | |
|
|
7196 | do : |
|
|
7197 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7198 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
7199 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
7200 | cat >>confdefs.h <<_ACEOF |
|
|
7201 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7202 | _ACEOF |
|
|
7203 | |
|
|
7204 | fi |
|
|
7205 | |
|
|
7206 | done |
|
|
7207 | |
|
|
7208 | |
|
|
7209 | for ac_func in \ |
|
|
7210 | revoke \ |
|
|
7211 | _getpty \ |
|
|
7212 | getpt \ |
|
|
7213 | posix_openpt \ |
|
|
7214 | isastream \ |
|
|
7215 | setuid \ |
|
|
7216 | seteuid \ |
|
|
7217 | setreuid \ |
|
|
7218 | setresuid \ |
|
|
7219 | |
|
|
7220 | do : |
|
|
7221 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7222 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7223 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7224 | cat >>confdefs.h <<_ACEOF |
|
|
7225 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7226 | _ACEOF |
|
|
7227 | |
|
|
7228 | fi |
|
|
7229 | done |
|
|
7230 | |
|
|
7231 | |
|
|
7232 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
|
|
7233 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
|
|
7234 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7235 | /* end confdefs.h. */ |
|
|
7236 | #include <stdlib.h> |
|
|
7237 | int |
|
|
7238 | main () |
|
|
7239 | { |
|
|
7240 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
7241 | ; |
|
|
7242 | return 0; |
|
|
7243 | } |
|
|
7244 | _ACEOF |
|
|
7245 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7246 | unix98_pty=yes |
|
|
7247 | |
|
|
7248 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
|
|
7249 | |
|
|
7250 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
7251 | $as_echo "yes" >&6; } |
|
|
7252 | else |
|
|
7253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7254 | $as_echo "no" >&6; } |
|
|
7255 | fi |
|
|
7256 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7257 | conftest$ac_exeext conftest.$ac_ext |
|
|
7258 | |
|
|
7259 | if test -z "$unix98_pty"; then |
|
|
7260 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
|
|
7261 | $as_echo_n "checking for library containing openpty... " >&6; } |
|
|
7262 | if test "${ac_cv_search_openpty+set}" = set; then : |
|
|
7263 | $as_echo_n "(cached) " >&6 |
|
|
7264 | else |
|
|
7265 | ac_func_search_save_LIBS=$LIBS |
|
|
7266 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7267 | /* end confdefs.h. */ |
|
|
7268 | |
|
|
7269 | /* Override any GCC internal prototype to avoid an error. |
|
|
7270 | Use char because int might match the return type of a GCC |
|
|
7271 | builtin and then its argument prototype would still apply. */ |
|
|
7272 | #ifdef __cplusplus |
|
|
7273 | extern "C" |
|
|
7274 | #endif |
|
|
7275 | char openpty (); |
|
|
7276 | int |
|
|
7277 | main () |
|
|
7278 | { |
|
|
7279 | return openpty (); |
|
|
7280 | ; |
|
|
7281 | return 0; |
|
|
7282 | } |
|
|
7283 | _ACEOF |
|
|
7284 | for ac_lib in '' util; do |
|
|
7285 | if test -z "$ac_lib"; then |
|
|
7286 | ac_res="none required" |
|
|
7287 | else |
|
|
7288 | ac_res=-l$ac_lib |
|
|
7289 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7290 | fi |
|
|
7291 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7292 | ac_cv_search_openpty=$ac_res |
|
|
7293 | fi |
|
|
7294 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7295 | conftest$ac_exeext |
|
|
7296 | if test "${ac_cv_search_openpty+set}" = set; then : |
|
|
7297 | break |
|
|
7298 | fi |
|
|
7299 | done |
|
|
7300 | if test "${ac_cv_search_openpty+set}" = set; then : |
|
|
7301 | |
|
|
7302 | else |
|
|
7303 | ac_cv_search_openpty=no |
|
|
7304 | fi |
|
|
7305 | rm conftest.$ac_ext |
|
|
7306 | LIBS=$ac_func_search_save_LIBS |
|
|
7307 | fi |
|
|
7308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 |
|
|
7309 | $as_echo "$ac_cv_search_openpty" >&6; } |
|
|
7310 | ac_res=$ac_cv_search_openpty |
|
|
7311 | if test "$ac_res" != no; then : |
|
|
7312 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7313 | |
|
|
7314 | $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h |
|
|
7315 | |
|
|
7316 | fi |
|
|
7317 | |
|
|
7318 | fi |
|
|
7319 | |
|
|
7320 | |
|
|
7321 | |
|
|
7322 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
|
|
7323 | $as_echo_n "checking for tty group... " >&6; } |
|
|
7324 | if test "${pt_cv_tty_group+set}" = set; then : |
|
|
7325 | $as_echo_n "(cached) " >&6 |
|
|
7326 | else |
|
|
7327 | if test "$cross_compiling" = yes; then : |
|
|
7328 | pt_cv_tty_group=no |
|
|
7329 | else |
|
|
7330 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7331 | /* end confdefs.h. */ |
|
|
7332 | |
|
|
7333 | #include <sys/types.h> |
|
|
7334 | #include <sys/stat.h> |
|
|
7335 | #include <unistd.h> |
|
|
7336 | #include <grp.h> |
|
|
7337 | |
|
|
7338 | int main() |
|
|
7339 | { |
|
|
7340 | struct stat st; |
|
|
7341 | struct group *gr; |
|
|
7342 | char *tty; |
|
|
7343 | gr = getgrnam("tty"); |
|
|
7344 | tty = ttyname(0); |
|
|
7345 | if (gr != 0 |
|
|
7346 | && tty != 0 |
|
|
7347 | && (stat(tty, &st)) == 0 |
|
|
7348 | && st.st_gid == gr->gr_gid) |
|
|
7349 | return 0; |
|
|
7350 | else |
|
|
7351 | return 1; |
|
|
7352 | } |
|
|
7353 | _ACEOF |
|
|
7354 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7355 | pt_cv_tty_group=yes |
|
|
7356 | else |
|
|
7357 | pt_cv_tty_group=no |
|
|
7358 | fi |
|
|
7359 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7360 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7361 | fi |
|
|
7362 | |
|
|
7363 | fi |
|
|
7364 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_tty_group" >&5 |
|
|
7365 | $as_echo "$pt_cv_tty_group" >&6; } |
|
|
7366 | if test x$pt_cv_tty_group = xyes; then |
|
|
7367 | |
|
|
7368 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
|
|
7369 | |
|
|
7370 | fi |
|
|
7371 | |
|
|
7372 | support_image=no |
|
|
7373 | if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then |
|
|
7374 | support_image=yes |
|
|
7375 | fi |
|
|
7376 | if test x$support_xdbe = xyes; then |
|
|
7377 | LIBS="$LIBS -lXext" |
|
|
7378 | fi |
|
|
7379 | |
|
|
7380 | if test x$support_xft = xyes || test x$support_image = xyes; then |
|
|
7381 | rxvt_have_xrender=no |
6371 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7382 | # Extract the first word of "pkg-config", so it can be a program name with args. |
6372 | set dummy pkg-config; ac_word=$2 |
7383 | set dummy pkg-config; ac_word=$2 |
6373 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7384 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6374 | $as_echo_n "checking for $ac_word... " >&6; } |
7385 | $as_echo_n "checking for $ac_word... " >&6; } |
6375 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7386 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
6376 | $as_echo_n "(cached) " >&6 |
7387 | $as_echo_n "(cached) " >&6 |
6377 | else |
7388 | else |
6378 | case $PKG_CONFIG in |
7389 | case $PKG_CONFIG in |
6379 | [\\/]* | ?:[\\/]*) |
7390 | [\\/]* | ?:[\\/]*) |
6380 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7391 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
6407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7418 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6408 | $as_echo "no" >&6; } |
7419 | $as_echo "no" >&6; } |
6409 | fi |
7420 | fi |
6410 | |
7421 | |
6411 | |
7422 | |
6412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 |
|
|
6413 | $as_echo_n "checking for libstartup-notification... " >&6; } |
|
|
6414 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then |
7423 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
6415 | STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" |
7424 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
6416 | STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" |
7425 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
6417 | support_startup_notification=yes |
7426 | rxvt_have_xrender=yes |
6418 | fi |
|
|
6419 | |
7427 | |
6420 | if test x$support_startup_notification = xyes; then |
|
|
6421 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
|
|
6422 | $as_echo "ok" >&6; } |
|
|
6423 | |
|
|
6424 | $as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h |
|
|
6425 | |
|
|
6426 | else |
|
|
6427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6428 | $as_echo "no" >&6; } |
|
|
6429 | fi |
|
|
6430 | fi |
|
|
6431 | |
|
|
6432 | |
|
|
6433 | |
|
|
6434 | |
|
|
6435 | AFTERIMAGE_CFLAGS= |
|
|
6436 | AFTERIMAGE_LIBS= |
|
|
6437 | AFTERIMAGE_VERSION= |
|
|
6438 | |
|
|
6439 | if test x$support_afterimage = xyes; then |
|
|
6440 | support_afterimage=no |
|
|
6441 | |
|
|
6442 | if test "x$afterimage_config" = "x" ; then |
|
|
6443 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6444 | set dummy afterimage-config; ac_word=$2 |
|
|
6445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
6446 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
6447 | if ${ac_cv_path_afterimage_config+:} false; then : |
|
|
6448 | $as_echo_n "(cached) " >&6 |
|
|
6449 | else |
|
|
6450 | case $afterimage_config in |
|
|
6451 | [\\/]* | ?:[\\/]*) |
|
|
6452 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6453 | ;; |
|
|
6454 | *) |
|
|
6455 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6456 | for as_dir in $PATH |
|
|
6457 | do |
|
|
6458 | IFS=$as_save_IFS |
|
|
6459 | test -z "$as_dir" && as_dir=. |
|
|
6460 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6461 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
6462 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6463 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6464 | break 2 |
|
|
6465 | fi |
|
|
6466 | done |
|
|
6467 | done |
|
|
6468 | IFS=$as_save_IFS |
|
|
6469 | |
|
|
6470 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6471 | ;; |
|
|
6472 | esac |
|
|
6473 | fi |
|
|
6474 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6475 | if test -n "$afterimage_config"; then |
|
|
6476 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5 |
|
|
6477 | $as_echo "$afterimage_config" >&6; } |
|
|
6478 | else |
|
|
6479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6480 | $as_echo "no" >&6; } |
|
|
6481 | fi |
|
|
6482 | |
|
|
6483 | |
|
|
6484 | fi |
|
|
6485 | if test "x$afterimage_config" != "xno" ; then |
|
|
6486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 |
|
|
6487 | $as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } |
|
|
6488 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
6489 | if test -n "$xAFTERIMAGE_VERSION" ; then |
|
|
6490 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6491 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6492 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
6493 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
6494 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
6495 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
|
|
6496 | support_afterimage=yes |
|
|
6497 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
|
|
6498 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
|
|
6499 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
|
|
6500 | fi |
|
|
6501 | fi |
|
|
6502 | fi |
|
|
6503 | if test "x$support_afterimage" = "xyes"; then |
|
|
6504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6505 | $as_echo "$AFTERIMAGE_LIBS" >&6; } |
|
|
6506 | image_lib=libafterimage |
|
|
6507 | |
|
|
6508 | $as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h |
|
|
6509 | |
|
|
6510 | |
|
|
6511 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
6512 | |
|
|
6513 | else |
|
|
6514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
6515 | $as_echo "no" >&6; } |
|
|
6516 | fi |
|
|
6517 | fi |
|
|
6518 | fi |
|
|
6519 | |
|
|
6520 | |
|
|
6521 | |
|
|
6522 | |
|
|
6523 | for ac_header in \ |
|
|
6524 | sys/byteorder.h \ |
|
|
6525 | sys/ioctl.h \ |
|
|
6526 | sys/sockio.h \ |
|
|
6527 | sys/strredir.h \ |
|
|
6528 | stdint.h \ |
|
|
6529 | wchar.h \ |
|
|
6530 | cwchar \ |
|
|
6531 | |
|
|
6532 | do : |
|
|
6533 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6534 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
6535 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
6536 | cat >>confdefs.h <<_ACEOF |
|
|
6537 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6538 | _ACEOF |
|
|
6539 | |
|
|
6540 | fi |
|
|
6541 | |
|
|
6542 | done |
|
|
6543 | |
|
|
6544 | |
|
|
6545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
6546 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
|
|
6547 | if ${rxvt_cv_xlib_illegal_access+:} false; then : |
|
|
6548 | $as_echo_n "(cached) " >&6 |
|
|
6549 | else |
|
|
6550 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6551 | /* end confdefs.h. */ |
|
|
6552 | |
|
|
6553 | #define XLIB_ILLEGAL_ACCESS |
|
|
6554 | #include <X11/Xlib.h> |
|
|
6555 | |
|
|
6556 | int |
|
|
6557 | main () |
|
|
6558 | { |
|
|
6559 | |
|
|
6560 | Display *dpy; |
|
|
6561 | dpy->xdefaults = (char *)0; |
|
|
6562 | |
|
|
6563 | ; |
|
|
6564 | return 0; |
|
|
6565 | } |
|
|
6566 | _ACEOF |
|
|
6567 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6568 | rxvt_cv_xlib_illegal_access=yes |
|
|
6569 | else |
|
|
6570 | rxvt_cv_xlib_illegal_access=no |
|
|
6571 | |
|
|
6572 | fi |
|
|
6573 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6574 | fi |
|
|
6575 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_xlib_illegal_access" >&5 |
|
|
6576 | $as_echo "$rxvt_cv_xlib_illegal_access" >&6; } |
|
|
6577 | if test x$rxvt_cv_xlib_illegal_access = xyes; then |
|
|
6578 | |
|
|
6579 | $as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h |
|
|
6580 | |
|
|
6581 | fi |
|
|
6582 | |
|
|
6583 | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
|
|
6584 | if test "x$ac_cv_type_mode_t" = xyes; then : |
|
|
6585 | |
|
|
6586 | else |
|
|
6587 | |
|
|
6588 | cat >>confdefs.h <<_ACEOF |
|
|
6589 | #define mode_t int |
|
|
6590 | _ACEOF |
|
|
6591 | |
|
|
6592 | fi |
|
|
6593 | |
|
|
6594 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
|
|
6595 | if test "x$ac_cv_type_pid_t" = xyes; then : |
|
|
6596 | |
|
|
6597 | else |
|
|
6598 | |
|
|
6599 | cat >>confdefs.h <<_ACEOF |
|
|
6600 | #define pid_t int |
|
|
6601 | _ACEOF |
|
|
6602 | |
|
|
6603 | fi |
|
|
6604 | |
|
|
6605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
|
|
6606 | $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
|
|
6607 | if ${ac_cv_type_uid_t+:} false; then : |
|
|
6608 | $as_echo_n "(cached) " >&6 |
|
|
6609 | else |
|
|
6610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6611 | /* end confdefs.h. */ |
|
|
6612 | #include <sys/types.h> |
|
|
6613 | |
|
|
6614 | _ACEOF |
|
|
6615 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6616 | $EGREP "uid_t" >/dev/null 2>&1; then : |
|
|
6617 | ac_cv_type_uid_t=yes |
|
|
6618 | else |
|
|
6619 | ac_cv_type_uid_t=no |
|
|
6620 | fi |
|
|
6621 | rm -f conftest* |
|
|
6622 | |
|
|
6623 | fi |
|
|
6624 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 |
|
|
6625 | $as_echo "$ac_cv_type_uid_t" >&6; } |
|
|
6626 | if test $ac_cv_type_uid_t = no; then |
|
|
6627 | |
|
|
6628 | $as_echo "#define uid_t int" >>confdefs.h |
|
|
6629 | |
|
|
6630 | |
|
|
6631 | $as_echo "#define gid_t int" >>confdefs.h |
|
|
6632 | |
|
|
6633 | fi |
|
|
6634 | |
|
|
6635 | ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" |
|
|
6636 | case $ac_cv_c_int16_t in #( |
|
|
6637 | no|yes) ;; #( |
|
|
6638 | *) |
|
|
6639 | |
|
|
6640 | cat >>confdefs.h <<_ACEOF |
|
|
6641 | #define int16_t $ac_cv_c_int16_t |
|
|
6642 | _ACEOF |
|
|
6643 | ;; |
|
|
6644 | esac |
|
|
6645 | |
|
|
6646 | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
|
|
6647 | case $ac_cv_c_uint16_t in #( |
|
|
6648 | no|yes) ;; #( |
|
|
6649 | *) |
|
|
6650 | |
|
|
6651 | |
|
|
6652 | cat >>confdefs.h <<_ACEOF |
|
|
6653 | #define uint16_t $ac_cv_c_uint16_t |
|
|
6654 | _ACEOF |
|
|
6655 | ;; |
|
|
6656 | esac |
|
|
6657 | |
|
|
6658 | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" |
|
|
6659 | case $ac_cv_c_int32_t in #( |
|
|
6660 | no|yes) ;; #( |
|
|
6661 | *) |
|
|
6662 | |
|
|
6663 | cat >>confdefs.h <<_ACEOF |
|
|
6664 | #define int32_t $ac_cv_c_int32_t |
|
|
6665 | _ACEOF |
|
|
6666 | ;; |
|
|
6667 | esac |
|
|
6668 | |
|
|
6669 | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" |
|
|
6670 | case $ac_cv_c_uint32_t in #( |
|
|
6671 | no|yes) ;; #( |
|
|
6672 | *) |
|
|
6673 | |
|
|
6674 | $as_echo "#define _UINT32_T 1" >>confdefs.h |
|
|
6675 | |
|
|
6676 | |
|
|
6677 | cat >>confdefs.h <<_ACEOF |
|
|
6678 | #define uint32_t $ac_cv_c_uint32_t |
|
|
6679 | _ACEOF |
|
|
6680 | ;; |
|
|
6681 | esac |
|
|
6682 | |
|
|
6683 | |
|
|
6684 | for ac_func in unsetenv |
|
|
6685 | do : |
|
|
6686 | ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
|
|
6687 | if test "x$ac_cv_func_unsetenv" = xyes; then : |
|
|
6688 | cat >>confdefs.h <<_ACEOF |
|
|
6689 | #define HAVE_UNSETENV 1 |
|
|
6690 | _ACEOF |
|
|
6691 | |
|
|
6692 | fi |
|
|
6693 | done |
|
|
6694 | |
|
|
6695 | |
|
|
6696 | |
|
|
6697 | support_utmp=yes |
|
|
6698 | support_wtmp=yes |
|
|
6699 | support_lastlog=yes |
|
|
6700 | |
|
|
6701 | # Check whether --enable-utmp was given. |
|
|
6702 | if test "${enable_utmp+set}" = set; then : |
|
|
6703 | enableval=$enable_utmp; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6704 | support_utmp=$enableval |
|
|
6705 | fi |
|
|
6706 | fi |
|
|
6707 | |
|
|
6708 | |
|
|
6709 | # Check whether --enable-wtmp was given. |
|
|
6710 | if test "${enable_wtmp+set}" = set; then : |
|
|
6711 | enableval=$enable_wtmp; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6712 | support_wtmp=$enableval |
|
|
6713 | fi |
|
|
6714 | fi |
|
|
6715 | |
|
|
6716 | |
|
|
6717 | # Check whether --enable-lastlog was given. |
|
|
6718 | if test "${enable_lastlog+set}" = set; then : |
|
|
6719 | enableval=$enable_lastlog; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
6720 | support_lastlog=$enableval |
|
|
6721 | fi |
|
|
6722 | fi |
|
|
6723 | |
|
|
6724 | |
|
|
6725 | if test x$support_utmp = xyes; then |
|
|
6726 | |
|
|
6727 | $as_echo "#define UTMP_SUPPORT 1" >>confdefs.h |
|
|
6728 | |
|
|
6729 | fi |
|
|
6730 | if test x$support_wtmp = xyes; then |
|
|
6731 | |
|
|
6732 | $as_echo "#define WTMP_SUPPORT 1" >>confdefs.h |
|
|
6733 | |
|
|
6734 | fi |
|
|
6735 | if test x$support_lastlog = xyes; then |
|
|
6736 | |
|
|
6737 | $as_echo "#define LASTLOG_SUPPORT 1" >>confdefs.h |
|
|
6738 | |
|
|
6739 | fi |
|
|
6740 | |
|
|
6741 | for ac_func in \ |
|
|
6742 | updwtmp \ |
|
|
6743 | updwtmpx \ |
|
|
6744 | updlastlogx \ |
|
|
6745 | |
|
|
6746 | do : |
|
|
6747 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
6748 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
6749 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
6750 | cat >>confdefs.h <<_ACEOF |
|
|
6751 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6752 | _ACEOF |
|
|
6753 | |
|
|
6754 | fi |
|
|
6755 | done |
|
|
6756 | |
|
|
6757 | |
|
|
6758 | for ac_header in lastlog.h |
|
|
6759 | do : |
|
|
6760 | ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" |
|
|
6761 | if test "x$ac_cv_header_lastlog_h" = xyes; then : |
|
|
6762 | cat >>confdefs.h <<_ACEOF |
|
|
6763 | #define HAVE_LASTLOG_H 1 |
|
|
6764 | _ACEOF |
|
|
6765 | |
|
|
6766 | fi |
|
|
6767 | |
|
|
6768 | done |
|
|
6769 | |
|
|
6770 | |
|
|
6771 | |
|
|
6772 | for ac_header in utmp.h |
|
|
6773 | do : |
|
|
6774 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" |
|
|
6775 | if test "x$ac_cv_header_utmp_h" = xyes; then : |
|
|
6776 | cat >>confdefs.h <<_ACEOF |
|
|
6777 | #define HAVE_UTMP_H 1 |
|
|
6778 | _ACEOF |
|
|
6779 | ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " |
|
|
6780 | #include <sys/types.h> |
|
|
6781 | #include <utmp.h> |
|
|
6782 | |
|
|
6783 | " |
|
|
6784 | if test "x$ac_cv_type_struct_utmp" = xyes; then : |
|
|
6785 | |
|
|
6786 | cat >>confdefs.h <<_ACEOF |
|
|
6787 | #define HAVE_STRUCT_UTMP 1 |
|
|
6788 | _ACEOF |
|
|
6789 | |
|
|
6790 | |
|
|
6791 | fi |
|
|
6792 | |
|
|
6793 | |
|
|
6794 | |
|
|
6795 | # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES |
|
|
6796 | # ------------------------------------------------------ |
|
|
6797 | # Tries to find if the field MEMBER exists in type AGGR, after including |
|
|
6798 | # INCLUDES, setting cache variable VAR accordingly. |
|
|
6799 | ac_fn_cxx_check_member () |
|
|
6800 | { |
|
|
6801 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
6802 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
|
|
6803 | $as_echo_n "checking for $2.$3... " >&6; } |
|
|
6804 | if eval \${$4+:} false; then : |
|
|
6805 | $as_echo_n "(cached) " >&6 |
|
|
6806 | else |
|
|
6807 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6808 | /* end confdefs.h. */ |
|
|
6809 | $5 |
|
|
6810 | int |
|
|
6811 | main () |
|
|
6812 | { |
|
|
6813 | static $2 ac_aggr; |
|
|
6814 | if (ac_aggr.$3) |
|
|
6815 | return 0; |
|
|
6816 | ; |
|
|
6817 | return 0; |
|
|
6818 | } |
|
|
6819 | _ACEOF |
|
|
6820 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6821 | eval "$4=yes" |
|
|
6822 | else |
|
|
6823 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6824 | /* end confdefs.h. */ |
|
|
6825 | $5 |
|
|
6826 | int |
|
|
6827 | main () |
|
|
6828 | { |
|
|
6829 | static $2 ac_aggr; |
|
|
6830 | if (sizeof ac_aggr.$3) |
|
|
6831 | return 0; |
|
|
6832 | ; |
|
|
6833 | return 0; |
|
|
6834 | } |
|
|
6835 | _ACEOF |
|
|
6836 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6837 | eval "$4=yes" |
|
|
6838 | else |
|
|
6839 | eval "$4=no" |
|
|
6840 | fi |
|
|
6841 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6842 | fi |
|
|
6843 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6844 | fi |
|
|
6845 | eval ac_res=\$$4 |
|
|
6846 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
6847 | $as_echo "$ac_res" >&6; } |
|
|
6848 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
6849 | |
|
|
6850 | } # ac_fn_cxx_check_member |
|
|
6851 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " |
|
|
6852 | #include <sys/types.h> |
|
|
6853 | #include <utmp.h> |
|
|
6854 | |
|
|
6855 | " |
|
|
6856 | if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then : |
|
|
6857 | |
|
|
6858 | $as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h |
|
|
6859 | |
|
|
6860 | fi |
|
|
6861 | |
|
|
6862 | |
|
|
6863 | ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " |
|
|
6864 | #include <sys/types.h> |
|
|
6865 | #include <utmp.h> |
|
|
6866 | |
|
|
6867 | " |
|
|
6868 | if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then : |
|
|
6869 | |
|
|
6870 | $as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h |
|
|
6871 | |
|
|
6872 | fi |
|
|
6873 | |
|
|
6874 | |
|
|
6875 | fi |
|
|
6876 | |
|
|
6877 | done |
|
|
6878 | |
|
|
6879 | |
|
|
6880 | for ac_header in utmpx.h |
|
|
6881 | do : |
|
|
6882 | ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" |
|
|
6883 | if test "x$ac_cv_header_utmpx_h" = xyes; then : |
|
|
6884 | cat >>confdefs.h <<_ACEOF |
|
|
6885 | #define HAVE_UTMPX_H 1 |
|
|
6886 | _ACEOF |
|
|
6887 | ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " |
|
|
6888 | #include <sys/types.h> |
|
|
6889 | #include <utmpx.h> |
|
|
6890 | |
|
|
6891 | " |
|
|
6892 | if test "x$ac_cv_type_struct_utmpx" = xyes; then : |
|
|
6893 | |
|
|
6894 | cat >>confdefs.h <<_ACEOF |
|
|
6895 | #define HAVE_STRUCT_UTMPX 1 |
|
|
6896 | _ACEOF |
|
|
6897 | |
|
|
6898 | |
|
|
6899 | fi |
|
|
6900 | |
|
|
6901 | |
|
|
6902 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " |
|
|
6903 | #include <sys/types.h> |
|
|
6904 | #include <utmpx.h> |
|
|
6905 | |
|
|
6906 | " |
|
|
6907 | if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : |
|
|
6908 | |
|
|
6909 | $as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h |
|
|
6910 | |
|
|
6911 | fi |
|
|
6912 | |
|
|
6913 | |
|
|
6914 | ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" " |
|
|
6915 | #include <sys/types.h> |
|
|
6916 | #include <utmpx.h> |
|
|
6917 | |
|
|
6918 | " |
|
|
6919 | if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then : |
|
|
6920 | |
|
|
6921 | $as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h |
|
|
6922 | |
|
|
6923 | fi |
|
|
6924 | |
|
|
6925 | |
|
|
6926 | fi |
|
|
6927 | |
|
|
6928 | done |
|
|
6929 | |
|
|
6930 | ac_fn_cxx_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" " |
|
|
6931 | #include <sys/types.h> |
|
|
6932 | #include <utmp.h> |
|
|
6933 | #ifdef HAVE_LASTLOG_H |
|
|
6934 | #include <lastlog.h> |
|
|
6935 | #endif |
|
|
6936 | |
|
|
6937 | " |
|
|
6938 | if test "x$ac_cv_type_struct_lastlog" = xyes; then : |
|
|
6939 | |
|
|
6940 | cat >>confdefs.h <<_ACEOF |
|
|
6941 | #define HAVE_STRUCT_LASTLOG 1 |
|
|
6942 | _ACEOF |
|
|
6943 | |
|
|
6944 | |
|
|
6945 | fi |
|
|
6946 | |
|
|
6947 | |
|
|
6948 | ac_fn_cxx_check_type "$LINENO" "struct lastlogx" "ac_cv_type_struct_lastlogx" " |
|
|
6949 | #include <sys/types.h> |
|
|
6950 | #include <utmpx.h> |
|
|
6951 | #ifdef HAVE_LASTLOG_H |
|
|
6952 | #include <lastlog.h> |
|
|
6953 | #endif |
|
|
6954 | |
|
|
6955 | " |
|
|
6956 | if test "x$ac_cv_type_struct_lastlogx" = xyes; then : |
|
|
6957 | |
|
|
6958 | cat >>confdefs.h <<_ACEOF |
|
|
6959 | #define HAVE_STRUCT_LASTLOGX 1 |
|
|
6960 | _ACEOF |
|
|
6961 | |
|
|
6962 | |
|
|
6963 | fi |
|
|
6964 | |
|
|
6965 | |
|
|
6966 | |
|
|
6967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5 |
|
|
6968 | $as_echo_n "checking for a fallback location of utmp... " >&6; } |
|
|
6969 | if ${pt_cv_path_utmp+:} false; then : |
|
|
6970 | $as_echo_n "(cached) " >&6 |
|
|
6971 | else |
|
|
6972 | |
|
|
6973 | if test "$cross_compiling" != yes; then |
|
|
6974 | for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do |
|
|
6975 | if test -f "$file"; then |
|
|
6976 | pt_cv_path_utmp=$file |
|
|
6977 | break |
|
|
6978 | fi |
|
|
6979 | done |
|
|
6980 | fi |
|
|
6981 | fi |
|
|
6982 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 |
|
|
6983 | $as_echo "$pt_cv_path_utmp" >&6; } |
|
|
6984 | if test x$pt_cv_path_utmp != x; then |
|
|
6985 | |
|
|
6986 | cat >>confdefs.h <<_ACEOF |
|
|
6987 | #define PT_UTMP_FILE "$pt_cv_path_utmp" |
|
|
6988 | _ACEOF |
|
|
6989 | |
|
|
6990 | elif test "$cross_compiling" = yes; then |
|
|
6991 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5 |
|
|
6992 | $as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;} |
|
|
6993 | fi |
|
|
6994 | |
|
|
6995 | |
|
|
6996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5 |
|
|
6997 | $as_echo_n "checking for a fallback location of wtmp... " >&6; } |
|
|
6998 | if ${pt_cv_path_wtmp+:} false; then : |
|
|
6999 | $as_echo_n "(cached) " >&6 |
|
|
7000 | else |
|
|
7001 | |
|
|
7002 | if test "$cross_compiling" != yes; then |
|
|
7003 | for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do |
|
|
7004 | if test -f "$file"; then |
|
|
7005 | pt_cv_path_wtmp=$file |
|
|
7006 | break |
|
|
7007 | fi |
|
|
7008 | done |
|
|
7009 | fi |
|
|
7010 | fi |
|
|
7011 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 |
|
|
7012 | $as_echo "$pt_cv_path_wtmp" >&6; } |
|
|
7013 | if test x$pt_cv_path_wtmp != x; then |
|
|
7014 | |
|
|
7015 | cat >>confdefs.h <<_ACEOF |
|
|
7016 | #define PT_WTMP_FILE "$pt_cv_path_wtmp" |
|
|
7017 | _ACEOF |
|
|
7018 | |
|
|
7019 | elif test "$cross_compiling" = yes; then |
|
|
7020 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5 |
|
|
7021 | $as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;} |
|
|
7022 | fi |
|
|
7023 | |
|
|
7024 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5 |
|
|
7025 | $as_echo_n "checking for a fallback location of wtmpx... " >&6; } |
|
|
7026 | if ${pt_cv_path_wtmpx+:} false; then : |
|
|
7027 | $as_echo_n "(cached) " >&6 |
|
|
7028 | else |
|
|
7029 | |
|
|
7030 | if test "$cross_compiling" != yes; then |
|
|
7031 | for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do |
|
|
7032 | if test -f "$file"; then |
|
|
7033 | pt_cv_path_wtmpx=$file |
|
|
7034 | break |
|
|
7035 | fi |
|
|
7036 | done |
|
|
7037 | fi |
|
|
7038 | fi |
|
|
7039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 |
|
|
7040 | $as_echo "$pt_cv_path_wtmpx" >&6; } |
|
|
7041 | if test x$pt_cv_path_wtmpx != x; then |
|
|
7042 | |
|
|
7043 | cat >>confdefs.h <<_ACEOF |
|
|
7044 | #define PT_WTMPX_FILE "$pt_cv_path_wtmpx" |
|
|
7045 | _ACEOF |
|
|
7046 | |
|
|
7047 | elif test "$cross_compiling" = yes; then |
|
|
7048 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5 |
|
|
7049 | $as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;} |
|
|
7050 | fi |
|
|
7051 | |
|
|
7052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5 |
|
|
7053 | $as_echo_n "checking for a fallback location of lastlog... " >&6; } |
|
|
7054 | if ${pt_cv_path_lastlog+:} false; then : |
|
|
7055 | $as_echo_n "(cached) " >&6 |
|
|
7056 | else |
|
|
7057 | |
|
|
7058 | if test "$cross_compiling" != yes; then |
|
|
7059 | for file in "/var/log/lastlog"; do |
|
|
7060 | if test -f "$file"; then |
|
|
7061 | pt_cv_path_lastlog=$file |
|
|
7062 | break |
|
|
7063 | fi |
|
|
7064 | done |
|
|
7065 | fi |
|
|
7066 | fi |
|
|
7067 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 |
|
|
7068 | $as_echo "$pt_cv_path_lastlog" >&6; } |
|
|
7069 | if test x$pt_cv_path_lastlog != x; then |
|
|
7070 | |
|
|
7071 | cat >>confdefs.h <<_ACEOF |
|
|
7072 | #define PT_LASTLOG_FILE "$pt_cv_path_lastlog" |
|
|
7073 | _ACEOF |
|
|
7074 | |
|
|
7075 | elif test "$cross_compiling" = yes; then |
|
|
7076 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5 |
|
|
7077 | $as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;} |
|
|
7078 | fi |
|
|
7079 | |
|
|
7080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5 |
|
|
7081 | $as_echo_n "checking for a fallback location of lastlogx... " >&6; } |
|
|
7082 | if ${pt_cv_path_lastlogx+:} false; then : |
|
|
7083 | $as_echo_n "(cached) " >&6 |
|
|
7084 | else |
|
|
7085 | |
|
|
7086 | if test "$cross_compiling" != yes; then |
|
|
7087 | for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do |
|
|
7088 | if test -f "$file"; then |
|
|
7089 | pt_cv_path_lastlogx=$file |
|
|
7090 | break |
|
|
7091 | fi |
|
|
7092 | done |
|
|
7093 | fi |
|
|
7094 | fi |
|
|
7095 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 |
|
|
7096 | $as_echo "$pt_cv_path_lastlogx" >&6; } |
|
|
7097 | if test x$pt_cv_path_lastlogx != x; then |
|
|
7098 | |
|
|
7099 | cat >>confdefs.h <<_ACEOF |
|
|
7100 | #define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx" |
|
|
7101 | _ACEOF |
|
|
7102 | |
|
|
7103 | elif test "$cross_compiling" = yes; then |
|
|
7104 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5 |
|
|
7105 | $as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;} |
|
|
7106 | fi |
|
|
7107 | |
|
|
7108 | |
|
|
7109 | |
|
|
7110 | |
|
|
7111 | save_LIBS=$LIBS |
7428 | save_LIBS="$LIBS" |
7112 | save_CFLAGS=$CFLAGS |
7429 | LIBS="$LIBS $X_LIBS" |
7113 | CFLAGS="$CFLAGS $X_CFLAGS" |
7430 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7114 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7431 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
7115 | if test x$support_xim = xyes; then |
|
|
7116 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 |
|
|
7117 | $as_echo_n "checking for working Xlocale... " >&6; } |
|
|
7118 | if ${rxvt_cv_func_xlocale+:} false; then : |
|
|
7119 | $as_echo_n "(cached) " >&6 |
|
|
7120 | else |
|
|
7121 | if test "$cross_compiling" = yes; then : |
|
|
7122 | : |
|
|
7123 | else |
|
|
7124 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7125 | /* end confdefs.h. */ |
|
|
7126 | |
7432 | |
7127 | #include <X11/Xlib.h> |
|
|
7128 | #include <stdlib.h> |
|
|
7129 | int main() { |
|
|
7130 | char *p; |
|
|
7131 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
|
|
7132 | exit (XSupportsLocale() ? 0 : 1); |
|
|
7133 | else |
|
|
7134 | exit (1); |
|
|
7135 | } |
|
|
7136 | |
|
|
7137 | _ACEOF |
|
|
7138 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7139 | rxvt_cv_func_xlocale=yes |
|
|
7140 | else |
|
|
7141 | rxvt_cv_func_xlocale=no |
|
|
7142 | fi |
|
|
7143 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7144 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7145 | fi |
|
|
7146 | |
|
|
7147 | fi |
|
|
7148 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_xlocale" >&5 |
|
|
7149 | $as_echo "$rxvt_cv_func_xlocale" >&6; } |
|
|
7150 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
7151 | |
|
|
7152 | $as_echo "#define USE_XIM 1" >>confdefs.h |
|
|
7153 | |
|
|
7154 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 |
|
|
7155 | $as_echo_n "checking for broken XIM callback... " >&6; } |
|
|
7156 | if ${rxvt_cv_broken_ximcb+:} false; then : |
|
|
7157 | $as_echo_n "(cached) " >&6 |
|
|
7158 | else |
|
|
7159 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7160 | /* end confdefs.h. */ |
|
|
7161 | |
|
|
7162 | #include <X11/Xlib.h> |
|
|
7163 | |
|
|
7164 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
7165 | |
|
|
7166 | void f() { |
|
|
7167 | XIMCallback cb; |
|
|
7168 | cb.callback = im_destroy_cb; |
|
|
7169 | } |
|
|
7170 | |
|
|
7171 | _ACEOF |
|
|
7172 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
7173 | rxvt_cv_broken_ximcb=yes |
|
|
7174 | else |
|
|
7175 | rxvt_cv_broken_ximcb=no |
|
|
7176 | fi |
|
|
7177 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7178 | fi |
|
|
7179 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_broken_ximcb" >&5 |
|
|
7180 | $as_echo "$rxvt_cv_broken_ximcb" >&6; } |
|
|
7181 | |
|
|
7182 | if test x$rxvt_cv_broken_ximcb = xyes; then |
|
|
7183 | |
|
|
7184 | $as_echo "#define XIMCB_PROTO_BROKEN 1" >>confdefs.h |
|
|
7185 | |
|
|
7186 | fi |
|
|
7187 | fi |
|
|
7188 | fi |
|
|
7189 | |
|
|
7190 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 |
|
|
7191 | $as_echo_n "checking for working X setlocale... " >&6; } |
|
|
7192 | if ${rxvt_cv_func_xsetlocale+:} false; then : |
|
|
7193 | $as_echo_n "(cached) " >&6 |
|
|
7194 | else |
|
|
7195 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7196 | /* end confdefs.h. */ |
|
|
7197 | #define X_LOCALE 1 |
|
|
7198 | #include <X11/Xlocale.h> |
|
|
7199 | int |
|
|
7200 | main () |
|
|
7201 | { |
|
|
7202 | setlocale(LC_CTYPE, ""); |
|
|
7203 | ; |
|
|
7204 | return 0; |
|
|
7205 | } |
|
|
7206 | _ACEOF |
|
|
7207 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7208 | rxvt_cv_func_xsetlocale=yes |
|
|
7209 | else |
|
|
7210 | rxvt_cv_func_xsetlocale=no |
|
|
7211 | fi |
|
|
7212 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7213 | conftest$ac_exeext conftest.$ac_ext |
|
|
7214 | fi |
|
|
7215 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_xsetlocale" >&5 |
|
|
7216 | $as_echo "$rxvt_cv_func_xsetlocale" >&6; } |
|
|
7217 | if test x$rxvt_cv_func_xsetlocale = xyes; then |
|
|
7218 | |
|
|
7219 | $as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h |
|
|
7220 | |
|
|
7221 | fi |
|
|
7222 | LIBS=$save_LIBS |
|
|
7223 | CFLAGS=$save_CFLAGS |
|
|
7224 | |
|
|
7225 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 |
|
|
7226 | $as_echo_n "checking for working plain setlocale... " >&6; } |
|
|
7227 | if ${rxvt_cv_func_setlocale+:} false; then : |
|
|
7228 | $as_echo_n "(cached) " >&6 |
|
|
7229 | else |
|
|
7230 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7231 | /* end confdefs.h. */ |
|
|
7232 | #include <clocale> |
|
|
7233 | int |
|
|
7234 | main () |
|
|
7235 | { |
|
|
7236 | setlocale(LC_CTYPE, ""); |
|
|
7237 | ; |
|
|
7238 | return 0; |
|
|
7239 | } |
|
|
7240 | _ACEOF |
|
|
7241 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7242 | rxvt_cv_func_setlocale=yes |
|
|
7243 | else |
|
|
7244 | rxvt_cv_func_setlocale=no |
|
|
7245 | fi |
|
|
7246 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7247 | conftest$ac_exeext conftest.$ac_ext |
|
|
7248 | fi |
|
|
7249 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5 |
|
|
7250 | $as_echo "$rxvt_cv_func_setlocale" >&6; } |
|
|
7251 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
7252 | |
|
|
7253 | $as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h |
|
|
7254 | |
|
|
7255 | fi |
|
|
7256 | |
|
|
7257 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
|
|
7258 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
|
|
7259 | if ${rxvt_cv_func_nl_langinfo+:} false; then : |
|
|
7260 | $as_echo_n "(cached) " >&6 |
|
|
7261 | else |
|
|
7262 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7263 | /* end confdefs.h. */ |
|
|
7264 | #include <langinfo.h> |
|
|
7265 | int |
|
|
7266 | main () |
|
|
7267 | { |
|
|
7268 | nl_langinfo(CODESET); |
|
|
7269 | ; |
|
|
7270 | return 0; |
|
|
7271 | } |
|
|
7272 | _ACEOF |
|
|
7273 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7274 | rxvt_cv_func_nl_langinfo=yes |
|
|
7275 | else |
|
|
7276 | rxvt_cv_func_nl_langinfo=no |
|
|
7277 | fi |
|
|
7278 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7279 | conftest$ac_exeext conftest.$ac_ext |
|
|
7280 | fi |
|
|
7281 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_nl_langinfo" >&5 |
|
|
7282 | $as_echo "$rxvt_cv_func_nl_langinfo" >&6; } |
|
|
7283 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
|
|
7284 | |
|
|
7285 | $as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h |
|
|
7286 | |
|
|
7287 | fi |
|
|
7288 | |
|
|
7289 | |
|
|
7290 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 |
|
|
7291 | $as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } |
|
|
7292 | if ${pt_cv_can_pass_fds+:} false; then : |
|
|
7293 | $as_echo_n "(cached) " >&6 |
|
|
7294 | else |
|
|
7295 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7296 | /* end confdefs.h. */ |
|
|
7297 | |
|
|
7298 | #include <cstddef> // broken bsds (is that redundant?) need this |
|
|
7299 | #include <sys/types.h> |
|
|
7300 | #include <sys/socket.h> |
|
|
7301 | #include <sys/uio.h> |
|
|
7302 | |
|
|
7303 | int |
|
|
7304 | main () |
|
|
7305 | { |
|
|
7306 | |
|
|
7307 | { |
|
|
7308 | msghdr msg; |
|
|
7309 | iovec iov; |
|
|
7310 | char buf [100]; |
|
|
7311 | char data = 0; |
|
|
7312 | |
|
|
7313 | iov.iov_base = &data; |
|
|
7314 | iov.iov_len = 1; |
|
|
7315 | |
|
|
7316 | msg.msg_iov = &iov; |
|
|
7317 | msg.msg_iovlen = 1; |
|
|
7318 | msg.msg_control = buf; |
|
|
7319 | msg.msg_controllen = sizeof buf; |
|
|
7320 | |
|
|
7321 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
7322 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
7323 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
7324 | cmsg->cmsg_len = 100; |
|
|
7325 | |
|
|
7326 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
7327 | |
|
|
7328 | return sendmsg (3, &msg, 0); |
|
|
7329 | } |
|
|
7330 | |
|
|
7331 | ; |
|
|
7332 | return 0; |
|
|
7333 | } |
|
|
7334 | _ACEOF |
|
|
7335 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7336 | pt_cv_can_pass_fds=yes |
|
|
7337 | else |
|
|
7338 | pt_cv_can_pass_fds=no |
|
|
7339 | fi |
|
|
7340 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7341 | conftest$ac_exeext conftest.$ac_ext |
|
|
7342 | fi |
|
|
7343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_can_pass_fds" >&5 |
|
|
7344 | $as_echo "$pt_cv_can_pass_fds" >&6; } |
|
|
7345 | if test x$pt_cv_can_pass_fds = xyes; then |
|
|
7346 | |
|
|
7347 | $as_echo "#define HAVE_UNIX_FDPASS 1" >>confdefs.h |
|
|
7348 | |
|
|
7349 | else |
|
|
7350 | as_fn_error $? "libptytty requires unix-compliant filehandle passing ability" "$LINENO" 5 |
|
|
7351 | fi |
|
|
7352 | |
|
|
7353 | |
|
|
7354 | |
|
|
7355 | for ac_header in \ |
|
|
7356 | pty.h \ |
|
|
7357 | util.h \ |
|
|
7358 | libutil.h \ |
|
|
7359 | sys/ioctl.h \ |
|
|
7360 | sys/stropts.h \ |
|
|
7361 | stropts.h \ |
|
|
7362 | |
|
|
7363 | do : |
|
|
7364 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7365 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
7366 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
7367 | cat >>confdefs.h <<_ACEOF |
|
|
7368 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7369 | _ACEOF |
|
|
7370 | |
|
|
7371 | fi |
|
|
7372 | |
|
|
7373 | done |
|
|
7374 | |
|
|
7375 | |
|
|
7376 | for ac_func in \ |
|
|
7377 | revoke \ |
|
|
7378 | _getpty \ |
|
|
7379 | getpt \ |
|
|
7380 | posix_openpt \ |
|
|
7381 | isastream \ |
|
|
7382 | setuid \ |
|
|
7383 | seteuid \ |
|
|
7384 | setreuid \ |
|
|
7385 | setresuid \ |
|
|
7386 | |
|
|
7387 | do : |
|
|
7388 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7389 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7390 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7391 | cat >>confdefs.h <<_ACEOF |
|
|
7392 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7393 | _ACEOF |
|
|
7394 | |
|
|
7395 | fi |
|
|
7396 | done |
|
|
7397 | |
|
|
7398 | |
|
|
7399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 |
|
|
7400 | $as_echo_n "checking for UNIX98 ptys... " >&6; } |
|
|
7401 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7402 | /* end confdefs.h. */ |
|
|
7403 | #include <stdlib.h> |
|
|
7404 | int |
|
|
7405 | main () |
|
|
7406 | { |
|
|
7407 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
7408 | ; |
|
|
7409 | return 0; |
|
|
7410 | } |
|
|
7411 | _ACEOF |
|
|
7412 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7413 | unix98_pty=yes |
|
|
7414 | |
|
|
7415 | $as_echo "#define UNIX98_PTY 1" >>confdefs.h |
|
|
7416 | |
|
|
7417 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
7418 | $as_echo "yes" >&6; } |
|
|
7419 | else |
|
|
7420 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7421 | $as_echo "no" >&6; } |
|
|
7422 | fi |
|
|
7423 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7424 | conftest$ac_exeext conftest.$ac_ext |
|
|
7425 | |
|
|
7426 | if test -z "$unix98_pty"; then |
|
|
7427 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
|
|
7428 | $as_echo_n "checking for library containing openpty... " >&6; } |
|
|
7429 | if ${ac_cv_search_openpty+:} false; then : |
|
|
7430 | $as_echo_n "(cached) " >&6 |
|
|
7431 | else |
|
|
7432 | ac_func_search_save_LIBS=$LIBS |
|
|
7433 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7434 | /* end confdefs.h. */ |
|
|
7435 | |
|
|
7436 | /* Override any GCC internal prototype to avoid an error. |
|
|
7437 | Use char because int might match the return type of a GCC |
|
|
7438 | builtin and then its argument prototype would still apply. */ |
|
|
7439 | #ifdef __cplusplus |
|
|
7440 | extern "C" |
|
|
7441 | #endif |
|
|
7442 | char openpty (); |
|
|
7443 | int |
|
|
7444 | main () |
|
|
7445 | { |
|
|
7446 | return openpty (); |
|
|
7447 | ; |
|
|
7448 | return 0; |
|
|
7449 | } |
|
|
7450 | _ACEOF |
|
|
7451 | for ac_lib in '' util; do |
|
|
7452 | if test -z "$ac_lib"; then |
|
|
7453 | ac_res="none required" |
|
|
7454 | else |
7433 | else |
7455 | ac_res=-l$ac_lib |
|
|
7456 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
7457 | fi |
|
|
7458 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7459 | ac_cv_search_openpty=$ac_res |
|
|
7460 | fi |
|
|
7461 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7462 | conftest$ac_exeext |
|
|
7463 | if ${ac_cv_search_openpty+:} false; then : |
|
|
7464 | break |
|
|
7465 | fi |
|
|
7466 | done |
|
|
7467 | if ${ac_cv_search_openpty+:} false; then : |
|
|
7468 | |
|
|
7469 | else |
|
|
7470 | ac_cv_search_openpty=no |
|
|
7471 | fi |
|
|
7472 | rm conftest.$ac_ext |
|
|
7473 | LIBS=$ac_func_search_save_LIBS |
|
|
7474 | fi |
|
|
7475 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 |
|
|
7476 | $as_echo "$ac_cv_search_openpty" >&6; } |
|
|
7477 | ac_res=$ac_cv_search_openpty |
|
|
7478 | if test "$ac_res" != no; then : |
|
|
7479 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
7480 | |
|
|
7481 | $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h |
|
|
7482 | |
|
|
7483 | fi |
|
|
7484 | |
|
|
7485 | fi |
|
|
7486 | |
|
|
7487 | |
|
|
7488 | |
|
|
7489 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 |
|
|
7490 | $as_echo_n "checking for tty group... " >&6; } |
|
|
7491 | if ${pt_cv_tty_group+:} false; then : |
|
|
7492 | $as_echo_n "(cached) " >&6 |
|
|
7493 | else |
|
|
7494 | if test "$cross_compiling" = yes; then : |
|
|
7495 | pt_cv_tty_group=no |
|
|
7496 | else |
|
|
7497 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7498 | /* end confdefs.h. */ |
|
|
7499 | |
|
|
7500 | #include <sys/types.h> |
|
|
7501 | #include <sys/stat.h> |
|
|
7502 | #include <unistd.h> |
|
|
7503 | #include <grp.h> |
|
|
7504 | |
|
|
7505 | int main() |
|
|
7506 | { |
|
|
7507 | struct stat st; |
|
|
7508 | struct group *gr; |
|
|
7509 | char *tty; |
|
|
7510 | gr = getgrnam("tty"); |
|
|
7511 | tty = ttyname(0); |
|
|
7512 | if (gr != 0 |
|
|
7513 | && tty != 0 |
|
|
7514 | && (stat(tty, &st)) == 0 |
|
|
7515 | && st.st_gid == gr->gr_gid) |
|
|
7516 | return 0; |
|
|
7517 | else |
|
|
7518 | return 1; |
|
|
7519 | } |
|
|
7520 | _ACEOF |
|
|
7521 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
7522 | pt_cv_tty_group=yes |
|
|
7523 | else |
|
|
7524 | pt_cv_tty_group=no |
|
|
7525 | fi |
|
|
7526 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
7527 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
7528 | fi |
|
|
7529 | |
|
|
7530 | fi |
|
|
7531 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_tty_group" >&5 |
|
|
7532 | $as_echo "$pt_cv_tty_group" >&6; } |
|
|
7533 | if test x$pt_cv_tty_group = xyes; then |
|
|
7534 | |
|
|
7535 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
|
|
7536 | |
|
|
7537 | fi |
|
|
7538 | |
|
|
7539 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
|
|
7540 | rxvt_have_xrender=no |
7434 | rxvt_have_xrender=no |
|
|
7435 | fi |
|
|
7436 | |
|
|
7437 | |
|
|
7438 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
|
|
7439 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
|
|
7440 | |
|
|
7441 | else |
|
|
7442 | rxvt_have_xrender=no |
|
|
7443 | fi |
|
|
7444 | |
|
|
7445 | LIBS="$save_LIBS" |
|
|
7446 | fi |
|
|
7447 | fi |
|
|
7448 | |
|
|
7449 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7541 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7450 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7542 | set dummy pkg-config; ac_word=$2 |
7451 | set dummy pkg-config; ac_word=$2 |
7543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7452 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7544 | $as_echo_n "checking for $ac_word... " >&6; } |
7453 | $as_echo_n "checking for $ac_word... " >&6; } |
7545 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7454 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7546 | $as_echo_n "(cached) " >&6 |
7455 | $as_echo_n "(cached) " >&6 |
7547 | else |
7456 | else |
7548 | case $PKG_CONFIG in |
7457 | case $PKG_CONFIG in |
7549 | [\\/]* | ?:[\\/]*) |
7458 | [\\/]* | ?:[\\/]*) |
7550 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7459 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7577 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7486 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7578 | $as_echo "no" >&6; } |
7487 | $as_echo "no" >&6; } |
7579 | fi |
7488 | fi |
7580 | |
7489 | |
7581 | |
7490 | |
7582 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
7491 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
7583 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
7492 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
7584 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
7493 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
7585 | rxvt_have_xrender=yes |
7494 | else |
|
|
7495 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
7496 | set dummy xft-config; ac_word=$2 |
|
|
7497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
7498 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
7499 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then : |
|
|
7500 | $as_echo_n "(cached) " >&6 |
|
|
7501 | else |
|
|
7502 | case $XFT_CONFIG in |
|
|
7503 | [\\/]* | ?:[\\/]*) |
|
|
7504 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
7505 | ;; |
|
|
7506 | *) |
|
|
7507 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7508 | for as_dir in $PATH |
|
|
7509 | do |
|
|
7510 | IFS=$as_save_IFS |
|
|
7511 | test -z "$as_dir" && as_dir=. |
|
|
7512 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7513 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7514 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7515 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7516 | break 2 |
|
|
7517 | fi |
|
|
7518 | done |
|
|
7519 | done |
|
|
7520 | IFS=$as_save_IFS |
7586 | |
7521 | |
|
|
7522 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
7523 | ;; |
|
|
7524 | esac |
|
|
7525 | fi |
|
|
7526 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
7527 | if test -n "$XFT_CONFIG"; then |
|
|
7528 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CONFIG" >&5 |
|
|
7529 | $as_echo "$XFT_CONFIG" >&6; } |
|
|
7530 | else |
|
|
7531 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7532 | $as_echo "no" >&6; } |
|
|
7533 | fi |
|
|
7534 | |
|
|
7535 | |
|
|
7536 | if test $XFT_CONFIG != no; then |
|
|
7537 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
|
|
7538 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
7539 | fi |
|
|
7540 | fi |
|
|
7541 | |
|
|
7542 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then |
|
|
7543 | X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS" |
|
|
7544 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
|
|
7545 | fi |
|
|
7546 | |
7587 | save_LIBS="$LIBS" |
7547 | save_LIBS="$LIBS" |
7588 | LIBS="$LIBS $X_LIBS" |
7548 | LIBS="$LIBS $X_LIBS" |
|
|
7549 | for ac_header in X11/Xft/Xft.h |
|
|
7550 | do : |
7589 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
7551 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7590 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then : |
7552 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : |
|
|
7553 | cat >>confdefs.h <<_ACEOF |
|
|
7554 | #define HAVE_X11_XFT_XFT_H 1 |
|
|
7555 | _ACEOF |
7591 | |
7556 | |
7592 | else |
7557 | else |
7593 | rxvt_have_xrender=no |
7558 | support_xft=no |
7594 | fi |
7559 | fi |
7595 | |
7560 | |
|
|
7561 | done |
7596 | |
7562 | |
7597 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
7563 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
7598 | if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then : |
7564 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
7599 | |
7565 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then : |
|
|
7566 | $as_echo_n "(cached) " >&6 |
7600 | else |
7567 | else |
7601 | rxvt_have_xrender=no |
7568 | ac_check_lib_save_LIBS=$LIBS |
7602 | fi |
7569 | LIBS="-lXft $LIBS" |
|
|
7570 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7571 | /* end confdefs.h. */ |
7603 | |
7572 | |
|
|
7573 | /* Override any GCC internal prototype to avoid an error. |
|
|
7574 | Use char because int might match the return type of a GCC |
|
|
7575 | builtin and then its argument prototype would still apply. */ |
|
|
7576 | #ifdef __cplusplus |
|
|
7577 | extern "C" |
|
|
7578 | #endif |
|
|
7579 | char XftDrawString32 (); |
|
|
7580 | int |
|
|
7581 | main () |
|
|
7582 | { |
|
|
7583 | return XftDrawString32 (); |
|
|
7584 | ; |
|
|
7585 | return 0; |
|
|
7586 | } |
|
|
7587 | _ACEOF |
|
|
7588 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7589 | ac_cv_lib_Xft_XftDrawString32=yes |
|
|
7590 | else |
|
|
7591 | ac_cv_lib_Xft_XftDrawString32=no |
|
|
7592 | fi |
|
|
7593 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7594 | conftest$ac_exeext conftest.$ac_ext |
|
|
7595 | LIBS=$ac_check_lib_save_LIBS |
|
|
7596 | fi |
|
|
7597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
|
|
7598 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
|
|
7599 | if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then : |
|
|
7600 | : |
|
|
7601 | else |
|
|
7602 | support_xft=no |
|
|
7603 | fi |
|
|
7604 | |
|
|
7605 | for ac_header in fontconfig/fontconfig.h |
|
|
7606 | do : |
|
|
7607 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
|
|
7608 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then : |
|
|
7609 | cat >>confdefs.h <<_ACEOF |
|
|
7610 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
|
|
7611 | _ACEOF |
|
|
7612 | |
|
|
7613 | else |
|
|
7614 | support_xft=no |
|
|
7615 | fi |
|
|
7616 | |
|
|
7617 | done |
|
|
7618 | |
|
|
7619 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
|
|
7620 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
|
|
7621 | if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then : |
|
|
7622 | $as_echo_n "(cached) " >&6 |
|
|
7623 | else |
|
|
7624 | ac_check_lib_save_LIBS=$LIBS |
|
|
7625 | LIBS="-lfontconfig $LIBS" |
|
|
7626 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7627 | /* end confdefs.h. */ |
|
|
7628 | |
|
|
7629 | /* Override any GCC internal prototype to avoid an error. |
|
|
7630 | Use char because int might match the return type of a GCC |
|
|
7631 | builtin and then its argument prototype would still apply. */ |
|
|
7632 | #ifdef __cplusplus |
|
|
7633 | extern "C" |
|
|
7634 | #endif |
|
|
7635 | char FcPatternGet (); |
|
|
7636 | int |
|
|
7637 | main () |
|
|
7638 | { |
|
|
7639 | return FcPatternGet (); |
|
|
7640 | ; |
|
|
7641 | return 0; |
|
|
7642 | } |
|
|
7643 | _ACEOF |
|
|
7644 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7645 | ac_cv_lib_fontconfig_FcPatternGet=yes |
|
|
7646 | else |
|
|
7647 | ac_cv_lib_fontconfig_FcPatternGet=no |
|
|
7648 | fi |
|
|
7649 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7650 | conftest$ac_exeext conftest.$ac_ext |
|
|
7651 | LIBS=$ac_check_lib_save_LIBS |
|
|
7652 | fi |
|
|
7653 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
|
|
7654 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
|
|
7655 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then : |
|
|
7656 | : |
|
|
7657 | else |
|
|
7658 | support_xft=no |
|
|
7659 | fi |
|
|
7660 | |
7604 | LIBS="$save_LIBS" |
7661 | LIBS="$save_LIBS" |
7605 | fi |
|
|
7606 | fi |
|
|
7607 | |
7662 | |
|
|
7663 | if test x$support_xft = xyes; then |
|
|
7664 | |
|
|
7665 | $as_echo "#define XFT 1" >>confdefs.h |
|
|
7666 | |
|
|
7667 | fi |
|
|
7668 | fi |
|
|
7669 | |
|
|
7670 | image_lib=none |
|
|
7671 | |
|
|
7672 | PIXBUF_CFLAGS= |
|
|
7673 | PIXBUF_LIBS= |
|
|
7674 | |
7608 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7675 | if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
7676 | LIBS="$LIBS -lm" |
|
|
7677 | |
|
|
7678 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7679 | |
|
|
7680 | |
|
|
7681 | if test x$support_inheritpixmap = xyes; then |
|
|
7682 | |
|
|
7683 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7684 | |
|
|
7685 | fi |
|
|
7686 | |
|
|
7687 | if test x$support_pixbuf = xyes; then |
|
|
7688 | support_pixbuf=no |
7609 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7689 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7610 | set dummy pkg-config; ac_word=$2 |
7690 | set dummy pkg-config; ac_word=$2 |
7611 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7612 | $as_echo_n "checking for $ac_word... " >&6; } |
7692 | $as_echo_n "checking for $ac_word... " >&6; } |
7613 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
7693 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7614 | $as_echo_n "(cached) " >&6 |
7694 | $as_echo_n "(cached) " >&6 |
7615 | else |
7695 | else |
7616 | case $PKG_CONFIG in |
7696 | case $PKG_CONFIG in |
7617 | [\\/]* | ?:[\\/]*) |
7697 | [\\/]* | ?:[\\/]*) |
7618 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
7698 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
… | |
… | |
7645 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7725 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7646 | $as_echo "no" >&6; } |
7726 | $as_echo "no" >&6; } |
7647 | fi |
7727 | fi |
7648 | |
7728 | |
7649 | |
7729 | |
|
|
7730 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
|
|
7731 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
7650 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
7732 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
7651 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
7733 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
7652 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
7734 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
7653 | else |
7735 | support_pixbuf=yes |
7654 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
7655 | set dummy xft-config; ac_word=$2 |
|
|
7656 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
7657 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
7658 | if ${ac_cv_path_XFT_CONFIG+:} false; then : |
|
|
7659 | $as_echo_n "(cached) " >&6 |
|
|
7660 | else |
|
|
7661 | case $XFT_CONFIG in |
|
|
7662 | [\\/]* | ?:[\\/]*) |
|
|
7663 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
7664 | ;; |
|
|
7665 | *) |
|
|
7666 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7667 | for as_dir in $PATH |
|
|
7668 | do |
|
|
7669 | IFS=$as_save_IFS |
|
|
7670 | test -z "$as_dir" && as_dir=. |
|
|
7671 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7672 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7673 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7674 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7675 | break 2 |
|
|
7676 | fi |
7736 | fi |
7677 | done |
|
|
7678 | done |
|
|
7679 | IFS=$as_save_IFS |
|
|
7680 | |
7737 | |
7681 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
7738 | if test x$support_pixbuf = xyes; then |
7682 | ;; |
|
|
7683 | esac |
|
|
7684 | fi |
|
|
7685 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
7686 | if test -n "$XFT_CONFIG"; then |
|
|
7687 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CONFIG" >&5 |
7739 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
7688 | $as_echo "$XFT_CONFIG" >&6; } |
7740 | $as_echo "ok" >&6; } |
7689 | else |
7741 | image_lib=gdk-pixbuf |
|
|
7742 | |
|
|
7743 | $as_echo "#define HAVE_PIXBUF 1" >>confdefs.h |
|
|
7744 | |
|
|
7745 | |
|
|
7746 | $as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h |
|
|
7747 | |
|
|
7748 | else |
7690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7749 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7691 | $as_echo "no" >&6; } |
7750 | $as_echo "no" >&6; } |
7692 | fi |
|
|
7693 | |
|
|
7694 | |
|
|
7695 | if test $XFT_CONFIG != no; then |
|
|
7696 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
|
|
7697 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
7698 | fi |
7751 | fi |
7699 | fi |
7752 | fi |
7700 | |
|
|
7701 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then |
|
|
7702 | X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS" |
|
|
7703 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
|
|
7704 | fi |
|
|
7705 | |
|
|
7706 | save_LIBS="$LIBS" |
|
|
7707 | LIBS="$LIBS $X_LIBS" |
|
|
7708 | for ac_header in X11/Xft/Xft.h |
|
|
7709 | do : |
|
|
7710 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
|
|
7711 | if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : |
|
|
7712 | cat >>confdefs.h <<_ACEOF |
|
|
7713 | #define HAVE_X11_XFT_XFT_H 1 |
|
|
7714 | _ACEOF |
|
|
7715 | |
|
|
7716 | else |
|
|
7717 | support_xft=no |
|
|
7718 | fi |
7753 | fi |
7719 | |
7754 | |
7720 | done |
|
|
7721 | |
7755 | |
7722 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 |
|
|
7723 | $as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } |
|
|
7724 | if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : |
|
|
7725 | $as_echo_n "(cached) " >&6 |
|
|
7726 | else |
|
|
7727 | ac_check_lib_save_LIBS=$LIBS |
|
|
7728 | LIBS="-lXft $LIBS" |
|
|
7729 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7730 | /* end confdefs.h. */ |
|
|
7731 | |
7756 | |
7732 | /* Override any GCC internal prototype to avoid an error. |
|
|
7733 | Use char because int might match the return type of a GCC |
|
|
7734 | builtin and then its argument prototype would still apply. */ |
|
|
7735 | #ifdef __cplusplus |
|
|
7736 | extern "C" |
|
|
7737 | #endif |
|
|
7738 | char XftDrawString32 (); |
|
|
7739 | int |
|
|
7740 | main () |
|
|
7741 | { |
|
|
7742 | return XftDrawString32 (); |
|
|
7743 | ; |
|
|
7744 | return 0; |
|
|
7745 | } |
|
|
7746 | _ACEOF |
|
|
7747 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7748 | ac_cv_lib_Xft_XftDrawString32=yes |
|
|
7749 | else |
|
|
7750 | ac_cv_lib_Xft_XftDrawString32=no |
|
|
7751 | fi |
|
|
7752 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7753 | conftest$ac_exeext conftest.$ac_ext |
|
|
7754 | LIBS=$ac_check_lib_save_LIBS |
|
|
7755 | fi |
|
|
7756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
|
|
7757 | $as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } |
|
|
7758 | if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : |
|
|
7759 | : |
|
|
7760 | else |
|
|
7761 | support_xft=no |
|
|
7762 | fi |
|
|
7763 | |
7757 | |
7764 | for ac_header in fontconfig/fontconfig.h |
|
|
7765 | do : |
|
|
7766 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
|
|
7767 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : |
|
|
7768 | cat >>confdefs.h <<_ACEOF |
|
|
7769 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
|
|
7770 | _ACEOF |
|
|
7771 | |
|
|
7772 | else |
|
|
7773 | support_xft=no |
|
|
7774 | fi |
|
|
7775 | |
|
|
7776 | done |
|
|
7777 | |
|
|
7778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
|
|
7779 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
|
|
7780 | if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : |
|
|
7781 | $as_echo_n "(cached) " >&6 |
|
|
7782 | else |
|
|
7783 | ac_check_lib_save_LIBS=$LIBS |
|
|
7784 | LIBS="-lfontconfig $LIBS" |
|
|
7785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7786 | /* end confdefs.h. */ |
|
|
7787 | |
|
|
7788 | /* Override any GCC internal prototype to avoid an error. |
|
|
7789 | Use char because int might match the return type of a GCC |
|
|
7790 | builtin and then its argument prototype would still apply. */ |
|
|
7791 | #ifdef __cplusplus |
|
|
7792 | extern "C" |
|
|
7793 | #endif |
|
|
7794 | char FcPatternGet (); |
|
|
7795 | int |
|
|
7796 | main () |
|
|
7797 | { |
|
|
7798 | return FcPatternGet (); |
|
|
7799 | ; |
|
|
7800 | return 0; |
|
|
7801 | } |
|
|
7802 | _ACEOF |
|
|
7803 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7804 | ac_cv_lib_fontconfig_FcPatternGet=yes |
|
|
7805 | else |
|
|
7806 | ac_cv_lib_fontconfig_FcPatternGet=no |
|
|
7807 | fi |
|
|
7808 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7809 | conftest$ac_exeext conftest.$ac_ext |
|
|
7810 | LIBS=$ac_check_lib_save_LIBS |
|
|
7811 | fi |
|
|
7812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
|
|
7813 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
|
|
7814 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : |
|
|
7815 | : |
|
|
7816 | else |
|
|
7817 | support_xft=no |
|
|
7818 | fi |
|
|
7819 | |
|
|
7820 | LIBS="$save_LIBS" |
|
|
7821 | |
|
|
7822 | if test x$support_xft = xyes; then |
7758 | if test x$support_xdbe = xyes; then |
7823 | |
7759 | |
7824 | $as_echo "#define XFT 1" >>confdefs.h |
7760 | $as_echo "#define ENABLE_XDBE 1" >>confdefs.h |
7825 | |
7761 | |
7826 | fi |
|
|
7827 | fi |
7762 | fi |
7828 | if test x$support_styles = xyes; then |
7763 | if test x$support_styles = xyes; then |
7829 | |
7764 | |
7830 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7765 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7831 | |
7766 | |
… | |
… | |
7841 | |
7776 | |
7842 | fi |
7777 | fi |
7843 | if test x$support_fading = xyes; then |
7778 | if test x$support_fading = xyes; then |
7844 | |
7779 | |
7845 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7780 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
7846 | |
|
|
7847 | fi |
|
|
7848 | if test x$support_inheritpixmap = xyes; then |
|
|
7849 | if test x$rxvt_have_xrender = xyes; then |
|
|
7850 | LIBS="$LIBS -lm" |
|
|
7851 | |
|
|
7852 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7853 | |
|
|
7854 | fi |
|
|
7855 | |
|
|
7856 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
|
|
7857 | |
7781 | |
7858 | fi |
7782 | fi |
7859 | if test x$support_keepscrolling = xno; then |
7783 | if test x$support_keepscrolling = xno; then |
7860 | |
7784 | |
7861 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
7785 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
… | |
… | |
7958 | if test x$support_perl = xyes; then |
7882 | if test x$support_perl = xyes; then |
7959 | # Extract the first word of "perl5", so it can be a program name with args. |
7883 | # Extract the first word of "perl5", so it can be a program name with args. |
7960 | set dummy perl5; ac_word=$2 |
7884 | set dummy perl5; ac_word=$2 |
7961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7962 | $as_echo_n "checking for $ac_word... " >&6; } |
7886 | $as_echo_n "checking for $ac_word... " >&6; } |
7963 | if ${ac_cv_path_PERL+:} false; then : |
7887 | if test "${ac_cv_path_PERL+set}" = set; then : |
7964 | $as_echo_n "(cached) " >&6 |
7888 | $as_echo_n "(cached) " >&6 |
7965 | else |
7889 | else |
7966 | case $PERL in |
7890 | case $PERL in |
7967 | [\\/]* | ?:[\\/]*) |
7891 | [\\/]* | ?:[\\/]*) |
7968 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
7892 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
… | |
… | |
7981 | fi |
7905 | fi |
7982 | done |
7906 | done |
7983 | done |
7907 | done |
7984 | IFS=$as_save_IFS |
7908 | IFS=$as_save_IFS |
7985 | |
7909 | |
7986 | ;; |
7910 | test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" |
7987 | esac |
|
|
7988 | fi |
|
|
7989 | PERL=$ac_cv_path_PERL |
|
|
7990 | if test -n "$PERL"; then |
|
|
7991 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
|
7992 | $as_echo "$PERL" >&6; } |
|
|
7993 | else |
|
|
7994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7995 | $as_echo "no" >&6; } |
|
|
7996 | fi |
|
|
7997 | |
|
|
7998 | |
|
|
7999 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
8000 | set dummy perl; ac_word=$2 |
|
|
8001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
8002 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
8003 | if ${ac_cv_path_PERL+:} false; then : |
|
|
8004 | $as_echo_n "(cached) " >&6 |
|
|
8005 | else |
|
|
8006 | case $PERL in |
|
|
8007 | [\\/]* | ?:[\\/]*) |
|
|
8008 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
8009 | ;; |
|
|
8010 | *) |
|
|
8011 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8012 | for as_dir in $PATH |
|
|
8013 | do |
|
|
8014 | IFS=$as_save_IFS |
|
|
8015 | test -z "$as_dir" && as_dir=. |
|
|
8016 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8017 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
8018 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
8019 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8020 | break 2 |
|
|
8021 | fi |
|
|
8022 | done |
|
|
8023 | done |
|
|
8024 | IFS=$as_save_IFS |
|
|
8025 | |
|
|
8026 | ;; |
7911 | ;; |
8027 | esac |
7912 | esac |
8028 | fi |
7913 | fi |
8029 | PERL=$ac_cv_path_PERL |
7914 | PERL=$ac_cv_path_PERL |
8030 | if test -n "$PERL"; then |
7915 | if test -n "$PERL"; then |
… | |
… | |
8162 | t end |
8047 | t end |
8163 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8048 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8164 | :end' >>confcache |
8049 | :end' >>confcache |
8165 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8050 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8166 | if test -w "$cache_file"; then |
8051 | if test -w "$cache_file"; then |
8167 | if test "x$cache_file" != "x/dev/null"; then |
8052 | test "x$cache_file" != "x/dev/null" && |
8168 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8053 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8169 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8054 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
8170 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
|
8171 | cat confcache >"$cache_file" |
8055 | cat confcache >$cache_file |
8172 | else |
|
|
8173 | case $cache_file in #( |
|
|
8174 | */* | ?:*) |
|
|
8175 | mv -f confcache "$cache_file"$$ && |
|
|
8176 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
8177 | *) |
|
|
8178 | mv -f confcache "$cache_file" ;; |
|
|
8179 | esac |
|
|
8180 | fi |
|
|
8181 | fi |
|
|
8182 | else |
8056 | else |
8183 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8057 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8184 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8058 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
8185 | fi |
8059 | fi |
8186 | fi |
8060 | fi |
… | |
… | |
8208 | |
8082 | |
8209 | LTLIBOBJS=$ac_ltlibobjs |
8083 | LTLIBOBJS=$ac_ltlibobjs |
8210 | |
8084 | |
8211 | |
8085 | |
8212 | |
8086 | |
8213 | : "${CONFIG_STATUS=./config.status}" |
8087 | : ${CONFIG_STATUS=./config.status} |
8214 | ac_write_fail=0 |
8088 | ac_write_fail=0 |
8215 | ac_clean_files_save=$ac_clean_files |
8089 | ac_clean_files_save=$ac_clean_files |
8216 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8090 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8217 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8091 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8218 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
8092 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
… | |
… | |
8309 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8183 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8310 | # splitting by setting IFS to empty value.) |
8184 | # splitting by setting IFS to empty value.) |
8311 | IFS=" "" $as_nl" |
8185 | IFS=" "" $as_nl" |
8312 | |
8186 | |
8313 | # Find who we are. Look in the path if we contain no directory separator. |
8187 | # Find who we are. Look in the path if we contain no directory separator. |
8314 | as_myself= |
|
|
8315 | case $0 in #(( |
8188 | case $0 in #(( |
8316 | *[\\/]* ) as_myself=$0 ;; |
8189 | *[\\/]* ) as_myself=$0 ;; |
8317 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8190 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8318 | for as_dir in $PATH |
8191 | for as_dir in $PATH |
8319 | do |
8192 | do |
… | |
… | |
8617 | # Save the log message, to keep $0 and so on meaningful, and to |
8490 | # Save the log message, to keep $0 and so on meaningful, and to |
8618 | # report actual input values of CONFIG_FILES etc. instead of their |
8491 | # report actual input values of CONFIG_FILES etc. instead of their |
8619 | # values after options handling. |
8492 | # values after options handling. |
8620 | ac_log=" |
8493 | ac_log=" |
8621 | This file was extended by $as_me, which was |
8494 | This file was extended by $as_me, which was |
8622 | generated by GNU Autoconf 2.68. Invocation command line was |
8495 | generated by GNU Autoconf 2.67. Invocation command line was |
8623 | |
8496 | |
8624 | CONFIG_FILES = $CONFIG_FILES |
8497 | CONFIG_FILES = $CONFIG_FILES |
8625 | CONFIG_HEADERS = $CONFIG_HEADERS |
8498 | CONFIG_HEADERS = $CONFIG_HEADERS |
8626 | CONFIG_LINKS = $CONFIG_LINKS |
8499 | CONFIG_LINKS = $CONFIG_LINKS |
8627 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
8500 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
8679 | _ACEOF |
8552 | _ACEOF |
8680 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8553 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8681 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8554 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
8682 | ac_cs_version="\\ |
8555 | ac_cs_version="\\ |
8683 | config.status |
8556 | config.status |
8684 | configured by $0, generated by GNU Autoconf 2.68, |
8557 | configured by $0, generated by GNU Autoconf 2.67, |
8685 | with options \\"\$ac_cs_config\\" |
8558 | with options \\"\$ac_cs_config\\" |
8686 | |
8559 | |
8687 | Copyright (C) 2010 Free Software Foundation, Inc. |
8560 | Copyright (C) 2010 Free Software Foundation, Inc. |
8688 | This config.status script is free software; the Free Software Foundation |
8561 | This config.status script is free software; the Free Software Foundation |
8689 | gives unlimited permission to copy, distribute and modify it." |
8562 | gives unlimited permission to copy, distribute and modify it." |
… | |
… | |
8805 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8678 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
8806 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8679 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
8807 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8680 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
8808 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8681 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
8809 | |
8682 | |
8810 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
8683 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
8811 | esac |
8684 | esac |
8812 | done |
8685 | done |
8813 | |
8686 | |
8814 | |
8687 | |
8815 | # If the user did not use the arguments to specify the items to instantiate, |
8688 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
8827 | # Hook for its removal unless debugging. |
8700 | # Hook for its removal unless debugging. |
8828 | # Note that there is a small window in which the directory will not be cleaned: |
8701 | # Note that there is a small window in which the directory will not be cleaned: |
8829 | # after its creation but before its name has been assigned to `$tmp'. |
8702 | # after its creation but before its name has been assigned to `$tmp'. |
8830 | $debug || |
8703 | $debug || |
8831 | { |
8704 | { |
8832 | tmp= ac_tmp= |
8705 | tmp= |
8833 | trap 'exit_status=$? |
8706 | trap 'exit_status=$? |
8834 | : "${ac_tmp:=$tmp}" |
|
|
8835 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
8707 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
8836 | ' 0 |
8708 | ' 0 |
8837 | trap 'as_fn_exit 1' 1 2 13 15 |
8709 | trap 'as_fn_exit 1' 1 2 13 15 |
8838 | } |
8710 | } |
8839 | # Create a (secure) tmp directory for tmp files. |
8711 | # Create a (secure) tmp directory for tmp files. |
8840 | |
8712 | |
8841 | { |
8713 | { |
8842 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8714 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8843 | test -d "$tmp" |
8715 | test -n "$tmp" && test -d "$tmp" |
8844 | } || |
8716 | } || |
8845 | { |
8717 | { |
8846 | tmp=./conf$$-$RANDOM |
8718 | tmp=./conf$$-$RANDOM |
8847 | (umask 077 && mkdir "$tmp") |
8719 | (umask 077 && mkdir "$tmp") |
8848 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8720 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8849 | ac_tmp=$tmp |
|
|
8850 | |
8721 | |
8851 | # Set up the scripts for CONFIG_FILES section. |
8722 | # Set up the scripts for CONFIG_FILES section. |
8852 | # No need to generate them if there are no CONFIG_FILES. |
8723 | # No need to generate them if there are no CONFIG_FILES. |
8853 | # This happens for instance with `./config.status config.h'. |
8724 | # This happens for instance with `./config.status config.h'. |
8854 | if test -n "$CONFIG_FILES"; then |
8725 | if test -n "$CONFIG_FILES"; then |
… | |
… | |
8866 | ac_cs_awk_cr='\\r' |
8737 | ac_cs_awk_cr='\\r' |
8867 | else |
8738 | else |
8868 | ac_cs_awk_cr=$ac_cr |
8739 | ac_cs_awk_cr=$ac_cr |
8869 | fi |
8740 | fi |
8870 | |
8741 | |
8871 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
8742 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
8872 | _ACEOF |
8743 | _ACEOF |
8873 | |
8744 | |
8874 | |
8745 | |
8875 | { |
8746 | { |
8876 | echo "cat >conf$$subs.awk <<_ACEOF" && |
8747 | echo "cat >conf$$subs.awk <<_ACEOF" && |
… | |
… | |
8894 | fi |
8765 | fi |
8895 | done |
8766 | done |
8896 | rm -f conf$$subs.sh |
8767 | rm -f conf$$subs.sh |
8897 | |
8768 | |
8898 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8769 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8899 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
8770 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
8900 | _ACEOF |
8771 | _ACEOF |
8901 | sed -n ' |
8772 | sed -n ' |
8902 | h |
8773 | h |
8903 | s/^/S["/; s/!.*/"]=/ |
8774 | s/^/S["/; s/!.*/"]=/ |
8904 | p |
8775 | p |
… | |
… | |
8942 | } |
8813 | } |
8943 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
8814 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
8944 | rm -f conf$$subs.awk |
8815 | rm -f conf$$subs.awk |
8945 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8816 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8946 | _ACAWK |
8817 | _ACAWK |
8947 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
8818 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
8948 | for (key in S) S_is_set[key] = 1 |
8819 | for (key in S) S_is_set[key] = 1 |
8949 | FS = "" |
8820 | FS = "" |
8950 | |
8821 | |
8951 | } |
8822 | } |
8952 | { |
8823 | { |
… | |
… | |
8974 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8845 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8975 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
8846 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
8976 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
8847 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
8977 | else |
8848 | else |
8978 | cat |
8849 | cat |
8979 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
8850 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
8980 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
8851 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
8981 | _ACEOF |
8852 | _ACEOF |
8982 | |
8853 | |
8983 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
8854 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
8984 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
8855 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
… | |
… | |
9008 | |
8879 | |
9009 | # Set up the scripts for CONFIG_HEADERS section. |
8880 | # Set up the scripts for CONFIG_HEADERS section. |
9010 | # No need to generate them if there are no CONFIG_HEADERS. |
8881 | # No need to generate them if there are no CONFIG_HEADERS. |
9011 | # This happens for instance with `./config.status Makefile'. |
8882 | # This happens for instance with `./config.status Makefile'. |
9012 | if test -n "$CONFIG_HEADERS"; then |
8883 | if test -n "$CONFIG_HEADERS"; then |
9013 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
8884 | cat >"$tmp/defines.awk" <<\_ACAWK || |
9014 | BEGIN { |
8885 | BEGIN { |
9015 | _ACEOF |
8886 | _ACEOF |
9016 | |
8887 | |
9017 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
8888 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
9018 | # here-document in config.status, that substitutes the proper values into |
8889 | # here-document in config.status, that substitutes the proper values into |
… | |
… | |
9020 | |
8891 | |
9021 | # Create a delimiter string that does not exist in confdefs.h, to ease |
8892 | # Create a delimiter string that does not exist in confdefs.h, to ease |
9022 | # handling of long lines. |
8893 | # handling of long lines. |
9023 | ac_delim='%!_!# ' |
8894 | ac_delim='%!_!# ' |
9024 | for ac_last_try in false false :; do |
8895 | for ac_last_try in false false :; do |
9025 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
8896 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
9026 | if test -z "$ac_tt"; then |
8897 | if test -z "$ac_t"; then |
9027 | break |
8898 | break |
9028 | elif $ac_last_try; then |
8899 | elif $ac_last_try; then |
9029 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
8900 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
9030 | else |
8901 | else |
9031 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
8902 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
… | |
… | |
9122 | case $ac_tag in |
8993 | case $ac_tag in |
9123 | :[FHLC]) ac_mode=$ac_tag; continue;; |
8994 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9124 | esac |
8995 | esac |
9125 | case $ac_mode$ac_tag in |
8996 | case $ac_mode$ac_tag in |
9126 | :[FHL]*:*);; |
8997 | :[FHL]*:*);; |
9127 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
8998 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9128 | :[FH]-) ac_tag=-:-;; |
8999 | :[FH]-) ac_tag=-:-;; |
9129 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9000 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9130 | esac |
9001 | esac |
9131 | ac_save_IFS=$IFS |
9002 | ac_save_IFS=$IFS |
9132 | IFS=: |
9003 | IFS=: |
… | |
… | |
9141 | :[FH]) |
9012 | :[FH]) |
9142 | ac_file_inputs= |
9013 | ac_file_inputs= |
9143 | for ac_f |
9014 | for ac_f |
9144 | do |
9015 | do |
9145 | case $ac_f in |
9016 | case $ac_f in |
9146 | -) ac_f="$ac_tmp/stdin";; |
9017 | -) ac_f="$tmp/stdin";; |
9147 | *) # Look for the file first in the build tree, then in the source tree |
9018 | *) # Look for the file first in the build tree, then in the source tree |
9148 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9019 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
9149 | # because $ac_f cannot contain `:'. |
9020 | # because $ac_f cannot contain `:'. |
9150 | test -f "$ac_f" || |
9021 | test -f "$ac_f" || |
9151 | case $ac_f in |
9022 | case $ac_f in |
9152 | [\\/$]*) false;; |
9023 | [\\/$]*) false;; |
9153 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9024 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9154 | esac || |
9025 | esac || |
9155 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
9026 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
9156 | esac |
9027 | esac |
9157 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9028 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9158 | as_fn_append ac_file_inputs " '$ac_f'" |
9029 | as_fn_append ac_file_inputs " '$ac_f'" |
9159 | done |
9030 | done |
9160 | |
9031 | |
… | |
… | |
9176 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9047 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9177 | *) ac_sed_conf_input=$configure_input;; |
9048 | *) ac_sed_conf_input=$configure_input;; |
9178 | esac |
9049 | esac |
9179 | |
9050 | |
9180 | case $ac_tag in |
9051 | case $ac_tag in |
9181 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
9052 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9182 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9053 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9183 | esac |
9054 | esac |
9184 | ;; |
9055 | ;; |
9185 | esac |
9056 | esac |
9186 | |
9057 | |
9187 | ac_dir=`$as_dirname -- "$ac_file" || |
9058 | ac_dir=`$as_dirname -- "$ac_file" || |
… | |
… | |
9307 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9178 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9308 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9179 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9309 | s&@INSTALL@&$ac_INSTALL&;t t |
9180 | s&@INSTALL@&$ac_INSTALL&;t t |
9310 | $ac_datarootdir_hack |
9181 | $ac_datarootdir_hack |
9311 | " |
9182 | " |
9312 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9183 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
9313 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9184 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9314 | |
9185 | |
9315 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9186 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9316 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
9187 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
9317 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
9188 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
9318 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
|
|
9319 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9189 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9320 | which seems to be undefined. Please make sure it is defined" >&5 |
9190 | which seems to be undefined. Please make sure it is defined" >&5 |
9321 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9191 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9322 | which seems to be undefined. Please make sure it is defined" >&2;} |
9192 | which seems to be undefined. Please make sure it is defined" >&2;} |
9323 | |
9193 | |
9324 | rm -f "$ac_tmp/stdin" |
9194 | rm -f "$tmp/stdin" |
9325 | case $ac_file in |
9195 | case $ac_file in |
9326 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
9196 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
9327 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
9197 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
9328 | esac \ |
9198 | esac \ |
9329 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9199 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9330 | ;; |
9200 | ;; |
9331 | :H) |
9201 | :H) |
9332 | # |
9202 | # |
9333 | # CONFIG_HEADER |
9203 | # CONFIG_HEADER |
9334 | # |
9204 | # |
9335 | if test x"$ac_file" != x-; then |
9205 | if test x"$ac_file" != x-; then |
9336 | { |
9206 | { |
9337 | $as_echo "/* $configure_input */" \ |
9207 | $as_echo "/* $configure_input */" \ |
9338 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9208 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
9339 | } >"$ac_tmp/config.h" \ |
9209 | } >"$tmp/config.h" \ |
9340 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9210 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9341 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
9211 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
9342 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9212 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9343 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9213 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
9344 | else |
9214 | else |
9345 | rm -f "$ac_file" |
9215 | rm -f "$ac_file" |
9346 | mv "$ac_tmp/config.h" "$ac_file" \ |
9216 | mv "$tmp/config.h" "$ac_file" \ |
9347 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9217 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9348 | fi |
9218 | fi |
9349 | else |
9219 | else |
9350 | $as_echo "/* $configure_input */" \ |
9220 | $as_echo "/* $configure_input */" \ |
9351 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9221 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
9352 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9222 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9353 | fi |
9223 | fi |
9354 | ;; |
9224 | ;; |
9355 | |
9225 | |
9356 | |
9226 | |