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

Comparing rxvt-unicode/configure (file contents):
Revision 1.147 by mikachu, Tue Nov 15 01:13:49 2011 UTC vs.
Revision 1.152 by root, Thu Jan 19 17:10:54 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."
1153 *) 1145 *)
1154 # FIXME: should be removed in autoconf 3.0. 1146 # FIXME: should be removed in autoconf 3.0.
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1150 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1159 ;; 1151 ;;
1160 1152
1161 esac 1153 esac
1162done 1154done
1163 1155
1375 --enable-256-color enable 256-color support 1367 --enable-256-color enable 256-color support
1376 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1368 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1377 --enable-combining enable composition of base and combining characters 1369 --enable-combining enable composition of base and combining characters
1378 --enable-xft enable xft support on systems that have it 1370 --enable-xft enable xft support on systems that have it
1379 --enable-font-styles enable bold and italic support 1371 --enable-font-styles enable bold and italic support
1380 --enable-afterimage enable integration with libAfterImage for background images 1372 --enable-afterimage enable integration with libAfterImage for background images (deprecated)
1381 --enable-pixbuf enable integration with gdk-pixbuf for background images 1373 --enable-pixbuf enable integration with gdk-pixbuf for background images
1382 --enable-startup-notification enable freedesktop startup notification support 1374 --enable-startup-notification enable freedesktop startup notification support
1383 --enable-transparency enable transparent backgrounds 1375 --enable-transparency enable transparent backgrounds
1384 --enable-fading enable colors fading when off focus 1376 --enable-fading enable colors fading when off focus
1385 --enable-rxvt-scroll enable rxvt style scrollbar 1377 --enable-rxvt-scroll enable rxvt style scrollbar
1497 1489
1498test -n "$ac_init_help" && exit $ac_status 1490test -n "$ac_init_help" && exit $ac_status
1499if $ac_init_version; then 1491if $ac_init_version; then
1500 cat <<\_ACEOF 1492 cat <<\_ACEOF
1501configure 1493configure
1502generated by GNU Autoconf 2.68 1494generated by GNU Autoconf 2.67
1503 1495
1504Copyright (C) 2010 Free Software Foundation, Inc. 1496Copyright (C) 2010 Free Software Foundation, Inc.
1505This configure script is free software; the Free Software Foundation 1497This configure script is free software; the Free Software Foundation
1506gives unlimited permission to copy, distribute and modify it. 1498gives unlimited permission to copy, distribute and modify it.
1507_ACEOF 1499_ACEOF
1543 $as_echo "$as_me: failed program was:" >&5 1535 $as_echo "$as_me: failed program was:" >&5
1544sed 's/^/| /' conftest.$ac_ext >&5 1536sed 's/^/| /' conftest.$ac_ext >&5
1545 1537
1546 ac_retval=1 1538 ac_retval=1
1547fi 1539fi
1548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1549 as_fn_set_status $ac_retval 1541 as_fn_set_status $ac_retval
1550 1542
1551} # ac_fn_c_try_compile 1543} # ac_fn_c_try_compile
1552 1544
1553# ac_fn_cxx_try_compile LINENO 1545# ac_fn_cxx_try_compile LINENO
1581 $as_echo "$as_me: failed program was:" >&5 1573 $as_echo "$as_me: failed program was:" >&5
1582sed 's/^/| /' conftest.$ac_ext >&5 1574sed 's/^/| /' conftest.$ac_ext >&5
1583 1575
1584 ac_retval=1 1576 ac_retval=1
1585fi 1577fi
1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1578 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1587 as_fn_set_status $ac_retval 1579 as_fn_set_status $ac_retval
1588 1580
1589} # ac_fn_cxx_try_compile 1581} # ac_fn_cxx_try_compile
1590 1582
1591# ac_fn_c_try_cpp LINENO 1583# ac_fn_c_try_cpp LINENO
1618 $as_echo "$as_me: failed program was:" >&5 1610 $as_echo "$as_me: failed program was:" >&5
1619sed 's/^/| /' conftest.$ac_ext >&5 1611sed 's/^/| /' conftest.$ac_ext >&5
1620 1612
1621 ac_retval=1 1613 ac_retval=1
1622fi 1614fi
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1615 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1624 as_fn_set_status $ac_retval 1616 as_fn_set_status $ac_retval
1625 1617
1626} # ac_fn_c_try_cpp 1618} # ac_fn_c_try_cpp
1627 1619
1628# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1620# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1631# the include files in INCLUDES and setting the cache variable VAR 1623# the include files in INCLUDES and setting the cache variable VAR
1632# accordingly. 1624# accordingly.
1633ac_fn_c_check_header_mongrel () 1625ac_fn_c_check_header_mongrel ()
1634{ 1626{
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 if eval \${$3+:} false; then : 1628 if eval "test \"\${$3+set}\"" = set; then :
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1638$as_echo_n "checking for $2... " >&6; } 1630$as_echo_n "checking for $2... " >&6; }
1639if eval \${$3+:} false; then : 1631if eval "test \"\${$3+set}\"" = set; then :
1640 $as_echo_n "(cached) " >&6 1632 $as_echo_n "(cached) " >&6
1641fi 1633fi
1642eval ac_res=\$$3 1634eval ac_res=\$$3
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644$as_echo "$ac_res" >&6; } 1636$as_echo "$ac_res" >&6; }
1697$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1689$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1698 ;; 1690 ;;
1699esac 1691esac
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701$as_echo_n "checking for $2... " >&6; } 1693$as_echo_n "checking for $2... " >&6; }
1702if eval \${$3+:} false; then : 1694if eval "test \"\${$3+set}\"" = set; then :
1703 $as_echo_n "(cached) " >&6 1695 $as_echo_n "(cached) " >&6
1704else 1696else
1705 eval "$3=\$ac_header_compiler" 1697 eval "$3=\$ac_header_compiler"
1706fi 1698fi
1707eval ac_res=\$$3 1699eval ac_res=\$$3
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709$as_echo "$ac_res" >&6; } 1701$as_echo "$ac_res" >&6; }
1710fi 1702fi
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1703 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1712 1704
1713} # ac_fn_c_check_header_mongrel 1705} # ac_fn_c_check_header_mongrel
1714 1706
1715# ac_fn_c_try_run LINENO 1707# ac_fn_c_try_run LINENO
1716# ---------------------- 1708# ----------------------
1747sed 's/^/| /' conftest.$ac_ext >&5 1739sed 's/^/| /' conftest.$ac_ext >&5
1748 1740
1749 ac_retval=$ac_status 1741 ac_retval=$ac_status
1750fi 1742fi
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1753 as_fn_set_status $ac_retval 1745 as_fn_set_status $ac_retval
1754 1746
1755} # ac_fn_c_try_run 1747} # ac_fn_c_try_run
1756 1748
1757# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1749# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1761ac_fn_c_check_header_compile () 1753ac_fn_c_check_header_compile ()
1762{ 1754{
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765$as_echo_n "checking for $2... " >&6; } 1757$as_echo_n "checking for $2... " >&6; }
1766if eval \${$3+:} false; then : 1758if eval "test \"\${$3+set}\"" = set; then :
1767 $as_echo_n "(cached) " >&6 1759 $as_echo_n "(cached) " >&6
1768else 1760else
1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1770/* end confdefs.h. */ 1762/* end confdefs.h. */
1771$4 1763$4
1779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1780fi 1772fi
1781eval ac_res=\$$3 1773eval ac_res=\$$3
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783$as_echo "$ac_res" >&6; } 1775$as_echo "$ac_res" >&6; }
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1776 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 1777
1786} # ac_fn_c_check_header_compile 1778} # ac_fn_c_check_header_compile
1787 1779
1788# ac_fn_c_try_link LINENO 1780# ac_fn_c_try_link LINENO
1789# ----------------------- 1781# -----------------------
1824 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1825 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1826 # interfere with the next link command; also delete a directory that is 1818 # interfere with the next link command; also delete a directory that is
1827 # left behind by Apple's compiler. We do this before executing the actions. 1819 # left behind by Apple's compiler. We do this before executing the actions.
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 as_fn_set_status $ac_retval 1822 as_fn_set_status $ac_retval
1831 1823
1832} # ac_fn_c_try_link 1824} # ac_fn_c_try_link
1833 1825
1834# ac_fn_cxx_try_link LINENO 1826# ac_fn_cxx_try_link LINENO
1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1862 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1863 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1872 # interfere with the next link command; also delete a directory that is 1864 # interfere with the next link command; also delete a directory that is
1873 # left behind by Apple's compiler. We do this before executing the actions. 1865 # left behind by Apple's compiler. We do this before executing the actions.
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 as_fn_set_status $ac_retval 1868 as_fn_set_status $ac_retval
1877 1869
1878} # ac_fn_cxx_try_link 1870} # ac_fn_cxx_try_link
1879 1871
1880# ac_fn_cxx_try_cpp LINENO 1872# ac_fn_cxx_try_cpp LINENO
1907 $as_echo "$as_me: failed program was:" >&5 1899 $as_echo "$as_me: failed program was:" >&5
1908sed 's/^/| /' conftest.$ac_ext >&5 1900sed 's/^/| /' conftest.$ac_ext >&5
1909 1901
1910 ac_retval=1 1902 ac_retval=1
1911fi 1903fi
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 as_fn_set_status $ac_retval 1905 as_fn_set_status $ac_retval
1914 1906
1915} # ac_fn_cxx_try_cpp 1907} # ac_fn_cxx_try_cpp
1916 1908
1917# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1909# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1920# the include files in INCLUDES and setting the cache variable VAR 1912# the include files in INCLUDES and setting the cache variable VAR
1921# accordingly. 1913# accordingly.
1922ac_fn_cxx_check_header_mongrel () 1914ac_fn_cxx_check_header_mongrel ()
1923{ 1915{
1924 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925 if eval \${$3+:} false; then : 1917 if eval "test \"\${$3+set}\"" = set; then :
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1927$as_echo_n "checking for $2... " >&6; } 1919$as_echo_n "checking for $2... " >&6; }
1928if eval \${$3+:} false; then : 1920if eval "test \"\${$3+set}\"" = set; then :
1929 $as_echo_n "(cached) " >&6 1921 $as_echo_n "(cached) " >&6
1930fi 1922fi
1931eval ac_res=\$$3 1923eval ac_res=\$$3
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933$as_echo "$ac_res" >&6; } 1925$as_echo "$ac_res" >&6; }
1986$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1978$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1987 ;; 1979 ;;
1988esac 1980esac
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1990$as_echo_n "checking for $2... " >&6; } 1982$as_echo_n "checking for $2... " >&6; }
1991if eval \${$3+:} false; then : 1983if eval "test \"\${$3+set}\"" = set; then :
1992 $as_echo_n "(cached) " >&6 1984 $as_echo_n "(cached) " >&6
1993else 1985else
1994 eval "$3=\$ac_header_compiler" 1986 eval "$3=\$ac_header_compiler"
1995fi 1987fi
1996eval ac_res=\$$3 1988eval ac_res=\$$3
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1998$as_echo "$ac_res" >&6; } 1990$as_echo "$ac_res" >&6; }
1999fi 1991fi
2000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1992 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2001 1993
2002} # ac_fn_cxx_check_header_mongrel 1994} # ac_fn_cxx_check_header_mongrel
2003 1995
2004# ac_fn_cxx_check_func LINENO FUNC VAR 1996# ac_fn_cxx_check_func LINENO FUNC VAR
2005# ------------------------------------ 1997# ------------------------------------
2007ac_fn_cxx_check_func () 1999ac_fn_cxx_check_func ()
2008{ 2000{
2009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2011$as_echo_n "checking for $2... " >&6; } 2003$as_echo_n "checking for $2... " >&6; }
2012if eval \${$3+:} false; then : 2004if eval "test \"\${$3+set}\"" = set; then :
2013 $as_echo_n "(cached) " >&6 2005 $as_echo_n "(cached) " >&6
2014else 2006else
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016/* end confdefs.h. */ 2008/* end confdefs.h. */
2017/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2009/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2062 conftest$ac_exeext conftest.$ac_ext 2054 conftest$ac_exeext conftest.$ac_ext
2063fi 2055fi
2064eval ac_res=\$$3 2056eval ac_res=\$$3
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2066$as_echo "$ac_res" >&6; } 2058$as_echo "$ac_res" >&6; }
2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2068 2060
2069} # ac_fn_cxx_check_func 2061} # ac_fn_cxx_check_func
2070 2062
2071# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 2063# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2072# --------------------------------------------- 2064# ---------------------------------------------
2075ac_fn_cxx_check_type () 2067ac_fn_cxx_check_type ()
2076{ 2068{
2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079$as_echo_n "checking for $2... " >&6; } 2071$as_echo_n "checking for $2... " >&6; }
2080if eval \${$3+:} false; then : 2072if eval "test \"\${$3+set}\"" = set; then :
2081 $as_echo_n "(cached) " >&6 2073 $as_echo_n "(cached) " >&6
2082else 2074else
2083 eval "$3=no" 2075 eval "$3=no"
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085/* end confdefs.h. */ 2077/* end confdefs.h. */
2116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117fi 2109fi
2118eval ac_res=\$$3 2110eval ac_res=\$$3
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120$as_echo "$ac_res" >&6; } 2112$as_echo "$ac_res" >&6; }
2121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2113 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2122 2114
2123} # ac_fn_cxx_check_type 2115} # ac_fn_cxx_check_type
2124 2116
2125# ac_fn_c_find_intX_t LINENO BITS VAR 2117# ac_fn_c_find_intX_t LINENO BITS VAR
2126# ----------------------------------- 2118# -----------------------------------
2129ac_fn_c_find_intX_t () 2121ac_fn_c_find_intX_t ()
2130{ 2122{
2131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2133$as_echo_n "checking for int$2_t... " >&6; } 2125$as_echo_n "checking for int$2_t... " >&6; }
2134if eval \${$3+:} false; then : 2126if eval "test \"\${$3+set}\"" = set; then :
2135 $as_echo_n "(cached) " >&6 2127 $as_echo_n "(cached) " >&6
2136else 2128else
2137 eval "$3=no" 2129 eval "$3=no"
2138 # Order is important - never check a type that is potentially smaller 2130 # Order is important - never check a type that is potentially smaller
2139 # than half of the expected target width. 2131 # than half of the expected target width.
2190 done 2182 done
2191fi 2183fi
2192eval ac_res=\$$3 2184eval ac_res=\$$3
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2194$as_echo "$ac_res" >&6; } 2186$as_echo "$ac_res" >&6; }
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2187 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2196 2188
2197} # ac_fn_c_find_intX_t 2189} # ac_fn_c_find_intX_t
2198 2190
2199# ac_fn_c_find_uintX_t LINENO BITS VAR 2191# ac_fn_c_find_uintX_t LINENO BITS VAR
2200# ------------------------------------ 2192# ------------------------------------
2203ac_fn_c_find_uintX_t () 2195ac_fn_c_find_uintX_t ()
2204{ 2196{
2205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2207$as_echo_n "checking for uint$2_t... " >&6; } 2199$as_echo_n "checking for uint$2_t... " >&6; }
2208if eval \${$3+:} false; then : 2200if eval "test \"\${$3+set}\"" = set; then :
2209 $as_echo_n "(cached) " >&6 2201 $as_echo_n "(cached) " >&6
2210else 2202else
2211 eval "$3=no" 2203 eval "$3=no"
2212 # Order is important - never check a type that is potentially smaller 2204 # Order is important - never check a type that is potentially smaller
2213 # than half of the expected target width. 2205 # than half of the expected target width.
2243 done 2235 done
2244fi 2236fi
2245eval ac_res=\$$3 2237eval ac_res=\$$3
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247$as_echo "$ac_res" >&6; } 2239$as_echo "$ac_res" >&6; }
2248 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2240 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2249 2241
2250} # ac_fn_c_find_uintX_t 2242} # ac_fn_c_find_uintX_t
2251 2243
2252# ac_fn_cxx_try_run LINENO 2244# ac_fn_cxx_try_run LINENO
2253# ------------------------ 2245# ------------------------
2284sed 's/^/| /' conftest.$ac_ext >&5 2276sed 's/^/| /' conftest.$ac_ext >&5
2285 2277
2286 ac_retval=$ac_status 2278 ac_retval=$ac_status
2287fi 2279fi
2288 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2280 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2281 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2290 as_fn_set_status $ac_retval 2282 as_fn_set_status $ac_retval
2291 2283
2292} # ac_fn_cxx_try_run 2284} # ac_fn_cxx_try_run
2293cat >config.log <<_ACEOF 2285cat >config.log <<_ACEOF
2294This file contains any messages produced by compilers while 2286This file contains any messages produced by compilers while
2295running configure, to aid debugging if configure makes a mistake. 2287running configure, to aid debugging if configure makes a mistake.
2296 2288
2297It was created by $as_me, which was 2289It was created by $as_me, which was
2298generated by GNU Autoconf 2.68. Invocation command line was 2290generated by GNU Autoconf 2.67. Invocation command line was
2299 2291
2300 $ $0 $@ 2292 $ $0 $@
2301 2293
2302_ACEOF 2294_ACEOF
2303exec 5>>config.log 2295exec 5>>config.log
2551 sed 's/^/| /' "$ac_site_file" >&5 2543 sed 's/^/| /' "$ac_site_file" >&5
2552 . "$ac_site_file" \ 2544 . "$ac_site_file" \
2553 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2545 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555as_fn_error $? "failed to load site script $ac_site_file 2547as_fn_error $? "failed to load site script $ac_site_file
2556See \`config.log' for more details" "$LINENO" 5; } 2548See \`config.log' for more details" "$LINENO" 5 ; }
2557 fi 2549 fi
2558done 2550done
2559 2551
2560if test -r "$cache_file"; then 2552if test -r "$cache_file"; then
2561 # Some versions of bash will fail to source /dev/null (special files 2553 # Some versions of bash will fail to source /dev/null (special files
2680$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2672$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2681 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2673 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2682 2674
2683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2684$as_echo_n "checking build system type... " >&6; } 2676$as_echo_n "checking build system type... " >&6; }
2685if ${ac_cv_build+:} false; then : 2677if test "${ac_cv_build+set}" = set; then :
2686 $as_echo_n "(cached) " >&6 2678 $as_echo_n "(cached) " >&6
2687else 2679else
2688 ac_build_alias=$build_alias 2680 ac_build_alias=$build_alias
2689test "x$ac_build_alias" = x && 2681test "x$ac_build_alias" = x &&
2690 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2682 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2696fi 2688fi
2697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2698$as_echo "$ac_cv_build" >&6; } 2690$as_echo "$ac_cv_build" >&6; }
2699case $ac_cv_build in 2691case $ac_cv_build in
2700*-*-*) ;; 2692*-*-*) ;;
2701*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2693*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2702esac 2694esac
2703build=$ac_cv_build 2695build=$ac_cv_build
2704ac_save_IFS=$IFS; IFS='-' 2696ac_save_IFS=$IFS; IFS='-'
2705set x $ac_cv_build 2697set x $ac_cv_build
2706shift 2698shift
2714case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2706case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2715 2707
2716 2708
2717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2718$as_echo_n "checking host system type... " >&6; } 2710$as_echo_n "checking host system type... " >&6; }
2719if ${ac_cv_host+:} false; then : 2711if test "${ac_cv_host+set}" = set; then :
2720 $as_echo_n "(cached) " >&6 2712 $as_echo_n "(cached) " >&6
2721else 2713else
2722 if test "x$host_alias" = x; then 2714 if test "x$host_alias" = x; then
2723 ac_cv_host=$ac_cv_build 2715 ac_cv_host=$ac_cv_build
2724else 2716else
2729fi 2721fi
2730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2731$as_echo "$ac_cv_host" >&6; } 2723$as_echo "$ac_cv_host" >&6; }
2732case $ac_cv_host in 2724case $ac_cv_host in
2733*-*-*) ;; 2725*-*-*) ;;
2734*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2726*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2735esac 2727esac
2736host=$ac_cv_host 2728host=$ac_cv_host
2737ac_save_IFS=$IFS; IFS='-' 2729ac_save_IFS=$IFS; IFS='-'
2738set x $ac_cv_host 2730set x $ac_cv_host
2739shift 2731shift
2746IFS=$ac_save_IFS 2738IFS=$ac_save_IFS
2747case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2739case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2748 2740
2749 2741
2750 2742
2751VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 2743VERSION=`sed -n -e 's/^.* VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
2752DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 2744DATE=`sed -n -e 's/^.* DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
2753 2745
2754echo "" 2746echo ""
2755echo "configuring for rxvt $VERSION" 2747echo "configuring for rxvt $VERSION"
2756echo "" 2748echo ""
2757 2749
2765if test -n "$ac_tool_prefix"; then 2757if test -n "$ac_tool_prefix"; then
2766 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2767set dummy ${ac_tool_prefix}gcc; ac_word=$2 2759set dummy ${ac_tool_prefix}gcc; ac_word=$2
2768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769$as_echo_n "checking for $ac_word... " >&6; } 2761$as_echo_n "checking for $ac_word... " >&6; }
2770if ${ac_cv_prog_CC+:} false; then : 2762if test "${ac_cv_prog_CC+set}" = set; then :
2771 $as_echo_n "(cached) " >&6 2763 $as_echo_n "(cached) " >&6
2772else 2764else
2773 if test -n "$CC"; then 2765 if test -n "$CC"; then
2774 ac_cv_prog_CC="$CC" # Let the user override the test. 2766 ac_cv_prog_CC="$CC" # Let the user override the test.
2775else 2767else
2805 ac_ct_CC=$CC 2797 ac_ct_CC=$CC
2806 # Extract the first word of "gcc", so it can be a program name with args. 2798 # Extract the first word of "gcc", so it can be a program name with args.
2807set dummy gcc; ac_word=$2 2799set dummy gcc; ac_word=$2
2808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809$as_echo_n "checking for $ac_word... " >&6; } 2801$as_echo_n "checking for $ac_word... " >&6; }
2810if ${ac_cv_prog_ac_ct_CC+:} false; then : 2802if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2811 $as_echo_n "(cached) " >&6 2803 $as_echo_n "(cached) " >&6
2812else 2804else
2813 if test -n "$ac_ct_CC"; then 2805 if test -n "$ac_ct_CC"; then
2814 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2815else 2807else
2858 if test -n "$ac_tool_prefix"; then 2850 if test -n "$ac_tool_prefix"; then
2859 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2851 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2860set dummy ${ac_tool_prefix}cc; ac_word=$2 2852set dummy ${ac_tool_prefix}cc; ac_word=$2
2861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862$as_echo_n "checking for $ac_word... " >&6; } 2854$as_echo_n "checking for $ac_word... " >&6; }
2863if ${ac_cv_prog_CC+:} false; then : 2855if test "${ac_cv_prog_CC+set}" = set; then :
2864 $as_echo_n "(cached) " >&6 2856 $as_echo_n "(cached) " >&6
2865else 2857else
2866 if test -n "$CC"; then 2858 if test -n "$CC"; then
2867 ac_cv_prog_CC="$CC" # Let the user override the test. 2859 ac_cv_prog_CC="$CC" # Let the user override the test.
2868else 2860else
2898if test -z "$CC"; then 2890if test -z "$CC"; then
2899 # Extract the first word of "cc", so it can be a program name with args. 2891 # Extract the first word of "cc", so it can be a program name with args.
2900set dummy cc; ac_word=$2 2892set dummy cc; ac_word=$2
2901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902$as_echo_n "checking for $ac_word... " >&6; } 2894$as_echo_n "checking for $ac_word... " >&6; }
2903if ${ac_cv_prog_CC+:} false; then : 2895if test "${ac_cv_prog_CC+set}" = set; then :
2904 $as_echo_n "(cached) " >&6 2896 $as_echo_n "(cached) " >&6
2905else 2897else
2906 if test -n "$CC"; then 2898 if test -n "$CC"; then
2907 ac_cv_prog_CC="$CC" # Let the user override the test. 2899 ac_cv_prog_CC="$CC" # Let the user override the test.
2908else 2900else
2957 do 2949 do
2958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2950 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2959set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2951set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961$as_echo_n "checking for $ac_word... " >&6; } 2953$as_echo_n "checking for $ac_word... " >&6; }
2962if ${ac_cv_prog_CC+:} false; then : 2954if test "${ac_cv_prog_CC+set}" = set; then :
2963 $as_echo_n "(cached) " >&6 2955 $as_echo_n "(cached) " >&6
2964else 2956else
2965 if test -n "$CC"; then 2957 if test -n "$CC"; then
2966 ac_cv_prog_CC="$CC" # Let the user override the test. 2958 ac_cv_prog_CC="$CC" # Let the user override the test.
2967else 2959else
3001do 2993do
3002 # Extract the first word of "$ac_prog", so it can be a program name with args. 2994 # Extract the first word of "$ac_prog", so it can be a program name with args.
3003set dummy $ac_prog; ac_word=$2 2995set dummy $ac_prog; ac_word=$2
3004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005$as_echo_n "checking for $ac_word... " >&6; } 2997$as_echo_n "checking for $ac_word... " >&6; }
3006if ${ac_cv_prog_ac_ct_CC+:} false; then : 2998if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3007 $as_echo_n "(cached) " >&6 2999 $as_echo_n "(cached) " >&6
3008else 3000else
3009 if test -n "$ac_ct_CC"; then 3001 if test -n "$ac_ct_CC"; then
3010 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3011else 3003else
3056 3048
3057 3049
3058test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3050test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3060as_fn_error $? "no acceptable C compiler found in \$PATH 3052as_fn_error $? "no acceptable C compiler found in \$PATH
3061See \`config.log' for more details" "$LINENO" 5; } 3053See \`config.log' for more details" "$LINENO" 5 ; }
3062 3054
3063# Provide some information about the compiler. 3055# Provide some information about the compiler.
3064$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3056$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3065set X $ac_compile 3057set X $ac_compile
3066ac_compiler=$2 3058ac_compiler=$2
3171sed 's/^/| /' conftest.$ac_ext >&5 3163sed 's/^/| /' conftest.$ac_ext >&5
3172 3164
3173{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3165{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3174$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3166$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3175as_fn_error 77 "C compiler cannot create executables 3167as_fn_error 77 "C compiler cannot create executables
3176See \`config.log' for more details" "$LINENO" 5; } 3168See \`config.log' for more details" "$LINENO" 5 ; }
3177else 3169else
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3179$as_echo "yes" >&6; } 3171$as_echo "yes" >&6; }
3180fi 3172fi
3181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3214done 3206done
3215else 3207else
3216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3210as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3219See \`config.log' for more details" "$LINENO" 5; } 3211See \`config.log' for more details" "$LINENO" 5 ; }
3220fi 3212fi
3221rm -f conftest conftest$ac_cv_exeext 3213rm -f conftest conftest$ac_cv_exeext
3222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3223$as_echo "$ac_cv_exeext" >&6; } 3215$as_echo "$ac_cv_exeext" >&6; }
3224 3216
3273 else 3265 else
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276as_fn_error $? "cannot run C compiled programs. 3268as_fn_error $? "cannot run C compiled programs.
3277If you meant to cross compile, use \`--host'. 3269If you meant to cross compile, use \`--host'.
3278See \`config.log' for more details" "$LINENO" 5; } 3270See \`config.log' for more details" "$LINENO" 5 ; }
3279 fi 3271 fi
3280 fi 3272 fi
3281fi 3273fi
3282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3283$as_echo "$cross_compiling" >&6; } 3275$as_echo "$cross_compiling" >&6; }
3284 3276
3285rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3277rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3286ac_clean_files=$ac_clean_files_save 3278ac_clean_files=$ac_clean_files_save
3287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3288$as_echo_n "checking for suffix of object files... " >&6; } 3280$as_echo_n "checking for suffix of object files... " >&6; }
3289if ${ac_cv_objext+:} false; then : 3281if test "${ac_cv_objext+set}" = set; then :
3290 $as_echo_n "(cached) " >&6 3282 $as_echo_n "(cached) " >&6
3291else 3283else
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293/* end confdefs.h. */ 3285/* end confdefs.h. */
3294 3286
3325sed 's/^/| /' conftest.$ac_ext >&5 3317sed 's/^/| /' conftest.$ac_ext >&5
3326 3318
3327{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3319{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3320$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329as_fn_error $? "cannot compute suffix of object files: cannot compile 3321as_fn_error $? "cannot compute suffix of object files: cannot compile
3330See \`config.log' for more details" "$LINENO" 5; } 3322See \`config.log' for more details" "$LINENO" 5 ; }
3331fi 3323fi
3332rm -f conftest.$ac_cv_objext conftest.$ac_ext 3324rm -f conftest.$ac_cv_objext conftest.$ac_ext
3333fi 3325fi
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3335$as_echo "$ac_cv_objext" >&6; } 3327$as_echo "$ac_cv_objext" >&6; }
3336OBJEXT=$ac_cv_objext 3328OBJEXT=$ac_cv_objext
3337ac_objext=$OBJEXT 3329ac_objext=$OBJEXT
3338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3339$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3331$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3340if ${ac_cv_c_compiler_gnu+:} false; then : 3332if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3341 $as_echo_n "(cached) " >&6 3333 $as_echo_n "(cached) " >&6
3342else 3334else
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344/* end confdefs.h. */ 3336/* end confdefs.h. */
3345 3337
3372fi 3364fi
3373ac_test_CFLAGS=${CFLAGS+set} 3365ac_test_CFLAGS=${CFLAGS+set}
3374ac_save_CFLAGS=$CFLAGS 3366ac_save_CFLAGS=$CFLAGS
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3376$as_echo_n "checking whether $CC accepts -g... " >&6; } 3368$as_echo_n "checking whether $CC accepts -g... " >&6; }
3377if ${ac_cv_prog_cc_g+:} false; then : 3369if test "${ac_cv_prog_cc_g+set}" = set; then :
3378 $as_echo_n "(cached) " >&6 3370 $as_echo_n "(cached) " >&6
3379else 3371else
3380 ac_save_c_werror_flag=$ac_c_werror_flag 3372 ac_save_c_werror_flag=$ac_c_werror_flag
3381 ac_c_werror_flag=yes 3373 ac_c_werror_flag=yes
3382 ac_cv_prog_cc_g=no 3374 ac_cv_prog_cc_g=no
3450 CFLAGS= 3442 CFLAGS=
3451 fi 3443 fi
3452fi 3444fi
3453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3454$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3446$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3455if ${ac_cv_prog_cc_c89+:} false; then : 3447if test "${ac_cv_prog_cc_c89+set}" = set; then :
3456 $as_echo_n "(cached) " >&6 3448 $as_echo_n "(cached) " >&6
3457else 3449else
3458 ac_cv_prog_cc_c89=no 3450 ac_cv_prog_cc_c89=no
3459ac_save_CC=$CC 3451ac_save_CC=$CC
3460cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 do 3553 do
3562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3563set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3555set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565$as_echo_n "checking for $ac_word... " >&6; } 3557$as_echo_n "checking for $ac_word... " >&6; }
3566if ${ac_cv_prog_CXX+:} false; then : 3558if test "${ac_cv_prog_CXX+set}" = set; then :
3567 $as_echo_n "(cached) " >&6 3559 $as_echo_n "(cached) " >&6
3568else 3560else
3569 if test -n "$CXX"; then 3561 if test -n "$CXX"; then
3570 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3562 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3571else 3563else
3605do 3597do
3606 # Extract the first word of "$ac_prog", so it can be a program name with args. 3598 # Extract the first word of "$ac_prog", so it can be a program name with args.
3607set dummy $ac_prog; ac_word=$2 3599set dummy $ac_prog; ac_word=$2
3608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609$as_echo_n "checking for $ac_word... " >&6; } 3601$as_echo_n "checking for $ac_word... " >&6; }
3610if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3602if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3611 $as_echo_n "(cached) " >&6 3603 $as_echo_n "(cached) " >&6
3612else 3604else
3613 if test -n "$ac_ct_CXX"; then 3605 if test -n "$ac_ct_CXX"; then
3614 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3606 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3615else 3607else
3683 test $ac_status = 0; } 3675 test $ac_status = 0; }
3684done 3676done
3685 3677
3686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3687$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3679$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3688if ${ac_cv_cxx_compiler_gnu+:} false; then : 3680if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3689 $as_echo_n "(cached) " >&6 3681 $as_echo_n "(cached) " >&6
3690else 3682else
3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692/* end confdefs.h. */ 3684/* end confdefs.h. */
3693 3685
3720fi 3712fi
3721ac_test_CXXFLAGS=${CXXFLAGS+set} 3713ac_test_CXXFLAGS=${CXXFLAGS+set}
3722ac_save_CXXFLAGS=$CXXFLAGS 3714ac_save_CXXFLAGS=$CXXFLAGS
3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3724$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3716$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3725if ${ac_cv_prog_cxx_g+:} false; then : 3717if test "${ac_cv_prog_cxx_g+set}" = set; then :
3726 $as_echo_n "(cached) " >&6 3718 $as_echo_n "(cached) " >&6
3727else 3719else
3728 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3720 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3729 ac_cxx_werror_flag=yes 3721 ac_cxx_werror_flag=yes
3730 ac_cv_prog_cxx_g=no 3722 ac_cv_prog_cxx_g=no
3814# On Suns, sometimes $CPP names a directory. 3806# On Suns, sometimes $CPP names a directory.
3815if test -n "$CPP" && test -d "$CPP"; then 3807if test -n "$CPP" && test -d "$CPP"; then
3816 CPP= 3808 CPP=
3817fi 3809fi
3818if test -z "$CPP"; then 3810if test -z "$CPP"; then
3819 if ${ac_cv_prog_CPP+:} false; then : 3811 if test "${ac_cv_prog_CPP+set}" = set; then :
3820 $as_echo_n "(cached) " >&6 3812 $as_echo_n "(cached) " >&6
3821else 3813else
3822 # Double quotes because CPP needs to be expanded 3814 # Double quotes because CPP needs to be expanded
3823 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3815 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3824 do 3816 do
3930 3922
3931else 3923else
3932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3925$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3934as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3926as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3935See \`config.log' for more details" "$LINENO" 5; } 3927See \`config.log' for more details" "$LINENO" 5 ; }
3936fi 3928fi
3937 3929
3938ac_ext=c 3930ac_ext=c
3939ac_cpp='$CPP $CPPFLAGS' 3931ac_cpp='$CPP $CPPFLAGS'
3940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956# ./install, which can be erroneously created by make from ./install.sh. 3948# ./install, which can be erroneously created by make from ./install.sh.
3957# Reject install programs that cannot install multiple files. 3949# Reject install programs that cannot install multiple files.
3958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3959$as_echo_n "checking for a BSD-compatible install... " >&6; } 3951$as_echo_n "checking for a BSD-compatible install... " >&6; }
3960if test -z "$INSTALL"; then 3952if test -z "$INSTALL"; then
3961if ${ac_cv_path_install+:} false; then : 3953if test "${ac_cv_path_install+set}" = set; then :
3962 $as_echo_n "(cached) " >&6 3954 $as_echo_n "(cached) " >&6
3963else 3955else
3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965for as_dir in $PATH 3957for as_dir in $PATH
3966do 3958do
4037 4029
4038 4030
4039 4031
4040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4041$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4033$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4042if ${ac_cv_path_GREP+:} false; then : 4034if test "${ac_cv_path_GREP+set}" = set; then :
4043 $as_echo_n "(cached) " >&6 4035 $as_echo_n "(cached) " >&6
4044else 4036else
4045 if test -z "$GREP"; then 4037 if test -z "$GREP"; then
4046 ac_path_GREP_found=false 4038 ac_path_GREP_found=false
4047 # Loop through the user's path and test for each of PROGNAME-LIST 4039 # Loop through the user's path and test for each of PROGNAME-LIST
4100 GREP="$ac_cv_path_GREP" 4092 GREP="$ac_cv_path_GREP"
4101 4093
4102 4094
4103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4104$as_echo_n "checking for egrep... " >&6; } 4096$as_echo_n "checking for egrep... " >&6; }
4105if ${ac_cv_path_EGREP+:} false; then : 4097if test "${ac_cv_path_EGREP+set}" = set; then :
4106 $as_echo_n "(cached) " >&6 4098 $as_echo_n "(cached) " >&6
4107else 4099else
4108 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4100 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4109 then ac_cv_path_EGREP="$GREP -E" 4101 then ac_cv_path_EGREP="$GREP -E"
4110 else 4102 else
4167 EGREP="$ac_cv_path_EGREP" 4159 EGREP="$ac_cv_path_EGREP"
4168 4160
4169 4161
4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4171$as_echo_n "checking for ANSI C header files... " >&6; } 4163$as_echo_n "checking for ANSI C header files... " >&6; }
4172if ${ac_cv_header_stdc+:} false; then : 4164if test "${ac_cv_header_stdc+set}" = set; then :
4173 $as_echo_n "(cached) " >&6 4165 $as_echo_n "(cached) " >&6
4174else 4166else
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176/* end confdefs.h. */ 4168/* end confdefs.h. */
4177#include <stdlib.h> 4169#include <stdlib.h>
4296done 4288done
4297 4289
4298 4290
4299 4291
4300 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4292 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4301if test "x$ac_cv_header_minix_config_h" = xyes; then : 4293if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4302 MINIX=yes 4294 MINIX=yes
4303else 4295else
4304 MINIX= 4296 MINIX=
4305fi 4297fi
4306 4298
4318 fi 4310 fi
4319 4311
4320 4312
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4322$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4314$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4323if ${ac_cv_safe_to_define___extensions__+:} false; then : 4315if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4324 $as_echo_n "(cached) " >&6 4316 $as_echo_n "(cached) " >&6
4325else 4317else
4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327/* end confdefs.h. */ 4319/* end confdefs.h. */
4328 4320
4359 4351
4360 4352
4361 4353
4362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4363$as_echo_n "checking for library containing strerror... " >&6; } 4355$as_echo_n "checking for library containing strerror... " >&6; }
4364if ${ac_cv_search_strerror+:} false; then : 4356if test "${ac_cv_search_strerror+set}" = set; then :
4365 $as_echo_n "(cached) " >&6 4357 $as_echo_n "(cached) " >&6
4366else 4358else
4367 ac_func_search_save_LIBS=$LIBS 4359 ac_func_search_save_LIBS=$LIBS
4368cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369/* end confdefs.h. */ 4361/* end confdefs.h. */
4393 if ac_fn_c_try_link "$LINENO"; then : 4385 if ac_fn_c_try_link "$LINENO"; then :
4394 ac_cv_search_strerror=$ac_res 4386 ac_cv_search_strerror=$ac_res
4395fi 4387fi
4396rm -f core conftest.err conftest.$ac_objext \ 4388rm -f core conftest.err conftest.$ac_objext \
4397 conftest$ac_exeext 4389 conftest$ac_exeext
4398 if ${ac_cv_search_strerror+:} false; then : 4390 if test "${ac_cv_search_strerror+set}" = set; then :
4399 break 4391 break
4400fi 4392fi
4401done 4393done
4402if ${ac_cv_search_strerror+:} false; then : 4394if test "${ac_cv_search_strerror+set}" = set; then :
4403 4395
4404else 4396else
4405 ac_cv_search_strerror=no 4397 ac_cv_search_strerror=no
4406fi 4398fi
4407rm conftest.$ac_ext 4399rm conftest.$ac_ext
4420ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4412ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4421ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4413ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4422ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4414ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4423 4415
4424 4416
4417LINKER="$CXX"
4425if test x$GCC = xyes && test x$GXX = xyes; then 4418if test x$GCC = xyes && test x$GXX = xyes; then
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5
4427$as_echo_n "checking for working libsupc++... " >&6; } 4420$as_echo_n "checking for working libsupc++... " >&6; }
4428 save_CXX="$CXX" 4421 save_CXX="$CXX"
4429 save_LIBS="$LIBS" 4422 save_LIBS="$LIBS"
4430 CXX="$CC" 4423 CXX="$CC"
4431 LIBS="$LIBS -lsupc++" 4424 LIBS="$LIBS -lsupc++"
4432 LINKER="$CC"
4433 4425
4434cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4426cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435/* end confdefs.h. */ 4427/* end confdefs.h. */
4436struct test { }; void f() try { throw new test; } catch (...) { throw; } 4428struct test { }; void f() try { throw new test; } catch (...) { throw; }
4437int 4429int
4443} 4435}
4444_ACEOF 4436_ACEOF
4445if ac_fn_cxx_try_link "$LINENO"; then : 4437if ac_fn_cxx_try_link "$LINENO"; then :
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4447$as_echo "ok" >&6; } 4439$as_echo "ok" >&6; }
4440 LINKER="$CC"
4448else 4441else
4449 4442
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5
4451$as_echo "no, making everything bigger and slower" >&6; } 4444$as_echo "no, making everything bigger and slower" >&6; }
4452 LIBS="$save_LIBS" 4445 LIBS="$save_LIBS"
4453 LINKER="$save_CXX"
4454 4446
4455 4447
4456fi 4448fi
4457rm -f core conftest.err conftest.$ac_objext \ 4449rm -f core conftest.err conftest.$ac_objext \
4458 conftest$ac_exeext conftest.$ac_ext 4450 conftest$ac_exeext conftest.$ac_ext
4485 CXXFLAGS="-O" 4477 CXXFLAGS="-O"
4486 fi 4478 fi
4487 CFLAGS="$CXXFLAGS" 4479 CFLAGS="$CXXFLAGS"
4488fi 4480fi
4489 4481
4490case $host in
4491 *-*-solaris* )
4492
4493$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
4494
4495 ;;
4496esac
4497
4498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 4482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5
4499$as_echo_n "checking for library containing setlocale... " >&6; } 4483$as_echo_n "checking for library containing setlocale... " >&6; }
4500if ${ac_cv_search_setlocale+:} false; then : 4484if test "${ac_cv_search_setlocale+set}" = set; then :
4501 $as_echo_n "(cached) " >&6 4485 $as_echo_n "(cached) " >&6
4502else 4486else
4503 ac_func_search_save_LIBS=$LIBS 4487 ac_func_search_save_LIBS=$LIBS
4504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4488cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505/* end confdefs.h. */ 4489/* end confdefs.h. */
4529 if ac_fn_cxx_try_link "$LINENO"; then : 4513 if ac_fn_cxx_try_link "$LINENO"; then :
4530 ac_cv_search_setlocale=$ac_res 4514 ac_cv_search_setlocale=$ac_res
4531fi 4515fi
4532rm -f core conftest.err conftest.$ac_objext \ 4516rm -f core conftest.err conftest.$ac_objext \
4533 conftest$ac_exeext 4517 conftest$ac_exeext
4534 if ${ac_cv_search_setlocale+:} false; then : 4518 if test "${ac_cv_search_setlocale+set}" = set; then :
4535 break 4519 break
4536fi 4520fi
4537done 4521done
4538if ${ac_cv_search_setlocale+:} false; then : 4522if test "${ac_cv_search_setlocale+set}" = set; then :
4539 4523
4540else 4524else
4541 ac_cv_search_setlocale=no 4525 ac_cv_search_setlocale=no
4542fi 4526fi
4543rm conftest.$ac_ext 4527rm conftest.$ac_ext
4552fi 4536fi
4553 4537
4554 4538
4555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 4539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
4556$as_echo_n "checking for library containing gethostbyname... " >&6; } 4540$as_echo_n "checking for library containing gethostbyname... " >&6; }
4557if ${ac_cv_search_gethostbyname+:} false; then : 4541if test "${ac_cv_search_gethostbyname+set}" = set; then :
4558 $as_echo_n "(cached) " >&6 4542 $as_echo_n "(cached) " >&6
4559else 4543else
4560 ac_func_search_save_LIBS=$LIBS 4544 ac_func_search_save_LIBS=$LIBS
4561cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562/* end confdefs.h. */ 4546/* end confdefs.h. */
4586 if ac_fn_cxx_try_link "$LINENO"; then : 4570 if ac_fn_cxx_try_link "$LINENO"; then :
4587 ac_cv_search_gethostbyname=$ac_res 4571 ac_cv_search_gethostbyname=$ac_res
4588fi 4572fi
4589rm -f core conftest.err conftest.$ac_objext \ 4573rm -f core conftest.err conftest.$ac_objext \
4590 conftest$ac_exeext 4574 conftest$ac_exeext
4591 if ${ac_cv_search_gethostbyname+:} false; then : 4575 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4592 break 4576 break
4593fi 4577fi
4594done 4578done
4595if ${ac_cv_search_gethostbyname+:} false; then : 4579if test "${ac_cv_search_gethostbyname+set}" = set; then :
4596 4580
4597else 4581else
4598 ac_cv_search_gethostbyname=no 4582 ac_cv_search_gethostbyname=no
4599fi 4583fi
4600rm conftest.$ac_ext 4584rm conftest.$ac_ext
4608 4592
4609fi 4593fi
4610 4594
4611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 4595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
4612$as_echo_n "checking for library containing socket... " >&6; } 4596$as_echo_n "checking for library containing socket... " >&6; }
4613if ${ac_cv_search_socket+:} false; then : 4597if test "${ac_cv_search_socket+set}" = set; then :
4614 $as_echo_n "(cached) " >&6 4598 $as_echo_n "(cached) " >&6
4615else 4599else
4616 ac_func_search_save_LIBS=$LIBS 4600 ac_func_search_save_LIBS=$LIBS
4617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618/* end confdefs.h. */ 4602/* end confdefs.h. */
4642 if ac_fn_cxx_try_link "$LINENO"; then : 4626 if ac_fn_cxx_try_link "$LINENO"; then :
4643 ac_cv_search_socket=$ac_res 4627 ac_cv_search_socket=$ac_res
4644fi 4628fi
4645rm -f core conftest.err conftest.$ac_objext \ 4629rm -f core conftest.err conftest.$ac_objext \
4646 conftest$ac_exeext 4630 conftest$ac_exeext
4647 if ${ac_cv_search_socket+:} false; then : 4631 if test "${ac_cv_search_socket+set}" = set; then :
4648 break 4632 break
4649fi 4633fi
4650done 4634done
4651if ${ac_cv_search_socket+:} false; then : 4635if test "${ac_cv_search_socket+set}" = set; then :
4652 4636
4653else 4637else
4654 ac_cv_search_socket=no 4638 ac_cv_search_socket=no
4655fi 4639fi
4656rm conftest.$ac_ext 4640rm conftest.$ac_ext
4678support_scroll_next=yes 4662support_scroll_next=yes
4679support_scroll_xterm=yes 4663support_scroll_xterm=yes
4680support_xim=yes 4664support_xim=yes
4681support_pixbuf=yes 4665support_pixbuf=yes
4682support_startup_notification=yes 4666support_startup_notification=yes
4683support_afterimage=yes
4684support_xft=yes 4667support_xft=yes
4685support_unicode3=no 4668support_unicode3=no
4686support_combining=yes 4669support_combining=yes
4687support_8bitctrls=no 4670support_8bitctrls=no
4688support_iso14755=yes 4671support_iso14755=yes
4711 support_utmp=no 4694 support_utmp=no
4712 support_wtmp=no 4695 support_wtmp=no
4713 support_xim=no 4696 support_xim=no
4714 support_pixbuf=no 4697 support_pixbuf=no
4715 support_startup_notification=no 4698 support_startup_notification=no
4716 support_afterimage=no
4717 support_xft=no 4699 support_xft=no
4718 support_unicode3=no 4700 support_unicode3=no
4719 support_combining=no 4701 support_combining=no
4720 support_8bitctrls=no 4702 support_8bitctrls=no
4721 support_iso14755=no 4703 support_iso14755=no
4740 support_utmp=yes 4722 support_utmp=yes
4741 support_wtmp=yes 4723 support_wtmp=yes
4742 support_xim=yes 4724 support_xim=yes
4743 support_pixbuf=yes 4725 support_pixbuf=yes
4744 support_startup_notification=yes 4726 support_startup_notification=yes
4745 support_afterimage=yes
4746 support_xft=yes 4727 support_xft=yes
4747 support_unicode3=yes 4728 support_unicode3=yes
4748 support_combining=yes 4729 support_combining=yes
4749 #support_8bitctrls=yes 4730 #support_8bitctrls=yes
4750 support_iso14755=yes 4731 support_iso14755=yes
4754 fi 4735 fi
4755 4736
4756fi 4737fi
4757 4738
4758 4739
4759ASSERTIONS=no 4740support_assertions=no
4760# Check whether --enable-assert was given. 4741# Check whether --enable-assert was given.
4761if test "${enable_assert+set}" = set; then : 4742if test "${enable_assert+set}" = set; then :
4762 enableval=$enable_assert; if test x$enableval = xyes; then 4743 enableval=$enable_assert; if test x$enableval = xyes; then
4763 ASSERTIONS=yes 4744 support_assertions=yes
4764 fi 4745 fi
4765fi 4746fi
4766 4747
4767if test x$ASSERTIONS = xno; then 4748if test x$support_assertions = xno; then
4768 4749
4769$as_echo "#define NDEBUG 1" >>confdefs.h 4750$as_echo "#define NDEBUG 1" >>confdefs.h
4770 4751
4771fi 4752fi
4772 4753
4773WARNINGS=no 4754support_warnings=no
4774# Check whether --enable-warnings was given. 4755# Check whether --enable-warnings was given.
4775if test "${enable_warnings+set}" = set; then : 4756if test "${enable_warnings+set}" = set; then :
4776 enableval=$enable_warnings; if test x$enableval = xyes; then 4757 enableval=$enable_warnings; if test x$enableval = xyes; then
4777 WARNINGS=yes 4758 support_warnings=yes
4778 fi 4759 fi
4779fi 4760fi
4780 4761
4781if test x$GXX = xyes; then 4762if test x$GXX = xyes; then
4782 if test $WARNINGS = yes; then 4763 if test $support_warnings = yes; then
4783 save_CXXFLAGS="$CXXFLAGS" 4764 save_CXXFLAGS="$CXXFLAGS"
4784 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" 4765 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value"
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786/* end confdefs.h. */ 4767/* end confdefs.h. */
4787 4768
4788int 4769int
4789main () 4770main ()
5163ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5144ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5164ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5145ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 5146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5166$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 5147$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5167if test -z "$CXXCPP"; then 5148if test -z "$CXXCPP"; then
5168 if ${ac_cv_prog_CXXCPP+:} false; then : 5149 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
5169 $as_echo_n "(cached) " >&6 5150 $as_echo_n "(cached) " >&6
5170else 5151else
5171 # Double quotes because CXXCPP needs to be expanded 5152 # Double quotes because CXXCPP needs to be expanded
5172 for CXXCPP in "$CXX -E" "/lib/cpp" 5153 for CXXCPP in "$CXX -E" "/lib/cpp"
5173 do 5154 do
5279 5260
5280else 5261else
5281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5263$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5283as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 5264as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5284See \`config.log' for more details" "$LINENO" 5; } 5265See \`config.log' for more details" "$LINENO" 5 ; }
5285fi 5266fi
5286 5267
5287ac_ext=cpp 5268ac_ext=cpp
5288ac_cpp='$CXXCPP $CPPFLAGS' 5269ac_cpp='$CXXCPP $CPPFLAGS'
5289ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5270ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5319 5300
5320 5301
5321for ac_func in clock_gettime 5302for ac_func in clock_gettime
5322do : 5303do :
5323 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 5304 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5324if test "x$ac_cv_func_clock_gettime" = xyes; then : 5305if test "x$ac_cv_func_clock_gettime" = x""yes; then :
5325 cat >>confdefs.h <<_ACEOF 5306 cat >>confdefs.h <<_ACEOF
5326#define HAVE_CLOCK_GETTIME 1 5307#define HAVE_CLOCK_GETTIME 1
5327_ACEOF 5308_ACEOF
5328 5309
5329else 5310else
5359 conftest$ac_exeext conftest.$ac_ext 5340 conftest$ac_exeext conftest.$ac_ext
5360 fi 5341 fi
5361 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then 5342 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
5363$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 5344$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
5364if ${ac_cv_lib_rt_clock_gettime+:} false; then : 5345if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
5365 $as_echo_n "(cached) " >&6 5346 $as_echo_n "(cached) " >&6
5366else 5347else
5367 ac_check_lib_save_LIBS=$LIBS 5348 ac_check_lib_save_LIBS=$LIBS
5368LIBS="-lrt $LIBS" 5349LIBS="-lrt $LIBS"
5369cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5350cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5393 conftest$ac_exeext conftest.$ac_ext 5374 conftest$ac_exeext conftest.$ac_ext
5394LIBS=$ac_check_lib_save_LIBS 5375LIBS=$ac_check_lib_save_LIBS
5395fi 5376fi
5396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 5377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
5397$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 5378$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
5398if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : 5379if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
5399 cat >>confdefs.h <<_ACEOF 5380 cat >>confdefs.h <<_ACEOF
5400#define HAVE_LIBRT 1 5381#define HAVE_LIBRT 1
5401_ACEOF 5382_ACEOF
5402 5383
5403 LIBS="-lrt $LIBS" 5384 LIBS="-lrt $LIBS"
5406 5387
5407 unset ac_cv_func_clock_gettime 5388 unset ac_cv_func_clock_gettime
5408 for ac_func in clock_gettime 5389 for ac_func in clock_gettime
5409do : 5390do :
5410 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 5391 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5411if test "x$ac_cv_func_clock_gettime" = xyes; then : 5392if test "x$ac_cv_func_clock_gettime" = x""yes; then :
5412 cat >>confdefs.h <<_ACEOF 5393 cat >>confdefs.h <<_ACEOF
5413#define HAVE_CLOCK_GETTIME 1 5394#define HAVE_CLOCK_GETTIME 1
5414_ACEOF 5395_ACEOF
5415 5396
5416fi 5397fi
5423 5404
5424 5405
5425for ac_func in nanosleep 5406for ac_func in nanosleep
5426do : 5407do :
5427 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 5408 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5428if test "x$ac_cv_func_nanosleep" = xyes; then : 5409if test "x$ac_cv_func_nanosleep" = x""yes; then :
5429 cat >>confdefs.h <<_ACEOF 5410 cat >>confdefs.h <<_ACEOF
5430#define HAVE_NANOSLEEP 1 5411#define HAVE_NANOSLEEP 1
5431_ACEOF 5412_ACEOF
5432 5413
5433else 5414else
5434 5415
5435 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 5416 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
5437$as_echo_n "checking for nanosleep in -lrt... " >&6; } 5418$as_echo_n "checking for nanosleep in -lrt... " >&6; }
5438if ${ac_cv_lib_rt_nanosleep+:} false; then : 5419if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
5439 $as_echo_n "(cached) " >&6 5420 $as_echo_n "(cached) " >&6
5440else 5421else
5441 ac_check_lib_save_LIBS=$LIBS 5422 ac_check_lib_save_LIBS=$LIBS
5442LIBS="-lrt $LIBS" 5423LIBS="-lrt $LIBS"
5443cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5424cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5467 conftest$ac_exeext conftest.$ac_ext 5448 conftest$ac_exeext conftest.$ac_ext
5468LIBS=$ac_check_lib_save_LIBS 5449LIBS=$ac_check_lib_save_LIBS
5469fi 5450fi
5470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 5451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
5471$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 5452$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
5472if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : 5453if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
5473 cat >>confdefs.h <<_ACEOF 5454 cat >>confdefs.h <<_ACEOF
5474#define HAVE_LIBRT 1 5455#define HAVE_LIBRT 1
5475_ACEOF 5456_ACEOF
5476 5457
5477 LIBS="-lrt $LIBS" 5458 LIBS="-lrt $LIBS"
5480 5461
5481 unset ac_cv_func_nanosleep 5462 unset ac_cv_func_nanosleep
5482 for ac_func in nanosleep 5463 for ac_func in nanosleep
5483do : 5464do :
5484 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 5465 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5485if test "x$ac_cv_func_nanosleep" = xyes; then : 5466if test "x$ac_cv_func_nanosleep" = x""yes; then :
5486 cat >>confdefs.h <<_ACEOF 5467 cat >>confdefs.h <<_ACEOF
5487#define HAVE_NANOSLEEP 1 5468#define HAVE_NANOSLEEP 1
5488_ACEOF 5469_ACEOF
5489 5470
5490fi 5471fi
5499if test -z "$LIBEV_M4_AVOID_LIBM"; then 5480if test -z "$LIBEV_M4_AVOID_LIBM"; then
5500 LIBM=m 5481 LIBM=m
5501fi 5482fi
5502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 5483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
5503$as_echo_n "checking for library containing floor... " >&6; } 5484$as_echo_n "checking for library containing floor... " >&6; }
5504if ${ac_cv_search_floor+:} false; then : 5485if test "${ac_cv_search_floor+set}" = set; then :
5505 $as_echo_n "(cached) " >&6 5486 $as_echo_n "(cached) " >&6
5506else 5487else
5507 ac_func_search_save_LIBS=$LIBS 5488 ac_func_search_save_LIBS=$LIBS
5508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509/* end confdefs.h. */ 5490/* end confdefs.h. */
5533 if ac_fn_cxx_try_link "$LINENO"; then : 5514 if ac_fn_cxx_try_link "$LINENO"; then :
5534 ac_cv_search_floor=$ac_res 5515 ac_cv_search_floor=$ac_res
5535fi 5516fi
5536rm -f core conftest.err conftest.$ac_objext \ 5517rm -f core conftest.err conftest.$ac_objext \
5537 conftest$ac_exeext 5518 conftest$ac_exeext
5538 if ${ac_cv_search_floor+:} false; then : 5519 if test "${ac_cv_search_floor+set}" = set; then :
5539 break 5520 break
5540fi 5521fi
5541done 5522done
5542if ${ac_cv_search_floor+:} false; then : 5523if test "${ac_cv_search_floor+set}" = set; then :
5543 5524
5544else 5525else
5545 ac_cv_search_floor=no 5526 ac_cv_search_floor=no
5546fi 5527fi
5547rm conftest.$ac_ext 5528rm conftest.$ac_ext
5563 5544
5564# Extract the first word of "tic", so it can be a program name with args. 5545# Extract the first word of "tic", so it can be a program name with args.
5565set dummy tic; ac_word=$2 5546set dummy tic; ac_word=$2
5566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567$as_echo_n "checking for $ac_word... " >&6; } 5548$as_echo_n "checking for $ac_word... " >&6; }
5568if ${ac_cv_path_TIC+:} false; then : 5549if test "${ac_cv_path_TIC+set}" = set; then :
5569 $as_echo_n "(cached) " >&6 5550 $as_echo_n "(cached) " >&6
5570else 5551else
5571 case $TIC in 5552 case $TIC in
5572 [\\/]* | ?:[\\/]*) 5553 [\\/]* | ?:[\\/]*)
5573 ac_cv_path_TIC="$TIC" # Let the user override the test with a path. 5554 ac_cv_path_TIC="$TIC" # Let the user override the test with a path.
5616if test "x$with_x" = xno; then 5597if test "x$with_x" = xno; then
5617 # The user explicitly disabled X. 5598 # The user explicitly disabled X.
5618 have_x=disabled 5599 have_x=disabled
5619else 5600else
5620 case $x_includes,$x_libraries in #( 5601 case $x_includes,$x_libraries in #(
5621 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 5602 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
5622 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 5603 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
5623 $as_echo_n "(cached) " >&6 5604 $as_echo_n "(cached) " >&6
5624else 5605else
5625 # One or both of the vars are not set, and there is no cached value. 5606 # One or both of the vars are not set, and there is no cached value.
5626ac_x_includes=no ac_x_libraries=no 5607ac_x_includes=no ac_x_libraries=no
5627rm -f -r conftest.dir 5608rm -f -r conftest.dir
5894if ac_fn_cxx_try_link "$LINENO"; then : 5875if ac_fn_cxx_try_link "$LINENO"; then :
5895 5876
5896else 5877else
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5898$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 5879$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5899if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 5880if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
5900 $as_echo_n "(cached) " >&6 5881 $as_echo_n "(cached) " >&6
5901else 5882else
5902 ac_check_lib_save_LIBS=$LIBS 5883 ac_check_lib_save_LIBS=$LIBS
5903LIBS="-ldnet $LIBS" 5884LIBS="-ldnet $LIBS"
5904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5885cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 conftest$ac_exeext conftest.$ac_ext 5909 conftest$ac_exeext conftest.$ac_ext
5929LIBS=$ac_check_lib_save_LIBS 5910LIBS=$ac_check_lib_save_LIBS
5930fi 5911fi
5931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 5912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5932$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 5913$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5933if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 5914if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
5934 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 5915 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5935fi 5916fi
5936 5917
5937 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 5918 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5939$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 5920$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5940if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 5921if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
5941 $as_echo_n "(cached) " >&6 5922 $as_echo_n "(cached) " >&6
5942else 5923else
5943 ac_check_lib_save_LIBS=$LIBS 5924 ac_check_lib_save_LIBS=$LIBS
5944LIBS="-ldnet_stub $LIBS" 5925LIBS="-ldnet_stub $LIBS"
5945cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5969 conftest$ac_exeext conftest.$ac_ext 5950 conftest$ac_exeext conftest.$ac_ext
5970LIBS=$ac_check_lib_save_LIBS 5951LIBS=$ac_check_lib_save_LIBS
5971fi 5952fi
5972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 5953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5973$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 5954$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5974if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 5955if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
5975 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 5956 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5976fi 5957fi
5977 5958
5978 fi 5959 fi
5979fi 5960fi
5988 # The nsl library prevents programs from opening the X display 5969 # The nsl library prevents programs from opening the X display
5989 # on Irix 5.2, according to T.E. Dickey. 5970 # on Irix 5.2, according to T.E. Dickey.
5990 # The functions gethostbyname, getservbyname, and inet_addr are 5971 # The functions gethostbyname, getservbyname, and inet_addr are
5991 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 5972 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5992 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 5973 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5993if test "x$ac_cv_func_gethostbyname" = xyes; then : 5974if test "x$ac_cv_func_gethostbyname" = x""yes; then :
5994 5975
5995fi 5976fi
5996 5977
5997 if test $ac_cv_func_gethostbyname = no; then 5978 if test $ac_cv_func_gethostbyname = no; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5999$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 5980$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
6000if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 5981if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
6001 $as_echo_n "(cached) " >&6 5982 $as_echo_n "(cached) " >&6
6002else 5983else
6003 ac_check_lib_save_LIBS=$LIBS 5984 ac_check_lib_save_LIBS=$LIBS
6004LIBS="-lnsl $LIBS" 5985LIBS="-lnsl $LIBS"
6005cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5986cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6029 conftest$ac_exeext conftest.$ac_ext 6010 conftest$ac_exeext conftest.$ac_ext
6030LIBS=$ac_check_lib_save_LIBS 6011LIBS=$ac_check_lib_save_LIBS
6031fi 6012fi
6032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 6013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
6033$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 6014$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
6034if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 6015if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
6035 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 6016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
6036fi 6017fi
6037 6018
6038 if test $ac_cv_lib_nsl_gethostbyname = no; then 6019 if test $ac_cv_lib_nsl_gethostbyname = no; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
6040$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 6021$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
6041if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 6022if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
6042 $as_echo_n "(cached) " >&6 6023 $as_echo_n "(cached) " >&6
6043else 6024else
6044 ac_check_lib_save_LIBS=$LIBS 6025 ac_check_lib_save_LIBS=$LIBS
6045LIBS="-lbsd $LIBS" 6026LIBS="-lbsd $LIBS"
6046cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6070 conftest$ac_exeext conftest.$ac_ext 6051 conftest$ac_exeext conftest.$ac_ext
6071LIBS=$ac_check_lib_save_LIBS 6052LIBS=$ac_check_lib_save_LIBS
6072fi 6053fi
6073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 6054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
6074$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 6055$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
6075if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 6056if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
6076 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 6057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
6077fi 6058fi
6078 6059
6079 fi 6060 fi
6080 fi 6061 fi
6085 # on later versions), says Simon Leinen: it contains gethostby* 6066 # on later versions), says Simon Leinen: it contains gethostby*
6086 # variants that don't use the name server (or something). -lsocket 6067 # variants that don't use the name server (or something). -lsocket
6087 # must be given before -lnsl if both are needed. We assume that 6068 # must be given before -lnsl if both are needed. We assume that
6088 # if connect needs -lnsl, so does gethostbyname. 6069 # if connect needs -lnsl, so does gethostbyname.
6089 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" 6070 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect"
6090if test "x$ac_cv_func_connect" = xyes; then : 6071if test "x$ac_cv_func_connect" = x""yes; then :
6091 6072
6092fi 6073fi
6093 6074
6094 if test $ac_cv_func_connect = no; then 6075 if test $ac_cv_func_connect = no; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
6096$as_echo_n "checking for connect in -lsocket... " >&6; } 6077$as_echo_n "checking for connect in -lsocket... " >&6; }
6097if ${ac_cv_lib_socket_connect+:} false; then : 6078if test "${ac_cv_lib_socket_connect+set}" = set; then :
6098 $as_echo_n "(cached) " >&6 6079 $as_echo_n "(cached) " >&6
6099else 6080else
6100 ac_check_lib_save_LIBS=$LIBS 6081 ac_check_lib_save_LIBS=$LIBS
6101LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 6082LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
6102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6126 conftest$ac_exeext conftest.$ac_ext 6107 conftest$ac_exeext conftest.$ac_ext
6127LIBS=$ac_check_lib_save_LIBS 6108LIBS=$ac_check_lib_save_LIBS
6128fi 6109fi
6129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 6110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
6130$as_echo "$ac_cv_lib_socket_connect" >&6; } 6111$as_echo "$ac_cv_lib_socket_connect" >&6; }
6131if test "x$ac_cv_lib_socket_connect" = xyes; then : 6112if test "x$ac_cv_lib_socket_connect" = x""yes; then :
6132 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 6113 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
6133fi 6114fi
6134 6115
6135 fi 6116 fi
6136 6117
6137 # Guillermo Gomez says -lposix is necessary on A/UX. 6118 # Guillermo Gomez says -lposix is necessary on A/UX.
6138 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" 6119 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove"
6139if test "x$ac_cv_func_remove" = xyes; then : 6120if test "x$ac_cv_func_remove" = x""yes; then :
6140 6121
6141fi 6122fi
6142 6123
6143 if test $ac_cv_func_remove = no; then 6124 if test $ac_cv_func_remove = no; then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
6145$as_echo_n "checking for remove in -lposix... " >&6; } 6126$as_echo_n "checking for remove in -lposix... " >&6; }
6146if ${ac_cv_lib_posix_remove+:} false; then : 6127if test "${ac_cv_lib_posix_remove+set}" = set; then :
6147 $as_echo_n "(cached) " >&6 6128 $as_echo_n "(cached) " >&6
6148else 6129else
6149 ac_check_lib_save_LIBS=$LIBS 6130 ac_check_lib_save_LIBS=$LIBS
6150LIBS="-lposix $LIBS" 6131LIBS="-lposix $LIBS"
6151cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 conftest$ac_exeext conftest.$ac_ext 6156 conftest$ac_exeext conftest.$ac_ext
6176LIBS=$ac_check_lib_save_LIBS 6157LIBS=$ac_check_lib_save_LIBS
6177fi 6158fi
6178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 6159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
6179$as_echo "$ac_cv_lib_posix_remove" >&6; } 6160$as_echo "$ac_cv_lib_posix_remove" >&6; }
6180if test "x$ac_cv_lib_posix_remove" = xyes; then : 6161if test "x$ac_cv_lib_posix_remove" = x""yes; then :
6181 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 6162 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6182fi 6163fi
6183 6164
6184 fi 6165 fi
6185 6166
6186 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6167 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6187 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 6168 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
6188if test "x$ac_cv_func_shmat" = xyes; then : 6169if test "x$ac_cv_func_shmat" = x""yes; then :
6189 6170
6190fi 6171fi
6191 6172
6192 if test $ac_cv_func_shmat = no; then 6173 if test $ac_cv_func_shmat = no; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
6194$as_echo_n "checking for shmat in -lipc... " >&6; } 6175$as_echo_n "checking for shmat in -lipc... " >&6; }
6195if ${ac_cv_lib_ipc_shmat+:} false; then : 6176if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
6196 $as_echo_n "(cached) " >&6 6177 $as_echo_n "(cached) " >&6
6197else 6178else
6198 ac_check_lib_save_LIBS=$LIBS 6179 ac_check_lib_save_LIBS=$LIBS
6199LIBS="-lipc $LIBS" 6180LIBS="-lipc $LIBS"
6200cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6181cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6224 conftest$ac_exeext conftest.$ac_ext 6205 conftest$ac_exeext conftest.$ac_ext
6225LIBS=$ac_check_lib_save_LIBS 6206LIBS=$ac_check_lib_save_LIBS
6226fi 6207fi
6227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 6208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
6228$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 6209$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
6229if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 6210if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
6230 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 6211 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
6231fi 6212fi
6232 6213
6233 fi 6214 fi
6234 fi 6215 fi
6242 # These have to be linked with before -lX11, unlike the other 6223 # These have to be linked with before -lX11, unlike the other
6243 # libraries we check for below, so use a different variable. 6224 # libraries we check for below, so use a different variable.
6244 # John Interrante, Karl Berry 6225 # John Interrante, Karl Berry
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
6246$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 6227$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
6247if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 6228if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
6248 $as_echo_n "(cached) " >&6 6229 $as_echo_n "(cached) " >&6
6249else 6230else
6250 ac_check_lib_save_LIBS=$LIBS 6231 ac_check_lib_save_LIBS=$LIBS
6251LIBS="-lICE $X_EXTRA_LIBS $LIBS" 6232LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6276 conftest$ac_exeext conftest.$ac_ext 6257 conftest$ac_exeext conftest.$ac_ext
6277LIBS=$ac_check_lib_save_LIBS 6258LIBS=$ac_check_lib_save_LIBS
6278fi 6259fi
6279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 6260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6280$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 6261$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6281if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 6262if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
6282 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 6263 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
6283fi 6264fi
6284 6265
6285 LDFLAGS=$ac_save_LDFLAGS 6266 LDFLAGS=$ac_save_LDFLAGS
6286 6267
6296 support_pixbuf=no 6277 support_pixbuf=no
6297 # Extract the first word of "pkg-config", so it can be a program name with args. 6278 # Extract the first word of "pkg-config", so it can be a program name with args.
6298set dummy pkg-config; ac_word=$2 6279set dummy pkg-config; ac_word=$2
6299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300$as_echo_n "checking for $ac_word... " >&6; } 6281$as_echo_n "checking for $ac_word... " >&6; }
6301if ${ac_cv_path_PKG_CONFIG+:} false; then : 6282if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6302 $as_echo_n "(cached) " >&6 6283 $as_echo_n "(cached) " >&6
6303else 6284else
6304 case $PKG_CONFIG in 6285 case $PKG_CONFIG in
6305 [\\/]* | ?:[\\/]*) 6286 [\\/]* | ?:[\\/]*)
6306 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6287 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6370 support_startup_notification=no 6351 support_startup_notification=no
6371 # Extract the first word of "pkg-config", so it can be a program name with args. 6352 # Extract the first word of "pkg-config", so it can be a program name with args.
6372set dummy pkg-config; ac_word=$2 6353set dummy pkg-config; ac_word=$2
6373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374$as_echo_n "checking for $ac_word... " >&6; } 6355$as_echo_n "checking for $ac_word... " >&6; }
6375if ${ac_cv_path_PKG_CONFIG+:} false; then : 6356if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6376 $as_echo_n "(cached) " >&6 6357 $as_echo_n "(cached) " >&6
6377else 6358else
6378 case $PKG_CONFIG in 6359 case $PKG_CONFIG in
6379 [\\/]* | ?:[\\/]*) 6360 [\\/]* | ?:[\\/]*)
6380 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6361 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6432 6413
6433 6414
6434 6415
6435AFTERIMAGE_CFLAGS= 6416AFTERIMAGE_CFLAGS=
6436AFTERIMAGE_LIBS= 6417AFTERIMAGE_LIBS=
6437AFTERIMAGE_VERSION=
6438 6418
6439if test x$support_afterimage = xyes; then 6419if test x$support_afterimage = xyes; then
6440 support_afterimage=no 6420 support_afterimage=no
6441 6421
6442 if test "x$afterimage_config" = "x" ; then 6422 if test "x$afterimage_config" = "x" ; then
6443 # Extract the first word of "afterimage-config", so it can be a program name with args. 6423 # Extract the first word of "afterimage-config", so it can be a program name with args.
6444set dummy afterimage-config; ac_word=$2 6424set dummy afterimage-config; ac_word=$2
6445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446$as_echo_n "checking for $ac_word... " >&6; } 6426$as_echo_n "checking for $ac_word... " >&6; }
6447if ${ac_cv_path_afterimage_config+:} false; then : 6427if test "${ac_cv_path_afterimage_config+set}" = set; then :
6448 $as_echo_n "(cached) " >&6 6428 $as_echo_n "(cached) " >&6
6449else 6429else
6450 case $afterimage_config in 6430 case $afterimage_config in
6451 [\\/]* | ?:[\\/]*) 6431 [\\/]* | ?:[\\/]*)
6452 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. 6432 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6483 6463
6484 fi 6464 fi
6485 if test "x$afterimage_config" != "xno" ; then 6465 if test "x$afterimage_config" != "xno" ; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5
6487$as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } 6467$as_echo_n "checking for libAfterImage version >= 1.15... " >&6; }
6488 xAFTERIMAGE_VERSION=`$afterimage_config --version` 6468 AFTERIMAGE_VERSION=`$afterimage_config --version`
6489 if test -n "$xAFTERIMAGE_VERSION" ; then 6469 if test -n "$AFTERIMAGE_VERSION" ; then
6490 xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` 6470 AFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6491 xAFTERIMAGE_LIBS=`$afterimage_config --libs` 6471 AFTERIMAGE_LIBS=`$afterimage_config --libs`
6492 if test "x$xAFTERIMAGE_LIBS" != "x"; then 6472 if test "x$AFTERIMAGE_LIBS" != "x"; then
6493 libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` 6473 libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .`
6494 libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` 6474 libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .`
6495 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then 6475 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
6496 support_afterimage=yes 6476 support_afterimage=yes
6497 AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS"
6498 AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS"
6499 AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION"
6500 fi 6477 fi
6501 fi 6478 fi
6502 fi 6479 fi
6503 if test "x$support_afterimage" = "xyes"; then 6480 if test "x$support_afterimage" = "xyes"; then
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5
6511$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h 6488$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
6512 6489
6513 else 6490 else
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6515$as_echo "no" >&6; } 6492$as_echo "no" >&6; }
6493 AFTERIMAGE_CFLAGS=
6494 AFTERIMAGE_LIBS=
6516 fi 6495 fi
6517 fi 6496 fi
6518fi 6497fi
6519 6498
6520 6499
6525 sys/ioctl.h \ 6504 sys/ioctl.h \
6526 sys/sockio.h \ 6505 sys/sockio.h \
6527 sys/strredir.h \ 6506 sys/strredir.h \
6528 stdint.h \ 6507 stdint.h \
6529 wchar.h \ 6508 wchar.h \
6530 cwchar \
6531 6509
6532do : 6510do :
6533 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6534ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6512ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6535if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6513if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6542done 6520done
6543 6521
6544 6522
6545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 6523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5
6546$as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } 6524$as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; }
6547if ${rxvt_cv_xlib_illegal_access+:} false; then : 6525if test "${rxvt_cv_xlib_illegal_access+set}" = set; then :
6548 $as_echo_n "(cached) " >&6 6526 $as_echo_n "(cached) " >&6
6549else 6527else
6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6551/* end confdefs.h. */ 6529/* end confdefs.h. */
6552 6530
6579$as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h 6557$as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h
6580 6558
6581fi 6559fi
6582 6560
6583ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 6561ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
6584if test "x$ac_cv_type_mode_t" = xyes; then : 6562if test "x$ac_cv_type_mode_t" = x""yes; then :
6585 6563
6586else 6564else
6587 6565
6588cat >>confdefs.h <<_ACEOF 6566cat >>confdefs.h <<_ACEOF
6589#define mode_t int 6567#define mode_t int
6590_ACEOF 6568_ACEOF
6591 6569
6592fi 6570fi
6593 6571
6594ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 6572ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6595if test "x$ac_cv_type_pid_t" = xyes; then : 6573if test "x$ac_cv_type_pid_t" = x""yes; then :
6596 6574
6597else 6575else
6598 6576
6599cat >>confdefs.h <<_ACEOF 6577cat >>confdefs.h <<_ACEOF
6600#define pid_t int 6578#define pid_t int
6602 6580
6603fi 6581fi
6604 6582
6605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 6583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6606$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 6584$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6607if ${ac_cv_type_uid_t+:} false; then : 6585if test "${ac_cv_type_uid_t+set}" = set; then :
6608 $as_echo_n "(cached) " >&6 6586 $as_echo_n "(cached) " >&6
6609else 6587else
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611/* end confdefs.h. */ 6589/* end confdefs.h. */
6612#include <sys/types.h> 6590#include <sys/types.h>
6682 6660
6683 6661
6684for ac_func in unsetenv 6662for ac_func in unsetenv
6685do : 6663do :
6686 ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" 6664 ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
6687if test "x$ac_cv_func_unsetenv" = xyes; then : 6665if test "x$ac_cv_func_unsetenv" = x""yes; then :
6688 cat >>confdefs.h <<_ACEOF 6666 cat >>confdefs.h <<_ACEOF
6689#define HAVE_UNSETENV 1 6667#define HAVE_UNSETENV 1
6690_ACEOF 6668_ACEOF
6691 6669
6692fi 6670fi
6756 6734
6757 6735
6758for ac_header in lastlog.h 6736for ac_header in lastlog.h
6759do : 6737do :
6760 ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" 6738 ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default"
6761if test "x$ac_cv_header_lastlog_h" = xyes; then : 6739if test "x$ac_cv_header_lastlog_h" = x""yes; then :
6762 cat >>confdefs.h <<_ACEOF 6740 cat >>confdefs.h <<_ACEOF
6763#define HAVE_LASTLOG_H 1 6741#define HAVE_LASTLOG_H 1
6764_ACEOF 6742_ACEOF
6765 6743
6766fi 6744fi
6767 6745
6768done 6746done
6769 6747
6748
6749case $host in
6750 *-*-solaris*)
6751
6752$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
6753
6754 ;;
6755esac
6770 6756
6771 6757
6772for ac_header in utmp.h 6758for ac_header in utmp.h
6773do : 6759do :
6774 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" 6760 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default"
6775if test "x$ac_cv_header_utmp_h" = xyes; then : 6761if test "x$ac_cv_header_utmp_h" = x""yes; then :
6776 cat >>confdefs.h <<_ACEOF 6762 cat >>confdefs.h <<_ACEOF
6777#define HAVE_UTMP_H 1 6763#define HAVE_UTMP_H 1
6778_ACEOF 6764_ACEOF
6779 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " 6765 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" "
6780#include <sys/types.h> 6766#include <sys/types.h>
6781#include <utmp.h> 6767#include <utmp.h>
6782 6768
6783" 6769"
6784if test "x$ac_cv_type_struct_utmp" = xyes; then : 6770if test "x$ac_cv_type_struct_utmp" = x""yes; then :
6785 6771
6786cat >>confdefs.h <<_ACEOF 6772cat >>confdefs.h <<_ACEOF
6787#define HAVE_STRUCT_UTMP 1 6773#define HAVE_STRUCT_UTMP 1
6788_ACEOF 6774_ACEOF
6789 6775
6799ac_fn_cxx_check_member () 6785ac_fn_cxx_check_member ()
6800{ 6786{
6801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
6803$as_echo_n "checking for $2.$3... " >&6; } 6789$as_echo_n "checking for $2.$3... " >&6; }
6804if eval \${$4+:} false; then : 6790if eval "test \"\${$4+set}\"" = set; then :
6805 $as_echo_n "(cached) " >&6 6791 $as_echo_n "(cached) " >&6
6806else 6792else
6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6808/* end confdefs.h. */ 6794/* end confdefs.h. */
6809$5 6795$5
6843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6844fi 6830fi
6845eval ac_res=\$$4 6831eval ac_res=\$$4
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6847$as_echo "$ac_res" >&6; } 6833$as_echo "$ac_res" >&6; }
6848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 6834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6849 6835
6850} # ac_fn_cxx_check_member 6836} # ac_fn_cxx_check_member
6851ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " 6837ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
6852#include <sys/types.h> 6838#include <sys/types.h>
6853#include <utmp.h> 6839#include <utmp.h>
6854 6840
6855" 6841"
6856if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then : 6842if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then :
6857 6843
6858$as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h 6844$as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h
6859 6845
6860fi 6846fi
6861 6847
6863ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " 6849ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
6864#include <sys/types.h> 6850#include <sys/types.h>
6865#include <utmp.h> 6851#include <utmp.h>
6866 6852
6867" 6853"
6868if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then : 6854if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then :
6869 6855
6870$as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h 6856$as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h
6871 6857
6872fi 6858fi
6873 6859
6878 6864
6879 6865
6880for ac_header in utmpx.h 6866for ac_header in utmpx.h
6881do : 6867do :
6882 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" 6868 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default"
6883if test "x$ac_cv_header_utmpx_h" = xyes; then : 6869if test "x$ac_cv_header_utmpx_h" = x""yes; then :
6884 cat >>confdefs.h <<_ACEOF 6870 cat >>confdefs.h <<_ACEOF
6885#define HAVE_UTMPX_H 1 6871#define HAVE_UTMPX_H 1
6886_ACEOF 6872_ACEOF
6887 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " 6873 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" "
6888#include <sys/types.h> 6874#include <sys/types.h>
6889#include <utmpx.h> 6875#include <utmpx.h>
6890 6876
6891" 6877"
6892if test "x$ac_cv_type_struct_utmpx" = xyes; then : 6878if test "x$ac_cv_type_struct_utmpx" = x""yes; then :
6893 6879
6894cat >>confdefs.h <<_ACEOF 6880cat >>confdefs.h <<_ACEOF
6895#define HAVE_STRUCT_UTMPX 1 6881#define HAVE_STRUCT_UTMPX 1
6896_ACEOF 6882_ACEOF
6897 6883
6902ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " 6888ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" "
6903#include <sys/types.h> 6889#include <sys/types.h>
6904#include <utmpx.h> 6890#include <utmpx.h>
6905 6891
6906" 6892"
6907if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : 6893if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then :
6908 6894
6909$as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h 6895$as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h
6910
6911fi
6912
6913
6914ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" "
6915#include <sys/types.h>
6916#include <utmpx.h>
6917
6918"
6919if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then :
6920
6921$as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h
6922 6896
6923fi 6897fi
6924 6898
6925 6899
6926fi 6900fi
6933#ifdef HAVE_LASTLOG_H 6907#ifdef HAVE_LASTLOG_H
6934#include <lastlog.h> 6908#include <lastlog.h>
6935#endif 6909#endif
6936 6910
6937" 6911"
6938if test "x$ac_cv_type_struct_lastlog" = xyes; then : 6912if test "x$ac_cv_type_struct_lastlog" = x""yes; then :
6939 6913
6940cat >>confdefs.h <<_ACEOF 6914cat >>confdefs.h <<_ACEOF
6941#define HAVE_STRUCT_LASTLOG 1 6915#define HAVE_STRUCT_LASTLOG 1
6942_ACEOF 6916_ACEOF
6943 6917
6951#ifdef HAVE_LASTLOG_H 6925#ifdef HAVE_LASTLOG_H
6952#include <lastlog.h> 6926#include <lastlog.h>
6953#endif 6927#endif
6954 6928
6955" 6929"
6956if test "x$ac_cv_type_struct_lastlogx" = xyes; then : 6930if test "x$ac_cv_type_struct_lastlogx" = x""yes; then :
6957 6931
6958cat >>confdefs.h <<_ACEOF 6932cat >>confdefs.h <<_ACEOF
6959#define HAVE_STRUCT_LASTLOGX 1 6933#define HAVE_STRUCT_LASTLOGX 1
6960_ACEOF 6934_ACEOF
6961 6935
6962 6936
6963fi 6937fi
6964 6938
6965 6939
6966 6940
6967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where utmp is located" >&5 6941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5
6968$as_echo_n "checking where utmp is located... " >&6; } 6942$as_echo_n "checking for a fallback location of utmp... " >&6; }
6969if ${pt_cv_path_utmp+:} false; then : 6943if test "${pt_cv_path_utmp+set}" = set; then :
6970 $as_echo_n "(cached) " >&6 6944 $as_echo_n "(cached) " >&6
6971else 6945else
6946
6972 if test "$cross_compiling" = yes; then : 6947if test "$cross_compiling" != yes; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define UTMP_FILE in config.h manually" >&5
6974$as_echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
6975else
6976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6977/* end confdefs.h. */
6978#include <stdio.h>
6979#include <stdlib.h>
6980#include <sys/stat.h>
6981
6982#include <sys/types.h>
6983#include <utmp.h>
6984
6985int main()
6986{
6987 const char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; 6948 for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do
6988 FILE *f = fopen("conftestval", "w"); 6949 if test -f "$file"; then
6989 if (!f) return 1;
6990#ifdef UTMP_FILE
6991 fprintf(f, "%s\n", UTMP_FILE);
6992#elif defined(_PATH_UTMP)
6993 fprintf(f, "%s\n", _PATH_UTMP);
6994#else
6995 for (path = list; *path; path++) {
6996 struct stat st;
6997 if (stat(*path, &st) == 0) {
6998 fprintf(f, "%s\n", *path);
6999 break;
7000 }
7001 }
7002#endif
7003 return fclose(f) != 0;
7004}
7005_ACEOF
7006if ac_fn_cxx_try_run "$LINENO"; then :
7007 pt_cv_path_utmp=`cat conftestval`
7008else
7009 pt_cv_path_utmp= 6950 pt_cv_path_utmp=$file
6951 break
6952 fi
6953 done
7010fi 6954fi
7011rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7012 conftest.$ac_objext conftest.beam conftest.$ac_ext
7013fi
7014
7015fi 6955fi
7016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 6956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5
7017$as_echo "$pt_cv_path_utmp" >&6; } 6957$as_echo "$pt_cv_path_utmp" >&6; }
7018if test x$pt_cv_path_utmp != x; then 6958if test x$pt_cv_path_utmp != x; then
7019 6959
7020cat >>confdefs.h <<_ACEOF 6960cat >>confdefs.h <<_ACEOF
7021#define UTMP_FILE "$pt_cv_path_utmp" 6961#define PT_UTMP_FILE "$pt_cv_path_utmp"
7022_ACEOF 6962_ACEOF
7023 6963
6964elif test "$cross_compiling" = yes; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5
6966$as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;}
7024fi 6967fi
7025 6968
7026 6969
7027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmp is located" >&5 6970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5
7028$as_echo_n "checking where wtmp is located... " >&6; } 6971$as_echo_n "checking for a fallback location of wtmp... " >&6; }
7029if ${pt_cv_path_wtmp+:} false; then : 6972if test "${pt_cv_path_wtmp+set}" = set; then :
7030 $as_echo_n "(cached) " >&6 6973 $as_echo_n "(cached) " >&6
7031else 6974else
6975
7032 if test "$cross_compiling" = yes; then : 6976if test "$cross_compiling" != yes; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMP_FILE in config.h manually" >&5
7034$as_echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
7035else
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037/* end confdefs.h. */
7038#include <stdio.h>
7039#include <stdlib.h>
7040#include <sys/stat.h>
7041
7042#include <sys/types.h>
7043#ifdef HAVE_UTMP_H
7044#include <utmp.h>
7045#endif
7046
7047int main()
7048{
7049 const char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; 6977 for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do
7050 FILE *f = fopen("conftestval", "w"); 6978 if test -f "$file"; then
7051 if (!f) return 1;
7052#ifdef WTMP_FILE
7053 fprintf(f, "%s\n", WTMP_FILE);
7054#elif defined(_PATH_WTMP)
7055 fprintf(f, "%s\n", _PATH_WTMP);
7056#else
7057 for (path = list; *path; path++) {
7058 struct stat st;
7059 if (stat(*path, &st) == 0) {
7060 fprintf(f, "%s\n", *path);
7061 break;
7062 }
7063 }
7064#endif
7065 return fclose(f) != 0;
7066}
7067_ACEOF
7068if ac_fn_cxx_try_run "$LINENO"; then :
7069 pt_cv_path_wtmp=`cat conftestval`
7070else
7071 pt_cv_path_wtmp= 6979 pt_cv_path_wtmp=$file
6980 break
6981 fi
6982 done
7072fi 6983fi
7073rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7074 conftest.$ac_objext conftest.beam conftest.$ac_ext
7075fi
7076
7077fi 6984fi
7078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 6985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5
7079$as_echo "$pt_cv_path_wtmp" >&6; } 6986$as_echo "$pt_cv_path_wtmp" >&6; }
7080if test x$pt_cv_path_wtmp != x; then 6987if test x$pt_cv_path_wtmp != x; then
7081 6988
7082cat >>confdefs.h <<_ACEOF 6989cat >>confdefs.h <<_ACEOF
7083#define WTMP_FILE "$pt_cv_path_wtmp" 6990#define PT_WTMP_FILE "$pt_cv_path_wtmp"
7084_ACEOF 6991_ACEOF
7085 6992
6993elif test "$cross_compiling" = yes; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5
6995$as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;}
7086fi 6996fi
7087 6997
7088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmpx is located" >&5 6998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5
7089$as_echo_n "checking where wtmpx is located... " >&6; } 6999$as_echo_n "checking for a fallback location of wtmpx... " >&6; }
7090if ${pt_cv_path_wtmpx+:} false; then : 7000if test "${pt_cv_path_wtmpx+set}" = set; then :
7091 $as_echo_n "(cached) " >&6 7001 $as_echo_n "(cached) " >&6
7092else 7002else
7003
7093 if test "$cross_compiling" = yes; then : 7004if test "$cross_compiling" != yes; then
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMPX_FILE in config.h manually" >&5 7005 for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do
7095$as_echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} 7006 if test -f "$file"; then
7096else
7097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7098/* end confdefs.h. */
7099#include <stdio.h>
7100#include <stdlib.h>
7101#include <sys/stat.h>
7102
7103#ifdef HAVE_UTMPX_H
7104#include <utmpx.h>
7105#endif
7106
7107int main()
7108{
7109 const char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL };
7110 FILE *f = fopen("conftestval", "w");
7111 if (!f) return 1;
7112#ifdef WTMPX_FILE
7113 fprintf(f, "%s\n", WTMPX_FILE);
7114#elif defined(_PATH_WTMPX)
7115 fprintf(f, "%s\n", _PATH_WTMPX);
7116#else
7117 for (path = list; *path; path++) {
7118 struct stat st;
7119 if (stat(*path, &st) == 0) {
7120 fprintf(f, "%s\n", *path);
7121 break;
7122 }
7123 }
7124#endif
7125 return fclose(f) != 0;
7126}
7127_ACEOF
7128if ac_fn_cxx_try_run "$LINENO"; then :
7129 pt_cv_path_wtmpx=`cat conftestval`
7130else
7131 pt_cv_path_wtmpx= 7007 pt_cv_path_wtmpx=$file
7008 break
7009 fi
7010 done
7132fi 7011fi
7133rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7134 conftest.$ac_objext conftest.beam conftest.$ac_ext
7135fi
7136
7137fi 7012fi
7138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 7013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5
7139$as_echo "$pt_cv_path_wtmpx" >&6; } 7014$as_echo "$pt_cv_path_wtmpx" >&6; }
7140if test x$pt_cv_path_wtmpx != x; then 7015if test x$pt_cv_path_wtmpx != x; then
7141 7016
7142cat >>confdefs.h <<_ACEOF 7017cat >>confdefs.h <<_ACEOF
7143#define WTMPX_FILE "$pt_cv_path_wtmpx" 7018#define PT_WTMPX_FILE "$pt_cv_path_wtmpx"
7144_ACEOF 7019_ACEOF
7145 7020
7021elif test "$cross_compiling" = yes; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5
7023$as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;}
7146fi 7024fi
7147 7025
7148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlog is located" >&5 7026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5
7149$as_echo_n "checking where lastlog is located... " >&6; } 7027$as_echo_n "checking for a fallback location of lastlog... " >&6; }
7150if ${pt_cv_path_lastlog+:} false; then : 7028if test "${pt_cv_path_lastlog+set}" = set; then :
7151 $as_echo_n "(cached) " >&6 7029 $as_echo_n "(cached) " >&6
7152else 7030else
7031
7153 if test "$cross_compiling" = yes; then : 7032if test "$cross_compiling" != yes; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOG_FILE in config.h manually" >&5 7033 for file in "/var/log/lastlog" "/var/adm/lastlog"; do
7155$as_echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} 7034 if test -f "$file"; then
7156else
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158/* end confdefs.h. */
7159#include <stdio.h>
7160#include <stdlib.h>
7161#include <sys/stat.h>
7162
7163#include <sys/types.h>
7164#ifdef HAVE_UTMP_H
7165#include <utmp.h>
7166#endif
7167#ifdef HAVE_LASTLOG_H
7168#include <lastlog.h>
7169#endif
7170
7171int main()
7172{
7173 const char **path, *list[] = { "/var/log/lastlog", NULL };
7174 FILE *f = fopen("conftestval", "w");
7175 if (!f) return 1;
7176#ifdef LASTLOG_FILE
7177 fprintf(f, "%s\n", LASTLOG_FILE);
7178#elif defined(_PATH_LASTLOG)
7179 fprintf(f, "%s\n", _PATH_LASTLOG);
7180#else
7181 for (path = list; *path; path++) {
7182 struct stat st;
7183 if (stat(*path, &st) == 0) {
7184 fprintf(f, "%s\n", *path);
7185 break;
7186 }
7187 }
7188#endif
7189 return fclose(f) != 0;
7190}
7191_ACEOF
7192if ac_fn_cxx_try_run "$LINENO"; then :
7193 pt_cv_path_lastlog=`cat conftestval`
7194else
7195 pt_cv_path_lastlog= 7035 pt_cv_path_lastlog=$file
7036 break
7037 fi
7038 done
7196fi 7039fi
7197rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7198 conftest.$ac_objext conftest.beam conftest.$ac_ext
7199fi
7200
7201fi 7040fi
7202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 7041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5
7203$as_echo "$pt_cv_path_lastlog" >&6; } 7042$as_echo "$pt_cv_path_lastlog" >&6; }
7204if test x$pt_cv_path_lastlog != x; then 7043if test x$pt_cv_path_lastlog != x; then
7205 7044
7206cat >>confdefs.h <<_ACEOF 7045cat >>confdefs.h <<_ACEOF
7207#define LASTLOG_FILE "$pt_cv_path_lastlog" 7046#define PT_LASTLOG_FILE "$pt_cv_path_lastlog"
7208_ACEOF 7047_ACEOF
7209 7048
7049elif test "$cross_compiling" = yes; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5
7051$as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;}
7210fi 7052fi
7211 7053
7212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlogx is located" >&5 7054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5
7213$as_echo_n "checking where lastlogx is located... " >&6; } 7055$as_echo_n "checking for a fallback location of lastlogx... " >&6; }
7214if ${pt_cv_path_lastlogx+:} false; then : 7056if test "${pt_cv_path_lastlogx+set}" = set; then :
7215 $as_echo_n "(cached) " >&6 7057 $as_echo_n "(cached) " >&6
7216else 7058else
7059
7217 if test "$cross_compiling" = yes; then : 7060if test "$cross_compiling" != yes; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 7061 for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do
7219$as_echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} 7062 if test -f "$file"; then
7220else
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222/* end confdefs.h. */
7223#include <stdio.h>
7224#include <stdlib.h>
7225#include <sys/stat.h>
7226
7227#ifdef HAVE_UTMPX_H
7228#include <utmpx.h>
7229#endif
7230
7231int main()
7232{
7233 const char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL };
7234 FILE *f = fopen("conftestval", "w");
7235 if (!f) return 1;
7236#ifdef LASTLOGX_FILE
7237 fprintf(f, "%s\n", LASTLOGX_FILE);
7238#elif defined(_PATH_LASTLOGX)
7239 fprintf(f, "%s\n", _PATH_LASTLOGX);
7240#else
7241 for (path = list; *path; path++) {
7242 struct stat st;
7243 if (stat(*path, &st) == 0) {
7244 fprintf(f, "%s\n", *path);
7245 break;
7246 }
7247 }
7248#endif
7249 return fclose(f) != 0;
7250}
7251_ACEOF
7252if ac_fn_cxx_try_run "$LINENO"; then :
7253 pt_cv_path_lastlogx=`cat conftestval`
7254else
7255 pt_cv_path_lastlogx= 7063 pt_cv_path_lastlogx=$file
7064 break
7065 fi
7066 done
7256fi 7067fi
7257rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7258 conftest.$ac_objext conftest.beam conftest.$ac_ext
7259fi
7260
7261fi 7068fi
7262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 7069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5
7263$as_echo "$pt_cv_path_lastlogx" >&6; } 7070$as_echo "$pt_cv_path_lastlogx" >&6; }
7264if test x$pt_cv_path_lastlogx != x; then 7071if test x$pt_cv_path_lastlogx != x; then
7265 7072
7266cat >>confdefs.h <<_ACEOF 7073cat >>confdefs.h <<_ACEOF
7267#define LASTLOGX_FILE "$pt_cv_path_lastlogx" 7074#define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx"
7268_ACEOF 7075_ACEOF
7269 7076
7077elif test "$cross_compiling" = yes; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5
7079$as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;}
7270fi 7080fi
7271 7081
7272 7082
7273 7083
7274 7084
7277CFLAGS="$CFLAGS $X_CFLAGS" 7087CFLAGS="$CFLAGS $X_CFLAGS"
7278LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 7088LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7279if test x$support_xim = xyes; then 7089if test x$support_xim = xyes; then
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5
7281$as_echo_n "checking for working Xlocale... " >&6; } 7091$as_echo_n "checking for working Xlocale... " >&6; }
7282if ${rxvt_cv_func_xlocale+:} false; then : 7092if test "${rxvt_cv_func_xlocale+set}" = set; then :
7283 $as_echo_n "(cached) " >&6 7093 $as_echo_n "(cached) " >&6
7284else 7094else
7285 if test "$cross_compiling" = yes; then : 7095 if test "$cross_compiling" = yes; then :
7286 : 7096 :
7287else 7097else
7315 7125
7316$as_echo "#define USE_XIM 1" >>confdefs.h 7126$as_echo "#define USE_XIM 1" >>confdefs.h
7317 7127
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5
7319$as_echo_n "checking for broken XIM callback... " >&6; } 7129$as_echo_n "checking for broken XIM callback... " >&6; }
7320if ${rxvt_cv_broken_ximcb+:} false; then : 7130if test "${rxvt_cv_broken_ximcb+set}" = set; then :
7321 $as_echo_n "(cached) " >&6 7131 $as_echo_n "(cached) " >&6
7322else 7132else
7323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324/* end confdefs.h. */ 7134/* end confdefs.h. */
7325 7135
7351 fi 7161 fi
7352fi 7162fi
7353 7163
7354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 7164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5
7355$as_echo_n "checking for working X setlocale... " >&6; } 7165$as_echo_n "checking for working X setlocale... " >&6; }
7356if ${rxvt_cv_func_xsetlocale+:} false; then : 7166if test "${rxvt_cv_func_xsetlocale+set}" = set; then :
7357 $as_echo_n "(cached) " >&6 7167 $as_echo_n "(cached) " >&6
7358else 7168else
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360/* end confdefs.h. */ 7170/* end confdefs.h. */
7361#define X_LOCALE 1 7171#define X_LOCALE 1
7386LIBS=$save_LIBS 7196LIBS=$save_LIBS
7387CFLAGS=$save_CFLAGS 7197CFLAGS=$save_CFLAGS
7388 7198
7389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 7199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5
7390$as_echo_n "checking for working plain setlocale... " >&6; } 7200$as_echo_n "checking for working plain setlocale... " >&6; }
7391if ${rxvt_cv_func_setlocale+:} false; then : 7201if test "${rxvt_cv_func_setlocale+set}" = set; then :
7392 $as_echo_n "(cached) " >&6 7202 $as_echo_n "(cached) " >&6
7393else 7203else
7394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7395/* end confdefs.h. */ 7205/* end confdefs.h. */
7396#include <clocale> 7206#include <locale.h>
7397int 7207int
7398main () 7208main ()
7399{ 7209{
7400setlocale(LC_CTYPE, ""); 7210setlocale(LC_CTYPE, "");
7401 ; 7211 ;
7418 7228
7419fi 7229fi
7420 7230
7421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 7231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5
7422$as_echo_n "checking for working nl_langinfo... " >&6; } 7232$as_echo_n "checking for working nl_langinfo... " >&6; }
7423if ${rxvt_cv_func_nl_langinfo+:} false; then : 7233if test "${rxvt_cv_func_nl_langinfo+set}" = set; then :
7424 $as_echo_n "(cached) " >&6 7234 $as_echo_n "(cached) " >&6
7425else 7235else
7426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7427/* end confdefs.h. */ 7237/* end confdefs.h. */
7428#include <langinfo.h> 7238#include <langinfo.h>
7449$as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h 7259$as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h
7450 7260
7451fi 7261fi
7452 7262
7453 7263
7264case $host in
7265 *-*-solaris*)
7266
7267$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
7268
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
7270$as_echo_n "checking for library containing sendmsg... " >&6; }
7271if test "${ac_cv_search_sendmsg+set}" = set; then :
7272 $as_echo_n "(cached) " >&6
7273else
7274 ac_func_search_save_LIBS=$LIBS
7275cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276/* end confdefs.h. */
7277
7278/* Override any GCC internal prototype to avoid an error.
7279 Use char because int might match the return type of a GCC
7280 builtin and then its argument prototype would still apply. */
7281#ifdef __cplusplus
7282extern "C"
7283#endif
7284char sendmsg ();
7285int
7286main ()
7287{
7288return sendmsg ();
7289 ;
7290 return 0;
7291}
7292_ACEOF
7293for ac_lib in '' socket; do
7294 if test -z "$ac_lib"; then
7295 ac_res="none required"
7296 else
7297 ac_res=-l$ac_lib
7298 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7299 fi
7300 if ac_fn_cxx_try_link "$LINENO"; then :
7301 ac_cv_search_sendmsg=$ac_res
7302fi
7303rm -f core conftest.err conftest.$ac_objext \
7304 conftest$ac_exeext
7305 if test "${ac_cv_search_sendmsg+set}" = set; then :
7306 break
7307fi
7308done
7309if test "${ac_cv_search_sendmsg+set}" = set; then :
7310
7311else
7312 ac_cv_search_sendmsg=no
7313fi
7314rm conftest.$ac_ext
7315LIBS=$ac_func_search_save_LIBS
7316fi
7317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5
7318$as_echo "$ac_cv_search_sendmsg" >&6; }
7319ac_res=$ac_cv_search_sendmsg
7320if test "$ac_res" != no; then :
7321 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7322
7323fi
7324
7325 ;;
7326esac
7327
7454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 7328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5
7455$as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } 7329$as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; }
7456if ${pt_cv_can_pass_fds+:} false; then : 7330if test "${pt_cv_can_pass_fds+set}" = set; then :
7457 $as_echo_n "(cached) " >&6 7331 $as_echo_n "(cached) " >&6
7458else 7332else
7459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460/* end confdefs.h. */ 7334/* end confdefs.h. */
7461 7335
7462#include <cstddef> // broken bsds (is that redundant?) need this 7336#include <stddef.h> // broken bsds (is that redundant?) need this
7463#include <sys/types.h> 7337#include <sys/types.h>
7464#include <sys/socket.h> 7338#include <sys/socket.h>
7465#include <sys/uio.h> 7339#include <sys/uio.h>
7466 7340
7467int 7341int
7558 7432
7559fi 7433fi
7560done 7434done
7561 7435
7562 7436
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 7437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5
7564$as_echo_n "checking for UNIX98 ptys... " >&6; } 7438$as_echo_n "checking for UNIX98 ptys... " >&6; }
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7439cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566/* end confdefs.h. */ 7440/* end confdefs.h. */
7567#include <stdlib.h> 7441#include <stdlib.h>
7568int 7442int
7569main () 7443main ()
7570{ 7444{
7576if ac_fn_cxx_try_link "$LINENO"; then : 7450if ac_fn_cxx_try_link "$LINENO"; then :
7577 unix98_pty=yes 7451 unix98_pty=yes
7578 7452
7579$as_echo "#define UNIX98_PTY 1" >>confdefs.h 7453$as_echo "#define UNIX98_PTY 1" >>confdefs.h
7580 7454
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7582$as_echo "yes" >&6; } 7456$as_echo "yes" >&6; }
7583else 7457else
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7585$as_echo "no" >&6; } 7459$as_echo "no" >&6; }
7586fi 7460fi
7588 conftest$ac_exeext conftest.$ac_ext 7462 conftest$ac_exeext conftest.$ac_ext
7589 7463
7590if test -z "$unix98_pty"; then 7464if test -z "$unix98_pty"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
7592$as_echo_n "checking for library containing openpty... " >&6; } 7466$as_echo_n "checking for library containing openpty... " >&6; }
7593if ${ac_cv_search_openpty+:} false; then : 7467if test "${ac_cv_search_openpty+set}" = set; then :
7594 $as_echo_n "(cached) " >&6 7468 $as_echo_n "(cached) " >&6
7595else 7469else
7596 ac_func_search_save_LIBS=$LIBS 7470 ac_func_search_save_LIBS=$LIBS
7597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7471cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598/* end confdefs.h. */ 7472/* end confdefs.h. */
7622 if ac_fn_cxx_try_link "$LINENO"; then : 7496 if ac_fn_cxx_try_link "$LINENO"; then :
7623 ac_cv_search_openpty=$ac_res 7497 ac_cv_search_openpty=$ac_res
7624fi 7498fi
7625rm -f core conftest.err conftest.$ac_objext \ 7499rm -f core conftest.err conftest.$ac_objext \
7626 conftest$ac_exeext 7500 conftest$ac_exeext
7627 if ${ac_cv_search_openpty+:} false; then : 7501 if test "${ac_cv_search_openpty+set}" = set; then :
7628 break 7502 break
7629fi 7503fi
7630done 7504done
7631if ${ac_cv_search_openpty+:} false; then : 7505if test "${ac_cv_search_openpty+set}" = set; then :
7632 7506
7633else 7507else
7634 ac_cv_search_openpty=no 7508 ac_cv_search_openpty=no
7635fi 7509fi
7636rm conftest.$ac_ext 7510rm conftest.$ac_ext
7650 7524
7651 7525
7652 7526
7653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 7527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5
7654$as_echo_n "checking for tty group... " >&6; } 7528$as_echo_n "checking for tty group... " >&6; }
7655if ${pt_cv_tty_group+:} false; then : 7529if test "${pt_cv_tty_group+set}" = set; then :
7656 $as_echo_n "(cached) " >&6 7530 $as_echo_n "(cached) " >&6
7657else 7531else
7658 if test "$cross_compiling" = yes; then : 7532 if test "$cross_compiling" = yes; then :
7659 pt_cv_tty_group=no 7533 pt_cv_tty_group=no
7660else 7534else
7704 rxvt_have_xrender=no 7578 rxvt_have_xrender=no
7705 # Extract the first word of "pkg-config", so it can be a program name with args. 7579 # Extract the first word of "pkg-config", so it can be a program name with args.
7706set dummy pkg-config; ac_word=$2 7580set dummy pkg-config; ac_word=$2
7707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7708$as_echo_n "checking for $ac_word... " >&6; } 7582$as_echo_n "checking for $ac_word... " >&6; }
7709if ${ac_cv_path_PKG_CONFIG+:} false; then : 7583if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7710 $as_echo_n "(cached) " >&6 7584 $as_echo_n "(cached) " >&6
7711else 7585else
7712 case $PKG_CONFIG in 7586 case $PKG_CONFIG in
7713 [\\/]* | ?:[\\/]*) 7587 [\\/]* | ?:[\\/]*)
7714 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7588 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7749 rxvt_have_xrender=yes 7623 rxvt_have_xrender=yes
7750 7624
7751 save_LIBS="$LIBS" 7625 save_LIBS="$LIBS"
7752 LIBS="$LIBS $X_LIBS" 7626 LIBS="$LIBS $X_LIBS"
7753 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" 7627 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7754if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then : 7628if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
7755 7629
7756else 7630else
7757 rxvt_have_xrender=no 7631 rxvt_have_xrender=no
7758fi 7632fi
7759 7633
7760 7634
7761 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" 7635 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat"
7762if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then : 7636if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then :
7763 7637
7764else 7638else
7765 rxvt_have_xrender=no 7639 rxvt_have_xrender=no
7766fi 7640fi
7767 7641
7772if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then 7646if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then
7773 # Extract the first word of "pkg-config", so it can be a program name with args. 7647 # Extract the first word of "pkg-config", so it can be a program name with args.
7774set dummy pkg-config; ac_word=$2 7648set dummy pkg-config; ac_word=$2
7775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7776$as_echo_n "checking for $ac_word... " >&6; } 7650$as_echo_n "checking for $ac_word... " >&6; }
7777if ${ac_cv_path_PKG_CONFIG+:} false; then : 7651if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7778 $as_echo_n "(cached) " >&6 7652 $as_echo_n "(cached) " >&6
7779else 7653else
7780 case $PKG_CONFIG in 7654 case $PKG_CONFIG in
7781 [\\/]* | ?:[\\/]*) 7655 [\\/]* | ?:[\\/]*)
7782 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7656 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7817 else 7691 else
7818 # Extract the first word of "xft-config", so it can be a program name with args. 7692 # Extract the first word of "xft-config", so it can be a program name with args.
7819set dummy xft-config; ac_word=$2 7693set dummy xft-config; ac_word=$2
7820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821$as_echo_n "checking for $ac_word... " >&6; } 7695$as_echo_n "checking for $ac_word... " >&6; }
7822if ${ac_cv_path_XFT_CONFIG+:} false; then : 7696if test "${ac_cv_path_XFT_CONFIG+set}" = set; then :
7823 $as_echo_n "(cached) " >&6 7697 $as_echo_n "(cached) " >&6
7824else 7698else
7825 case $XFT_CONFIG in 7699 case $XFT_CONFIG in
7826 [\\/]* | ?:[\\/]*) 7700 [\\/]* | ?:[\\/]*)
7827 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. 7701 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
7870 save_LIBS="$LIBS" 7744 save_LIBS="$LIBS"
7871 LIBS="$LIBS $X_LIBS" 7745 LIBS="$LIBS $X_LIBS"
7872 for ac_header in X11/Xft/Xft.h 7746 for ac_header in X11/Xft/Xft.h
7873do : 7747do :
7874 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 7748 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
7875if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : 7749if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then :
7876 cat >>confdefs.h <<_ACEOF 7750 cat >>confdefs.h <<_ACEOF
7877#define HAVE_X11_XFT_XFT_H 1 7751#define HAVE_X11_XFT_XFT_H 1
7878_ACEOF 7752_ACEOF
7879 7753
7880else 7754else
7883 7757
7884done 7758done
7885 7759
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5
7887$as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } 7761$as_echo_n "checking for XftDrawString32 in -lXft... " >&6; }
7888if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : 7762if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then :
7889 $as_echo_n "(cached) " >&6 7763 $as_echo_n "(cached) " >&6
7890else 7764else
7891 ac_check_lib_save_LIBS=$LIBS 7765 ac_check_lib_save_LIBS=$LIBS
7892LIBS="-lXft $LIBS" 7766LIBS="-lXft $LIBS"
7893cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7767cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917 conftest$ac_exeext conftest.$ac_ext 7791 conftest$ac_exeext conftest.$ac_ext
7918LIBS=$ac_check_lib_save_LIBS 7792LIBS=$ac_check_lib_save_LIBS
7919fi 7793fi
7920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 7794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5
7921$as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } 7795$as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; }
7922if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : 7796if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then :
7923 : 7797 :
7924else 7798else
7925 support_xft=no 7799 support_xft=no
7926fi 7800fi
7927 7801
7928 for ac_header in fontconfig/fontconfig.h 7802 for ac_header in fontconfig/fontconfig.h
7929do : 7803do :
7930 ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" 7804 ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
7931if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : 7805if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
7932 cat >>confdefs.h <<_ACEOF 7806 cat >>confdefs.h <<_ACEOF
7933#define HAVE_FONTCONFIG_FONTCONFIG_H 1 7807#define HAVE_FONTCONFIG_FONTCONFIG_H 1
7934_ACEOF 7808_ACEOF
7935 7809
7936else 7810else
7939 7813
7940done 7814done
7941 7815
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5
7943$as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } 7817$as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; }
7944if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : 7818if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then :
7945 $as_echo_n "(cached) " >&6 7819 $as_echo_n "(cached) " >&6
7946else 7820else
7947 ac_check_lib_save_LIBS=$LIBS 7821 ac_check_lib_save_LIBS=$LIBS
7948LIBS="-lfontconfig $LIBS" 7822LIBS="-lfontconfig $LIBS"
7949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7973 conftest$ac_exeext conftest.$ac_ext 7847 conftest$ac_exeext conftest.$ac_ext
7974LIBS=$ac_check_lib_save_LIBS 7848LIBS=$ac_check_lib_save_LIBS
7975fi 7849fi
7976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 7850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5
7977$as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } 7851$as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; }
7978if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : 7852if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then :
7979 : 7853 :
7980else 7854else
7981 support_xft=no 7855 support_xft=no
7982fi 7856fi
7983 7857
8122if test x$support_perl = xyes; then 7996if test x$support_perl = xyes; then
8123 # Extract the first word of "perl5", so it can be a program name with args. 7997 # Extract the first word of "perl5", so it can be a program name with args.
8124set dummy perl5; ac_word=$2 7998set dummy perl5; ac_word=$2
8125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126$as_echo_n "checking for $ac_word... " >&6; } 8000$as_echo_n "checking for $ac_word... " >&6; }
8127if ${ac_cv_path_PERL+:} false; then : 8001if test "${ac_cv_path_PERL+set}" = set; then :
8128 $as_echo_n "(cached) " >&6 8002 $as_echo_n "(cached) " >&6
8129else 8003else
8130 case $PERL in 8004 case $PERL in
8131 [\\/]* | ?:[\\/]*) 8005 [\\/]* | ?:[\\/]*)
8132 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 8006 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
8162 8036
8163 # Extract the first word of "perl", so it can be a program name with args. 8037 # Extract the first word of "perl", so it can be a program name with args.
8164set dummy perl; ac_word=$2 8038set dummy perl; ac_word=$2
8165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8166$as_echo_n "checking for $ac_word... " >&6; } 8040$as_echo_n "checking for $ac_word... " >&6; }
8167if ${ac_cv_path_PERL+:} false; then : 8041if test "${ac_cv_path_PERL+set}" = set; then :
8168 $as_echo_n "(cached) " >&6 8042 $as_echo_n "(cached) " >&6
8169else 8043else
8170 case $PERL in 8044 case $PERL in
8171 [\\/]* | ?:[\\/]*) 8045 [\\/]* | ?:[\\/]*)
8172 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 8046 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
8326 t end 8200 t end
8327 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8201 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8328 :end' >>confcache 8202 :end' >>confcache
8329if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8203if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8330 if test -w "$cache_file"; then 8204 if test -w "$cache_file"; then
8331 if test "x$cache_file" != "x/dev/null"; then 8205 test "x$cache_file" != "x/dev/null" &&
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8206 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8333$as_echo "$as_me: updating cache $cache_file" >&6;} 8207$as_echo "$as_me: updating cache $cache_file" >&6;}
8334 if test ! -f "$cache_file" || test -h "$cache_file"; then
8335 cat confcache >"$cache_file" 8208 cat confcache >$cache_file
8336 else
8337 case $cache_file in #(
8338 */* | ?:*)
8339 mv -f confcache "$cache_file"$$ &&
8340 mv -f "$cache_file"$$ "$cache_file" ;; #(
8341 *)
8342 mv -f confcache "$cache_file" ;;
8343 esac
8344 fi
8345 fi
8346 else 8209 else
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8210 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8348$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8211$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8349 fi 8212 fi
8350fi 8213fi
8372 8235
8373LTLIBOBJS=$ac_ltlibobjs 8236LTLIBOBJS=$ac_ltlibobjs
8374 8237
8375 8238
8376 8239
8377: "${CONFIG_STATUS=./config.status}" 8240: ${CONFIG_STATUS=./config.status}
8378ac_write_fail=0 8241ac_write_fail=0
8379ac_clean_files_save=$ac_clean_files 8242ac_clean_files_save=$ac_clean_files
8380ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8243ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8381{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8244{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8382$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8245$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8473# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8336# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8474# splitting by setting IFS to empty value.) 8337# splitting by setting IFS to empty value.)
8475IFS=" "" $as_nl" 8338IFS=" "" $as_nl"
8476 8339
8477# Find who we are. Look in the path if we contain no directory separator. 8340# Find who we are. Look in the path if we contain no directory separator.
8478as_myself=
8479case $0 in #(( 8341case $0 in #((
8480 *[\\/]* ) as_myself=$0 ;; 8342 *[\\/]* ) as_myself=$0 ;;
8481 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8343 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8482for as_dir in $PATH 8344for as_dir in $PATH
8483do 8345do
8781# Save the log message, to keep $0 and so on meaningful, and to 8643# Save the log message, to keep $0 and so on meaningful, and to
8782# report actual input values of CONFIG_FILES etc. instead of their 8644# report actual input values of CONFIG_FILES etc. instead of their
8783# values after options handling. 8645# values after options handling.
8784ac_log=" 8646ac_log="
8785This file was extended by $as_me, which was 8647This file was extended by $as_me, which was
8786generated by GNU Autoconf 2.68. Invocation command line was 8648generated by GNU Autoconf 2.67. Invocation command line was
8787 8649
8788 CONFIG_FILES = $CONFIG_FILES 8650 CONFIG_FILES = $CONFIG_FILES
8789 CONFIG_HEADERS = $CONFIG_HEADERS 8651 CONFIG_HEADERS = $CONFIG_HEADERS
8790 CONFIG_LINKS = $CONFIG_LINKS 8652 CONFIG_LINKS = $CONFIG_LINKS
8791 CONFIG_COMMANDS = $CONFIG_COMMANDS 8653 CONFIG_COMMANDS = $CONFIG_COMMANDS
8843_ACEOF 8705_ACEOF
8844cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8845ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8707ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8846ac_cs_version="\\ 8708ac_cs_version="\\
8847config.status 8709config.status
8848configured by $0, generated by GNU Autoconf 2.68, 8710configured by $0, generated by GNU Autoconf 2.67,
8849 with options \\"\$ac_cs_config\\" 8711 with options \\"\$ac_cs_config\\"
8850 8712
8851Copyright (C) 2010 Free Software Foundation, Inc. 8713Copyright (C) 2010 Free Software Foundation, Inc.
8852This config.status script is free software; the Free Software Foundation 8714This config.status script is free software; the Free Software Foundation
8853gives unlimited permission to copy, distribute and modify it." 8715gives unlimited permission to copy, distribute and modify it."
8969 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 8831 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
8970 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8832 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8971 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 8833 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8972 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 8834 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8973 8835
8974 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8836 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
8975 esac 8837 esac
8976done 8838done
8977 8839
8978 8840
8979# If the user did not use the arguments to specify the items to instantiate, 8841# If the user did not use the arguments to specify the items to instantiate,
8991# Hook for its removal unless debugging. 8853# Hook for its removal unless debugging.
8992# Note that there is a small window in which the directory will not be cleaned: 8854# Note that there is a small window in which the directory will not be cleaned:
8993# after its creation but before its name has been assigned to `$tmp'. 8855# after its creation but before its name has been assigned to `$tmp'.
8994$debug || 8856$debug ||
8995{ 8857{
8996 tmp= ac_tmp= 8858 tmp=
8997 trap 'exit_status=$? 8859 trap 'exit_status=$?
8998 : "${ac_tmp:=$tmp}"
8999 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8860 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9000' 0 8861' 0
9001 trap 'as_fn_exit 1' 1 2 13 15 8862 trap 'as_fn_exit 1' 1 2 13 15
9002} 8863}
9003# Create a (secure) tmp directory for tmp files. 8864# Create a (secure) tmp directory for tmp files.
9004 8865
9005{ 8866{
9006 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8867 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9007 test -d "$tmp" 8868 test -n "$tmp" && test -d "$tmp"
9008} || 8869} ||
9009{ 8870{
9010 tmp=./conf$$-$RANDOM 8871 tmp=./conf$$-$RANDOM
9011 (umask 077 && mkdir "$tmp") 8872 (umask 077 && mkdir "$tmp")
9012} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8873} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9013ac_tmp=$tmp
9014 8874
9015# Set up the scripts for CONFIG_FILES section. 8875# Set up the scripts for CONFIG_FILES section.
9016# No need to generate them if there are no CONFIG_FILES. 8876# No need to generate them if there are no CONFIG_FILES.
9017# This happens for instance with `./config.status config.h'. 8877# This happens for instance with `./config.status config.h'.
9018if test -n "$CONFIG_FILES"; then 8878if test -n "$CONFIG_FILES"; then
9030 ac_cs_awk_cr='\\r' 8890 ac_cs_awk_cr='\\r'
9031else 8891else
9032 ac_cs_awk_cr=$ac_cr 8892 ac_cs_awk_cr=$ac_cr
9033fi 8893fi
9034 8894
9035echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8895echo 'BEGIN {' >"$tmp/subs1.awk" &&
9036_ACEOF 8896_ACEOF
9037 8897
9038 8898
9039{ 8899{
9040 echo "cat >conf$$subs.awk <<_ACEOF" && 8900 echo "cat >conf$$subs.awk <<_ACEOF" &&
9058 fi 8918 fi
9059done 8919done
9060rm -f conf$$subs.sh 8920rm -f conf$$subs.sh
9061 8921
9062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8922cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9063cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8923cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9064_ACEOF 8924_ACEOF
9065sed -n ' 8925sed -n '
9066h 8926h
9067s/^/S["/; s/!.*/"]=/ 8927s/^/S["/; s/!.*/"]=/
9068p 8928p
9106} 8966}
9107' >>$CONFIG_STATUS || ac_write_fail=1 8967' >>$CONFIG_STATUS || ac_write_fail=1
9108rm -f conf$$subs.awk 8968rm -f conf$$subs.awk
9109cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8969cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9110_ACAWK 8970_ACAWK
9111cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 8971cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9112 for (key in S) S_is_set[key] = 1 8972 for (key in S) S_is_set[key] = 1
9113 FS = "" 8973 FS = ""
9114 8974
9115} 8975}
9116{ 8976{
9138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8998cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9139if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8999if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9140 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9000 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9141else 9001else
9142 cat 9002 cat
9143fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9003fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9144 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9004 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9145_ACEOF 9005_ACEOF
9146 9006
9147# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9007# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9148# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9008# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9172 9032
9173# Set up the scripts for CONFIG_HEADERS section. 9033# Set up the scripts for CONFIG_HEADERS section.
9174# No need to generate them if there are no CONFIG_HEADERS. 9034# No need to generate them if there are no CONFIG_HEADERS.
9175# This happens for instance with `./config.status Makefile'. 9035# This happens for instance with `./config.status Makefile'.
9176if test -n "$CONFIG_HEADERS"; then 9036if test -n "$CONFIG_HEADERS"; then
9177cat >"$ac_tmp/defines.awk" <<\_ACAWK || 9037cat >"$tmp/defines.awk" <<\_ACAWK ||
9178BEGIN { 9038BEGIN {
9179_ACEOF 9039_ACEOF
9180 9040
9181# Transform confdefs.h into an awk script `defines.awk', embedded as 9041# Transform confdefs.h into an awk script `defines.awk', embedded as
9182# here-document in config.status, that substitutes the proper values into 9042# here-document in config.status, that substitutes the proper values into
9184 9044
9185# Create a delimiter string that does not exist in confdefs.h, to ease 9045# Create a delimiter string that does not exist in confdefs.h, to ease
9186# handling of long lines. 9046# handling of long lines.
9187ac_delim='%!_!# ' 9047ac_delim='%!_!# '
9188for ac_last_try in false false :; do 9048for ac_last_try in false false :; do
9189 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 9049 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9190 if test -z "$ac_tt"; then 9050 if test -z "$ac_t"; then
9191 break 9051 break
9192 elif $ac_last_try; then 9052 elif $ac_last_try; then
9193 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9053 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9194 else 9054 else
9195 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9055 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9286 case $ac_tag in 9146 case $ac_tag in
9287 :[FHLC]) ac_mode=$ac_tag; continue;; 9147 :[FHLC]) ac_mode=$ac_tag; continue;;
9288 esac 9148 esac
9289 case $ac_mode$ac_tag in 9149 case $ac_mode$ac_tag in
9290 :[FHL]*:*);; 9150 :[FHL]*:*);;
9291 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9151 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
9292 :[FH]-) ac_tag=-:-;; 9152 :[FH]-) ac_tag=-:-;;
9293 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9153 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9294 esac 9154 esac
9295 ac_save_IFS=$IFS 9155 ac_save_IFS=$IFS
9296 IFS=: 9156 IFS=:
9305 :[FH]) 9165 :[FH])
9306 ac_file_inputs= 9166 ac_file_inputs=
9307 for ac_f 9167 for ac_f
9308 do 9168 do
9309 case $ac_f in 9169 case $ac_f in
9310 -) ac_f="$ac_tmp/stdin";; 9170 -) ac_f="$tmp/stdin";;
9311 *) # Look for the file first in the build tree, then in the source tree 9171 *) # Look for the file first in the build tree, then in the source tree
9312 # (if the path is not absolute). The absolute path cannot be DOS-style, 9172 # (if the path is not absolute). The absolute path cannot be DOS-style,
9313 # because $ac_f cannot contain `:'. 9173 # because $ac_f cannot contain `:'.
9314 test -f "$ac_f" || 9174 test -f "$ac_f" ||
9315 case $ac_f in 9175 case $ac_f in
9316 [\\/$]*) false;; 9176 [\\/$]*) false;;
9317 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9177 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9318 esac || 9178 esac ||
9319 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9179 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
9320 esac 9180 esac
9321 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9181 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9322 as_fn_append ac_file_inputs " '$ac_f'" 9182 as_fn_append ac_file_inputs " '$ac_f'"
9323 done 9183 done
9324 9184
9340 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9200 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9341 *) ac_sed_conf_input=$configure_input;; 9201 *) ac_sed_conf_input=$configure_input;;
9342 esac 9202 esac
9343 9203
9344 case $ac_tag in 9204 case $ac_tag in
9345 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9205 *:-:* | *:-) cat >"$tmp/stdin" \
9346 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9206 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9347 esac 9207 esac
9348 ;; 9208 ;;
9349 esac 9209 esac
9350 9210
9351 ac_dir=`$as_dirname -- "$ac_file" || 9211 ac_dir=`$as_dirname -- "$ac_file" ||
9471s&@abs_builddir@&$ac_abs_builddir&;t t 9331s&@abs_builddir@&$ac_abs_builddir&;t t
9472s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9332s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9473s&@INSTALL@&$ac_INSTALL&;t t 9333s&@INSTALL@&$ac_INSTALL&;t t
9474$ac_datarootdir_hack 9334$ac_datarootdir_hack
9475" 9335"
9476eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9336eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9477 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9337 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9478 9338
9479test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9339test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9480 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9340 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9481 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9341 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9482 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9484which seems to be undefined. Please make sure it is defined" >&5 9343which seems to be undefined. Please make sure it is defined" >&5
9485$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9344$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9486which seems to be undefined. Please make sure it is defined" >&2;} 9345which seems to be undefined. Please make sure it is defined" >&2;}
9487 9346
9488 rm -f "$ac_tmp/stdin" 9347 rm -f "$tmp/stdin"
9489 case $ac_file in 9348 case $ac_file in
9490 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9349 -) cat "$tmp/out" && rm -f "$tmp/out";;
9491 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9350 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9492 esac \ 9351 esac \
9493 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9494 ;; 9353 ;;
9495 :H) 9354 :H)
9496 # 9355 #
9497 # CONFIG_HEADER 9356 # CONFIG_HEADER
9498 # 9357 #
9499 if test x"$ac_file" != x-; then 9358 if test x"$ac_file" != x-; then
9500 { 9359 {
9501 $as_echo "/* $configure_input */" \ 9360 $as_echo "/* $configure_input */" \
9502 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9361 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9503 } >"$ac_tmp/config.h" \ 9362 } >"$tmp/config.h" \
9504 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9363 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9505 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9364 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9365 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9507$as_echo "$as_me: $ac_file is unchanged" >&6;} 9366$as_echo "$as_me: $ac_file is unchanged" >&6;}
9508 else 9367 else
9509 rm -f "$ac_file" 9368 rm -f "$ac_file"
9510 mv "$ac_tmp/config.h" "$ac_file" \ 9369 mv "$tmp/config.h" "$ac_file" \
9511 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9370 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9512 fi 9371 fi
9513 else 9372 else
9514 $as_echo "/* $configure_input */" \ 9373 $as_echo "/* $configure_input */" \
9515 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9374 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9516 || as_fn_error $? "could not create -" "$LINENO" 5 9375 || as_fn_error $? "could not create -" "$LINENO" 5
9517 fi 9376 fi
9518 ;; 9377 ;;
9519 9378
9520 9379

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines