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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines