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

Comparing rxvt-unicode/configure (file contents):
Revision 1.145 by sf-exg, Wed Jun 1 10:53:07 2011 UTC vs.
Revision 1.150 by root, Sun Dec 18 02:23:11 2011 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."
609PERL 601PERL
610XFT_CONFIG 602XFT_CONFIG
611AFTERIMAGE_LIBS 603AFTERIMAGE_LIBS
612AFTERIMAGE_CFLAGS 604AFTERIMAGE_CFLAGS
613afterimage_config 605afterimage_config
606STARTUP_NOTIFICATION_LIBS
607STARTUP_NOTIFICATION_CFLAGS
614PIXBUF_LIBS 608PIXBUF_LIBS
615PIXBUF_CFLAGS 609PIXBUF_CFLAGS
616PKG_CONFIG 610PKG_CONFIG
617X_EXTRA_LIBS 611X_EXTRA_LIBS
618X_LIBS 612X_LIBS
699enable_xft 693enable_xft
700enable_font_styles 694enable_font_styles
701enable_afterimage 695enable_afterimage
702with_afterimage_config 696with_afterimage_config
703enable_pixbuf 697enable_pixbuf
698enable_startup_notification
704enable_transparency 699enable_transparency
705enable_fading 700enable_fading
706enable_rxvt_scroll 701enable_rxvt_scroll
707enable_next_scroll 702enable_next_scroll
708enable_xterm_scroll 703enable_xterm_scroll
1150 *) 1145 *)
1151 # FIXME: should be removed in autoconf 3.0. 1146 # FIXME: should be removed in autoconf 3.0.
1152 $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
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : "${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}
1156 ;; 1151 ;;
1157 1152
1158 esac 1153 esac
1159done 1154done
1160 1155
1372 --enable-256-color enable 256-color support 1367 --enable-256-color enable 256-color support
1373 --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
1374 --enable-combining enable composition of base and combining characters 1369 --enable-combining enable composition of base and combining characters
1375 --enable-xft enable xft support on systems that have it 1370 --enable-xft enable xft support on systems that have it
1376 --enable-font-styles enable bold and italic support 1371 --enable-font-styles enable bold and italic support
1377 --enable-afterimage enable integration with libAfterImage for background images 1372 --enable-afterimage enable integration with libAfterImage for background images (deprecated)
1378 --enable-pixbuf enable integration with gdk-pixbuf for background images 1373 --enable-pixbuf enable integration with gdk-pixbuf for background images
1374 --enable-startup-notification enable freedesktop startup notification support
1379 --enable-transparency enable transparent backgrounds 1375 --enable-transparency enable transparent backgrounds
1380 --enable-fading enable colors fading when off focus 1376 --enable-fading enable colors fading when off focus
1381 --enable-rxvt-scroll enable rxvt style scrollbar 1377 --enable-rxvt-scroll enable rxvt style scrollbar
1382 --enable-next-scroll enable NeXT style scrollbar 1378 --enable-next-scroll enable NeXT style scrollbar
1383 --enable-xterm-scroll enable Xterm style scrollbar 1379 --enable-xterm-scroll enable Xterm style scrollbar
1493 1489
1494test -n "$ac_init_help" && exit $ac_status 1490test -n "$ac_init_help" && exit $ac_status
1495if $ac_init_version; then 1491if $ac_init_version; then
1496 cat <<\_ACEOF 1492 cat <<\_ACEOF
1497configure 1493configure
1498generated by GNU Autoconf 2.68 1494generated by GNU Autoconf 2.67
1499 1495
1500Copyright (C) 2010 Free Software Foundation, Inc. 1496Copyright (C) 2010 Free Software Foundation, Inc.
1501This configure script is free software; the Free Software Foundation 1497This configure script is free software; the Free Software Foundation
1502gives unlimited permission to copy, distribute and modify it. 1498gives unlimited permission to copy, distribute and modify it.
1503_ACEOF 1499_ACEOF
1539 $as_echo "$as_me: failed program was:" >&5 1535 $as_echo "$as_me: failed program was:" >&5
1540sed 's/^/| /' conftest.$ac_ext >&5 1536sed 's/^/| /' conftest.$ac_ext >&5
1541 1537
1542 ac_retval=1 1538 ac_retval=1
1543fi 1539fi
1544 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;}
1545 as_fn_set_status $ac_retval 1541 as_fn_set_status $ac_retval
1546 1542
1547} # ac_fn_c_try_compile 1543} # ac_fn_c_try_compile
1548 1544
1549# ac_fn_cxx_try_compile LINENO 1545# ac_fn_cxx_try_compile LINENO
1577 $as_echo "$as_me: failed program was:" >&5 1573 $as_echo "$as_me: failed program was:" >&5
1578sed 's/^/| /' conftest.$ac_ext >&5 1574sed 's/^/| /' conftest.$ac_ext >&5
1579 1575
1580 ac_retval=1 1576 ac_retval=1
1581fi 1577fi
1582 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;}
1583 as_fn_set_status $ac_retval 1579 as_fn_set_status $ac_retval
1584 1580
1585} # ac_fn_cxx_try_compile 1581} # ac_fn_cxx_try_compile
1586 1582
1587# ac_fn_c_try_cpp LINENO 1583# ac_fn_c_try_cpp LINENO
1614 $as_echo "$as_me: failed program was:" >&5 1610 $as_echo "$as_me: failed program was:" >&5
1615sed 's/^/| /' conftest.$ac_ext >&5 1611sed 's/^/| /' conftest.$ac_ext >&5
1616 1612
1617 ac_retval=1 1613 ac_retval=1
1618fi 1614fi
1619 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;}
1620 as_fn_set_status $ac_retval 1616 as_fn_set_status $ac_retval
1621 1617
1622} # ac_fn_c_try_cpp 1618} # ac_fn_c_try_cpp
1623 1619
1624# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1620# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1627# the include files in INCLUDES and setting the cache variable VAR 1623# the include files in INCLUDES and setting the cache variable VAR
1628# accordingly. 1624# accordingly.
1629ac_fn_c_check_header_mongrel () 1625ac_fn_c_check_header_mongrel ()
1630{ 1626{
1631 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
1632 if eval \${$3+:} false; then : 1628 if eval "test \"\${$3+set}\"" = set; then :
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1634$as_echo_n "checking for $2... " >&6; } 1630$as_echo_n "checking for $2... " >&6; }
1635if eval \${$3+:} false; then : 1631if eval "test \"\${$3+set}\"" = set; then :
1636 $as_echo_n "(cached) " >&6 1632 $as_echo_n "(cached) " >&6
1637fi 1633fi
1638eval ac_res=\$$3 1634eval ac_res=\$$3
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640$as_echo "$ac_res" >&6; } 1636$as_echo "$ac_res" >&6; }
1693$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;}
1694 ;; 1690 ;;
1695esac 1691esac
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1697$as_echo_n "checking for $2... " >&6; } 1693$as_echo_n "checking for $2... " >&6; }
1698if eval \${$3+:} false; then : 1694if eval "test \"\${$3+set}\"" = set; then :
1699 $as_echo_n "(cached) " >&6 1695 $as_echo_n "(cached) " >&6
1700else 1696else
1701 eval "$3=\$ac_header_compiler" 1697 eval "$3=\$ac_header_compiler"
1702fi 1698fi
1703eval ac_res=\$$3 1699eval ac_res=\$$3
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705$as_echo "$ac_res" >&6; } 1701$as_echo "$ac_res" >&6; }
1706fi 1702fi
1707 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;}
1708 1704
1709} # ac_fn_c_check_header_mongrel 1705} # ac_fn_c_check_header_mongrel
1710 1706
1711# ac_fn_c_try_run LINENO 1707# ac_fn_c_try_run LINENO
1712# ---------------------- 1708# ----------------------
1743sed 's/^/| /' conftest.$ac_ext >&5 1739sed 's/^/| /' conftest.$ac_ext >&5
1744 1740
1745 ac_retval=$ac_status 1741 ac_retval=$ac_status
1746fi 1742fi
1747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748 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;}
1749 as_fn_set_status $ac_retval 1745 as_fn_set_status $ac_retval
1750 1746
1751} # ac_fn_c_try_run 1747} # ac_fn_c_try_run
1752 1748
1753# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1749# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1757ac_fn_c_check_header_compile () 1753ac_fn_c_check_header_compile ()
1758{ 1754{
1759 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
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761$as_echo_n "checking for $2... " >&6; } 1757$as_echo_n "checking for $2... " >&6; }
1762if eval \${$3+:} false; then : 1758if eval "test \"\${$3+set}\"" = set; then :
1763 $as_echo_n "(cached) " >&6 1759 $as_echo_n "(cached) " >&6
1764else 1760else
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766/* end confdefs.h. */ 1762/* end confdefs.h. */
1767$4 1763$4
1775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1776fi 1772fi
1777eval ac_res=\$$3 1773eval ac_res=\$$3
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779$as_echo "$ac_res" >&6; } 1775$as_echo "$ac_res" >&6; }
1780 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;}
1781 1777
1782} # ac_fn_c_check_header_compile 1778} # ac_fn_c_check_header_compile
1783 1779
1784# ac_fn_c_try_link LINENO 1780# ac_fn_c_try_link LINENO
1785# ----------------------- 1781# -----------------------
1820 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1821 # 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
1822 # 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
1823 # 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.
1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1825 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;}
1826 as_fn_set_status $ac_retval 1822 as_fn_set_status $ac_retval
1827 1823
1828} # ac_fn_c_try_link 1824} # ac_fn_c_try_link
1829 1825
1830# ac_fn_cxx_try_link LINENO 1826# ac_fn_cxx_try_link LINENO
1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1862 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1867 # 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
1868 # 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
1869 # 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.
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 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;}
1872 as_fn_set_status $ac_retval 1868 as_fn_set_status $ac_retval
1873 1869
1874} # ac_fn_cxx_try_link 1870} # ac_fn_cxx_try_link
1875 1871
1876# ac_fn_cxx_try_cpp LINENO 1872# ac_fn_cxx_try_cpp LINENO
1903 $as_echo "$as_me: failed program was:" >&5 1899 $as_echo "$as_me: failed program was:" >&5
1904sed 's/^/| /' conftest.$ac_ext >&5 1900sed 's/^/| /' conftest.$ac_ext >&5
1905 1901
1906 ac_retval=1 1902 ac_retval=1
1907fi 1903fi
1908 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;}
1909 as_fn_set_status $ac_retval 1905 as_fn_set_status $ac_retval
1910 1906
1911} # ac_fn_cxx_try_cpp 1907} # ac_fn_cxx_try_cpp
1912 1908
1913# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1909# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1916# the include files in INCLUDES and setting the cache variable VAR 1912# the include files in INCLUDES and setting the cache variable VAR
1917# accordingly. 1913# accordingly.
1918ac_fn_cxx_check_header_mongrel () 1914ac_fn_cxx_check_header_mongrel ()
1919{ 1915{
1920 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
1921 if eval \${$3+:} false; then : 1917 if eval "test \"\${$3+set}\"" = set; then :
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923$as_echo_n "checking for $2... " >&6; } 1919$as_echo_n "checking for $2... " >&6; }
1924if eval \${$3+:} false; then : 1920if eval "test \"\${$3+set}\"" = set; then :
1925 $as_echo_n "(cached) " >&6 1921 $as_echo_n "(cached) " >&6
1926fi 1922fi
1927eval ac_res=\$$3 1923eval ac_res=\$$3
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929$as_echo "$ac_res" >&6; } 1925$as_echo "$ac_res" >&6; }
1982$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;}
1983 ;; 1979 ;;
1984esac 1980esac
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986$as_echo_n "checking for $2... " >&6; } 1982$as_echo_n "checking for $2... " >&6; }
1987if eval \${$3+:} false; then : 1983if eval "test \"\${$3+set}\"" = set; then :
1988 $as_echo_n "(cached) " >&6 1984 $as_echo_n "(cached) " >&6
1989else 1985else
1990 eval "$3=\$ac_header_compiler" 1986 eval "$3=\$ac_header_compiler"
1991fi 1987fi
1992eval ac_res=\$$3 1988eval ac_res=\$$3
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994$as_echo "$ac_res" >&6; } 1990$as_echo "$ac_res" >&6; }
1995fi 1991fi
1996 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;}
1997 1993
1998} # ac_fn_cxx_check_header_mongrel 1994} # ac_fn_cxx_check_header_mongrel
1999 1995
2000# ac_fn_cxx_check_func LINENO FUNC VAR 1996# ac_fn_cxx_check_func LINENO FUNC VAR
2001# ------------------------------------ 1997# ------------------------------------
2003ac_fn_cxx_check_func () 1999ac_fn_cxx_check_func ()
2004{ 2000{
2005 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
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007$as_echo_n "checking for $2... " >&6; } 2003$as_echo_n "checking for $2... " >&6; }
2008if eval \${$3+:} false; then : 2004if eval "test \"\${$3+set}\"" = set; then :
2009 $as_echo_n "(cached) " >&6 2005 $as_echo_n "(cached) " >&6
2010else 2006else
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012/* end confdefs.h. */ 2008/* end confdefs.h. */
2013/* 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.
2058 conftest$ac_exeext conftest.$ac_ext 2054 conftest$ac_exeext conftest.$ac_ext
2059fi 2055fi
2060eval ac_res=\$$3 2056eval ac_res=\$$3
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062$as_echo "$ac_res" >&6; } 2058$as_echo "$ac_res" >&6; }
2063 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;}
2064 2060
2065} # ac_fn_cxx_check_func 2061} # ac_fn_cxx_check_func
2066 2062
2067# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES 2063# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2068# --------------------------------------------- 2064# ---------------------------------------------
2071ac_fn_cxx_check_type () 2067ac_fn_cxx_check_type ()
2072{ 2068{
2073 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
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2075$as_echo_n "checking for $2... " >&6; } 2071$as_echo_n "checking for $2... " >&6; }
2076if eval \${$3+:} false; then : 2072if eval "test \"\${$3+set}\"" = set; then :
2077 $as_echo_n "(cached) " >&6 2073 $as_echo_n "(cached) " >&6
2078else 2074else
2079 eval "$3=no" 2075 eval "$3=no"
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081/* end confdefs.h. */ 2077/* end confdefs.h. */
2112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113fi 2109fi
2114eval ac_res=\$$3 2110eval ac_res=\$$3
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116$as_echo "$ac_res" >&6; } 2112$as_echo "$ac_res" >&6; }
2117 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;}
2118 2114
2119} # ac_fn_cxx_check_type 2115} # ac_fn_cxx_check_type
2120 2116
2121# ac_fn_c_find_intX_t LINENO BITS VAR 2117# ac_fn_c_find_intX_t LINENO BITS VAR
2122# ----------------------------------- 2118# -----------------------------------
2125ac_fn_c_find_intX_t () 2121ac_fn_c_find_intX_t ()
2126{ 2122{
2127 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
2128 { $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
2129$as_echo_n "checking for int$2_t... " >&6; } 2125$as_echo_n "checking for int$2_t... " >&6; }
2130if eval \${$3+:} false; then : 2126if eval "test \"\${$3+set}\"" = set; then :
2131 $as_echo_n "(cached) " >&6 2127 $as_echo_n "(cached) " >&6
2132else 2128else
2133 eval "$3=no" 2129 eval "$3=no"
2134 # Order is important - never check a type that is potentially smaller 2130 # Order is important - never check a type that is potentially smaller
2135 # than half of the expected target width. 2131 # than half of the expected target width.
2186 done 2182 done
2187fi 2183fi
2188eval ac_res=\$$3 2184eval ac_res=\$$3
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190$as_echo "$ac_res" >&6; } 2186$as_echo "$ac_res" >&6; }
2191 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;}
2192 2188
2193} # ac_fn_c_find_intX_t 2189} # ac_fn_c_find_intX_t
2194 2190
2195# ac_fn_c_find_uintX_t LINENO BITS VAR 2191# ac_fn_c_find_uintX_t LINENO BITS VAR
2196# ------------------------------------ 2192# ------------------------------------
2199ac_fn_c_find_uintX_t () 2195ac_fn_c_find_uintX_t ()
2200{ 2196{
2201 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
2202 { $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
2203$as_echo_n "checking for uint$2_t... " >&6; } 2199$as_echo_n "checking for uint$2_t... " >&6; }
2204if eval \${$3+:} false; then : 2200if eval "test \"\${$3+set}\"" = set; then :
2205 $as_echo_n "(cached) " >&6 2201 $as_echo_n "(cached) " >&6
2206else 2202else
2207 eval "$3=no" 2203 eval "$3=no"
2208 # Order is important - never check a type that is potentially smaller 2204 # Order is important - never check a type that is potentially smaller
2209 # than half of the expected target width. 2205 # than half of the expected target width.
2239 done 2235 done
2240fi 2236fi
2241eval ac_res=\$$3 2237eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243$as_echo "$ac_res" >&6; } 2239$as_echo "$ac_res" >&6; }
2244 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;}
2245 2241
2246} # ac_fn_c_find_uintX_t 2242} # ac_fn_c_find_uintX_t
2247 2243
2248# ac_fn_cxx_try_run LINENO 2244# ac_fn_cxx_try_run LINENO
2249# ------------------------ 2245# ------------------------
2280sed 's/^/| /' conftest.$ac_ext >&5 2276sed 's/^/| /' conftest.$ac_ext >&5
2281 2277
2282 ac_retval=$ac_status 2278 ac_retval=$ac_status
2283fi 2279fi
2284 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2280 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2285 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;}
2286 as_fn_set_status $ac_retval 2282 as_fn_set_status $ac_retval
2287 2283
2288} # ac_fn_cxx_try_run 2284} # ac_fn_cxx_try_run
2289cat >config.log <<_ACEOF 2285cat >config.log <<_ACEOF
2290This file contains any messages produced by compilers while 2286This file contains any messages produced by compilers while
2291running configure, to aid debugging if configure makes a mistake. 2287running configure, to aid debugging if configure makes a mistake.
2292 2288
2293It was created by $as_me, which was 2289It was created by $as_me, which was
2294generated by GNU Autoconf 2.68. Invocation command line was 2290generated by GNU Autoconf 2.67. Invocation command line was
2295 2291
2296 $ $0 $@ 2292 $ $0 $@
2297 2293
2298_ACEOF 2294_ACEOF
2299exec 5>>config.log 2295exec 5>>config.log
2547 sed 's/^/| /' "$ac_site_file" >&5 2543 sed 's/^/| /' "$ac_site_file" >&5
2548 . "$ac_site_file" \ 2544 . "$ac_site_file" \
2549 || { { $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
2550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2551as_fn_error $? "failed to load site script $ac_site_file 2547as_fn_error $? "failed to load site script $ac_site_file
2552See \`config.log' for more details" "$LINENO" 5; } 2548See \`config.log' for more details" "$LINENO" 5 ; }
2553 fi 2549 fi
2554done 2550done
2555 2551
2556if test -r "$cache_file"; then 2552if test -r "$cache_file"; then
2557 # 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
2676$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2672$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2677 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2673 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2678 2674
2679{ $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
2680$as_echo_n "checking build system type... " >&6; } 2676$as_echo_n "checking build system type... " >&6; }
2681if ${ac_cv_build+:} false; then : 2677if test "${ac_cv_build+set}" = set; then :
2682 $as_echo_n "(cached) " >&6 2678 $as_echo_n "(cached) " >&6
2683else 2679else
2684 ac_build_alias=$build_alias 2680 ac_build_alias=$build_alias
2685test "x$ac_build_alias" = x && 2681test "x$ac_build_alias" = x &&
2686 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2682 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2692fi 2688fi
2693{ $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
2694$as_echo "$ac_cv_build" >&6; } 2690$as_echo "$ac_cv_build" >&6; }
2695case $ac_cv_build in 2691case $ac_cv_build in
2696*-*-*) ;; 2692*-*-*) ;;
2697*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2693*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2698esac 2694esac
2699build=$ac_cv_build 2695build=$ac_cv_build
2700ac_save_IFS=$IFS; IFS='-' 2696ac_save_IFS=$IFS; IFS='-'
2701set x $ac_cv_build 2697set x $ac_cv_build
2702shift 2698shift
2710case $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
2711 2707
2712 2708
2713{ $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
2714$as_echo_n "checking host system type... " >&6; } 2710$as_echo_n "checking host system type... " >&6; }
2715if ${ac_cv_host+:} false; then : 2711if test "${ac_cv_host+set}" = set; then :
2716 $as_echo_n "(cached) " >&6 2712 $as_echo_n "(cached) " >&6
2717else 2713else
2718 if test "x$host_alias" = x; then 2714 if test "x$host_alias" = x; then
2719 ac_cv_host=$ac_cv_build 2715 ac_cv_host=$ac_cv_build
2720else 2716else
2725fi 2721fi
2726{ $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
2727$as_echo "$ac_cv_host" >&6; } 2723$as_echo "$ac_cv_host" >&6; }
2728case $ac_cv_host in 2724case $ac_cv_host in
2729*-*-*) ;; 2725*-*-*) ;;
2730*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2726*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2731esac 2727esac
2732host=$ac_cv_host 2728host=$ac_cv_host
2733ac_save_IFS=$IFS; IFS='-' 2729ac_save_IFS=$IFS; IFS='-'
2734set x $ac_cv_host 2730set x $ac_cv_host
2735shift 2731shift
2761if test -n "$ac_tool_prefix"; then 2757if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2763set dummy ${ac_tool_prefix}gcc; ac_word=$2 2759set dummy ${ac_tool_prefix}gcc; ac_word=$2
2764{ $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
2765$as_echo_n "checking for $ac_word... " >&6; } 2761$as_echo_n "checking for $ac_word... " >&6; }
2766if ${ac_cv_prog_CC+:} false; then : 2762if test "${ac_cv_prog_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6 2763 $as_echo_n "(cached) " >&6
2768else 2764else
2769 if test -n "$CC"; then 2765 if test -n "$CC"; then
2770 ac_cv_prog_CC="$CC" # Let the user override the test. 2766 ac_cv_prog_CC="$CC" # Let the user override the test.
2771else 2767else
2801 ac_ct_CC=$CC 2797 ac_ct_CC=$CC
2802 # 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.
2803set dummy gcc; ac_word=$2 2799set dummy gcc; ac_word=$2
2804{ $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
2805$as_echo_n "checking for $ac_word... " >&6; } 2801$as_echo_n "checking for $ac_word... " >&6; }
2806if ${ac_cv_prog_ac_ct_CC+:} false; then : 2802if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2807 $as_echo_n "(cached) " >&6 2803 $as_echo_n "(cached) " >&6
2808else 2804else
2809 if test -n "$ac_ct_CC"; then 2805 if test -n "$ac_ct_CC"; then
2810 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.
2811else 2807else
2854 if test -n "$ac_tool_prefix"; then 2850 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2851 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2856set dummy ${ac_tool_prefix}cc; ac_word=$2 2852set dummy ${ac_tool_prefix}cc; ac_word=$2
2857{ $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
2858$as_echo_n "checking for $ac_word... " >&6; } 2854$as_echo_n "checking for $ac_word... " >&6; }
2859if ${ac_cv_prog_CC+:} false; then : 2855if test "${ac_cv_prog_CC+set}" = set; then :
2860 $as_echo_n "(cached) " >&6 2856 $as_echo_n "(cached) " >&6
2861else 2857else
2862 if test -n "$CC"; then 2858 if test -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test. 2859 ac_cv_prog_CC="$CC" # Let the user override the test.
2864else 2860else
2894if test -z "$CC"; then 2890if test -z "$CC"; then
2895 # 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.
2896set dummy cc; ac_word=$2 2892set dummy cc; ac_word=$2
2897{ $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
2898$as_echo_n "checking for $ac_word... " >&6; } 2894$as_echo_n "checking for $ac_word... " >&6; }
2899if ${ac_cv_prog_CC+:} false; then : 2895if test "${ac_cv_prog_CC+set}" = set; then :
2900 $as_echo_n "(cached) " >&6 2896 $as_echo_n "(cached) " >&6
2901else 2897else
2902 if test -n "$CC"; then 2898 if test -n "$CC"; then
2903 ac_cv_prog_CC="$CC" # Let the user override the test. 2899 ac_cv_prog_CC="$CC" # Let the user override the test.
2904else 2900else
2953 do 2949 do
2954 # 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.
2955set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2951set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2956{ $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
2957$as_echo_n "checking for $ac_word... " >&6; } 2953$as_echo_n "checking for $ac_word... " >&6; }
2958if ${ac_cv_prog_CC+:} false; then : 2954if test "${ac_cv_prog_CC+set}" = set; then :
2959 $as_echo_n "(cached) " >&6 2955 $as_echo_n "(cached) " >&6
2960else 2956else
2961 if test -n "$CC"; then 2957 if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test. 2958 ac_cv_prog_CC="$CC" # Let the user override the test.
2963else 2959else
2997do 2993do
2998 # 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.
2999set dummy $ac_prog; ac_word=$2 2995set dummy $ac_prog; ac_word=$2
3000{ $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
3001$as_echo_n "checking for $ac_word... " >&6; } 2997$as_echo_n "checking for $ac_word... " >&6; }
3002if ${ac_cv_prog_ac_ct_CC+:} false; then : 2998if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3003 $as_echo_n "(cached) " >&6 2999 $as_echo_n "(cached) " >&6
3004else 3000else
3005 if test -n "$ac_ct_CC"; then 3001 if test -n "$ac_ct_CC"; then
3006 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.
3007else 3003else
3052 3048
3053 3049
3054test -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
3055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056as_fn_error $? "no acceptable C compiler found in \$PATH 3052as_fn_error $? "no acceptable C compiler found in \$PATH
3057See \`config.log' for more details" "$LINENO" 5; } 3053See \`config.log' for more details" "$LINENO" 5 ; }
3058 3054
3059# Provide some information about the compiler. 3055# Provide some information about the compiler.
3060$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
3061set X $ac_compile 3057set X $ac_compile
3062ac_compiler=$2 3058ac_compiler=$2
3167sed 's/^/| /' conftest.$ac_ext >&5 3163sed 's/^/| /' conftest.$ac_ext >&5
3168 3164
3169{ { $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
3170$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3166$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3171as_fn_error 77 "C compiler cannot create executables 3167as_fn_error 77 "C compiler cannot create executables
3172See \`config.log' for more details" "$LINENO" 5; } 3168See \`config.log' for more details" "$LINENO" 5 ; }
3173else 3169else
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3175$as_echo "yes" >&6; } 3171$as_echo "yes" >&6; }
3176fi 3172fi
3177{ $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
3210done 3206done
3211else 3207else
3212 { { $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
3213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3210as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3215See \`config.log' for more details" "$LINENO" 5; } 3211See \`config.log' for more details" "$LINENO" 5 ; }
3216fi 3212fi
3217rm -f conftest conftest$ac_cv_exeext 3213rm -f conftest conftest$ac_cv_exeext
3218{ $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
3219$as_echo "$ac_cv_exeext" >&6; } 3215$as_echo "$ac_cv_exeext" >&6; }
3220 3216
3269 else 3265 else
3270 { { $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
3271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272as_fn_error $? "cannot run C compiled programs. 3268as_fn_error $? "cannot run C compiled programs.
3273If you meant to cross compile, use \`--host'. 3269If you meant to cross compile, use \`--host'.
3274See \`config.log' for more details" "$LINENO" 5; } 3270See \`config.log' for more details" "$LINENO" 5 ; }
3275 fi 3271 fi
3276 fi 3272 fi
3277fi 3273fi
3278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3279$as_echo "$cross_compiling" >&6; } 3275$as_echo "$cross_compiling" >&6; }
3280 3276
3281rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3277rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3282ac_clean_files=$ac_clean_files_save 3278ac_clean_files=$ac_clean_files_save
3283{ $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
3284$as_echo_n "checking for suffix of object files... " >&6; } 3280$as_echo_n "checking for suffix of object files... " >&6; }
3285if ${ac_cv_objext+:} false; then : 3281if test "${ac_cv_objext+set}" = set; then :
3286 $as_echo_n "(cached) " >&6 3282 $as_echo_n "(cached) " >&6
3287else 3283else
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289/* end confdefs.h. */ 3285/* end confdefs.h. */
3290 3286
3321sed 's/^/| /' conftest.$ac_ext >&5 3317sed 's/^/| /' conftest.$ac_ext >&5
3322 3318
3323{ { $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
3324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3320$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325as_fn_error $? "cannot compute suffix of object files: cannot compile 3321as_fn_error $? "cannot compute suffix of object files: cannot compile
3326See \`config.log' for more details" "$LINENO" 5; } 3322See \`config.log' for more details" "$LINENO" 5 ; }
3327fi 3323fi
3328rm -f conftest.$ac_cv_objext conftest.$ac_ext 3324rm -f conftest.$ac_cv_objext conftest.$ac_ext
3329fi 3325fi
3330{ $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
3331$as_echo "$ac_cv_objext" >&6; } 3327$as_echo "$ac_cv_objext" >&6; }
3332OBJEXT=$ac_cv_objext 3328OBJEXT=$ac_cv_objext
3333ac_objext=$OBJEXT 3329ac_objext=$OBJEXT
3334{ $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
3335$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; }
3336if ${ac_cv_c_compiler_gnu+:} false; then : 3332if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3337 $as_echo_n "(cached) " >&6 3333 $as_echo_n "(cached) " >&6
3338else 3334else
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340/* end confdefs.h. */ 3336/* end confdefs.h. */
3341 3337
3368fi 3364fi
3369ac_test_CFLAGS=${CFLAGS+set} 3365ac_test_CFLAGS=${CFLAGS+set}
3370ac_save_CFLAGS=$CFLAGS 3366ac_save_CFLAGS=$CFLAGS
3371{ $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
3372$as_echo_n "checking whether $CC accepts -g... " >&6; } 3368$as_echo_n "checking whether $CC accepts -g... " >&6; }
3373if ${ac_cv_prog_cc_g+:} false; then : 3369if test "${ac_cv_prog_cc_g+set}" = set; then :
3374 $as_echo_n "(cached) " >&6 3370 $as_echo_n "(cached) " >&6
3375else 3371else
3376 ac_save_c_werror_flag=$ac_c_werror_flag 3372 ac_save_c_werror_flag=$ac_c_werror_flag
3377 ac_c_werror_flag=yes 3373 ac_c_werror_flag=yes
3378 ac_cv_prog_cc_g=no 3374 ac_cv_prog_cc_g=no
3446 CFLAGS= 3442 CFLAGS=
3447 fi 3443 fi
3448fi 3444fi
3449{ $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
3450$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; }
3451if ${ac_cv_prog_cc_c89+:} false; then : 3447if test "${ac_cv_prog_cc_c89+set}" = set; then :
3452 $as_echo_n "(cached) " >&6 3448 $as_echo_n "(cached) " >&6
3453else 3449else
3454 ac_cv_prog_cc_c89=no 3450 ac_cv_prog_cc_c89=no
3455ac_save_CC=$CC 3451ac_save_CC=$CC
3456cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3452cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 do 3553 do
3558 # 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.
3559set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3555set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3560{ $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
3561$as_echo_n "checking for $ac_word... " >&6; } 3557$as_echo_n "checking for $ac_word... " >&6; }
3562if ${ac_cv_prog_CXX+:} false; then : 3558if test "${ac_cv_prog_CXX+set}" = set; then :
3563 $as_echo_n "(cached) " >&6 3559 $as_echo_n "(cached) " >&6
3564else 3560else
3565 if test -n "$CXX"; then 3561 if test -n "$CXX"; then
3566 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3562 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3567else 3563else
3601do 3597do
3602 # 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.
3603set dummy $ac_prog; ac_word=$2 3599set dummy $ac_prog; ac_word=$2
3604{ $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
3605$as_echo_n "checking for $ac_word... " >&6; } 3601$as_echo_n "checking for $ac_word... " >&6; }
3606if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3602if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3607 $as_echo_n "(cached) " >&6 3603 $as_echo_n "(cached) " >&6
3608else 3604else
3609 if test -n "$ac_ct_CXX"; then 3605 if test -n "$ac_ct_CXX"; then
3610 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.
3611else 3607else
3679 test $ac_status = 0; } 3675 test $ac_status = 0; }
3680done 3676done
3681 3677
3682{ $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
3683$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; }
3684if ${ac_cv_cxx_compiler_gnu+:} false; then : 3680if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3685 $as_echo_n "(cached) " >&6 3681 $as_echo_n "(cached) " >&6
3686else 3682else
3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688/* end confdefs.h. */ 3684/* end confdefs.h. */
3689 3685
3716fi 3712fi
3717ac_test_CXXFLAGS=${CXXFLAGS+set} 3713ac_test_CXXFLAGS=${CXXFLAGS+set}
3718ac_save_CXXFLAGS=$CXXFLAGS 3714ac_save_CXXFLAGS=$CXXFLAGS
3719{ $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
3720$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3716$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3721if ${ac_cv_prog_cxx_g+:} false; then : 3717if test "${ac_cv_prog_cxx_g+set}" = set; then :
3722 $as_echo_n "(cached) " >&6 3718 $as_echo_n "(cached) " >&6
3723else 3719else
3724 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3720 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3725 ac_cxx_werror_flag=yes 3721 ac_cxx_werror_flag=yes
3726 ac_cv_prog_cxx_g=no 3722 ac_cv_prog_cxx_g=no
3810# On Suns, sometimes $CPP names a directory. 3806# On Suns, sometimes $CPP names a directory.
3811if test -n "$CPP" && test -d "$CPP"; then 3807if test -n "$CPP" && test -d "$CPP"; then
3812 CPP= 3808 CPP=
3813fi 3809fi
3814if test -z "$CPP"; then 3810if test -z "$CPP"; then
3815 if ${ac_cv_prog_CPP+:} false; then : 3811 if test "${ac_cv_prog_CPP+set}" = set; then :
3816 $as_echo_n "(cached) " >&6 3812 $as_echo_n "(cached) " >&6
3817else 3813else
3818 # Double quotes because CPP needs to be expanded 3814 # Double quotes because CPP needs to be expanded
3819 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3815 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3820 do 3816 do
3926 3922
3927else 3923else
3928 { { $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
3929$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3925$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3930as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3926as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3931See \`config.log' for more details" "$LINENO" 5; } 3927See \`config.log' for more details" "$LINENO" 5 ; }
3932fi 3928fi
3933 3929
3934ac_ext=c 3930ac_ext=c
3935ac_cpp='$CPP $CPPFLAGS' 3931ac_cpp='$CPP $CPPFLAGS'
3936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3952# ./install, which can be erroneously created by make from ./install.sh. 3948# ./install, which can be erroneously created by make from ./install.sh.
3953# Reject install programs that cannot install multiple files. 3949# Reject install programs that cannot install multiple files.
3954{ $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
3955$as_echo_n "checking for a BSD-compatible install... " >&6; } 3951$as_echo_n "checking for a BSD-compatible install... " >&6; }
3956if test -z "$INSTALL"; then 3952if test -z "$INSTALL"; then
3957if ${ac_cv_path_install+:} false; then : 3953if test "${ac_cv_path_install+set}" = set; then :
3958 $as_echo_n "(cached) " >&6 3954 $as_echo_n "(cached) " >&6
3959else 3955else
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961for as_dir in $PATH 3957for as_dir in $PATH
3962do 3958do
4033 4029
4034 4030
4035 4031
4036{ $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
4037$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; }
4038if ${ac_cv_path_GREP+:} false; then : 4034if test "${ac_cv_path_GREP+set}" = set; then :
4039 $as_echo_n "(cached) " >&6 4035 $as_echo_n "(cached) " >&6
4040else 4036else
4041 if test -z "$GREP"; then 4037 if test -z "$GREP"; then
4042 ac_path_GREP_found=false 4038 ac_path_GREP_found=false
4043 # 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
4096 GREP="$ac_cv_path_GREP" 4092 GREP="$ac_cv_path_GREP"
4097 4093
4098 4094
4099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4100$as_echo_n "checking for egrep... " >&6; } 4096$as_echo_n "checking for egrep... " >&6; }
4101if ${ac_cv_path_EGREP+:} false; then : 4097if test "${ac_cv_path_EGREP+set}" = set; then :
4102 $as_echo_n "(cached) " >&6 4098 $as_echo_n "(cached) " >&6
4103else 4099else
4104 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4100 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4105 then ac_cv_path_EGREP="$GREP -E" 4101 then ac_cv_path_EGREP="$GREP -E"
4106 else 4102 else
4163 EGREP="$ac_cv_path_EGREP" 4159 EGREP="$ac_cv_path_EGREP"
4164 4160
4165 4161
4166{ $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
4167$as_echo_n "checking for ANSI C header files... " >&6; } 4163$as_echo_n "checking for ANSI C header files... " >&6; }
4168if ${ac_cv_header_stdc+:} false; then : 4164if test "${ac_cv_header_stdc+set}" = set; then :
4169 $as_echo_n "(cached) " >&6 4165 $as_echo_n "(cached) " >&6
4170else 4166else
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172/* end confdefs.h. */ 4168/* end confdefs.h. */
4173#include <stdlib.h> 4169#include <stdlib.h>
4292done 4288done
4293 4289
4294 4290
4295 4291
4296 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"
4297if test "x$ac_cv_header_minix_config_h" = xyes; then : 4293if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4298 MINIX=yes 4294 MINIX=yes
4299else 4295else
4300 MINIX= 4296 MINIX=
4301fi 4297fi
4302 4298
4314 fi 4310 fi
4315 4311
4316 4312
4317 { $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
4318$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; }
4319if ${ac_cv_safe_to_define___extensions__+:} false; then : 4315if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4320 $as_echo_n "(cached) " >&6 4316 $as_echo_n "(cached) " >&6
4321else 4317else
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323/* end confdefs.h. */ 4319/* end confdefs.h. */
4324 4320
4355 4351
4356 4352
4357 4353
4358{ $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
4359$as_echo_n "checking for library containing strerror... " >&6; } 4355$as_echo_n "checking for library containing strerror... " >&6; }
4360if ${ac_cv_search_strerror+:} false; then : 4356if test "${ac_cv_search_strerror+set}" = set; then :
4361 $as_echo_n "(cached) " >&6 4357 $as_echo_n "(cached) " >&6
4362else 4358else
4363 ac_func_search_save_LIBS=$LIBS 4359 ac_func_search_save_LIBS=$LIBS
4364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365/* end confdefs.h. */ 4361/* end confdefs.h. */
4389 if ac_fn_c_try_link "$LINENO"; then : 4385 if ac_fn_c_try_link "$LINENO"; then :
4390 ac_cv_search_strerror=$ac_res 4386 ac_cv_search_strerror=$ac_res
4391fi 4387fi
4392rm -f core conftest.err conftest.$ac_objext \ 4388rm -f core conftest.err conftest.$ac_objext \
4393 conftest$ac_exeext 4389 conftest$ac_exeext
4394 if ${ac_cv_search_strerror+:} false; then : 4390 if test "${ac_cv_search_strerror+set}" = set; then :
4395 break 4391 break
4396fi 4392fi
4397done 4393done
4398if ${ac_cv_search_strerror+:} false; then : 4394if test "${ac_cv_search_strerror+set}" = set; then :
4399 4395
4400else 4396else
4401 ac_cv_search_strerror=no 4397 ac_cv_search_strerror=no
4402fi 4398fi
4403rm conftest.$ac_ext 4399rm conftest.$ac_ext
4491 ;; 4487 ;;
4492esac 4488esac
4493 4489
4494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5 4490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setlocale" >&5
4495$as_echo_n "checking for library containing setlocale... " >&6; } 4491$as_echo_n "checking for library containing setlocale... " >&6; }
4496if ${ac_cv_search_setlocale+:} false; then : 4492if test "${ac_cv_search_setlocale+set}" = set; then :
4497 $as_echo_n "(cached) " >&6 4493 $as_echo_n "(cached) " >&6
4498else 4494else
4499 ac_func_search_save_LIBS=$LIBS 4495 ac_func_search_save_LIBS=$LIBS
4500cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501/* end confdefs.h. */ 4497/* end confdefs.h. */
4525 if ac_fn_cxx_try_link "$LINENO"; then : 4521 if ac_fn_cxx_try_link "$LINENO"; then :
4526 ac_cv_search_setlocale=$ac_res 4522 ac_cv_search_setlocale=$ac_res
4527fi 4523fi
4528rm -f core conftest.err conftest.$ac_objext \ 4524rm -f core conftest.err conftest.$ac_objext \
4529 conftest$ac_exeext 4525 conftest$ac_exeext
4530 if ${ac_cv_search_setlocale+:} false; then : 4526 if test "${ac_cv_search_setlocale+set}" = set; then :
4531 break 4527 break
4532fi 4528fi
4533done 4529done
4534if ${ac_cv_search_setlocale+:} false; then : 4530if test "${ac_cv_search_setlocale+set}" = set; then :
4535 4531
4536else 4532else
4537 ac_cv_search_setlocale=no 4533 ac_cv_search_setlocale=no
4538fi 4534fi
4539rm conftest.$ac_ext 4535rm conftest.$ac_ext
4548fi 4544fi
4549 4545
4550 4546
4551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 4547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
4552$as_echo_n "checking for library containing gethostbyname... " >&6; } 4548$as_echo_n "checking for library containing gethostbyname... " >&6; }
4553if ${ac_cv_search_gethostbyname+:} false; then : 4549if test "${ac_cv_search_gethostbyname+set}" = set; then :
4554 $as_echo_n "(cached) " >&6 4550 $as_echo_n "(cached) " >&6
4555else 4551else
4556 ac_func_search_save_LIBS=$LIBS 4552 ac_func_search_save_LIBS=$LIBS
4557cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558/* end confdefs.h. */ 4554/* end confdefs.h. */
4582 if ac_fn_cxx_try_link "$LINENO"; then : 4578 if ac_fn_cxx_try_link "$LINENO"; then :
4583 ac_cv_search_gethostbyname=$ac_res 4579 ac_cv_search_gethostbyname=$ac_res
4584fi 4580fi
4585rm -f core conftest.err conftest.$ac_objext \ 4581rm -f core conftest.err conftest.$ac_objext \
4586 conftest$ac_exeext 4582 conftest$ac_exeext
4587 if ${ac_cv_search_gethostbyname+:} false; then : 4583 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4588 break 4584 break
4589fi 4585fi
4590done 4586done
4591if ${ac_cv_search_gethostbyname+:} false; then : 4587if test "${ac_cv_search_gethostbyname+set}" = set; then :
4592 4588
4593else 4589else
4594 ac_cv_search_gethostbyname=no 4590 ac_cv_search_gethostbyname=no
4595fi 4591fi
4596rm conftest.$ac_ext 4592rm conftest.$ac_ext
4604 4600
4605fi 4601fi
4606 4602
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 4603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
4608$as_echo_n "checking for library containing socket... " >&6; } 4604$as_echo_n "checking for library containing socket... " >&6; }
4609if ${ac_cv_search_socket+:} false; then : 4605if test "${ac_cv_search_socket+set}" = set; then :
4610 $as_echo_n "(cached) " >&6 4606 $as_echo_n "(cached) " >&6
4611else 4607else
4612 ac_func_search_save_LIBS=$LIBS 4608 ac_func_search_save_LIBS=$LIBS
4613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614/* end confdefs.h. */ 4610/* end confdefs.h. */
4638 if ac_fn_cxx_try_link "$LINENO"; then : 4634 if ac_fn_cxx_try_link "$LINENO"; then :
4639 ac_cv_search_socket=$ac_res 4635 ac_cv_search_socket=$ac_res
4640fi 4636fi
4641rm -f core conftest.err conftest.$ac_objext \ 4637rm -f core conftest.err conftest.$ac_objext \
4642 conftest$ac_exeext 4638 conftest$ac_exeext
4643 if ${ac_cv_search_socket+:} false; then : 4639 if test "${ac_cv_search_socket+set}" = set; then :
4644 break 4640 break
4645fi 4641fi
4646done 4642done
4647if ${ac_cv_search_socket+:} false; then : 4643if test "${ac_cv_search_socket+set}" = set; then :
4648 4644
4649else 4645else
4650 ac_cv_search_socket=no 4646 ac_cv_search_socket=no
4651fi 4647fi
4652rm conftest.$ac_ext 4648rm conftest.$ac_ext
4673support_scroll_rxvt=yes 4669support_scroll_rxvt=yes
4674support_scroll_next=yes 4670support_scroll_next=yes
4675support_scroll_xterm=yes 4671support_scroll_xterm=yes
4676support_xim=yes 4672support_xim=yes
4677support_pixbuf=yes 4673support_pixbuf=yes
4678support_afterimage=yes 4674support_startup_notification=yes
4679support_xft=yes 4675support_xft=yes
4680support_unicode3=no 4676support_unicode3=no
4681support_combining=yes 4677support_combining=yes
4682support_8bitctrls=no 4678support_8bitctrls=no
4683support_iso14755=yes 4679support_iso14755=yes
4705 support_scroll_xterm=no 4701 support_scroll_xterm=no
4706 support_utmp=no 4702 support_utmp=no
4707 support_wtmp=no 4703 support_wtmp=no
4708 support_xim=no 4704 support_xim=no
4709 support_pixbuf=no 4705 support_pixbuf=no
4710 support_afterimage=no 4706 support_startup_notification=no
4711 support_xft=no 4707 support_xft=no
4712 support_unicode3=no 4708 support_unicode3=no
4713 support_combining=no 4709 support_combining=no
4714 support_8bitctrls=no 4710 support_8bitctrls=no
4715 support_iso14755=no 4711 support_iso14755=no
4733 support_scroll_xterm=yes 4729 support_scroll_xterm=yes
4734 support_utmp=yes 4730 support_utmp=yes
4735 support_wtmp=yes 4731 support_wtmp=yes
4736 support_xim=yes 4732 support_xim=yes
4737 support_pixbuf=yes 4733 support_pixbuf=yes
4738 support_afterimage=yes 4734 support_startup_notification=yes
4739 support_xft=yes 4735 support_xft=yes
4740 support_unicode3=yes 4736 support_unicode3=yes
4741 support_combining=yes 4737 support_combining=yes
4742 #support_8bitctrls=yes 4738 #support_8bitctrls=yes
4743 support_iso14755=yes 4739 support_iso14755=yes
4747 fi 4743 fi
4748 4744
4749fi 4745fi
4750 4746
4751 4747
4752ASSERTIONS=no 4748support_assertions=no
4753# Check whether --enable-assert was given. 4749# Check whether --enable-assert was given.
4754if test "${enable_assert+set}" = set; then : 4750if test "${enable_assert+set}" = set; then :
4755 enableval=$enable_assert; if test x$enableval = xyes; then 4751 enableval=$enable_assert; if test x$enableval = xyes; then
4756 ASSERTIONS=yes 4752 support_assertions=yes
4757 fi 4753 fi
4758fi 4754fi
4759 4755
4760if test x$ASSERTIONS = xno; then 4756if test x$support_assertions = xno; then
4761 4757
4762$as_echo "#define NDEBUG 1" >>confdefs.h 4758$as_echo "#define NDEBUG 1" >>confdefs.h
4763 4759
4764fi 4760fi
4765 4761
4766WARNINGS=no 4762support_warnings=no
4767# Check whether --enable-warnings was given. 4763# Check whether --enable-warnings was given.
4768if test "${enable_warnings+set}" = set; then : 4764if test "${enable_warnings+set}" = set; then :
4769 enableval=$enable_warnings; if test x$enableval = xyes; then 4765 enableval=$enable_warnings; if test x$enableval = xyes; then
4770 WARNINGS=yes 4766 support_warnings=yes
4771 fi 4767 fi
4772fi 4768fi
4773 4769
4774if test x$GXX = xyes; then 4770if test x$GXX = xyes; then
4775 if test $WARNINGS = yes; then 4771 if test $support_warnings = yes; then
4776 save_CXXFLAGS="$CXXFLAGS" 4772 save_CXXFLAGS="$CXXFLAGS"
4777 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" 4773 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value"
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779/* end confdefs.h. */ 4775/* end confdefs.h. */
4780 4776
4781int 4777int
4782main () 4778main ()
4862 4858
4863# Check whether --enable-pixbuf was given. 4859# Check whether --enable-pixbuf was given.
4864if test "${enable_pixbuf+set}" = set; then : 4860if test "${enable_pixbuf+set}" = set; then :
4865 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then 4861 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then
4866 support_pixbuf=$enableval 4862 support_pixbuf=$enableval
4863 fi
4864fi
4865
4866
4867# Check whether --enable-startup-notification was given.
4868if test "${enable_startup_notification+set}" = set; then :
4869 enableval=$enable_startup_notification; if test x$enableval = xyes -o x$enableval = xno; then
4870 support_startup_notification=$enableval
4867 fi 4871 fi
4868fi 4872fi
4869 4873
4870 4874
4871# Check whether --enable-transparency was given. 4875# Check whether --enable-transparency was given.
5148ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5152ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5149ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5153ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 5154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5151$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 5155$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5152if test -z "$CXXCPP"; then 5156if test -z "$CXXCPP"; then
5153 if ${ac_cv_prog_CXXCPP+:} false; then : 5157 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
5154 $as_echo_n "(cached) " >&6 5158 $as_echo_n "(cached) " >&6
5155else 5159else
5156 # Double quotes because CXXCPP needs to be expanded 5160 # Double quotes because CXXCPP needs to be expanded
5157 for CXXCPP in "$CXX -E" "/lib/cpp" 5161 for CXXCPP in "$CXX -E" "/lib/cpp"
5158 do 5162 do
5264 5268
5265else 5269else
5266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5268as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 5272as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5269See \`config.log' for more details" "$LINENO" 5; } 5273See \`config.log' for more details" "$LINENO" 5 ; }
5270fi 5274fi
5271 5275
5272ac_ext=cpp 5276ac_ext=cpp
5273ac_cpp='$CXXCPP $CPPFLAGS' 5277ac_cpp='$CXXCPP $CPPFLAGS'
5274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5304 5308
5305 5309
5306for ac_func in clock_gettime 5310for ac_func in clock_gettime
5307do : 5311do :
5308 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 5312 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5309if test "x$ac_cv_func_clock_gettime" = xyes; then : 5313if test "x$ac_cv_func_clock_gettime" = x""yes; then :
5310 cat >>confdefs.h <<_ACEOF 5314 cat >>confdefs.h <<_ACEOF
5311#define HAVE_CLOCK_GETTIME 1 5315#define HAVE_CLOCK_GETTIME 1
5312_ACEOF 5316_ACEOF
5313 5317
5314else 5318else
5344 conftest$ac_exeext conftest.$ac_ext 5348 conftest$ac_exeext conftest.$ac_ext
5345 fi 5349 fi
5346 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then 5350 if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
5348$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 5352$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
5349if ${ac_cv_lib_rt_clock_gettime+:} false; then : 5353if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
5350 $as_echo_n "(cached) " >&6 5354 $as_echo_n "(cached) " >&6
5351else 5355else
5352 ac_check_lib_save_LIBS=$LIBS 5356 ac_check_lib_save_LIBS=$LIBS
5353LIBS="-lrt $LIBS" 5357LIBS="-lrt $LIBS"
5354cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 conftest$ac_exeext conftest.$ac_ext 5382 conftest$ac_exeext conftest.$ac_ext
5379LIBS=$ac_check_lib_save_LIBS 5383LIBS=$ac_check_lib_save_LIBS
5380fi 5384fi
5381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 5385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
5382$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 5386$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
5383if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : 5387if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
5384 cat >>confdefs.h <<_ACEOF 5388 cat >>confdefs.h <<_ACEOF
5385#define HAVE_LIBRT 1 5389#define HAVE_LIBRT 1
5386_ACEOF 5390_ACEOF
5387 5391
5388 LIBS="-lrt $LIBS" 5392 LIBS="-lrt $LIBS"
5391 5395
5392 unset ac_cv_func_clock_gettime 5396 unset ac_cv_func_clock_gettime
5393 for ac_func in clock_gettime 5397 for ac_func in clock_gettime
5394do : 5398do :
5395 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" 5399 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5396if test "x$ac_cv_func_clock_gettime" = xyes; then : 5400if test "x$ac_cv_func_clock_gettime" = x""yes; then :
5397 cat >>confdefs.h <<_ACEOF 5401 cat >>confdefs.h <<_ACEOF
5398#define HAVE_CLOCK_GETTIME 1 5402#define HAVE_CLOCK_GETTIME 1
5399_ACEOF 5403_ACEOF
5400 5404
5401fi 5405fi
5408 5412
5409 5413
5410for ac_func in nanosleep 5414for ac_func in nanosleep
5411do : 5415do :
5412 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 5416 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5413if test "x$ac_cv_func_nanosleep" = xyes; then : 5417if test "x$ac_cv_func_nanosleep" = x""yes; then :
5414 cat >>confdefs.h <<_ACEOF 5418 cat >>confdefs.h <<_ACEOF
5415#define HAVE_NANOSLEEP 1 5419#define HAVE_NANOSLEEP 1
5416_ACEOF 5420_ACEOF
5417 5421
5418else 5422else
5419 5423
5420 if test -z "$LIBEV_M4_AVOID_LIBRT"; then 5424 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
5422$as_echo_n "checking for nanosleep in -lrt... " >&6; } 5426$as_echo_n "checking for nanosleep in -lrt... " >&6; }
5423if ${ac_cv_lib_rt_nanosleep+:} false; then : 5427if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
5424 $as_echo_n "(cached) " >&6 5428 $as_echo_n "(cached) " >&6
5425else 5429else
5426 ac_check_lib_save_LIBS=$LIBS 5430 ac_check_lib_save_LIBS=$LIBS
5427LIBS="-lrt $LIBS" 5431LIBS="-lrt $LIBS"
5428cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5432cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 conftest$ac_exeext conftest.$ac_ext 5456 conftest$ac_exeext conftest.$ac_ext
5453LIBS=$ac_check_lib_save_LIBS 5457LIBS=$ac_check_lib_save_LIBS
5454fi 5458fi
5455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 5459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
5456$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 5460$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
5457if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : 5461if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
5458 cat >>confdefs.h <<_ACEOF 5462 cat >>confdefs.h <<_ACEOF
5459#define HAVE_LIBRT 1 5463#define HAVE_LIBRT 1
5460_ACEOF 5464_ACEOF
5461 5465
5462 LIBS="-lrt $LIBS" 5466 LIBS="-lrt $LIBS"
5465 5469
5466 unset ac_cv_func_nanosleep 5470 unset ac_cv_func_nanosleep
5467 for ac_func in nanosleep 5471 for ac_func in nanosleep
5468do : 5472do :
5469 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" 5473 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5470if test "x$ac_cv_func_nanosleep" = xyes; then : 5474if test "x$ac_cv_func_nanosleep" = x""yes; then :
5471 cat >>confdefs.h <<_ACEOF 5475 cat >>confdefs.h <<_ACEOF
5472#define HAVE_NANOSLEEP 1 5476#define HAVE_NANOSLEEP 1
5473_ACEOF 5477_ACEOF
5474 5478
5475fi 5479fi
5484if test -z "$LIBEV_M4_AVOID_LIBM"; then 5488if test -z "$LIBEV_M4_AVOID_LIBM"; then
5485 LIBM=m 5489 LIBM=m
5486fi 5490fi
5487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 5491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
5488$as_echo_n "checking for library containing floor... " >&6; } 5492$as_echo_n "checking for library containing floor... " >&6; }
5489if ${ac_cv_search_floor+:} false; then : 5493if test "${ac_cv_search_floor+set}" = set; then :
5490 $as_echo_n "(cached) " >&6 5494 $as_echo_n "(cached) " >&6
5491else 5495else
5492 ac_func_search_save_LIBS=$LIBS 5496 ac_func_search_save_LIBS=$LIBS
5493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494/* end confdefs.h. */ 5498/* end confdefs.h. */
5518 if ac_fn_cxx_try_link "$LINENO"; then : 5522 if ac_fn_cxx_try_link "$LINENO"; then :
5519 ac_cv_search_floor=$ac_res 5523 ac_cv_search_floor=$ac_res
5520fi 5524fi
5521rm -f core conftest.err conftest.$ac_objext \ 5525rm -f core conftest.err conftest.$ac_objext \
5522 conftest$ac_exeext 5526 conftest$ac_exeext
5523 if ${ac_cv_search_floor+:} false; then : 5527 if test "${ac_cv_search_floor+set}" = set; then :
5524 break 5528 break
5525fi 5529fi
5526done 5530done
5527if ${ac_cv_search_floor+:} false; then : 5531if test "${ac_cv_search_floor+set}" = set; then :
5528 5532
5529else 5533else
5530 ac_cv_search_floor=no 5534 ac_cv_search_floor=no
5531fi 5535fi
5532rm conftest.$ac_ext 5536rm conftest.$ac_ext
5548 5552
5549# Extract the first word of "tic", so it can be a program name with args. 5553# Extract the first word of "tic", so it can be a program name with args.
5550set dummy tic; ac_word=$2 5554set dummy tic; ac_word=$2
5551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552$as_echo_n "checking for $ac_word... " >&6; } 5556$as_echo_n "checking for $ac_word... " >&6; }
5553if ${ac_cv_path_TIC+:} false; then : 5557if test "${ac_cv_path_TIC+set}" = set; then :
5554 $as_echo_n "(cached) " >&6 5558 $as_echo_n "(cached) " >&6
5555else 5559else
5556 case $TIC in 5560 case $TIC in
5557 [\\/]* | ?:[\\/]*) 5561 [\\/]* | ?:[\\/]*)
5558 ac_cv_path_TIC="$TIC" # Let the user override the test with a path. 5562 ac_cv_path_TIC="$TIC" # Let the user override the test with a path.
5601if test "x$with_x" = xno; then 5605if test "x$with_x" = xno; then
5602 # The user explicitly disabled X. 5606 # The user explicitly disabled X.
5603 have_x=disabled 5607 have_x=disabled
5604else 5608else
5605 case $x_includes,$x_libraries in #( 5609 case $x_includes,$x_libraries in #(
5606 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 5610 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
5607 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 5611 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
5608 $as_echo_n "(cached) " >&6 5612 $as_echo_n "(cached) " >&6
5609else 5613else
5610 # One or both of the vars are not set, and there is no cached value. 5614 # One or both of the vars are not set, and there is no cached value.
5611ac_x_includes=no ac_x_libraries=no 5615ac_x_includes=no ac_x_libraries=no
5612rm -f -r conftest.dir 5616rm -f -r conftest.dir
5879if ac_fn_cxx_try_link "$LINENO"; then : 5883if ac_fn_cxx_try_link "$LINENO"; then :
5880 5884
5881else 5885else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5883$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 5887$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5884if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 5888if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
5885 $as_echo_n "(cached) " >&6 5889 $as_echo_n "(cached) " >&6
5886else 5890else
5887 ac_check_lib_save_LIBS=$LIBS 5891 ac_check_lib_save_LIBS=$LIBS
5888LIBS="-ldnet $LIBS" 5892LIBS="-ldnet $LIBS"
5889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 conftest$ac_exeext conftest.$ac_ext 5917 conftest$ac_exeext conftest.$ac_ext
5914LIBS=$ac_check_lib_save_LIBS 5918LIBS=$ac_check_lib_save_LIBS
5915fi 5919fi
5916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 5920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5917$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 5921$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5918if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 5922if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
5919 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 5923 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5920fi 5924fi
5921 5925
5922 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 5926 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5924$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 5928$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5925if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 5929if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
5926 $as_echo_n "(cached) " >&6 5930 $as_echo_n "(cached) " >&6
5927else 5931else
5928 ac_check_lib_save_LIBS=$LIBS 5932 ac_check_lib_save_LIBS=$LIBS
5929LIBS="-ldnet_stub $LIBS" 5933LIBS="-ldnet_stub $LIBS"
5930cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5934cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954 conftest$ac_exeext conftest.$ac_ext 5958 conftest$ac_exeext conftest.$ac_ext
5955LIBS=$ac_check_lib_save_LIBS 5959LIBS=$ac_check_lib_save_LIBS
5956fi 5960fi
5957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 5961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5958$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 5962$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5959if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 5963if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
5960 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 5964 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5961fi 5965fi
5962 5966
5963 fi 5967 fi
5964fi 5968fi
5973 # The nsl library prevents programs from opening the X display 5977 # The nsl library prevents programs from opening the X display
5974 # on Irix 5.2, according to T.E. Dickey. 5978 # on Irix 5.2, according to T.E. Dickey.
5975 # The functions gethostbyname, getservbyname, and inet_addr are 5979 # The functions gethostbyname, getservbyname, and inet_addr are
5976 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 5980 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5977 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 5981 ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5978if test "x$ac_cv_func_gethostbyname" = xyes; then : 5982if test "x$ac_cv_func_gethostbyname" = x""yes; then :
5979 5983
5980fi 5984fi
5981 5985
5982 if test $ac_cv_func_gethostbyname = no; then 5986 if test $ac_cv_func_gethostbyname = no; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5984$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 5988$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5985if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 5989if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
5986 $as_echo_n "(cached) " >&6 5990 $as_echo_n "(cached) " >&6
5987else 5991else
5988 ac_check_lib_save_LIBS=$LIBS 5992 ac_check_lib_save_LIBS=$LIBS
5989LIBS="-lnsl $LIBS" 5993LIBS="-lnsl $LIBS"
5990cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6014 conftest$ac_exeext conftest.$ac_ext 6018 conftest$ac_exeext conftest.$ac_ext
6015LIBS=$ac_check_lib_save_LIBS 6019LIBS=$ac_check_lib_save_LIBS
6016fi 6020fi
6017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 6021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
6018$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 6022$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
6019if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 6023if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
6020 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 6024 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
6021fi 6025fi
6022 6026
6023 if test $ac_cv_lib_nsl_gethostbyname = no; then 6027 if test $ac_cv_lib_nsl_gethostbyname = no; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
6025$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 6029$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
6026if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 6030if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
6027 $as_echo_n "(cached) " >&6 6031 $as_echo_n "(cached) " >&6
6028else 6032else
6029 ac_check_lib_save_LIBS=$LIBS 6033 ac_check_lib_save_LIBS=$LIBS
6030LIBS="-lbsd $LIBS" 6034LIBS="-lbsd $LIBS"
6031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6035cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6055 conftest$ac_exeext conftest.$ac_ext 6059 conftest$ac_exeext conftest.$ac_ext
6056LIBS=$ac_check_lib_save_LIBS 6060LIBS=$ac_check_lib_save_LIBS
6057fi 6061fi
6058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 6062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
6059$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 6063$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
6060if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 6064if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
6061 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 6065 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
6062fi 6066fi
6063 6067
6064 fi 6068 fi
6065 fi 6069 fi
6070 # on later versions), says Simon Leinen: it contains gethostby* 6074 # on later versions), says Simon Leinen: it contains gethostby*
6071 # variants that don't use the name server (or something). -lsocket 6075 # variants that don't use the name server (or something). -lsocket
6072 # must be given before -lnsl if both are needed. We assume that 6076 # must be given before -lnsl if both are needed. We assume that
6073 # if connect needs -lnsl, so does gethostbyname. 6077 # if connect needs -lnsl, so does gethostbyname.
6074 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect" 6078 ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect"
6075if test "x$ac_cv_func_connect" = xyes; then : 6079if test "x$ac_cv_func_connect" = x""yes; then :
6076 6080
6077fi 6081fi
6078 6082
6079 if test $ac_cv_func_connect = no; then 6083 if test $ac_cv_func_connect = no; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
6081$as_echo_n "checking for connect in -lsocket... " >&6; } 6085$as_echo_n "checking for connect in -lsocket... " >&6; }
6082if ${ac_cv_lib_socket_connect+:} false; then : 6086if test "${ac_cv_lib_socket_connect+set}" = set; then :
6083 $as_echo_n "(cached) " >&6 6087 $as_echo_n "(cached) " >&6
6084else 6088else
6085 ac_check_lib_save_LIBS=$LIBS 6089 ac_check_lib_save_LIBS=$LIBS
6086LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 6090LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
6087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6091cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111 conftest$ac_exeext conftest.$ac_ext 6115 conftest$ac_exeext conftest.$ac_ext
6112LIBS=$ac_check_lib_save_LIBS 6116LIBS=$ac_check_lib_save_LIBS
6113fi 6117fi
6114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 6118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
6115$as_echo "$ac_cv_lib_socket_connect" >&6; } 6119$as_echo "$ac_cv_lib_socket_connect" >&6; }
6116if test "x$ac_cv_lib_socket_connect" = xyes; then : 6120if test "x$ac_cv_lib_socket_connect" = x""yes; then :
6117 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 6121 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
6118fi 6122fi
6119 6123
6120 fi 6124 fi
6121 6125
6122 # Guillermo Gomez says -lposix is necessary on A/UX. 6126 # Guillermo Gomez says -lposix is necessary on A/UX.
6123 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove" 6127 ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove"
6124if test "x$ac_cv_func_remove" = xyes; then : 6128if test "x$ac_cv_func_remove" = x""yes; then :
6125 6129
6126fi 6130fi
6127 6131
6128 if test $ac_cv_func_remove = no; then 6132 if test $ac_cv_func_remove = no; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
6130$as_echo_n "checking for remove in -lposix... " >&6; } 6134$as_echo_n "checking for remove in -lposix... " >&6; }
6131if ${ac_cv_lib_posix_remove+:} false; then : 6135if test "${ac_cv_lib_posix_remove+set}" = set; then :
6132 $as_echo_n "(cached) " >&6 6136 $as_echo_n "(cached) " >&6
6133else 6137else
6134 ac_check_lib_save_LIBS=$LIBS 6138 ac_check_lib_save_LIBS=$LIBS
6135LIBS="-lposix $LIBS" 6139LIBS="-lposix $LIBS"
6136cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6140cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6160 conftest$ac_exeext conftest.$ac_ext 6164 conftest$ac_exeext conftest.$ac_ext
6161LIBS=$ac_check_lib_save_LIBS 6165LIBS=$ac_check_lib_save_LIBS
6162fi 6166fi
6163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 6167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
6164$as_echo "$ac_cv_lib_posix_remove" >&6; } 6168$as_echo "$ac_cv_lib_posix_remove" >&6; }
6165if test "x$ac_cv_lib_posix_remove" = xyes; then : 6169if test "x$ac_cv_lib_posix_remove" = x""yes; then :
6166 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 6170 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6167fi 6171fi
6168 6172
6169 fi 6173 fi
6170 6174
6171 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6175 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6172 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 6176 ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
6173if test "x$ac_cv_func_shmat" = xyes; then : 6177if test "x$ac_cv_func_shmat" = x""yes; then :
6174 6178
6175fi 6179fi
6176 6180
6177 if test $ac_cv_func_shmat = no; then 6181 if test $ac_cv_func_shmat = no; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
6179$as_echo_n "checking for shmat in -lipc... " >&6; } 6183$as_echo_n "checking for shmat in -lipc... " >&6; }
6180if ${ac_cv_lib_ipc_shmat+:} false; then : 6184if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
6181 $as_echo_n "(cached) " >&6 6185 $as_echo_n "(cached) " >&6
6182else 6186else
6183 ac_check_lib_save_LIBS=$LIBS 6187 ac_check_lib_save_LIBS=$LIBS
6184LIBS="-lipc $LIBS" 6188LIBS="-lipc $LIBS"
6185cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6209 conftest$ac_exeext conftest.$ac_ext 6213 conftest$ac_exeext conftest.$ac_ext
6210LIBS=$ac_check_lib_save_LIBS 6214LIBS=$ac_check_lib_save_LIBS
6211fi 6215fi
6212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 6216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
6213$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 6217$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
6214if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 6218if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
6215 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 6219 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
6216fi 6220fi
6217 6221
6218 fi 6222 fi
6219 fi 6223 fi
6227 # These have to be linked with before -lX11, unlike the other 6231 # These have to be linked with before -lX11, unlike the other
6228 # libraries we check for below, so use a different variable. 6232 # libraries we check for below, so use a different variable.
6229 # John Interrante, Karl Berry 6233 # John Interrante, Karl Berry
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
6231$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 6235$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
6232if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 6236if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
6233 $as_echo_n "(cached) " >&6 6237 $as_echo_n "(cached) " >&6
6234else 6238else
6235 ac_check_lib_save_LIBS=$LIBS 6239 ac_check_lib_save_LIBS=$LIBS
6236LIBS="-lICE $X_EXTRA_LIBS $LIBS" 6240LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6237cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 conftest$ac_exeext conftest.$ac_ext 6265 conftest$ac_exeext conftest.$ac_ext
6262LIBS=$ac_check_lib_save_LIBS 6266LIBS=$ac_check_lib_save_LIBS
6263fi 6267fi
6264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 6268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6265$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 6269$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6266if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 6270if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
6267 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 6271 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
6268fi 6272fi
6269 6273
6270 LDFLAGS=$ac_save_LDFLAGS 6274 LDFLAGS=$ac_save_LDFLAGS
6271 6275
6281 support_pixbuf=no 6285 support_pixbuf=no
6282 # Extract the first word of "pkg-config", so it can be a program name with args. 6286 # Extract the first word of "pkg-config", so it can be a program name with args.
6283set dummy pkg-config; ac_word=$2 6287set dummy pkg-config; ac_word=$2
6284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285$as_echo_n "checking for $ac_word... " >&6; } 6289$as_echo_n "checking for $ac_word... " >&6; }
6286if ${ac_cv_path_PKG_CONFIG+:} false; then : 6290if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6287 $as_echo_n "(cached) " >&6 6291 $as_echo_n "(cached) " >&6
6288else 6292else
6289 case $PKG_CONFIG in 6293 case $PKG_CONFIG in
6290 [\\/]* | ?:[\\/]*) 6294 [\\/]* | ?:[\\/]*)
6291 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6295 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6346fi 6350fi
6347 6351
6348 6352
6349 6353
6350 6354
6355STARTUP_NOTIFICATION_CFLAGS=
6356STARTUP_NOTIFICATION_LIBS=
6357
6358if test x$support_startup_notification = xyes; then
6359 support_startup_notification=no
6360 # Extract the first word of "pkg-config", so it can be a program name with args.
6361set dummy pkg-config; ac_word=$2
6362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363$as_echo_n "checking for $ac_word... " >&6; }
6364if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6365 $as_echo_n "(cached) " >&6
6366else
6367 case $PKG_CONFIG in
6368 [\\/]* | ?:[\\/]*)
6369 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6370 ;;
6371 *)
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373for as_dir in $PATH
6374do
6375 IFS=$as_save_IFS
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6381 break 2
6382 fi
6383done
6384 done
6385IFS=$as_save_IFS
6386
6387 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6388 ;;
6389esac
6390fi
6391PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6392if test -n "$PKG_CONFIG"; then
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6394$as_echo "$PKG_CONFIG" >&6; }
6395else
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397$as_echo "no" >&6; }
6398fi
6399
6400
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5
6402$as_echo_n "checking for libstartup-notification... " >&6; }
6403 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then
6404 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`"
6405 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`"
6406 support_startup_notification=yes
6407 fi
6408
6409 if test x$support_startup_notification = xyes; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6411$as_echo "ok" >&6; }
6412
6413$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h
6414
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417$as_echo "no" >&6; }
6418 fi
6419fi
6420
6421
6422
6423
6351AFTERIMAGE_CFLAGS= 6424AFTERIMAGE_CFLAGS=
6352AFTERIMAGE_LIBS= 6425AFTERIMAGE_LIBS=
6353AFTERIMAGE_VERSION=
6354 6426
6355if test x$support_afterimage = xyes; then 6427if test x$support_afterimage = xyes; then
6356 support_afterimage=no 6428 support_afterimage=no
6357 6429
6358 if test "x$afterimage_config" = "x" ; then 6430 if test "x$afterimage_config" = "x" ; then
6359 # Extract the first word of "afterimage-config", so it can be a program name with args. 6431 # Extract the first word of "afterimage-config", so it can be a program name with args.
6360set dummy afterimage-config; ac_word=$2 6432set dummy afterimage-config; ac_word=$2
6361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362$as_echo_n "checking for $ac_word... " >&6; } 6434$as_echo_n "checking for $ac_word... " >&6; }
6363if ${ac_cv_path_afterimage_config+:} false; then : 6435if test "${ac_cv_path_afterimage_config+set}" = set; then :
6364 $as_echo_n "(cached) " >&6 6436 $as_echo_n "(cached) " >&6
6365else 6437else
6366 case $afterimage_config in 6438 case $afterimage_config in
6367 [\\/]* | ?:[\\/]*) 6439 [\\/]* | ?:[\\/]*)
6368 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. 6440 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6399 6471
6400 fi 6472 fi
6401 if test "x$afterimage_config" != "xno" ; then 6473 if test "x$afterimage_config" != "xno" ; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5 6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libAfterImage version >= 1.15" >&5
6403$as_echo_n "checking for libAfterImage version >= 1.15... " >&6; } 6475$as_echo_n "checking for libAfterImage version >= 1.15... " >&6; }
6404 xAFTERIMAGE_VERSION=`$afterimage_config --version` 6476 AFTERIMAGE_VERSION=`$afterimage_config --version`
6405 if test -n "$xAFTERIMAGE_VERSION" ; then 6477 if test -n "$AFTERIMAGE_VERSION" ; then
6406 xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` 6478 AFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6407 xAFTERIMAGE_LIBS=`$afterimage_config --libs` 6479 AFTERIMAGE_LIBS=`$afterimage_config --libs`
6408 if test "x$xAFTERIMAGE_LIBS" != "x"; then 6480 if test "x$AFTERIMAGE_LIBS" != "x"; then
6409 libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` 6481 libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .`
6410 libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` 6482 libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .`
6411 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then 6483 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
6412 support_afterimage=yes 6484 support_afterimage=yes
6413 AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS"
6414 AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS"
6415 AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION"
6416 fi 6485 fi
6417 fi 6486 fi
6418 fi 6487 fi
6419 if test "x$support_afterimage" = "xyes"; then 6488 if test "x$support_afterimage" = "xyes"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5
6427$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h 6496$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
6428 6497
6429 else 6498 else
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6431$as_echo "no" >&6; } 6500$as_echo "no" >&6; }
6501 AFTERIMAGE_CFLAGS=
6502 AFTERIMAGE_LIBS=
6432 fi 6503 fi
6433 fi 6504 fi
6434fi 6505fi
6435 6506
6436 6507
6458done 6529done
6459 6530
6460 6531
6461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 6532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5
6462$as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } 6533$as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; }
6463if ${rxvt_cv_xlib_illegal_access+:} false; then : 6534if test "${rxvt_cv_xlib_illegal_access+set}" = set; then :
6464 $as_echo_n "(cached) " >&6 6535 $as_echo_n "(cached) " >&6
6465else 6536else
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467/* end confdefs.h. */ 6538/* end confdefs.h. */
6468 6539
6495$as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h 6566$as_echo "#define XLIB_ILLEGAL_ACCESS 1" >>confdefs.h
6496 6567
6497fi 6568fi
6498 6569
6499ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 6570ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
6500if test "x$ac_cv_type_mode_t" = xyes; then : 6571if test "x$ac_cv_type_mode_t" = x""yes; then :
6501 6572
6502else 6573else
6503 6574
6504cat >>confdefs.h <<_ACEOF 6575cat >>confdefs.h <<_ACEOF
6505#define mode_t int 6576#define mode_t int
6506_ACEOF 6577_ACEOF
6507 6578
6508fi 6579fi
6509 6580
6510ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 6581ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6511if test "x$ac_cv_type_pid_t" = xyes; then : 6582if test "x$ac_cv_type_pid_t" = x""yes; then :
6512 6583
6513else 6584else
6514 6585
6515cat >>confdefs.h <<_ACEOF 6586cat >>confdefs.h <<_ACEOF
6516#define pid_t int 6587#define pid_t int
6518 6589
6519fi 6590fi
6520 6591
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 6592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6522$as_echo_n "checking for uid_t in sys/types.h... " >&6; } 6593$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6523if ${ac_cv_type_uid_t+:} false; then : 6594if test "${ac_cv_type_uid_t+set}" = set; then :
6524 $as_echo_n "(cached) " >&6 6595 $as_echo_n "(cached) " >&6
6525else 6596else
6526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6527/* end confdefs.h. */ 6598/* end confdefs.h. */
6528#include <sys/types.h> 6599#include <sys/types.h>
6598 6669
6599 6670
6600for ac_func in unsetenv 6671for ac_func in unsetenv
6601do : 6672do :
6602 ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" 6673 ac_fn_cxx_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
6603if test "x$ac_cv_func_unsetenv" = xyes; then : 6674if test "x$ac_cv_func_unsetenv" = x""yes; then :
6604 cat >>confdefs.h <<_ACEOF 6675 cat >>confdefs.h <<_ACEOF
6605#define HAVE_UNSETENV 1 6676#define HAVE_UNSETENV 1
6606_ACEOF 6677_ACEOF
6607 6678
6608fi 6679fi
6672 6743
6673 6744
6674for ac_header in lastlog.h 6745for ac_header in lastlog.h
6675do : 6746do :
6676 ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default" 6747 ac_fn_cxx_check_header_mongrel "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "$ac_includes_default"
6677if test "x$ac_cv_header_lastlog_h" = xyes; then : 6748if test "x$ac_cv_header_lastlog_h" = x""yes; then :
6678 cat >>confdefs.h <<_ACEOF 6749 cat >>confdefs.h <<_ACEOF
6679#define HAVE_LASTLOG_H 1 6750#define HAVE_LASTLOG_H 1
6680_ACEOF 6751_ACEOF
6681 6752
6682fi 6753fi
6686 6757
6687 6758
6688for ac_header in utmp.h 6759for ac_header in utmp.h
6689do : 6760do :
6690 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" 6761 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default"
6691if test "x$ac_cv_header_utmp_h" = xyes; then : 6762if test "x$ac_cv_header_utmp_h" = x""yes; then :
6692 cat >>confdefs.h <<_ACEOF 6763 cat >>confdefs.h <<_ACEOF
6693#define HAVE_UTMP_H 1 6764#define HAVE_UTMP_H 1
6694_ACEOF 6765_ACEOF
6695 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " 6766 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" "
6696#include <sys/types.h> 6767#include <sys/types.h>
6697#include <utmp.h> 6768#include <utmp.h>
6698 6769
6699" 6770"
6700if test "x$ac_cv_type_struct_utmp" = xyes; then : 6771if test "x$ac_cv_type_struct_utmp" = x""yes; then :
6701 6772
6702cat >>confdefs.h <<_ACEOF 6773cat >>confdefs.h <<_ACEOF
6703#define HAVE_STRUCT_UTMP 1 6774#define HAVE_STRUCT_UTMP 1
6704_ACEOF 6775_ACEOF
6705 6776
6715ac_fn_cxx_check_member () 6786ac_fn_cxx_check_member ()
6716{ 6787{
6717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
6719$as_echo_n "checking for $2.$3... " >&6; } 6790$as_echo_n "checking for $2.$3... " >&6; }
6720if eval \${$4+:} false; then : 6791if eval "test \"\${$4+set}\"" = set; then :
6721 $as_echo_n "(cached) " >&6 6792 $as_echo_n "(cached) " >&6
6722else 6793else
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724/* end confdefs.h. */ 6795/* end confdefs.h. */
6725$5 6796$5
6759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6760fi 6831fi
6761eval ac_res=\$$4 6832eval ac_res=\$$4
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6763$as_echo "$ac_res" >&6; } 6834$as_echo "$ac_res" >&6; }
6764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 6835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6765 6836
6766} # ac_fn_cxx_check_member 6837} # ac_fn_cxx_check_member
6767ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " 6838ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
6768#include <sys/types.h> 6839#include <sys/types.h>
6769#include <utmp.h> 6840#include <utmp.h>
6770 6841
6771" 6842"
6772if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then : 6843if test "x$ac_cv_member_struct_utmp_ut_host" = x""yes; then :
6773 6844
6774$as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h 6845$as_echo "#define HAVE_UTMP_HOST 1" >>confdefs.h
6775 6846
6776fi 6847fi
6777 6848
6779ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" " 6850ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
6780#include <sys/types.h> 6851#include <sys/types.h>
6781#include <utmp.h> 6852#include <utmp.h>
6782 6853
6783" 6854"
6784if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then : 6855if test "x$ac_cv_member_struct_utmp_ut_pid" = x""yes; then :
6785 6856
6786$as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h 6857$as_echo "#define HAVE_UTMP_PID 1" >>confdefs.h
6787 6858
6788fi 6859fi
6789 6860
6794 6865
6795 6866
6796for ac_header in utmpx.h 6867for ac_header in utmpx.h
6797do : 6868do :
6798 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" 6869 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default"
6799if test "x$ac_cv_header_utmpx_h" = xyes; then : 6870if test "x$ac_cv_header_utmpx_h" = x""yes; then :
6800 cat >>confdefs.h <<_ACEOF 6871 cat >>confdefs.h <<_ACEOF
6801#define HAVE_UTMPX_H 1 6872#define HAVE_UTMPX_H 1
6802_ACEOF 6873_ACEOF
6803 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " 6874 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" "
6804#include <sys/types.h> 6875#include <sys/types.h>
6805#include <utmpx.h> 6876#include <utmpx.h>
6806 6877
6807" 6878"
6808if test "x$ac_cv_type_struct_utmpx" = xyes; then : 6879if test "x$ac_cv_type_struct_utmpx" = x""yes; then :
6809 6880
6810cat >>confdefs.h <<_ACEOF 6881cat >>confdefs.h <<_ACEOF
6811#define HAVE_STRUCT_UTMPX 1 6882#define HAVE_STRUCT_UTMPX 1
6812_ACEOF 6883_ACEOF
6813 6884
6818ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" " 6889ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" "
6819#include <sys/types.h> 6890#include <sys/types.h>
6820#include <utmpx.h> 6891#include <utmpx.h>
6821 6892
6822" 6893"
6823if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then : 6894if test "x$ac_cv_member_struct_utmpx_ut_host" = x""yes; then :
6824 6895
6825$as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h 6896$as_echo "#define HAVE_UTMPX_HOST 1" >>confdefs.h
6826 6897
6827fi 6898fi
6828 6899
6830ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" " 6901ac_fn_cxx_check_member "$LINENO" "struct utmpx" "ut_session" "ac_cv_member_struct_utmpx_ut_session" "
6831#include <sys/types.h> 6902#include <sys/types.h>
6832#include <utmpx.h> 6903#include <utmpx.h>
6833 6904
6834" 6905"
6835if test "x$ac_cv_member_struct_utmpx_ut_session" = xyes; then : 6906if test "x$ac_cv_member_struct_utmpx_ut_session" = x""yes; then :
6836 6907
6837$as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h 6908$as_echo "#define HAVE_UTMPX_SESSION 1" >>confdefs.h
6838 6909
6839fi 6910fi
6840 6911
6849#ifdef HAVE_LASTLOG_H 6920#ifdef HAVE_LASTLOG_H
6850#include <lastlog.h> 6921#include <lastlog.h>
6851#endif 6922#endif
6852 6923
6853" 6924"
6854if test "x$ac_cv_type_struct_lastlog" = xyes; then : 6925if test "x$ac_cv_type_struct_lastlog" = x""yes; then :
6855 6926
6856cat >>confdefs.h <<_ACEOF 6927cat >>confdefs.h <<_ACEOF
6857#define HAVE_STRUCT_LASTLOG 1 6928#define HAVE_STRUCT_LASTLOG 1
6858_ACEOF 6929_ACEOF
6859 6930
6867#ifdef HAVE_LASTLOG_H 6938#ifdef HAVE_LASTLOG_H
6868#include <lastlog.h> 6939#include <lastlog.h>
6869#endif 6940#endif
6870 6941
6871" 6942"
6872if test "x$ac_cv_type_struct_lastlogx" = xyes; then : 6943if test "x$ac_cv_type_struct_lastlogx" = x""yes; then :
6873 6944
6874cat >>confdefs.h <<_ACEOF 6945cat >>confdefs.h <<_ACEOF
6875#define HAVE_STRUCT_LASTLOGX 1 6946#define HAVE_STRUCT_LASTLOGX 1
6876_ACEOF 6947_ACEOF
6877 6948
6878 6949
6879fi 6950fi
6880 6951
6881 6952
6882 6953
6883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where utmp is located" >&5 6954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of utmp" >&5
6884$as_echo_n "checking where utmp is located... " >&6; } 6955$as_echo_n "checking for a fallback location of utmp... " >&6; }
6885if ${pt_cv_path_utmp+:} false; then : 6956if test "${pt_cv_path_utmp+set}" = set; then :
6886 $as_echo_n "(cached) " >&6 6957 $as_echo_n "(cached) " >&6
6887else 6958else
6959
6888 if test "$cross_compiling" = yes; then : 6960if test "$cross_compiling" != yes; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define UTMP_FILE in config.h manually" >&5
6890$as_echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
6891else
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893/* end confdefs.h. */
6894#include <stdio.h>
6895#include <stdlib.h>
6896#include <sys/stat.h>
6897
6898#include <sys/types.h>
6899#include <utmp.h>
6900
6901int main()
6902{
6903 char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; 6961 for file in "/var/run/utmp" "/var/adm/utmp" "/etc/utmp" "/usr/etc/utmp" "/usr/adm/utmp"; do
6904 FILE *f = fopen("conftestval", "w"); 6962 if test -f "$file"; then
6905 if (!f) return 1;
6906#ifdef UTMP_FILE
6907 fprintf(f, "%s\n", UTMP_FILE);
6908#elif defined(_PATH_UTMP)
6909 fprintf(f, "%s\n", _PATH_UTMP);
6910#else
6911 for (path = list; *path; path++) {
6912 struct stat st;
6913 if (stat(*path, &st) == 0) {
6914 fprintf(f, "%s\n", *path);
6915 break;
6916 }
6917 }
6918#endif
6919 return fclose(f) != 0;
6920}
6921_ACEOF
6922if ac_fn_cxx_try_run "$LINENO"; then :
6923 pt_cv_path_utmp=`cat conftestval`
6924else
6925 pt_cv_path_utmp= 6963 pt_cv_path_utmp=$file
6964 break
6965 fi
6966 done
6926fi 6967fi
6927rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6928 conftest.$ac_objext conftest.beam conftest.$ac_ext
6929fi
6930
6931fi 6968fi
6932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5 6969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_utmp" >&5
6933$as_echo "$pt_cv_path_utmp" >&6; } 6970$as_echo "$pt_cv_path_utmp" >&6; }
6934if test x$pt_cv_path_utmp != x; then 6971if test x$pt_cv_path_utmp != x; then
6935 6972
6936cat >>confdefs.h <<_ACEOF 6973cat >>confdefs.h <<_ACEOF
6937#define UTMP_FILE "$pt_cv_path_utmp" 6974#define PT_UTMP_FILE "$pt_cv_path_utmp"
6938_ACEOF 6975_ACEOF
6939 6976
6977elif test "$cross_compiling" = yes; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_UTMP_FILE in config.h manually" >&5
6979$as_echo "$as_me: WARNING: Define PT_UTMP_FILE in config.h manually" >&2;}
6940fi 6980fi
6941 6981
6942 6982
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmp is located" >&5 6983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmp" >&5
6944$as_echo_n "checking where wtmp is located... " >&6; } 6984$as_echo_n "checking for a fallback location of wtmp... " >&6; }
6945if ${pt_cv_path_wtmp+:} false; then : 6985if test "${pt_cv_path_wtmp+set}" = set; then :
6946 $as_echo_n "(cached) " >&6 6986 $as_echo_n "(cached) " >&6
6947else 6987else
6988
6948 if test "$cross_compiling" = yes; then : 6989if test "$cross_compiling" != yes; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMP_FILE in config.h manually" >&5
6950$as_echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
6951else
6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6953/* end confdefs.h. */
6954#include <stdio.h>
6955#include <stdlib.h>
6956#include <sys/stat.h>
6957
6958#include <sys/types.h>
6959#ifdef HAVE_UTMP_H
6960#include <utmp.h>
6961#endif
6962
6963int main()
6964{
6965 char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; 6990 for file in "/var/log/wtmp" "/var/adm/wtmp" "/etc/wtmp" "/usr/etc/wtmp" "/usr/adm/wtmp"; do
6966 FILE *f = fopen("conftestval", "w"); 6991 if test -f "$file"; then
6967 if (!f) return 1;
6968#ifdef WTMP_FILE
6969 fprintf(f, "%s\n", WTMP_FILE);
6970#elif defined(_PATH_WTMP)
6971 fprintf(f, "%s\n", _PATH_WTMP);
6972#else
6973 for (path = list; *path; path++) {
6974 struct stat st;
6975 if (stat(*path, &st) == 0) {
6976 fprintf(f, "%s\n", *path);
6977 break;
6978 }
6979 }
6980#endif
6981 return fclose(f) != 0;
6982}
6983_ACEOF
6984if ac_fn_cxx_try_run "$LINENO"; then :
6985 pt_cv_path_wtmp=`cat conftestval`
6986else
6987 pt_cv_path_wtmp= 6992 pt_cv_path_wtmp=$file
6993 break
6994 fi
6995 done
6988fi 6996fi
6989rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6990 conftest.$ac_objext conftest.beam conftest.$ac_ext
6991fi
6992
6993fi 6997fi
6994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5 6998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmp" >&5
6995$as_echo "$pt_cv_path_wtmp" >&6; } 6999$as_echo "$pt_cv_path_wtmp" >&6; }
6996if test x$pt_cv_path_wtmp != x; then 7000if test x$pt_cv_path_wtmp != x; then
6997 7001
6998cat >>confdefs.h <<_ACEOF 7002cat >>confdefs.h <<_ACEOF
6999#define WTMP_FILE "$pt_cv_path_wtmp" 7003#define PT_WTMP_FILE "$pt_cv_path_wtmp"
7000_ACEOF 7004_ACEOF
7001 7005
7006elif test "$cross_compiling" = yes; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMP_FILE in config.h manually" >&5
7008$as_echo "$as_me: WARNING: Define PT_WTMP_FILE in config.h manually" >&2;}
7002fi 7009fi
7003 7010
7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where wtmpx is located" >&5 7011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of wtmpx" >&5
7005$as_echo_n "checking where wtmpx is located... " >&6; } 7012$as_echo_n "checking for a fallback location of wtmpx... " >&6; }
7006if ${pt_cv_path_wtmpx+:} false; then : 7013if test "${pt_cv_path_wtmpx+set}" = set; then :
7007 $as_echo_n "(cached) " >&6 7014 $as_echo_n "(cached) " >&6
7008else 7015else
7016
7009 if test "$cross_compiling" = yes; then : 7017if test "$cross_compiling" != yes; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define WTMPX_FILE in config.h manually" >&5 7018 for file in "/var/log/wtmpx" "/var/adm/wtmpx"; do
7011$as_echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} 7019 if test -f "$file"; then
7012else
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7014/* end confdefs.h. */
7015#include <stdio.h>
7016#include <stdlib.h>
7017#include <sys/stat.h>
7018
7019#ifdef HAVE_UTMPX_H
7020#include <utmpx.h>
7021#endif
7022
7023int main()
7024{
7025 char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL };
7026 FILE *f = fopen("conftestval", "w");
7027 if (!f) return 1;
7028#ifdef WTMPX_FILE
7029 fprintf(f, "%s\n", WTMPX_FILE);
7030#elif defined(_PATH_WTMPX)
7031 fprintf(f, "%s\n", _PATH_WTMPX);
7032#else
7033 for (path = list; *path; path++) {
7034 struct stat st;
7035 if (stat(*path, &st) == 0) {
7036 fprintf(f, "%s\n", *path);
7037 break;
7038 }
7039 }
7040#endif
7041 return fclose(f) != 0;
7042}
7043_ACEOF
7044if ac_fn_cxx_try_run "$LINENO"; then :
7045 pt_cv_path_wtmpx=`cat conftestval`
7046else
7047 pt_cv_path_wtmpx= 7020 pt_cv_path_wtmpx=$file
7021 break
7022 fi
7023 done
7048fi 7024fi
7049rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7050 conftest.$ac_objext conftest.beam conftest.$ac_ext
7051fi
7052
7053fi 7025fi
7054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5 7026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_wtmpx" >&5
7055$as_echo "$pt_cv_path_wtmpx" >&6; } 7027$as_echo "$pt_cv_path_wtmpx" >&6; }
7056if test x$pt_cv_path_wtmpx != x; then 7028if test x$pt_cv_path_wtmpx != x; then
7057 7029
7058cat >>confdefs.h <<_ACEOF 7030cat >>confdefs.h <<_ACEOF
7059#define WTMPX_FILE "$pt_cv_path_wtmpx" 7031#define PT_WTMPX_FILE "$pt_cv_path_wtmpx"
7060_ACEOF 7032_ACEOF
7061 7033
7034elif test "$cross_compiling" = yes; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_WTMPX_FILE in config.h manually" >&5
7036$as_echo "$as_me: WARNING: Define PT_WTMPX_FILE in config.h manually" >&2;}
7062fi 7037fi
7063 7038
7064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlog is located" >&5 7039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlog" >&5
7065$as_echo_n "checking where lastlog is located... " >&6; } 7040$as_echo_n "checking for a fallback location of lastlog... " >&6; }
7066if ${pt_cv_path_lastlog+:} false; then : 7041if test "${pt_cv_path_lastlog+set}" = set; then :
7067 $as_echo_n "(cached) " >&6 7042 $as_echo_n "(cached) " >&6
7068else 7043else
7044
7069 if test "$cross_compiling" = yes; then : 7045if test "$cross_compiling" != yes; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOG_FILE in config.h manually" >&5 7046 for file in "/var/log/lastlog"; do
7071$as_echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} 7047 if test -f "$file"; then
7072else
7073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074/* end confdefs.h. */
7075#include <stdio.h>
7076#include <stdlib.h>
7077#include <sys/stat.h>
7078
7079#include <sys/types.h>
7080#ifdef HAVE_UTMP_H
7081#include <utmp.h>
7082#endif
7083#ifdef HAVE_LASTLOG_H
7084#include <lastlog.h>
7085#endif
7086
7087int main()
7088{
7089 char **path, *list[] = { "/var/log/lastlog", NULL };
7090 FILE *f = fopen("conftestval", "w");
7091 if (!f) return 1;
7092#ifdef LASTLOG_FILE
7093 fprintf(f, "%s\n", LASTLOG_FILE);
7094#elif defined(_PATH_LASTLOG)
7095 fprintf(f, "%s\n", _PATH_LASTLOG);
7096#else
7097 for (path = list; *path; path++) {
7098 struct stat st;
7099 if (stat(*path, &st) == 0) {
7100 fprintf(f, "%s\n", *path);
7101 break;
7102 }
7103 }
7104#endif
7105 return fclose(f) != 0;
7106}
7107_ACEOF
7108if ac_fn_cxx_try_run "$LINENO"; then :
7109 pt_cv_path_lastlog=`cat conftestval`
7110else
7111 pt_cv_path_lastlog= 7048 pt_cv_path_lastlog=$file
7049 break
7050 fi
7051 done
7112fi 7052fi
7113rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7114 conftest.$ac_objext conftest.beam conftest.$ac_ext
7115fi
7116
7117fi 7053fi
7118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5 7054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlog" >&5
7119$as_echo "$pt_cv_path_lastlog" >&6; } 7055$as_echo "$pt_cv_path_lastlog" >&6; }
7120if test x$pt_cv_path_lastlog != x; then 7056if test x$pt_cv_path_lastlog != x; then
7121 7057
7122cat >>confdefs.h <<_ACEOF 7058cat >>confdefs.h <<_ACEOF
7123#define LASTLOG_FILE "$pt_cv_path_lastlog" 7059#define PT_LASTLOG_FILE "$pt_cv_path_lastlog"
7124_ACEOF 7060_ACEOF
7125 7061
7062elif test "$cross_compiling" = yes; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&5
7064$as_echo "$as_me: WARNING: Define PT_LASTLOG_FILE in config.h manually" >&2;}
7126fi 7065fi
7127 7066
7128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where lastlogx is located" >&5 7067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback location of lastlogx" >&5
7129$as_echo_n "checking where lastlogx is located... " >&6; } 7068$as_echo_n "checking for a fallback location of lastlogx... " >&6; }
7130if ${pt_cv_path_lastlogx+:} false; then : 7069if test "${pt_cv_path_lastlogx+set}" = set; then :
7131 $as_echo_n "(cached) " >&6 7070 $as_echo_n "(cached) " >&6
7132else 7071else
7072
7133 if test "$cross_compiling" = yes; then : 7073if test "$cross_compiling" != yes; then
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 7074 for file in "/var/log/lastlogx" "/var/adm/lastlogx"; do
7135$as_echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} 7075 if test -f "$file"; then
7136else
7137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7138/* end confdefs.h. */
7139#include <stdio.h>
7140#include <stdlib.h>
7141#include <sys/stat.h>
7142
7143#ifdef HAVE_UTMPX_H
7144#include <utmpx.h>
7145#endif
7146
7147int main()
7148{
7149 char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL };
7150 FILE *f = fopen("conftestval", "w");
7151 if (!f) return 1;
7152#ifdef LASTLOGX_FILE
7153 fprintf(f, "%s\n", LASTLOGX_FILE);
7154#elif defined(_PATH_LASTLOGX)
7155 fprintf(f, "%s\n", _PATH_LASTLOGX);
7156#else
7157 for (path = list; *path; path++) {
7158 struct stat st;
7159 if (stat(*path, &st) == 0) {
7160 fprintf(f, "%s\n", *path);
7161 break;
7162 }
7163 }
7164#endif
7165 return fclose(f) != 0;
7166}
7167_ACEOF
7168if ac_fn_cxx_try_run "$LINENO"; then :
7169 pt_cv_path_lastlogx=`cat conftestval`
7170else
7171 pt_cv_path_lastlogx= 7076 pt_cv_path_lastlogx=$file
7077 break
7078 fi
7079 done
7172fi 7080fi
7173rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7174 conftest.$ac_objext conftest.beam conftest.$ac_ext
7175fi
7176
7177fi 7081fi
7178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5 7082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pt_cv_path_lastlogx" >&5
7179$as_echo "$pt_cv_path_lastlogx" >&6; } 7083$as_echo "$pt_cv_path_lastlogx" >&6; }
7180if test x$pt_cv_path_lastlogx != x; then 7084if test x$pt_cv_path_lastlogx != x; then
7181 7085
7182cat >>confdefs.h <<_ACEOF 7086cat >>confdefs.h <<_ACEOF
7183#define LASTLOGX_FILE "$pt_cv_path_lastlogx" 7087#define PT_LASTLOGX_FILE "$pt_cv_path_lastlogx"
7184_ACEOF 7088_ACEOF
7185 7089
7090elif test "$cross_compiling" = yes; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&5
7092$as_echo "$as_me: WARNING: Define PT_LASTLOGX_FILE in config.h manually" >&2;}
7186fi 7093fi
7187 7094
7188 7095
7189 7096
7190 7097
7193CFLAGS="$CFLAGS $X_CFLAGS" 7100CFLAGS="$CFLAGS $X_CFLAGS"
7194LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 7101LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7195if test x$support_xim = xyes; then 7102if test x$support_xim = xyes; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5
7197$as_echo_n "checking for working Xlocale... " >&6; } 7104$as_echo_n "checking for working Xlocale... " >&6; }
7198if ${rxvt_cv_func_xlocale+:} false; then : 7105if test "${rxvt_cv_func_xlocale+set}" = set; then :
7199 $as_echo_n "(cached) " >&6 7106 $as_echo_n "(cached) " >&6
7200else 7107else
7201 if test "$cross_compiling" = yes; then : 7108 if test "$cross_compiling" = yes; then :
7202 : 7109 :
7203else 7110else
7231 7138
7232$as_echo "#define USE_XIM 1" >>confdefs.h 7139$as_echo "#define USE_XIM 1" >>confdefs.h
7233 7140
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5 7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken XIM callback" >&5
7235$as_echo_n "checking for broken XIM callback... " >&6; } 7142$as_echo_n "checking for broken XIM callback... " >&6; }
7236if ${rxvt_cv_broken_ximcb+:} false; then : 7143if test "${rxvt_cv_broken_ximcb+set}" = set; then :
7237 $as_echo_n "(cached) " >&6 7144 $as_echo_n "(cached) " >&6
7238else 7145else
7239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7240/* end confdefs.h. */ 7147/* end confdefs.h. */
7241 7148
7267 fi 7174 fi
7268fi 7175fi
7269 7176
7270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5 7177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working X setlocale" >&5
7271$as_echo_n "checking for working X setlocale... " >&6; } 7178$as_echo_n "checking for working X setlocale... " >&6; }
7272if ${rxvt_cv_func_xsetlocale+:} false; then : 7179if test "${rxvt_cv_func_xsetlocale+set}" = set; then :
7273 $as_echo_n "(cached) " >&6 7180 $as_echo_n "(cached) " >&6
7274else 7181else
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276/* end confdefs.h. */ 7183/* end confdefs.h. */
7277#define X_LOCALE 1 7184#define X_LOCALE 1
7302LIBS=$save_LIBS 7209LIBS=$save_LIBS
7303CFLAGS=$save_CFLAGS 7210CFLAGS=$save_CFLAGS
7304 7211
7305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 7212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5
7306$as_echo_n "checking for working plain setlocale... " >&6; } 7213$as_echo_n "checking for working plain setlocale... " >&6; }
7307if ${rxvt_cv_func_setlocale+:} false; then : 7214if test "${rxvt_cv_func_setlocale+set}" = set; then :
7308 $as_echo_n "(cached) " >&6 7215 $as_echo_n "(cached) " >&6
7309else 7216else
7310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7311/* end confdefs.h. */ 7218/* end confdefs.h. */
7312#include <clocale> 7219#include <clocale>
7334 7241
7335fi 7242fi
7336 7243
7337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 7244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5
7338$as_echo_n "checking for working nl_langinfo... " >&6; } 7245$as_echo_n "checking for working nl_langinfo... " >&6; }
7339if ${rxvt_cv_func_nl_langinfo+:} false; then : 7246if test "${rxvt_cv_func_nl_langinfo+set}" = set; then :
7340 $as_echo_n "(cached) " >&6 7247 $as_echo_n "(cached) " >&6
7341else 7248else
7342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343/* end confdefs.h. */ 7250/* end confdefs.h. */
7344#include <langinfo.h> 7251#include <langinfo.h>
7367fi 7274fi
7368 7275
7369 7276
7370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5 7277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unix-compliant filehandle passing ability" >&5
7371$as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; } 7278$as_echo_n "checking for unix-compliant filehandle passing ability... " >&6; }
7372if ${pt_cv_can_pass_fds+:} false; then : 7279if test "${pt_cv_can_pass_fds+set}" = set; then :
7373 $as_echo_n "(cached) " >&6 7280 $as_echo_n "(cached) " >&6
7374else 7281else
7375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376/* end confdefs.h. */ 7283/* end confdefs.h. */
7377 7284
7474 7381
7475fi 7382fi
7476done 7383done
7477 7384
7478 7385
7479have_clone=no
7480
7481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
7482$as_echo_n "checking for /dev/ptc... " >&6; }
7483if test -e /dev/ptc; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7485$as_echo "yes" >&6; }
7486
7487$as_echo "#define CLONE_DEVICE \"/dev/ptc\"" >>confdefs.h
7488
7489 have_clone=yes
7490else
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492$as_echo "no" >&6; }
7493fi
7494
7495case $host in
7496 *-*-cygwin*)
7497 have_clone=yes
7498
7499$as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h
7500
7501 ;;
7502 *)
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
7504$as_echo_n "checking for /dev/ptmx... " >&6; }
7505 if test -e /dev/ptmx; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7507$as_echo "yes" >&6; }
7508
7509$as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h
7510
7511
7512$as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h
7513
7514 have_clone=yes
7515 else
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517$as_echo "no" >&6; }
7518 fi
7519 ;;
7520esac
7521
7522if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 7386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5
7524$as_echo_n "checking for UNIX98 ptys... " >&6; } 7387$as_echo_n "checking for UNIX98 ptys... " >&6; }
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7388cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526/* end confdefs.h. */ 7389/* end confdefs.h. */
7527#include <stdlib.h> 7390#include <stdlib.h>
7528int 7391int
7529main () 7392main ()
7530{ 7393{
7536if ac_fn_cxx_try_link "$LINENO"; then : 7399if ac_fn_cxx_try_link "$LINENO"; then :
7537 unix98_pty=yes 7400 unix98_pty=yes
7538 7401
7539$as_echo "#define UNIX98_PTY 1" >>confdefs.h 7402$as_echo "#define UNIX98_PTY 1" >>confdefs.h
7540 7403
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7542$as_echo "yes" >&6; } 7405$as_echo "yes" >&6; }
7543else 7406else
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545$as_echo "no" >&6; } 7408$as_echo "no" >&6; }
7546fi 7409fi
7547rm -f core conftest.err conftest.$ac_objext \ 7410rm -f core conftest.err conftest.$ac_objext \
7548 conftest$ac_exeext conftest.$ac_ext 7411 conftest$ac_exeext conftest.$ac_ext
7549fi
7550 7412
7551if test -z "$unix98_pty"; then 7413if test -z "$unix98_pty"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
7553$as_echo_n "checking for library containing openpty... " >&6; } 7415$as_echo_n "checking for library containing openpty... " >&6; }
7554if ${ac_cv_search_openpty+:} false; then : 7416if test "${ac_cv_search_openpty+set}" = set; then :
7555 $as_echo_n "(cached) " >&6 7417 $as_echo_n "(cached) " >&6
7556else 7418else
7557 ac_func_search_save_LIBS=$LIBS 7419 ac_func_search_save_LIBS=$LIBS
7558cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7420cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7559/* end confdefs.h. */ 7421/* end confdefs.h. */
7583 if ac_fn_cxx_try_link "$LINENO"; then : 7445 if ac_fn_cxx_try_link "$LINENO"; then :
7584 ac_cv_search_openpty=$ac_res 7446 ac_cv_search_openpty=$ac_res
7585fi 7447fi
7586rm -f core conftest.err conftest.$ac_objext \ 7448rm -f core conftest.err conftest.$ac_objext \
7587 conftest$ac_exeext 7449 conftest$ac_exeext
7588 if ${ac_cv_search_openpty+:} false; then : 7450 if test "${ac_cv_search_openpty+set}" = set; then :
7589 break 7451 break
7590fi 7452fi
7591done 7453done
7592if ${ac_cv_search_openpty+:} false; then : 7454if test "${ac_cv_search_openpty+set}" = set; then :
7593 7455
7594else 7456else
7595 ac_cv_search_openpty=no 7457 ac_cv_search_openpty=no
7596fi 7458fi
7597rm conftest.$ac_ext 7459rm conftest.$ac_ext
7611 7473
7612 7474
7613 7475
7614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5 7476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tty group" >&5
7615$as_echo_n "checking for tty group... " >&6; } 7477$as_echo_n "checking for tty group... " >&6; }
7616if ${pt_cv_tty_group+:} false; then : 7478if test "${pt_cv_tty_group+set}" = set; then :
7617 $as_echo_n "(cached) " >&6 7479 $as_echo_n "(cached) " >&6
7618else 7480else
7619 if test "$cross_compiling" = yes; then : 7481 if test "$cross_compiling" = yes; then :
7620 pt_cv_tty_group=no 7482 pt_cv_tty_group=no
7621else 7483else
7665 rxvt_have_xrender=no 7527 rxvt_have_xrender=no
7666 # Extract the first word of "pkg-config", so it can be a program name with args. 7528 # Extract the first word of "pkg-config", so it can be a program name with args.
7667set dummy pkg-config; ac_word=$2 7529set dummy pkg-config; ac_word=$2
7668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669$as_echo_n "checking for $ac_word... " >&6; } 7531$as_echo_n "checking for $ac_word... " >&6; }
7670if ${ac_cv_path_PKG_CONFIG+:} false; then : 7532if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7671 $as_echo_n "(cached) " >&6 7533 $as_echo_n "(cached) " >&6
7672else 7534else
7673 case $PKG_CONFIG in 7535 case $PKG_CONFIG in
7674 [\\/]* | ?:[\\/]*) 7536 [\\/]* | ?:[\\/]*)
7675 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7537 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7710 rxvt_have_xrender=yes 7572 rxvt_have_xrender=yes
7711 7573
7712 save_LIBS="$LIBS" 7574 save_LIBS="$LIBS"
7713 LIBS="$LIBS $X_LIBS" 7575 LIBS="$LIBS $X_LIBS"
7714 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" 7576 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7715if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes; then : 7577if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
7716 7578
7717else 7579else
7718 rxvt_have_xrender=no 7580 rxvt_have_xrender=no
7719fi 7581fi
7720 7582
7721 7583
7722 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" 7584 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat"
7723if test "x$ac_cv_func_XRenderFindStandardFormat" = xyes; then : 7585if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then :
7724 7586
7725else 7587else
7726 rxvt_have_xrender=no 7588 rxvt_have_xrender=no
7727fi 7589fi
7728 7590
7733if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then 7595if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then
7734 # Extract the first word of "pkg-config", so it can be a program name with args. 7596 # Extract the first word of "pkg-config", so it can be a program name with args.
7735set dummy pkg-config; ac_word=$2 7597set dummy pkg-config; ac_word=$2
7736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7737$as_echo_n "checking for $ac_word... " >&6; } 7599$as_echo_n "checking for $ac_word... " >&6; }
7738if ${ac_cv_path_PKG_CONFIG+:} false; then : 7600if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7739 $as_echo_n "(cached) " >&6 7601 $as_echo_n "(cached) " >&6
7740else 7602else
7741 case $PKG_CONFIG in 7603 case $PKG_CONFIG in
7742 [\\/]* | ?:[\\/]*) 7604 [\\/]* | ?:[\\/]*)
7743 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7605 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7778 else 7640 else
7779 # Extract the first word of "xft-config", so it can be a program name with args. 7641 # Extract the first word of "xft-config", so it can be a program name with args.
7780set dummy xft-config; ac_word=$2 7642set dummy xft-config; ac_word=$2
7781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782$as_echo_n "checking for $ac_word... " >&6; } 7644$as_echo_n "checking for $ac_word... " >&6; }
7783if ${ac_cv_path_XFT_CONFIG+:} false; then : 7645if test "${ac_cv_path_XFT_CONFIG+set}" = set; then :
7784 $as_echo_n "(cached) " >&6 7646 $as_echo_n "(cached) " >&6
7785else 7647else
7786 case $XFT_CONFIG in 7648 case $XFT_CONFIG in
7787 [\\/]* | ?:[\\/]*) 7649 [\\/]* | ?:[\\/]*)
7788 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. 7650 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
7831 save_LIBS="$LIBS" 7693 save_LIBS="$LIBS"
7832 LIBS="$LIBS $X_LIBS" 7694 LIBS="$LIBS $X_LIBS"
7833 for ac_header in X11/Xft/Xft.h 7695 for ac_header in X11/Xft/Xft.h
7834do : 7696do :
7835 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 7697 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
7836if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then : 7698if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then :
7837 cat >>confdefs.h <<_ACEOF 7699 cat >>confdefs.h <<_ACEOF
7838#define HAVE_X11_XFT_XFT_H 1 7700#define HAVE_X11_XFT_XFT_H 1
7839_ACEOF 7701_ACEOF
7840 7702
7841else 7703else
7844 7706
7845done 7707done
7846 7708
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5 7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawString32 in -lXft" >&5
7848$as_echo_n "checking for XftDrawString32 in -lXft... " >&6; } 7710$as_echo_n "checking for XftDrawString32 in -lXft... " >&6; }
7849if ${ac_cv_lib_Xft_XftDrawString32+:} false; then : 7711if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then :
7850 $as_echo_n "(cached) " >&6 7712 $as_echo_n "(cached) " >&6
7851else 7713else
7852 ac_check_lib_save_LIBS=$LIBS 7714 ac_check_lib_save_LIBS=$LIBS
7853LIBS="-lXft $LIBS" 7715LIBS="-lXft $LIBS"
7854cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7716cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7878 conftest$ac_exeext conftest.$ac_ext 7740 conftest$ac_exeext conftest.$ac_ext
7879LIBS=$ac_check_lib_save_LIBS 7741LIBS=$ac_check_lib_save_LIBS
7880fi 7742fi
7881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5 7743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawString32" >&5
7882$as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; } 7744$as_echo "$ac_cv_lib_Xft_XftDrawString32" >&6; }
7883if test "x$ac_cv_lib_Xft_XftDrawString32" = xyes; then : 7745if test "x$ac_cv_lib_Xft_XftDrawString32" = x""yes; then :
7884 : 7746 :
7885else 7747else
7886 support_xft=no 7748 support_xft=no
7887fi 7749fi
7888 7750
7889 for ac_header in fontconfig/fontconfig.h 7751 for ac_header in fontconfig/fontconfig.h
7890do : 7752do :
7891 ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" 7753 ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
7892if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then : 7754if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
7893 cat >>confdefs.h <<_ACEOF 7755 cat >>confdefs.h <<_ACEOF
7894#define HAVE_FONTCONFIG_FONTCONFIG_H 1 7756#define HAVE_FONTCONFIG_FONTCONFIG_H 1
7895_ACEOF 7757_ACEOF
7896 7758
7897else 7759else
7900 7762
7901done 7763done
7902 7764
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5
7904$as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } 7766$as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; }
7905if ${ac_cv_lib_fontconfig_FcPatternGet+:} false; then : 7767if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then :
7906 $as_echo_n "(cached) " >&6 7768 $as_echo_n "(cached) " >&6
7907else 7769else
7908 ac_check_lib_save_LIBS=$LIBS 7770 ac_check_lib_save_LIBS=$LIBS
7909LIBS="-lfontconfig $LIBS" 7771LIBS="-lfontconfig $LIBS"
7910cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7934 conftest$ac_exeext conftest.$ac_ext 7796 conftest$ac_exeext conftest.$ac_ext
7935LIBS=$ac_check_lib_save_LIBS 7797LIBS=$ac_check_lib_save_LIBS
7936fi 7798fi
7937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 7799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5
7938$as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } 7800$as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; }
7939if test "x$ac_cv_lib_fontconfig_FcPatternGet" = xyes; then : 7801if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then :
7940 : 7802 :
7941else 7803else
7942 support_xft=no 7804 support_xft=no
7943fi 7805fi
7944 7806
8083if test x$support_perl = xyes; then 7945if test x$support_perl = xyes; then
8084 # Extract the first word of "perl5", so it can be a program name with args. 7946 # Extract the first word of "perl5", so it can be a program name with args.
8085set dummy perl5; ac_word=$2 7947set dummy perl5; ac_word=$2
8086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8087$as_echo_n "checking for $ac_word... " >&6; } 7949$as_echo_n "checking for $ac_word... " >&6; }
8088if ${ac_cv_path_PERL+:} false; then : 7950if test "${ac_cv_path_PERL+set}" = set; then :
8089 $as_echo_n "(cached) " >&6 7951 $as_echo_n "(cached) " >&6
8090else 7952else
8091 case $PERL in 7953 case $PERL in
8092 [\\/]* | ?:[\\/]*) 7954 [\\/]* | ?:[\\/]*)
8093 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 7955 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
8123 7985
8124 # Extract the first word of "perl", so it can be a program name with args. 7986 # Extract the first word of "perl", so it can be a program name with args.
8125set dummy perl; ac_word=$2 7987set dummy perl; ac_word=$2
8126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127$as_echo_n "checking for $ac_word... " >&6; } 7989$as_echo_n "checking for $ac_word... " >&6; }
8128if ${ac_cv_path_PERL+:} false; then : 7990if test "${ac_cv_path_PERL+set}" = set; then :
8129 $as_echo_n "(cached) " >&6 7991 $as_echo_n "(cached) " >&6
8130else 7992else
8131 case $PERL in 7993 case $PERL in
8132 [\\/]* | ?:[\\/]*) 7994 [\\/]* | ?:[\\/]*)
8133 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 7995 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
8287 t end 8149 t end
8288 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8289 :end' >>confcache 8151 :end' >>confcache
8290if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8152if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8291 if test -w "$cache_file"; then 8153 if test -w "$cache_file"; then
8292 if test "x$cache_file" != "x/dev/null"; then 8154 test "x$cache_file" != "x/dev/null" &&
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8155 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8294$as_echo "$as_me: updating cache $cache_file" >&6;} 8156$as_echo "$as_me: updating cache $cache_file" >&6;}
8295 if test ! -f "$cache_file" || test -h "$cache_file"; then
8296 cat confcache >"$cache_file" 8157 cat confcache >$cache_file
8297 else
8298 case $cache_file in #(
8299 */* | ?:*)
8300 mv -f confcache "$cache_file"$$ &&
8301 mv -f "$cache_file"$$ "$cache_file" ;; #(
8302 *)
8303 mv -f confcache "$cache_file" ;;
8304 esac
8305 fi
8306 fi
8307 else 8158 else
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8159 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8309$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 8160$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8310 fi 8161 fi
8311fi 8162fi
8333 8184
8334LTLIBOBJS=$ac_ltlibobjs 8185LTLIBOBJS=$ac_ltlibobjs
8335 8186
8336 8187
8337 8188
8338: "${CONFIG_STATUS=./config.status}" 8189: ${CONFIG_STATUS=./config.status}
8339ac_write_fail=0 8190ac_write_fail=0
8340ac_clean_files_save=$ac_clean_files 8191ac_clean_files_save=$ac_clean_files
8341ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8192ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8342{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8193{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8343$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 8194$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8434# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8285# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8435# splitting by setting IFS to empty value.) 8286# splitting by setting IFS to empty value.)
8436IFS=" "" $as_nl" 8287IFS=" "" $as_nl"
8437 8288
8438# Find who we are. Look in the path if we contain no directory separator. 8289# Find who we are. Look in the path if we contain no directory separator.
8439as_myself=
8440case $0 in #(( 8290case $0 in #((
8441 *[\\/]* ) as_myself=$0 ;; 8291 *[\\/]* ) as_myself=$0 ;;
8442 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8292 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443for as_dir in $PATH 8293for as_dir in $PATH
8444do 8294do
8742# Save the log message, to keep $0 and so on meaningful, and to 8592# Save the log message, to keep $0 and so on meaningful, and to
8743# report actual input values of CONFIG_FILES etc. instead of their 8593# report actual input values of CONFIG_FILES etc. instead of their
8744# values after options handling. 8594# values after options handling.
8745ac_log=" 8595ac_log="
8746This file was extended by $as_me, which was 8596This file was extended by $as_me, which was
8747generated by GNU Autoconf 2.68. Invocation command line was 8597generated by GNU Autoconf 2.67. Invocation command line was
8748 8598
8749 CONFIG_FILES = $CONFIG_FILES 8599 CONFIG_FILES = $CONFIG_FILES
8750 CONFIG_HEADERS = $CONFIG_HEADERS 8600 CONFIG_HEADERS = $CONFIG_HEADERS
8751 CONFIG_LINKS = $CONFIG_LINKS 8601 CONFIG_LINKS = $CONFIG_LINKS
8752 CONFIG_COMMANDS = $CONFIG_COMMANDS 8602 CONFIG_COMMANDS = $CONFIG_COMMANDS
8804_ACEOF 8654_ACEOF
8805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8655cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8806ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8656ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8807ac_cs_version="\\ 8657ac_cs_version="\\
8808config.status 8658config.status
8809configured by $0, generated by GNU Autoconf 2.68, 8659configured by $0, generated by GNU Autoconf 2.67,
8810 with options \\"\$ac_cs_config\\" 8660 with options \\"\$ac_cs_config\\"
8811 8661
8812Copyright (C) 2010 Free Software Foundation, Inc. 8662Copyright (C) 2010 Free Software Foundation, Inc.
8813This config.status script is free software; the Free Software Foundation 8663This config.status script is free software; the Free Software Foundation
8814gives unlimited permission to copy, distribute and modify it." 8664gives unlimited permission to copy, distribute and modify it."
8930 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 8780 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
8931 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8781 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8932 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 8782 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8933 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 8783 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8934 8784
8935 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8785 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
8936 esac 8786 esac
8937done 8787done
8938 8788
8939 8789
8940# If the user did not use the arguments to specify the items to instantiate, 8790# If the user did not use the arguments to specify the items to instantiate,
8952# Hook for its removal unless debugging. 8802# Hook for its removal unless debugging.
8953# Note that there is a small window in which the directory will not be cleaned: 8803# Note that there is a small window in which the directory will not be cleaned:
8954# after its creation but before its name has been assigned to `$tmp'. 8804# after its creation but before its name has been assigned to `$tmp'.
8955$debug || 8805$debug ||
8956{ 8806{
8957 tmp= ac_tmp= 8807 tmp=
8958 trap 'exit_status=$? 8808 trap 'exit_status=$?
8959 : "${ac_tmp:=$tmp}"
8960 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8809 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8961' 0 8810' 0
8962 trap 'as_fn_exit 1' 1 2 13 15 8811 trap 'as_fn_exit 1' 1 2 13 15
8963} 8812}
8964# Create a (secure) tmp directory for tmp files. 8813# Create a (secure) tmp directory for tmp files.
8965 8814
8966{ 8815{
8967 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8816 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8968 test -d "$tmp" 8817 test -n "$tmp" && test -d "$tmp"
8969} || 8818} ||
8970{ 8819{
8971 tmp=./conf$$-$RANDOM 8820 tmp=./conf$$-$RANDOM
8972 (umask 077 && mkdir "$tmp") 8821 (umask 077 && mkdir "$tmp")
8973} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8822} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8974ac_tmp=$tmp
8975 8823
8976# Set up the scripts for CONFIG_FILES section. 8824# Set up the scripts for CONFIG_FILES section.
8977# No need to generate them if there are no CONFIG_FILES. 8825# No need to generate them if there are no CONFIG_FILES.
8978# This happens for instance with `./config.status config.h'. 8826# This happens for instance with `./config.status config.h'.
8979if test -n "$CONFIG_FILES"; then 8827if test -n "$CONFIG_FILES"; then
8991 ac_cs_awk_cr='\\r' 8839 ac_cs_awk_cr='\\r'
8992else 8840else
8993 ac_cs_awk_cr=$ac_cr 8841 ac_cs_awk_cr=$ac_cr
8994fi 8842fi
8995 8843
8996echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8844echo 'BEGIN {' >"$tmp/subs1.awk" &&
8997_ACEOF 8845_ACEOF
8998 8846
8999 8847
9000{ 8848{
9001 echo "cat >conf$$subs.awk <<_ACEOF" && 8849 echo "cat >conf$$subs.awk <<_ACEOF" &&
9019 fi 8867 fi
9020done 8868done
9021rm -f conf$$subs.sh 8869rm -f conf$$subs.sh
9022 8870
9023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8871cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9024cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8872cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9025_ACEOF 8873_ACEOF
9026sed -n ' 8874sed -n '
9027h 8875h
9028s/^/S["/; s/!.*/"]=/ 8876s/^/S["/; s/!.*/"]=/
9029p 8877p
9067} 8915}
9068' >>$CONFIG_STATUS || ac_write_fail=1 8916' >>$CONFIG_STATUS || ac_write_fail=1
9069rm -f conf$$subs.awk 8917rm -f conf$$subs.awk
9070cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8918cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9071_ACAWK 8919_ACAWK
9072cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 8920cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9073 for (key in S) S_is_set[key] = 1 8921 for (key in S) S_is_set[key] = 1
9074 FS = "" 8922 FS = ""
9075 8923
9076} 8924}
9077{ 8925{
9099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8947cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9100if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8948if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9101 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8949 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9102else 8950else
9103 cat 8951 cat
9104fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 8952fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9105 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8953 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9106_ACEOF 8954_ACEOF
9107 8955
9108# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8956# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9109# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8957# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9133 8981
9134# Set up the scripts for CONFIG_HEADERS section. 8982# Set up the scripts for CONFIG_HEADERS section.
9135# No need to generate them if there are no CONFIG_HEADERS. 8983# No need to generate them if there are no CONFIG_HEADERS.
9136# This happens for instance with `./config.status Makefile'. 8984# This happens for instance with `./config.status Makefile'.
9137if test -n "$CONFIG_HEADERS"; then 8985if test -n "$CONFIG_HEADERS"; then
9138cat >"$ac_tmp/defines.awk" <<\_ACAWK || 8986cat >"$tmp/defines.awk" <<\_ACAWK ||
9139BEGIN { 8987BEGIN {
9140_ACEOF 8988_ACEOF
9141 8989
9142# Transform confdefs.h into an awk script `defines.awk', embedded as 8990# Transform confdefs.h into an awk script `defines.awk', embedded as
9143# here-document in config.status, that substitutes the proper values into 8991# here-document in config.status, that substitutes the proper values into
9145 8993
9146# Create a delimiter string that does not exist in confdefs.h, to ease 8994# Create a delimiter string that does not exist in confdefs.h, to ease
9147# handling of long lines. 8995# handling of long lines.
9148ac_delim='%!_!# ' 8996ac_delim='%!_!# '
9149for ac_last_try in false false :; do 8997for ac_last_try in false false :; do
9150 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 8998 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9151 if test -z "$ac_tt"; then 8999 if test -z "$ac_t"; then
9152 break 9000 break
9153 elif $ac_last_try; then 9001 elif $ac_last_try; then
9154 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9002 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9155 else 9003 else
9156 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9004 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9247 case $ac_tag in 9095 case $ac_tag in
9248 :[FHLC]) ac_mode=$ac_tag; continue;; 9096 :[FHLC]) ac_mode=$ac_tag; continue;;
9249 esac 9097 esac
9250 case $ac_mode$ac_tag in 9098 case $ac_mode$ac_tag in
9251 :[FHL]*:*);; 9099 :[FHL]*:*);;
9252 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9100 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
9253 :[FH]-) ac_tag=-:-;; 9101 :[FH]-) ac_tag=-:-;;
9254 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9102 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9255 esac 9103 esac
9256 ac_save_IFS=$IFS 9104 ac_save_IFS=$IFS
9257 IFS=: 9105 IFS=:
9266 :[FH]) 9114 :[FH])
9267 ac_file_inputs= 9115 ac_file_inputs=
9268 for ac_f 9116 for ac_f
9269 do 9117 do
9270 case $ac_f in 9118 case $ac_f in
9271 -) ac_f="$ac_tmp/stdin";; 9119 -) ac_f="$tmp/stdin";;
9272 *) # Look for the file first in the build tree, then in the source tree 9120 *) # Look for the file first in the build tree, then in the source tree
9273 # (if the path is not absolute). The absolute path cannot be DOS-style, 9121 # (if the path is not absolute). The absolute path cannot be DOS-style,
9274 # because $ac_f cannot contain `:'. 9122 # because $ac_f cannot contain `:'.
9275 test -f "$ac_f" || 9123 test -f "$ac_f" ||
9276 case $ac_f in 9124 case $ac_f in
9277 [\\/$]*) false;; 9125 [\\/$]*) false;;
9278 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9126 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9279 esac || 9127 esac ||
9280 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9128 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
9281 esac 9129 esac
9282 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9130 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9283 as_fn_append ac_file_inputs " '$ac_f'" 9131 as_fn_append ac_file_inputs " '$ac_f'"
9284 done 9132 done
9285 9133
9301 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9149 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9302 *) ac_sed_conf_input=$configure_input;; 9150 *) ac_sed_conf_input=$configure_input;;
9303 esac 9151 esac
9304 9152
9305 case $ac_tag in 9153 case $ac_tag in
9306 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9154 *:-:* | *:-) cat >"$tmp/stdin" \
9307 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9155 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9308 esac 9156 esac
9309 ;; 9157 ;;
9310 esac 9158 esac
9311 9159
9312 ac_dir=`$as_dirname -- "$ac_file" || 9160 ac_dir=`$as_dirname -- "$ac_file" ||
9432s&@abs_builddir@&$ac_abs_builddir&;t t 9280s&@abs_builddir@&$ac_abs_builddir&;t t
9433s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9281s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9434s&@INSTALL@&$ac_INSTALL&;t t 9282s&@INSTALL@&$ac_INSTALL&;t t
9435$ac_datarootdir_hack 9283$ac_datarootdir_hack
9436" 9284"
9437eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9285eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9438 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9286 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9439 9287
9440test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9288test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9441 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9289 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9290 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9443 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9445which seems to be undefined. Please make sure it is defined" >&5 9292which seems to be undefined. Please make sure it is defined" >&5
9446$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9293$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9447which seems to be undefined. Please make sure it is defined" >&2;} 9294which seems to be undefined. Please make sure it is defined" >&2;}
9448 9295
9449 rm -f "$ac_tmp/stdin" 9296 rm -f "$tmp/stdin"
9450 case $ac_file in 9297 case $ac_file in
9451 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9298 -) cat "$tmp/out" && rm -f "$tmp/out";;
9452 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9299 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9453 esac \ 9300 esac \
9454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9301 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9455 ;; 9302 ;;
9456 :H) 9303 :H)
9457 # 9304 #
9458 # CONFIG_HEADER 9305 # CONFIG_HEADER
9459 # 9306 #
9460 if test x"$ac_file" != x-; then 9307 if test x"$ac_file" != x-; then
9461 { 9308 {
9462 $as_echo "/* $configure_input */" \ 9309 $as_echo "/* $configure_input */" \
9463 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9310 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9464 } >"$ac_tmp/config.h" \ 9311 } >"$tmp/config.h" \
9465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9312 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9466 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9313 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9314 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9468$as_echo "$as_me: $ac_file is unchanged" >&6;} 9315$as_echo "$as_me: $ac_file is unchanged" >&6;}
9469 else 9316 else
9470 rm -f "$ac_file" 9317 rm -f "$ac_file"
9471 mv "$ac_tmp/config.h" "$ac_file" \ 9318 mv "$tmp/config.h" "$ac_file" \
9472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9319 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9473 fi 9320 fi
9474 else 9321 else
9475 $as_echo "/* $configure_input */" \ 9322 $as_echo "/* $configure_input */" \
9476 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9323 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9477 || as_fn_error $? "could not create -" "$LINENO" 5 9324 || as_fn_error $? "could not create -" "$LINENO" 5
9478 fi 9325 fi
9479 ;; 9326 ;;
9480 9327
9481 9328

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines