ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.145 by sf-exg, Wed Jun 1 10:53:07 2011 UTC vs.
Revision 1.156 by root, Tue Jun 19 18:17:56 2012 UTC

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.)
89IFS=" "" $as_nl" 89IFS=" "" $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.
92as_myself=
93case $0 in #(( 92case $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
96for as_dir in $PATH 95for as_dir in $PATH
97do 96do
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+"$@"}
230fi 222fi
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."
605IF_PERL 597IF_PERL
606PERLPRIVLIBEXP 598PERLPRIVLIBEXP
607PERLFLAGS 599PERLFLAGS
608PERLLIB 600PERLLIB
609PERL 601PERL
610XFT_CONFIG
611AFTERIMAGE_LIBS
612AFTERIMAGE_CFLAGS
613afterimage_config
614PIXBUF_LIBS 602PIXBUF_LIBS
615PIXBUF_CFLAGS 603PIXBUF_CFLAGS
604XFT_CONFIG
605STARTUP_NOTIFICATION_LIBS
606STARTUP_NOTIFICATION_CFLAGS
616PKG_CONFIG 607PKG_CONFIG
617X_EXTRA_LIBS 608X_EXTRA_LIBS
618X_LIBS 609X_LIBS
619X_PRE_LIBS 610X_PRE_LIBS
620X_CFLAGS 611X_CFLAGS
623CXXCPP 614CXXCPP
624RXVTNAME 615RXVTNAME
625LINKER 616LINKER
626EGREP 617EGREP
627GREP 618GREP
619CPP
628INSTALL_DATA 620INSTALL_DATA
629INSTALL_SCRIPT 621INSTALL_SCRIPT
630INSTALL_PROGRAM 622INSTALL_PROGRAM
631CPP
632ac_ct_CXX 623ac_ct_CXX
633CXXFLAGS 624CXXFLAGS
634CXX 625CXX
635OBJEXT 626OBJEXT
636EXEEXT 627EXEEXT
696enable_256_color 687enable_256_color
697enable_unicode3 688enable_unicode3
698enable_combining 689enable_combining
699enable_xft 690enable_xft
700enable_font_styles 691enable_font_styles
701enable_afterimage
702with_afterimage_config
703enable_pixbuf 692enable_pixbuf
693enable_startup_notification
704enable_transparency 694enable_transparency
705enable_fading 695enable_fading
706enable_rxvt_scroll 696enable_rxvt_scroll
707enable_next_scroll 697enable_next_scroll
708enable_xterm_scroll 698enable_xterm_scroll
727enable_smart_resize 717enable_smart_resize
728enable_text_blink 718enable_text_blink
729enable_pointer_blank 719enable_pointer_blank
730with_term 720with_term
731with_terminfo 721with_terminfo
722enable_xdbe
732with_x 723with_x
733enable_utmp 724enable_utmp
734enable_wtmp 725enable_wtmp
735enable_lastlog 726enable_lastlog
736' 727'
1150 *) 1141 *)
1151 # FIXME: should be removed in autoconf 3.0. 1142 # FIXME: should be removed in autoconf 3.0.
1152 $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
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1145 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : "${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}
1156 ;; 1147 ;;
1157 1148
1158 esac 1149 esac
1159done 1150done
1160 1151
1372 --enable-256-color enable 256-color support 1363 --enable-256-color enable 256-color support
1373 --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
1374 --enable-combining enable composition of base and combining characters 1365 --enable-combining enable composition of base and combining characters
1375 --enable-xft enable xft support on systems that have it 1366 --enable-xft enable xft support on systems that have it
1376 --enable-font-styles enable bold and italic support 1367 --enable-font-styles enable bold and italic support
1377 --enable-afterimage enable integration with libAfterImage for background images
1378 --enable-pixbuf enable integration with gdk-pixbuf for background images 1368 --enable-pixbuf enable integration with gdk-pixbuf for background images
1369 --enable-startup-notification enable freedesktop startup notification support
1379 --enable-transparency enable transparent backgrounds 1370 --enable-transparency enable transparent backgrounds
1380 --enable-fading enable colors fading when off focus 1371 --enable-fading enable colors fading when off focus
1381 --enable-rxvt-scroll enable rxvt style scrollbar 1372 --enable-rxvt-scroll enable rxvt style scrollbar
1382 --enable-next-scroll enable NeXT style scrollbar 1373 --enable-next-scroll enable NeXT style scrollbar
1383 --enable-xterm-scroll enable Xterm style scrollbar 1374 --enable-xterm-scroll enable Xterm style scrollbar
1396 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1387 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1397 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) 1388 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel)
1398 --enable-smart-resize enable smart growth/shrink behaviour 1389 --enable-smart-resize enable smart growth/shrink behaviour
1399 --enable-text-blink enable blinking text 1390 --enable-text-blink enable blinking text
1400 --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
1401 --enable-utmp enable utmp (utmpx) support 1393 --enable-utmp enable utmp (utmpx) support
1402 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1394 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1403 --enable-lastlog enable lastlog support (requires --enable-utmp) 1395 --enable-lastlog enable lastlog support (requires --enable-utmp)
1404 1396
1405Optional Packages: 1397Optional Packages:
1406 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1398 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1407 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1399 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1408 --with-afterimage-config=DIR use libAfterImage config script in DIR
1409 --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 1400 --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1410 --with-res-name=NAME use this as default resource name (default: urxvt) 1401 --with-res-name=NAME use this as default resource name (default: urxvt)
1411 --with-res-class=CLASS use this as the resource class (default: URxvt) 1402 --with-res-class=CLASS use this as the resource class (default: URxvt)
1412 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1403 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1413 --with-term=NAME set the terminal to NAME (default: rxvt) 1404 --with-term=NAME set the terminal to NAME (default: rxvt)
1493 1484
1494test -n "$ac_init_help" && exit $ac_status 1485test -n "$ac_init_help" && exit $ac_status
1495if $ac_init_version; then 1486if $ac_init_version; then
1496 cat <<\_ACEOF 1487 cat <<\_ACEOF
1497configure 1488configure
1498generated by GNU Autoconf 2.68 1489generated by GNU Autoconf 2.67
1499 1490
1500Copyright (C) 2010 Free Software Foundation, Inc. 1491Copyright (C) 2010 Free Software Foundation, Inc.
1501This configure script is free software; the Free Software Foundation 1492This configure script is free software; the Free Software Foundation
1502gives unlimited permission to copy, distribute and modify it. 1493gives unlimited permission to copy, distribute and modify it.
1503_ACEOF 1494_ACEOF
1539 $as_echo "$as_me: failed program was:" >&5 1530 $as_echo "$as_me: failed program was:" >&5
1540sed 's/^/| /' conftest.$ac_ext >&5 1531sed 's/^/| /' conftest.$ac_ext >&5
1541 1532
1542 ac_retval=1 1533 ac_retval=1
1543fi 1534fi
1544 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;}
1545 as_fn_set_status $ac_retval 1536 as_fn_set_status $ac_retval
1546 1537
1547} # ac_fn_c_try_compile 1538} # ac_fn_c_try_compile
1548 1539
1549# ac_fn_cxx_try_compile LINENO 1540# ac_fn_cxx_try_compile LINENO
1577 $as_echo "$as_me: failed program was:" >&5 1568 $as_echo "$as_me: failed program was:" >&5
1578sed 's/^/| /' conftest.$ac_ext >&5 1569sed 's/^/| /' conftest.$ac_ext >&5
1579 1570
1580 ac_retval=1 1571 ac_retval=1
1581fi 1572fi
1582 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;}
1583 as_fn_set_status $ac_retval 1574 as_fn_set_status $ac_retval
1584 1575
1585} # ac_fn_cxx_try_compile 1576} # ac_fn_cxx_try_compile
1586 1577
1587# ac_fn_c_try_cpp LINENO 1578# ac_fn_c_try_cpp LINENO
1614 $as_echo "$as_me: failed program was:" >&5 1605 $as_echo "$as_me: failed program was:" >&5
1615sed 's/^/| /' conftest.$ac_ext >&5 1606sed 's/^/| /' conftest.$ac_ext >&5
1616 1607
1617 ac_retval=1 1608 ac_retval=1
1618fi 1609fi
1619 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;}
1620 as_fn_set_status $ac_retval 1611 as_fn_set_status $ac_retval
1621 1612
1622} # ac_fn_c_try_cpp 1613} # ac_fn_c_try_cpp
1623 1614
1624# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1615# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1627# the include files in INCLUDES and setting the cache variable VAR 1618# the include files in INCLUDES and setting the cache variable VAR
1628# accordingly. 1619# accordingly.
1629ac_fn_c_check_header_mongrel () 1620ac_fn_c_check_header_mongrel ()
1630{ 1621{
1631 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
1632 if eval \${$3+:} false; then : 1623 if eval "test \"\${$3+set}\"" = set; then :
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1634$as_echo_n "checking for $2... " >&6; } 1625$as_echo_n "checking for $2... " >&6; }
1635if eval \${$3+:} false; then : 1626if eval "test \"\${$3+set}\"" = set; then :
1636 $as_echo_n "(cached) " >&6 1627 $as_echo_n "(cached) " >&6
1637fi 1628fi
1638eval ac_res=\$$3 1629eval ac_res=\$$3
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640$as_echo "$ac_res" >&6; } 1631$as_echo "$ac_res" >&6; }
1693$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;}
1694 ;; 1685 ;;
1695esac 1686esac
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1697$as_echo_n "checking for $2... " >&6; } 1688$as_echo_n "checking for $2... " >&6; }
1698if eval \${$3+:} false; then : 1689if eval "test \"\${$3+set}\"" = set; then :
1699 $as_echo_n "(cached) " >&6 1690 $as_echo_n "(cached) " >&6
1700else 1691else
1701 eval "$3=\$ac_header_compiler" 1692 eval "$3=\$ac_header_compiler"
1702fi 1693fi
1703eval ac_res=\$$3 1694eval ac_res=\$$3
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705$as_echo "$ac_res" >&6; } 1696$as_echo "$ac_res" >&6; }
1706fi 1697fi
1707 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;}
1708 1699
1709} # ac_fn_c_check_header_mongrel 1700} # ac_fn_c_check_header_mongrel
1710 1701
1711# ac_fn_c_try_run LINENO 1702# ac_fn_c_try_run LINENO
1712# ---------------------- 1703# ----------------------
1743sed 's/^/| /' conftest.$ac_ext >&5 1734sed 's/^/| /' conftest.$ac_ext >&5
1744 1735
1745 ac_retval=$ac_status 1736 ac_retval=$ac_status
1746fi 1737fi
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1738 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 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;}
1749 as_fn_set_status $ac_retval 1740 as_fn_set_status $ac_retval
1750 1741
1751} # ac_fn_c_try_run 1742} # ac_fn_c_try_run
1752 1743
1753# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1744# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1757ac_fn_c_check_header_compile () 1748ac_fn_c_check_header_compile ()
1758{ 1749{
1759 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
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761$as_echo_n "checking for $2... " >&6; } 1752$as_echo_n "checking for $2... " >&6; }
1762if eval \${$3+:} false; then : 1753if eval "test \"\${$3+set}\"" = set; then :
1763 $as_echo_n "(cached) " >&6 1754 $as_echo_n "(cached) " >&6
1764else 1755else
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766/* end confdefs.h. */ 1757/* end confdefs.h. */
1767$4 1758$4
1775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1776fi 1767fi
1777eval ac_res=\$$3 1768eval ac_res=\$$3
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779$as_echo "$ac_res" >&6; } 1770$as_echo "$ac_res" >&6; }
1780 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;}
1781 1772
1782} # ac_fn_c_check_header_compile 1773} # ac_fn_c_check_header_compile
1783 1774
1784# ac_fn_c_try_link LINENO 1775# ac_fn_c_try_link LINENO
1785# ----------------------- 1776# -----------------------
1820 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1811 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1821 # 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
1822 # 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
1823 # 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.
1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1815 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1825 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;}
1826 as_fn_set_status $ac_retval 1817 as_fn_set_status $ac_retval
1827 1818
1828} # ac_fn_c_try_link 1819} # ac_fn_c_try_link
1829 1820
1830# ac_fn_cxx_try_link LINENO 1821# ac_fn_cxx_try_link LINENO
1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1857 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1867 # 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
1868 # 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
1869 # 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.
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 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;}
1872 as_fn_set_status $ac_retval 1863 as_fn_set_status $ac_retval
1873 1864
1874} # ac_fn_cxx_try_link 1865} # ac_fn_cxx_try_link
1875 1866
1876# ac_fn_cxx_try_cpp LINENO 1867# ac_fn_cxx_try_cpp LINENO
1903 $as_echo "$as_me: failed program was:" >&5 1894 $as_echo "$as_me: failed program was:" >&5
1904sed 's/^/| /' conftest.$ac_ext >&5 1895sed 's/^/| /' conftest.$ac_ext >&5
1905 1896
1906 ac_retval=1 1897 ac_retval=1
1907fi 1898fi
1908 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;}
1909 as_fn_set_status $ac_retval 1900 as_fn_set_status $ac_retval
1910 1901
1911} # ac_fn_cxx_try_cpp 1902} # ac_fn_cxx_try_cpp
1912 1903
1913# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1904# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1916# the include files in INCLUDES and setting the cache variable VAR 1907# the include files in INCLUDES and setting the cache variable VAR
1917# accordingly. 1908# accordingly.
1918ac_fn_cxx_check_header_mongrel () 1909ac_fn_cxx_check_header_mongrel ()
1919{ 1910{
1920 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
1921 if eval \${$3+:} false; then : 1912 if eval "test \"\${$3+set}\"" = set; then :
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923$as_echo_n "checking for $2... " >&6; } 1914$as_echo_n "checking for $2... " >&6; }
1924if eval \${$3+:} false; then : 1915if eval "test \"\${$3+set}\"" = set; then :
1925 $as_echo_n "(cached) " >&6 1916 $as_echo_n "(cached) " >&6
1926fi 1917fi
1927eval ac_res=\$$3 1918eval ac_res=\$$3
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929$as_echo "$ac_res" >&6; } 1920$as_echo "$ac_res" >&6; }
1982$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;}
1983 ;; 1974 ;;
1984esac 1975esac
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986$as_echo_n "checking for $2... " >&6; } 1977$as_echo_n "checking for $2... " >&6; }
1987if eval \${$3+:} false; then : 1978if eval "test \"\${$3+set}\"" = set; then :
1988 $as_echo_n "(cached) " >&6 1979 $as_echo_n "(cached) " >&6
1989else 1980else
1990 eval "$3=\$ac_header_compiler" 1981 eval "$3=\$ac_header_compiler"
1991fi 1982fi
1992eval ac_res=\$$3 1983eval ac_res=\$$3
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994$as_echo "$ac_res" >&6; } 1985$as_echo "$ac_res" >&6; }
1995fi 1986fi
1996 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;}
1997 1988
1998} # ac_fn_cxx_check_header_mongrel 1989} # ac_fn_cxx_check_header_mongrel
1999 1990
2000# ac_fn_cxx_check_func LINENO FUNC VAR 1991# ac_fn_cxx_check_func LINENO FUNC VAR
2001# ------------------------------------ 1992# ------------------------------------
2003ac_fn_cxx_check_func () 1994ac_fn_cxx_check_func ()
2004{ 1995{
2005 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
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007$as_echo_n "checking for $2... " >&6; } 1998$as_echo_n "checking for $2... " >&6; }
2008if eval \${$3+:} false; then : 1999if eval "test \"\${$3+set}\"" = set; then :
2009 $as_echo_n "(cached) " >&6 2000 $as_echo_n "(cached) " >&6
2010else 2001else
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012/* end confdefs.h. */ 2003/* end confdefs.h. */
2013/* 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.
2058 conftest$ac_exeext conftest.$ac_ext 2049 conftest$ac_exeext conftest.$ac_ext
2059fi 2050fi
2060eval ac_res=\$$3 2051eval ac_res=\$$3
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062$as_echo "$ac_res" >&6; } 2053$as_echo "$ac_res" >&6; }
2063 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;}
2064 2055
2065} # ac_fn_cxx_check_func 2056} # ac_fn_cxx_check_func
2066 2057
2067# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 2058# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2068# --------------------------------------------- 2059# ---------------------------------------------
2071ac_fn_cxx_check_type () 2062ac_fn_cxx_check_type ()
2072{ 2063{
2073 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
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2075$as_echo_n "checking for $2... " >&6; } 2066$as_echo_n "checking for $2... " >&6; }
2076if eval \${$3+:} false; then : 2067if eval "test \"\${$3+set}\"" = set; then :
2077 $as_echo_n "(cached) " >&6 2068 $as_echo_n "(cached) " >&6
2078else 2069else
2079 eval "$3=no" 2070 eval "$3=no"
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081/* end confdefs.h. */ 2072/* end confdefs.h. */
2112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113fi 2104fi
2114eval ac_res=\$$3 2105eval ac_res=\$$3
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116$as_echo "$ac_res" >&6; } 2107$as_echo "$ac_res" >&6; }
2117 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;}
2118 2109
2119} # ac_fn_cxx_check_type 2110} # ac_fn_cxx_check_type
2120 2111
2121# ac_fn_c_find_intX_t LINENO BITS VAR 2112# ac_fn_c_find_intX_t LINENO BITS VAR
2122# ----------------------------------- 2113# -----------------------------------
2125ac_fn_c_find_intX_t () 2116ac_fn_c_find_intX_t ()
2126{ 2117{
2127 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
2128 { $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
2129$as_echo_n "checking for int$2_t... " >&6; } 2120$as_echo_n "checking for int$2_t... " >&6; }
2130if eval \${$3+:} false; then : 2121if eval "test \"\${$3+set}\"" = set; then :
2131 $as_echo_n "(cached) " >&6 2122 $as_echo_n "(cached) " >&6
2132else 2123else
2133 eval "$3=no" 2124 eval "$3=no"
2134 # Order is important - never check a type that is potentially smaller 2125 # Order is important - never check a type that is potentially smaller
2135 # than half of the expected target width. 2126 # than half of the expected target width.
2186 done 2177 done
2187fi 2178fi
2188eval ac_res=\$$3 2179eval ac_res=\$$3
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190$as_echo "$ac_res" >&6; } 2181$as_echo "$ac_res" >&6; }
2191 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;}
2192 2183
2193} # ac_fn_c_find_intX_t 2184} # ac_fn_c_find_intX_t
2194 2185
2195# ac_fn_c_find_uintX_t LINENO BITS VAR 2186# ac_fn_c_find_uintX_t LINENO BITS VAR
2196# ------------------------------------ 2187# ------------------------------------
2199ac_fn_c_find_uintX_t () 2190ac_fn_c_find_uintX_t ()
2200{ 2191{
2201 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
2202 { $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
2203$as_echo_n "checking for uint$2_t... " >&6; } 2194$as_echo_n "checking for uint$2_t... " >&6; }
2204if eval \${$3+:} false; then : 2195if eval "test \"\${$3+set}\"" = set; then :
2205 $as_echo_n "(cached) " >&6 2196 $as_echo_n "(cached) " >&6
2206else 2197else
2207 eval "$3=no" 2198 eval "$3=no"
2208 # Order is important - never check a type that is potentially smaller 2199 # Order is important - never check a type that is potentially smaller
2209 # than half of the expected target width. 2200 # than half of the expected target width.
2239 done 2230 done
2240fi 2231fi
2241eval ac_res=\$$3 2232eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243$as_echo "$ac_res" >&6; } 2234$as_echo "$ac_res" >&6; }
2244 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;}
2245 2236
2246} # ac_fn_c_find_uintX_t 2237} # ac_fn_c_find_uintX_t
2247 2238
2248# ac_fn_cxx_try_run LINENO 2239# ac_fn_cxx_try_run LINENO
2249# ------------------------ 2240# ------------------------
2280sed 's/^/| /' conftest.$ac_ext >&5 2271sed 's/^/| /' conftest.$ac_ext >&5
2281 2272
2282 ac_retval=$ac_status 2273 ac_retval=$ac_status
2283fi 2274fi
2284 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2275 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2285 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;}
2286 as_fn_set_status $ac_retval 2277 as_fn_set_status $ac_retval
2287 2278
2288} # ac_fn_cxx_try_run 2279} # ac_fn_cxx_try_run
2289cat >config.log <<_ACEOF 2280cat >config.log <<_ACEOF
2290This file contains any messages produced by compilers while 2281This file contains any messages produced by compilers while
2291running configure, to aid debugging if configure makes a mistake. 2282running configure, to aid debugging if configure makes a mistake.
2292 2283
2293It was created by $as_me, which was 2284It was created by $as_me, which was
2294generated by GNU Autoconf 2.68. Invocation command line was 2285generated by GNU Autoconf 2.67. Invocation command line was
2295 2286
2296 $ $0 $@ 2287 $ $0 $@
2297 2288
2298_ACEOF 2289_ACEOF
2299exec 5>>config.log 2290exec 5>>config.log
2547 sed 's/^/| /' "$ac_site_file" >&5 2538 sed 's/^/| /' "$ac_site_file" >&5
2548 . "$ac_site_file" \ 2539 . "$ac_site_file" \
2549 || { { $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
2550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2541$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2551as_fn_error $? "failed to load site script $ac_site_file 2542as_fn_error $? "failed to load site script $ac_site_file
2552See \`config.log' for more details" "$LINENO" 5; } 2543See \`config.log' for more details" "$LINENO" 5 ; }
2553 fi 2544 fi
2554done 2545done
2555 2546
2556if test -r "$cache_file"; then 2547if test -r "$cache_file"; then
2557 # 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
2676$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2667$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2677 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2668 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2678 2669
2679{ $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
2680$as_echo_n "checking build system type... " >&6; } 2671$as_echo_n "checking build system type... " >&6; }
2681if ${ac_cv_build+:} false; then : 2672if test "${ac_cv_build+set}" = set; then :
2682 $as_echo_n "(cached) " >&6 2673 $as_echo_n "(cached) " >&6
2683else 2674else
2684 ac_build_alias=$build_alias 2675 ac_build_alias=$build_alias
2685test "x$ac_build_alias" = x && 2676test "x$ac_build_alias" = x &&
2686 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2677 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2692fi 2683fi
2693{ $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
2694$as_echo "$ac_cv_build" >&6; } 2685$as_echo "$ac_cv_build" >&6; }
2695case $ac_cv_build in 2686case $ac_cv_build in
2696*-*-*) ;; 2687*-*-*) ;;
2697*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2688*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2698esac 2689esac
2699build=$ac_cv_build 2690build=$ac_cv_build
2700ac_save_IFS=$IFS; IFS='-' 2691ac_save_IFS=$IFS; IFS='-'
2701set x $ac_cv_build 2692set x $ac_cv_build
2702shift 2693shift
2710case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2701case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2711 2702
2712 2703
2713{ $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
2714$as_echo_n "checking host system type... " >&6; } 2705$as_echo_n "checking host system type... " >&6; }
2715if ${ac_cv_host+:} false; then : 2706if test "${ac_cv_host+set}" = set; then :
2716 $as_echo_n "(cached) " >&6 2707 $as_echo_n "(cached) " >&6
2717else 2708else
2718 if test "x$host_alias" = x; then 2709 if test "x$host_alias" = x; then
2719 ac_cv_host=$ac_cv_build 2710 ac_cv_host=$ac_cv_build
2720else 2711else
2725fi 2716fi
2726{ $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
2727$as_echo "$ac_cv_host" >&6; } 2718$as_echo "$ac_cv_host" >&6; }
2728case $ac_cv_host in 2719case $ac_cv_host in
2729*-*-*) ;; 2720*-*-*) ;;
2730*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2721*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2731esac 2722esac
2732host=$ac_cv_host 2723host=$ac_cv_host
2733ac_save_IFS=$IFS; IFS='-' 2724ac_save_IFS=$IFS; IFS='-'
2734set x $ac_cv_host 2725set x $ac_cv_host
2735shift 2726shift
2742IFS=$ac_save_IFS 2733IFS=$ac_save_IFS
2743case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2734case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2744 2735
2745 2736
2746 2737
2747VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 2738VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
2748DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 2739DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
2749 2740
2750echo "" 2741echo ""
2751echo "configuring for rxvt $VERSION" 2742echo "configuring for rxvt $VERSION"
2752echo "" 2743echo ""
2753 2744
2761if test -n "$ac_tool_prefix"; then 2752if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2753 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2763set dummy ${ac_tool_prefix}gcc; ac_word=$2 2754set dummy ${ac_tool_prefix}gcc; ac_word=$2
2764{ $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
2765$as_echo_n "checking for $ac_word... " >&6; } 2756$as_echo_n "checking for $ac_word... " >&6; }
2766if ${ac_cv_prog_CC+:} false; then : 2757if test "${ac_cv_prog_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6 2758 $as_echo_n "(cached) " >&6
2768else 2759else
2769 if test -n "$CC"; then 2760 if test -n "$CC"; then
2770 ac_cv_prog_CC="$CC" # Let the user override the test. 2761 ac_cv_prog_CC="$CC" # Let the user override the test.
2771else 2762else
2801 ac_ct_CC=$CC 2792 ac_ct_CC=$CC
2802 # 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.
2803set dummy gcc; ac_word=$2 2794set dummy gcc; ac_word=$2
2804{ $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
2805$as_echo_n "checking for $ac_word... " >&6; } 2796$as_echo_n "checking for $ac_word... " >&6; }
2806if ${ac_cv_prog_ac_ct_CC+:} false; then : 2797if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2807 $as_echo_n "(cached) " >&6 2798 $as_echo_n "(cached) " >&6
2808else 2799else
2809 if test -n "$ac_ct_CC"; then 2800 if test -n "$ac_ct_CC"; then
2810 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.
2811else 2802else
2854 if test -n "$ac_tool_prefix"; then 2845 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2846 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2856set dummy ${ac_tool_prefix}cc; ac_word=$2 2847set dummy ${ac_tool_prefix}cc; ac_word=$2
2857{ $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
2858$as_echo_n "checking for $ac_word... " >&6; } 2849$as_echo_n "checking for $ac_word... " >&6; }
2859if ${ac_cv_prog_CC+:} false; then : 2850if test "${ac_cv_prog_CC+set}" = set; then :
2860 $as_echo_n "(cached) " >&6 2851 $as_echo_n "(cached) " >&6
2861else 2852else
2862 if test -n "$CC"; then 2853 if test -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test. 2854 ac_cv_prog_CC="$CC" # Let the user override the test.
2864else 2855else
2894if test -z "$CC"; then 2885if test -z "$CC"; then
2895 # 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.
2896set dummy cc; ac_word=$2 2887set dummy cc; ac_word=$2
2897{ $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
2898$as_echo_n "checking for $ac_word... " >&6; } 2889$as_echo_n "checking for $ac_word... " >&6; }
2899if ${ac_cv_prog_CC+:} false; then : 2890if test "${ac_cv_prog_CC+set}" = set; then :
2900 $as_echo_n "(cached) " >&6 2891 $as_echo_n "(cached) " >&6
2901else 2892else
2902 if test -n "$CC"; then 2893 if test -n "$CC"; then
2903 ac_cv_prog_CC="$CC" # Let the user override the test. 2894 ac_cv_prog_CC="$CC" # Let the user override the test.
2904else 2895else
2953 do 2944 do
2954 # 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.
2955set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2946set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2956{ $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
2957$as_echo_n "checking for $ac_word... " >&6; } 2948$as_echo_n "checking for $ac_word... " >&6; }
2958if ${ac_cv_prog_CC+:} false; then : 2949if test "${ac_cv_prog_CC+set}" = set; then :
2959 $as_echo_n "(cached) " >&6 2950 $as_echo_n "(cached) " >&6
2960else 2951else
2961 if test -n "$CC"; then 2952 if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test. 2953 ac_cv_prog_CC="$CC" # Let the user override the test.
2963else 2954else
2997do 2988do
2998 # 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.
2999set dummy $ac_prog; ac_word=$2 2990set dummy $ac_prog; ac_word=$2
3000{ $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
3001$as_echo_n "checking for $ac_word... " >&6; } 2992$as_echo_n "checking for $ac_word... " >&6; }
3002if ${ac_cv_prog_ac_ct_CC+:} false; then : 2993if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3003 $as_echo_n "(cached) " >&6 2994 $as_echo_n "(cached) " >&6
3004else 2995else
3005 if test -n "$ac_ct_CC"; then 2996 if test -n "$ac_ct_CC"; then
3006 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.
3007else 2998else
3052 3043
3053 3044
3054test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3045test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3046$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056as_fn_error $? "no acceptable C compiler found in \$PATH 3047as_fn_error $? "no acceptable C compiler found in \$PATH
3057See \`config.log' for more details" "$LINENO" 5; } 3048See \`config.log' for more details" "$LINENO" 5 ; }
3058 3049
3059# Provide some information about the compiler. 3050# Provide some information about the compiler.
3060$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
3061set X $ac_compile 3052set X $ac_compile
3062ac_compiler=$2 3053ac_compiler=$2
3167sed 's/^/| /' conftest.$ac_ext >&5 3158sed 's/^/| /' conftest.$ac_ext >&5
3168 3159
3169{ { $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
3170$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3161$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3171as_fn_error 77 "C compiler cannot create executables 3162as_fn_error 77 "C compiler cannot create executables
3172See \`config.log' for more details" "$LINENO" 5; } 3163See \`config.log' for more details" "$LINENO" 5 ; }
3173else 3164else
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3175$as_echo "yes" >&6; } 3166$as_echo "yes" >&6; }
3176fi 3167fi
3177{ $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
3210done 3201done
3211else 3202else
3212 { { $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
3213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3205as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3215See \`config.log' for more details" "$LINENO" 5; } 3206See \`config.log' for more details" "$LINENO" 5 ; }
3216fi 3207fi
3217rm -f conftest conftest$ac_cv_exeext 3208rm -f conftest conftest$ac_cv_exeext
3218{ $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
3219$as_echo "$ac_cv_exeext" >&6; } 3210$as_echo "$ac_cv_exeext" >&6; }
3220 3211
3269 else 3260 else
3270 { { $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
3271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3262$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272as_fn_error $? "cannot run C compiled programs. 3263as_fn_error $? "cannot run C compiled programs.
3273If you meant to cross compile, use \`--host'. 3264If you meant to cross compile, use \`--host'.
3274See \`config.log' for more details" "$LINENO" 5; } 3265See \`config.log' for more details" "$LINENO" 5 ; }
3275 fi 3266 fi
3276 fi 3267 fi
3277fi 3268fi
3278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3279$as_echo "$cross_compiling" >&6; } 3270$as_echo "$cross_compiling" >&6; }
3280 3271
3281rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3272rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3282ac_clean_files=$ac_clean_files_save 3273ac_clean_files=$ac_clean_files_save
3283{ $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
3284$as_echo_n "checking for suffix of object files... " >&6; } 3275$as_echo_n "checking for suffix of object files... " >&6; }
3285if ${ac_cv_objext+:} false; then : 3276if test "${ac_cv_objext+set}" = set; then :
3286 $as_echo_n "(cached) " >&6 3277 $as_echo_n "(cached) " >&6
3287else 3278else
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289/* end confdefs.h. */ 3280/* end confdefs.h. */
3290 3281
3321sed 's/^/| /' conftest.$ac_ext >&5 3312sed 's/^/| /' conftest.$ac_ext >&5
3322 3313
3323{ { $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
3324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3315$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325as_fn_error $? "cannot compute suffix of object files: cannot compile 3316as_fn_error $? "cannot compute suffix of object files: cannot compile
3326See \`config.log' for more details" "$LINENO" 5; } 3317See \`config.log' for more details" "$LINENO" 5 ; }
3327fi 3318fi
3328rm -f conftest.$ac_cv_objext conftest.$ac_ext 3319rm -f conftest.$ac_cv_objext conftest.$ac_ext
3329fi 3320fi
3330{ $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
3331$as_echo "$ac_cv_objext" >&6; } 3322$as_echo "$ac_cv_objext" >&6; }
3332OBJEXT=$ac_cv_objext 3323OBJEXT=$ac_cv_objext
3333ac_objext=$OBJEXT 3324ac_objext=$OBJEXT
3334{ $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
3335$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; }
3336if ${ac_cv_c_compiler_gnu+:} false; then : 3327if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3337 $as_echo_n "(cached) " >&6 3328 $as_echo_n "(cached) " >&6
3338else 3329else
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340/* end confdefs.h. */ 3331/* end confdefs.h. */
3341 3332
3368fi 3359fi
3369ac_test_CFLAGS=${CFLAGS+set} 3360ac_test_CFLAGS=${CFLAGS+set}
3370ac_save_CFLAGS=$CFLAGS 3361ac_save_CFLAGS=$CFLAGS
3371{ $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
3372$as_echo_n "checking whether $CC accepts -g... " >&6; } 3363$as_echo_n "checking whether $CC accepts -g... " >&6; }
3373if ${ac_cv_prog_cc_g+:} false; then : 3364if test "${ac_cv_prog_cc_g+set}" = set; then :
3374 $as_echo_n "(cached) " >&6 3365 $as_echo_n "(cached) " >&6
3375else 3366else
3376 ac_save_c_werror_flag=$ac_c_werror_flag 3367 ac_save_c_werror_flag=$ac_c_werror_flag
3377 ac_c_werror_flag=yes 3368 ac_c_werror_flag=yes
3378 ac_cv_prog_cc_g=no 3369 ac_cv_prog_cc_g=no
3446 CFLAGS= 3437 CFLAGS=
3447 fi 3438 fi
3448fi 3439fi
3449{ $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
3450$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; }
3451if ${ac_cv_prog_cc_c89+:} false; then : 3442if test "${ac_cv_prog_cc_c89+set}" = set; then :
3452 $as_echo_n "(cached) " >&6 3443 $as_echo_n "(cached) " >&6
3453else 3444else
3454 ac_cv_prog_cc_c89=no 3445 ac_cv_prog_cc_c89=no
3455ac_save_CC=$CC 3446ac_save_CC=$CC
3456cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3447cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 do 3548 do
3558 # 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.
3559set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3550set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3560{ $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
3561$as_echo_n "checking for $ac_word... " >&6; } 3552$as_echo_n "checking for $ac_word... " >&6; }
3562if ${ac_cv_prog_CXX+:} false; then : 3553if test "${ac_cv_prog_CXX+set}" = set; then :
3563 $as_echo_n "(cached) " >&6 3554 $as_echo_n "(cached) " >&6
3564else 3555else
3565 if test -n "$CXX"; then 3556 if test -n "$CXX"; then
3566 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3557 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3567else 3558else
3601do 3592do
3602 # 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.
3603set dummy $ac_prog; ac_word=$2 3594set dummy $ac_prog; ac_word=$2
3604{ $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
3605$as_echo_n "checking for $ac_word... " >&6; } 3596$as_echo_n "checking for $ac_word... " >&6; }
3606if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3597if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3607 $as_echo_n "(cached) " >&6 3598 $as_echo_n "(cached) " >&6
3608else 3599else
3609 if test -n "$ac_ct_CXX"; then 3600 if test -n "$ac_ct_CXX"; then
3610 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.
3611else 3602else
3679 test $ac_status = 0; } 3670 test $ac_status = 0; }
3680done 3671done
3681 3672
3682{ $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
3683$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; }
3684if ${ac_cv_cxx_compiler_gnu+:} false; then : 3675if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3685 $as_echo_n "(cached) " >&6 3676 $as_echo_n "(cached) " >&6
3686else 3677else
3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688/* end confdefs.h. */ 3679/* end confdefs.h. */
3689 3680
3716fi 3707fi
3717ac_test_CXXFLAGS=${CXXFLAGS+set} 3708ac_test_CXXFLAGS=${CXXFLAGS+set}
3718ac_save_CXXFLAGS=$CXXFLAGS 3709ac_save_CXXFLAGS=$CXXFLAGS
3719{ $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
3720$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3711$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3721if ${ac_cv_prog_cxx_g+:} false; then : 3712if test "${ac_cv_prog_cxx_g+set}" = set; then :
3722 $as_echo_n "(cached) " >&6 3713 $as_echo_n "(cached) " >&6
3723else 3714else
3724 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3715 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3725 ac_cxx_werror_flag=yes 3716 ac_cxx_werror_flag=yes
3726 ac_cv_prog_cxx_g=no 3717 ac_cv_prog_cxx_g=no
3792 CXXFLAGS="-O2" 3783 CXXFLAGS="-O2"
3793 else 3784 else
3794 CXXFLAGS= 3785 CXXFLAGS=
3795 fi 3786 fi
3796fi 3787fi
3797ac_ext=c
3798ac_cpp='$CPP $CPPFLAGS'
3799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802
3803ac_ext=c
3804ac_cpp='$CPP $CPPFLAGS'
3805ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3809$as_echo_n "checking how to run the C preprocessor... " >&6; }
3810# On Suns, sometimes $CPP names a directory.
3811if test -n "$CPP" && test -d "$CPP"; then
3812 CPP=
3813fi
3814if test -z "$CPP"; then
3815 if ${ac_cv_prog_CPP+:} false; then :
3816 $as_echo_n "(cached) " >&6
3817else
3818 # Double quotes because CPP needs to be expanded
3819 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3820 do
3821 ac_preproc_ok=false
3822for ac_c_preproc_warn_flag in '' yes
3823do
3824 # Use a header file that comes with gcc, so configuring glibc
3825 # with a fresh cross-compiler works.
3826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3827 # <limits.h> exists even on freestanding compilers.
3828 # On the NeXT, cc -E runs the code through the compiler's parser,
3829 # not just through cpp. "Syntax error" is here to catch this case.
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831/* end confdefs.h. */
3832#ifdef __STDC__
3833# include <limits.h>
3834#else
3835# include <assert.h>
3836#endif
3837 Syntax error
3838_ACEOF
3839if ac_fn_c_try_cpp "$LINENO"; then :
3840
3841else
3842 # Broken: fails on valid input.
3843continue
3844fi
3845rm -f conftest.err conftest.i conftest.$ac_ext
3846
3847 # OK, works on sane cases. Now check whether nonexistent headers
3848 # can be detected and how.
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850/* end confdefs.h. */
3851#include <ac_nonexistent.h>
3852_ACEOF
3853if ac_fn_c_try_cpp "$LINENO"; then :
3854 # Broken: success on invalid input.
3855continue
3856else
3857 # Passes both tests.
3858ac_preproc_ok=:
3859break
3860fi
3861rm -f conftest.err conftest.i conftest.$ac_ext
3862
3863done
3864# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3865rm -f conftest.i conftest.err conftest.$ac_ext
3866if $ac_preproc_ok; then :
3867 break
3868fi
3869
3870 done
3871 ac_cv_prog_CPP=$CPP
3872
3873fi
3874 CPP=$ac_cv_prog_CPP
3875else
3876 ac_cv_prog_CPP=$CPP
3877fi
3878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3879$as_echo "$CPP" >&6; }
3880ac_preproc_ok=false
3881for ac_c_preproc_warn_flag in '' yes
3882do
3883 # Use a header file that comes with gcc, so configuring glibc
3884 # with a fresh cross-compiler works.
3885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3886 # <limits.h> exists even on freestanding compilers.
3887 # On the NeXT, cc -E runs the code through the compiler's parser,
3888 # not just through cpp. "Syntax error" is here to catch this case.
3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890/* end confdefs.h. */
3891#ifdef __STDC__
3892# include <limits.h>
3893#else
3894# include <assert.h>
3895#endif
3896 Syntax error
3897_ACEOF
3898if ac_fn_c_try_cpp "$LINENO"; then :
3899
3900else
3901 # Broken: fails on valid input.
3902continue
3903fi
3904rm -f conftest.err conftest.i conftest.$ac_ext
3905
3906 # OK, works on sane cases. Now check whether nonexistent headers
3907 # can be detected and how.
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909/* end confdefs.h. */
3910#include <ac_nonexistent.h>
3911_ACEOF
3912if ac_fn_c_try_cpp "$LINENO"; then :
3913 # Broken: success on invalid input.
3914continue
3915else
3916 # Passes both tests.
3917ac_preproc_ok=:
3918break
3919fi
3920rm -f conftest.err conftest.i conftest.$ac_ext
3921
3922done
3923# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3924rm -f conftest.i conftest.err conftest.$ac_ext
3925if $ac_preproc_ok; then :
3926
3927else
3928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3929$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3930as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3931See \`config.log' for more details" "$LINENO" 5; }
3932fi
3933
3934ac_ext=c 3788ac_ext=c
3935ac_cpp='$CPP $CPPFLAGS' 3789ac_cpp='$CPP $CPPFLAGS'
3936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938ac_compiler_gnu=$ac_cv_c_compiler_gnu 3792ac_compiler_gnu=$ac_cv_c_compiler_gnu
3952# ./install, which can be erroneously created by make from ./install.sh. 3806# ./install, which can be erroneously created by make from ./install.sh.
3953# Reject install programs that cannot install multiple files. 3807# Reject install programs that cannot install multiple files.
3954{ $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
3955$as_echo_n "checking for a BSD-compatible install... " >&6; } 3809$as_echo_n "checking for a BSD-compatible install... " >&6; }
3956if test -z "$INSTALL"; then 3810if test -z "$INSTALL"; then
3957if ${ac_cv_path_install+:} false; then : 3811if test "${ac_cv_path_install+set}" = set; then :
3958 $as_echo_n "(cached) " >&6 3812 $as_echo_n "(cached) " >&6
3959else 3813else
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961for as_dir in $PATH 3815for as_dir in $PATH
3962do 3816do
4030 3884
4031test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3885test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4032 3886
4033 3887
4034 3888
3889ac_ext=c
3890ac_cpp='$CPP $CPPFLAGS'
3891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3893ac_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.
3897if test -n "$CPP" && test -d "$CPP"; then
3898 CPP=
3899fi
3900if test -z "$CPP"; then
3901 if test "${ac_cv_prog_CPP+set}" = set; then :
3902 $as_echo_n "(cached) " >&6
3903else
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
3908for ac_c_preproc_warn_flag in '' yes
3909do
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
3925if ac_fn_c_try_cpp "$LINENO"; then :
3926
3927else
3928 # Broken: fails on valid input.
3929continue
3930fi
3931rm -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
3939if ac_fn_c_try_cpp "$LINENO"; then :
3940 # Broken: success on invalid input.
3941continue
3942else
3943 # Passes both tests.
3944ac_preproc_ok=:
3945break
3946fi
3947rm -f conftest.err conftest.i conftest.$ac_ext
3948
3949done
3950# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3951rm -f conftest.i conftest.err conftest.$ac_ext
3952if $ac_preproc_ok; then :
3953 break
3954fi
3955
3956 done
3957 ac_cv_prog_CPP=$CPP
3958
3959fi
3960 CPP=$ac_cv_prog_CPP
3961else
3962 ac_cv_prog_CPP=$CPP
3963fi
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3965$as_echo "$CPP" >&6; }
3966ac_preproc_ok=false
3967for ac_c_preproc_warn_flag in '' yes
3968do
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
3984if ac_fn_c_try_cpp "$LINENO"; then :
3985
3986else
3987 # Broken: fails on valid input.
3988continue
3989fi
3990rm -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
3998if ac_fn_c_try_cpp "$LINENO"; then :
3999 # Broken: success on invalid input.
4000continue
4001else
4002 # Passes both tests.
4003ac_preproc_ok=:
4004break
4005fi
4006rm -f conftest.err conftest.i conftest.$ac_ext
4007
4008done
4009# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4010rm -f conftest.i conftest.err conftest.$ac_ext
4011if $ac_preproc_ok; then :
4012
4013else
4014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4017See \`config.log' for more details" "$LINENO" 5 ; }
4018fi
4019
4020ac_ext=c
4021ac_cpp='$CPP $CPPFLAGS'
4022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024ac_compiler_gnu=$ac_cv_c_compiler_gnu
4025
4035 4026
4036{ $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
4037$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; }
4038if ${ac_cv_path_GREP+:} false; then : 4029if test "${ac_cv_path_GREP+set}" = set; then :
4039 $as_echo_n "(cached) " >&6 4030 $as_echo_n "(cached) " >&6
4040else 4031else
4041 if test -z "$GREP"; then 4032 if test -z "$GREP"; then
4042 ac_path_GREP_found=false 4033 ac_path_GREP_found=false
4043 # 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
4096 GREP="$ac_cv_path_GREP" 4087 GREP="$ac_cv_path_GREP"
4097 4088
4098 4089
4099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4100$as_echo_n "checking for egrep... " >&6; } 4091$as_echo_n "checking for egrep... " >&6; }
4101if ${ac_cv_path_EGREP+:} false; then : 4092if test "${ac_cv_path_EGREP+set}" = set; then :
4102 $as_echo_n "(cached) " >&6 4093 $as_echo_n "(cached) " >&6
4103else 4094else
4104 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4095 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4105 then ac_cv_path_EGREP="$GREP -E" 4096 then ac_cv_path_EGREP="$GREP -E"
4106 else 4097 else
4163 EGREP="$ac_cv_path_EGREP" 4154 EGREP="$ac_cv_path_EGREP"
4164 4155
4165 4156
4166{ $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
4167$as_echo_n "checking for ANSI C header files... " >&6; } 4158$as_echo_n "checking for ANSI C header files... " >&6; }
4168if ${ac_cv_header_stdc+:} false; then : 4159if test "${ac_cv_header_stdc+set}" = set; then :
4169 $as_echo_n "(cached) " >&6 4160 $as_echo_n "(cached) " >&6
4170else 4161else
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172/* end confdefs.h. */ 4163/* end confdefs.h. */
4173#include <stdlib.h> 4164#include <stdlib.h>
4292done 4283done
4293 4284
4294 4285
4295 4286
4296 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"
4297if test "x$ac_cv_header_minix_config_h" = xyes; then : 4288if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4298 MINIX=yes 4289 MINIX=yes
4299else 4290else
4300 MINIX= 4291 MINIX=
4301fi 4292fi
4302 4293
4314 fi 4305 fi
4315 4306
4316 4307
4317 { $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
4318$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; }
4319if ${ac_cv_safe_to_define___extensions__+:} false; then : 4310if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4320 $as_echo_n "(cached) " >&6 4311 $as_echo_n "(cached) " >&6
4321else 4312else
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323/* end confdefs.h. */ 4314/* end confdefs.h. */
4324 4315
4355 4346
4356 4347
4357 4348
4358{ $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
4359$as_echo_n "checking for library containing strerror... " >&6; } 4350$as_echo_n "checking for library containing strerror... " >&6; }
4360if ${ac_cv_search_strerror+:} false; then : 4351if test "${ac_cv_search_strerror+set}" = set; then :
4361 $as_echo_n "(cached) " >&6 4352 $as_echo_n "(cached) " >&6
4362else 4353else
4363 ac_func_search_save_LIBS=$LIBS 4354 ac_func_search_save_LIBS=$LIBS
4364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4355cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365/* end confdefs.h. */ 4356/* end confdefs.h. */
4389 if ac_fn_c_try_link "$LINENO"; then : 4380 if ac_fn_c_try_link "$LINENO"; then :
4390 ac_cv_search_strerror=$ac_res 4381 ac_cv_search_strerror=$ac_res
4391fi 4382fi
4392rm -f core conftest.err conftest.$ac_objext \ 4383rm -f core conftest.err conftest.$ac_objext \
4393 conftest$ac_exeext 4384 conftest$ac_exeext
4394 if ${ac_cv_search_strerror+:} false; then : 4385 if test "${ac_cv_search_strerror+set}" = set; then :
4395 break 4386 break
4396fi 4387fi
4397done 4388done
4398if ${ac_cv_search_strerror+:} false; then : 4389if test "${ac_cv_search_strerror+set}" = set; then :
4399 4390
4400else 4391else
4401 ac_cv_search_strerror=no 4392 ac_cv_search_strerror=no
4402fi 4393fi
4403rm conftest.$ac_ext 4394rm conftest.$ac_ext
4416ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4407ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4408ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4409ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4419 4410
4420 4411
4412LINKER="$CXX"
4421if test x$GCC = xyes && test x$GXX = xyes; then 4413if test x$GCC = xyes && test x$GXX = xyes; then
4422 { $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
4423$as_echo_n "checking for working libsupc++... " >&6; } 4415$as_echo_n "checking for working libsupc++... " >&6; }
4424 save_CXX="$CXX" 4416 save_CXX="$CXX"
4425 save_LIBS="$LIBS" 4417 save_LIBS="$LIBS"
4426 CXX="$CC" 4418 CXX="$CC"
4427 LIBS="$LIBS -lsupc++" 4419 LIBS="$LIBS -lsupc++"
4428 LINKER="$CC"
4429 4420
4430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431/* end confdefs.h. */ 4422/* end confdefs.h. */
4432struct test { }; void f() try { throw new test; } catch (...) { throw; } 4423struct test { }; void f() try { throw new test; } catch (...) { throw; }
4433int 4424int
4439} 4430}
4440_ACEOF 4431_ACEOF
4441if ac_fn_cxx_try_link "$LINENO"; then : 4432if ac_fn_cxx_try_link "$LINENO"; then :
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4443$as_echo "ok" >&6; } 4434$as_echo "ok" >&6; }
4435 LINKER="$CC"
4444else 4436else
4445 4437
4446 { $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
4447$as_echo "no, making everything bigger and slower" >&6; } 4439$as_echo "no, making everything bigger and slower" >&6; }
4448 LIBS="$save_LIBS" 4440 LIBS="$save_LIBS"
4449 LINKER="$save_CXX"
4450 4441
4451 4442
4452fi 4443fi
4453rm -f core conftest.err conftest.$ac_objext \ 4444rm -f core conftest.err conftest.$ac_objext \
4454 conftest$ac_exeext conftest.$ac_ext 4445 conftest$ac_exeext conftest.$ac_ext
4481 CXXFLAGS="-O" 4472 CXXFLAGS="-O"
4482 fi 4473 fi
4483 CFLAGS="$CXXFLAGS" 4474 CFLAGS="$CXXFLAGS"
4484fi 4475fi
4485 4476
4486case $host in
4487 *-*-solaris* )
4488
4489$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
4490
4491 ;;
4492esac
4493
4494{ $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
4495$as_echo_n "checking for library containing setlocale... " >&6; } 4478$as_echo_n "checking for library containing setlocale... " >&6; }
4496if ${ac_cv_search_setlocale+:} false; then : 4479if test "${ac_cv_search_setlocale+set}" = set; then :
4497 $as_echo_n "(cached) " >&6 4480 $as_echo_n "(cached) " >&6
4498else 4481else
4499 ac_func_search_save_LIBS=$LIBS 4482 ac_func_search_save_LIBS=$LIBS
4500cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4483cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501/* end confdefs.h. */ 4484/* end confdefs.h. */
4525 if ac_fn_cxx_try_link "$LINENO"; then : 4508 if ac_fn_cxx_try_link "$LINENO"; then :
4526 ac_cv_search_setlocale=$ac_res 4509 ac_cv_search_setlocale=$ac_res
4527fi 4510fi
4528rm -f core conftest.err conftest.$ac_objext \ 4511rm -f core conftest.err conftest.$ac_objext \
4529 conftest$ac_exeext 4512 conftest$ac_exeext
4530 if ${ac_cv_search_setlocale+:} false; then : 4513 if test "${ac_cv_search_setlocale+set}" = set; then :
4531 break 4514 break
4532fi 4515fi
4533done 4516done
4534if ${ac_cv_search_setlocale+:} false; then : 4517if test "${ac_cv_search_setlocale+set}" = set; then :
4535 4518
4536else 4519else
4537 ac_cv_search_setlocale=no 4520 ac_cv_search_setlocale=no
4538fi 4521fi
4539rm conftest.$ac_ext 4522rm conftest.$ac_ext
4548fi 4531fi
4549 4532
4550 4533
4551{ $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
4552$as_echo_n "checking for library containing gethostbyname... " >&6; } 4535$as_echo_n "checking for library containing gethostbyname... " >&6; }
4553if ${ac_cv_search_gethostbyname+:} false; then : 4536if test "${ac_cv_search_gethostbyname+set}" = set; then :
4554 $as_echo_n "(cached) " >&6 4537 $as_echo_n "(cached) " >&6
4555else 4538else
4556 ac_func_search_save_LIBS=$LIBS 4539 ac_func_search_save_LIBS=$LIBS
4557cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558/* end confdefs.h. */ 4541/* end confdefs.h. */
4582 if ac_fn_cxx_try_link "$LINENO"; then : 4565 if ac_fn_cxx_try_link "$LINENO"; then :
4583 ac_cv_search_gethostbyname=$ac_res 4566 ac_cv_search_gethostbyname=$ac_res
4584fi 4567fi
4585rm -f core conftest.err conftest.$ac_objext \ 4568rm -f core conftest.err conftest.$ac_objext \
4586 conftest$ac_exeext 4569 conftest$ac_exeext
4587 if ${ac_cv_search_gethostbyname+:} false; then : 4570 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4588 break 4571 break
4589fi 4572fi
4590done 4573done
4591if ${ac_cv_search_gethostbyname+:} false; then : 4574if test "${ac_cv_search_gethostbyname+set}" = set; then :
4592 4575
4593else 4576else
4594 ac_cv_search_gethostbyname=no 4577 ac_cv_search_gethostbyname=no
4595fi 4578fi
4596rm conftest.$ac_ext 4579rm conftest.$ac_ext
4604 4587
4605fi 4588fi
4606 4589
4607{ $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
4608$as_echo_n "checking for library containing socket... " >&6; } 4591$as_echo_n "checking for library containing socket... " >&6; }
4609if ${ac_cv_search_socket+:} false; then : 4592if test "${ac_cv_search_socket+set}" = set; then :
4610 $as_echo_n "(cached) " >&6 4593 $as_echo_n "(cached) " >&6
4611else 4594else
4612 ac_func_search_save_LIBS=$LIBS 4595 ac_func_search_save_LIBS=$LIBS
4613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614/* end confdefs.h. */ 4597/* end confdefs.h. */
4638 if ac_fn_cxx_try_link "$LINENO"; then : 4621 if ac_fn_cxx_try_link "$LINENO"; then :
4639 ac_cv_search_socket=$ac_res 4622 ac_cv_search_socket=$ac_res
4640fi 4623fi
4641rm -f core conftest.err conftest.$ac_objext \ 4624rm -f core conftest.err conftest.$ac_objext \
4642 conftest$ac_exeext 4625 conftest$ac_exeext
4643 if ${ac_cv_search_socket+:} false; then : 4626 if test "${ac_cv_search_socket+set}" = set; then :
4644 break 4627 break
4645fi 4628fi
4646done 4629done
4647if ${ac_cv_search_socket+:} false; then : 4630if test "${ac_cv_search_socket+set}" = set; then :
4648 4631
4649else 4632else
4650 ac_cv_search_socket=no 4633 ac_cv_search_socket=no
4651fi 4634fi
4652rm conftest.$ac_ext 4635rm conftest.$ac_ext
4673support_scroll_rxvt=yes 4656support_scroll_rxvt=yes
4674support_scroll_next=yes 4657support_scroll_next=yes
4675support_scroll_xterm=yes 4658support_scroll_xterm=yes
4676support_xim=yes 4659support_xim=yes
4677support_pixbuf=yes 4660support_pixbuf=yes
4678support_afterimage=yes 4661support_startup_notification=yes
4679support_xft=yes 4662support_xft=yes
4680support_unicode3=no 4663support_unicode3=no
4681support_combining=yes 4664support_combining=yes
4682support_8bitctrls=no 4665support_8bitctrls=no
4683support_iso14755=yes 4666support_iso14755=yes
4684support_styles=yes 4667support_styles=yes
4685support_perl=yes 4668support_perl=yes
4669support_xdbe=yes
4686codesets=all 4670codesets=all
4687 4671
4688 4672
4689# Check whether --enable-everything was given. 4673# Check whether --enable-everything was given.
4690if test "${enable_everything+set}" = set; then : 4674if test "${enable_everything+set}" = set; then :
4691 enableval=$enable_everything; 4675 enableval=$enable_everything;
4692 if test x$enableval = xno; then 4676 if test x$enableval = xno; then
4693 support_frills=no 4677 support_frills=no
4678 support_xdbe=no
4694 support_inheritpixmap=no 4679 support_inheritpixmap=no
4695 support_fading=no 4680 support_fading=no
4696 support_keepscrolling=no 4681 support_keepscrolling=no
4697 support_selectionscrolling=no 4682 support_selectionscrolling=no
4698 support_lastlog=no 4683 support_lastlog=no
4705 support_scroll_xterm=no 4690 support_scroll_xterm=no
4706 support_utmp=no 4691 support_utmp=no
4707 support_wtmp=no 4692 support_wtmp=no
4708 support_xim=no 4693 support_xim=no
4709 support_pixbuf=no 4694 support_pixbuf=no
4710 support_afterimage=no 4695 support_startup_notification=no
4711 support_xft=no 4696 support_xft=no
4712 support_unicode3=no 4697 support_unicode3=no
4713 support_combining=no 4698 support_combining=no
4714 support_8bitctrls=no 4699 support_8bitctrls=no
4715 support_iso14755=no 4700 support_iso14755=no
4716 support_styles=no 4701 support_styles=no
4717 support_perl=no 4702 support_perl=no
4703 support_xdbe=no
4718 codesets= 4704 codesets=
4719 fi 4705 fi
4720 if test x$enableval = xyes; then 4706 if test x$enableval = xyes; then
4721 support_frills=yes 4707 support_frills=yes
4722 support_inheritpixmap=yes 4708 support_inheritpixmap=yes
4733 support_scroll_xterm=yes 4719 support_scroll_xterm=yes
4734 support_utmp=yes 4720 support_utmp=yes
4735 support_wtmp=yes 4721 support_wtmp=yes
4736 support_xim=yes 4722 support_xim=yes
4737 support_pixbuf=yes 4723 support_pixbuf=yes
4738 support_afterimage=yes 4724 support_startup_notification=yes
4739 support_xft=yes 4725 support_xft=yes
4740 support_unicode3=yes 4726 support_unicode3=yes
4741 support_combining=yes 4727 support_combining=yes
4742 #support_8bitctrls=yes 4728 #support_8bitctrls=yes
4743 support_iso14755=yes 4729 support_iso14755=yes
4744 support_styles=yes 4730 support_styles=yes
4745 support_perl=yes 4731 support_perl=yes
4732 support_xdbe=yes
4746 codesets=all 4733 codesets=all
4747 fi 4734 fi
4748 4735
4749fi 4736fi
4750 4737
4751 4738
4752ASSERTIONS=no 4739support_assertions=no
4753# Check whether --enable-assert was given. 4740# Check whether --enable-assert was given.
4754if test "${enable_assert+set}" = set; then : 4741if test "${enable_assert+set}" = set; then :
4755 enableval=$enable_assert; if test x$enableval = xyes; then 4742 enableval=$enable_assert; if test x$enableval = xyes; then
4756 ASSERTIONS=yes 4743 support_assertions=yes
4757 fi 4744 fi
4758fi 4745fi
4759 4746
4760if test x$ASSERTIONS = xno; then 4747if test x$support_assertions = xno; then
4761 4748
4762$as_echo "#define NDEBUG 1" >>confdefs.h 4749$as_echo "#define NDEBUG 1" >>confdefs.h
4763 4750
4764fi 4751fi
4765 4752
4766WARNINGS=no 4753support_warnings=no
4767# Check whether --enable-warnings was given. 4754# Check whether --enable-warnings was given.
4768if test "${enable_warnings+set}" = set; then : 4755if test "${enable_warnings+set}" = set; then :
4769 enableval=$enable_warnings; if test x$enableval = xyes; then 4756 enableval=$enable_warnings; if test x$enableval = xyes; then
4770 WARNINGS=yes 4757 support_warnings=yes
4771 fi 4758 fi
4772fi 4759fi
4773 4760
4774if test x$GXX = xyes; then 4761if test x$GXX = xyes; then
4775 if test $WARNINGS = yes; then 4762 if test $support_warnings = yes; then
4776 save_CXXFLAGS="$CXXFLAGS" 4763 save_CXXFLAGS="$CXXFLAGS"
4777 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" 4764 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value"
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779/* end confdefs.h. */ 4766/* end confdefs.h. */
4780 4767
4781int 4768int
4782main () 4769main ()
4841 support_styles=$enableval 4828 support_styles=$enableval
4842 fi 4829 fi
4843fi 4830fi
4844 4831
4845 4832
4846# Check whether --enable-afterimage was given.
4847if test "${enable_afterimage+set}" = set; then :
4848 enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then
4849 support_afterimage=$enableval
4850 fi
4851fi
4852
4853
4854
4855# Check whether --with-afterimage_config was given.
4856if test "${with_afterimage_config+set}" = set; then :
4857 withval=$with_afterimage_config; if test "x$withval" != x; then
4858 afterimage_config=$withval/afterimage-config
4859 fi
4860fi
4861
4862
4863# Check whether --enable-pixbuf was given. 4833# Check whether --enable-pixbuf was given.
4864if test "${enable_pixbuf+set}" = set; then : 4834if test "${enable_pixbuf+set}" = set; then :
4865 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then 4835 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then
4866 support_pixbuf=$enableval 4836 support_pixbuf=$enableval
4837 fi
4838fi
4839
4840
4841# Check whether --enable-startup-notification was given.
4842if test "${enable_startup_notification+set}" = set; then :
4843 enableval=$enable_startup_notification; if test x$enableval = xyes -o x$enableval = xno; then
4844 support_startup_notification=$enableval
4867 fi 4845 fi
4868fi 4846fi
4869 4847
4870 4848
4871# Check whether --enable-transparency was given. 4849# Check whether --enable-transparency was given.
5133 5111
5134cat >>confdefs.h <<_ACEOF 5112cat >>confdefs.h <<_ACEOF
5135#define RXVT_TERMINFO "$withval" 5113#define RXVT_TERMINFO "$withval"
5136_ACEOF 5114_ACEOF
5137 terminfo="$withval" 5115 terminfo="$withval"
5116 fi
5117fi
5118
5119
5120# Check whether --enable-xdbe was given.
5121if test "${enable_xdbe+set}" = set; then :
5122 enableval=$enable_xdbe; if test x$enableval = xyes -o x$enableval = xno; then
5123 support_xdbe=$enableval
5138 fi 5124 fi
5139fi 5125fi
5140 5126
5141 5127
5142 5128
5148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5134ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5135ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5150{ $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
5151$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 5137$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5152if test -z "$CXXCPP"; then 5138if test -z "$CXXCPP"; then
5153 if ${ac_cv_prog_CXXCPP+:} false; then : 5139 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
5154 $as_echo_n "(cached) " >&6 5140 $as_echo_n "(cached) " >&6
5155else 5141else
5156 # Double quotes because CXXCPP needs to be expanded 5142 # Double quotes because CXXCPP needs to be expanded
5157 for CXXCPP in "$CXX -E" "/lib/cpp" 5143 for CXXCPP in "$CXX -E" "/lib/cpp"
5158 do 5144 do
5264 5250
5265else 5251else
5266 { { $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
5267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5253$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5268as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 5254as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5269See \`config.log' for more details" "$LINENO" 5; } 5255See \`config.log' for more details" "$LINENO" 5 ; }
5270fi 5256fi
5271 5257
5272ac_ext=cpp 5258ac_ext=cpp
5273ac_cpp='$CXXCPP $CPPFLAGS' 5259ac_cpp='$CXXCPP $CPPFLAGS'
5274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5260ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5304 5290
5305 5291
5306for ac_func in clock_gettime 5292for ac_func in clock_gettime
5307do : 5293do :
5308 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"
5309if test "x$ac_cv_func_clock_gettime" = xyes; then : 5295if test "x$ac_cv_func_clock_gettime" = x""yes; then :
5310 cat >>confdefs.h <<_ACEOF 5296 cat >>confdefs.h <<_ACEOF
5311#define HAVE_CLOCK_GETTIME 1 5297#define HAVE_CLOCK_GETTIME 1
5312_ACEOF 5298_ACEOF
5313 5299
5314else 5300else
5344 conftest$ac_exeext conftest.$ac_ext 5330 conftest$ac_exeext conftest.$ac_ext
5345 fi 5331 fi
5346 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
5347 { $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
5348$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 5334$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
5349if ${ac_cv_lib_rt_clock_gettime+:} false; then : 5335if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
5350 $as_echo_n "(cached) " >&6 5336 $as_echo_n "(cached) " >&6
5351else 5337else
5352 ac_check_lib_save_LIBS=$LIBS 5338 ac_check_lib_save_LIBS=$LIBS
5353LIBS="-lrt $LIBS" 5339LIBS="-lrt $LIBS"
5354cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 conftest$ac_exeext conftest.$ac_ext 5364 conftest$ac_exeext conftest.$ac_ext
5379LIBS=$ac_check_lib_save_LIBS 5365LIBS=$ac_check_lib_save_LIBS
5380fi 5366fi
5381{ $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
5382$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 5368$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
5383if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : 5369if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
5384 cat >>confdefs.h <<_ACEOF 5370 cat >>confdefs.h <<_ACEOF
5385#define HAVE_LIBRT 1 5371#define HAVE_LIBRT 1
5386_ACEOF 5372_ACEOF
5387 5373
5388 LIBS="-lrt $LIBS" 5374 LIBS="-lrt $LIBS"
5391 5377
5392 unset ac_cv_func_clock_gettime 5378 unset ac_cv_func_clock_gettime
5393 for ac_func in clock_gettime 5379 for ac_func in clock_gettime
5394do : 5380do :
5395 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"
5396if test "x$ac_cv_func_clock_gettime" = xyes; then : 5382if test "x$ac_cv_func_clock_gettime" = x""yes; then :
5397 cat >>confdefs.h <<_ACEOF 5383 cat >>confdefs.h <<_ACEOF
5398#define HAVE_CLOCK_GETTIME 1 5384#define HAVE_CLOCK_GETTIME 1
5399_ACEOF 5385_ACEOF
5400 5386
5401fi 5387fi
5408 5394
5409 5395
5410for ac_func in nanosleep 5396for ac_func in nanosleep
5411do : 5397do :
5412 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 5398 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5413if test "x$ac_cv_func_nanosleep" = xyes; then : 5399if test "x$ac_cv_func_nanosleep" = x""yes; then :
5414 cat >>confdefs.h <<_ACEOF 5400 cat >>confdefs.h <<_ACEOF
5415#define HAVE_NANOSLEEP 1 5401#define HAVE_NANOSLEEP 1
5416_ACEOF 5402_ACEOF
5417 5403
5418else 5404else
5419 5405
5420 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 5406 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5421 { $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
5422$as_echo_n "checking for nanosleep in -lrt... " >&6; } 5408$as_echo_n "checking for nanosleep in -lrt... " >&6; }
5423if ${ac_cv_lib_rt_nanosleep+:} false; then : 5409if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
5424 $as_echo_n "(cached) " >&6 5410 $as_echo_n "(cached) " >&6
5425else 5411else
5426 ac_check_lib_save_LIBS=$LIBS 5412 ac_check_lib_save_LIBS=$LIBS
5427LIBS="-lrt $LIBS" 5413LIBS="-lrt $LIBS"
5428cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5414cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 conftest$ac_exeext conftest.$ac_ext 5438 conftest$ac_exeext conftest.$ac_ext
5453LIBS=$ac_check_lib_save_LIBS 5439LIBS=$ac_check_lib_save_LIBS
5454fi 5440fi
5455{ $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
5456$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 5442$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
5457if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : 5443if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
5458 cat >>confdefs.h <<_ACEOF 5444 cat >>confdefs.h <<_ACEOF
5459#define HAVE_LIBRT 1 5445#define HAVE_LIBRT 1
5460_ACEOF 5446_ACEOF
5461 5447
5462 LIBS="-lrt $LIBS" 5448 LIBS="-lrt $LIBS"
5465 5451
5466 unset ac_cv_func_nanosleep 5452 unset ac_cv_func_nanosleep
5467 for ac_func in nanosleep 5453 for ac_func in nanosleep
5468do : 5454do :
5469 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 5455 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5470if test "x$ac_cv_func_nanosleep" = xyes; then : 5456if test "x$ac_cv_func_nanosleep" = x""yes; then :
5471 cat >>confdefs.h <<_ACEOF 5457 cat >>confdefs.h <<_ACEOF
5472#define HAVE_NANOSLEEP 1 5458#define HAVE_NANOSLEEP 1
5473_ACEOF 5459_ACEOF
5474 5460
5475fi 5461fi
5484if test -z "$LIBEV_M4_AVOID_LIBM"; then 5470if test -z "$LIBEV_M4_AVOID_LIBM"; then
5485 LIBM=m 5471 LIBM=m
5486fi 5472fi
5487{ $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
5488$as_echo_n "checking for library containing floor... " >&6; } 5474$as_echo_n "checking for library containing floor... " >&6; }
5489if ${ac_cv_search_floor+:} false; then : 5475if test "${ac_cv_search_floor+set}" = set; then :
5490 $as_echo_n "(cached) " >&6 5476 $as_echo_n "(cached) " >&6
5491else 5477else
5492 ac_func_search_save_LIBS=$LIBS 5478 ac_func_search_save_LIBS=$LIBS
5493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494/* end confdefs.h. */ 5480/* end confdefs.h. */
5518 if ac_fn_cxx_try_link "$LINENO"; then : 5504 if ac_fn_cxx_try_link "$LINENO"; then :
5519 ac_cv_search_floor=$ac_res 5505 ac_cv_search_floor=$ac_res
5520fi 5506fi
5521rm -f core conftest.err conftest.$ac_objext \ 5507rm -f core conftest.err conftest.$ac_objext \
5522 conftest$ac_exeext 5508 conftest$ac_exeext
5523 if ${ac_cv_search_floor+:} false; then : 5509 if test "${ac_cv_search_floor+set}" = set; then :
5524 break 5510 break
5525fi 5511fi
5526done 5512done
5527if ${ac_cv_search_floor+:} false; then : 5513if test "${ac_cv_search_floor+set}" = set; then :
5528 5514
5529else 5515else
5530 ac_cv_search_floor=no 5516 ac_cv_search_floor=no
5531fi 5517fi
5532rm conftest.$ac_ext 5518rm conftest.$ac_ext
5548 5534
5549# 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.
5550set dummy tic; ac_word=$2 5536set dummy tic; ac_word=$2
5551{ $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
5552$as_echo_n "checking for $ac_word... " >&6; } 5538$as_echo_n "checking for $ac_word... " >&6; }
5553if ${ac_cv_path_TIC+:} false; then : 5539if test "${ac_cv_path_TIC+set}" = set; then :
5554 $as_echo_n "(cached) " >&6 5540 $as_echo_n "(cached) " >&6
5555else 5541else
5556 case $TIC in 5542 case $TIC in
5557 [\\/]* | ?:[\\/]*) 5543 [\\/]* | ?:[\\/]*)
5558 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.
5601if test "x$with_x" = xno; then 5587if test "x$with_x" = xno; then
5602 # The user explicitly disabled X. 5588 # The user explicitly disabled X.
5603 have_x=disabled 5589 have_x=disabled
5604else 5590else
5605 case $x_includes,$x_libraries in #( 5591 case $x_includes,$x_libraries in #(
5606 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 5592 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
5607 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 5593 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
5608 $as_echo_n "(cached) " >&6 5594 $as_echo_n "(cached) " >&6
5609else 5595else
5610 # 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.
5611ac_x_includes=no ac_x_libraries=no 5597ac_x_includes=no ac_x_libraries=no
5612rm -f -r conftest.dir 5598rm -f -r conftest.dir
5879if ac_fn_cxx_try_link "$LINENO"; then : 5865if ac_fn_cxx_try_link "$LINENO"; then :
5880 5866
5881else 5867else
5882 { $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
5883$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 5869$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5884if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 5870if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
5885 $as_echo_n "(cached) " >&6 5871 $as_echo_n "(cached) " >&6
5886else 5872else
5887 ac_check_lib_save_LIBS=$LIBS 5873 ac_check_lib_save_LIBS=$LIBS
5888LIBS="-ldnet $LIBS" 5874LIBS="-ldnet $LIBS"
5889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 conftest$ac_exeext conftest.$ac_ext 5899 conftest$ac_exeext conftest.$ac_ext
5914LIBS=$ac_check_lib_save_LIBS 5900LIBS=$ac_check_lib_save_LIBS
5915fi 5901fi
5916{ $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
5917$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 5903$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5918if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 5904if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
5919 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 5905 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5920fi 5906fi
5921 5907
5922 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 5908 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5924$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 5910$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5925if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 5911if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
5926 $as_echo_n "(cached) " >&6 5912 $as_echo_n "(cached) " >&6
5927else 5913else
5928 ac_check_lib_save_LIBS=$LIBS 5914 ac_check_lib_save_LIBS=$LIBS
5929LIBS="-ldnet_stub $LIBS" 5915LIBS="-ldnet_stub $LIBS"
5930cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5916cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954 conftest$ac_exeext conftest.$ac_ext 5940 conftest$ac_exeext conftest.$ac_ext
5955LIBS=$ac_check_lib_save_LIBS 5941LIBS=$ac_check_lib_save_LIBS
5956fi 5942fi
5957{ $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
5958$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 5944$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5959if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 5945if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
5960 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 5946 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5961fi 5947fi
5962 5948
5963 fi 5949 fi
5964fi 5950fi
5973 # The nsl library prevents programs from opening the X display 5959 # The nsl library prevents programs from opening the X display
5974 # on Irix 5.2, according to T.E. Dickey. 5960 # on Irix 5.2, according to T.E. Dickey.
5975 # The functions gethostbyname, getservbyname, and inet_addr are 5961 # The functions gethostbyname, getservbyname, and inet_addr are
5976 # 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.
5977 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 5963 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5978if test "x$ac_cv_func_gethostbyname" = xyes; then : 5964if test "x$ac_cv_func_gethostbyname" = x""yes; then :
5979 5965
5980fi 5966fi
5981 5967
5982 if test $ac_cv_func_gethostbyname = no; then 5968 if test $ac_cv_func_gethostbyname = no; then
5983 { $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
5984$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 5970$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5985if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 5971if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
5986 $as_echo_n "(cached) " >&6 5972 $as_echo_n "(cached) " >&6
5987else 5973else
5988 ac_check_lib_save_LIBS=$LIBS 5974 ac_check_lib_save_LIBS=$LIBS
5989LIBS="-lnsl $LIBS" 5975LIBS="-lnsl $LIBS"
5990cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5976cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6014 conftest$ac_exeext conftest.$ac_ext 6000 conftest$ac_exeext conftest.$ac_ext
6015LIBS=$ac_check_lib_save_LIBS 6001LIBS=$ac_check_lib_save_LIBS
6016fi 6002fi
6017{ $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
6018$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 6004$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
6019if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 6005if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
6020 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 6006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
6021fi 6007fi
6022 6008
6023 if test $ac_cv_lib_nsl_gethostbyname = no; then 6009 if test $ac_cv_lib_nsl_gethostbyname = no; then
6024 { $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
6025$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 6011$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
6026if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 6012if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
6027 $as_echo_n "(cached) " >&6 6013 $as_echo_n "(cached) " >&6
6028else 6014else
6029 ac_check_lib_save_LIBS=$LIBS 6015 ac_check_lib_save_LIBS=$LIBS
6030LIBS="-lbsd $LIBS" 6016LIBS="-lbsd $LIBS"
6031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6055 conftest$ac_exeext conftest.$ac_ext 6041 conftest$ac_exeext conftest.$ac_ext
6056LIBS=$ac_check_lib_save_LIBS 6042LIBS=$ac_check_lib_save_LIBS
6057fi 6043fi
6058{ $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
6059$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 6045$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
6060if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 6046if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
6061 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 6047 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
6062fi 6048fi
6063 6049
6064 fi 6050 fi
6065 fi 6051 fi
6070 # on later versions), says Simon Leinen: it contains gethostby* 6056 # on later versions), says Simon Leinen: it contains gethostby*
6071 # variants that don't use the name server (or something). -lsocket 6057 # variants that don't use the name server (or something). -lsocket
6072 # 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
6073 # if connect needs -lnsl, so does gethostbyname. 6059 # if connect needs -lnsl, so does gethostbyname.
6074 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" 6060 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect"
6075if test "x$ac_cv_func_connect" = xyes; then : 6061if test "x$ac_cv_func_connect" = x""yes; then :
6076 6062
6077fi 6063fi
6078 6064
6079 if test $ac_cv_func_connect = no; then 6065 if test $ac_cv_func_connect = no; then
6080 { $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
6081$as_echo_n "checking for connect in -lsocket... " >&6; } 6067$as_echo_n "checking for connect in -lsocket... " >&6; }
6082if ${ac_cv_lib_socket_connect+:} false; then : 6068if test "${ac_cv_lib_socket_connect+set}" = set; then :
6083 $as_echo_n "(cached) " >&6 6069 $as_echo_n "(cached) " >&6
6084else 6070else
6085 ac_check_lib_save_LIBS=$LIBS 6071 ac_check_lib_save_LIBS=$LIBS
6086LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 6072LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
6087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6073cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111 conftest$ac_exeext conftest.$ac_ext 6097 conftest$ac_exeext conftest.$ac_ext
6112LIBS=$ac_check_lib_save_LIBS 6098LIBS=$ac_check_lib_save_LIBS
6113fi 6099fi
6114{ $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
6115$as_echo "$ac_cv_lib_socket_connect" >&6; } 6101$as_echo "$ac_cv_lib_socket_connect" >&6; }
6116if test "x$ac_cv_lib_socket_connect" = xyes; then : 6102if test "x$ac_cv_lib_socket_connect" = x""yes; then :
6117 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 6103 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
6118fi 6104fi
6119 6105
6120 fi 6106 fi
6121 6107
6122 # Guillermo Gomez says -lposix is necessary on A/UX. 6108 # Guillermo Gomez says -lposix is necessary on A/UX.
6123 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" 6109 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove"
6124if test "x$ac_cv_func_remove" = xyes; then : 6110if test "x$ac_cv_func_remove" = x""yes; then :
6125 6111
6126fi 6112fi
6127 6113
6128 if test $ac_cv_func_remove = no; then 6114 if test $ac_cv_func_remove = no; then
6129 { $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
6130$as_echo_n "checking for remove in -lposix... " >&6; } 6116$as_echo_n "checking for remove in -lposix... " >&6; }
6131if ${ac_cv_lib_posix_remove+:} false; then : 6117if test "${ac_cv_lib_posix_remove+set}" = set; then :
6132 $as_echo_n "(cached) " >&6 6118 $as_echo_n "(cached) " >&6
6133else 6119else
6134 ac_check_lib_save_LIBS=$LIBS 6120 ac_check_lib_save_LIBS=$LIBS
6135LIBS="-lposix $LIBS" 6121LIBS="-lposix $LIBS"
6136cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6160 conftest$ac_exeext conftest.$ac_ext 6146 conftest$ac_exeext conftest.$ac_ext
6161LIBS=$ac_check_lib_save_LIBS 6147LIBS=$ac_check_lib_save_LIBS
6162fi 6148fi
6163{ $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
6164$as_echo "$ac_cv_lib_posix_remove" >&6; } 6150$as_echo "$ac_cv_lib_posix_remove" >&6; }
6165if test "x$ac_cv_lib_posix_remove" = xyes; then : 6151if test "x$ac_cv_lib_posix_remove" = x""yes; then :
6166 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 6152 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6167fi 6153fi
6168 6154
6169 fi 6155 fi
6170 6156
6171 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6157 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6172 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 6158 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
6173if test "x$ac_cv_func_shmat" = xyes; then : 6159if test "x$ac_cv_func_shmat" = x""yes; then :
6174 6160
6175fi 6161fi
6176 6162
6177 if test $ac_cv_func_shmat = no; then 6163 if test $ac_cv_func_shmat = no; then
6178 { $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
6179$as_echo_n "checking for shmat in -lipc... " >&6; } 6165$as_echo_n "checking for shmat in -lipc... " >&6; }
6180if ${ac_cv_lib_ipc_shmat+:} false; then : 6166if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
6181 $as_echo_n "(cached) " >&6 6167 $as_echo_n "(cached) " >&6
6182else 6168else
6183 ac_check_lib_save_LIBS=$LIBS 6169 ac_check_lib_save_LIBS=$LIBS
6184LIBS="-lipc $LIBS" 6170LIBS="-lipc $LIBS"
6185cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6171cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6209 conftest$ac_exeext conftest.$ac_ext 6195 conftest$ac_exeext conftest.$ac_ext
6210LIBS=$ac_check_lib_save_LIBS 6196LIBS=$ac_check_lib_save_LIBS
6211fi 6197fi
6212{ $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
6213$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 6199$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
6214if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 6200if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
6215 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 6201 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
6216fi 6202fi
6217 6203
6218 fi 6204 fi
6219 fi 6205 fi
6227 # These have to be linked with before -lX11, unlike the other 6213 # These have to be linked with before -lX11, unlike the other
6228 # libraries we check for below, so use a different variable. 6214 # libraries we check for below, so use a different variable.
6229 # John Interrante, Karl Berry 6215 # John Interrante, Karl Berry
6230 { $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
6231$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 6217$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
6232if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 6218if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
6233 $as_echo_n "(cached) " >&6 6219 $as_echo_n "(cached) " >&6
6234else 6220else
6235 ac_check_lib_save_LIBS=$LIBS 6221 ac_check_lib_save_LIBS=$LIBS
6236LIBS="-lICE $X_EXTRA_LIBS $LIBS" 6222LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6237cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6223cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 conftest$ac_exeext conftest.$ac_ext 6247 conftest$ac_exeext conftest.$ac_ext
6262LIBS=$ac_check_lib_save_LIBS 6248LIBS=$ac_check_lib_save_LIBS
6263fi 6249fi
6264{ $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
6265$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 6251$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6266if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 6252if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
6267 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 6253 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
6268fi 6254fi
6269 6255
6270 LDFLAGS=$ac_save_LDFLAGS 6256 LDFLAGS=$ac_save_LDFLAGS
6271 6257
6272fi 6258fi
6273 6259
6274 6260
6275image_lib=none 6261STARTUP_NOTIFICATION_CFLAGS=
6262STARTUP_NOTIFICATION_LIBS=
6276 6263
6277PIXBUF_CFLAGS=
6278PIXBUF_LIBS=
6279
6280if test x$support_pixbuf = xyes; then 6264if test x$support_startup_notification = xyes; then
6281 support_pixbuf=no 6265 support_startup_notification=no
6282 # 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.
6283set dummy pkg-config; ac_word=$2 6267set dummy pkg-config; ac_word=$2
6284{ $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
6285$as_echo_n "checking for $ac_word... " >&6; } 6269$as_echo_n "checking for $ac_word... " >&6; }
6286if ${ac_cv_path_PKG_CONFIG+:} false; then : 6270if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6287 $as_echo_n "(cached) " >&6 6271 $as_echo_n "(cached) " >&6
6288else 6272else
6289 case $PKG_CONFIG in 6273 case $PKG_CONFIG in
6290 [\\/]* | ?:[\\/]*) 6274 [\\/]* | ?:[\\/]*)
6291 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.
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319$as_echo "no" >&6; } 6303$as_echo "no" >&6; }
6320fi 6304fi
6321 6305
6322 6306
6323 { $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
6324$as_echo_n "checking for gdk-pixbuf... " >&6; } 6308$as_echo_n "checking for libstartup-notification... " >&6; }
6325 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
6326 PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" 6310 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`"
6327 PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" 6311 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`"
6328 support_pixbuf=yes 6312 support_startup_notification=yes
6329 fi 6313 fi
6330 6314
6331 if test x$support_pixbuf = xyes; then 6315 if test x$support_startup_notification = xyes; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6333$as_echo "ok" >&6; } 6317$as_echo "ok" >&6; }
6334 image_lib=gdk-pixbuf
6335 support_afterimage=no
6336 6318
6337$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h 6319$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h
6338
6339
6340$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
6341 6320
6342 else 6321 else
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6344$as_echo "no" >&6; } 6323$as_echo "no" >&6; }
6345 fi
6346fi
6347
6348
6349
6350
6351AFTERIMAGE_CFLAGS=
6352AFTERIMAGE_LIBS=
6353AFTERIMAGE_VERSION=
6354
6355if test x$support_afterimage = xyes; then
6356 support_afterimage=no
6357
6358 if test "x$afterimage_config" = "x" ; then
6359 # Extract the first word of "afterimage-config", so it can be a program name with args.
6360set dummy afterimage-config; ac_word=$2
6361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362$as_echo_n "checking for $ac_word... " >&6; }
6363if ${ac_cv_path_afterimage_config+:} false; then :
6364 $as_echo_n "(cached) " >&6
6365else
6366 case $afterimage_config in
6367 [\\/]* | ?:[\\/]*)
6368 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6369 ;;
6370 *)
6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372for as_dir in $PATH
6373do
6374 IFS=$as_save_IFS
6375 test -z "$as_dir" && as_dir=.
6376 for ac_exec_ext in '' $ac_executable_extensions; do
6377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6378 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
6379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380 break 2
6381 fi
6382done
6383 done
6384IFS=$as_save_IFS
6385
6386 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
6387 ;;
6388esac
6389fi
6390afterimage_config=$ac_cv_path_afterimage_config
6391if test -n "$afterimage_config"; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $afterimage_config" >&5
6393$as_echo "$afterimage_config" >&6; }
6394else
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6396$as_echo "no" >&6; }
6397fi
6398
6399
6400 fi
6401 if test "x$afterimage_config" != "xno" ; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5
6403$as_echo_n "checking for libAfterImage version >= 1.15... " >&6; }
6404 xAFTERIMAGE_VERSION=`$afterimage_config --version`
6405 if test -n "$xAFTERIMAGE_VERSION" ; then
6406 xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6407 xAFTERIMAGE_LIBS=`$afterimage_config --libs`
6408 if test "x$xAFTERIMAGE_LIBS" != "x"; then
6409 libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .`
6410 libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .`
6411 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
6412 support_afterimage=yes
6413 AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS"
6414 AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS"
6415 AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION"
6416 fi
6417 fi
6418 fi
6419 if test "x$support_afterimage" = "xyes"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5
6421$as_echo "$AFTERIMAGE_LIBS" >&6; }
6422 image_lib=libafterimage
6423
6424$as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h
6425
6426
6427$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
6428
6429 else
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6431$as_echo "no" >&6; }
6432 fi
6433 fi 6324 fi
6434fi 6325fi
6435 6326
6436 6327
6437 6328
6441 sys/ioctl.h \ 6332 sys/ioctl.h \
6442 sys/sockio.h \ 6333 sys/sockio.h \
6443 sys/strredir.h \ 6334 sys/strredir.h \
6444 stdint.h \ 6335 stdint.h \
6445 wchar.h \ 6336 wchar.h \
6446 cwchar \
6447 6337
6448do : 6338do :
6449 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6450ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6340ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6451if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6341if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6458done 6348done
6459 6349
6460 6350
6461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 6351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5
6462$as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } 6352$as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; }
6463if ${rxvt_cv_xlib_illegal_access+:} false; then : 6353if test "${rxvt_cv_xlib_illegal_access+set}" = set; then :
6464 $as_echo_n "(cached) " >&6 6354 $as_echo_n "(cached) " >&6
6465else 6355else
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467/* end confdefs.h. */ 6357/* end confdefs.h. */
6468 6358
6495$as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h 6385$as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h
6496 6386
6497fi 6387fi
6498 6388
6499ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 6389ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
6500if test "x$ac_cv_type_mode_t" = xyes; then : 6390if test "x$ac_cv_type_mode_t" = x""yes; then :
6501 6391
6502else 6392else
6503 6393
6504cat >>confdefs.h <<_ACEOF 6394cat >>confdefs.h <<_ACEOF
6505#define mode_t int 6395#define mode_t int
6506_ACEOF 6396_ACEOF
6507 6397
6508fi 6398fi
6509 6399
6510ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 6400ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6511if test "x$ac_cv_type_pid_t" = xyes; then : 6401if test "x$ac_cv_type_pid_t" = x""yes; then :
6512 6402
6513else 6403else
6514 6404
6515cat >>confdefs.h <<_ACEOF 6405cat >>confdefs.h <<_ACEOF
6516#define pid_t int 6406#define pid_t int
6518 6408
6519fi 6409fi
6520 6410
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 6411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6522$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 6412$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6523if ${ac_cv_type_uid_t+:} false; then : 6413if test "${ac_cv_type_uid_t+set}" = set; then :
6524 $as_echo_n "(cached) " >&6 6414 $as_echo_n "(cached) " >&6
6525else 6415else
6526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6527/* end confdefs.h. */ 6417/* end confdefs.h. */
6528#include <sys/types.h> 6418#include <sys/types.h>
6598 6488
6599 6489
6600for ac_func in unsetenv 6490for ac_func in unsetenv
6601do : 6491do :
6602 ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" 6492 ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
6603if test "x$ac_cv_func_unsetenv" = xyes; then : 6493if test "x$ac_cv_func_unsetenv" = x""yes; then :
6604 cat >>confdefs.h <<_ACEOF 6494 cat >>confdefs.h <<_ACEOF
6605#define HAVE_UNSETENV 1 6495#define HAVE_UNSETENV 1
6606_ACEOF 6496_ACEOF
6607 6497
6608fi 6498fi
6672 6562
6673 6563
6674for ac_header in lastlog.h 6564for ac_header in lastlog.h
6675do : 6565do :
6676 ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" 6566 ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default"
6677if test "x$ac_cv_header_lastlog_h" = xyes; then : 6567if test "x$ac_cv_header_lastlog_h" = x""yes; then :
6678 cat >>confdefs.h <<_ACEOF 6568 cat >>confdefs.h <<_ACEOF
6679#define HAVE_LASTLOG_H 1 6569#define HAVE_LASTLOG_H 1
6680_ACEOF 6570_ACEOF
6681 6571
6682fi 6572fi
6683 6573
6684done 6574done
6685 6575
6576
6577case $host in
6578 *-*-solaris*)
6579
6580$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
6581
6582 ;;
6583esac
6686 6584
6687 6585
6688for ac_header in utmp.h 6586for ac_header in utmp.h
6689do : 6587do :
6690 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" 6588 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default"
6691if test "x$ac_cv_header_utmp_h" = xyes; then : 6589if test "x$ac_cv_header_utmp_h" = x""yes; then :
6692 cat >>confdefs.h <<_ACEOF 6590 cat >>confdefs.h <<_ACEOF
6693#define HAVE_UTMP_H 1 6591#define HAVE_UTMP_H 1
6694_ACEOF 6592_ACEOF
6695 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " 6593 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" "
6696#include <sys/types.h> 6594#include <sys/types.h>
6697#include <utmp.h> 6595#include <utmp.h>
6698 6596
6699" 6597"
6700if test "x$ac_cv_type_struct_utmp" = xyes; then : 6598if test "x$ac_cv_type_struct_utmp" = x""yes; then :
6701 6599
6702cat >>confdefs.h <<_ACEOF 6600cat >>confdefs.h <<_ACEOF
6703#define HAVE_STRUCT_UTMP 1 6601#define HAVE_STRUCT_UTMP 1
6704_ACEOF 6602_ACEOF
6705 6603
6715ac_fn_cxx_check_member () 6613ac_fn_cxx_check_member ()
6716{ 6614{
6717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
6719$as_echo_n "checking for $2.$3... " >&6; } 6617$as_echo_n "checking for $2.$3... " >&6; }
6720if eval \${$4+:} false; then : 6618if eval "test \"\${$4+set}\"" = set; then :
6721 $as_echo_n "(cached) " >&6 6619 $as_echo_n "(cached) " >&6
6722else 6620else
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724/* end confdefs.h. */ 6622/* end confdefs.h. */
6725$5 6623$5
6759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6760fi 6658fi
6761eval ac_res=\$$4 6659eval ac_res=\$$4
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6763$as_echo "$ac_res" >&6; } 6661$as_echo "$ac_res" >&6; }
6764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 6662 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6765 6663
6766} # ac_fn_cxx_check_member 6664} # ac_fn_cxx_check_member
6767ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " 6665ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
6768#include <sys/types.h> 6666#include <sys/types.h>
6769#include <utmp.h> 6667#include <utmp.h>
6770 6668
6771" 6669"
6772if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then : 6670if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then :
6773 6671
6774$as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h 6672$as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h
6775 6673
6776fi 6674fi
6777 6675
6779ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " 6677ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
6780#include <sys/types.h> 6678#include <sys/types.h>
6781#include <utmp.h> 6679#include <utmp.h>
6782 6680
6783" 6681"
6784if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then : 6682if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then :
6785 6683
6786$as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h 6684$as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h
6787 6685
6788fi 6686fi
6789 6687
6794 6692
6795 6693
6796for ac_header in utmpx.h 6694for ac_header in utmpx.h
6797do : 6695do :
6798 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" 6696 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default"
6799if test "x$ac_cv_header_utmpx_h" = xyes; then : 6697if test "x$ac_cv_header_utmpx_h" = x""yes; then :
6800 cat >>confdefs.h <<_ACEOF 6698 cat >>confdefs.h <<_ACEOF
6801#define HAVE_UTMPX_H 1 6699#define HAVE_UTMPX_H 1
6802_ACEOF 6700_ACEOF
6803 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " 6701 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" "
6804#include <sys/types.h> 6702#include <sys/types.h>
6805#include <utmpx.h> 6703#include <utmpx.h>
6806 6704
6807" 6705"
6808if test "x$ac_cv_type_struct_utmpx" = xyes; then : 6706if test "x$ac_cv_type_struct_utmpx" = x""yes; then :
6809 6707
6810cat >>confdefs.h <<_ACEOF 6708cat >>confdefs.h <<_ACEOF
6811#define HAVE_STRUCT_UTMPX 1 6709#define HAVE_STRUCT_UTMPX 1
6812_ACEOF 6710_ACEOF
6813 6711
6818ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " 6716ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" "
6819#include <sys/types.h> 6717#include <sys/types.h>
6820#include <utmpx.h> 6718#include <utmpx.h>
6821 6719
6822" 6720"
6823if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : 6721if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then :
6824 6722
6825$as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h 6723$as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h
6826
6827fi
6828
6829
6830ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" "
6831#include <sys/types.h>
6832#include <utmpx.h>
6833
6834"
6835if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then :
6836
6837$as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h
6838 6724
6839fi 6725fi
6840 6726
6841 6727
6842fi 6728fi
6849#ifdef HAVE_LASTLOG_H 6735#ifdef HAVE_LASTLOG_H
6850#include <lastlog.h> 6736#include <lastlog.h>
6851#endif 6737#endif
6852 6738
6853" 6739"
6854if test "x$ac_cv_type_struct_lastlog" = xyes; then : 6740if test "x$ac_cv_type_struct_lastlog" = x""yes; then :
6855 6741
6856cat >>confdefs.h <<_ACEOF 6742cat >>confdefs.h <<_ACEOF
6857#define HAVE_STRUCT_LASTLOG 1 6743#define HAVE_STRUCT_LASTLOG 1
6858_ACEOF 6744_ACEOF
6859 6745
6867#ifdef HAVE_LASTLOG_H 6753#ifdef HAVE_LASTLOG_H
6868#include <lastlog.h> 6754#include <lastlog.h>
6869#endif 6755#endif
6870 6756
6871" 6757"
6872if test "x$ac_cv_type_struct_lastlogx" = xyes; then : 6758if test "x$ac_cv_type_struct_lastlogx" = x""yes; then :
6873 6759
6874cat >>confdefs.h <<_ACEOF 6760cat >>confdefs.h <<_ACEOF
6875#define HAVE_STRUCT_LASTLOGX 1 6761#define HAVE_STRUCT_LASTLOGX 1
6876_ACEOF 6762_ACEOF
6877 6763
6878 6764
6879fi 6765fi
6880 6766
6881 6767
6882 6768
6883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where utmp is located" >&5 6769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5
6884$as_echo_n "checking where utmp is located... " >&6; } 6770$as_echo_n "checking for a fallback location of utmp... " >&6; }
6885if ${pt_cv_path_utmp+:} false; then : 6771if test "${pt_cv_path_utmp+set}" = set; then :
6886 $as_echo_n "(cached) " >&6 6772 $as_echo_n "(cached) " >&6
6887else 6773else
6774
6888 if test "$cross_compiling" = yes; then : 6775if test "$cross_compiling" != yes; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define UTMP_FILE in config.h manually" >&5
6890$as_echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
6891else
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893/* end confdefs.h. */
6894#include <stdio.h>
6895#include <stdlib.h>
6896#include <sys/stat.h>
6897
6898#include <sys/types.h>
6899#include <utmp.h>
6900
6901int main()
6902{
6903 char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; 6776 for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do
6904 FILE *f = fopen("conftestval", "w"); 6777 if test -f "$file"; then
6905 if (!f) return 1;
6906#ifdef UTMP_FILE
6907 fprintf(f, "%s\n", UTMP_FILE);
6908#elif defined(_PATH_UTMP)
6909 fprintf(f, "%s\n", _PATH_UTMP);
6910#else
6911 for (path = list; *path; path++) {
6912 struct stat st;
6913 if (stat(*path, &st) == 0) {
6914 fprintf(f, "%s\n", *path);
6915 break;
6916 }
6917 }
6918#endif
6919 return fclose(f) != 0;
6920}
6921_ACEOF
6922if ac_fn_cxx_try_run "$LINENO"; then :
6923 pt_cv_path_utmp=`cat conftestval`
6924else
6925 pt_cv_path_utmp= 6778 pt_cv_path_utmp=$file
6779 break
6780 fi
6781 done
6926fi 6782fi
6927rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6928 conftest.$ac_objext conftest.beam conftest.$ac_ext
6929fi
6930
6931fi 6783fi
6932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 6784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5
6933$as_echo "$pt_cv_path_utmp" >&6; } 6785$as_echo "$pt_cv_path_utmp" >&6; }
6934if test x$pt_cv_path_utmp != x; then 6786if test x$pt_cv_path_utmp != x; then
6935 6787
6936cat >>confdefs.h <<_ACEOF 6788cat >>confdefs.h <<_ACEOF
6937#define UTMP_FILE "$pt_cv_path_utmp" 6789#define PT_UTMP_FILE "$pt_cv_path_utmp"
6938_ACEOF 6790_ACEOF
6939 6791
6792elif 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;}
6940fi 6795fi
6941 6796
6942 6797
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmp is located" >&5 6798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5
6944$as_echo_n "checking where wtmp is located... " >&6; } 6799$as_echo_n "checking for a fallback location of wtmp... " >&6; }
6945if ${pt_cv_path_wtmp+:} false; then : 6800if test "${pt_cv_path_wtmp+set}" = set; then :
6946 $as_echo_n "(cached) " >&6 6801 $as_echo_n "(cached) " >&6
6947else 6802else
6803
6948 if test "$cross_compiling" = yes; then : 6804if test "$cross_compiling" != yes; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMP_FILE in config.h manually" >&5
6950$as_echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
6951else
6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6953/* end confdefs.h. */
6954#include <stdio.h>
6955#include <stdlib.h>
6956#include <sys/stat.h>
6957
6958#include <sys/types.h>
6959#ifdef HAVE_UTMP_H
6960#include <utmp.h>
6961#endif
6962
6963int main()
6964{
6965 char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; 6805 for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do
6966 FILE *f = fopen("conftestval", "w"); 6806 if test -f "$file"; then
6967 if (!f) return 1;
6968#ifdef WTMP_FILE
6969 fprintf(f, "%s\n", WTMP_FILE);
6970#elif defined(_PATH_WTMP)
6971 fprintf(f, "%s\n", _PATH_WTMP);
6972#else
6973 for (path = list; *path; path++) {
6974 struct stat st;
6975 if (stat(*path, &st) == 0) {
6976 fprintf(f, "%s\n", *path);
6977 break;
6978 }
6979 }
6980#endif
6981 return fclose(f) != 0;
6982}
6983_ACEOF
6984if ac_fn_cxx_try_run "$LINENO"; then :
6985 pt_cv_path_wtmp=`cat conftestval`
6986else
6987 pt_cv_path_wtmp= 6807 pt_cv_path_wtmp=$file
6808 break
6809 fi
6810 done
6988fi 6811fi
6989rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6990 conftest.$ac_objext conftest.beam conftest.$ac_ext
6991fi
6992
6993fi 6812fi
6994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 6813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5
6995$as_echo "$pt_cv_path_wtmp" >&6; } 6814$as_echo "$pt_cv_path_wtmp" >&6; }
6996if test x$pt_cv_path_wtmp != x; then 6815if test x$pt_cv_path_wtmp != x; then
6997 6816
6998cat >>confdefs.h <<_ACEOF 6817cat >>confdefs.h <<_ACEOF
6999#define WTMP_FILE "$pt_cv_path_wtmp" 6818#define PT_WTMP_FILE "$pt_cv_path_wtmp"
7000_ACEOF 6819_ACEOF
7001 6820
6821elif 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;}
7002fi 6824fi
7003 6825
7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmpx is located" >&5 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5
7005$as_echo_n "checking where wtmpx is located... " >&6; } 6827$as_echo_n "checking for a fallback location of wtmpx... " >&6; }
7006if ${pt_cv_path_wtmpx+:} false; then : 6828if test "${pt_cv_path_wtmpx+set}" = set; then :
7007 $as_echo_n "(cached) " >&6 6829 $as_echo_n "(cached) " >&6
7008else 6830else
6831
7009 if test "$cross_compiling" = yes; then : 6832if test "$cross_compiling" != yes; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMPX_FILE in config.h manually" >&5 6833 for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do
7011$as_echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} 6834 if test -f "$file"; then
7012else
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7014/* end confdefs.h. */
7015#include <stdio.h>
7016#include <stdlib.h>
7017#include <sys/stat.h>
7018
7019#ifdef HAVE_UTMPX_H
7020#include <utmpx.h>
7021#endif
7022
7023int main()
7024{
7025 char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL };
7026 FILE *f = fopen("conftestval", "w");
7027 if (!f) return 1;
7028#ifdef WTMPX_FILE
7029 fprintf(f, "%s\n", WTMPX_FILE);
7030#elif defined(_PATH_WTMPX)
7031 fprintf(f, "%s\n", _PATH_WTMPX);
7032#else
7033 for (path = list; *path; path++) {
7034 struct stat st;
7035 if (stat(*path, &st) == 0) {
7036 fprintf(f, "%s\n", *path);
7037 break;
7038 }
7039 }
7040#endif
7041 return fclose(f) != 0;
7042}
7043_ACEOF
7044if ac_fn_cxx_try_run "$LINENO"; then :
7045 pt_cv_path_wtmpx=`cat conftestval`
7046else
7047 pt_cv_path_wtmpx= 6835 pt_cv_path_wtmpx=$file
6836 break
6837 fi
6838 done
7048fi 6839fi
7049rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7050 conftest.$ac_objext conftest.beam conftest.$ac_ext
7051fi
7052
7053fi 6840fi
7054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 6841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5
7055$as_echo "$pt_cv_path_wtmpx" >&6; } 6842$as_echo "$pt_cv_path_wtmpx" >&6; }
7056if test x$pt_cv_path_wtmpx != x; then 6843if test x$pt_cv_path_wtmpx != x; then
7057 6844
7058cat >>confdefs.h <<_ACEOF 6845cat >>confdefs.h <<_ACEOF
7059#define WTMPX_FILE "$pt_cv_path_wtmpx" 6846#define PT_WTMPX_FILE "$pt_cv_path_wtmpx"
7060_ACEOF 6847_ACEOF
7061 6848
6849elif 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;}
7062fi 6852fi
7063 6853
7064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlog is located" >&5 6854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5
7065$as_echo_n "checking where lastlog is located... " >&6; } 6855$as_echo_n "checking for a fallback location of lastlog... " >&6; }
7066if ${pt_cv_path_lastlog+:} false; then : 6856if test "${pt_cv_path_lastlog+set}" = set; then :
7067 $as_echo_n "(cached) " >&6 6857 $as_echo_n "(cached) " >&6
7068else 6858else
6859
7069 if test "$cross_compiling" = yes; then : 6860if test "$cross_compiling" != yes; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOG_FILE in config.h manually" >&5 6861 for file in "/var/log/lastlog" "/var/adm/lastlog"; do
7071$as_echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} 6862 if test -f "$file"; then
7072else
7073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074/* end confdefs.h. */
7075#include <stdio.h>
7076#include <stdlib.h>
7077#include <sys/stat.h>
7078
7079#include <sys/types.h>
7080#ifdef HAVE_UTMP_H
7081#include <utmp.h>
7082#endif
7083#ifdef HAVE_LASTLOG_H
7084#include <lastlog.h>
7085#endif
7086
7087int main()
7088{
7089 char **path, *list[] = { "/var/log/lastlog", NULL };
7090 FILE *f = fopen("conftestval", "w");
7091 if (!f) return 1;
7092#ifdef LASTLOG_FILE
7093 fprintf(f, "%s\n", LASTLOG_FILE);
7094#elif defined(_PATH_LASTLOG)
7095 fprintf(f, "%s\n", _PATH_LASTLOG);
7096#else
7097 for (path = list; *path; path++) {
7098 struct stat st;
7099 if (stat(*path, &st) == 0) {
7100 fprintf(f, "%s\n", *path);
7101 break;
7102 }
7103 }
7104#endif
7105 return fclose(f) != 0;
7106}
7107_ACEOF
7108if ac_fn_cxx_try_run "$LINENO"; then :
7109 pt_cv_path_lastlog=`cat conftestval`
7110else
7111 pt_cv_path_lastlog= 6863 pt_cv_path_lastlog=$file
6864 break
6865 fi
6866 done
7112fi 6867fi
7113rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7114 conftest.$ac_objext conftest.beam conftest.$ac_ext
7115fi
7116
7117fi 6868fi
7118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 6869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5
7119$as_echo "$pt_cv_path_lastlog" >&6; } 6870$as_echo "$pt_cv_path_lastlog" >&6; }
7120if test x$pt_cv_path_lastlog != x; then 6871if test x$pt_cv_path_lastlog != x; then
7121 6872
7122cat >>confdefs.h <<_ACEOF 6873cat >>confdefs.h <<_ACEOF
7123#define LASTLOG_FILE "$pt_cv_path_lastlog" 6874#define PT_LASTLOG_FILE "$pt_cv_path_lastlog"
7124_ACEOF 6875_ACEOF
7125 6876
6877elif 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;}
7126fi 6880fi
7127 6881
7128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlogx is located" >&5 6882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5
7129$as_echo_n "checking where lastlogx is located... " >&6; } 6883$as_echo_n "checking for a fallback location of lastlogx... " >&6; }
7130if ${pt_cv_path_lastlogx+:} false; then : 6884if test "${pt_cv_path_lastlogx+set}" = set; then :
7131 $as_echo_n "(cached) " >&6 6885 $as_echo_n "(cached) " >&6
7132else 6886else
6887
7133 if test "$cross_compiling" = yes; then : 6888if test "$cross_compiling" != yes; then
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 6889 for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do
7135$as_echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} 6890 if test -f "$file"; then
7136else
7137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7138/* end confdefs.h. */
7139#include <stdio.h>
7140#include <stdlib.h>
7141#include <sys/stat.h>
7142
7143#ifdef HAVE_UTMPX_H
7144#include <utmpx.h>
7145#endif
7146
7147int main()
7148{
7149 char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL };
7150 FILE *f = fopen("conftestval", "w");
7151 if (!f) return 1;
7152#ifdef LASTLOGX_FILE
7153 fprintf(f, "%s\n", LASTLOGX_FILE);
7154#elif defined(_PATH_LASTLOGX)
7155 fprintf(f, "%s\n", _PATH_LASTLOGX);
7156#else
7157 for (path = list; *path; path++) {
7158 struct stat st;
7159 if (stat(*path, &st) == 0) {
7160 fprintf(f, "%s\n", *path);
7161 break;
7162 }
7163 }
7164#endif
7165 return fclose(f) != 0;
7166}
7167_ACEOF
7168if ac_fn_cxx_try_run "$LINENO"; then :
7169 pt_cv_path_lastlogx=`cat conftestval`
7170else
7171 pt_cv_path_lastlogx= 6891 pt_cv_path_lastlogx=$file
6892 break
6893 fi
6894 done
7172fi 6895fi
7173rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7174 conftest.$ac_objext conftest.beam conftest.$ac_ext
7175fi
7176
7177fi 6896fi
7178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 6897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5
7179$as_echo "$pt_cv_path_lastlogx" >&6; } 6898$as_echo "$pt_cv_path_lastlogx" >&6; }
7180if test x$pt_cv_path_lastlogx != x; then 6899if test x$pt_cv_path_lastlogx != x; then
7181 6900
7182cat >>confdefs.h <<_ACEOF 6901cat >>confdefs.h <<_ACEOF
7183#define LASTLOGX_FILE "$pt_cv_path_lastlogx" 6902#define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx"
7184_ACEOF 6903_ACEOF
7185 6904
6905elif 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;}
7186fi 6908fi
7187 6909
7188 6910
7189 6911
7190 6912
7193CFLAGS="$CFLAGS $X_CFLAGS" 6915CFLAGS="$CFLAGS $X_CFLAGS"
7194LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 6916LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7195if test x$support_xim = xyes; then 6917if test x$support_xim = xyes; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5
7197$as_echo_n "checking for working Xlocale... " >&6; } 6919$as_echo_n "checking for working Xlocale... " >&6; }
7198if ${rxvt_cv_func_xlocale+:} false; then : 6920if test "${rxvt_cv_func_xlocale+set}" = set; then :
7199 $as_echo_n "(cached) " >&6 6921 $as_echo_n "(cached) " >&6
7200else 6922else
7201 if test "$cross_compiling" = yes; then : 6923 if test "$cross_compiling" = yes; then :
7202 : 6924 :
7203else 6925else
7231 6953
7232$as_echo "#define USE_XIM 1" >>confdefs.h 6954$as_echo "#define USE_XIM 1" >>confdefs.h
7233 6955
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5
7235$as_echo_n "checking for broken XIM callback... " >&6; } 6957$as_echo_n "checking for broken XIM callback... " >&6; }
7236if ${rxvt_cv_broken_ximcb+:} false; then : 6958if test "${rxvt_cv_broken_ximcb+set}" = set; then :
7237 $as_echo_n "(cached) " >&6 6959 $as_echo_n "(cached) " >&6
7238else 6960else
7239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7240/* end confdefs.h. */ 6962/* end confdefs.h. */
7241 6963
7267 fi 6989 fi
7268fi 6990fi
7269 6991
7270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 6992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5
7271$as_echo_n "checking for working X setlocale... " >&6; } 6993$as_echo_n "checking for working X setlocale... " >&6; }
7272if ${rxvt_cv_func_xsetlocale+:} false; then : 6994if test "${rxvt_cv_func_xsetlocale+set}" = set; then :
7273 $as_echo_n "(cached) " >&6 6995 $as_echo_n "(cached) " >&6
7274else 6996else
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276/* end confdefs.h. */ 6998/* end confdefs.h. */
7277#define X_LOCALE 1 6999#define X_LOCALE 1
7300 7022
7301fi 7023fi
7302LIBS=$save_LIBS 7024LIBS=$save_LIBS
7303CFLAGS=$save_CFLAGS 7025CFLAGS=$save_CFLAGS
7304 7026
7305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5
7306$as_echo_n "checking for working plain setlocale... " >&6; }
7307if ${rxvt_cv_func_setlocale+:} false; then :
7308 $as_echo_n "(cached) " >&6
7309else
7310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7311/* end confdefs.h. */
7312#include <clocale>
7313int
7314main ()
7315{
7316setlocale(LC_CTYPE, "");
7317 ;
7318 return 0;
7319}
7320_ACEOF
7321if ac_fn_cxx_try_link "$LINENO"; then :
7322 rxvt_cv_func_setlocale=yes
7323else
7324 rxvt_cv_func_setlocale=no
7325fi
7326rm -f core conftest.err conftest.$ac_objext \
7327 conftest$ac_exeext conftest.$ac_ext
7328fi
7329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5
7330$as_echo "$rxvt_cv_func_setlocale" >&6; }
7331if test x$rxvt_cv_func_setlocale = xyes; then
7332
7333$as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h
7334
7335fi
7336
7337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 7027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5
7338$as_echo_n "checking for working nl_langinfo... " >&6; } 7028$as_echo_n "checking for working nl_langinfo... " >&6; }
7339if ${rxvt_cv_func_nl_langinfo+:} false; then : 7029if test "${rxvt_cv_func_nl_langinfo+set}" = set; then :
7340 $as_echo_n "(cached) " >&6 7030 $as_echo_n "(cached) " >&6
7341else 7031else
7342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343/* end confdefs.h. */ 7033/* end confdefs.h. */
7344#include <langinfo.h> 7034#include <langinfo.h>
7365$as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h 7055$as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h
7366 7056
7367fi 7057fi
7368 7058
7369 7059
7060case $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; }
7067if test "${ac_cv_search_sendmsg+set}" = set; then :
7068 $as_echo_n "(cached) " >&6
7069else
7070 ac_func_search_save_LIBS=$LIBS
7071cat 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
7078extern "C"
7079#endif
7080char sendmsg ();
7081int
7082main ()
7083{
7084return sendmsg ();
7085 ;
7086 return 0;
7087}
7088_ACEOF
7089for 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
7098fi
7099rm -f core conftest.err conftest.$ac_objext \
7100 conftest$ac_exeext
7101 if test "${ac_cv_search_sendmsg+set}" = set; then :
7102 break
7103fi
7104done
7105if test "${ac_cv_search_sendmsg+set}" = set; then :
7106
7107else
7108 ac_cv_search_sendmsg=no
7109fi
7110rm conftest.$ac_ext
7111LIBS=$ac_func_search_save_LIBS
7112fi
7113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5
7114$as_echo "$ac_cv_search_sendmsg" >&6; }
7115ac_res=$ac_cv_search_sendmsg
7116if test "$ac_res" != no; then :
7117 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7118
7119fi
7120
7121 ;;
7122esac
7123
7370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 7124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5
7371$as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } 7125$as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; }
7372if ${pt_cv_can_pass_fds+:} false; then : 7126if test "${pt_cv_can_pass_fds+set}" = set; then :
7373 $as_echo_n "(cached) " >&6 7127 $as_echo_n "(cached) " >&6
7374else 7128else
7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376/* end confdefs.h. */ 7130/* end confdefs.h. */
7377 7131
7378#include <cstddef> // broken bsds (is that redundant?) need this 7132#include <stddef.h> // broken bsds (is that redundant?) need this
7379#include <sys/types.h> 7133#include <sys/types.h>
7380#include <sys/socket.h> 7134#include <sys/socket.h>
7381#include <sys/uio.h> 7135#include <sys/uio.h>
7382 7136
7383int 7137int
7435for ac_header in \ 7189for ac_header in \
7436 pty.h \ 7190 pty.h \
7437 util.h \ 7191 util.h \
7438 libutil.h \ 7192 libutil.h \
7439 sys/ioctl.h \ 7193 sys/ioctl.h \
7440 sys/stropts.h \
7441 stropts.h \ 7194 stropts.h \
7442 7195
7443do : 7196do :
7444 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7445ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 7198ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7474 7227
7475fi 7228fi
7476done 7229done
7477 7230
7478 7231
7479have_clone=no
7480
7481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
7482$as_echo_n "checking for /dev/ptc... " >&6; }
7483if test -e /dev/ptc; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7485$as_echo "yes" >&6; }
7486
7487$as_echo "#define CLONE_DEVICE \"/dev/ptc\"" >>confdefs.h
7488
7489 have_clone=yes
7490else
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492$as_echo "no" >&6; }
7493fi
7494
7495case $host in
7496 *-*-cygwin*)
7497 have_clone=yes
7498
7499$as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h
7500
7501 ;;
7502 *)
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
7504$as_echo_n "checking for /dev/ptmx... " >&6; }
7505 if test -e /dev/ptmx; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7507$as_echo "yes" >&6; }
7508
7509$as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h
7510
7511
7512$as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h
7513
7514 have_clone=yes
7515 else
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517$as_echo "no" >&6; }
7518 fi
7519 ;;
7520esac
7521
7522if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 7232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5
7524$as_echo_n "checking for UNIX98 ptys... " >&6; } 7233$as_echo_n "checking for UNIX98 ptys... " >&6; }
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526/* end confdefs.h. */ 7235/* end confdefs.h. */
7527#include <stdlib.h> 7236#include <stdlib.h>
7528int 7237int
7529main () 7238main ()
7530{ 7239{
7536if ac_fn_cxx_try_link "$LINENO"; then : 7245if ac_fn_cxx_try_link "$LINENO"; then :
7537 unix98_pty=yes 7246 unix98_pty=yes
7538 7247
7539$as_echo "#define UNIX98_PTY 1" >>confdefs.h 7248$as_echo "#define UNIX98_PTY 1" >>confdefs.h
7540 7249
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7542$as_echo "yes" >&6; } 7251$as_echo "yes" >&6; }
7543else 7252else
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545$as_echo "no" >&6; } 7254$as_echo "no" >&6; }
7546fi 7255fi
7547rm -f core conftest.err conftest.$ac_objext \ 7256rm -f core conftest.err conftest.$ac_objext \
7548 conftest$ac_exeext conftest.$ac_ext 7257 conftest$ac_exeext conftest.$ac_ext
7549fi
7550 7258
7551if test -z "$unix98_pty"; then 7259if test -z "$unix98_pty"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
7553$as_echo_n "checking for library containing openpty... " >&6; } 7261$as_echo_n "checking for library containing openpty... " >&6; }
7554if ${ac_cv_search_openpty+:} false; then : 7262if test "${ac_cv_search_openpty+set}" = set; then :
7555 $as_echo_n "(cached) " >&6 7263 $as_echo_n "(cached) " >&6
7556else 7264else
7557 ac_func_search_save_LIBS=$LIBS 7265 ac_func_search_save_LIBS=$LIBS
7558cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7266cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7559/* end confdefs.h. */ 7267/* end confdefs.h. */
7583 if ac_fn_cxx_try_link "$LINENO"; then : 7291 if ac_fn_cxx_try_link "$LINENO"; then :
7584 ac_cv_search_openpty=$ac_res 7292 ac_cv_search_openpty=$ac_res
7585fi 7293fi
7586rm -f core conftest.err conftest.$ac_objext \ 7294rm -f core conftest.err conftest.$ac_objext \
7587 conftest$ac_exeext 7295 conftest$ac_exeext
7588 if ${ac_cv_search_openpty+:} false; then : 7296 if test "${ac_cv_search_openpty+set}" = set; then :
7589 break 7297 break
7590fi 7298fi
7591done 7299done
7592if ${ac_cv_search_openpty+:} false; then : 7300if test "${ac_cv_search_openpty+set}" = set; then :
7593 7301
7594else 7302else
7595 ac_cv_search_openpty=no 7303 ac_cv_search_openpty=no
7596fi 7304fi
7597rm conftest.$ac_ext 7305rm conftest.$ac_ext
7611 7319
7612 7320
7613 7321
7614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 7322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5
7615$as_echo_n "checking for tty group... " >&6; } 7323$as_echo_n "checking for tty group... " >&6; }
7616if ${pt_cv_tty_group+:} false; then : 7324if test "${pt_cv_tty_group+set}" = set; then :
7617 $as_echo_n "(cached) " >&6 7325 $as_echo_n "(cached) " >&6
7618else 7326else
7619 if test "$cross_compiling" = yes; then : 7327 if test "$cross_compiling" = yes; then :
7620 pt_cv_tty_group=no 7328 pt_cv_tty_group=no
7621else 7329else
7659 7367
7660$as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h 7368$as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h
7661 7369
7662fi 7370fi
7663 7371
7372support_image=no
7373if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then
7374 support_image=yes
7375fi
7376if test x$support_xdbe = xyes; then
7377 LIBS="$LIBS -lXext"
7378fi
7379
7664if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then 7380if test x$support_xft = xyes || test x$support_image = xyes; then
7665 rxvt_have_xrender=no 7381 rxvt_have_xrender=no
7666 # 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.
7667set dummy pkg-config; ac_word=$2 7383set dummy pkg-config; ac_word=$2
7668{ $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
7669$as_echo_n "checking for $ac_word... " >&6; } 7385$as_echo_n "checking for $ac_word... " >&6; }
7670if ${ac_cv_path_PKG_CONFIG+:} false; then : 7386if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7671 $as_echo_n "(cached) " >&6 7387 $as_echo_n "(cached) " >&6
7672else 7388else
7673 case $PKG_CONFIG in 7389 case $PKG_CONFIG in
7674 [\\/]* | ?:[\\/]*) 7390 [\\/]* | ?:[\\/]*)
7675 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.
7710 rxvt_have_xrender=yes 7426 rxvt_have_xrender=yes
7711 7427
7712 save_LIBS="$LIBS" 7428 save_LIBS="$LIBS"
7713 LIBS="$LIBS $X_LIBS" 7429 LIBS="$LIBS $X_LIBS"
7714 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" 7430 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7715if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then : 7431if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
7716 7432
7717else 7433else
7718 rxvt_have_xrender=no 7434 rxvt_have_xrender=no
7719fi 7435fi
7720 7436
7721 7437
7722 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" 7438 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat"
7723if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then : 7439if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then :
7724 7440
7725else 7441else
7726 rxvt_have_xrender=no 7442 rxvt_have_xrender=no
7727fi 7443fi
7728 7444
7733if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then 7449if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then
7734 # Extract the first word of "pkg-config", so it can be a program name with args. 7450 # Extract the first word of "pkg-config", so it can be a program name with args.
7735set dummy pkg-config; ac_word=$2 7451set dummy pkg-config; ac_word=$2
7736{ $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
7737$as_echo_n "checking for $ac_word... " >&6; } 7453$as_echo_n "checking for $ac_word... " >&6; }
7738if ${ac_cv_path_PKG_CONFIG+:} false; then : 7454if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7739 $as_echo_n "(cached) " >&6 7455 $as_echo_n "(cached) " >&6
7740else 7456else
7741 case $PKG_CONFIG in 7457 case $PKG_CONFIG in
7742 [\\/]* | ?:[\\/]*) 7458 [\\/]* | ?:[\\/]*)
7743 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.
7778 else 7494 else
7779 # Extract the first word of "xft-config", so it can be a program name with args. 7495 # Extract the first word of "xft-config", so it can be a program name with args.
7780set dummy xft-config; ac_word=$2 7496set dummy xft-config; ac_word=$2
7781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782$as_echo_n "checking for $ac_word... " >&6; } 7498$as_echo_n "checking for $ac_word... " >&6; }
7783if ${ac_cv_path_XFT_CONFIG+:} false; then : 7499if test "${ac_cv_path_XFT_CONFIG+set}" = set; then :
7784 $as_echo_n "(cached) " >&6 7500 $as_echo_n "(cached) " >&6
7785else 7501else
7786 case $XFT_CONFIG in 7502 case $XFT_CONFIG in
7787 [\\/]* | ?:[\\/]*) 7503 [\\/]* | ?:[\\/]*)
7788 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. 7504 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
7831 save_LIBS="$LIBS" 7547 save_LIBS="$LIBS"
7832 LIBS="$LIBS $X_LIBS" 7548 LIBS="$LIBS $X_LIBS"
7833 for ac_header in X11/Xft/Xft.h 7549 for ac_header in X11/Xft/Xft.h
7834do : 7550do :
7835 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_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"
7836if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : 7552if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then :
7837 cat >>confdefs.h <<_ACEOF 7553 cat >>confdefs.h <<_ACEOF
7838#define HAVE_X11_XFT_XFT_H 1 7554#define HAVE_X11_XFT_XFT_H 1
7839_ACEOF 7555_ACEOF
7840 7556
7841else 7557else
7844 7560
7845done 7561done
7846 7562
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5
7848$as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } 7564$as_echo_n "checking for XftDrawString32 in -lXft... " >&6; }
7849if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : 7565if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then :
7850 $as_echo_n "(cached) " >&6 7566 $as_echo_n "(cached) " >&6
7851else 7567else
7852 ac_check_lib_save_LIBS=$LIBS 7568 ac_check_lib_save_LIBS=$LIBS
7853LIBS="-lXft $LIBS" 7569LIBS="-lXft $LIBS"
7854cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7570cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7878 conftest$ac_exeext conftest.$ac_ext 7594 conftest$ac_exeext conftest.$ac_ext
7879LIBS=$ac_check_lib_save_LIBS 7595LIBS=$ac_check_lib_save_LIBS
7880fi 7596fi
7881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 7597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5
7882$as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } 7598$as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; }
7883if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : 7599if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then :
7884 : 7600 :
7885else 7601else
7886 support_xft=no 7602 support_xft=no
7887fi 7603fi
7888 7604
7889 for ac_header in fontconfig/fontconfig.h 7605 for ac_header in fontconfig/fontconfig.h
7890do : 7606do :
7891 ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" 7607 ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
7892if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : 7608if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
7893 cat >>confdefs.h <<_ACEOF 7609 cat >>confdefs.h <<_ACEOF
7894#define HAVE_FONTCONFIG_FONTCONFIG_H 1 7610#define HAVE_FONTCONFIG_FONTCONFIG_H 1
7895_ACEOF 7611_ACEOF
7896 7612
7897else 7613else
7900 7616
7901done 7617done
7902 7618
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5
7904$as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } 7620$as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; }
7905if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : 7621if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then :
7906 $as_echo_n "(cached) " >&6 7622 $as_echo_n "(cached) " >&6
7907else 7623else
7908 ac_check_lib_save_LIBS=$LIBS 7624 ac_check_lib_save_LIBS=$LIBS
7909LIBS="-lfontconfig $LIBS" 7625LIBS="-lfontconfig $LIBS"
7910cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7934 conftest$ac_exeext conftest.$ac_ext 7650 conftest$ac_exeext conftest.$ac_ext
7935LIBS=$ac_check_lib_save_LIBS 7651LIBS=$ac_check_lib_save_LIBS
7936fi 7652fi
7937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 7653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5
7938$as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } 7654$as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; }
7939if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : 7655if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then :
7940 : 7656 :
7941else 7657else
7942 support_xft=no 7658 support_xft=no
7943fi 7659fi
7944 7660
7948 7664
7949$as_echo "#define XFT 1" >>confdefs.h 7665$as_echo "#define XFT 1" >>confdefs.h
7950 7666
7951 fi 7667 fi
7952fi 7668fi
7669
7670image_lib=none
7671
7672PIXBUF_CFLAGS=
7673PIXBUF_LIBS=
7674
7675if 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
7689 # Extract the first word of "pkg-config", so it can be a program name with args.
7690set dummy pkg-config; ac_word=$2
7691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692$as_echo_n "checking for $ac_word... " >&6; }
7693if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7694 $as_echo_n "(cached) " >&6
7695else
7696 case $PKG_CONFIG in
7697 [\\/]* | ?:[\\/]*)
7698 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7699 ;;
7700 *)
7701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702for as_dir in $PATH
7703do
7704 IFS=$as_save_IFS
7705 test -z "$as_dir" && as_dir=.
7706 for ac_exec_ext in '' $ac_executable_extensions; do
7707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7708 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7710 break 2
7711 fi
7712done
7713 done
7714IFS=$as_save_IFS
7715
7716 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7717 ;;
7718esac
7719fi
7720PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7721if test -n "$PKG_CONFIG"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7723$as_echo "$PKG_CONFIG" >&6; }
7724else
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726$as_echo "no" >&6; }
7727fi
7728
7729
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5
7731$as_echo_n "checking for gdk-pixbuf... " >&6; }
7732 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then
7733 PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`"
7734 PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`"
7735 support_pixbuf=yes
7736 fi
7737
7738 if test x$support_pixbuf = xyes; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7740$as_echo "ok" >&6; }
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
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750$as_echo "no" >&6; }
7751 fi
7752 fi
7753fi
7754
7755
7756
7757
7758if test x$support_xdbe = xyes; then
7759
7760$as_echo "#define ENABLE_XDBE 1" >>confdefs.h
7761
7762fi
7953if test x$support_styles = xyes; then 7763if test x$support_styles = xyes; then
7954 7764
7955$as_echo "#define ENABLE_STYLES 1" >>confdefs.h 7765$as_echo "#define ENABLE_STYLES 1" >>confdefs.h
7956 7766
7957fi 7767fi
7966 7776
7967fi 7777fi
7968if test x$support_fading = xyes; then 7778if test x$support_fading = xyes; then
7969 7779
7970$as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h 7780$as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h
7971
7972fi
7973if test x$support_inheritpixmap = xyes; then
7974 if test x$rxvt_have_xrender = xyes; then
7975 LIBS="$LIBS -lm"
7976
7977$as_echo "#define XRENDER 1" >>confdefs.h
7978
7979 fi
7980
7981$as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h
7982 7781
7983fi 7782fi
7984if test x$support_keepscrolling = xno; then 7783if test x$support_keepscrolling = xno; then
7985 7784
7986$as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h 7785$as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h
8083if test x$support_perl = xyes; then 7882if test x$support_perl = xyes; then
8084 # 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.
8085set dummy perl5; ac_word=$2 7884set dummy perl5; ac_word=$2
8086{ $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
8087$as_echo_n "checking for $ac_word... " >&6; } 7886$as_echo_n "checking for $ac_word... " >&6; }
8088if ${ac_cv_path_PERL+:} false; then : 7887if test "${ac_cv_path_PERL+set}" = set; then :
8089 $as_echo_n "(cached) " >&6 7888 $as_echo_n "(cached) " >&6
8090else 7889else
8091 case $PERL in 7890 case $PERL in
8092 [\\/]* | ?:[\\/]*) 7891 [\\/]* | ?:[\\/]*)
8093 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.
8106 fi 7905 fi
8107done 7906done
8108 done 7907 done
8109IFS=$as_save_IFS 7908IFS=$as_save_IFS
8110 7909
8111 ;; 7910 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
8112esac
8113fi
8114PERL=$ac_cv_path_PERL
8115if test -n "$PERL"; then
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
8117$as_echo "$PERL" >&6; }
8118else
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8120$as_echo "no" >&6; }
8121fi
8122
8123
8124 # Extract the first word of "perl", so it can be a program name with args.
8125set dummy perl; ac_word=$2
8126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127$as_echo_n "checking for $ac_word... " >&6; }
8128if ${ac_cv_path_PERL+:} false; then :
8129 $as_echo_n "(cached) " >&6
8130else
8131 case $PERL in
8132 [\\/]* | ?:[\\/]*)
8133 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
8134 ;;
8135 *)
8136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8137for as_dir in $PATH
8138do
8139 IFS=$as_save_IFS
8140 test -z "$as_dir" && as_dir=.
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8143 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
8144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8145 break 2
8146 fi
8147done
8148 done
8149IFS=$as_save_IFS
8150
8151 ;; 7911 ;;
8152esac 7912esac
8153fi 7913fi
8154PERL=$ac_cv_path_PERL 7914PERL=$ac_cv_path_PERL
8155if test -n "$PERL"; then 7915if test -n "$PERL"; then
8287 t end 8047 t end
8288 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8289 :end' >>confcache 8049 :end' >>confcache
8290if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8050if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8291 if test -w "$cache_file"; then 8051 if test -w "$cache_file"; then
8292 if test "x$cache_file" != "x/dev/null"; then 8052 test "x$cache_file" != "x/dev/null" &&
8293 { $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
8294$as_echo "$as_me: updating cache $cache_file" >&6;} 8054$as_echo "$as_me: updating cache $cache_file" >&6;}
8295 if test ! -f "$cache_file" || test -h "$cache_file"; then
8296 cat confcache >"$cache_file" 8055 cat confcache >$cache_file
8297 else
8298 case $cache_file in #(
8299 */* | ?:*)
8300 mv -f confcache "$cache_file"$$ &&
8301 mv -f "$cache_file"$$ "$cache_file" ;; #(
8302 *)
8303 mv -f confcache "$cache_file" ;;
8304 esac
8305 fi
8306 fi
8307 else 8056 else
8308 { $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
8309$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8058$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8310 fi 8059 fi
8311fi 8060fi
8333 8082
8334LTLIBOBJS=$ac_ltlibobjs 8083LTLIBOBJS=$ac_ltlibobjs
8335 8084
8336 8085
8337 8086
8338: "${CONFIG_STATUS=./config.status}" 8087: ${CONFIG_STATUS=./config.status}
8339ac_write_fail=0 8088ac_write_fail=0
8340ac_clean_files_save=$ac_clean_files 8089ac_clean_files_save=$ac_clean_files
8341ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8090ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8342{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8343$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8092$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8434# (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
8435# splitting by setting IFS to empty value.) 8184# splitting by setting IFS to empty value.)
8436IFS=" "" $as_nl" 8185IFS=" "" $as_nl"
8437 8186
8438# 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.
8439as_myself=
8440case $0 in #(( 8188case $0 in #((
8441 *[\\/]* ) as_myself=$0 ;; 8189 *[\\/]* ) as_myself=$0 ;;
8442 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8190 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443for as_dir in $PATH 8191for as_dir in $PATH
8444do 8192do
8742# 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
8743# report actual input values of CONFIG_FILES etc. instead of their 8491# report actual input values of CONFIG_FILES etc. instead of their
8744# values after options handling. 8492# values after options handling.
8745ac_log=" 8493ac_log="
8746This file was extended by $as_me, which was 8494This file was extended by $as_me, which was
8747generated by GNU Autoconf 2.68. Invocation command line was 8495generated by GNU Autoconf 2.67. Invocation command line was
8748 8496
8749 CONFIG_FILES = $CONFIG_FILES 8497 CONFIG_FILES = $CONFIG_FILES
8750 CONFIG_HEADERS = $CONFIG_HEADERS 8498 CONFIG_HEADERS = $CONFIG_HEADERS
8751 CONFIG_LINKS = $CONFIG_LINKS 8499 CONFIG_LINKS = $CONFIG_LINKS
8752 CONFIG_COMMANDS = $CONFIG_COMMANDS 8500 CONFIG_COMMANDS = $CONFIG_COMMANDS
8804_ACEOF 8552_ACEOF
8805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8553cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8806ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8554ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8807ac_cs_version="\\ 8555ac_cs_version="\\
8808config.status 8556config.status
8809configured by $0, generated by GNU Autoconf 2.68, 8557configured by $0, generated by GNU Autoconf 2.67,
8810 with options \\"\$ac_cs_config\\" 8558 with options \\"\$ac_cs_config\\"
8811 8559
8812Copyright (C) 2010 Free Software Foundation, Inc. 8560Copyright (C) 2010 Free Software Foundation, Inc.
8813This config.status script is free software; the Free Software Foundation 8561This config.status script is free software; the Free Software Foundation
8814gives unlimited permission to copy, distribute and modify it." 8562gives unlimited permission to copy, distribute and modify it."
8930 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 8678 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
8931 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8679 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8932 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 8680 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8933 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 8681 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8934 8682
8935 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8683 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
8936 esac 8684 esac
8937done 8685done
8938 8686
8939 8687
8940# 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,
8952# Hook for its removal unless debugging. 8700# Hook for its removal unless debugging.
8953# 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:
8954# 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'.
8955$debug || 8703$debug ||
8956{ 8704{
8957 tmp= ac_tmp= 8705 tmp=
8958 trap 'exit_status=$? 8706 trap 'exit_status=$?
8959 : "${ac_tmp:=$tmp}"
8960 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8707 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8961' 0 8708' 0
8962 trap 'as_fn_exit 1' 1 2 13 15 8709 trap 'as_fn_exit 1' 1 2 13 15
8963} 8710}
8964# Create a (secure) tmp directory for tmp files. 8711# Create a (secure) tmp directory for tmp files.
8965 8712
8966{ 8713{
8967 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8714 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8968 test -d "$tmp" 8715 test -n "$tmp" && test -d "$tmp"
8969} || 8716} ||
8970{ 8717{
8971 tmp=./conf$$-$RANDOM 8718 tmp=./conf$$-$RANDOM
8972 (umask 077 && mkdir "$tmp") 8719 (umask 077 && mkdir "$tmp")
8973} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8720} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8974ac_tmp=$tmp
8975 8721
8976# Set up the scripts for CONFIG_FILES section. 8722# Set up the scripts for CONFIG_FILES section.
8977# No need to generate them if there are no CONFIG_FILES. 8723# No need to generate them if there are no CONFIG_FILES.
8978# This happens for instance with `./config.status config.h'. 8724# This happens for instance with `./config.status config.h'.
8979if test -n "$CONFIG_FILES"; then 8725if test -n "$CONFIG_FILES"; then
8991 ac_cs_awk_cr='\\r' 8737 ac_cs_awk_cr='\\r'
8992else 8738else
8993 ac_cs_awk_cr=$ac_cr 8739 ac_cs_awk_cr=$ac_cr
8994fi 8740fi
8995 8741
8996echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8742echo 'BEGIN {' >"$tmp/subs1.awk" &&
8997_ACEOF 8743_ACEOF
8998 8744
8999 8745
9000{ 8746{
9001 echo "cat >conf$$subs.awk <<_ACEOF" && 8747 echo "cat >conf$$subs.awk <<_ACEOF" &&
9019 fi 8765 fi
9020done 8766done
9021rm -f conf$$subs.sh 8767rm -f conf$$subs.sh
9022 8768
9023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8769cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9024cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8770cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9025_ACEOF 8771_ACEOF
9026sed -n ' 8772sed -n '
9027h 8773h
9028s/^/S["/; s/!.*/"]=/ 8774s/^/S["/; s/!.*/"]=/
9029p 8775p
9067} 8813}
9068' >>$CONFIG_STATUS || ac_write_fail=1 8814' >>$CONFIG_STATUS || ac_write_fail=1
9069rm -f conf$$subs.awk 8815rm -f conf$$subs.awk
9070cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8816cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9071_ACAWK 8817_ACAWK
9072cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 8818cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9073 for (key in S) S_is_set[key] = 1 8819 for (key in S) S_is_set[key] = 1
9074 FS = "" 8820 FS = ""
9075 8821
9076} 8822}
9077{ 8823{
9099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8845cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9100if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8846if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9101 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"
9102else 8848else
9103 cat 8849 cat
9104fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 8850fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9105 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8851 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9106_ACEOF 8852_ACEOF
9107 8853
9108# 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),
9109# ${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
9133 8879
9134# Set up the scripts for CONFIG_HEADERS section. 8880# Set up the scripts for CONFIG_HEADERS section.
9135# No need to generate them if there are no CONFIG_HEADERS. 8881# No need to generate them if there are no CONFIG_HEADERS.
9136# This happens for instance with `./config.status Makefile'. 8882# This happens for instance with `./config.status Makefile'.
9137if test -n "$CONFIG_HEADERS"; then 8883if test -n "$CONFIG_HEADERS"; then
9138cat >"$ac_tmp/defines.awk" <<\_ACAWK || 8884cat >"$tmp/defines.awk" <<\_ACAWK ||
9139BEGIN { 8885BEGIN {
9140_ACEOF 8886_ACEOF
9141 8887
9142# Transform confdefs.h into an awk script `defines.awk', embedded as 8888# Transform confdefs.h into an awk script `defines.awk', embedded as
9143# here-document in config.status, that substitutes the proper values into 8889# here-document in config.status, that substitutes the proper values into
9145 8891
9146# 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
9147# handling of long lines. 8893# handling of long lines.
9148ac_delim='%!_!# ' 8894ac_delim='%!_!# '
9149for ac_last_try in false false :; do 8895for ac_last_try in false false :; do
9150 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 8896 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9151 if test -z "$ac_tt"; then 8897 if test -z "$ac_t"; then
9152 break 8898 break
9153 elif $ac_last_try; then 8899 elif $ac_last_try; then
9154 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 8900 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9155 else 8901 else
9156 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8902 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9247 case $ac_tag in 8993 case $ac_tag in
9248 :[FHLC]) ac_mode=$ac_tag; continue;; 8994 :[FHLC]) ac_mode=$ac_tag; continue;;
9249 esac 8995 esac
9250 case $ac_mode$ac_tag in 8996 case $ac_mode$ac_tag in
9251 :[FHL]*:*);; 8997 :[FHL]*:*);;
9252 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 8998 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
9253 :[FH]-) ac_tag=-:-;; 8999 :[FH]-) ac_tag=-:-;;
9254 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9000 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9255 esac 9001 esac
9256 ac_save_IFS=$IFS 9002 ac_save_IFS=$IFS
9257 IFS=: 9003 IFS=:
9266 :[FH]) 9012 :[FH])
9267 ac_file_inputs= 9013 ac_file_inputs=
9268 for ac_f 9014 for ac_f
9269 do 9015 do
9270 case $ac_f in 9016 case $ac_f in
9271 -) ac_f="$ac_tmp/stdin";; 9017 -) ac_f="$tmp/stdin";;
9272 *) # 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
9273 # (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,
9274 # because $ac_f cannot contain `:'. 9020 # because $ac_f cannot contain `:'.
9275 test -f "$ac_f" || 9021 test -f "$ac_f" ||
9276 case $ac_f in 9022 case $ac_f in
9277 [\\/$]*) false;; 9023 [\\/$]*) false;;
9278 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9024 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9279 esac || 9025 esac ||
9280 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 ;;
9281 esac 9027 esac
9282 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
9283 as_fn_append ac_file_inputs " '$ac_f'" 9029 as_fn_append ac_file_inputs " '$ac_f'"
9284 done 9030 done
9285 9031
9301 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9047 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9302 *) ac_sed_conf_input=$configure_input;; 9048 *) ac_sed_conf_input=$configure_input;;
9303 esac 9049 esac
9304 9050
9305 case $ac_tag in 9051 case $ac_tag in
9306 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9052 *:-:* | *:-) cat >"$tmp/stdin" \
9307 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9308 esac 9054 esac
9309 ;; 9055 ;;
9310 esac 9056 esac
9311 9057
9312 ac_dir=`$as_dirname -- "$ac_file" || 9058 ac_dir=`$as_dirname -- "$ac_file" ||
9432s&@abs_builddir@&$ac_abs_builddir&;t t 9178s&@abs_builddir@&$ac_abs_builddir&;t t
9433s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9179s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9434s&@INSTALL@&$ac_INSTALL&;t t 9180s&@INSTALL@&$ac_INSTALL&;t t
9435$ac_datarootdir_hack 9181$ac_datarootdir_hack
9436" 9182"
9437eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9183eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9438 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9184 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9439 9185
9440test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9186test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9441 { 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"; } &&
9442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9188 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9443 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9445which seems to be undefined. Please make sure it is defined" >&5 9190which seems to be undefined. Please make sure it is defined" >&5
9446$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9191$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9447which seems to be undefined. Please make sure it is defined" >&2;} 9192which seems to be undefined. Please make sure it is defined" >&2;}
9448 9193
9449 rm -f "$ac_tmp/stdin" 9194 rm -f "$tmp/stdin"
9450 case $ac_file in 9195 case $ac_file in
9451 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9196 -) cat "$tmp/out" && rm -f "$tmp/out";;
9452 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9197 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9453 esac \ 9198 esac \
9454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9199 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9455 ;; 9200 ;;
9456 :H) 9201 :H)
9457 # 9202 #
9458 # CONFIG_HEADER 9203 # CONFIG_HEADER
9459 # 9204 #
9460 if test x"$ac_file" != x-; then 9205 if test x"$ac_file" != x-; then
9461 { 9206 {
9462 $as_echo "/* $configure_input */" \ 9207 $as_echo "/* $configure_input */" \
9463 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9208 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9464 } >"$ac_tmp/config.h" \ 9209 } >"$tmp/config.h" \
9465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9210 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9466 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
9467 { $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
9468$as_echo "$as_me: $ac_file is unchanged" >&6;} 9213$as_echo "$as_me: $ac_file is unchanged" >&6;}
9469 else 9214 else
9470 rm -f "$ac_file" 9215 rm -f "$ac_file"
9471 mv "$ac_tmp/config.h" "$ac_file" \ 9216 mv "$tmp/config.h" "$ac_file" \
9472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9217 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9473 fi 9218 fi
9474 else 9219 else
9475 $as_echo "/* $configure_input */" \ 9220 $as_echo "/* $configure_input */" \
9476 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9221 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9477 || as_fn_error $? "could not create -" "$LINENO" 5 9222 || as_fn_error $? "could not create -" "$LINENO" 5
9478 fi 9223 fi
9479 ;; 9224 ;;
9480 9225
9481 9226

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines