aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-01-05 22:56:49 +0000
committerDave Love2000-01-05 22:56:49 +0000
commitc4bb210835038418351a95f32dbf37f279697379 (patch)
treede8861022da34bb2cba7456d589283a7801b6aa7
parent7549d2074668683380374033e63d6ac8023857bb (diff)
downloademacs-c4bb210835038418351a95f32dbf37f279697379.tar.gz
emacs-c4bb210835038418351a95f32dbf37f279697379.zip
*** empty log message ***
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure977
-rw-r--r--lisp/ChangeLog5
3 files changed, 669 insertions, 317 deletions
diff --git a/ChangeLog b/ChangeLog
index 31a559f1f93..53d442aaa78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12000-01-05 Dave Love <fx@gnu.org>
2
3 * configure.in: Check for jerror.h as well as libjpeg.
4
12000-01-03 Andreas Schwab <schwab@suse.de> 52000-01-03 Andreas Schwab <schwab@suse.de>
2 6
3 * Makefile.in (install-arch-indep): Install autotype*. Run 7 * Makefile.in (install-arch-indep): Install autotype*. Run
diff --git a/configure b/configure
index 61ff368ee67..4805dd40db5 100755
--- a/configure
+++ b/configure
@@ -1,7 +1,7 @@
1#! /bin/sh 1#! /bin/sh
2 2
3# Guess values for system-dependent variables and create Makefiles. 3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.12 4# Generated automatically using autoconf version 2.13
5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6# 6#
7# This configure script is free software; the Free Software Foundation 7# This configure script is free software; the Free Software Foundation
@@ -75,6 +75,7 @@ mandir='${prefix}/man'
75# Initialize some other variables. 75# Initialize some other variables.
76subdirs= 76subdirs=
77MFLAGS= MAKEFLAGS= 77MFLAGS= MAKEFLAGS=
78SHELL=${CONFIG_SHELL-/bin/sh}
78# Maximum number of lines to put in a shell here document. 79# Maximum number of lines to put in a shell here document.
79ac_max_here_lines=12 80ac_max_here_lines=12
80 81
@@ -358,7 +359,7 @@ EOF
358 verbose=yes ;; 359 verbose=yes ;;
359 360
360 -version | --version | --versio | --versi | --vers) 361 -version | --version | --versio | --versi | --vers)
361 echo "configure generated by autoconf version 2.12" 362 echo "configure generated by autoconf version 2.13"
362 exit 0 ;; 363 exit 0 ;;
363 364
364 -with-* | --with-*) 365 -with-* | --with-*)
@@ -528,9 +529,11 @@ ac_ext=c
528# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 529# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
529ac_cpp='$CPP $CPPFLAGS' 530ac_cpp='$CPP $CPPFLAGS'
530ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 531ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
531ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 532ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
532cross_compiling=$ac_cv_prog_cc_cross 533cross_compiling=$ac_cv_prog_cc_cross
533 534
535ac_exeext=
536ac_objext=o
534if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 537if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
535 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 538 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
536 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 539 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
@@ -736,26 +739,26 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
736 739
737 740
738# Make sure we can run config.sub. 741# Make sure we can run config.sub.
739if $ac_config_sub sun4 >/dev/null 2>&1; then : 742if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
740else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 743else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
741fi 744fi
742 745
743echo $ac_n "checking host system type""... $ac_c" 1>&6 746echo $ac_n "checking host system type""... $ac_c" 1>&6
744echo "configure:745: checking host system type" >&5 747echo "configure:748: checking host system type" >&5
745 748
746host_alias=$host 749host_alias=$host
747case "$host_alias" in 750case "$host_alias" in
748NONE) 751NONE)
749 case $nonopt in 752 case $nonopt in
750 NONE) 753 NONE)
751 if host_alias=`$ac_config_guess`; then : 754 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
752 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 755 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
753 fi ;; 756 fi ;;
754 *) host_alias=$nonopt ;; 757 *) host_alias=$nonopt ;;
755 esac ;; 758 esac ;;
756esac 759esac
757 760
758host=`$ac_config_sub $host_alias` 761host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
759host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 762host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
760host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 763host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
761host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 764host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
@@ -868,12 +871,23 @@ case "${canonical}" in
868 # This is needed to find X11R6.1 libraries for certain tests. 871 # This is needed to find X11R6.1 libraries for certain tests.
869 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib 872 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
870 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib 873 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
874 #NON_GCC_TEST_OPTIONS=-std # gets us __STDC__
875 #NON_GNU_CPP=/usr/lib/cpp
871 ;; 876 ;;
872 877
873 alpha*-*-linux-gnu* ) 878 alpha*-*-linux-gnu* )
874 machine=alpha opsys=gnu-linux 879 machine=alpha opsys=gnu-linux
875 ;; 880 ;;
876 881
882 arm*-*-linux-gnu* )
883 machine=arm opsys=gnu-linux
884 ;;
885
886 ppc-*-linux | \
887 powerpc-*-linux* )
888 machine=powerpc opsys=gnu-linux
889 ;;
890
877 ## Altos 3068 891 ## Altos 3068
878 m68*-altos-sysv* ) 892 m68*-altos-sysv* )
879 machine=altos opsys=usg5-2 893 machine=altos opsys=usg5-2
@@ -1389,7 +1403,7 @@ case "${canonical}" in
1389 ;; 1403 ;;
1390 mips-sgi-irix6* ) 1404 mips-sgi-irix6* )
1391 machine=iris4d opsys=irix6-0 1405 machine=iris4d opsys=irix6-0
1392 # It's not clear whether -D_LANGUAGE_C is necessary as for 6.5, 1406 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
1393 # but presumably it does no harm. 1407 # but presumably it does no harm.
1394 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" 1408 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
1395 NON_GCC_TEST_OPTIONS=-32 1409 NON_GCC_TEST_OPTIONS=-32
@@ -1692,15 +1706,16 @@ case ${with_gcc} in
1692 * ) # Extract the first word of "gcc", so it can be a program name with args. 1706 * ) # Extract the first word of "gcc", so it can be a program name with args.
1693set dummy gcc; ac_word=$2 1707set dummy gcc; ac_word=$2
1694echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1708echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1695echo "configure:1696: checking for $ac_word" >&5 1709echo "configure:1710: checking for $ac_word" >&5
1696if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1710if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1697 echo $ac_n "(cached) $ac_c" 1>&6 1711 echo $ac_n "(cached) $ac_c" 1>&6
1698else 1712else
1699 if test -n "$CC"; then 1713 if test -n "$CC"; then
1700 ac_cv_prog_CC="$CC" # Let the user override the test. 1714 ac_cv_prog_CC="$CC" # Let the user override the test.
1701else 1715else
1702 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1716 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1703 for ac_dir in $PATH; do 1717 ac_dummy="$PATH"
1718 for ac_dir in $ac_dummy; do
1704 test -z "$ac_dir" && ac_dir=. 1719 test -z "$ac_dir" && ac_dir=.
1705 if test -f $ac_dir/$ac_word; then 1720 if test -f $ac_dir/$ac_word; then
1706 ac_cv_prog_CC="gcc" 1721 ac_cv_prog_CC="gcc"
@@ -1721,16 +1736,17 @@ if test -z "$CC"; then
1721 # Extract the first word of "cc", so it can be a program name with args. 1736 # Extract the first word of "cc", so it can be a program name with args.
1722set dummy cc; ac_word=$2 1737set dummy cc; ac_word=$2
1723echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1738echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1724echo "configure:1725: checking for $ac_word" >&5 1739echo "configure:1740: checking for $ac_word" >&5
1725if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1740if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1726 echo $ac_n "(cached) $ac_c" 1>&6 1741 echo $ac_n "(cached) $ac_c" 1>&6
1727else 1742else
1728 if test -n "$CC"; then 1743 if test -n "$CC"; then
1729 ac_cv_prog_CC="$CC" # Let the user override the test. 1744 ac_cv_prog_CC="$CC" # Let the user override the test.
1730else 1745else
1731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1746 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1732 ac_prog_rejected=no 1747 ac_prog_rejected=no
1733 for ac_dir in $PATH; do 1748 ac_dummy="$PATH"
1749 for ac_dir in $ac_dummy; do
1734 test -z "$ac_dir" && ac_dir=. 1750 test -z "$ac_dir" && ac_dir=.
1735 if test -f $ac_dir/$ac_word; then 1751 if test -f $ac_dir/$ac_word; then
1736 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1752 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
@@ -1765,25 +1781,61 @@ else
1765 echo "$ac_t""no" 1>&6 1781 echo "$ac_t""no" 1>&6
1766fi 1782fi
1767 1783
1784 if test -z "$CC"; then
1785 case "`uname -s`" in
1786 *win32* | *WIN32*)
1787 # Extract the first word of "cl", so it can be a program name with args.
1788set dummy cl; ac_word=$2
1789echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1790echo "configure:1791: checking for $ac_word" >&5
1791if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1792 echo $ac_n "(cached) $ac_c" 1>&6
1793else
1794 if test -n "$CC"; then
1795 ac_cv_prog_CC="$CC" # Let the user override the test.
1796else
1797 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1798 ac_dummy="$PATH"
1799 for ac_dir in $ac_dummy; do
1800 test -z "$ac_dir" && ac_dir=.
1801 if test -f $ac_dir/$ac_word; then
1802 ac_cv_prog_CC="cl"
1803 break
1804 fi
1805 done
1806 IFS="$ac_save_ifs"
1807fi
1808fi
1809CC="$ac_cv_prog_CC"
1810if test -n "$CC"; then
1811 echo "$ac_t""$CC" 1>&6
1812else
1813 echo "$ac_t""no" 1>&6
1814fi
1815 ;;
1816 esac
1817 fi
1768 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1818 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1769fi 1819fi
1770 1820
1771echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1821echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1772echo "configure:1773: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1822echo "configure:1823: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1773 1823
1774ac_ext=c 1824ac_ext=c
1775# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1825# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1776ac_cpp='$CPP $CPPFLAGS' 1826ac_cpp='$CPP $CPPFLAGS'
1777ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1827ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1778ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1828ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1779cross_compiling=$ac_cv_prog_cc_cross 1829cross_compiling=$ac_cv_prog_cc_cross
1780 1830
1781cat > conftest.$ac_ext <<EOF 1831cat > conftest.$ac_ext << EOF
1782#line 1783 "configure" 1832
1833#line 1834 "configure"
1783#include "confdefs.h" 1834#include "confdefs.h"
1835
1784main(){return(0);} 1836main(){return(0);}
1785EOF 1837EOF
1786if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1838if { (eval echo configure:1839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1787 ac_cv_prog_cc_works=yes 1839 ac_cv_prog_cc_works=yes
1788 # If we can't run a trivial program, we are probably using a cross compiler. 1840 # If we can't run a trivial program, we are probably using a cross compiler.
1789 if (./conftest; exit) 2>/dev/null; then 1841 if (./conftest; exit) 2>/dev/null; then
@@ -1797,18 +1849,24 @@ else
1797 ac_cv_prog_cc_works=no 1849 ac_cv_prog_cc_works=no
1798fi 1850fi
1799rm -fr conftest* 1851rm -fr conftest*
1852ac_ext=c
1853# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1854ac_cpp='$CPP $CPPFLAGS'
1855ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1856ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1857cross_compiling=$ac_cv_prog_cc_cross
1800 1858
1801echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1859echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1802if test $ac_cv_prog_cc_works = no; then 1860if test $ac_cv_prog_cc_works = no; then
1803 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1861 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1804fi 1862fi
1805echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1863echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1806echo "configure:1807: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1864echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1807echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1865echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1808cross_compiling=$ac_cv_prog_cc_cross 1866cross_compiling=$ac_cv_prog_cc_cross
1809 1867
1810echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1868echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1811echo "configure:1812: checking whether we are using GNU C" >&5 1869echo "configure:1870: checking whether we are using GNU C" >&5
1812if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1870if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1813 echo $ac_n "(cached) $ac_c" 1>&6 1871 echo $ac_n "(cached) $ac_c" 1>&6
1814else 1872else
@@ -1817,7 +1875,7 @@ else
1817 yes; 1875 yes;
1818#endif 1876#endif
1819EOF 1877EOF
1820if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1878if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1821 ac_cv_prog_gcc=yes 1879 ac_cv_prog_gcc=yes
1822else 1880else
1823 ac_cv_prog_gcc=no 1881 ac_cv_prog_gcc=no
@@ -1828,11 +1886,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1828 1886
1829if test $ac_cv_prog_gcc = yes; then 1887if test $ac_cv_prog_gcc = yes; then
1830 GCC=yes 1888 GCC=yes
1831 ac_test_CFLAGS="${CFLAGS+set}" 1889else
1832 ac_save_CFLAGS="$CFLAGS" 1890 GCC=
1833 CFLAGS= 1891fi
1834 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1892
1835echo "configure:1836: checking whether ${CC-cc} accepts -g" >&5 1893ac_test_CFLAGS="${CFLAGS+set}"
1894ac_save_CFLAGS="$CFLAGS"
1895CFLAGS=
1896echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1897echo "configure:1898: checking whether ${CC-cc} accepts -g" >&5
1836if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1898if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1837 echo $ac_n "(cached) $ac_c" 1>&6 1899 echo $ac_n "(cached) $ac_c" 1>&6
1838else 1900else
@@ -1847,16 +1909,20 @@ rm -f conftest*
1847fi 1909fi
1848 1910
1849echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1911echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1850 if test "$ac_test_CFLAGS" = set; then 1912if test "$ac_test_CFLAGS" = set; then
1851 CFLAGS="$ac_save_CFLAGS" 1913 CFLAGS="$ac_save_CFLAGS"
1852 elif test $ac_cv_prog_cc_g = yes; then 1914elif test $ac_cv_prog_cc_g = yes; then
1915 if test "$GCC" = yes; then
1853 CFLAGS="-g -O2" 1916 CFLAGS="-g -O2"
1854 else 1917 else
1855 CFLAGS="-O2" 1918 CFLAGS="-g"
1856 fi 1919 fi
1857else 1920else
1858 GCC= 1921 if test "$GCC" = yes; then
1859 test "${CFLAGS+set}" = set || CFLAGS="-g" 1922 CFLAGS="-O2"
1923 else
1924 CFLAGS=
1925 fi
1860fi 1926fi
1861 1927
1862esac 1928esac
@@ -1908,7 +1974,7 @@ fi
1908#### #undef clause to src/config.h.in for autoconf to modify. 1974#### #undef clause to src/config.h.in for autoconf to modify.
1909 1975
1910echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1976echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1911echo "configure:1912: checking whether ln -s works" >&5 1977echo "configure:1978: checking whether ln -s works" >&5
1912if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1978if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1913 echo $ac_n "(cached) $ac_c" 1>&6 1979 echo $ac_n "(cached) $ac_c" 1>&6
1914else 1980else
@@ -1929,7 +1995,7 @@ else
1929fi 1995fi
1930 1996
1931echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1997echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1932echo "configure:1933: checking how to run the C preprocessor" >&5 1998echo "configure:1999: checking how to run the C preprocessor" >&5
1933# On Suns, sometimes $CPP names a directory. 1999# On Suns, sometimes $CPP names a directory.
1934if test -n "$CPP" && test -d "$CPP"; then 2000if test -n "$CPP" && test -d "$CPP"; then
1935 CPP= 2001 CPP=
@@ -1944,14 +2010,14 @@ else
1944 # On the NeXT, cc -E runs the code through the compiler's parser, 2010 # On the NeXT, cc -E runs the code through the compiler's parser,
1945 # not just through cpp. 2011 # not just through cpp.
1946 cat > conftest.$ac_ext <<EOF 2012 cat > conftest.$ac_ext <<EOF
1947#line 1948 "configure" 2013#line 2014 "configure"
1948#include "confdefs.h" 2014#include "confdefs.h"
1949#include <assert.h> 2015#include <assert.h>
1950Syntax Error 2016Syntax Error
1951EOF 2017EOF
1952ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2018ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1953{ (eval echo configure:1954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2019{ (eval echo configure:2020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1954ac_err=`grep -v '^ *+' conftest.out` 2020ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1955if test -z "$ac_err"; then 2021if test -z "$ac_err"; then
1956 : 2022 :
1957else 2023else
@@ -1961,14 +2027,31 @@ else
1961 rm -rf conftest* 2027 rm -rf conftest*
1962 CPP="${CC-cc} -E -traditional-cpp" 2028 CPP="${CC-cc} -E -traditional-cpp"
1963 cat > conftest.$ac_ext <<EOF 2029 cat > conftest.$ac_ext <<EOF
1964#line 1965 "configure" 2030#line 2031 "configure"
1965#include "confdefs.h" 2031#include "confdefs.h"
1966#include <assert.h> 2032#include <assert.h>
1967Syntax Error 2033Syntax Error
1968EOF 2034EOF
1969ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2035ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1970{ (eval echo configure:1971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2036{ (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1971ac_err=`grep -v '^ *+' conftest.out` 2037ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2038if test -z "$ac_err"; then
2039 :
2040else
2041 echo "$ac_err" >&5
2042 echo "configure: failed program was:" >&5
2043 cat conftest.$ac_ext >&5
2044 rm -rf conftest*
2045 CPP="${CC-cc} -nologo -E"
2046 cat > conftest.$ac_ext <<EOF
2047#line 2048 "configure"
2048#include "confdefs.h"
2049#include <assert.h>
2050Syntax Error
2051EOF
2052ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2053{ (eval echo configure:2054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2054ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1972if test -z "$ac_err"; then 2055if test -z "$ac_err"; then
1973 : 2056 :
1974else 2057else
@@ -1981,6 +2064,8 @@ fi
1981rm -f conftest* 2064rm -f conftest*
1982fi 2065fi
1983rm -f conftest* 2066rm -f conftest*
2067fi
2068rm -f conftest*
1984 ac_cv_prog_CPP="$CPP" 2069 ac_cv_prog_CPP="$CPP"
1985fi 2070fi
1986 CPP="$ac_cv_prog_CPP" 2071 CPP="$ac_cv_prog_CPP"
@@ -1996,28 +2081,30 @@ echo "$ac_t""$CPP" 1>&6
1996# SunOS /usr/etc/install 2081# SunOS /usr/etc/install
1997# IRIX /sbin/install 2082# IRIX /sbin/install
1998# AIX /bin/install 2083# AIX /bin/install
2084# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1999# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2085# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2000# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2086# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2001# ./install, which can be erroneously created by make from ./install.sh. 2087# ./install, which can be erroneously created by make from ./install.sh.
2002echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2088echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
2003echo "configure:2004: checking for a BSD compatible install" >&5 2089echo "configure:2090: checking for a BSD compatible install" >&5
2004if test -z "$INSTALL"; then 2090if test -z "$INSTALL"; then
2005if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 2091if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2006 echo $ac_n "(cached) $ac_c" 1>&6 2092 echo $ac_n "(cached) $ac_c" 1>&6
2007else 2093else
2008 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 2094 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
2009 for ac_dir in $PATH; do 2095 for ac_dir in $PATH; do
2010 # Account for people who put trailing slashes in PATH elements. 2096 # Account for people who put trailing slashes in PATH elements.
2011 case "$ac_dir/" in 2097 case "$ac_dir/" in
2012 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 2098 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
2013 *) 2099 *)
2014 # OSF1 and SCO ODT 3.0 have their own names for install. 2100 # OSF1 and SCO ODT 3.0 have their own names for install.
2015 for ac_prog in ginstall installbsd scoinst install; do 2101 # Don't use installbsd from OSF since it installs stuff as root
2102 # by default.
2103 for ac_prog in ginstall scoinst install; do
2016 if test -f $ac_dir/$ac_prog; then 2104 if test -f $ac_dir/$ac_prog; then
2017 if test $ac_prog = install && 2105 if test $ac_prog = install &&
2018 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 2106 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
2019 # AIX install. It has an incompatible calling convention. 2107 # AIX install. It has an incompatible calling convention.
2020 # OSF/1 installbsd also uses dspmsg, but is usable.
2021 : 2108 :
2022 else 2109 else
2023 ac_cv_path_install="$ac_dir/$ac_prog -c" 2110 ac_cv_path_install="$ac_dir/$ac_prog -c"
@@ -2047,6 +2134,8 @@ echo "$ac_t""$INSTALL" 1>&6
2047# It thinks the first close brace ends the variable substitution. 2134# It thinks the first close brace ends the variable substitution.
2048test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2135test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2049 2136
2137test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
2138
2050test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2139test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2051 2140
2052for ac_prog in 'bison -y' byacc 2141for ac_prog in 'bison -y' byacc
@@ -2054,15 +2143,16 @@ do
2054# Extract the first word of "$ac_prog", so it can be a program name with args. 2143# Extract the first word of "$ac_prog", so it can be a program name with args.
2055set dummy $ac_prog; ac_word=$2 2144set dummy $ac_prog; ac_word=$2
2056echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2145echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2057echo "configure:2058: checking for $ac_word" >&5 2146echo "configure:2147: checking for $ac_word" >&5
2058if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 2147if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2059 echo $ac_n "(cached) $ac_c" 1>&6 2148 echo $ac_n "(cached) $ac_c" 1>&6
2060else 2149else
2061 if test -n "$YACC"; then 2150 if test -n "$YACC"; then
2062 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2151 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2063else 2152else
2064 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 2153 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2065 for ac_dir in $PATH; do 2154 ac_dummy="$PATH"
2155 for ac_dir in $ac_dummy; do
2066 test -z "$ac_dir" && ac_dir=. 2156 test -z "$ac_dir" && ac_dir=.
2067 if test -f $ac_dir/$ac_word; then 2157 if test -f $ac_dir/$ac_word; then
2068 ac_cv_prog_YACC="$ac_prog" 2158 ac_cv_prog_YACC="$ac_prog"
@@ -2085,9 +2175,9 @@ test -n "$YACC" || YACC="yacc"
2085 2175
2086 2176
2087echo $ac_n "checking for AIX""... $ac_c" 1>&6 2177echo $ac_n "checking for AIX""... $ac_c" 1>&6
2088echo "configure:2089: checking for AIX" >&5 2178echo "configure:2179: checking for AIX" >&5
2089cat > conftest.$ac_ext <<EOF 2179cat > conftest.$ac_ext <<EOF
2090#line 2091 "configure" 2180#line 2181 "configure"
2091#include "confdefs.h" 2181#include "confdefs.h"
2092#ifdef _AIX 2182#ifdef _AIX
2093 yes 2183 yes
@@ -2114,18 +2204,18 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h
2114do 2204do
2115ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2205ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2116echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2206echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2117echo "configure:2118: checking for $ac_hdr" >&5 2207echo "configure:2208: checking for $ac_hdr" >&5
2118if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2208if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2119 echo $ac_n "(cached) $ac_c" 1>&6 2209 echo $ac_n "(cached) $ac_c" 1>&6
2120else 2210else
2121 cat > conftest.$ac_ext <<EOF 2211 cat > conftest.$ac_ext <<EOF
2122#line 2123 "configure" 2212#line 2213 "configure"
2123#include "confdefs.h" 2213#include "confdefs.h"
2124#include <$ac_hdr> 2214#include <$ac_hdr>
2125EOF 2215EOF
2126ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2216ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2127{ (eval echo configure:2128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2217{ (eval echo configure:2218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2128ac_err=`grep -v '^ *+' conftest.out` 2218ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2129if test -z "$ac_err"; then 2219if test -z "$ac_err"; then
2130 rm -rf conftest* 2220 rm -rf conftest*
2131 eval "ac_cv_header_$ac_safe=yes" 2221 eval "ac_cv_header_$ac_safe=yes"
@@ -2157,18 +2247,18 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
2157do 2247do
2158ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2248ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2159echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2249echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2160echo "configure:2161: checking for $ac_hdr" >&5 2250echo "configure:2251: checking for $ac_hdr" >&5
2161if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2251if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2162 echo $ac_n "(cached) $ac_c" 1>&6 2252 echo $ac_n "(cached) $ac_c" 1>&6
2163else 2253else
2164 cat > conftest.$ac_ext <<EOF 2254 cat > conftest.$ac_ext <<EOF
2165#line 2166 "configure" 2255#line 2256 "configure"
2166#include "confdefs.h" 2256#include "confdefs.h"
2167#include <$ac_hdr> 2257#include <$ac_hdr>
2168EOF 2258EOF
2169ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2259ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2170{ (eval echo configure:2171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2260{ (eval echo configure:2261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2171ac_err=`grep -v '^ *+' conftest.out` 2261ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2172if test -z "$ac_err"; then 2262if test -z "$ac_err"; then
2173 rm -rf conftest* 2263 rm -rf conftest*
2174 eval "ac_cv_header_$ac_safe=yes" 2264 eval "ac_cv_header_$ac_safe=yes"
@@ -2194,12 +2284,12 @@ fi
2194done 2284done
2195 2285
2196echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2286echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2197echo "configure:2198: checking for ANSI C header files" >&5 2287echo "configure:2288: checking for ANSI C header files" >&5
2198if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2288if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2199 echo $ac_n "(cached) $ac_c" 1>&6 2289 echo $ac_n "(cached) $ac_c" 1>&6
2200else 2290else
2201 cat > conftest.$ac_ext <<EOF 2291 cat > conftest.$ac_ext <<EOF
2202#line 2203 "configure" 2292#line 2293 "configure"
2203#include "confdefs.h" 2293#include "confdefs.h"
2204#include <stdlib.h> 2294#include <stdlib.h>
2205#include <stdarg.h> 2295#include <stdarg.h>
@@ -2207,8 +2297,8 @@ else
2207#include <float.h> 2297#include <float.h>
2208EOF 2298EOF
2209ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2299ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2210{ (eval echo configure:2211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2300{ (eval echo configure:2301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2211ac_err=`grep -v '^ *+' conftest.out` 2301ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2212if test -z "$ac_err"; then 2302if test -z "$ac_err"; then
2213 rm -rf conftest* 2303 rm -rf conftest*
2214 ac_cv_header_stdc=yes 2304 ac_cv_header_stdc=yes
@@ -2224,7 +2314,7 @@ rm -f conftest*
2224if test $ac_cv_header_stdc = yes; then 2314if test $ac_cv_header_stdc = yes; then
2225 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2315 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2226cat > conftest.$ac_ext <<EOF 2316cat > conftest.$ac_ext <<EOF
2227#line 2228 "configure" 2317#line 2318 "configure"
2228#include "confdefs.h" 2318#include "confdefs.h"
2229#include <string.h> 2319#include <string.h>
2230EOF 2320EOF
@@ -2242,7 +2332,7 @@ fi
2242if test $ac_cv_header_stdc = yes; then 2332if test $ac_cv_header_stdc = yes; then
2243 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2333 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2244cat > conftest.$ac_ext <<EOF 2334cat > conftest.$ac_ext <<EOF
2245#line 2246 "configure" 2335#line 2336 "configure"
2246#include "confdefs.h" 2336#include "confdefs.h"
2247#include <stdlib.h> 2337#include <stdlib.h>
2248EOF 2338EOF
@@ -2263,7 +2353,7 @@ if test "$cross_compiling" = yes; then
2263 : 2353 :
2264else 2354else
2265 cat > conftest.$ac_ext <<EOF 2355 cat > conftest.$ac_ext <<EOF
2266#line 2267 "configure" 2356#line 2357 "configure"
2267#include "confdefs.h" 2357#include "confdefs.h"
2268#include <ctype.h> 2358#include <ctype.h>
2269#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2359#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -2274,7 +2364,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2274exit (0); } 2364exit (0); }
2275 2365
2276EOF 2366EOF
2277if { (eval echo configure:2278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2367if { (eval echo configure:2368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2278then 2368then
2279 : 2369 :
2280else 2370else
@@ -2298,12 +2388,12 @@ EOF
2298fi 2388fi
2299 2389
2300echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2390echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2301echo "configure:2302: checking whether time.h and sys/time.h may both be included" >&5 2391echo "configure:2392: checking whether time.h and sys/time.h may both be included" >&5
2302if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2392if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2303 echo $ac_n "(cached) $ac_c" 1>&6 2393 echo $ac_n "(cached) $ac_c" 1>&6
2304else 2394else
2305 cat > conftest.$ac_ext <<EOF 2395 cat > conftest.$ac_ext <<EOF
2306#line 2307 "configure" 2396#line 2397 "configure"
2307#include "confdefs.h" 2397#include "confdefs.h"
2308#include <sys/types.h> 2398#include <sys/types.h>
2309#include <sys/time.h> 2399#include <sys/time.h>
@@ -2312,7 +2402,7 @@ int main() {
2312struct tm *tp; 2402struct tm *tp;
2313; return 0; } 2403; return 0; }
2314EOF 2404EOF
2315if { (eval echo configure:2316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2405if { (eval echo configure:2406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2316 rm -rf conftest* 2406 rm -rf conftest*
2317 ac_cv_header_time=yes 2407 ac_cv_header_time=yes
2318else 2408else
@@ -2333,12 +2423,12 @@ EOF
2333fi 2423fi
2334 2424
2335echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 2425echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
2336echo "configure:2337: checking for sys_siglist declaration in signal.h or unistd.h" >&5 2426echo "configure:2427: checking for sys_siglist declaration in signal.h or unistd.h" >&5
2337if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then 2427if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
2338 echo $ac_n "(cached) $ac_c" 1>&6 2428 echo $ac_n "(cached) $ac_c" 1>&6
2339else 2429else
2340 cat > conftest.$ac_ext <<EOF 2430 cat > conftest.$ac_ext <<EOF
2341#line 2342 "configure" 2431#line 2432 "configure"
2342#include "confdefs.h" 2432#include "confdefs.h"
2343#include <sys/types.h> 2433#include <sys/types.h>
2344#include <signal.h> 2434#include <signal.h>
@@ -2350,7 +2440,7 @@ int main() {
2350char *msg = *(sys_siglist + 1); 2440char *msg = *(sys_siglist + 1);
2351; return 0; } 2441; return 0; }
2352EOF 2442EOF
2353if { (eval echo configure:2354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2443if { (eval echo configure:2444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2354 rm -rf conftest* 2444 rm -rf conftest*
2355 ac_cv_decl_sys_siglist=yes 2445 ac_cv_decl_sys_siglist=yes
2356else 2446else
@@ -2372,12 +2462,12 @@ fi
2372 2462
2373 2463
2374echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 2464echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
2375echo "configure:2376: checking for struct utimbuf" >&5 2465echo "configure:2466: checking for struct utimbuf" >&5
2376if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then 2466if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then
2377 echo $ac_n "(cached) $ac_c" 1>&6 2467 echo $ac_n "(cached) $ac_c" 1>&6
2378else 2468else
2379 cat > conftest.$ac_ext <<EOF 2469 cat > conftest.$ac_ext <<EOF
2380#line 2381 "configure" 2470#line 2471 "configure"
2381#include "confdefs.h" 2471#include "confdefs.h"
2382#ifdef TIME_WITH_SYS_TIME 2472#ifdef TIME_WITH_SYS_TIME
2383#include <sys/time.h> 2473#include <sys/time.h>
@@ -2396,7 +2486,7 @@ int main() {
2396static struct utimbuf x; x.actime = x.modtime; 2486static struct utimbuf x; x.actime = x.modtime;
2397; return 0; } 2487; return 0; }
2398EOF 2488EOF
2399if { (eval echo configure:2400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2489if { (eval echo configure:2490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2400 rm -rf conftest* 2490 rm -rf conftest*
2401 emacs_cv_struct_utimbuf=yes 2491 emacs_cv_struct_utimbuf=yes
2402else 2492else
@@ -2417,12 +2507,12 @@ EOF
2417fi 2507fi
2418 2508
2419echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2509echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2420echo "configure:2421: checking return type of signal handlers" >&5 2510echo "configure:2511: checking return type of signal handlers" >&5
2421if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2511if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2422 echo $ac_n "(cached) $ac_c" 1>&6 2512 echo $ac_n "(cached) $ac_c" 1>&6
2423else 2513else
2424 cat > conftest.$ac_ext <<EOF 2514 cat > conftest.$ac_ext <<EOF
2425#line 2426 "configure" 2515#line 2516 "configure"
2426#include "confdefs.h" 2516#include "confdefs.h"
2427#include <sys/types.h> 2517#include <sys/types.h>
2428#include <signal.h> 2518#include <signal.h>
@@ -2439,7 +2529,7 @@ int main() {
2439int i; 2529int i;
2440; return 0; } 2530; return 0; }
2441EOF 2531EOF
2442if { (eval echo configure:2443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2532if { (eval echo configure:2533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2443 rm -rf conftest* 2533 rm -rf conftest*
2444 ac_cv_type_signal=void 2534 ac_cv_type_signal=void
2445else 2535else
@@ -2459,12 +2549,12 @@ EOF
2459 2549
2460 2550
2461echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 2551echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
2462echo "configure:2463: checking for struct timeval" >&5 2552echo "configure:2553: checking for struct timeval" >&5
2463if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then 2553if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then
2464 echo $ac_n "(cached) $ac_c" 1>&6 2554 echo $ac_n "(cached) $ac_c" 1>&6
2465else 2555else
2466 cat > conftest.$ac_ext <<EOF 2556 cat > conftest.$ac_ext <<EOF
2467#line 2468 "configure" 2557#line 2558 "configure"
2468#include "confdefs.h" 2558#include "confdefs.h"
2469#ifdef TIME_WITH_SYS_TIME 2559#ifdef TIME_WITH_SYS_TIME
2470#include <sys/time.h> 2560#include <sys/time.h>
@@ -2480,7 +2570,7 @@ int main() {
2480static struct timeval x; x.tv_sec = x.tv_usec; 2570static struct timeval x; x.tv_sec = x.tv_usec;
2481; return 0; } 2571; return 0; }
2482EOF 2572EOF
2483if { (eval echo configure:2484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2573if { (eval echo configure:2574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2484 rm -rf conftest* 2574 rm -rf conftest*
2485 emacs_cv_struct_timeval=yes 2575 emacs_cv_struct_timeval=yes
2486else 2576else
@@ -2502,12 +2592,12 @@ EOF
2502fi 2592fi
2503 2593
2504echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2594echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
2505echo "configure:2506: checking whether struct tm is in sys/time.h or time.h" >&5 2595echo "configure:2596: checking whether struct tm is in sys/time.h or time.h" >&5
2506if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2596if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
2507 echo $ac_n "(cached) $ac_c" 1>&6 2597 echo $ac_n "(cached) $ac_c" 1>&6
2508else 2598else
2509 cat > conftest.$ac_ext <<EOF 2599 cat > conftest.$ac_ext <<EOF
2510#line 2511 "configure" 2600#line 2601 "configure"
2511#include "confdefs.h" 2601#include "confdefs.h"
2512#include <sys/types.h> 2602#include <sys/types.h>
2513#include <time.h> 2603#include <time.h>
@@ -2515,7 +2605,7 @@ int main() {
2515struct tm *tp; tp->tm_sec; 2605struct tm *tp; tp->tm_sec;
2516; return 0; } 2606; return 0; }
2517EOF 2607EOF
2518if { (eval echo configure:2519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2608if { (eval echo configure:2609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2519 rm -rf conftest* 2609 rm -rf conftest*
2520 ac_cv_struct_tm=time.h 2610 ac_cv_struct_tm=time.h
2521else 2611else
@@ -2536,12 +2626,12 @@ EOF
2536fi 2626fi
2537 2627
2538echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 2628echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
2539echo "configure:2540: checking for tm_zone in struct tm" >&5 2629echo "configure:2630: checking for tm_zone in struct tm" >&5
2540if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then 2630if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
2541 echo $ac_n "(cached) $ac_c" 1>&6 2631 echo $ac_n "(cached) $ac_c" 1>&6
2542else 2632else
2543 cat > conftest.$ac_ext <<EOF 2633 cat > conftest.$ac_ext <<EOF
2544#line 2545 "configure" 2634#line 2635 "configure"
2545#include "confdefs.h" 2635#include "confdefs.h"
2546#include <sys/types.h> 2636#include <sys/types.h>
2547#include <$ac_cv_struct_tm> 2637#include <$ac_cv_struct_tm>
@@ -2549,7 +2639,7 @@ int main() {
2549struct tm tm; tm.tm_zone; 2639struct tm tm; tm.tm_zone;
2550; return 0; } 2640; return 0; }
2551EOF 2641EOF
2552if { (eval echo configure:2553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2642if { (eval echo configure:2643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2553 rm -rf conftest* 2643 rm -rf conftest*
2554 ac_cv_struct_tm_zone=yes 2644 ac_cv_struct_tm_zone=yes
2555else 2645else
@@ -2569,12 +2659,12 @@ EOF
2569 2659
2570else 2660else
2571 echo $ac_n "checking for tzname""... $ac_c" 1>&6 2661 echo $ac_n "checking for tzname""... $ac_c" 1>&6
2572echo "configure:2573: checking for tzname" >&5 2662echo "configure:2663: checking for tzname" >&5
2573if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then 2663if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
2574 echo $ac_n "(cached) $ac_c" 1>&6 2664 echo $ac_n "(cached) $ac_c" 1>&6
2575else 2665else
2576 cat > conftest.$ac_ext <<EOF 2666 cat > conftest.$ac_ext <<EOF
2577#line 2578 "configure" 2667#line 2668 "configure"
2578#include "confdefs.h" 2668#include "confdefs.h"
2579#include <time.h> 2669#include <time.h>
2580#ifndef tzname /* For SGI. */ 2670#ifndef tzname /* For SGI. */
@@ -2584,7 +2674,7 @@ int main() {
2584atoi(*tzname); 2674atoi(*tzname);
2585; return 0; } 2675; return 0; }
2586EOF 2676EOF
2587if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2677if { (eval echo configure:2678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2588 rm -rf conftest* 2678 rm -rf conftest*
2589 ac_cv_var_tzname=yes 2679 ac_cv_var_tzname=yes
2590else 2680else
@@ -2606,19 +2696,19 @@ EOF
2606fi 2696fi
2607 2697
2608echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 2698echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
2609echo "configure:2610: checking for tm_gmtoff in struct tm" >&5 2699echo "configure:2700: checking for tm_gmtoff in struct tm" >&5
2610if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then 2700if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then
2611 echo $ac_n "(cached) $ac_c" 1>&6 2701 echo $ac_n "(cached) $ac_c" 1>&6
2612else 2702else
2613 cat > conftest.$ac_ext <<EOF 2703 cat > conftest.$ac_ext <<EOF
2614#line 2615 "configure" 2704#line 2705 "configure"
2615#include "confdefs.h" 2705#include "confdefs.h"
2616#include <time.h> 2706#include <time.h>
2617int main() { 2707int main() {
2618struct tm t; t.tm_gmtoff = 0 2708struct tm t; t.tm_gmtoff = 0
2619; return 0; } 2709; return 0; }
2620EOF 2710EOF
2621if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2711if { (eval echo configure:2712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2622 rm -rf conftest* 2712 rm -rf conftest*
2623 emacs_cv_tm_gmtoff=yes 2713 emacs_cv_tm_gmtoff=yes
2624else 2714else
@@ -2639,12 +2729,12 @@ EOF
2639fi 2729fi
2640 2730
2641echo $ac_n "checking for working const""... $ac_c" 1>&6 2731echo $ac_n "checking for working const""... $ac_c" 1>&6
2642echo "configure:2643: checking for working const" >&5 2732echo "configure:2733: checking for working const" >&5
2643if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2733if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2644 echo $ac_n "(cached) $ac_c" 1>&6 2734 echo $ac_n "(cached) $ac_c" 1>&6
2645else 2735else
2646 cat > conftest.$ac_ext <<EOF 2736 cat > conftest.$ac_ext <<EOF
2647#line 2648 "configure" 2737#line 2738 "configure"
2648#include "confdefs.h" 2738#include "confdefs.h"
2649 2739
2650int main() { 2740int main() {
@@ -2693,7 +2783,7 @@ ccp = (char const *const *) p;
2693 2783
2694; return 0; } 2784; return 0; }
2695EOF 2785EOF
2696if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2786if { (eval echo configure:2787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2697 rm -rf conftest* 2787 rm -rf conftest*
2698 ac_cv_c_const=yes 2788 ac_cv_c_const=yes
2699else 2789else
@@ -2715,7 +2805,7 @@ fi
2715 2805
2716 2806
2717echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2807echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
2718echo "configure:2719: checking whether ${MAKE-make} sets \${MAKE}" >&5 2808echo "configure:2809: checking whether ${MAKE-make} sets \${MAKE}" >&5
2719set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2809set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2720if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 2810if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2721 echo $ac_n "(cached) $ac_c" 1>&6 2811 echo $ac_n "(cached) $ac_c" 1>&6
@@ -2743,7 +2833,7 @@ fi
2743 2833
2744 2834
2745echo $ac_n "checking for long file names""... $ac_c" 1>&6 2835echo $ac_n "checking for long file names""... $ac_c" 1>&6
2746echo "configure:2747: checking for long file names" >&5 2836echo "configure:2837: checking for long file names" >&5
2747if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then 2837if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
2748 echo $ac_n "(cached) $ac_c" 1>&6 2838 echo $ac_n "(cached) $ac_c" 1>&6
2749else 2839else
@@ -2794,7 +2884,7 @@ fi
2794# Uses ac_ vars as temps to allow command line to override cache and checks. 2884# Uses ac_ vars as temps to allow command line to override cache and checks.
2795# --without-x overrides everything else, but does not touch the cache. 2885# --without-x overrides everything else, but does not touch the cache.
2796echo $ac_n "checking for X""... $ac_c" 1>&6 2886echo $ac_n "checking for X""... $ac_c" 1>&6
2797echo "configure:2798: checking for X" >&5 2887echo "configure:2888: checking for X" >&5
2798 2888
2799# Check whether --with-x or --without-x was given. 2889# Check whether --with-x or --without-x was given.
2800if test "${with_x+set}" = set; then 2890if test "${with_x+set}" = set; then
@@ -2856,13 +2946,13 @@ if test "$ac_x_includes" = NO; then
2856 2946
2857 # First, try using that file with no special directory specified. 2947 # First, try using that file with no special directory specified.
2858cat > conftest.$ac_ext <<EOF 2948cat > conftest.$ac_ext <<EOF
2859#line 2860 "configure" 2949#line 2950 "configure"
2860#include "confdefs.h" 2950#include "confdefs.h"
2861#include <$x_direct_test_include> 2951#include <$x_direct_test_include>
2862EOF 2952EOF
2863ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2953ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2864{ (eval echo configure:2865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2954{ (eval echo configure:2955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2865ac_err=`grep -v '^ *+' conftest.out` 2955ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2866if test -z "$ac_err"; then 2956if test -z "$ac_err"; then
2867 rm -rf conftest* 2957 rm -rf conftest*
2868 # We can compile using X headers with no special include directory. 2958 # We can compile using X headers with no special include directory.
@@ -2930,14 +3020,14 @@ if test "$ac_x_libraries" = NO; then
2930 ac_save_LIBS="$LIBS" 3020 ac_save_LIBS="$LIBS"
2931 LIBS="-l$x_direct_test_library $LIBS" 3021 LIBS="-l$x_direct_test_library $LIBS"
2932cat > conftest.$ac_ext <<EOF 3022cat > conftest.$ac_ext <<EOF
2933#line 2934 "configure" 3023#line 3024 "configure"
2934#include "confdefs.h" 3024#include "confdefs.h"
2935 3025
2936int main() { 3026int main() {
2937${x_direct_test_function}() 3027${x_direct_test_function}()
2938; return 0; } 3028; return 0; }
2939EOF 3029EOF
2940if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3030if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2941 rm -rf conftest* 3031 rm -rf conftest*
2942 LIBS="$ac_save_LIBS" 3032 LIBS="$ac_save_LIBS"
2943# We can link X programs with no special library path. 3033# We can link X programs with no special library path.
@@ -3112,7 +3202,7 @@ fi
3112echo "checking the machine- and system-dependent files to find out 3202echo "checking the machine- and system-dependent files to find out
3113 - which libraries the lib-src programs will want, and 3203 - which libraries the lib-src programs will want, and
3114 - whether the GNU malloc routines are usable" 1>&6 3204 - whether the GNU malloc routines are usable" 1>&6
3115echo "configure:3116: checking the machine- and system-dependent files to find out 3205echo "configure:3206: checking the machine- and system-dependent files to find out
3116 - which libraries the lib-src programs will want, and 3206 - which libraries the lib-src programs will want, and
3117 - whether the GNU malloc routines are usable" >&5 3207 - whether the GNU malloc routines are usable" >&5
3118 3208
@@ -3242,12 +3332,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
3242GNU_MALLOC=yes 3332GNU_MALLOC=yes
3243doug_lea_malloc=yes 3333doug_lea_malloc=yes
3244echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 3334echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6
3245echo "configure:3246: checking for malloc_get_state" >&5 3335echo "configure:3336: checking for malloc_get_state" >&5
3246if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then 3336if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then
3247 echo $ac_n "(cached) $ac_c" 1>&6 3337 echo $ac_n "(cached) $ac_c" 1>&6
3248else 3338else
3249 cat > conftest.$ac_ext <<EOF 3339 cat > conftest.$ac_ext <<EOF
3250#line 3251 "configure" 3340#line 3341 "configure"
3251#include "confdefs.h" 3341#include "confdefs.h"
3252/* System header to define __stub macros and hopefully few prototypes, 3342/* System header to define __stub macros and hopefully few prototypes,
3253 which can conflict with char malloc_get_state(); below. */ 3343 which can conflict with char malloc_get_state(); below. */
@@ -3270,7 +3360,7 @@ malloc_get_state();
3270 3360
3271; return 0; } 3361; return 0; }
3272EOF 3362EOF
3273if { (eval echo configure:3274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3363if { (eval echo configure:3364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3274 rm -rf conftest* 3364 rm -rf conftest*
3275 eval "ac_cv_func_malloc_get_state=yes" 3365 eval "ac_cv_func_malloc_get_state=yes"
3276else 3366else
@@ -3291,12 +3381,12 @@ doug_lea_malloc=no
3291fi 3381fi
3292 3382
3293echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3383echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3294echo "configure:3295: checking for malloc_set_state" >&5 3384echo "configure:3385: checking for malloc_set_state" >&5
3295if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then 3385if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then
3296 echo $ac_n "(cached) $ac_c" 1>&6 3386 echo $ac_n "(cached) $ac_c" 1>&6
3297else 3387else
3298 cat > conftest.$ac_ext <<EOF 3388 cat > conftest.$ac_ext <<EOF
3299#line 3300 "configure" 3389#line 3390 "configure"
3300#include "confdefs.h" 3390#include "confdefs.h"
3301/* System header to define __stub macros and hopefully few prototypes, 3391/* System header to define __stub macros and hopefully few prototypes,
3302 which can conflict with char malloc_set_state(); below. */ 3392 which can conflict with char malloc_set_state(); below. */
@@ -3319,7 +3409,7 @@ malloc_set_state();
3319 3409
3320; return 0; } 3410; return 0; }
3321EOF 3411EOF
3322if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3412if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3323 rm -rf conftest* 3413 rm -rf conftest*
3324 eval "ac_cv_func_malloc_set_state=yes" 3414 eval "ac_cv_func_malloc_set_state=yes"
3325else 3415else
@@ -3340,19 +3430,19 @@ doug_lea_malloc=no
3340fi 3430fi
3341 3431
3342echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3432echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3343echo "configure:3344: checking whether __after_morecore_hook exists" >&5 3433echo "configure:3434: checking whether __after_morecore_hook exists" >&5
3344if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then 3434if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then
3345 echo $ac_n "(cached) $ac_c" 1>&6 3435 echo $ac_n "(cached) $ac_c" 1>&6
3346else 3436else
3347 cat > conftest.$ac_ext <<EOF 3437 cat > conftest.$ac_ext <<EOF
3348#line 3349 "configure" 3438#line 3439 "configure"
3349#include "confdefs.h" 3439#include "confdefs.h"
3350extern void (* __after_morecore_hook)(); 3440extern void (* __after_morecore_hook)();
3351int main() { 3441int main() {
3352__after_morecore_hook = 0 3442__after_morecore_hook = 0
3353; return 0; } 3443; return 0; }
3354EOF 3444EOF
3355if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3445if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3356 rm -rf conftest* 3446 rm -rf conftest*
3357 emacs_cv_var___after_morecore_hook=yes 3447 emacs_cv_var___after_morecore_hook=yes
3358else 3448else
@@ -3402,7 +3492,7 @@ fi
3402LIBS="$libsrc_libs $LIBS" 3492LIBS="$libsrc_libs $LIBS"
3403 3493
3404echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 3494echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
3405echo "configure:3406: checking for dnet_ntoa in -ldnet" >&5 3495echo "configure:3496: checking for dnet_ntoa in -ldnet" >&5
3406ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 3496ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
3407if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3497if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3408 echo $ac_n "(cached) $ac_c" 1>&6 3498 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3410,7 +3500,7 @@ else
3410 ac_save_LIBS="$LIBS" 3500 ac_save_LIBS="$LIBS"
3411LIBS="-ldnet $LIBS" 3501LIBS="-ldnet $LIBS"
3412cat > conftest.$ac_ext <<EOF 3502cat > conftest.$ac_ext <<EOF
3413#line 3414 "configure" 3503#line 3504 "configure"
3414#include "confdefs.h" 3504#include "confdefs.h"
3415/* Override any gcc2 internal prototype to avoid an error. */ 3505/* Override any gcc2 internal prototype to avoid an error. */
3416/* We use char because int might match the return type of a gcc2 3506/* We use char because int might match the return type of a gcc2
@@ -3421,7 +3511,7 @@ int main() {
3421dnet_ntoa() 3511dnet_ntoa()
3422; return 0; } 3512; return 0; }
3423EOF 3513EOF
3424if { (eval echo configure:3425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3514if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3425 rm -rf conftest* 3515 rm -rf conftest*
3426 eval "ac_cv_lib_$ac_lib_var=yes" 3516 eval "ac_cv_lib_$ac_lib_var=yes"
3427else 3517else
@@ -3450,7 +3540,7 @@ fi
3450 3540
3451 3541
3452echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 3542echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
3453echo "configure:3454: checking for main in -lXbsd" >&5 3543echo "configure:3544: checking for main in -lXbsd" >&5
3454ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 3544ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
3455if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3545if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3456 echo $ac_n "(cached) $ac_c" 1>&6 3546 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3458,14 +3548,14 @@ else
3458 ac_save_LIBS="$LIBS" 3548 ac_save_LIBS="$LIBS"
3459LIBS="-lXbsd $LIBS" 3549LIBS="-lXbsd $LIBS"
3460cat > conftest.$ac_ext <<EOF 3550cat > conftest.$ac_ext <<EOF
3461#line 3462 "configure" 3551#line 3552 "configure"
3462#include "confdefs.h" 3552#include "confdefs.h"
3463 3553
3464int main() { 3554int main() {
3465main() 3555main()
3466; return 0; } 3556; return 0; }
3467EOF 3557EOF
3468if { (eval echo configure:3469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3558if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3469 rm -rf conftest* 3559 rm -rf conftest*
3470 eval "ac_cv_lib_$ac_lib_var=yes" 3560 eval "ac_cv_lib_$ac_lib_var=yes"
3471else 3561else
@@ -3487,7 +3577,7 @@ fi
3487 3577
3488 3578
3489echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 3579echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
3490echo "configure:3491: checking for cma_open in -lpthreads" >&5 3580echo "configure:3581: checking for cma_open in -lpthreads" >&5
3491ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 3581ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
3492if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3582if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3493 echo $ac_n "(cached) $ac_c" 1>&6 3583 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3495,7 +3585,7 @@ else
3495 ac_save_LIBS="$LIBS" 3585 ac_save_LIBS="$LIBS"
3496LIBS="-lpthreads $LIBS" 3586LIBS="-lpthreads $LIBS"
3497cat > conftest.$ac_ext <<EOF 3587cat > conftest.$ac_ext <<EOF
3498#line 3499 "configure" 3588#line 3589 "configure"
3499#include "confdefs.h" 3589#include "confdefs.h"
3500/* Override any gcc2 internal prototype to avoid an error. */ 3590/* Override any gcc2 internal prototype to avoid an error. */
3501/* We use char because int might match the return type of a gcc2 3591/* We use char because int might match the return type of a gcc2
@@ -3506,7 +3596,7 @@ int main() {
3506cma_open() 3596cma_open()
3507; return 0; } 3597; return 0; }
3508EOF 3598EOF
3509if { (eval echo configure:3510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3599if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3510 rm -rf conftest* 3600 rm -rf conftest*
3511 eval "ac_cv_lib_$ac_lib_var=yes" 3601 eval "ac_cv_lib_$ac_lib_var=yes"
3512else 3602else
@@ -3535,7 +3625,7 @@ fi
3535 3625
3536 3626
3537echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 3627echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6
3538echo "configure:3539: checking for XFree86 in /usr/X386" >&5 3628echo "configure:3629: checking for XFree86 in /usr/X386" >&5
3539if test -d /usr/X386/include; then 3629if test -d /usr/X386/include; then
3540 HAVE_XFREE386=yes 3630 HAVE_XFREE386=yes
3541 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} 3631 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
@@ -3564,16 +3654,16 @@ if test "${HAVE_X11}" = "yes"; then
3564 3654
3565 if test "${opsys}" = "gnu-linux"; then 3655 if test "${opsys}" = "gnu-linux"; then
3566 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3656 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3567echo "configure:3568: checking whether X on GNU/Linux needs -b to link" >&5 3657echo "configure:3658: checking whether X on GNU/Linux needs -b to link" >&5
3568 cat > conftest.$ac_ext <<EOF 3658 cat > conftest.$ac_ext <<EOF
3569#line 3570 "configure" 3659#line 3660 "configure"
3570#include "confdefs.h" 3660#include "confdefs.h"
3571 3661
3572int main() { 3662int main() {
3573XOpenDisplay ("foo"); 3663XOpenDisplay ("foo");
3574; return 0; } 3664; return 0; }
3575EOF 3665EOF
3576if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3666if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3577 rm -rf conftest* 3667 rm -rf conftest*
3578 xlinux_first_failure=no 3668 xlinux_first_failure=no
3579else 3669else
@@ -3593,14 +3683,14 @@ rm -f conftest*
3593 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3683 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3594 LIBS="$LIBS -b i486-linuxaout" 3684 LIBS="$LIBS -b i486-linuxaout"
3595 cat > conftest.$ac_ext <<EOF 3685 cat > conftest.$ac_ext <<EOF
3596#line 3597 "configure" 3686#line 3687 "configure"
3597#include "confdefs.h" 3687#include "confdefs.h"
3598 3688
3599int main() { 3689int main() {
3600XOpenDisplay ("foo"); 3690XOpenDisplay ("foo");
3601; return 0; } 3691; return 0; }
3602EOF 3692EOF
3603if { (eval echo configure:3604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3693if { (eval echo configure:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3604 rm -rf conftest* 3694 rm -rf conftest*
3605 xlinux_second_failure=no 3695 xlinux_second_failure=no
3606else 3696else
@@ -3630,12 +3720,12 @@ rm -f conftest*
3630XScreenNumberOfScreen XSetWMProtocols 3720XScreenNumberOfScreen XSetWMProtocols
3631do 3721do
3632echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3722echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3633echo "configure:3634: checking for $ac_func" >&5 3723echo "configure:3724: checking for $ac_func" >&5
3634if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3724if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3635 echo $ac_n "(cached) $ac_c" 1>&6 3725 echo $ac_n "(cached) $ac_c" 1>&6
3636else 3726else
3637 cat > conftest.$ac_ext <<EOF 3727 cat > conftest.$ac_ext <<EOF
3638#line 3639 "configure" 3728#line 3729 "configure"
3639#include "confdefs.h" 3729#include "confdefs.h"
3640/* System header to define __stub macros and hopefully few prototypes, 3730/* System header to define __stub macros and hopefully few prototypes,
3641 which can conflict with char $ac_func(); below. */ 3731 which can conflict with char $ac_func(); below. */
@@ -3658,7 +3748,7 @@ $ac_func();
3658 3748
3659; return 0; } 3749; return 0; }
3660EOF 3750EOF
3661if { (eval echo configure:3662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3751if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3662 rm -rf conftest* 3752 rm -rf conftest*
3663 eval "ac_cv_func_$ac_func=yes" 3753 eval "ac_cv_func_$ac_func=yes"
3664else 3754else
@@ -3686,12 +3776,12 @@ fi
3686 3776
3687if test "${window_system}" = "x11"; then 3777if test "${window_system}" = "x11"; then
3688 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 3778 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
3689echo "configure:3690: checking X11 version 6" >&5 3779echo "configure:3780: checking X11 version 6" >&5
3690 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 3780 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
3691 echo $ac_n "(cached) $ac_c" 1>&6 3781 echo $ac_n "(cached) $ac_c" 1>&6
3692else 3782else
3693 cat > conftest.$ac_ext <<EOF 3783 cat > conftest.$ac_ext <<EOF
3694#line 3695 "configure" 3784#line 3785 "configure"
3695#include "confdefs.h" 3785#include "confdefs.h"
3696#include <X11/Xlib.h> 3786#include <X11/Xlib.h>
3697int main() { 3787int main() {
@@ -3701,7 +3791,7 @@ fail;
3701 3791
3702; return 0; } 3792; return 0; }
3703EOF 3793EOF
3704if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3794if { (eval echo configure:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3705 rm -rf conftest* 3795 rm -rf conftest*
3706 emacs_cv_x11_version_6=yes 3796 emacs_cv_x11_version_6=yes
3707else 3797else
@@ -3726,12 +3816,12 @@ fi
3726 3816
3727if test "${window_system}" = "x11"; then 3817if test "${window_system}" = "x11"; then
3728 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 3818 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
3729echo "configure:3730: checking X11 version 5" >&5 3819echo "configure:3820: checking X11 version 5" >&5
3730 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 3820 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
3731 echo $ac_n "(cached) $ac_c" 1>&6 3821 echo $ac_n "(cached) $ac_c" 1>&6
3732else 3822else
3733 cat > conftest.$ac_ext <<EOF 3823 cat > conftest.$ac_ext <<EOF
3734#line 3735 "configure" 3824#line 3825 "configure"
3735#include "confdefs.h" 3825#include "confdefs.h"
3736#include <X11/Xlib.h> 3826#include <X11/Xlib.h>
3737int main() { 3827int main() {
@@ -3741,7 +3831,7 @@ fail;
3741 3831
3742; return 0; } 3832; return 0; }
3743EOF 3833EOF
3744if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3834if { (eval echo configure:3835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3745 rm -rf conftest* 3835 rm -rf conftest*
3746 emacs_cv_x11_version_5=yes 3836 emacs_cv_x11_version_5=yes
3747else 3837else
@@ -3769,12 +3859,12 @@ fi
3769if test x"${USE_X_TOOLKIT}" = xmaybe; then 3859if test x"${USE_X_TOOLKIT}" = xmaybe; then
3770 if test x"${HAVE_X11R5}" = xyes; then 3860 if test x"${HAVE_X11R5}" = xyes; then
3771 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 3861 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
3772echo "configure:3773: checking X11 version 5 with Xaw" >&5 3862echo "configure:3863: checking X11 version 5 with Xaw" >&5
3773 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 3863 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
3774 echo $ac_n "(cached) $ac_c" 1>&6 3864 echo $ac_n "(cached) $ac_c" 1>&6
3775else 3865else
3776 cat > conftest.$ac_ext <<EOF 3866 cat > conftest.$ac_ext <<EOF
3777#line 3778 "configure" 3867#line 3868 "configure"
3778#include "confdefs.h" 3868#include "confdefs.h"
3779 3869
3780#include <X11/Intrinsic.h> 3870#include <X11/Intrinsic.h>
@@ -3783,7 +3873,7 @@ int main() {
3783 3873
3784; return 0; } 3874; return 0; }
3785EOF 3875EOF
3786if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3876if { (eval echo configure:3877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3787 rm -rf conftest* 3877 rm -rf conftest*
3788 emacs_cv_x11_version_5_with_xaw=yes 3878 emacs_cv_x11_version_5_with_xaw=yes
3789else 3879else
@@ -3811,12 +3901,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
3811 3901
3812if test "${USE_X_TOOLKIT}" != "none"; then 3902if test "${USE_X_TOOLKIT}" != "none"; then
3813 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 3903 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
3814echo "configure:3815: checking X11 toolkit version" >&5 3904echo "configure:3905: checking X11 toolkit version" >&5
3815 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 3905 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
3816 echo $ac_n "(cached) $ac_c" 1>&6 3906 echo $ac_n "(cached) $ac_c" 1>&6
3817else 3907else
3818 cat > conftest.$ac_ext <<EOF 3908 cat > conftest.$ac_ext <<EOF
3819#line 3820 "configure" 3909#line 3910 "configure"
3820#include "confdefs.h" 3910#include "confdefs.h"
3821#include <X11/Intrinsic.h> 3911#include <X11/Intrinsic.h>
3822int main() { 3912int main() {
@@ -3826,7 +3916,7 @@ fail;
3826 3916
3827; return 0; } 3917; return 0; }
3828EOF 3918EOF
3829if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3919if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3830 rm -rf conftest* 3920 rm -rf conftest*
3831 emacs_cv_x11_toolkit_version_6=yes 3921 emacs_cv_x11_toolkit_version_6=yes
3832else 3922else
@@ -3856,7 +3946,7 @@ EOF
3856 LIBS="-lXt $LIBS" 3946 LIBS="-lXt $LIBS"
3857 fi 3947 fi
3858 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 3948 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
3859echo "configure:3860: checking for XmuConvertStandardSelection in -lXmu" >&5 3949echo "configure:3950: checking for XmuConvertStandardSelection in -lXmu" >&5
3860ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 3950ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
3861if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3951if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3862 echo $ac_n "(cached) $ac_c" 1>&6 3952 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3864,7 +3954,7 @@ else
3864 ac_save_LIBS="$LIBS" 3954 ac_save_LIBS="$LIBS"
3865LIBS="-lXmu $LIBS" 3955LIBS="-lXmu $LIBS"
3866cat > conftest.$ac_ext <<EOF 3956cat > conftest.$ac_ext <<EOF
3867#line 3868 "configure" 3957#line 3958 "configure"
3868#include "confdefs.h" 3958#include "confdefs.h"
3869/* Override any gcc2 internal prototype to avoid an error. */ 3959/* Override any gcc2 internal prototype to avoid an error. */
3870/* We use char because int might match the return type of a gcc2 3960/* We use char because int might match the return type of a gcc2
@@ -3875,7 +3965,7 @@ int main() {
3875XmuConvertStandardSelection() 3965XmuConvertStandardSelection()
3876; return 0; } 3966; return 0; }
3877EOF 3967EOF
3878if { (eval echo configure:3879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3968if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3879 rm -rf conftest* 3969 rm -rf conftest*
3880 eval "ac_cv_lib_$ac_lib_var=yes" 3970 eval "ac_cv_lib_$ac_lib_var=yes"
3881else 3971else
@@ -3907,12 +3997,12 @@ fi
3907 3997
3908if test "${USE_X_TOOLKIT}" = "MOTIF"; then 3998if test "${USE_X_TOOLKIT}" = "MOTIF"; then
3909 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 3999 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
3910echo "configure:3911: checking for Motif version 2.1" >&5 4000echo "configure:4001: checking for Motif version 2.1" >&5
3911if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4001if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
3912 echo $ac_n "(cached) $ac_c" 1>&6 4002 echo $ac_n "(cached) $ac_c" 1>&6
3913else 4003else
3914 cat > conftest.$ac_ext <<EOF 4004 cat > conftest.$ac_ext <<EOF
3915#line 3916 "configure" 4005#line 4006 "configure"
3916#include "confdefs.h" 4006#include "confdefs.h"
3917#include <Xm/Xm.h> 4007#include <Xm/Xm.h>
3918int main() { 4008int main() {
@@ -3923,7 +4013,7 @@ Motif version prior to 2.1.
3923#endif 4013#endif
3924; return 0; } 4014; return 0; }
3925EOF 4015EOF
3926if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4016if { (eval echo configure:4017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3927 rm -rf conftest* 4017 rm -rf conftest*
3928 emacs_cv_motif_version_2_1=yes 4018 emacs_cv_motif_version_2_1=yes
3929else 4019else
@@ -3943,7 +4033,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
3943EOF 4033EOF
3944 4034
3945 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4035 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
3946echo "configure:3947: checking for XpCreateContext in -lXp" >&5 4036echo "configure:4037: checking for XpCreateContext in -lXp" >&5
3947ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4037ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
3948if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4038if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3949 echo $ac_n "(cached) $ac_c" 1>&6 4039 echo $ac_n "(cached) $ac_c" 1>&6
@@ -3951,7 +4041,7 @@ else
3951 ac_save_LIBS="$LIBS" 4041 ac_save_LIBS="$LIBS"
3952LIBS="-lXp $LIBS" 4042LIBS="-lXp $LIBS"
3953cat > conftest.$ac_ext <<EOF 4043cat > conftest.$ac_ext <<EOF
3954#line 3955 "configure" 4044#line 4045 "configure"
3955#include "confdefs.h" 4045#include "confdefs.h"
3956/* Override any gcc2 internal prototype to avoid an error. */ 4046/* Override any gcc2 internal prototype to avoid an error. */
3957/* We use char because int might match the return type of a gcc2 4047/* We use char because int might match the return type of a gcc2
@@ -3962,7 +4052,7 @@ int main() {
3962XpCreateContext() 4052XpCreateContext()
3963; return 0; } 4053; return 0; }
3964EOF 4054EOF
3965if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4055if { (eval echo configure:4056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3966 rm -rf conftest* 4056 rm -rf conftest*
3967 eval "ac_cv_lib_$ac_lib_var=yes" 4057 eval "ac_cv_lib_$ac_lib_var=yes"
3968else 4058else
@@ -4000,18 +4090,18 @@ if test "${HAVE_X11}" = "yes"; then
4000 CFLAGS="${LD_SWITCH_X_SITE}" 4090 CFLAGS="${LD_SWITCH_X_SITE}"
4001 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4091 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4002echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4092echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4003echo "configure:4004: checking for X11/Xaw3d/Scrollbar.h" >&5 4093echo "configure:4094: checking for X11/Xaw3d/Scrollbar.h" >&5
4004if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4094if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4005 echo $ac_n "(cached) $ac_c" 1>&6 4095 echo $ac_n "(cached) $ac_c" 1>&6
4006else 4096else
4007 cat > conftest.$ac_ext <<EOF 4097 cat > conftest.$ac_ext <<EOF
4008#line 4009 "configure" 4098#line 4099 "configure"
4009#include "confdefs.h" 4099#include "confdefs.h"
4010#include <X11/Xaw3d/Scrollbar.h> 4100#include <X11/Xaw3d/Scrollbar.h>
4011EOF 4101EOF
4012ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4102ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4013{ (eval echo configure:4014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4103{ (eval echo configure:4104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4014ac_err=`grep -v '^ *+' conftest.out` 4104ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4015if test -z "$ac_err"; then 4105if test -z "$ac_err"; then
4016 rm -rf conftest* 4106 rm -rf conftest*
4017 eval "ac_cv_header_$ac_safe=yes" 4107 eval "ac_cv_header_$ac_safe=yes"
@@ -4027,7 +4117,7 @@ fi
4027if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4117if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4028 echo "$ac_t""yes" 1>&6 4118 echo "$ac_t""yes" 1>&6
4029 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4119 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4030echo "configure:4031: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4120echo "configure:4121: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4031ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4121ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4032if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4122if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4033 echo $ac_n "(cached) $ac_c" 1>&6 4123 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4035,7 +4125,7 @@ else
4035 ac_save_LIBS="$LIBS" 4125 ac_save_LIBS="$LIBS"
4036LIBS="-lXaw3d -lX11 $LIBS" 4126LIBS="-lXaw3d -lX11 $LIBS"
4037cat > conftest.$ac_ext <<EOF 4127cat > conftest.$ac_ext <<EOF
4038#line 4039 "configure" 4128#line 4129 "configure"
4039#include "confdefs.h" 4129#include "confdefs.h"
4040/* Override any gcc2 internal prototype to avoid an error. */ 4130/* Override any gcc2 internal prototype to avoid an error. */
4041/* We use char because int might match the return type of a gcc2 4131/* We use char because int might match the return type of a gcc2
@@ -4046,7 +4136,7 @@ int main() {
4046XawScrollbarSetThumb() 4136XawScrollbarSetThumb()
4047; return 0; } 4137; return 0; }
4048EOF 4138EOF
4049if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4139if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4050 rm -rf conftest* 4140 rm -rf conftest*
4051 eval "ac_cv_lib_$ac_lib_var=yes" 4141 eval "ac_cv_lib_$ac_lib_var=yes"
4052else 4142else
@@ -4110,18 +4200,18 @@ if test "${HAVE_X11}" = "yes"; then
4110 CFLAGS="${LD_SWITCH_X_SITE}" 4200 CFLAGS="${LD_SWITCH_X_SITE}"
4111 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4201 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4112echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4202echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4113echo "configure:4114: checking for X11/xpm.h" >&5 4203echo "configure:4204: checking for X11/xpm.h" >&5
4114if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4204if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4115 echo $ac_n "(cached) $ac_c" 1>&6 4205 echo $ac_n "(cached) $ac_c" 1>&6
4116else 4206else
4117 cat > conftest.$ac_ext <<EOF 4207 cat > conftest.$ac_ext <<EOF
4118#line 4119 "configure" 4208#line 4209 "configure"
4119#include "confdefs.h" 4209#include "confdefs.h"
4120#include <X11/xpm.h> 4210#include <X11/xpm.h>
4121EOF 4211EOF
4122ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4212ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4123{ (eval echo configure:4124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4213{ (eval echo configure:4214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4124ac_err=`grep -v '^ *+' conftest.out` 4214ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4125if test -z "$ac_err"; then 4215if test -z "$ac_err"; then
4126 rm -rf conftest* 4216 rm -rf conftest*
4127 eval "ac_cv_header_$ac_safe=yes" 4217 eval "ac_cv_header_$ac_safe=yes"
@@ -4137,7 +4227,7 @@ fi
4137if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4227if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4138 echo "$ac_t""yes" 1>&6 4228 echo "$ac_t""yes" 1>&6
4139 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4229 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4140echo "configure:4141: checking for XpmReadFileToPixmap in -lXpm" >&5 4230echo "configure:4231: checking for XpmReadFileToPixmap in -lXpm" >&5
4141ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4231ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4142if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4232if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4143 echo $ac_n "(cached) $ac_c" 1>&6 4233 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4145,7 +4235,7 @@ else
4145 ac_save_LIBS="$LIBS" 4235 ac_save_LIBS="$LIBS"
4146LIBS="-lXpm -lX11 $LIBS" 4236LIBS="-lXpm -lX11 $LIBS"
4147cat > conftest.$ac_ext <<EOF 4237cat > conftest.$ac_ext <<EOF
4148#line 4149 "configure" 4238#line 4239 "configure"
4149#include "confdefs.h" 4239#include "confdefs.h"
4150/* Override any gcc2 internal prototype to avoid an error. */ 4240/* Override any gcc2 internal prototype to avoid an error. */
4151/* We use char because int might match the return type of a gcc2 4241/* We use char because int might match the return type of a gcc2
@@ -4156,7 +4246,7 @@ int main() {
4156XpmReadFileToPixmap() 4246XpmReadFileToPixmap()
4157; return 0; } 4247; return 0; }
4158EOF 4248EOF
4159if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4249if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4160 rm -rf conftest* 4250 rm -rf conftest*
4161 eval "ac_cv_lib_$ac_lib_var=yes" 4251 eval "ac_cv_lib_$ac_lib_var=yes"
4162else 4252else
@@ -4198,7 +4288,7 @@ if test "${HAVE_X11}" = "yes"; then
4198 old_c_flags="${CFLAGS}" 4288 old_c_flags="${CFLAGS}"
4199 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4289 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4200 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4290 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4201echo "configure:4202: checking for jpeg_destroy_compress in -ljpeg" >&5 4291echo "configure:4292: checking for jpeg_destroy_compress in -ljpeg" >&5
4202ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4292ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4203if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4293if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4204 echo $ac_n "(cached) $ac_c" 1>&6 4294 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4206,7 +4296,7 @@ else
4206 ac_save_LIBS="$LIBS" 4296 ac_save_LIBS="$LIBS"
4207LIBS="-ljpeg -lX11 $LIBS" 4297LIBS="-ljpeg -lX11 $LIBS"
4208cat > conftest.$ac_ext <<EOF 4298cat > conftest.$ac_ext <<EOF
4209#line 4210 "configure" 4299#line 4300 "configure"
4210#include "confdefs.h" 4300#include "confdefs.h"
4211/* Override any gcc2 internal prototype to avoid an error. */ 4301/* Override any gcc2 internal prototype to avoid an error. */
4212/* We use char because int might match the return type of a gcc2 4302/* We use char because int might match the return type of a gcc2
@@ -4217,7 +4307,7 @@ int main() {
4217jpeg_destroy_compress() 4307jpeg_destroy_compress()
4218; return 0; } 4308; return 0; }
4219EOF 4309EOF
4220if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4310if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4221 rm -rf conftest* 4311 rm -rf conftest*
4222 eval "ac_cv_lib_$ac_lib_var=yes" 4312 eval "ac_cv_lib_$ac_lib_var=yes"
4223else 4313else
@@ -4256,18 +4346,18 @@ if test "${HAVE_X11}" = "yes"; then
4256 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4346 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4257 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4347 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4258echo $ac_n "checking for png.h""... $ac_c" 1>&6 4348echo $ac_n "checking for png.h""... $ac_c" 1>&6
4259echo "configure:4260: checking for png.h" >&5 4349echo "configure:4350: checking for png.h" >&5
4260if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4350if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4261 echo $ac_n "(cached) $ac_c" 1>&6 4351 echo $ac_n "(cached) $ac_c" 1>&6
4262else 4352else
4263 cat > conftest.$ac_ext <<EOF 4353 cat > conftest.$ac_ext <<EOF
4264#line 4265 "configure" 4354#line 4355 "configure"
4265#include "confdefs.h" 4355#include "confdefs.h"
4266#include <png.h> 4356#include <png.h>
4267EOF 4357EOF
4268ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4358ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4269{ (eval echo configure:4270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4359{ (eval echo configure:4360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4270ac_err=`grep -v '^ *+' conftest.out` 4360ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4271if test -z "$ac_err"; then 4361if test -z "$ac_err"; then
4272 rm -rf conftest* 4362 rm -rf conftest*
4273 eval "ac_cv_header_$ac_safe=yes" 4363 eval "ac_cv_header_$ac_safe=yes"
@@ -4283,7 +4373,7 @@ fi
4283if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4373if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4284 echo "$ac_t""yes" 1>&6 4374 echo "$ac_t""yes" 1>&6
4285 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4375 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4286echo "configure:4287: checking for png_set_expand in -lpng" >&5 4376echo "configure:4377: checking for png_set_expand in -lpng" >&5
4287ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4377ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4288if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4378if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4289 echo $ac_n "(cached) $ac_c" 1>&6 4379 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4291,7 +4381,7 @@ else
4291 ac_save_LIBS="$LIBS" 4381 ac_save_LIBS="$LIBS"
4292LIBS="-lpng -lX11 -lz -lm $LIBS" 4382LIBS="-lpng -lX11 -lz -lm $LIBS"
4293cat > conftest.$ac_ext <<EOF 4383cat > conftest.$ac_ext <<EOF
4294#line 4295 "configure" 4384#line 4385 "configure"
4295#include "confdefs.h" 4385#include "confdefs.h"
4296/* Override any gcc2 internal prototype to avoid an error. */ 4386/* Override any gcc2 internal prototype to avoid an error. */
4297/* We use char because int might match the return type of a gcc2 4387/* We use char because int might match the return type of a gcc2
@@ -4302,7 +4392,7 @@ int main() {
4302png_set_expand() 4392png_set_expand()
4303; return 0; } 4393; return 0; }
4304EOF 4394EOF
4305if { (eval echo configure:4306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4395if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4306 rm -rf conftest* 4396 rm -rf conftest*
4307 eval "ac_cv_lib_$ac_lib_var=yes" 4397 eval "ac_cv_lib_$ac_lib_var=yes"
4308else 4398else
@@ -4345,18 +4435,18 @@ if test "${HAVE_X11}" = "yes"; then
4345 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4435 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4346 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4436 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4347echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4437echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4348echo "configure:4349: checking for tiffio.h" >&5 4438echo "configure:4439: checking for tiffio.h" >&5
4349if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4439if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4350 echo $ac_n "(cached) $ac_c" 1>&6 4440 echo $ac_n "(cached) $ac_c" 1>&6
4351else 4441else
4352 cat > conftest.$ac_ext <<EOF 4442 cat > conftest.$ac_ext <<EOF
4353#line 4354 "configure" 4443#line 4444 "configure"
4354#include "confdefs.h" 4444#include "confdefs.h"
4355#include <tiffio.h> 4445#include <tiffio.h>
4356EOF 4446EOF
4357ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4447ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4358{ (eval echo configure:4359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4448{ (eval echo configure:4449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4359ac_err=`grep -v '^ *+' conftest.out` 4449ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4360if test -z "$ac_err"; then 4450if test -z "$ac_err"; then
4361 rm -rf conftest* 4451 rm -rf conftest*
4362 eval "ac_cv_header_$ac_safe=yes" 4452 eval "ac_cv_header_$ac_safe=yes"
@@ -4372,7 +4462,7 @@ fi
4372if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4462if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4373 echo "$ac_t""yes" 1>&6 4463 echo "$ac_t""yes" 1>&6
4374 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4464 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4375echo "configure:4376: checking for TIFFGetVersion in -ltiff" >&5 4465echo "configure:4466: checking for TIFFGetVersion in -ltiff" >&5
4376ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4466ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4377if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4467if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4378 echo $ac_n "(cached) $ac_c" 1>&6 4468 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4380,7 +4470,7 @@ else
4380 ac_save_LIBS="$LIBS" 4470 ac_save_LIBS="$LIBS"
4381LIBS="-ltiff -lX11 -lm $LIBS" 4471LIBS="-ltiff -lX11 -lm $LIBS"
4382cat > conftest.$ac_ext <<EOF 4472cat > conftest.$ac_ext <<EOF
4383#line 4384 "configure" 4473#line 4474 "configure"
4384#include "confdefs.h" 4474#include "confdefs.h"
4385/* Override any gcc2 internal prototype to avoid an error. */ 4475/* Override any gcc2 internal prototype to avoid an error. */
4386/* We use char because int might match the return type of a gcc2 4476/* We use char because int might match the return type of a gcc2
@@ -4391,7 +4481,7 @@ int main() {
4391TIFFGetVersion() 4481TIFFGetVersion()
4392; return 0; } 4482; return 0; }
4393EOF 4483EOF
4394if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4484if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4395 rm -rf conftest* 4485 rm -rf conftest*
4396 eval "ac_cv_lib_$ac_lib_var=yes" 4486 eval "ac_cv_lib_$ac_lib_var=yes"
4397else 4487else
@@ -4434,18 +4524,18 @@ if test "${HAVE_X11}" = "yes"; then
4434 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4524 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4435 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4525 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4436echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4526echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4437echo "configure:4438: checking for gif_lib.h" >&5 4527echo "configure:4528: checking for gif_lib.h" >&5
4438if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4528if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4439 echo $ac_n "(cached) $ac_c" 1>&6 4529 echo $ac_n "(cached) $ac_c" 1>&6
4440else 4530else
4441 cat > conftest.$ac_ext <<EOF 4531 cat > conftest.$ac_ext <<EOF
4442#line 4443 "configure" 4532#line 4533 "configure"
4443#include "confdefs.h" 4533#include "confdefs.h"
4444#include <gif_lib.h> 4534#include <gif_lib.h>
4445EOF 4535EOF
4446ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4536ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4447{ (eval echo configure:4448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4537{ (eval echo configure:4538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4448ac_err=`grep -v '^ *+' conftest.out` 4538ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4449if test -z "$ac_err"; then 4539if test -z "$ac_err"; then
4450 rm -rf conftest* 4540 rm -rf conftest*
4451 eval "ac_cv_header_$ac_safe=yes" 4541 eval "ac_cv_header_$ac_safe=yes"
@@ -4461,7 +4551,7 @@ fi
4461if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4551if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4462 echo "$ac_t""yes" 1>&6 4552 echo "$ac_t""yes" 1>&6
4463 echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6 4553 echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6
4464echo "configure:4465: checking for DGifOpenFileName in -lungif" >&5 4554echo "configure:4555: checking for DGifOpenFileName in -lungif" >&5
4465ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'` 4555ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'`
4466if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4556if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4467 echo $ac_n "(cached) $ac_c" 1>&6 4557 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4469,7 +4559,7 @@ else
4469 ac_save_LIBS="$LIBS" 4559 ac_save_LIBS="$LIBS"
4470LIBS="-lungif -lX11 $LIBS" 4560LIBS="-lungif -lX11 $LIBS"
4471cat > conftest.$ac_ext <<EOF 4561cat > conftest.$ac_ext <<EOF
4472#line 4473 "configure" 4562#line 4563 "configure"
4473#include "confdefs.h" 4563#include "confdefs.h"
4474/* Override any gcc2 internal prototype to avoid an error. */ 4564/* Override any gcc2 internal prototype to avoid an error. */
4475/* We use char because int might match the return type of a gcc2 4565/* We use char because int might match the return type of a gcc2
@@ -4480,7 +4570,7 @@ int main() {
4480DGifOpenFileName() 4570DGifOpenFileName()
4481; return 0; } 4571; return 0; }
4482EOF 4572EOF
4483if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4573if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4484 rm -rf conftest* 4574 rm -rf conftest*
4485 eval "ac_cv_lib_$ac_lib_var=yes" 4575 eval "ac_cv_lib_$ac_lib_var=yes"
4486else 4576else
@@ -4517,19 +4607,19 @@ fi
4517 4607
4518# If netdb.h doesn't declare h_errno, we must declare it by hand. 4608# If netdb.h doesn't declare h_errno, we must declare it by hand.
4519echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4609echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4520echo "configure:4521: checking whether netdb declares h_errno" >&5 4610echo "configure:4611: checking whether netdb declares h_errno" >&5
4521if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4611if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4522 echo $ac_n "(cached) $ac_c" 1>&6 4612 echo $ac_n "(cached) $ac_c" 1>&6
4523else 4613else
4524 cat > conftest.$ac_ext <<EOF 4614 cat > conftest.$ac_ext <<EOF
4525#line 4526 "configure" 4615#line 4616 "configure"
4526#include "confdefs.h" 4616#include "confdefs.h"
4527#include <netdb.h> 4617#include <netdb.h>
4528int main() { 4618int main() {
4529return h_errno; 4619return h_errno;
4530; return 0; } 4620; return 0; }
4531EOF 4621EOF
4532if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4622if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4533 rm -rf conftest* 4623 rm -rf conftest*
4534 emacs_cv_netdb_declares_h_errno=yes 4624 emacs_cv_netdb_declares_h_errno=yes
4535else 4625else
@@ -4552,19 +4642,19 @@ fi
4552# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4642# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4553# for constant arguments. Useless! 4643# for constant arguments. Useless!
4554echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4644echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4555echo "configure:4556: checking for working alloca.h" >&5 4645echo "configure:4646: checking for working alloca.h" >&5
4556if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4646if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4557 echo $ac_n "(cached) $ac_c" 1>&6 4647 echo $ac_n "(cached) $ac_c" 1>&6
4558else 4648else
4559 cat > conftest.$ac_ext <<EOF 4649 cat > conftest.$ac_ext <<EOF
4560#line 4561 "configure" 4650#line 4651 "configure"
4561#include "confdefs.h" 4651#include "confdefs.h"
4562#include <alloca.h> 4652#include <alloca.h>
4563int main() { 4653int main() {
4564char *p = alloca(2 * sizeof(int)); 4654char *p = alloca(2 * sizeof(int));
4565; return 0; } 4655; return 0; }
4566EOF 4656EOF
4567if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4657if { (eval echo configure:4658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4568 rm -rf conftest* 4658 rm -rf conftest*
4569 ac_cv_header_alloca_h=yes 4659 ac_cv_header_alloca_h=yes
4570else 4660else
@@ -4585,25 +4675,30 @@ EOF
4585fi 4675fi
4586 4676
4587echo $ac_n "checking for alloca""... $ac_c" 1>&6 4677echo $ac_n "checking for alloca""... $ac_c" 1>&6
4588echo "configure:4589: checking for alloca" >&5 4678echo "configure:4679: checking for alloca" >&5
4589if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4679if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4590 echo $ac_n "(cached) $ac_c" 1>&6 4680 echo $ac_n "(cached) $ac_c" 1>&6
4591else 4681else
4592 cat > conftest.$ac_ext <<EOF 4682 cat > conftest.$ac_ext <<EOF
4593#line 4594 "configure" 4683#line 4684 "configure"
4594#include "confdefs.h" 4684#include "confdefs.h"
4595 4685
4596#ifdef __GNUC__ 4686#ifdef __GNUC__
4597# define alloca __builtin_alloca 4687# define alloca __builtin_alloca
4598#else 4688#else
4599# if HAVE_ALLOCA_H 4689# ifdef _MSC_VER
4600# include <alloca.h> 4690# include <malloc.h>
4691# define alloca _alloca
4601# else 4692# else
4602# ifdef _AIX 4693# if HAVE_ALLOCA_H
4603 #pragma alloca 4694# include <alloca.h>
4604# else 4695# else
4605# ifndef alloca /* predefined by HP cc +Olibcalls */ 4696# ifdef _AIX
4697 #pragma alloca
4698# else
4699# ifndef alloca /* predefined by HP cc +Olibcalls */
4606char *alloca (); 4700char *alloca ();
4701# endif
4607# endif 4702# endif
4608# endif 4703# endif
4609# endif 4704# endif
@@ -4613,7 +4708,7 @@ int main() {
4613char *p = (char *) alloca(1); 4708char *p = (char *) alloca(1);
4614; return 0; } 4709; return 0; }
4615EOF 4710EOF
4616if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4711if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4617 rm -rf conftest* 4712 rm -rf conftest*
4618 ac_cv_func_alloca_works=yes 4713 ac_cv_func_alloca_works=yes
4619else 4714else
@@ -4638,19 +4733,19 @@ if test $ac_cv_func_alloca_works = no; then
4638 # that cause trouble. Some versions do not even contain alloca or 4733 # that cause trouble. Some versions do not even contain alloca or
4639 # contain a buggy version. If you still want to use their alloca, 4734 # contain a buggy version. If you still want to use their alloca,
4640 # use ar to extract alloca.o from them instead of compiling alloca.c. 4735 # use ar to extract alloca.o from them instead of compiling alloca.c.
4641 ALLOCA=alloca.o 4736 ALLOCA=alloca.${ac_objext}
4642 cat >> confdefs.h <<\EOF 4737 cat >> confdefs.h <<\EOF
4643#define C_ALLOCA 1 4738#define C_ALLOCA 1
4644EOF 4739EOF
4645 4740
4646 4741
4647echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4742echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4648echo "configure:4649: checking whether alloca needs Cray hooks" >&5 4743echo "configure:4744: checking whether alloca needs Cray hooks" >&5
4649if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4744if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4650 echo $ac_n "(cached) $ac_c" 1>&6 4745 echo $ac_n "(cached) $ac_c" 1>&6
4651else 4746else
4652 cat > conftest.$ac_ext <<EOF 4747 cat > conftest.$ac_ext <<EOF
4653#line 4654 "configure" 4748#line 4749 "configure"
4654#include "confdefs.h" 4749#include "confdefs.h"
4655#if defined(CRAY) && ! defined(CRAY2) 4750#if defined(CRAY) && ! defined(CRAY2)
4656webecray 4751webecray
@@ -4675,12 +4770,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
4675if test $ac_cv_os_cray = yes; then 4770if test $ac_cv_os_cray = yes; then
4676for ac_func in _getb67 GETB67 getb67; do 4771for ac_func in _getb67 GETB67 getb67; do
4677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4678echo "configure:4679: checking for $ac_func" >&5 4773echo "configure:4774: checking for $ac_func" >&5
4679if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4774if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4680 echo $ac_n "(cached) $ac_c" 1>&6 4775 echo $ac_n "(cached) $ac_c" 1>&6
4681else 4776else
4682 cat > conftest.$ac_ext <<EOF 4777 cat > conftest.$ac_ext <<EOF
4683#line 4684 "configure" 4778#line 4779 "configure"
4684#include "confdefs.h" 4779#include "confdefs.h"
4685/* System header to define __stub macros and hopefully few prototypes, 4780/* System header to define __stub macros and hopefully few prototypes,
4686 which can conflict with char $ac_func(); below. */ 4781 which can conflict with char $ac_func(); below. */
@@ -4703,7 +4798,7 @@ $ac_func();
4703 4798
4704; return 0; } 4799; return 0; }
4705EOF 4800EOF
4706if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4801if { (eval echo configure:4802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4707 rm -rf conftest* 4802 rm -rf conftest*
4708 eval "ac_cv_func_$ac_func=yes" 4803 eval "ac_cv_func_$ac_func=yes"
4709else 4804else
@@ -4730,7 +4825,7 @@ done
4730fi 4825fi
4731 4826
4732echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4827echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
4733echo "configure:4734: checking stack direction for C alloca" >&5 4828echo "configure:4829: checking stack direction for C alloca" >&5
4734if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4829if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
4735 echo $ac_n "(cached) $ac_c" 1>&6 4830 echo $ac_n "(cached) $ac_c" 1>&6
4736else 4831else
@@ -4738,7 +4833,7 @@ else
4738 ac_cv_c_stack_direction=0 4833 ac_cv_c_stack_direction=0
4739else 4834else
4740 cat > conftest.$ac_ext <<EOF 4835 cat > conftest.$ac_ext <<EOF
4741#line 4742 "configure" 4836#line 4837 "configure"
4742#include "confdefs.h" 4837#include "confdefs.h"
4743find_stack_direction () 4838find_stack_direction ()
4744{ 4839{
@@ -4757,7 +4852,7 @@ main ()
4757 exit (find_stack_direction() < 0); 4852 exit (find_stack_direction() < 0);
4758} 4853}
4759EOF 4854EOF
4760if { (eval echo configure:4761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 4855if { (eval echo configure:4856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4761then 4856then
4762 ac_cv_c_stack_direction=1 4857 ac_cv_c_stack_direction=1
4763else 4858else
@@ -4782,7 +4877,7 @@ fi
4782# fmod, logb, and frexp are found in -lm on most systems. 4877# fmod, logb, and frexp are found in -lm on most systems.
4783# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 4878# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
4784echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 4879echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
4785echo "configure:4786: checking for sqrt in -lm" >&5 4880echo "configure:4881: checking for sqrt in -lm" >&5
4786ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 4881ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
4787if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4882if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4788 echo $ac_n "(cached) $ac_c" 1>&6 4883 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4790,7 +4885,7 @@ else
4790 ac_save_LIBS="$LIBS" 4885 ac_save_LIBS="$LIBS"
4791LIBS="-lm $LIBS" 4886LIBS="-lm $LIBS"
4792cat > conftest.$ac_ext <<EOF 4887cat > conftest.$ac_ext <<EOF
4793#line 4794 "configure" 4888#line 4889 "configure"
4794#include "confdefs.h" 4889#include "confdefs.h"
4795/* Override any gcc2 internal prototype to avoid an error. */ 4890/* Override any gcc2 internal prototype to avoid an error. */
4796/* We use char because int might match the return type of a gcc2 4891/* We use char because int might match the return type of a gcc2
@@ -4801,7 +4896,7 @@ int main() {
4801sqrt() 4896sqrt()
4802; return 0; } 4897; return 0; }
4803EOF 4898EOF
4804if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4899if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4805 rm -rf conftest* 4900 rm -rf conftest*
4806 eval "ac_cv_lib_$ac_lib_var=yes" 4901 eval "ac_cv_lib_$ac_lib_var=yes"
4807else 4902else
@@ -4831,7 +4926,7 @@ fi
4831 4926
4832# Check for mail-locking functions in a "mail" library 4927# Check for mail-locking functions in a "mail" library
4833echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 4928echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
4834echo "configure:4835: checking for maillock in -lmail" >&5 4929echo "configure:4930: checking for maillock in -lmail" >&5
4835ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 4930ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
4836if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4931if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4837 echo $ac_n "(cached) $ac_c" 1>&6 4932 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4839,7 +4934,7 @@ else
4839 ac_save_LIBS="$LIBS" 4934 ac_save_LIBS="$LIBS"
4840LIBS="-lmail $LIBS" 4935LIBS="-lmail $LIBS"
4841cat > conftest.$ac_ext <<EOF 4936cat > conftest.$ac_ext <<EOF
4842#line 4843 "configure" 4937#line 4938 "configure"
4843#include "confdefs.h" 4938#include "confdefs.h"
4844/* Override any gcc2 internal prototype to avoid an error. */ 4939/* Override any gcc2 internal prototype to avoid an error. */
4845/* We use char because int might match the return type of a gcc2 4940/* We use char because int might match the return type of a gcc2
@@ -4850,7 +4945,7 @@ int main() {
4850maillock() 4945maillock()
4851; return 0; } 4946; return 0; }
4852EOF 4947EOF
4853if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4948if { (eval echo configure:4949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4854 rm -rf conftest* 4949 rm -rf conftest*
4855 eval "ac_cv_lib_$ac_lib_var=yes" 4950 eval "ac_cv_lib_$ac_lib_var=yes"
4856else 4951else
@@ -4878,7 +4973,7 @@ else
4878fi 4973fi
4879 4974
4880echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 4975echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
4881echo "configure:4882: checking for maillock in -llockfile" >&5 4976echo "configure:4977: checking for maillock in -llockfile" >&5
4882ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 4977ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
4883if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4978if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4884 echo $ac_n "(cached) $ac_c" 1>&6 4979 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4886,7 +4981,7 @@ else
4886 ac_save_LIBS="$LIBS" 4981 ac_save_LIBS="$LIBS"
4887LIBS="-llockfile $LIBS" 4982LIBS="-llockfile $LIBS"
4888cat > conftest.$ac_ext <<EOF 4983cat > conftest.$ac_ext <<EOF
4889#line 4890 "configure" 4984#line 4985 "configure"
4890#include "confdefs.h" 4985#include "confdefs.h"
4891/* Override any gcc2 internal prototype to avoid an error. */ 4986/* Override any gcc2 internal prototype to avoid an error. */
4892/* We use char because int might match the return type of a gcc2 4987/* We use char because int might match the return type of a gcc2
@@ -4897,7 +4992,7 @@ int main() {
4897maillock() 4992maillock()
4898; return 0; } 4993; return 0; }
4899EOF 4994EOF
4900if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4995if { (eval echo configure:4996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4901 rm -rf conftest* 4996 rm -rf conftest*
4902 eval "ac_cv_lib_$ac_lib_var=yes" 4997 eval "ac_cv_lib_$ac_lib_var=yes"
4903else 4998else
@@ -4931,15 +5026,16 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
4931 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5026 # Extract the first word of "liblockfile.so", so it can be a program name with args.
4932set dummy liblockfile.so; ac_word=$2 5027set dummy liblockfile.so; ac_word=$2
4933echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5028echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4934echo "configure:4935: checking for $ac_word" >&5 5029echo "configure:5030: checking for $ac_word" >&5
4935if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5030if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
4936 echo $ac_n "(cached) $ac_c" 1>&6 5031 echo $ac_n "(cached) $ac_c" 1>&6
4937else 5032else
4938 if test -n "$liblockfile"; then 5033 if test -n "$liblockfile"; then
4939 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 5034 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
4940else 5035else
4941 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5036 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4942 for ac_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH$ac_dummy; do 5037 ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
5038 for ac_dir in $ac_dummy; do
4943 test -z "$ac_dir" && ac_dir=. 5039 test -z "$ac_dir" && ac_dir=.
4944 if test -f $ac_dir/$ac_word; then 5040 if test -f $ac_dir/$ac_word; then
4945 ac_cv_prog_liblockfile="yes" 5041 ac_cv_prog_liblockfile="yes"
@@ -4971,12 +5067,12 @@ fi
4971for ac_func in touchlock 5067for ac_func in touchlock
4972do 5068do
4973echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5069echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4974echo "configure:4975: checking for $ac_func" >&5 5070echo "configure:5071: checking for $ac_func" >&5
4975if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5071if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4976 echo $ac_n "(cached) $ac_c" 1>&6 5072 echo $ac_n "(cached) $ac_c" 1>&6
4977else 5073else
4978 cat > conftest.$ac_ext <<EOF 5074 cat > conftest.$ac_ext <<EOF
4979#line 4980 "configure" 5075#line 5076 "configure"
4980#include "confdefs.h" 5076#include "confdefs.h"
4981/* System header to define __stub macros and hopefully few prototypes, 5077/* System header to define __stub macros and hopefully few prototypes,
4982 which can conflict with char $ac_func(); below. */ 5078 which can conflict with char $ac_func(); below. */
@@ -4999,7 +5095,7 @@ $ac_func();
4999 5095
5000; return 0; } 5096; return 0; }
5001EOF 5097EOF
5002if { (eval echo configure:5003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5098if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5003 rm -rf conftest* 5099 rm -rf conftest*
5004 eval "ac_cv_func_$ac_func=yes" 5100 eval "ac_cv_func_$ac_func=yes"
5005else 5101else
@@ -5027,18 +5123,18 @@ for ac_hdr in maillock.h
5027do 5123do
5028ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5124ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5029echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5125echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5030echo "configure:5031: checking for $ac_hdr" >&5 5126echo "configure:5127: checking for $ac_hdr" >&5
5031if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5127if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5032 echo $ac_n "(cached) $ac_c" 1>&6 5128 echo $ac_n "(cached) $ac_c" 1>&6
5033else 5129else
5034 cat > conftest.$ac_ext <<EOF 5130 cat > conftest.$ac_ext <<EOF
5035#line 5036 "configure" 5131#line 5132 "configure"
5036#include "confdefs.h" 5132#include "confdefs.h"
5037#include <$ac_hdr> 5133#include <$ac_hdr>
5038EOF 5134EOF
5039ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5135ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5040{ (eval echo configure:5041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5136{ (eval echo configure:5137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5041ac_err=`grep -v '^ *+' conftest.out` 5137ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5042if test -z "$ac_err"; then 5138if test -z "$ac_err"; then
5043 rm -rf conftest* 5139 rm -rf conftest*
5044 eval "ac_cv_header_$ac_safe=yes" 5140 eval "ac_cv_header_$ac_safe=yes"
@@ -5072,12 +5168,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
5072__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm 5168__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm
5073do 5169do
5074echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5170echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5075echo "configure:5076: checking for $ac_func" >&5 5171echo "configure:5172: checking for $ac_func" >&5
5076if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5172if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5077 echo $ac_n "(cached) $ac_c" 1>&6 5173 echo $ac_n "(cached) $ac_c" 1>&6
5078else 5174else
5079 cat > conftest.$ac_ext <<EOF 5175 cat > conftest.$ac_ext <<EOF
5080#line 5081 "configure" 5176#line 5177 "configure"
5081#include "confdefs.h" 5177#include "confdefs.h"
5082/* System header to define __stub macros and hopefully few prototypes, 5178/* System header to define __stub macros and hopefully few prototypes,
5083 which can conflict with char $ac_func(); below. */ 5179 which can conflict with char $ac_func(); below. */
@@ -5100,7 +5196,7 @@ $ac_func();
5100 5196
5101; return 0; } 5197; return 0; }
5102EOF 5198EOF
5103if { (eval echo configure:5104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5199if { (eval echo configure:5200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5104 rm -rf conftest* 5200 rm -rf conftest*
5105 eval "ac_cv_func_$ac_func=yes" 5201 eval "ac_cv_func_$ac_func=yes"
5106else 5202else
@@ -5130,7 +5226,7 @@ done
5130# It's better to believe a function is not available 5226# It's better to believe a function is not available
5131# than to expect to find it in ncurses. 5227# than to expect to find it in ncurses.
5132echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5228echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5133echo "configure:5134: checking for tparm in -lncurses" >&5 5229echo "configure:5230: checking for tparm in -lncurses" >&5
5134ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5230ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5135if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5231if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5136 echo $ac_n "(cached) $ac_c" 1>&6 5232 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5138,7 +5234,7 @@ else
5138 ac_save_LIBS="$LIBS" 5234 ac_save_LIBS="$LIBS"
5139LIBS="-lncurses $LIBS" 5235LIBS="-lncurses $LIBS"
5140cat > conftest.$ac_ext <<EOF 5236cat > conftest.$ac_ext <<EOF
5141#line 5142 "configure" 5237#line 5238 "configure"
5142#include "confdefs.h" 5238#include "confdefs.h"
5143/* Override any gcc2 internal prototype to avoid an error. */ 5239/* Override any gcc2 internal prototype to avoid an error. */
5144/* We use char because int might match the return type of a gcc2 5240/* We use char because int might match the return type of a gcc2
@@ -5149,7 +5245,7 @@ int main() {
5149tparm() 5245tparm()
5150; return 0; } 5246; return 0; }
5151EOF 5247EOF
5152if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5248if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5153 rm -rf conftest* 5249 rm -rf conftest*
5154 eval "ac_cv_lib_$ac_lib_var=yes" 5250 eval "ac_cv_lib_$ac_lib_var=yes"
5155else 5251else
@@ -5180,7 +5276,7 @@ fi
5180# These tell us which Kerberos-related libraries to use. 5276# These tell us which Kerberos-related libraries to use.
5181if test "${with_kerberos+set}" = set; then 5277if test "${with_kerberos+set}" = set; then
5182 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5278 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5183echo "configure:5184: checking for com_err in -lcom_err" >&5 5279echo "configure:5280: checking for com_err in -lcom_err" >&5
5184ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5280ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5185if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5281if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5186 echo $ac_n "(cached) $ac_c" 1>&6 5282 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5188,7 +5284,7 @@ else
5188 ac_save_LIBS="$LIBS" 5284 ac_save_LIBS="$LIBS"
5189LIBS="-lcom_err $LIBS" 5285LIBS="-lcom_err $LIBS"
5190cat > conftest.$ac_ext <<EOF 5286cat > conftest.$ac_ext <<EOF
5191#line 5192 "configure" 5287#line 5288 "configure"
5192#include "confdefs.h" 5288#include "confdefs.h"
5193/* Override any gcc2 internal prototype to avoid an error. */ 5289/* Override any gcc2 internal prototype to avoid an error. */
5194/* We use char because int might match the return type of a gcc2 5290/* We use char because int might match the return type of a gcc2
@@ -5199,7 +5295,7 @@ int main() {
5199com_err() 5295com_err()
5200; return 0; } 5296; return 0; }
5201EOF 5297EOF
5202if { (eval echo configure:5203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5298if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5203 rm -rf conftest* 5299 rm -rf conftest*
5204 eval "ac_cv_lib_$ac_lib_var=yes" 5300 eval "ac_cv_lib_$ac_lib_var=yes"
5205else 5301else
@@ -5227,7 +5323,7 @@ else
5227fi 5323fi
5228 5324
5229 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5325 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5230echo "configure:5231: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5326echo "configure:5327: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5231ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5327ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5232if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5328if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5233 echo $ac_n "(cached) $ac_c" 1>&6 5329 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5235,7 +5331,7 @@ else
5235 ac_save_LIBS="$LIBS" 5331 ac_save_LIBS="$LIBS"
5236LIBS="-lk5crypto $LIBS" 5332LIBS="-lk5crypto $LIBS"
5237cat > conftest.$ac_ext <<EOF 5333cat > conftest.$ac_ext <<EOF
5238#line 5239 "configure" 5334#line 5335 "configure"
5239#include "confdefs.h" 5335#include "confdefs.h"
5240/* Override any gcc2 internal prototype to avoid an error. */ 5336/* Override any gcc2 internal prototype to avoid an error. */
5241/* We use char because int might match the return type of a gcc2 5337/* We use char because int might match the return type of a gcc2
@@ -5246,7 +5342,7 @@ int main() {
5246mit_des_cbc_encrypt() 5342mit_des_cbc_encrypt()
5247; return 0; } 5343; return 0; }
5248EOF 5344EOF
5249if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5345if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5250 rm -rf conftest* 5346 rm -rf conftest*
5251 eval "ac_cv_lib_$ac_lib_var=yes" 5347 eval "ac_cv_lib_$ac_lib_var=yes"
5252else 5348else
@@ -5274,7 +5370,7 @@ else
5274fi 5370fi
5275 5371
5276 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5372 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5277echo "configure:5278: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5373echo "configure:5374: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5278ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5374ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5279if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5375if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5280 echo $ac_n "(cached) $ac_c" 1>&6 5376 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5282,7 +5378,7 @@ else
5282 ac_save_LIBS="$LIBS" 5378 ac_save_LIBS="$LIBS"
5283LIBS="-lcrypto $LIBS" 5379LIBS="-lcrypto $LIBS"
5284cat > conftest.$ac_ext <<EOF 5380cat > conftest.$ac_ext <<EOF
5285#line 5286 "configure" 5381#line 5382 "configure"
5286#include "confdefs.h" 5382#include "confdefs.h"
5287/* Override any gcc2 internal prototype to avoid an error. */ 5383/* Override any gcc2 internal prototype to avoid an error. */
5288/* We use char because int might match the return type of a gcc2 5384/* We use char because int might match the return type of a gcc2
@@ -5293,7 +5389,7 @@ int main() {
5293mit_des_cbc_encrypt() 5389mit_des_cbc_encrypt()
5294; return 0; } 5390; return 0; }
5295EOF 5391EOF
5296if { (eval echo configure:5297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5392if { (eval echo configure:5393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5297 rm -rf conftest* 5393 rm -rf conftest*
5298 eval "ac_cv_lib_$ac_lib_var=yes" 5394 eval "ac_cv_lib_$ac_lib_var=yes"
5299else 5395else
@@ -5321,7 +5417,7 @@ else
5321fi 5417fi
5322 5418
5323 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 5419 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5324echo "configure:5325: checking for krb5_init_context in -lkrb5" >&5 5420echo "configure:5421: checking for krb5_init_context in -lkrb5" >&5
5325ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 5421ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5326if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5422if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5327 echo $ac_n "(cached) $ac_c" 1>&6 5423 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5329,7 +5425,7 @@ else
5329 ac_save_LIBS="$LIBS" 5425 ac_save_LIBS="$LIBS"
5330LIBS="-lkrb5 $LIBS" 5426LIBS="-lkrb5 $LIBS"
5331cat > conftest.$ac_ext <<EOF 5427cat > conftest.$ac_ext <<EOF
5332#line 5333 "configure" 5428#line 5429 "configure"
5333#include "confdefs.h" 5429#include "confdefs.h"
5334/* Override any gcc2 internal prototype to avoid an error. */ 5430/* Override any gcc2 internal prototype to avoid an error. */
5335/* We use char because int might match the return type of a gcc2 5431/* We use char because int might match the return type of a gcc2
@@ -5340,7 +5436,7 @@ int main() {
5340krb5_init_context() 5436krb5_init_context()
5341; return 0; } 5437; return 0; }
5342EOF 5438EOF
5343if { (eval echo configure:5344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5439if { (eval echo configure:5440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5344 rm -rf conftest* 5440 rm -rf conftest*
5345 eval "ac_cv_lib_$ac_lib_var=yes" 5441 eval "ac_cv_lib_$ac_lib_var=yes"
5346else 5442else
@@ -5369,7 +5465,7 @@ fi
5369 5465
5370 if test "${with_kerberos5+set}" != set; then 5466 if test "${with_kerberos5+set}" != set; then
5371 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 5467 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5372echo "configure:5373: checking for des_cbc_encrypt in -ldes425" >&5 5468echo "configure:5469: checking for des_cbc_encrypt in -ldes425" >&5
5373ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5469ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5374if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5470if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5375 echo $ac_n "(cached) $ac_c" 1>&6 5471 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5377,7 +5473,7 @@ else
5377 ac_save_LIBS="$LIBS" 5473 ac_save_LIBS="$LIBS"
5378LIBS="-ldes425 $LIBS" 5474LIBS="-ldes425 $LIBS"
5379cat > conftest.$ac_ext <<EOF 5475cat > conftest.$ac_ext <<EOF
5380#line 5381 "configure" 5476#line 5477 "configure"
5381#include "confdefs.h" 5477#include "confdefs.h"
5382/* Override any gcc2 internal prototype to avoid an error. */ 5478/* Override any gcc2 internal prototype to avoid an error. */
5383/* We use char because int might match the return type of a gcc2 5479/* We use char because int might match the return type of a gcc2
@@ -5388,7 +5484,7 @@ int main() {
5388des_cbc_encrypt() 5484des_cbc_encrypt()
5389; return 0; } 5485; return 0; }
5390EOF 5486EOF
5391if { (eval echo configure:5392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5487if { (eval echo configure:5488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5392 rm -rf conftest* 5488 rm -rf conftest*
5393 eval "ac_cv_lib_$ac_lib_var=yes" 5489 eval "ac_cv_lib_$ac_lib_var=yes"
5394else 5490else
@@ -5414,7 +5510,7 @@ EOF
5414else 5510else
5415 echo "$ac_t""no" 1>&6 5511 echo "$ac_t""no" 1>&6
5416echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 5512echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
5417echo "configure:5418: checking for des_cbc_encrypt in -ldes" >&5 5513echo "configure:5514: checking for des_cbc_encrypt in -ldes" >&5
5418ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 5514ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5419if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5515if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5420 echo $ac_n "(cached) $ac_c" 1>&6 5516 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5422,7 +5518,7 @@ else
5422 ac_save_LIBS="$LIBS" 5518 ac_save_LIBS="$LIBS"
5423LIBS="-ldes $LIBS" 5519LIBS="-ldes $LIBS"
5424cat > conftest.$ac_ext <<EOF 5520cat > conftest.$ac_ext <<EOF
5425#line 5426 "configure" 5521#line 5522 "configure"
5426#include "confdefs.h" 5522#include "confdefs.h"
5427/* Override any gcc2 internal prototype to avoid an error. */ 5523/* Override any gcc2 internal prototype to avoid an error. */
5428/* We use char because int might match the return type of a gcc2 5524/* We use char because int might match the return type of a gcc2
@@ -5433,7 +5529,7 @@ int main() {
5433des_cbc_encrypt() 5529des_cbc_encrypt()
5434; return 0; } 5530; return 0; }
5435EOF 5531EOF
5436if { (eval echo configure:5437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5532if { (eval echo configure:5533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5437 rm -rf conftest* 5533 rm -rf conftest*
5438 eval "ac_cv_lib_$ac_lib_var=yes" 5534 eval "ac_cv_lib_$ac_lib_var=yes"
5439else 5535else
@@ -5463,7 +5559,7 @@ fi
5463fi 5559fi
5464 5560
5465 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 5561 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
5466echo "configure:5467: checking for krb_get_cred in -lkrb4" >&5 5562echo "configure:5563: checking for krb_get_cred in -lkrb4" >&5
5467ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 5563ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
5468if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5564if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5469 echo $ac_n "(cached) $ac_c" 1>&6 5565 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5471,7 +5567,7 @@ else
5471 ac_save_LIBS="$LIBS" 5567 ac_save_LIBS="$LIBS"
5472LIBS="-lkrb4 $LIBS" 5568LIBS="-lkrb4 $LIBS"
5473cat > conftest.$ac_ext <<EOF 5569cat > conftest.$ac_ext <<EOF
5474#line 5475 "configure" 5570#line 5571 "configure"
5475#include "confdefs.h" 5571#include "confdefs.h"
5476/* Override any gcc2 internal prototype to avoid an error. */ 5572/* Override any gcc2 internal prototype to avoid an error. */
5477/* We use char because int might match the return type of a gcc2 5573/* We use char because int might match the return type of a gcc2
@@ -5482,7 +5578,7 @@ int main() {
5482krb_get_cred() 5578krb_get_cred()
5483; return 0; } 5579; return 0; }
5484EOF 5580EOF
5485if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5581if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5486 rm -rf conftest* 5582 rm -rf conftest*
5487 eval "ac_cv_lib_$ac_lib_var=yes" 5583 eval "ac_cv_lib_$ac_lib_var=yes"
5488else 5584else
@@ -5508,7 +5604,7 @@ EOF
5508else 5604else
5509 echo "$ac_t""no" 1>&6 5605 echo "$ac_t""no" 1>&6
5510echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 5606echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
5511echo "configure:5512: checking for krb_get_cred in -lkrb" >&5 5607echo "configure:5608: checking for krb_get_cred in -lkrb" >&5
5512ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 5608ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
5513if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5609if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5514 echo $ac_n "(cached) $ac_c" 1>&6 5610 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5516,7 +5612,7 @@ else
5516 ac_save_LIBS="$LIBS" 5612 ac_save_LIBS="$LIBS"
5517LIBS="-lkrb $LIBS" 5613LIBS="-lkrb $LIBS"
5518cat > conftest.$ac_ext <<EOF 5614cat > conftest.$ac_ext <<EOF
5519#line 5520 "configure" 5615#line 5616 "configure"
5520#include "confdefs.h" 5616#include "confdefs.h"
5521/* Override any gcc2 internal prototype to avoid an error. */ 5617/* Override any gcc2 internal prototype to avoid an error. */
5522/* We use char because int might match the return type of a gcc2 5618/* We use char because int might match the return type of a gcc2
@@ -5527,7 +5623,7 @@ int main() {
5527krb_get_cred() 5623krb_get_cred()
5528; return 0; } 5624; return 0; }
5529EOF 5625EOF
5530if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 5626if { (eval echo configure:5627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5531 rm -rf conftest* 5627 rm -rf conftest*
5532 eval "ac_cv_lib_$ac_lib_var=yes" 5628 eval "ac_cv_lib_$ac_lib_var=yes"
5533else 5629else
@@ -5563,18 +5659,18 @@ fi
5563do 5659do
5564ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5660ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5565echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5661echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5566echo "configure:5567: checking for $ac_hdr" >&5 5662echo "configure:5663: checking for $ac_hdr" >&5
5567if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5663if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5568 echo $ac_n "(cached) $ac_c" 1>&6 5664 echo $ac_n "(cached) $ac_c" 1>&6
5569else 5665else
5570 cat > conftest.$ac_ext <<EOF 5666 cat > conftest.$ac_ext <<EOF
5571#line 5572 "configure" 5667#line 5668 "configure"
5572#include "confdefs.h" 5668#include "confdefs.h"
5573#include <$ac_hdr> 5669#include <$ac_hdr>
5574EOF 5670EOF
5575ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5671ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5576{ (eval echo configure:5577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5672{ (eval echo configure:5673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5577ac_err=`grep -v '^ *+' conftest.out` 5673ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5578if test -z "$ac_err"; then 5674if test -z "$ac_err"; then
5579 rm -rf conftest* 5675 rm -rf conftest*
5580 eval "ac_cv_header_$ac_safe=yes" 5676 eval "ac_cv_header_$ac_safe=yes"
@@ -5604,18 +5700,18 @@ done
5604do 5700do
5605ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5701ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5606echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5702echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5607echo "configure:5608: checking for $ac_hdr" >&5 5703echo "configure:5704: checking for $ac_hdr" >&5
5608if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5704if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5609 echo $ac_n "(cached) $ac_c" 1>&6 5705 echo $ac_n "(cached) $ac_c" 1>&6
5610else 5706else
5611 cat > conftest.$ac_ext <<EOF 5707 cat > conftest.$ac_ext <<EOF
5612#line 5613 "configure" 5708#line 5709 "configure"
5613#include "confdefs.h" 5709#include "confdefs.h"
5614#include <$ac_hdr> 5710#include <$ac_hdr>
5615EOF 5711EOF
5616ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5712ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5617{ (eval echo configure:5618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5713{ (eval echo configure:5714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5618ac_err=`grep -v '^ *+' conftest.out` 5714ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5619if test -z "$ac_err"; then 5715if test -z "$ac_err"; then
5620 rm -rf conftest* 5716 rm -rf conftest*
5621 eval "ac_cv_header_$ac_safe=yes" 5717 eval "ac_cv_header_$ac_safe=yes"
@@ -5641,18 +5737,18 @@ for ac_hdr in kerberosIV/des.h
5641do 5737do
5642ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5738ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5643echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5739echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5644echo "configure:5645: checking for $ac_hdr" >&5 5740echo "configure:5741: checking for $ac_hdr" >&5
5645if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5741if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5646 echo $ac_n "(cached) $ac_c" 1>&6 5742 echo $ac_n "(cached) $ac_c" 1>&6
5647else 5743else
5648 cat > conftest.$ac_ext <<EOF 5744 cat > conftest.$ac_ext <<EOF
5649#line 5650 "configure" 5745#line 5746 "configure"
5650#include "confdefs.h" 5746#include "confdefs.h"
5651#include <$ac_hdr> 5747#include <$ac_hdr>
5652EOF 5748EOF
5653ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5749ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5654{ (eval echo configure:5655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5750{ (eval echo configure:5751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5655ac_err=`grep -v '^ *+' conftest.out` 5751ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5656if test -z "$ac_err"; then 5752if test -z "$ac_err"; then
5657 rm -rf conftest* 5753 rm -rf conftest*
5658 eval "ac_cv_header_$ac_safe=yes" 5754 eval "ac_cv_header_$ac_safe=yes"
@@ -5678,18 +5774,18 @@ for ac_hdr in kerberos/des.h
5678do 5774do
5679ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5775ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5680echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5776echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5681echo "configure:5682: checking for $ac_hdr" >&5 5777echo "configure:5778: checking for $ac_hdr" >&5
5682if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5778if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5683 echo $ac_n "(cached) $ac_c" 1>&6 5779 echo $ac_n "(cached) $ac_c" 1>&6
5684else 5780else
5685 cat > conftest.$ac_ext <<EOF 5781 cat > conftest.$ac_ext <<EOF
5686#line 5687 "configure" 5782#line 5783 "configure"
5687#include "confdefs.h" 5783#include "confdefs.h"
5688#include <$ac_hdr> 5784#include <$ac_hdr>
5689EOF 5785EOF
5690ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5786ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5691{ (eval echo configure:5692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5787{ (eval echo configure:5788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5692ac_err=`grep -v '^ *+' conftest.out` 5788ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5693if test -z "$ac_err"; then 5789if test -z "$ac_err"; then
5694 rm -rf conftest* 5790 rm -rf conftest*
5695 eval "ac_cv_header_$ac_safe=yes" 5791 eval "ac_cv_header_$ac_safe=yes"
@@ -5724,18 +5820,18 @@ done
5724do 5820do
5725ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5821ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5726echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5822echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5727echo "configure:5728: checking for $ac_hdr" >&5 5823echo "configure:5824: checking for $ac_hdr" >&5
5728if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5824if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5729 echo $ac_n "(cached) $ac_c" 1>&6 5825 echo $ac_n "(cached) $ac_c" 1>&6
5730else 5826else
5731 cat > conftest.$ac_ext <<EOF 5827 cat > conftest.$ac_ext <<EOF
5732#line 5733 "configure" 5828#line 5829 "configure"
5733#include "confdefs.h" 5829#include "confdefs.h"
5734#include <$ac_hdr> 5830#include <$ac_hdr>
5735EOF 5831EOF
5736ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5832ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5737{ (eval echo configure:5738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5833{ (eval echo configure:5834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5738ac_err=`grep -v '^ *+' conftest.out` 5834ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5739if test -z "$ac_err"; then 5835if test -z "$ac_err"; then
5740 rm -rf conftest* 5836 rm -rf conftest*
5741 eval "ac_cv_header_$ac_safe=yes" 5837 eval "ac_cv_header_$ac_safe=yes"
@@ -5761,18 +5857,18 @@ for ac_hdr in kerberosIV/krb.h
5761do 5857do
5762ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5858ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5763echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5859echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5764echo "configure:5765: checking for $ac_hdr" >&5 5860echo "configure:5861: checking for $ac_hdr" >&5
5765if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5861if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5766 echo $ac_n "(cached) $ac_c" 1>&6 5862 echo $ac_n "(cached) $ac_c" 1>&6
5767else 5863else
5768 cat > conftest.$ac_ext <<EOF 5864 cat > conftest.$ac_ext <<EOF
5769#line 5770 "configure" 5865#line 5866 "configure"
5770#include "confdefs.h" 5866#include "confdefs.h"
5771#include <$ac_hdr> 5867#include <$ac_hdr>
5772EOF 5868EOF
5773ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5869ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5774{ (eval echo configure:5775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5870{ (eval echo configure:5871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5775ac_err=`grep -v '^ *+' conftest.out` 5871ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5776if test -z "$ac_err"; then 5872if test -z "$ac_err"; then
5777 rm -rf conftest* 5873 rm -rf conftest*
5778 eval "ac_cv_header_$ac_safe=yes" 5874 eval "ac_cv_header_$ac_safe=yes"
@@ -5798,18 +5894,18 @@ for ac_hdr in kerberos/krb.h
5798do 5894do
5799ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5895ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5800echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5896echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5801echo "configure:5802: checking for $ac_hdr" >&5 5897echo "configure:5898: checking for $ac_hdr" >&5
5802if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5898if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5803 echo $ac_n "(cached) $ac_c" 1>&6 5899 echo $ac_n "(cached) $ac_c" 1>&6
5804else 5900else
5805 cat > conftest.$ac_ext <<EOF 5901 cat > conftest.$ac_ext <<EOF
5806#line 5807 "configure" 5902#line 5903 "configure"
5807#include "confdefs.h" 5903#include "confdefs.h"
5808#include <$ac_hdr> 5904#include <$ac_hdr>
5809EOF 5905EOF
5810ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5906ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5811{ (eval echo configure:5812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5907{ (eval echo configure:5908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5812ac_err=`grep -v '^ *+' conftest.out` 5908ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5813if test -z "$ac_err"; then 5909if test -z "$ac_err"; then
5814 rm -rf conftest* 5910 rm -rf conftest*
5815 eval "ac_cv_header_$ac_safe=yes" 5911 eval "ac_cv_header_$ac_safe=yes"
@@ -5845,18 +5941,18 @@ done
5845do 5941do
5846ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5942ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5847echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5943echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5848echo "configure:5849: checking for $ac_hdr" >&5 5944echo "configure:5945: checking for $ac_hdr" >&5
5849if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5945if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5850 echo $ac_n "(cached) $ac_c" 1>&6 5946 echo $ac_n "(cached) $ac_c" 1>&6
5851else 5947else
5852 cat > conftest.$ac_ext <<EOF 5948 cat > conftest.$ac_ext <<EOF
5853#line 5854 "configure" 5949#line 5950 "configure"
5854#include "confdefs.h" 5950#include "confdefs.h"
5855#include <$ac_hdr> 5951#include <$ac_hdr>
5856EOF 5952EOF
5857ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5953ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5858{ (eval echo configure:5859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5954{ (eval echo configure:5955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5859ac_err=`grep -v '^ *+' conftest.out` 5955ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5860if test -z "$ac_err"; then 5956if test -z "$ac_err"; then
5861 rm -rf conftest* 5957 rm -rf conftest*
5862 eval "ac_cv_header_$ac_safe=yes" 5958 eval "ac_cv_header_$ac_safe=yes"
@@ -5886,7 +5982,7 @@ fi
5886# Solaris requires -lintl if you want strerror (which calls dgettext) 5982# Solaris requires -lintl if you want strerror (which calls dgettext)
5887# to return localized messages. 5983# to return localized messages.
5888echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 5984echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
5889echo "configure:5890: checking for dgettext in -lintl" >&5 5985echo "configure:5986: checking for dgettext in -lintl" >&5
5890ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 5986ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
5891if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5987if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5892 echo $ac_n "(cached) $ac_c" 1>&6 5988 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5894,7 +5990,7 @@ else
5894 ac_save_LIBS="$LIBS" 5990 ac_save_LIBS="$LIBS"
5895LIBS="-lintl $LIBS" 5991LIBS="-lintl $LIBS"
5896cat > conftest.$ac_ext <<EOF 5992cat > conftest.$ac_ext <<EOF
5897#line 5898 "configure" 5993#line 5994 "configure"
5898#include "confdefs.h" 5994#include "confdefs.h"
5899/* Override any gcc2 internal prototype to avoid an error. */ 5995/* Override any gcc2 internal prototype to avoid an error. */
5900/* We use char because int might match the return type of a gcc2 5996/* We use char because int might match the return type of a gcc2
@@ -5905,7 +6001,7 @@ int main() {
5905dgettext() 6001dgettext()
5906; return 0; } 6002; return 0; }
5907EOF 6003EOF
5908if { (eval echo configure:5909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6004if { (eval echo configure:6005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5909 rm -rf conftest* 6005 rm -rf conftest*
5910 eval "ac_cv_lib_$ac_lib_var=yes" 6006 eval "ac_cv_lib_$ac_lib_var=yes"
5911else 6007else
@@ -5934,7 +6030,7 @@ fi
5934 6030
5935 6031
5936echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 6032echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
5937echo "configure:5938: checking whether localtime caches TZ" >&5 6033echo "configure:6034: checking whether localtime caches TZ" >&5
5938if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 6034if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
5939 echo $ac_n "(cached) $ac_c" 1>&6 6035 echo $ac_n "(cached) $ac_c" 1>&6
5940else 6036else
@@ -5944,7 +6040,7 @@ if test "$cross_compiling" = yes; then
5944emacs_cv_localtime_cache=yes 6040emacs_cv_localtime_cache=yes
5945else 6041else
5946 cat > conftest.$ac_ext <<EOF 6042 cat > conftest.$ac_ext <<EOF
5947#line 5948 "configure" 6043#line 6044 "configure"
5948#include "confdefs.h" 6044#include "confdefs.h"
5949#include <time.h> 6045#include <time.h>
5950extern char **environ; 6046extern char **environ;
@@ -5976,7 +6072,7 @@ main()
5976 exit (0); 6072 exit (0);
5977} 6073}
5978EOF 6074EOF
5979if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 6075if { (eval echo configure:6076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5980then 6076then
5981 emacs_cv_localtime_cache=no 6077 emacs_cv_localtime_cache=no
5982else 6078else
@@ -6004,12 +6100,12 @@ fi
6004 6100
6005if test "x$HAVE_TIMEVAL" = xyes; then 6101if test "x$HAVE_TIMEVAL" = xyes; then
6006echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6102echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6007echo "configure:6008: checking whether gettimeofday can accept two arguments" >&5 6103echo "configure:6104: checking whether gettimeofday can accept two arguments" >&5
6008if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6104if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6009 echo $ac_n "(cached) $ac_c" 1>&6 6105 echo $ac_n "(cached) $ac_c" 1>&6
6010else 6106else
6011 cat > conftest.$ac_ext <<EOF 6107 cat > conftest.$ac_ext <<EOF
6012#line 6013 "configure" 6108#line 6109 "configure"
6013#include "confdefs.h" 6109#include "confdefs.h"
6014 6110
6015#ifdef TIME_WITH_SYS_TIME 6111#ifdef TIME_WITH_SYS_TIME
@@ -6031,7 +6127,7 @@ int main() {
6031 6127
6032; return 0; } 6128; return 0; }
6033EOF 6129EOF
6034if { (eval echo configure:6035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6130if { (eval echo configure:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6035 rm -rf conftest* 6131 rm -rf conftest*
6036 emacs_cv_gettimeofday_two_arguments=yes 6132 emacs_cv_gettimeofday_two_arguments=yes
6037else 6133else
@@ -6054,12 +6150,12 @@ fi
6054 6150
6055ok_so_far=yes 6151ok_so_far=yes
6056echo $ac_n "checking for socket""... $ac_c" 1>&6 6152echo $ac_n "checking for socket""... $ac_c" 1>&6
6057echo "configure:6058: checking for socket" >&5 6153echo "configure:6154: checking for socket" >&5
6058if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6154if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6059 echo $ac_n "(cached) $ac_c" 1>&6 6155 echo $ac_n "(cached) $ac_c" 1>&6
6060else 6156else
6061 cat > conftest.$ac_ext <<EOF 6157 cat > conftest.$ac_ext <<EOF
6062#line 6063 "configure" 6158#line 6159 "configure"
6063#include "confdefs.h" 6159#include "confdefs.h"
6064/* System header to define __stub macros and hopefully few prototypes, 6160/* System header to define __stub macros and hopefully few prototypes,
6065 which can conflict with char socket(); below. */ 6161 which can conflict with char socket(); below. */
@@ -6082,7 +6178,7 @@ socket();
6082 6178
6083; return 0; } 6179; return 0; }
6084EOF 6180EOF
6085if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6181if { (eval echo configure:6182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6086 rm -rf conftest* 6182 rm -rf conftest*
6087 eval "ac_cv_func_socket=yes" 6183 eval "ac_cv_func_socket=yes"
6088else 6184else
@@ -6105,18 +6201,18 @@ fi
6105if test $ok_so_far = yes; then 6201if test $ok_so_far = yes; then
6106 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6202 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6107echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6203echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6108echo "configure:6109: checking for netinet/in.h" >&5 6204echo "configure:6205: checking for netinet/in.h" >&5
6109if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6205if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6110 echo $ac_n "(cached) $ac_c" 1>&6 6206 echo $ac_n "(cached) $ac_c" 1>&6
6111else 6207else
6112 cat > conftest.$ac_ext <<EOF 6208 cat > conftest.$ac_ext <<EOF
6113#line 6114 "configure" 6209#line 6210 "configure"
6114#include "confdefs.h" 6210#include "confdefs.h"
6115#include <netinet/in.h> 6211#include <netinet/in.h>
6116EOF 6212EOF
6117ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6213ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6118{ (eval echo configure:6119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6214{ (eval echo configure:6215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6119ac_err=`grep -v '^ *+' conftest.out` 6215ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6120if test -z "$ac_err"; then 6216if test -z "$ac_err"; then
6121 rm -rf conftest* 6217 rm -rf conftest*
6122 eval "ac_cv_header_$ac_safe=yes" 6218 eval "ac_cv_header_$ac_safe=yes"
@@ -6141,18 +6237,18 @@ fi
6141if test $ok_so_far = yes; then 6237if test $ok_so_far = yes; then
6142 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6238 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6143echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6239echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6144echo "configure:6145: checking for arpa/inet.h" >&5 6240echo "configure:6241: checking for arpa/inet.h" >&5
6145if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6241if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6146 echo $ac_n "(cached) $ac_c" 1>&6 6242 echo $ac_n "(cached) $ac_c" 1>&6
6147else 6243else
6148 cat > conftest.$ac_ext <<EOF 6244 cat > conftest.$ac_ext <<EOF
6149#line 6150 "configure" 6245#line 6246 "configure"
6150#include "confdefs.h" 6246#include "confdefs.h"
6151#include <arpa/inet.h> 6247#include <arpa/inet.h>
6152EOF 6248EOF
6153ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6249ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6154{ (eval echo configure:6155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6250{ (eval echo configure:6251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6155ac_err=`grep -v '^ *+' conftest.out` 6251ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6156if test -z "$ac_err"; then 6252if test -z "$ac_err"; then
6157 rm -rf conftest* 6253 rm -rf conftest*
6158 eval "ac_cv_header_$ac_safe=yes" 6254 eval "ac_cv_header_$ac_safe=yes"
@@ -6189,7 +6285,7 @@ EOF
6189fi 6285fi
6190 6286
6191echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6287echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6192echo "configure:6193: checking whether system supports dynamic ptys" >&5 6288echo "configure:6289: checking whether system supports dynamic ptys" >&5
6193if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6289if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6194 echo "$ac_t""yes" 1>&6 6290 echo "$ac_t""yes" 1>&6
6195 cat >> confdefs.h <<\EOF 6291 cat >> confdefs.h <<\EOF
@@ -6200,6 +6296,250 @@ else
6200 echo "$ac_t""no" 1>&6 6296 echo "$ac_t""no" 1>&6
6201fi 6297fi
6202 6298
6299echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6300echo "configure:6301: checking for pid_t" >&5
6301if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6302 echo $ac_n "(cached) $ac_c" 1>&6
6303else
6304 cat > conftest.$ac_ext <<EOF
6305#line 6306 "configure"
6306#include "confdefs.h"
6307#include <sys/types.h>
6308#if STDC_HEADERS
6309#include <stdlib.h>
6310#include <stddef.h>
6311#endif
6312EOF
6313if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6314 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
6315 rm -rf conftest*
6316 ac_cv_type_pid_t=yes
6317else
6318 rm -rf conftest*
6319 ac_cv_type_pid_t=no
6320fi
6321rm -f conftest*
6322
6323fi
6324echo "$ac_t""$ac_cv_type_pid_t" 1>&6
6325if test $ac_cv_type_pid_t = no; then
6326 cat >> confdefs.h <<\EOF
6327#define pid_t int
6328EOF
6329
6330fi
6331
6332ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6333echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6334echo "configure:6335: checking for vfork.h" >&5
6335if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6336 echo $ac_n "(cached) $ac_c" 1>&6
6337else
6338 cat > conftest.$ac_ext <<EOF
6339#line 6340 "configure"
6340#include "confdefs.h"
6341#include <vfork.h>
6342EOF
6343ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6344{ (eval echo configure:6345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6345ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6346if test -z "$ac_err"; then
6347 rm -rf conftest*
6348 eval "ac_cv_header_$ac_safe=yes"
6349else
6350 echo "$ac_err" >&5
6351 echo "configure: failed program was:" >&5
6352 cat conftest.$ac_ext >&5
6353 rm -rf conftest*
6354 eval "ac_cv_header_$ac_safe=no"
6355fi
6356rm -f conftest*
6357fi
6358if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6359 echo "$ac_t""yes" 1>&6
6360 cat >> confdefs.h <<\EOF
6361#define HAVE_VFORK_H 1
6362EOF
6363
6364else
6365 echo "$ac_t""no" 1>&6
6366fi
6367
6368echo $ac_n "checking for working vfork""... $ac_c" 1>&6
6369echo "configure:6370: checking for working vfork" >&5
6370if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
6371 echo $ac_n "(cached) $ac_c" 1>&6
6372else
6373 if test "$cross_compiling" = yes; then
6374 echo $ac_n "checking for vfork""... $ac_c" 1>&6
6375echo "configure:6376: checking for vfork" >&5
6376if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
6377 echo $ac_n "(cached) $ac_c" 1>&6
6378else
6379 cat > conftest.$ac_ext <<EOF
6380#line 6381 "configure"
6381#include "confdefs.h"
6382/* System header to define __stub macros and hopefully few prototypes,
6383 which can conflict with char vfork(); below. */
6384#include <assert.h>
6385/* Override any gcc2 internal prototype to avoid an error. */
6386/* We use char because int might match the return type of a gcc2
6387 builtin and then its argument prototype would still apply. */
6388char vfork();
6389
6390int main() {
6391
6392/* The GNU C library defines this for functions which it implements
6393 to always fail with ENOSYS. Some functions are actually named
6394 something starting with __ and the normal name is an alias. */
6395#if defined (__stub_vfork) || defined (__stub___vfork)
6396choke me
6397#else
6398vfork();
6399#endif
6400
6401; return 0; }
6402EOF
6403if { (eval echo configure:6404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6404 rm -rf conftest*
6405 eval "ac_cv_func_vfork=yes"
6406else
6407 echo "configure: failed program was:" >&5
6408 cat conftest.$ac_ext >&5
6409 rm -rf conftest*
6410 eval "ac_cv_func_vfork=no"
6411fi
6412rm -f conftest*
6413fi
6414
6415if eval "test \"`echo '$ac_cv_func_'vfork`\" = yes"; then
6416 echo "$ac_t""yes" 1>&6
6417 :
6418else
6419 echo "$ac_t""no" 1>&6
6420fi
6421
6422ac_cv_func_vfork_works=$ac_cv_func_vfork
6423else
6424 cat > conftest.$ac_ext <<EOF
6425#line 6426 "configure"
6426#include "confdefs.h"
6427/* Thanks to Paul Eggert for this test. */
6428#include <stdio.h>
6429#include <sys/types.h>
6430#include <sys/stat.h>
6431#ifdef HAVE_UNISTD_H
6432#include <unistd.h>
6433#endif
6434#ifdef HAVE_VFORK_H
6435#include <vfork.h>
6436#endif
6437/* On some sparc systems, changes by the child to local and incoming
6438 argument registers are propagated back to the parent.
6439 The compiler is told about this with #include <vfork.h>,
6440 but some compilers (e.g. gcc -O) don't grok <vfork.h>.
6441 Test for this by using a static variable whose address
6442 is put into a register that is clobbered by the vfork. */
6443static
6444#ifdef __cplusplus
6445sparc_address_test (int arg)
6446#else
6447sparc_address_test (arg) int arg;
6448#endif
6449{
6450 static pid_t child;
6451 if (!child) {
6452 child = vfork ();
6453 if (child < 0) {
6454 perror ("vfork");
6455 _exit(2);
6456 }
6457 if (!child) {
6458 arg = getpid();
6459 write(-1, "", 0);
6460 _exit (arg);
6461 }
6462 }
6463}
6464main() {
6465 pid_t parent = getpid ();
6466 pid_t child;
6467
6468 sparc_address_test ();
6469
6470 child = vfork ();
6471
6472 if (child == 0) {
6473 /* Here is another test for sparc vfork register problems.
6474 This test uses lots of local variables, at least
6475 as many local variables as main has allocated so far
6476 including compiler temporaries. 4 locals are enough for
6477 gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe.
6478 A buggy compiler should reuse the register of parent
6479 for one of the local variables, since it will think that
6480 parent can't possibly be used any more in this routine.
6481 Assigning to the local variable will thus munge parent
6482 in the parent process. */
6483 pid_t
6484 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6485 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6486 /* Convince the compiler that p..p7 are live; otherwise, it might
6487 use the same hardware register for all 8 local variables. */
6488 if (p != p1 || p != p2 || p != p3 || p != p4
6489 || p != p5 || p != p6 || p != p7)
6490 _exit(1);
6491
6492 /* On some systems (e.g. IRIX 3.3),
6493 vfork doesn't separate parent from child file descriptors.
6494 If the child closes a descriptor before it execs or exits,
6495 this munges the parent's descriptor as well.
6496 Test for this by closing stdout in the child. */
6497 _exit(close(fileno(stdout)) != 0);
6498 } else {
6499 int status;
6500 struct stat st;
6501
6502 while (wait(&status) != child)
6503 ;
6504 exit(
6505 /* Was there some problem with vforking? */
6506 child < 0
6507
6508 /* Did the child fail? (This shouldn't happen.) */
6509 || status
6510
6511 /* Did the vfork/compiler bug occur? */
6512 || parent != getpid()
6513
6514 /* Did the file descriptor bug occur? */
6515 || fstat(fileno(stdout), &st) != 0
6516 );
6517 }
6518}
6519EOF
6520if { (eval echo configure:6521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6521then
6522 ac_cv_func_vfork_works=yes
6523else
6524 echo "configure: failed program was:" >&5
6525 cat conftest.$ac_ext >&5
6526 rm -fr conftest*
6527 ac_cv_func_vfork_works=no
6528fi
6529rm -fr conftest*
6530fi
6531
6532fi
6533
6534echo "$ac_t""$ac_cv_func_vfork_works" 1>&6
6535if test $ac_cv_func_vfork_works = no; then
6536 cat >> confdefs.h <<\EOF
6537#define vfork fork
6538EOF
6539
6540fi
6541
6542
6203# Set up the CFLAGS for real compilation, so we can substitute it. 6543# Set up the CFLAGS for real compilation, so we can substitute it.
6204CFLAGS="$REAL_CFLAGS" 6544CFLAGS="$REAL_CFLAGS"
6205 6545
@@ -6454,7 +6794,7 @@ do
6454 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 6794 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
6455 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 6795 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
6456 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 6796 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
6457 echo "$CONFIG_STATUS generated by autoconf version 2.12" 6797 echo "$CONFIG_STATUS generated by autoconf version 2.13"
6458 exit 0 ;; 6798 exit 0 ;;
6459 -help | --help | --hel | --he | --h) 6799 -help | --help | --hel | --he | --h)
6460 echo "\$ac_cs_usage"; exit 0 ;; 6800 echo "\$ac_cs_usage"; exit 0 ;;
@@ -6476,9 +6816,11 @@ sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6476 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 6816 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6477$ac_vpsub 6817$ac_vpsub
6478$extrasub 6818$extrasub
6819s%@SHELL@%$SHELL%g
6479s%@CFLAGS@%$CFLAGS%g 6820s%@CFLAGS@%$CFLAGS%g
6480s%@CPPFLAGS@%$CPPFLAGS%g 6821s%@CPPFLAGS@%$CPPFLAGS%g
6481s%@CXXFLAGS@%$CXXFLAGS%g 6822s%@CXXFLAGS@%$CXXFLAGS%g
6823s%@FFLAGS@%$FFLAGS%g
6482s%@DEFS@%$DEFS%g 6824s%@DEFS@%$DEFS%g
6483s%@LDFLAGS@%$LDFLAGS%g 6825s%@LDFLAGS@%$LDFLAGS%g
6484s%@LIBS@%$LIBS%g 6826s%@LIBS@%$LIBS%g
@@ -6506,6 +6848,7 @@ s%@CC@%$CC%g
6506s%@LN_S@%$LN_S%g 6848s%@LN_S@%$LN_S%g
6507s%@CPP@%$CPP%g 6849s%@CPP@%$CPP%g
6508s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 6850s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6851s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
6509s%@INSTALL_DATA@%$INSTALL_DATA%g 6852s%@INSTALL_DATA@%$INSTALL_DATA%g
6510s%@YACC@%$YACC%g 6853s%@YACC@%$YACC%g
6511s%@SET_MAKE@%$SET_MAKE%g 6854s%@SET_MAKE@%$SET_MAKE%g
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d046759305c..2112726d987 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12000-01-02 Dave Love <fx@gnu.org> 12000-01-02 Dave Love <fx@gnu.org>
2 2
3 * outline.el (outline-mode-menu-bar-map): Add
4 outline-headers-as-kill.
5 (outline-mode): Define imenu-generic-expression.
6 (outline-headers-as-kill): New command.
7
3 * text-mode.el (text-mode): Remove page-delimiter's `^' from 8 * text-mode.el (text-mode): Remove page-delimiter's `^' from
4 paragraph-start. 9 paragraph-start.
5 (paragraph-indent-minor-mode): New command. 10 (paragraph-indent-minor-mode): New command.