"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
xemacs-21.4.22.tar.gz and xemacs-21.4.24.tar.bz2

About: XEmacs (an alternative to GNU Emacs) is a highly customizable open source text editor and application development system (current version).

configure  (xemacs-21.4.22):configure  (xemacs-21.4.24.tar.bz2)
skipping to change at line 1108 skipping to change at line 1108
echo "configure:1120: checking "host system type"" >&5 echo "configure:1120: checking "host system type"" >&5
internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'`
canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"`
configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\) -.*$/\1/'` configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\) -.*$/\1/'`
canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/ '` canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/ '`
echo "$ac_t""$configuration" 1>&6 echo "$ac_t""$configuration" 1>&6
machine='' opsys='' machine='' opsys=''
case "$canonical" in case "$canonical" in
arm-*-* ) machine=arm ;;
sparc-*-* ) machine=sparc ;; sparc-*-* ) machine=sparc ;;
alpha*-*-* ) machine=alpha ;; alpha*-*-* ) machine=alpha ;;
vax-*-* ) machine=vax ;; vax-*-* ) machine=vax ;;
mips-dec-* ) machine=pmax ;; mips-dec-* ) machine=pmax ;;
mips-sgi-irix6* ) machine=iris6d ;; mips-sgi-irix6* ) machine=iris6d ;;
mips-sgi-* ) machine=iris4d ;; mips-sgi-* ) machine=iris4d ;;
mips*-linux ) machine=mips ;; mips*-linux ) machine=mips ;;
romp-ibm-* ) machine=ibmrt ;; romp-ibm-* ) machine=ibmrt ;;
rs6000-ibm-aix* ) machine=ibmrs6000 ;; rs6000-ibm-aix* ) machine=ibmrs6000 ;;
powerpc-ibm-aix* ) machine=ibmrs6000 ;; powerpc-ibm-aix* ) machine=ibmrs6000 ;;
skipping to change at line 1180 skipping to change at line 1181
*-sysv4* | *-sysvr4* ) opsys=usg5-4 ;; *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;;
*-*-mach_bsd4.3* ) opsys=mach-bsd4-3 ;; *-*-mach_bsd4.3* ) opsys=mach-bsd4-3 ;;
esac esac
case "$canonical" in case "$canonical" in
*-*-netbsd* ) *-*-netbsd* )
case "$canonical" in case "$canonical" in
i[3-9]86-*-netbsd*) machine=intel386 ;; i[3-9]86-*-netbsd*) machine=intel386 ;;
hp300-*-netbsd* | amiga-*-netbsd* | sun3-*-netbsd* | mac68k-*-netbsd* | da 30-*-netbsd* | m68k-*-netbsd* ) hp300-*-netbsd* | amiga-*-netbsd* | sun3-*-netbsd* | mac68k-*-netbsd* | da 30-*-netbsd* | m68k-*-netbsd* )
machine=hp9000s300 ;; machine=m68k ;;
pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;;
pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;;
alpha-*-netbsd* ) machine=alpha ;;
esac esac
;; ;;
*-*-openbsd* ) *-*-openbsd* )
case "${canonical}" in case "${canonical}" in
i386-*-openbsd*) machine=intel386 ;; i386-*-openbsd*) machine=intel386 ;;
m68k-*-openbsd*) machine=hp9000s300 ;; m68k-*-openbsd*) machine=hp9000s300 ;;
mipsel-*-openbsd*) machine=pmax ;; mipsel-*-openbsd*) machine=pmax ;;
esac esac
;; ;;
skipping to change at line 1485 skipping to change at line 1487
*-sco3.2v4* ) opsys=sco4 NON_GNU_CPP=/lib/cpp ;; *-sco3.2v4* ) opsys=sco4 NON_GNU_CPP=/lib/cpp ;;
*-bsd386* | *-bsdi1* ) opsys=bsd386 ;; *-bsd386* | *-bsdi1* ) opsys=bsd386 ;;
*-bsdi4* ) opsys=bsdos4 ;; *-bsdi4* ) opsys=bsdos4 ;;
*-bsdi3* ) opsys=bsdos3 ;; *-bsdi3* ) opsys=bsdos3 ;;
*-bsdi2.1* ) opsys=bsdos2-1 ;; *-bsdi2.1* ) opsys=bsdos2-1 ;;
*-bsdi2* ) opsys=bsdos2 ;; *-bsdi2* ) opsys=bsdos2 ;;
*-sco3.2v5* ) opsys=sco5 ;; *-sco3.2v5* ) opsys=sco5 ;;
*-sysv5* ) opsys=sco7 ;; *-sysv5* ) opsys=sco7 ;;
*-386bsd* ) opsys=386bsd ;; *-386bsd* ) opsys=386bsd ;;
*-freebsd* ) opsys=freebsd ;; *-freebsd* ) opsys=freebsd ;;
*-dragonfly* ) opsys=dragonfly ;;
*-nextstep* ) opsys=nextstep ;; *-nextstep* ) opsys=nextstep ;;
*-pc-cygwin* ) opsys=cygwin32 ;; *-pc-cygwin* ) opsys=cygwin32 ;;
*-pc-mingw* ) opsys=mingw32 ; *-pc-mingw* ) opsys=mingw32 ;
test -z "$with_tty" && with_tty="no";; test -z "$with_tty" && with_tty="no";;
esac esac
;; ;;
m68k-*-linux* ) machine=m68k opsys=linux ;; m68k-*-linux* ) machine=m68k opsys=linux ;;
esac esac
skipping to change at line 1628 skipping to change at line 1631
if test "${CFLAGS-unset}" != unset if test "${CFLAGS-unset}" != unset
then cflags_specified=yes; then cflags_specified=yes;
else cflags_specified=no; else cflags_specified=no;
fi fi
xe_save_CFLAGS="$CFLAGS" xe_save_CFLAGS="$CFLAGS"
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2 set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1658: checking for $ac_word" >&5 echo "configure:1661: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_CC="gcc" ac_cv_prog_CC="gcc"
skipping to change at line 1655 skipping to change at line 1658
if test -n "$CC"; then if test -n "$CC"; then
echo "$ac_t""$CC" 1>&6 echo "$ac_t""$CC" 1>&6
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test -z "$CC"; then if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1685: checking for $ac_word" >&5 echo "configure:1688: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_prog_rejected=no ac_prog_rejected=no
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
skipping to change at line 1703 skipping to change at line 1706
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test -z "$CC"; then if test -z "$CC"; then
case "`uname -s`" in case "`uname -s`" in
*win32* | *WIN32*) *win32* | *WIN32*)
# Extract the first word of "cl", so it can be a program name with args. # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2 set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1733: checking for $ac_word" >&5 echo "configure:1736: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_CC="cl" ac_cv_prog_CC="cl"
skipping to change at line 1732 skipping to change at line 1735
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
;; ;;
esac esac
fi fi
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1 >&2; exit 1; } test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1 >&2; exit 1; }
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $a c_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $a c_c" 1>&6
echo "configure:1762: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) wor ks" >&5 echo "configure:1765: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) wor ks" >&5
ac_ext=c ac_ext=c
xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_swit ch_x_site $X_CFLAGS' xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_swit ch_x_site $X_CFLAGS'
xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_sw itch_x_site $ld_switch_run' xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_sw itch_x_site $ld_switch_run'
xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_L IBS $LIBS $libs_machine $libs_system $libs_standard' xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_L IBS $LIBS $libs_machine $libs_system $libs_standard'
ac_cpp='$CPP '"$xe_cppflags" ac_cpp='$CPP '"$xe_cppflags"
ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5'
cross_compiling=no cross_compiling=no
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 1775 "configure" #line 1778 "configure"
#include "confdefs.h" #include "confdefs.h"
main(){return(0);} main(){return(0);}
EOF EOF
if { (eval echo configure:1780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:1783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler. # If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then if (./conftest; exit) 2>/dev/null; then
ac_cv_prog_cc_cross=no ac_cv_prog_cc_cross=no
else else
ac_cv_prog_cc_cross=yes ac_cv_prog_cc_cross=yes
fi fi
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
skipping to change at line 1778 skipping to change at line 1781
ac_cpp='$CPP '"$xe_cppflags" ac_cpp='$CPP '"$xe_cppflags"
ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5'
cross_compiling=no cross_compiling=no
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler ca nnot create executables." 1>&2; exit 1; } { echo "configure: error: installation or configuration problem: C compiler ca nnot create executables." 1>&2; exit 1; }
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-co mpiler""... $ac_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-co mpiler""... $ac_c" 1>&6
echo "configure:1808: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "configure:1811: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1813: checking whether we are using GNU C" >&5 echo "configure:1816: checking whether we are using GNU C" >&5
cat > conftest.c <<EOF cat > conftest.c <<EOF
#ifdef __GNUC__ #ifdef __GNUC__
yes; yes;
#endif #endif
EOF EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes ac_cv_prog_gcc=yes
else else
ac_cv_prog_gcc=no ac_cv_prog_gcc=no
fi fi
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if test $ac_cv_prog_gcc = yes; then if test $ac_cv_prog_gcc = yes; then
GCC=yes GCC=yes
else else
GCC= GCC=
fi fi
ac_test_CFLAGS="${CFLAGS+set}" ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
CFLAGS= CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1838: checking whether ${CC-cc} accepts -g" >&5 echo "configure:1841: checking whether ${CC-cc} accepts -g" >&5
echo 'void f(){}' > conftest.c echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
ac_cv_prog_cc_g=yes ac_cv_prog_cc_g=yes
else else
ac_cv_prog_cc_g=no ac_cv_prog_cc_g=no
fi fi
rm -f conftest* rm -f conftest*
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
skipping to change at line 1840 skipping to change at line 1843
else else
CFLAGS= CFLAGS=
fi fi
fi fi
if test "$with_gcc" = "no" -a "$GCC" = "yes"; then if test "$with_gcc" = "no" -a "$GCC" = "yes"; then
CC=${NON_GNU_CC-cc} CC=${NON_GNU_CC-cc}
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2 set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1871: checking for $ac_word" >&5 echo "configure:1874: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_CC="gcc" ac_cv_prog_CC="gcc"
skipping to change at line 1867 skipping to change at line 1870
if test -n "$CC"; then if test -n "$CC"; then
echo "$ac_t""$CC" 1>&6 echo "$ac_t""$CC" 1>&6
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test -z "$CC"; then if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1898: checking for $ac_word" >&5 echo "configure:1901: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_prog_rejected=no ac_prog_rejected=no
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
skipping to change at line 1915 skipping to change at line 1918
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test -z "$CC"; then if test -z "$CC"; then
case "`uname -s`" in case "`uname -s`" in
*win32* | *WIN32*) *win32* | *WIN32*)
# Extract the first word of "cl", so it can be a program name with args. # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2 set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1946: checking for $ac_word" >&5 echo "configure:1949: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_CC="cl" ac_cv_prog_CC="cl"
skipping to change at line 1944 skipping to change at line 1947
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
;; ;;
esac esac
fi fi
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1 >&2; exit 1; } test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1 >&2; exit 1; }
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $a c_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $a c_c" 1>&6
echo "configure:1975: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) wor ks" >&5 echo "configure:1978: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) wor ks" >&5
ac_ext=c ac_ext=c
xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_swit ch_x_site $X_CFLAGS' xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_swit ch_x_site $X_CFLAGS'
xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_sw itch_x_site $ld_switch_run' xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_sw itch_x_site $ld_switch_run'
xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_L IBS $LIBS $libs_machine $libs_system $libs_standard' xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_L IBS $LIBS $libs_machine $libs_system $libs_standard'
ac_cpp='$CPP '"$xe_cppflags" ac_cpp='$CPP '"$xe_cppflags"
ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5'
cross_compiling=no cross_compiling=no
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 1988 "configure" #line 1991 "configure"
#include "confdefs.h" #include "confdefs.h"
main(){return(0);} main(){return(0);}
EOF EOF
if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler. # If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then if (./conftest; exit) 2>/dev/null; then
ac_cv_prog_cc_cross=no ac_cv_prog_cc_cross=no
else else
ac_cv_prog_cc_cross=yes ac_cv_prog_cc_cross=yes
fi fi
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
skipping to change at line 1990 skipping to change at line 1993
ac_cpp='$CPP '"$xe_cppflags" ac_cpp='$CPP '"$xe_cppflags"
ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5'
cross_compiling=no cross_compiling=no
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler ca nnot create executables." 1>&2; exit 1; } { echo "configure: error: installation or configuration problem: C compiler ca nnot create executables." 1>&2; exit 1; }
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-co mpiler""... $ac_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-co mpiler""... $ac_c" 1>&6
echo "configure:2021: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "configure:2024: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:2026: checking whether we are using GNU C" >&5 echo "configure:2029: checking whether we are using GNU C" >&5
cat > conftest.c <<EOF cat > conftest.c <<EOF
#ifdef __GNUC__ #ifdef __GNUC__
yes; yes;
#endif #endif
EOF EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes ac_cv_prog_gcc=yes
else else
ac_cv_prog_gcc=no ac_cv_prog_gcc=no
fi fi
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if test $ac_cv_prog_gcc = yes; then if test $ac_cv_prog_gcc = yes; then
GCC=yes GCC=yes
else else
GCC= GCC=
fi fi
ac_test_CFLAGS="${CFLAGS+set}" ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
CFLAGS= CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:2051: checking whether ${CC-cc} accepts -g" >&5 echo "configure:2054: checking whether ${CC-cc} accepts -g" >&5
echo 'void f(){}' > conftest.c echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
ac_cv_prog_cc_g=yes ac_cv_prog_cc_g=yes
else else
ac_cv_prog_cc_g=no ac_cv_prog_cc_g=no
fi fi
rm -f conftest* rm -f conftest*
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
skipping to change at line 2052 skipping to change at line 2055
else else
CFLAGS= CFLAGS=
fi fi
fi fi
elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then
CC=gcc CC=gcc
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2 set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2084: checking for $ac_word" >&5 echo "configure:2087: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_CC="gcc" ac_cv_prog_CC="gcc"
skipping to change at line 2079 skipping to change at line 2082
if test -n "$CC"; then if test -n "$CC"; then
echo "$ac_t""$CC" 1>&6 echo "$ac_t""$CC" 1>&6
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test -z "$CC"; then if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2111: checking for $ac_word" >&5 echo "configure:2114: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_prog_rejected=no ac_prog_rejected=no
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
skipping to change at line 2127 skipping to change at line 2130
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test -z "$CC"; then if test -z "$CC"; then
case "`uname -s`" in case "`uname -s`" in
*win32* | *WIN32*) *win32* | *WIN32*)
# Extract the first word of "cl", so it can be a program name with args. # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2 set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2159: checking for $ac_word" >&5 echo "configure:2162: checking for $ac_word" >&5
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_CC="cl" ac_cv_prog_CC="cl"
skipping to change at line 2156 skipping to change at line 2159
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
;; ;;
esac esac
fi fi
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1 >&2; exit 1; } test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1 >&2; exit 1; }
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $a c_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $a c_c" 1>&6
echo "configure:2188: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) wor ks" >&5 echo "configure:2191: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) wor ks" >&5
ac_ext=c ac_ext=c
xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_swit ch_x_site $X_CFLAGS' xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_swit ch_x_site $X_CFLAGS'
xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_sw itch_x_site $ld_switch_run' xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_sw itch_x_site $ld_switch_run'
xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_L IBS $LIBS $libs_machine $libs_system $libs_standard' xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_L IBS $LIBS $libs_machine $libs_system $libs_standard'
ac_cpp='$CPP '"$xe_cppflags" ac_cpp='$CPP '"$xe_cppflags"
ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5'
cross_compiling=no cross_compiling=no
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 2201 "configure" #line 2204 "configure"
#include "confdefs.h" #include "confdefs.h"
main(){return(0);} main(){return(0);}
EOF EOF
if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler. # If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then if (./conftest; exit) 2>/dev/null; then
ac_cv_prog_cc_cross=no ac_cv_prog_cc_cross=no
else else
ac_cv_prog_cc_cross=yes ac_cv_prog_cc_cross=yes
fi fi
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
skipping to change at line 2202 skipping to change at line 2205
ac_cpp='$CPP '"$xe_cppflags" ac_cpp='$CPP '"$xe_cppflags"
ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ ext '"$xe_libs"' 1>&5'
cross_compiling=no cross_compiling=no
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler ca nnot create executables." 1>&2; exit 1; } { echo "configure: error: installation or configuration problem: C compiler ca nnot create executables." 1>&2; exit 1; }
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-co mpiler""... $ac_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-co mpiler""... $ac_c" 1>&6
echo "configure:2234: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "configure:2237: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:2239: checking whether we are using GNU C" >&5 echo "configure:2242: checking whether we are using GNU C" >&5
cat > conftest.c <<EOF cat > conftest.c <<EOF
#ifdef __GNUC__ #ifdef __GNUC__
yes; yes;
#endif #endif
EOF EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes ac_cv_prog_gcc=yes
else else
ac_cv_prog_gcc=no ac_cv_prog_gcc=no
fi fi
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if test $ac_cv_prog_gcc = yes; then if test $ac_cv_prog_gcc = yes; then
GCC=yes GCC=yes
else else
GCC= GCC=
fi fi
ac_test_CFLAGS="${CFLAGS+set}" ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
CFLAGS= CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:2264: checking whether ${CC-cc} accepts -g" >&5 echo "configure:2267: checking whether ${CC-cc} accepts -g" >&5
echo 'void f(){}' > conftest.c echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
ac_cv_prog_cc_g=yes ac_cv_prog_cc_g=yes
else else
ac_cv_prog_cc_g=no ac_cv_prog_cc_g=no
fi fi
rm -f conftest* rm -f conftest*
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
skipping to change at line 2267 skipping to change at line 2270
fi fi
fi fi
CFLAGS="$xe_save_CFLAGS" CFLAGS="$xe_save_CFLAGS"
test -n "$CPP" -a -d "$CPP" && CPP= test -n "$CPP" -a -d "$CPP" && CPP=
test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP"
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:2301: checking how to run the C preprocessor" >&5 echo "configure:2304: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory. # On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then if test -n "$CPP" && test -d "$CPP"; then
CPP= CPP=
fi fi
if test -z "$CPP"; then if test -z "$CPP"; then
# This must be in double quotes, not single quotes, because CPP may get # This must be in double quotes, not single quotes, because CPP may get
# substituted into the Makefile and "${CC-cc}" will confuse make. # substituted into the Makefile and "${CC-cc}" will confuse make.
CPP="${CC-cc} -E" CPP="${CC-cc} -E"
# On the NeXT, cc -E runs the code through the compiler's parser, # On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. # not just through cpp.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2314 "configure" #line 2317 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:2323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp" CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2331 "configure" #line 2334 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:2340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
CPP="${CC-cc} -nologo -E" CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2348 "configure" #line 2351 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:2357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
CPP=/lib/cpp CPP=/lib/cpp
fi fi
skipping to change at line 2344 skipping to change at line 2347
fi fi
rm -f conftest* rm -f conftest*
ac_cv_prog_CPP="$CPP" ac_cv_prog_CPP="$CPP"
CPP="$ac_cv_prog_CPP" CPP="$ac_cv_prog_CPP"
else else
ac_cv_prog_CPP="$CPP" ac_cv_prog_CPP="$CPP"
fi fi
echo "$ac_t""$CPP" 1>&6 echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for AIX""... $ac_c" 1>&6 echo $ac_n "checking for AIX""... $ac_c" 1>&6
echo "configure:2380: checking for AIX" >&5 echo "configure:2383: checking for AIX" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2382 "configure" #line 2385 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef _AIX #ifdef _AIX
yes yes
#endif #endif
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "yes" >/dev/null 2>&1; then egrep "yes" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
skipping to change at line 2371 skipping to change at line 2374
EOF EOF
} }
else else
rm -rf conftest* rm -rf conftest*
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
rm -f conftest* rm -f conftest*
echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6
echo "configure:2409: checking for GNU libc" >&5 echo "configure:2412: checking for GNU libc" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2411 "configure" #line 2414 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <features.h> #include <features.h>
int main() { int main() {
#if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)
#error Not a GNU libc system :-( #error Not a GNU libc system :-(
******* ======= ******** &&&&&&&& ******* ======= ******** &&&&&&&&
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
have_glibc=yes have_glibc=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
have_glibc=no have_glibc=no
fi fi
rm -f conftest* rm -f conftest*
echo "$ac_t""$have_glibc" 1>&6 echo "$ac_t""$have_glibc" 1>&6
skipping to change at line 2461 skipping to change at line 2464
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define _XOPEN_SOURCE_EXTENDED 1 #define _XOPEN_SOURCE_EXTENDED 1
EOF EOF
} }
;; ;;
esac esac
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2500 "configure" #line 2503 "configure"
#include "confdefs.h" #include "confdefs.h"
int main () { int main () {
#if defined __SUNPRO_C #if defined __SUNPRO_C
return 11; return 11;
#elif defined __DECC #elif defined __DECC
return 12; return 12;
#elif defined __USLC__ && defined __SCO_VERSION__ #elif defined __USLC__ && defined __SCO_VERSION__
return 13; return 13;
#elif defined __INTEL_COMPILER #elif defined __INTEL_COMPILER
return 14; return 14;
#else #else
return 0; return 0;
#endif #endif
} }
EOF EOF
if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
: :
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
case "$conftest_rc" in case "$conftest_rc" in
11) echo "You appear to be using the SunPro C compiler." ; __SUNPRO_C=yes ;; 11) echo "You appear to be using the SunPro C compiler." ; __SUNPRO_C=yes ;;
12) echo "You appear to be using the DEC C compiler." ; __DECC=yes ;; 12) echo "You appear to be using the DEC C compiler." ; __DECC=yes ;;
skipping to change at line 2700 skipping to change at line 2703
esac esac
;; ;;
esac esac
test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc"
test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$ext ra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$ext ra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi
if test "$__USLC__" = yes; then if test "$__USLC__" = yes; then
echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac _c" 1>&6 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac _c" 1>&6
echo "configure:2752: checking for whether the -Kalloca compiler flag is needed" >&5 echo "configure:2755: checking for whether the -Kalloca compiler flag is needed" >&5
need_kalloca=no need_kalloca=no
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2755 "configure" #line 2758 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
void *x = alloca(4); void *x = alloca(4);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:2765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
xe_save_c_switch_system="$c_switch_system" xe_save_c_switch_system="$c_switch_system"
c_switch_system="$c_switch_system -Kalloca" c_switch_system="$c_switch_system -Kalloca"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2773 "configure" #line 2776 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
void *x = alloca(4); void *x = alloca(4);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
need_kalloca=yes need_kalloca=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest* rm -f conftest*
c_switch_system="$xe_save_c_switch_system" c_switch_system="$xe_save_c_switch_system"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 2771 skipping to change at line 2774
elif test "$CC" = "xlc"; then elif test "$CC" = "xlc"; then
CFLAGS="-g -O3 -qstrict -qnoansialias -qlibansi -qinfo -qro -qmaxmem=20000" CFLAGS="-g -O3 -qstrict -qnoansialias -qlibansi -qinfo -qro -qmaxmem=20000"
elif test "$__ICC" = "yes"; then elif test "$__ICC" = "yes"; then
CFLAGS="-g -O3 -Ob2 -Wall -W1" CFLAGS="-g -O3 -Ob2 -Wall -W1"
else else
CFLAGS="-O" ; fi CFLAGS="-O" ; fi
fi fi
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6
echo "configure:2823: checking for buggy gcc versions" >&5 echo "configure:2826: checking for buggy gcc versions" >&5
GCC_VERSION=`$CC --version` GCC_VERSION=`$CC --version`
case `uname -s`:`uname -m`:$GCC_VERSION in case `uname -s`:`uname -m`:$GCC_VERSION in
*:sun4*:2.8.1|*:sun4*:egcs-2.90.*) *:sun4*:2.8.1|*:sun4*:egcs-2.90.*)
case "$CFLAGS" in case "$CFLAGS" in
*-O2*|*-O3*) *-O2*|*-O3*)
case "$CFLAGS" in case "$CFLAGS" in
*-fno-schedule-insns*) ;; *-fno-schedule-insns*) ;;
*) *)
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
echo "configure: warning: Don't use -O2 with gcc 2.8.1 a nd egcs 1.0 under SPARC architectures" 1>&2 echo "configure: warning: Don't use -O2 with gcc 2.8.1 a nd egcs 1.0 under SPARC architectures" 1>&2
skipping to change at line 2829 skipping to change at line 2832
esac esac
;; ;;
esac esac
;; ;;
esac esac
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test "$pdump" != "yes"; then if test "$pdump" != "yes"; then
echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6
echo "configure:2881: checking for \"-z nocombreloc\" linker flag" >&5 echo "configure:2884: checking for \"-z nocombreloc\" linker flag" >&5
case "`ld --help 2>&1`" in case "`ld --help 2>&1`" in
*-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbos e" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; f i ;; ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbos e" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; f i ;;
*) echo "$ac_t""no" 1>&6 ;; *) echo "$ac_t""no" 1>&6 ;;
esac esac
fi fi
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
set x $ld_switch_system; shift; ld_switch_system="" set x $ld_switch_system; shift; ld_switch_system=""
while test -n "$1"; do while test -n "$1"; do
skipping to change at line 2916 skipping to change at line 2919
echo " xemacs will be linked with \"$objects_system\"" echo " xemacs will be linked with \"$objects_system\""
fi fi
test -n "$unexec" && test ! "$pdump" = "yes" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then test -n "$unexec" && test ! "$pdump" = "yes" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"$unexec\"" echo " xemacs will be linked with \"$unexec\""
fi fi
test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_v erbose" = "yes"; then test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_v erbose" = "yes"; then
echo " xemacs will be linked with \"dumper.o\"" echo " xemacs will be linked with \"dumper.o\""
fi fi
echo $ac_n "checking for dynodump""... $ac_c" 1>&6 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
echo "configure:2970: checking for dynodump" >&5 echo "configure:2973: checking for dynodump" >&5
if test "$unexec" != "unexsol2.o"; then if test "$unexec" != "unexsol2.o"; then
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
else else
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining DYNODUMP Defining DYNODUMP
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define DYNODUMP 1 #define DYNODUMP 1
EOF EOF
skipping to change at line 2950 skipping to change at line 2953
start_flags="-Wl,-bnso,-bnodelcsect" start_flags="-Wl,-bnso,-bnodelcsect"
test "$GCC" = "yes" && start_flags="-B/bin/ ${start_flags}" test "$GCC" = "yes" && start_flags="-B/bin/ ${start_flags}"
for f in "/lib/syscalls.exp" "/lib/threads.exp"; do for f in "/lib/syscalls.exp" "/lib/threads.exp"; do
if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; fi if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; fi
done done
for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do
if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi
done done
echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6
echo "configure:3006: checking for terminateAndUnload in -lC" >&5 echo "configure:3009: checking for terminateAndUnload in -lC" >&5
ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
xe_check_libs=" -lC " xe_check_libs=" -lC "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3011 "configure" #line 3014 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char terminateAndUnload(); char terminateAndUnload();
int main() { int main() {
terminateAndUnload() terminateAndUnload()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:3025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 3061 skipping to change at line 3064
elif test "$dynamic" = "no"; then add_runtime_path=no elif test "$dynamic" = "no"; then add_runtime_path=no
elif test -n "$LD_RUN_PATH"; then add_runtime_path=yes elif test -n "$LD_RUN_PATH"; then add_runtime_path=yes
else case "$opsys" in else case "$opsys" in
sol2 | irix* | *bsd* | decosf* ) add_runtime_path=yes ;; sol2 | irix* | *bsd* | decosf* ) add_runtime_path=yes ;;
* ) add_runtime_path=no ;; * ) add_runtime_path=no ;;
esac esac
fi fi
if test "$add_runtime_path" = "yes"; then if test "$add_runtime_path" = "yes"; then
echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
echo "configure:3130: checking "for runtime libraries flag"" >&5 echo "configure:3133: checking "for runtime libraries flag"" >&5
case "$opsys" in case "$opsys" in
sol2 ) dash_r="-R" ;; sol2 ) dash_r="-R" ;;
decosf* | linux* | irix*) dash_r="-rpath " ;; decosf* | linux* | irix*) dash_r="-rpath " ;;
*) *)
dash_r="" dash_r=""
for try_dash_r in "-R" "-R " "-rpath "; do for try_dash_r in "-Wl,-R" "-R" "-R " "-rpath "; do
xe_check_libs="${try_dash_r}/no/such/file-or-directory" xe_check_libs="${try_dash_r}/no/such/file-or-directory"
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
set x $xe_check_libs; shift; xe_check_libs="" set x $xe_check_libs; shift; xe_check_libs=""
while test -n "$1"; do while test -n "$1"; do
case $1 in case $1 in
-L | -l | -u ) xe_check_libs="$xe_check_libs $1 $2"; shift ;; -L | -l | -u ) xe_check_libs="$xe_check_libs $1 $2"; shift ;;
-L* | -l* | -u* | -Wl* | -pg ) xe_check_libs="$xe_check_libs $1" ;; -L* | -l* | -u* | -Wl* | -pg ) xe_check_libs="$xe_check_libs $1" ;;
-Xlinker* ) ;; -Xlinker* ) ;;
* ) xe_check_libs="$xe_check_libs -Xlinker $1" ;; * ) xe_check_libs="$xe_check_libs -Xlinker $1" ;;
esac esac
shift shift
done done
fi fi
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3152 "configure" #line 3155 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
dash_r="$try_dash_r" dash_r="$try_dash_r"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
test -n "$dash_r" && break test -n "$dash_r" && break
done ;; done ;;
skipping to change at line 3186 skipping to change at line 3189
fi fi
GNU_MALLOC=yes GNU_MALLOC=yes
if test "$with_dlmalloc" != "no"; then if test "$with_dlmalloc" != "no"; then
doug_lea_malloc=yes doug_lea_malloc=yes
else else
doug_lea_malloc=no doug_lea_malloc=no
fi fi
after_morecore_hook_exists=yes after_morecore_hook_exists=yes
echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
echo "configure:3260: checking for malloc_set_state" >&5 echo "configure:3263: checking for malloc_set_state" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3263 "configure" #line 3266 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char malloc_set_state(); below. */ which can conflict with char malloc_set_state(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char malloc_set_state(); char malloc_set_state();
int main() { int main() {
skipping to change at line 3212 skipping to change at line 3215
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
choke me choke me
#else #else
malloc_set_state(); malloc_set_state();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_malloc_set_state=yes" eval "ac_cv_func_malloc_set_state=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_malloc_set_state=no" eval "ac_cv_func_malloc_set_state=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_func_'malloc_set_state`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'malloc_set_state`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
doug_lea_malloc=no doug_lea_malloc=no
fi fi
echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
echo "configure:3306: checking whether __after_morecore_hook exists" >&5 echo "configure:3309: checking whether __after_morecore_hook exists" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3308 "configure" #line 3311 "configure"
#include "confdefs.h" #include "confdefs.h"
extern void (* __after_morecore_hook)(); extern void (* __after_morecore_hook)();
int main() { int main() {
__after_morecore_hook = 0 __after_morecore_hook = 0
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
after_morecore_hook_exists=no after_morecore_hook_exists=no
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 3294 skipping to change at line 3297
#define _NO_MALLOC_WARNING_ 1 #define _NO_MALLOC_WARNING_ 1
EOF EOF
} }
fi fi
fi fi
# Extract the first word of "ranlib", so it can be a program name with args. # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2 set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:3371: checking for $ac_word" >&5 echo "configure:3374: checking for $ac_word" >&5
if test -n "$RANLIB"; then if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_RANLIB="ranlib" ac_cv_prog_RANLIB="ranlib"
skipping to change at line 3349 skipping to change at line 3352
# incompatible versions: # incompatible versions:
# SysV /etc/install, /usr/sbin/install # SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install # SunOS /usr/etc/install
# IRIX /sbin/install # IRIX /sbin/install
# AIX /bin/install # AIX /bin/install
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args # AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh. # ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:3426: checking for a BSD compatible install" >&5 echo "configure:3429: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then if test -z "$INSTALL"; then
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
for ac_dir in $PATH; do for ac_dir in $PATH; do
# Account for people who put trailing slashes in PATH elements. # Account for people who put trailing slashes in PATH elements.
case "$ac_dir/" in case "$ac_dir/" in
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
*) *)
# OSF1 and SCO ODT 3.0 have their own names for install. # OSF1 and SCO ODT 3.0 have their own names for install.
# Don't use installbsd from OSF since it installs stuff as root # Don't use installbsd from OSF since it installs stuff as root
skipping to change at line 3403 skipping to change at line 3406
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
for ac_prog in 'bison -y' byacc for ac_prog in 'bison -y' byacc
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:3480: checking for $ac_word" >&5 echo "configure:3483: checking for $ac_word" >&5
if test -n "$YACC"; then if test -n "$YACC"; then
ac_cv_prog_YACC="$YACC" # Let the user override the test. ac_cv_prog_YACC="$YACC" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_YACC="$ac_prog" ac_cv_prog_YACC="$ac_prog"
skipping to change at line 3434 skipping to change at line 3437
fi fi
test -n "$YACC" && break test -n "$YACC" && break
done done
test -n "$YACC" || YACC="yacc" test -n "$YACC" || YACC="yacc"
for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libg en.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/tim eb.h sys/un.h ulimit.h unistd.h for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libg en.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/tim eb.h sys/un.h ulimit.h unistd.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3512: checking for $ac_hdr" >&5 echo "configure:3515: checking for $ac_hdr" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3515 "configure" #line 3518 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 3472 skipping to change at line 3475
#define $ac_tr_hdr 1 #define $ac_tr_hdr 1
EOF EOF
} }
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
echo "configure:3550: checking for sys/wait.h that is POSIX.1 compatible" >&5 echo "configure:3553: checking for sys/wait.h that is POSIX.1 compatible" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3553 "configure" #line 3556 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#ifndef WEXITSTATUS #ifndef WEXITSTATUS
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif #endif
#ifndef WIFEXITED #ifndef WIFEXITED
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif #endif
int main() { int main() {
int s; int s;
wait (&s); wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_sys_wait_h=yes ac_cv_header_sys_wait_h=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_header_sys_wait_h=no ac_cv_header_sys_wait_h=no
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 3515 skipping to change at line 3518
Defining HAVE_SYS_WAIT_H Defining HAVE_SYS_WAIT_H
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_SYS_WAIT_H 1 #define HAVE_SYS_WAIT_H 1
EOF EOF
} }
fi fi
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:3593: checking for ANSI C header files" >&5 echo "configure:3596: checking for ANSI C header files" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3596 "configure" #line 3599 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_stdc=yes ac_cv_header_stdc=yes
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f conftest* rm -f conftest*
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3621 "configure" #line 3624 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <string.h> #include <string.h>
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "memchr" >/dev/null 2>&1; then egrep "memchr" >/dev/null 2>&1; then
: :
else else
rm -rf conftest* rm -rf conftest*
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f conftest* rm -f conftest*
fi fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3639 "configure" #line 3642 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "free" >/dev/null 2>&1; then egrep "free" >/dev/null 2>&1; then
: :
else else
rm -rf conftest* rm -rf conftest*
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f conftest* rm -f conftest*
fi fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3657 "configure" #line 3660 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ctype.h> #include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++) int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); } exit (0); }
EOF EOF
if { (eval echo configure:3668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
: :
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -fr conftest* rm -fr conftest*
skipping to change at line 3616 skipping to change at line 3619
Defining STDC_HEADERS Defining STDC_HEADERS
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define STDC_HEADERS 1 #define STDC_HEADERS 1
EOF EOF
} }
fi fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac _c" 1>&6 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac _c" 1>&6
echo "configure:3694: checking whether time.h and sys/time.h may both be include d" >&5 echo "configure:3697: checking whether time.h and sys/time.h may both be include d" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3697 "configure" #line 3700 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <time.h> #include <time.h>
int main() { int main() {
struct tm *tp; struct tm *tp;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_time=yes ac_cv_header_time=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_header_time=no ac_cv_header_time=no
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 3652 skipping to change at line 3655
Defining TIME_WITH_SYS_TIME Defining TIME_WITH_SYS_TIME
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define TIME_WITH_SYS_TIME 1 #define TIME_WITH_SYS_TIME 1
EOF EOF
} }
fi fi
echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $a c_c" 1>&6 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $a c_c" 1>&6
echo "configure:3730: checking for sys_siglist declaration in signal.h or unistd .h" >&5 echo "configure:3733: checking for sys_siglist declaration in signal.h or unistd .h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3733 "configure" #line 3736 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <signal.h> #include <signal.h>
/* NetBSD declares sys_siglist in unistd.h. */ /* NetBSD declares sys_siglist in unistd.h. */
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
int main() { int main() {
char *msg = *(sys_siglist + 1); char *msg = *(sys_siglist + 1);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_decl_sys_siglist=yes ac_cv_decl_sys_siglist=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_decl_sys_siglist=no ac_cv_decl_sys_siglist=no
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 3691 skipping to change at line 3694
Defining SYS_SIGLIST_DECLARED Defining SYS_SIGLIST_DECLARED
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define SYS_SIGLIST_DECLARED 1 #define SYS_SIGLIST_DECLARED 1
EOF EOF
} }
fi fi
echo $ac_n "checking for utime""... $ac_c" 1>&6 echo $ac_n "checking for utime""... $ac_c" 1>&6
echo "configure:3771: checking for utime" >&5 echo "configure:3774: checking for utime" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3773 "configure" #line 3776 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <utime.h> #include <utime.h>
int main() { int main() {
struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_UTIME Defining HAVE_UTIME
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_UTIME 1 #define HAVE_UTIME 1
EOF EOF
} }
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
for ac_func in utimes for ac_func in utimes
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3800: checking for $ac_func" >&5 echo "configure:3803: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3803 "configure" #line 3806 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 3746 skipping to change at line 3749
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 3777 skipping to change at line 3780
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
fi fi
rm -f conftest* rm -f conftest*
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:3858: checking return type of signal handlers" >&5 echo "configure:3861: checking return type of signal handlers" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3861 "configure" #line 3864 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <signal.h> #include <signal.h>
#ifdef signal #ifdef signal
#undef signal #undef signal
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" void (*signal (int, void (*)(int)))(int); extern "C" void (*signal (int, void (*)(int)))(int);
#else #else
void (*signal ()) (); void (*signal ()) ();
#endif #endif
int main() { int main() {
int i; int i;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_type_signal=void ac_cv_type_signal=void
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_type_signal=int ac_cv_type_signal=int
fi fi
rm -f conftest* rm -f conftest*
echo "$ac_t""$ac_cv_type_signal" 1>&6 echo "$ac_t""$ac_cv_type_signal" 1>&6
{ test "$extra_verbose" = "yes" && cat << EOF { test "$extra_verbose" = "yes" && cat << EOF
Defining RETSIGTYPE = $ac_cv_type_signal Defining RETSIGTYPE = $ac_cv_type_signal
EOF EOF
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define RETSIGTYPE $ac_cv_type_signal #define RETSIGTYPE $ac_cv_type_signal
EOF EOF
} }
echo $ac_n "checking for size_t""... $ac_c" 1>&6 echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:3900: checking for size_t" >&5 echo "configure:3903: checking for size_t" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3903 "configure" #line 3906 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#endif #endif
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
skipping to change at line 3852 skipping to change at line 3855
Defining size_t = unsigned Defining size_t = unsigned
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define size_t unsigned #define size_t unsigned
EOF EOF
} }
fi fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
echo "configure:3934: checking for pid_t" >&5 echo "configure:3937: checking for pid_t" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3937 "configure" #line 3940 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#endif #endif
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
skipping to change at line 3886 skipping to change at line 3889
Defining pid_t = int Defining pid_t = int
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define pid_t int #define pid_t int
EOF EOF
} }
fi fi
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
echo "configure:3968: checking for uid_t in sys/types.h" >&5 echo "configure:3971: checking for uid_t in sys/types.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3971 "configure" #line 3974 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "uid_t" >/dev/null 2>&1; then egrep "uid_t" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
ac_cv_type_uid_t=yes ac_cv_type_uid_t=yes
else else
rm -rf conftest* rm -rf conftest*
ac_cv_type_uid_t=no ac_cv_type_uid_t=no
skipping to change at line 3924 skipping to change at line 3927
Defining gid_t = int Defining gid_t = int
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define gid_t int #define gid_t int
EOF EOF
} }
fi fi
echo $ac_n "checking for mode_t""... $ac_c" 1>&6 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
echo "configure:4007: checking for mode_t" >&5 echo "configure:4010: checking for mode_t" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4010 "configure" #line 4013 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#endif #endif
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
skipping to change at line 3958 skipping to change at line 3961
Defining mode_t = int Defining mode_t = int
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define mode_t int #define mode_t int
EOF EOF
} }
fi fi
echo $ac_n "checking for off_t""... $ac_c" 1>&6 echo $ac_n "checking for off_t""... $ac_c" 1>&6
echo "configure:4041: checking for off_t" >&5 echo "configure:4044: checking for off_t" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4044 "configure" #line 4047 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#endif #endif
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
skipping to change at line 3992 skipping to change at line 3995
Defining off_t = long Defining off_t = long
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define off_t long #define off_t long
EOF EOF
} }
fi fi
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
echo "configure:4075: checking for ssize_t" >&5 echo "configure:4078: checking for ssize_t" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4078 "configure" #line 4081 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#endif #endif
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
skipping to change at line 4026 skipping to change at line 4029
Defining ssize_t = int Defining ssize_t = int
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define ssize_t int #define ssize_t int
EOF EOF
} }
fi fi
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
echo "configure:4110: checking for socklen_t" >&5 echo "configure:4113: checking for socklen_t" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4112 "configure" #line 4115 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
socklen_t x; socklen_t x;
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4131 "configure" #line 4134 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
int accept (int, struct sockaddr *, size_t *); int accept (int, struct sockaddr *, size_t *);
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""size_t" 1>&6 echo "$ac_t""size_t" 1>&6
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining socklen_t = size_t Defining socklen_t = size_t
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define socklen_t size_t #define socklen_t size_t
EOF EOF
} }
skipping to change at line 4089 skipping to change at line 4092
#define socklen_t int #define socklen_t int
EOF EOF
} }
fi fi
rm -f conftest* rm -f conftest*
fi fi
rm -f conftest* rm -f conftest*
echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
echo "configure:4173: checking for struct timeval" >&5 echo "configure:4176: checking for struct timeval" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4175 "configure" #line 4178 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef TIME_WITH_SYS_TIME #ifdef TIME_WITH_SYS_TIME
#include <sys/time.h> #include <sys/time.h>
#include <time.h> #include <time.h>
#else #else
#ifdef HAVE_SYS_TIME_H #ifdef HAVE_SYS_TIME_H
#include <sys/time.h> #include <sys/time.h>
#else #else
#include <time.h> #include <time.h>
#endif #endif
#endif #endif
int main() { int main() {
static struct timeval x; x.tv_sec = x.tv_usec; static struct timeval x; x.tv_sec = x.tv_usec;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
HAVE_TIMEVAL=yes HAVE_TIMEVAL=yes
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_TIMEVAL Defining HAVE_TIMEVAL
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_TIMEVAL 1 #define HAVE_TIMEVAL 1
EOF EOF
} }
skipping to change at line 4129 skipping to change at line 4132
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
HAVE_TIMEVAL=no HAVE_TIMEVAL=no
fi fi
rm -f conftest* rm -f conftest*
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1> &6 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1> &6
echo "configure:4213: checking whether struct tm is in sys/time.h or time.h" >&5 echo "configure:4216: checking whether struct tm is in sys/time.h or time.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4216 "configure" #line 4219 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <time.h> #include <time.h>
int main() { int main() {
struct tm *tp; tp->tm_sec; struct tm *tp; tp->tm_sec;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tm=time.h ac_cv_struct_tm=time.h
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tm=sys/time.h ac_cv_struct_tm=sys/time.h
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 4164 skipping to change at line 4167
Defining TM_IN_SYS_TIME Defining TM_IN_SYS_TIME
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define TM_IN_SYS_TIME 1 #define TM_IN_SYS_TIME 1
EOF EOF
} }
fi fi
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
echo "configure:4248: checking for tm_zone in struct tm" >&5 echo "configure:4251: checking for tm_zone in struct tm" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4251 "configure" #line 4254 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <$ac_cv_struct_tm> #include <$ac_cv_struct_tm>
int main() { int main() {
struct tm tm; tm.tm_zone; struct tm tm; tm.tm_zone;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tm_zone=yes ac_cv_struct_tm_zone=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tm_zone=no ac_cv_struct_tm_zone=no
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 4198 skipping to change at line 4201
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_TM_ZONE Defining HAVE_TM_ZONE
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_TM_ZONE 1 #define HAVE_TM_ZONE 1
EOF EOF
} }
else else
echo $ac_n "checking for tzname""... $ac_c" 1>&6 echo $ac_n "checking for tzname""... $ac_c" 1>&6
echo "configure:4282: checking for tzname" >&5 echo "configure:4285: checking for tzname" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4285 "configure" #line 4288 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <time.h> #include <time.h>
#ifndef tzname /* For SGI. */ #ifndef tzname /* For SGI. */
extern char *tzname[]; /* RS6000 and others reject char **tzname. */ extern char *tzname[]; /* RS6000 and others reject char **tzname. */
#endif #endif
int main() { int main() {
atoi(*tzname); atoi(*tzname);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_var_tzname=yes ac_cv_var_tzname=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_var_tzname=no ac_cv_var_tzname=no
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 4236 skipping to change at line 4239
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_TZNAME 1 #define HAVE_TZNAME 1
EOF EOF
} }
fi fi
fi fi
echo $ac_n "checking for working const""... $ac_c" 1>&6 echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:4321: checking for working const" >&5 echo "configure:4324: checking for working const" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4324 "configure" #line 4327 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
/* Ultrix mips cc rejects this. */ /* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x; typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */ /* SunOS 4.1.1 cc rejects this. */
char const *const *ccp; char const *const *ccp;
char **p; char **p;
/* NEC SVR4.0.2 mips cc rejects this. */ /* NEC SVR4.0.2 mips cc rejects this. */
skipping to change at line 4288 skipping to change at line 4291
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
struct s { int j; const int *ap[3]; }; struct s { int j; const int *ap[3]; };
struct s *b; b->j = 5; struct s *b; b->j = 5;
} }
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
const int foo = 10; const int foo = 10;
} }
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c_const=yes ac_cv_c_const=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_c_const=no ac_cv_c_const=no
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 4312 skipping to change at line 4315
Defining const = Defining const =
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define const #define const
EOF EOF
} }
fi fi
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:4398: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo "configure:4401: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
cat > conftestmake <<\EOF cat > conftestmake <<\EOF
all: all:
@echo 'ac_maketemp="${MAKE}"' @echo 'ac_maketemp="${MAKE}"'
EOF EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then if test -n "$ac_maketemp"; then
eval ac_cv_prog_make_${ac_make}_set=yes eval ac_cv_prog_make_${ac_make}_set=yes
skipping to change at line 4336 skipping to change at line 4339
rm -f conftestmake rm -f conftestmake
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
SET_MAKE= SET_MAKE=
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
SET_MAKE="MAKE=${MAKE-make}" SET_MAKE="MAKE=${MAKE-make}"
fi fi
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:4423: checking whether byte ordering is bigendian" >&5 echo "configure:4426: checking whether byte ordering is bigendian" >&5
ac_cv_c_bigendian=unknown ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro. # See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4428 "configure" #line 4431 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
int main() { int main() {
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros bogus endian macros
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not. # It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4443 "configure" #line 4446 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
int main() { int main() {
#if BYTE_ORDER != BIG_ENDIAN #if BYTE_ORDER != BIG_ENDIAN
not big endian not big endian
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c_bigendian=yes ac_cv_c_bigendian=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_cv_c_bigendian=no ac_cv_c_bigendian=no
fi fi
rm -f conftest* rm -f conftest*
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest* rm -f conftest*
if test $ac_cv_c_bigendian = unknown; then if test $ac_cv_c_bigendian = unknown; then
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4471 "configure" #line 4474 "configure"
#include "confdefs.h" #include "confdefs.h"
main () { main () {
/* Are we little or big endian? From Harbison&Steele. */ /* Are we little or big endian? From Harbison&Steele. */
union union
{ {
long l; long l;
char c[sizeof (long)]; char c[sizeof (long)];
} u; } u;
u.l = 1; u.l = 1;
exit (u.c[sizeof (long) - 1] == 1); exit (u.c[sizeof (long) - 1] == 1);
} }
EOF EOF
if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
ac_cv_c_bigendian=no ac_cv_c_bigendian=no
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
ac_cv_c_bigendian=yes ac_cv_c_bigendian=yes
fi fi
rm -fr conftest* rm -fr conftest*
skipping to change at line 4423 skipping to change at line 4426
Defining WORDS_BIGENDIAN Defining WORDS_BIGENDIAN
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define WORDS_BIGENDIAN 1 #define WORDS_BIGENDIAN 1
EOF EOF
} }
fi fi
echo $ac_n "checking size of short""... $ac_c" 1>&6 echo $ac_n "checking size of short""... $ac_c" 1>&6
echo "configure:4511: checking size of short" >&5 echo "configure:4514: checking size of short" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4514 "configure" #line 4517 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
if (!f) exit(1); if (!f) exit(1);
fprintf(f, "%d\n", sizeof(short)); fprintf(f, "%d\n", sizeof(short));
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
ac_cv_sizeof_short=`cat conftestval` ac_cv_sizeof_short=`cat conftestval`
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
ac_cv_sizeof_short=0 ac_cv_sizeof_short=0
fi fi
rm -fr conftest* rm -fr conftest*
skipping to change at line 4464 skipping to change at line 4468
EOF EOF
} }
if test "$ac_cv_sizeof_short" = 0; then if test "$ac_cv_sizeof_short" = 0; then
echo "" echo ""
echo "*** PANIC *** Configure tests are not working - compiler is broken." echo "*** PANIC *** Configure tests are not working - compiler is broken."
echo "*** PANIC *** Please examine config.log for compilation errors." echo "*** PANIC *** Please examine config.log for compilation errors."
exit 1 exit 1
fi fi
echo $ac_n "checking size of int""... $ac_c" 1>&6 echo $ac_n "checking size of int""... $ac_c" 1>&6
echo "configure:4553: checking size of int" >&5 echo "configure:4557: checking size of int" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4556 "configure" #line 4560 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
if (!f) exit(1); if (!f) exit(1);
fprintf(f, "%d\n", sizeof(int)); fprintf(f, "%d\n", sizeof(int));
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
ac_cv_sizeof_int=`cat conftestval` ac_cv_sizeof_int=`cat conftestval`
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
ac_cv_sizeof_int=0 ac_cv_sizeof_int=0
fi fi
rm -fr conftest* rm -fr conftest*
echo "$ac_t""$ac_cv_sizeof_int" 1>&6 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
{ test "$extra_verbose" = "yes" && cat << EOF { test "$extra_verbose" = "yes" && cat << EOF
Defining SIZEOF_INT = $ac_cv_sizeof_int Defining SIZEOF_INT = $ac_cv_sizeof_int
EOF EOF
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define SIZEOF_INT $ac_cv_sizeof_int #define SIZEOF_INT $ac_cv_sizeof_int
EOF EOF
} }
echo $ac_n "checking size of long""... $ac_c" 1>&6 echo $ac_n "checking size of long""... $ac_c" 1>&6
echo "configure:4589: checking size of long" >&5 echo "configure:4594: checking size of long" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4592 "configure" #line 4597 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
if (!f) exit(1); if (!f) exit(1);
fprintf(f, "%d\n", sizeof(long)); fprintf(f, "%d\n", sizeof(long));
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
ac_cv_sizeof_long=`cat conftestval` ac_cv_sizeof_long=`cat conftestval`
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
ac_cv_sizeof_long=0 ac_cv_sizeof_long=0
fi fi
rm -fr conftest* rm -fr conftest*
echo "$ac_t""$ac_cv_sizeof_long" 1>&6 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
{ test "$extra_verbose" = "yes" && cat << EOF { test "$extra_verbose" = "yes" && cat << EOF
Defining SIZEOF_LONG = $ac_cv_sizeof_long Defining SIZEOF_LONG = $ac_cv_sizeof_long
EOF EOF
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define SIZEOF_LONG $ac_cv_sizeof_long #define SIZEOF_LONG $ac_cv_sizeof_long
EOF EOF
} }
echo $ac_n "checking size of long long""... $ac_c" 1>&6 echo $ac_n "checking size of long long""... $ac_c" 1>&6
echo "configure:4625: checking size of long long" >&5 echo "configure:4631: checking size of long long" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4628 "configure" #line 4634 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
if (!f) exit(1); if (!f) exit(1);
fprintf(f, "%d\n", sizeof(long long)); fprintf(f, "%d\n", sizeof(long long));
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
ac_cv_sizeof_long_long=`cat conftestval` ac_cv_sizeof_long_long=`cat conftestval`
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
ac_cv_sizeof_long_long=0 ac_cv_sizeof_long_long=0
fi fi
rm -fr conftest* rm -fr conftest*
echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
{ test "$extra_verbose" = "yes" && cat << EOF { test "$extra_verbose" = "yes" && cat << EOF
Defining SIZEOF_LONG_LONG = $ac_cv_sizeof_long_long Defining SIZEOF_LONG_LONG = $ac_cv_sizeof_long_long
EOF EOF
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
EOF EOF
} }
echo $ac_n "checking size of void *""... $ac_c" 1>&6 echo $ac_n "checking size of void *""... $ac_c" 1>&6
echo "configure:4661: checking size of void *" >&5 echo "configure:4668: checking size of void *" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4664 "configure" #line 4671 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
if (!f) exit(1); if (!f) exit(1);
fprintf(f, "%d\n", sizeof(void *)); fprintf(f, "%d\n", sizeof(void *));
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
ac_cv_sizeof_void_p=`cat conftestval` ac_cv_sizeof_void_p=`cat conftestval`
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
ac_cv_sizeof_void_p=0 ac_cv_sizeof_void_p=0
fi fi
rm -fr conftest* rm -fr conftest*
skipping to change at line 4605 skipping to change at line 4613
{ test "$extra_verbose" = "yes" && cat << EOF { test "$extra_verbose" = "yes" && cat << EOF
Defining SIZEOF_VOID_P = $ac_cv_sizeof_void_p Defining SIZEOF_VOID_P = $ac_cv_sizeof_void_p
EOF EOF
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
EOF EOF
} }
case $opsys in case $opsys in
cygwin* ) cat > conftest.$ac_ext <<EOF cygwin* ) cat > conftest.$ac_ext <<EOF
#line 4699 "configure" #line 4707 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <cygwin/types.h> #include <cygwin/types.h>
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "typedef.*intptr_t;" >/dev/null 2>&1; then egrep "typedef.*intptr_t;" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining INTPTR_T_IN_CYGWIN_TYPES_H = 1 Defining INTPTR_T_IN_CYGWIN_TYPES_H = 1
EOF EOF
skipping to change at line 4630 skipping to change at line 4638
else else
rm -rf conftest* rm -rf conftest*
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
rm -f conftest* rm -f conftest*
;; ;;
esac esac
echo $ac_n "checking for long file names""... $ac_c" 1>&6 echo $ac_n "checking for long file names""... $ac_c" 1>&6
echo "configure:4724: checking for long file names" >&5 echo "configure:4732: checking for long file names" >&5
ac_cv_sys_long_file_names=yes ac_cv_sys_long_file_names=yes
# Test for long file names in all the places we know might matter: # Test for long file names in all the places we know might matter:
# . the current directory, where building will happen # . the current directory, where building will happen
# $prefix/lib where we will be installing things # $prefix/lib where we will be installing things
# $exec_prefix/lib likewise # $exec_prefix/lib likewise
# eval it to expand exec_prefix. # eval it to expand exec_prefix.
# $TMPDIR if set, where it might want to write temporary files # $TMPDIR if set, where it might want to write temporary files
# if $TMPDIR is not set: # if $TMPDIR is not set:
# /tmp where it might want to write temporary files # /tmp where it might want to write temporary files
skipping to change at line 4675 skipping to change at line 4683
Defining HAVE_LONG_FILE_NAMES Defining HAVE_LONG_FILE_NAMES
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_LONG_FILE_NAMES 1 #define HAVE_LONG_FILE_NAMES 1
EOF EOF
} }
fi fi
echo $ac_n "checking for sin""... $ac_c" 1>&6 echo $ac_n "checking for sin""... $ac_c" 1>&6
echo "configure:4770: checking for sin" >&5 echo "configure:4778: checking for sin" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4773 "configure" #line 4781 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sin(); below. */ which can conflict with char sin(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char sin(); char sin();
int main() { int main() {
skipping to change at line 4701 skipping to change at line 4709
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_sin) || defined (__stub___sin) #if defined (__stub_sin) || defined (__stub___sin)
choke me choke me
#else #else
sin(); sin();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:4804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_sin=yes" eval "ac_cv_func_sin=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_sin=no" eval "ac_cv_func_sin=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_func_'sin`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'sin`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
echo "configure:4814: checking for sin in -lm" >&5 echo "configure:4822: checking for sin in -lm" >&5
ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
xe_check_libs=" -lm " xe_check_libs=" -lm "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4819 "configure" #line 4827 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char sin(); char sin();
int main() { int main() {
sin() sin()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:4838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 4776 skipping to change at line 4784
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining LISP_FLOAT_TYPE Defining LISP_FLOAT_TYPE
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define LISP_FLOAT_TYPE 1 #define LISP_FLOAT_TYPE 1
EOF EOF
} }
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4874 "configure" #line 4882 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <math.h> #include <math.h>
int main() { int main() {
return atanh(1.0) + asinh(1.0) + acosh(1.0); return atanh(1.0) + asinh(1.0) + acosh(1.0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_INVERSE_HYPERBOLIC Defining HAVE_INVERSE_HYPERBOLIC
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_INVERSE_HYPERBOLIC 1 #define HAVE_INVERSE_HYPERBOLIC 1
EOF EOF
} }
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
fi fi
rm -f conftest* rm -f conftest*
echo "checking type of mail spool file locking" 1>&6 echo "checking type of mail spool file locking" 1>&6
echo "configure:4898: checking type of mail spool file locking" >&5 echo "configure:4906: checking type of mail spool file locking" >&5
for ac_func in lockf flock for ac_func in lockf flock
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4902: checking for $ac_func" >&5 echo "configure:4910: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4905 "configure" #line 4913 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 4830 skipping to change at line 4838
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 4912 skipping to change at line 4920
test "$mail_locking" = "lockf" -a "$ac_cv_func_lockf" != "yes" && \ test "$mail_locking" = "lockf" -a "$ac_cv_func_lockf" != "yes" && \
{ echo "Error:" "lockf mail locking requested but not available." >&2; exit 1; } { echo "Error:" "lockf mail locking requested but not available." >&2; exit 1; }
test "$mail_locking" = "flock" -a "$ac_cv_func_flock" != "yes" && \ test "$mail_locking" = "flock" -a "$ac_cv_func_flock" != "yes" && \
{ echo "Error:" "flock mail locking requested but not available." >&2; exit 1; } { echo "Error:" "flock mail locking requested but not available." >&2; exit 1; }
test "$mail_locking" = "locking" -a "$ac_cv_func_locking" != "yes" && \ test "$mail_locking" = "locking" -a "$ac_cv_func_locking" != "yes" && \
{ echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
case "$opsys" in decosf*) case "$opsys" in decosf*)
echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
echo "configure:5010: checking for cma_open in -lpthreads" >&5 echo "configure:5018: checking for cma_open in -lpthreads" >&5
ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
xe_check_libs=" -lpthreads " xe_check_libs=" -lpthreads "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5015 "configure" #line 5023 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char cma_open(); char cma_open();
int main() { int main() {
cma_open() cma_open()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 4963 skipping to change at line 4971
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ test "$ac_cv_lib_pthreads_cma_open" = "yes" && \
c_switch_site="$c_switch_site -threads" ;; c_switch_site="$c_switch_site -threads" ;;
esac esac
echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
echo "configure:5063: checking whether the -xildoff compiler flag is required" > &5 echo "configure:5071: checking whether the -xildoff compiler flag is required" > &5
if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/nu ll ; then if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/nu ll ; then
if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/nu ll ; if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/nu ll ;
then echo "$ac_t""no" 1>&6; then echo "$ac_t""no" 1>&6;
else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && i f test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_s witch_site"; fi else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && i f test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_s witch_site"; fi
fi fi
else echo "$ac_t""no" 1>&6 else echo "$ac_t""no" 1>&6
fi fi
if test "$opsys" = "sol2"; then if test "$opsys" = "sol2"; then
if test "$os_release" -ge 506; then if test "$os_release" -ge 506; then
echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
echo "configure:5075: checking for \"-z ignore\" linker flag" >&5 echo "configure:5083: checking for \"-z ignore\" linker flag" >&5
case "`ld -h 2>&1`" in case "`ld -h 2>&1`" in
*-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
*) echo "$ac_t""no" 1>&6 ;; *) echo "$ac_t""no" 1>&6 ;;
esac esac
fi fi
fi fi
echo "checking "for specified window system"" 1>&6 echo "checking "for specified window system"" 1>&6
echo "configure:5086: checking "for specified window system"" >&5 echo "configure:5094: checking "for specified window system"" >&5
GNOME_CONFIG=no GNOME_CONFIG=no
GTK_CONFIG=no GTK_CONFIG=no
if test "$with_gnome" != "no"; then if test "$with_gnome" != "no"; then
echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
echo "configure:5094: checking for GNOME configuration script" >&5 echo "configure:5102: checking for GNOME configuration script" >&5
for possible in gnome-config for possible in gnome-config
do do
possible_version=`${possible} --version 2> /dev/null` possible_version=`${possible} --version 2> /dev/null`
if test "x${possible_version}" != "x"; then if test "x${possible_version}" != "x"; then
GNOME_CONFIG="${possible}" GNOME_CONFIG="${possible}"
with_gnome=yes with_gnome=yes
with_gtk=yes with_gtk=yes
break break
fi fi
done done
skipping to change at line 5023 skipping to change at line 5031
#define HAVE_GNOME 1 #define HAVE_GNOME 1
EOF EOF
} }
libs_gtk="$libs_gtk ${GNOME_LIBS}" && if test "$extra_verbose" = "yes"; t hen echo " Appending \"${GNOME_LIBS}\" to \$libs_gtk"; fi libs_gtk="$libs_gtk ${GNOME_LIBS}" && if test "$extra_verbose" = "yes"; t hen echo " Appending \"${GNOME_LIBS}\" to \$libs_gtk"; fi
c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
fi fi
if test "$with_gtk" != "no";then if test "$with_gtk" != "no";then
echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
echo "configure:5125: checking for GTK configuration script" >&5 echo "configure:5133: checking for GTK configuration script" >&5
for possible in gtk12-config gtk14-config gtk-config for possible in gtk12-config gtk14-config gtk-config
do do
possible_version=`${possible} --version 2> /dev/null` possible_version=`${possible} --version 2> /dev/null`
if test "x${possible_version}" != "x"; then if test "x${possible_version}" != "x"; then
GTK_CONFIG="${possible}" GTK_CONFIG="${possible}"
case "${possible_version}" in case "${possible_version}" in
1.0.*) echo "configure: warning: GTK 1.2 is required, please upgr ade your version of GTK." 1>&2; with_gtk=no;; 1.0.*) echo "configure: warning: GTK 1.2 is required, please upgr ade your version of GTK." 1>&2; with_gtk=no;;
1.3.*) echo "configure: warning: GTK 1.3 is not supported right n ow" 1>&2; with_gtk=no;; 1.3.*) echo "configure: warning: GTK 1.3 is not supported right n ow" 1>&2; with_gtk=no;;
1.2.*) 1.2.*)
with_gtk=yes with_gtk=yes
skipping to change at line 5045 skipping to change at line 5053
;; ;;
*) echo "configure: warning: Found unsupported version of GTK : $possible_version" 1>&2;; *) echo "configure: warning: Found unsupported version of GTK : $possible_version" 1>&2;;
esac esac
fi fi
done done
echo "$ac_t""${GTK_CONFIG}" 1>&6 echo "$ac_t""${GTK_CONFIG}" 1>&6
fi fi
if test "${GTK_CONFIG}" != "no"; then if test "${GTK_CONFIG}" != "no"; then
echo $ac_n "checking gtk version""... $ac_c" 1>&6 echo $ac_n "checking gtk version""... $ac_c" 1>&6
echo "configure:5147: checking gtk version" >&5 echo "configure:5155: checking gtk version" >&5
GTK_VERSION=`${GTK_CONFIG} --version` GTK_VERSION=`${GTK_CONFIG} --version`
echo "$ac_t""${GTK_VERSION}" 1>&6 echo "$ac_t""${GTK_VERSION}" 1>&6
echo $ac_n "checking gtk libs""... $ac_c" 1>&6 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
echo "configure:5152: checking gtk libs" >&5 echo "configure:5160: checking gtk libs" >&5
GTK_LIBS=`${GTK_CONFIG} --libs` GTK_LIBS=`${GTK_CONFIG} --libs`
libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; the n echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; the n echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
echo "$ac_t""${GTK_LIBS}" 1>&6 echo "$ac_t""${GTK_LIBS}" 1>&6
echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
echo "configure:5158: checking gtk cflags" >&5 echo "configure:5166: checking gtk cflags" >&5
GTK_CFLAGS=`${GTK_CONFIG} --cflags` GTK_CFLAGS=`${GTK_CONFIG} --cflags`
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
fi fi
c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
echo "$ac_t""${GTK_CFLAGS}" 1>&6 echo "$ac_t""${GTK_CFLAGS}" 1>&6
echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
echo "configure:5168: checking for main in -lgdk_imlib" >&5 echo "configure:5176: checking for main in -lgdk_imlib" >&5
ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
xe_check_libs=" -lgdk_imlib " xe_check_libs=" -lgdk_imlib "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5173 "configure" #line 5181 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
main() main()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_gtk="-lgdk_imlib $libs_gtk" && if test "$extra_verbose" = "yes"; then ec ho " Prepending \"-lgdk_imlib\" to \$libs_gtk"; fi libs_gtk="-lgdk_imlib $libs_gtk" && if test "$extra_verbose" = "yes"; then ec ho " Prepending \"-lgdk_imlib\" to \$libs_gtk"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
echo "configure:5202: checking for Imlib_init in -lImlib" >&5 echo "configure:5210: checking for Imlib_init in -lImlib" >&5
ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
xe_check_libs=" -lImlib " xe_check_libs=" -lImlib "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5207 "configure" #line 5215 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char Imlib_init(); char Imlib_init();
int main() { int main() {
Imlib_init() Imlib_init()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 5135 skipping to change at line 5143
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_gtk="$libs_gtk -lImlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lImlib\" to \$libs_gtk"; fi libs_gtk="$libs_gtk -lImlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lImlib\" to \$libs_gtk"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
for ac_func in gdk_imlib_init for ac_func in gdk_imlib_init
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5241: checking for $ac_func" >&5 echo "configure:5249: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5244 "configure" #line 5252 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 5161 skipping to change at line 5169
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 5237 skipping to change at line 5245
OLD_CFLAGS="${CFLAGS}" OLD_CFLAGS="${CFLAGS}"
OLD_CPPFLAGS="${CPPFLAGS}" OLD_CPPFLAGS="${CPPFLAGS}"
OLD_LDFLAGS="${LDFLAGS}" OLD_LDFLAGS="${LDFLAGS}"
CFLAGS="${GTK_CFLAGS} ${CFLAGS}" CFLAGS="${GTK_CFLAGS} ${CFLAGS}"
CPPFLAGS="${GTK_CFLAGS} ${CFLAGS}" CPPFLAGS="${GTK_CFLAGS} ${CFLAGS}"
LDFLAGS="${LDFLAGS} ${GTK_LIBS}" LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
for ac_hdr in glade/glade.h glade.h for ac_hdr in glade/glade.h glade.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5346: checking for $ac_hdr" >&5 echo "configure:5354: checking for $ac_hdr" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5349 "configure" #line 5357 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:5362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 5275 skipping to change at line 5283
#define $ac_tr_hdr 1 #define $ac_tr_hdr 1
EOF EOF
} }
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
echo "configure:5385: checking for main in -lxml" >&5 echo "configure:5393: checking for main in -lxml" >&5
ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
xe_check_libs=" -lxml " xe_check_libs=" -lxml "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5390 "configure" #line 5398 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
main() main()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_gtk="-lxml $libs_gtk" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lxml\" to \$libs_gtk"; fi libs_gtk="-lxml $libs_gtk" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lxml\" to \$libs_gtk"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
echo "configure:5419: checking for main in -lglade" >&5 echo "configure:5427: checking for main in -lglade" >&5
ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
xe_check_libs=" -lglade " xe_check_libs=" -lglade "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5424 "configure" #line 5432 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
main() main()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_gtk="-lglade $libs_gtk" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lglade\" to \$libs_gtk"; fi libs_gtk="-lglade $libs_gtk" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lglade\" to \$libs_gtk"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
echo "configure:5453: checking for main in -lglade-gnome" >&5 echo "configure:5461: checking for main in -lglade-gnome" >&5
ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
xe_check_libs=" -lglade-gnome " xe_check_libs=" -lglade-gnome "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5458 "configure" #line 5466 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
main() main()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_gtk="-lglade-gnome $libs_gtk" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lglade-gnome\" to \$libs_gtk"; fi libs_gtk="-lglade-gnome $libs_gtk" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lglade-gnome\" to \$libs_gtk"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5486 "configure" #line 5494 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <glade/glade-xml.h> #include <glade/glade-xml.h>
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "char \*txtdomain;" >/dev/null 2>&1; then egrep "char \*txtdomain;" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining LIBGLADE_XML_TXTDOMAIN = 1 Defining LIBGLADE_XML_TXTDOMAIN = 1
EOF EOF
skipping to change at line 5428 skipping to change at line 5436
for dir in "/usr/X11/lib" "/usr/X11R6/lib" "/usr/lib/X11R6"; do for dir in "/usr/X11/lib" "/usr/X11R6/lib" "/usr/lib/X11R6"; do
if test -r "$dir/libX11.a"; then x_libraries="$dir"; break; fi if test -r "$dir/libX11.a"; then x_libraries="$dir"; break; fi
done done
fi fi
# If we find X, set shell vars x_includes and x_libraries to the # If we find X, set shell vars x_includes and x_libraries to the
# paths, otherwise set no_x=yes. # paths, otherwise set no_x=yes.
# Uses ac_ vars as temps to allow command line to override cache and checks. # Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache. # --without-x overrides everything else, but does not touch the cache.
echo $ac_n "checking for X""... $ac_c" 1>&6 echo $ac_n "checking for X""... $ac_c" 1>&6
echo "configure:5545: checking for X" >&5 echo "configure:5553: checking for X" >&5
# Check whether --with-x or --without-x was given. # Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then if test "${with_x+set}" = set; then
withval="$with_x" withval="$with_x"
: :
fi fi
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then if test "x$with_x" = xno; then
# The user explicitly disabled X. # The user explicitly disabled X.
skipping to change at line 5488 skipping to change at line 5496
cd .. cd ..
rm -fr conftestdir rm -fr conftestdir
fi fi
if test "$ac_x_includes" = NO; then if test "$ac_x_includes" = NO; then
# Guess where to find include files, by looking for this one X11 .h file. # Guess where to find include files, by looking for this one X11 .h file.
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
# First, try using that file with no special directory specified. # First, try using that file with no special directory specified.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5605 "configure" #line 5613 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$x_direct_test_include> #include <$x_direct_test_include>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:5618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
# We can compile using X headers with no special include directory. # We can compile using X headers with no special include directory.
ac_x_includes= ac_x_includes=
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
skipping to change at line 5562 skipping to change at line 5570
# Check for the libraries. # Check for the libraries.
test -z "$x_direct_test_library" && x_direct_test_library=Xt test -z "$x_direct_test_library" && x_direct_test_library=Xt
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
# See if we find them without any special options. # See if we find them without any special options.
# Don't add to $LIBS permanently. # Don't add to $LIBS permanently.
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-l$x_direct_test_library $LIBS" LIBS="-l$x_direct_test_library $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5679 "configure" #line 5687 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
${x_direct_test_function}() ${x_direct_test_function}()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
LIBS="$ac_save_LIBS" LIBS="$ac_save_LIBS"
# We can link X programs with no special library path. # We can link X programs with no special library path.
ac_x_libraries= ac_x_libraries=
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
LIBS="$ac_save_LIBS" LIBS="$ac_save_LIBS"
# First see if replacing the include by lib works. # First see if replacing the include by lib works.
skipping to change at line 5678 skipping to change at line 5686
fi fi
# It would also be nice to do this for all -L options, not just this one. # It would also be nice to do this for all -L options, not just this one.
if test -n "$x_libraries"; then if test -n "$x_libraries"; then
X_LIBS="$X_LIBS -L$x_libraries" X_LIBS="$X_LIBS -L$x_libraries"
# For Solaris; some versions of Sun CC require a space after -R and # For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . . # others require no space. Words are not sufficient . . . .
case "`(uname -sr) 2>/dev/null`" in case "`(uname -sr) 2>/dev/null`" in
"SunOS 5"*) "SunOS 5"*)
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1> &6 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1> &6
echo "configure:5795: checking whether -R must be followed by a space" >&5 echo "configure:5803: checking whether -R must be followed by a space" >&5
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5798 "configure" #line 5806 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_R_nospace=yes ac_R_nospace=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_R_nospace=no ac_R_nospace=no
fi fi
rm -f conftest* rm -f conftest*
if test $ac_R_nospace = yes; then if test $ac_R_nospace = yes; then
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
X_LIBS="$X_LIBS -R$x_libraries" X_LIBS="$X_LIBS -R$x_libraries"
else else
LIBS="$ac_xsave_LIBS -R $x_libraries" LIBS="$ac_xsave_LIBS -R $x_libraries"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5821 "configure" #line 5829 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_R_space=yes ac_R_space=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
ac_R_space=no ac_R_space=no
fi fi
rm -f conftest* rm -f conftest*
if test $ac_R_space = yes; then if test $ac_R_space = yes; then
skipping to change at line 5747 skipping to change at line 5755
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
else else
# Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
# libraries were built with DECnet support. And karl@cs.umb.edu says # libraries were built with DECnet support. And karl@cs.umb.edu says
# the Alpha needs dnet_stub (dnet does not exist). # the Alpha needs dnet_stub (dnet does not exist).
if test "$with_dnet" = "no" ; then if test "$with_dnet" = "no" ; then
ac_cv_lib_dnet_dnet_ntoa=no ac_cv_lib_dnet_dnet_ntoa=no
else else
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
echo "configure:5864: checking for dnet_ntoa in -ldnet" >&5 echo "configure:5872: checking for dnet_ntoa in -ldnet" >&5
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
xe_check_libs=" -ldnet " xe_check_libs=" -ldnet "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5869 "configure" #line 5877 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char dnet_ntoa(); char dnet_ntoa();
int main() { int main() {
dnet_ntoa() dnet_ntoa()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 5787 skipping to change at line 5795
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
fi fi
if test $ac_cv_lib_dnet_dnet_ntoa = no; then if test $ac_cv_lib_dnet_dnet_ntoa = no; then
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
echo "configure:5904: checking for dnet_ntoa in -ldnet_stub" >&5 echo "configure:5912: checking for dnet_ntoa in -ldnet_stub" >&5
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
xe_check_libs=" -ldnet_stub " xe_check_libs=" -ldnet_stub "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5909 "configure" #line 5917 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char dnet_ntoa(); char dnet_ntoa();
int main() { int main() {
dnet_ntoa() dnet_ntoa()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 5831 skipping to change at line 5839
fi fi
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
# to get the SysV transport functions. # to get the SysV transport functions.
# chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
# needs -lnsl. # needs -lnsl.
# The nsl library prevents programs from opening the X display # The nsl library prevents programs from opening the X display
# on Irix 5.2, according to dickey@clark.net. # on Irix 5.2, according to dickey@clark.net.
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
echo "configure:5949: checking for gethostbyname" >&5 echo "configure:5957: checking for gethostbyname" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5952 "configure" #line 5960 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */ which can conflict with char gethostbyname(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char gethostbyname(); char gethostbyname();
int main() { int main() {
skipping to change at line 5857 skipping to change at line 5865
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
choke me choke me
#else #else
gethostbyname(); gethostbyname();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:5983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_gethostbyname=yes" eval "ac_cv_func_gethostbyname=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_gethostbyname=no" eval "ac_cv_func_gethostbyname=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test $ac_cv_func_gethostbyname = no; then if test $ac_cv_func_gethostbyname = no; then
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
echo "configure:5996: checking for gethostbyname in -lnsl" >&5 echo "configure:6004: checking for gethostbyname in -lnsl" >&5
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
xe_check_libs=" -lnsl " xe_check_libs=" -lnsl "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6001 "configure" #line 6009 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char gethostbyname(); char gethostbyname();
int main() { int main() {
gethostbyname() gethostbyname()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 5923 skipping to change at line 5931
fi fi
# lieder@skyler.mavd.honeywell.com says without -lsocket, # lieder@skyler.mavd.honeywell.com says without -lsocket,
# socket/setsockopt and other routines are undefined under SCO ODT # socket/setsockopt and other routines are undefined under SCO ODT
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
# on later versions), says simon@lia.di.epfl.ch: it contains # on later versions), says simon@lia.di.epfl.ch: it contains
# gethostby* variants that don't use the nameserver (or something). # gethostby* variants that don't use the nameserver (or something).
# -lsocket must be given before -lnsl if both are needed. # -lsocket must be given before -lnsl if both are needed.
# We assume that if connect needs -lnsl, so does gethostbyname. # We assume that if connect needs -lnsl, so does gethostbyname.
echo $ac_n "checking for connect""... $ac_c" 1>&6 echo $ac_n "checking for connect""... $ac_c" 1>&6
echo "configure:6042: checking for connect" >&5 echo "configure:6050: checking for connect" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6045 "configure" #line 6053 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */ which can conflict with char connect(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char connect(); char connect();
int main() { int main() {
skipping to change at line 5949 skipping to change at line 5957
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_connect) || defined (__stub___connect) #if defined (__stub_connect) || defined (__stub___connect)
choke me choke me
#else #else
connect(); connect();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_connect=yes" eval "ac_cv_func_connect=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_connect=no" eval "ac_cv_func_connect=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 5972 skipping to change at line 5980
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test $ac_cv_func_connect = no; then if test $ac_cv_func_connect = no; then
xe_msg_checking="for connect in -lsocket" xe_msg_checking="for connect in -lsocket"
test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X _EXTRA_LIBS" test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X _EXTRA_LIBS"
echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
echo "configure:6091: checking "$xe_msg_checking"" >&5 echo "configure:6099: checking "$xe_msg_checking"" >&5
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
xe_check_libs=" -lsocket $X_EXTRA_LIBS" xe_check_libs=" -lsocket $X_EXTRA_LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6096 "configure" #line 6104 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char connect(); char connect();
int main() { int main() {
connect() connect()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6011 skipping to change at line 6019
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
fi fi
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
echo $ac_n "checking for remove""... $ac_c" 1>&6 echo $ac_n "checking for remove""... $ac_c" 1>&6
echo "configure:6131: checking for remove" >&5 echo "configure:6139: checking for remove" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6134 "configure" #line 6142 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove(); below. */ which can conflict with char remove(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char remove(); char remove();
int main() { int main() {
skipping to change at line 6037 skipping to change at line 6045
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_remove) || defined (__stub___remove) #if defined (__stub_remove) || defined (__stub___remove)
choke me choke me
#else #else
remove(); remove();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_remove=yes" eval "ac_cv_func_remove=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_remove=no" eval "ac_cv_func_remove=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test $ac_cv_func_remove = no; then if test $ac_cv_func_remove = no; then
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
echo "configure:6178: checking for remove in -lposix" >&5 echo "configure:6186: checking for remove in -lposix" >&5
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
xe_check_libs=" -lposix " xe_check_libs=" -lposix "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6183 "configure" #line 6191 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char remove(); char remove();
int main() { int main() {
remove() remove()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6097 skipping to change at line 6105
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
fi fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo $ac_n "checking for shmat""... $ac_c" 1>&6 echo $ac_n "checking for shmat""... $ac_c" 1>&6
echo "configure:6218: checking for shmat" >&5 echo "configure:6226: checking for shmat" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6221 "configure" #line 6229 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */ which can conflict with char shmat(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char shmat(); char shmat();
int main() { int main() {
skipping to change at line 6123 skipping to change at line 6131
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_shmat) || defined (__stub___shmat) #if defined (__stub_shmat) || defined (__stub___shmat)
choke me choke me
#else #else
shmat(); shmat();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_shmat=yes" eval "ac_cv_func_shmat=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_shmat=no" eval "ac_cv_func_shmat=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test $ac_cv_func_shmat = no; then if test $ac_cv_func_shmat = no; then
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
echo "configure:6265: checking for shmat in -lipc" >&5 echo "configure:6273: checking for shmat in -lipc" >&5
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
xe_check_libs=" -lipc " xe_check_libs=" -lipc "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6270 "configure" #line 6278 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char shmat(); char shmat();
int main() { int main() {
shmat() shmat()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6195 skipping to change at line 6203
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or # check for ICE first), but we must link in the order -lSM -lICE or
# we get undefined symbols. So assume we have SM if we have ICE. # we get undefined symbols. So assume we have SM if we have ICE.
# These have to be linked with before -lX11, unlike the other # These have to be linked with before -lX11, unlike the other
# libraries we check for below, so use a different variable. # libraries we check for below, so use a different variable.
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
xe_msg_checking="for IceConnectionNumber in -lICE" xe_msg_checking="for IceConnectionNumber in -lICE"
test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X _EXTRA_LIBS" test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X _EXTRA_LIBS"
echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
echo "configure:6317: checking "$xe_msg_checking"" >&5 echo "configure:6325: checking "$xe_msg_checking"" >&5
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
xe_check_libs=" -lICE $X_EXTRA_LIBS" xe_check_libs=" -lICE $X_EXTRA_LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6322 "configure" #line 6330 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char IceConnectionNumber(); char IceConnectionNumber();
int main() { int main() {
IceConnectionNumber() IceConnectionNumber()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6254 skipping to change at line 6262
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_X_WINDOWS 1 #define HAVE_X_WINDOWS 1
EOF EOF
} }
MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$extra_verbose" = "yes"; then ec ho " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$extra_verbose" = "yes"; then ec ho " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi
SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
echo "configure:6379: checking for Xm/Xm.h" >&5 echo "configure:6387: checking for Xm/Xm.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6382 "configure" #line 6390 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <Xm/Xm.h> #include <Xm/Xm.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:6395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
echo "configure:6404: checking for XmStringFree in -lXm" >&5 echo "configure:6412: checking for XmStringFree in -lXm" >&5
ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXm " xe_check_libs=" -lXm "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6409 "configure" #line 6417 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XmStringFree(); char XmStringFree();
int main() { int main() {
XmStringFree() XmStringFree()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6442 skipping to change at line 6450
fi fi
test ! -z "$bitmapdirs" && { test "$extra_verbose" = "yes" && cat << EOF test ! -z "$bitmapdirs" && { test "$extra_verbose" = "yes" && cat << EOF
Defining BITMAPDIR = "$bitmapdirs" Defining BITMAPDIR = "$bitmapdirs"
EOF EOF
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define BITMAPDIR "$bitmapdirs" #define BITMAPDIR "$bitmapdirs"
EOF EOF
} }
echo "checking for X defines extracted by xmkmf" 1>&6 echo "checking for X defines extracted by xmkmf" 1>&6
echo "configure:6572: checking for X defines extracted by xmkmf" >&5 echo "configure:6580: checking for X defines extracted by xmkmf" >&5
rm -fr conftestdir rm -fr conftestdir
if mkdir conftestdir; then if mkdir conftestdir; then
cd conftestdir cd conftestdir
cat > Imakefile <<'EOF' cat > Imakefile <<'EOF'
xetest: xetest:
@echo ${PROTO_DEFINES} ${STD_DEFINES} @echo ${PROTO_DEFINES} ${STD_DEFINES}
EOF EOF
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
# GNU make sometimes prints "make[1]: Entering...", which would confuse us . # GNU make sometimes prints "make[1]: Entering...", which would confuse us .
xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make`
skipping to change at line 6491 skipping to change at line 6499
} }
fi fi
fi ;; fi ;;
esac esac
done done
fi fi
ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
echo "configure:6621: checking for X11/Intrinsic.h" >&5 echo "configure:6629: checking for X11/Intrinsic.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6624 "configure" #line 6632 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Intrinsic.h> #include <X11/Intrinsic.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:6637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 6521 skipping to change at line 6529
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
{ echo "configure: error: "Unable to find X11 header files."" 1>&2; exit 1; } { echo "configure: error: "Unable to find X11 header files."" 1>&2; exit 1; }
fi fi
echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
echo "configure:6653: checking for XOpenDisplay in -lX11" >&5 echo "configure:6661: checking for XOpenDisplay in -lX11" >&5
ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
xe_check_libs=" -lX11 " xe_check_libs=" -lX11 "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6658 "configure" #line 6666 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XOpenDisplay(); char XOpenDisplay();
int main() { int main() {
XOpenDisplay() XOpenDisplay()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6561 skipping to change at line 6569
have_lib_x11=yes have_lib_x11=yes
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test "$have_lib_x11" != "yes"; then if test "$have_lib_x11" != "yes"; then
xe_msg_checking="for XGetFontProperty in -lX11" xe_msg_checking="for XGetFontProperty in -lX11"
test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra lib s -b i486-linuxaout" test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra lib s -b i486-linuxaout"
echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
echo "configure:6694: checking "$xe_msg_checking"" >&5 echo "configure:6702: checking "$xe_msg_checking"" >&5
ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
xe_check_libs=" -lX11 -b i486-linuxaout" xe_check_libs=" -lX11 -b i486-linuxaout"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6699 "configure" #line 6707 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XGetFontProperty(); char XGetFontProperty();
int main() { int main() {
XGetFontProperty() XGetFontProperty()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6602 skipping to change at line 6610
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
{ echo "configure: error: "Unable to find X11 libraries."" 1>&2; exit 1; } { echo "configure: error: "Unable to find X11 libraries."" 1>&2; exit 1; }
fi fi
fi fi
libs_x="-lX11" libs_x="-lX11"
test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
echo "configure:6737: checking for XShapeSelectInput in -lXext" >&5 echo "configure:6745: checking for XShapeSelectInput in -lXext" >&5
ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXext " xe_check_libs=" -lXext "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6742 "configure" #line 6750 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XShapeSelectInput(); char XShapeSelectInput();
int main() { int main() {
XShapeSelectInput() XShapeSelectInput()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_x="-lXext $libs_x" && if test "$extra_verbose" = "yes"; then echo " P repending \"-lXext\" to \$libs_x"; fi libs_x="-lXext $libs_x" && if test "$extra_verbose" = "yes"; then echo " P repending \"-lXext\" to \$libs_x"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
echo "configure:6776: checking for XtOpenDisplay in -lXt" >&5 echo "configure:6784: checking for XtOpenDisplay in -lXt" >&5
ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXt " xe_check_libs=" -lXt "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6781 "configure" #line 6789 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XtOpenDisplay(); char XtOpenDisplay();
int main() { int main() {
XtOpenDisplay() XtOpenDisplay()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_x="-lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Pre pending \"-lXt\" to \$libs_x"; fi libs_x="-lXt $libs_x" && if test "$extra_verbose" = "yes"; then echo " Pre pending \"-lXt\" to \$libs_x"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
{ echo "configure: error: "Unable to find X11 libraries."" 1>&2; exit 1; } { echo "configure: error: "Unable to find X11 libraries."" 1>&2; exit 1; }
fi fi
echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
echo "configure:6815: checking the version of X11 being used" >&5 echo "configure:6823: checking the version of X11 being used" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6817 "configure" #line 6825 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Intrinsic.h> #include <X11/Intrinsic.h>
int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
EOF EOF
if { (eval echo configure:6822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:6830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
./conftest foobar; x11_release=$? ./conftest foobar; x11_release=$?
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
x11_release=4 x11_release=4
fi fi
rm -fr conftest* rm -fr conftest*
skipping to change at line 6712 skipping to change at line 6720
if test "${x11_release}" = "4"; then if test "${x11_release}" = "4"; then
case "$with_widgets" in case "$with_widgets" in
"" | "no") with_widgets=no ;; "" | "no") with_widgets=no ;;
*) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;; *) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;;
esac esac
fi fi
for ac_func in XConvertCase XtRegisterDrawable for ac_func in XConvertCase XtRegisterDrawable
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6853: checking for $ac_func" >&5 echo "configure:6861: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6856 "configure" #line 6864 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 6738 skipping to change at line 6746
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 6769 skipping to change at line 6777
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
for ac_hdr in X11/Xlocale.h for ac_hdr in X11/Xlocale.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6911: checking for $ac_hdr" >&5 echo "configure:6919: checking for $ac_hdr" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6914 "configure" #line 6922 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:6927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 6809 skipping to change at line 6817
} }
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
for ac_func in XRegisterIMInstantiateCallback for ac_func in XRegisterIMInstantiateCallback
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6952: checking for $ac_func" >&5 echo "configure:6960: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6955 "configure" #line 6963 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 6835 skipping to change at line 6843
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:6986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 6863 skipping to change at line 6871
#define $ac_tr_func 1 #define $ac_tr_func 1
EOF EOF
} }
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype"".. . $ac_c" 1>&6 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype"".. . $ac_c" 1>&6
echo "configure:7006: checking for standard XRegisterIMInstantiateCallback proto type" >&5 echo "configure:7014: checking for standard XRegisterIMInstantiateCallback proto type" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7008 "configure" #line 7016 "configure"
#include "confdefs.h" #include "confdefs.h"
#define NeedFunctionPrototypes 1 #define NeedFunctionPrototypes 1
#include <X11/Xlib.h> #include <X11/Xlib.h>
extern Bool XRegisterIMInstantiateCallback( extern Bool XRegisterIMInstantiateCallback(
Display*, struct _XrmHashBucketRec*, char*, char*, XIMProc, XPointer*); Display*, struct _XrmHashBucketRec*, char*, char*, XIMProc, XPointer*);
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:7028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE Defining XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE 1 #define XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE 1
EOF EOF
} }
fi fi
rm -f conftest* rm -f conftest*
test -z "$with_xmu" && { test -z "$with_xmu" && {
echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
echo "configure:7041: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 echo "configure:7049: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXmu " xe_check_libs=" -lXmu "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7046 "configure" #line 7054 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XmuReadBitmapDataFromFile(); char XmuReadBitmapDataFromFile();
int main() { int main() {
XmuReadBitmapDataFromFile() XmuReadBitmapDataFromFile()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6952 skipping to change at line 6960
Defining HAVE_XMU Defining HAVE_XMU
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_XMU 1 #define HAVE_XMU 1
EOF EOF
} }
fi fi
echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
echo "configure:7096: checking for main in -lXbsd" >&5 echo "configure:7104: checking for main in -lXbsd" >&5
ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXbsd " xe_check_libs=" -lXbsd "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7101 "configure" #line 7109 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
main() main()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 6986 skipping to change at line 6994
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_x="-lXbsd $libs_x" && if test "$extra_verbose" = "yes"; then echo " P repending \"-lXbsd\" to \$libs_x"; fi libs_x="-lXbsd $libs_x" && if test "$extra_verbose" = "yes"; then echo " P repending \"-lXbsd\" to \$libs_x"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
echo $ac_n "checking for name of AIX gcc threads option""... $ ac_c" 1>&6 echo $ac_n "checking for name of AIX gcc threads option""... $ ac_c" 1>&6
echo "configure:7132: checking for name of AIX gcc threads option" >&5 echo "configure:7140: checking for name of AIX gcc threads option" >&5
case `$CC -v --help 2>&1` in case `$CC -v --help 2>&1` in
*-mthreads*) aix_threads=-mthreads ;; *-mthreads*) aix_threads=-mthreads ;;
*) aix_threads=-pthread ;; *) aix_threads=-pthread ;;
esac esac
echo "$ac_t""$aix_threads" 1>&6 echo "$ac_t""$aix_threads" 1>&6
X_CFLAGS="$aix_threads $X_CFLAGS" && if test "$extra_verbose" = "yes"; th en echo " Prepending \"$aix_threads\" to \$X_CFLAGS"; fi X_CFLAGS="$aix_threads $X_CFLAGS" && if test "$extra_verbose" = "yes"; th en echo " Prepending \"$aix_threads\" to \$X_CFLAGS"; fi
libs_x="$aix_threads $libs_x" && if test "$extra_verbose" = "yes"; then e cho " Prepending \"$aix_threads\" to \$libs_x"; fi libs_x="$aix_threads $libs_x" && if test "$extra_verbose" = "yes"; then e cho " Prepending \"$aix_threads\" to \$libs_x"; fi
else else
case "$CC" in *_r) : ;; case "$CC" in *_r) : ;;
*) *)
xe_save_CC="$CC" xe_save_CC="$CC"
CC="${CC}_r" CC="${CC}_r"
echo $ac_n "checking size of short""... $ac_c" 1>&6 echo $ac_n "checking size of short""... $ac_c" 1>&6
echo "configure:7146: checking size of short" >&5 echo "configure:7154: checking size of short" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7149 "configure" #line 7157 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
main() main()
{ {
FILE *f=fopen("conftestval", "w"); FILE *f=fopen("conftestval", "w");
if (!f) exit(1); if (!f) exit(1);
fprintf(f, "%d\n", sizeof(short)); fprintf(f, "%d\n", sizeof(short));
exit(0); exit(0);
} }
EOF EOF
if { (eval echo configure:7160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:7169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
ac_cv_sizeof_short=`cat conftestval` ac_cv_sizeof_short=`cat conftestval`
else else
conftest_rc="$?" conftest_rc="$?"
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -fr conftest* rm -fr conftest*
ac_cv_sizeof_short=0 ac_cv_sizeof_short=0
fi fi
rm -fr conftest* rm -fr conftest*
skipping to change at line 7042 skipping to change at line 7051
} }
test "$ac_cv_sizeof_short" = 0 && CC="$xe_save_CC" ;; test "$ac_cv_sizeof_short" = 0 && CC="$xe_save_CC" ;;
esac esac
fi fi
fi fi
fi fi
if test "$with_msw" != "no"; then if test "$with_msw" != "no"; then
echo "checking for MS-Windows" 1>&6 echo "checking for MS-Windows" 1>&6
echo "configure:7189: checking for MS-Windows" >&5 echo "configure:7198: checking for MS-Windows" >&5
echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
echo "configure:7192: checking for main in -lgdi32" >&5 echo "configure:7201: checking for main in -lgdi32" >&5
ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
xe_check_libs=" -lgdi32 " xe_check_libs=" -lgdi32 "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7197 "configure" #line 7206 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
main() main()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 7128 skipping to change at line 7137
echo " xemacs will be linked with \"menubar-msw.o\"" echo " xemacs will be linked with \"menubar-msw.o\""
fi fi
test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-msw.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"toolbar-msw.o\"" echo " xemacs will be linked with \"toolbar-msw.o\""
fi fi
test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"dialog-msw.o\"" echo " xemacs will be linked with \"dialog-msw.o\""
fi fi
fi fi
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7277 "configure" #line 7286 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <fcntl.h> #include <fcntl.h>
int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
EOF EOF
if { (eval echo configure:7282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:7291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_MSG_SELECT Defining HAVE_MSG_SELECT
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_MSG_SELECT 1 #define HAVE_MSG_SELECT 1
EOF EOF
} }
else else
skipping to change at line 7195 skipping to change at line 7204
if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; the n if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; the n
echo "configure: warning: --with-$feature ignored: Not valid without X s upport" 1>&2 echo "configure: warning: --with-$feature ignored: Not valid without X s upport" 1>&2
fi fi
eval "with_${feature}=no" eval "with_${feature}=no"
done done
fi fi
if test "$with_x11" = "yes"; then if test "$with_x11" = "yes"; then
ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
echo "configure:7346: checking for X11/extensions/shape.h" >&5 echo "configure:7355: checking for X11/extensions/shape.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7349 "configure" #line 7358 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/extensions/shape.h> #include <X11/extensions/shape.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:7354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:7363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 7255 skipping to change at line 7264
;; ;;
none ) HAVE_X_WINDOWS=no ; echo " Using no window system." ;; none ) HAVE_X_WINDOWS=no ; echo " Using no window system." ;;
esac esac
case "$x_libraries" in *X11R4* ) case "$x_libraries" in *X11R4* )
test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
esac esac
echo "checking for WM_COMMAND option" 1>&6 echo "checking for WM_COMMAND option" 1>&6
echo "configure:7406: checking for WM_COMMAND option" >&5; echo "configure:7415: checking for WM_COMMAND option" >&5;
if test "$with_wmcommand" != "no"; then if test "$with_wmcommand" != "no"; then
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_WMCOMMAND Defining HAVE_WMCOMMAND
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_WMCOMMAND 1 #define HAVE_WMCOMMAND 1
EOF EOF
} }
fi fi
test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
echo "configure:7421: checking for X11/Xauth.h" >&5 echo "configure:7430: checking for X11/Xauth.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7424 "configure" #line 7433 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Xauth.h> #include <X11/Xauth.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:7429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:7438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 7301 skipping to change at line 7310
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_xauth=no with_xauth=no
fi fi
} }
test -z "$with_xauth" && { test -z "$with_xauth" && {
echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
echo "configure:7452: checking for XauGetAuthByAddr in -lXau" >&5 echo "configure:7461: checking for XauGetAuthByAddr in -lXau" >&5
ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXau " xe_check_libs=" -lXau "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7457 "configure" #line 7466 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XauGetAuthByAddr(); char XauGetAuthByAddr();
int main() { int main() {
XauGetAuthByAddr() XauGetAuthByAddr()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 7358 skipping to change at line 7367
T="" T=""
for W in $GTK_LIBS $X_EXTRA_LIBS -lXau $libs_x $X_PRE_LIBS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done for W in $GTK_LIBS $X_EXTRA_LIBS -lXau $libs_x $X_PRE_LIBS; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done
libs_xauth="$T" libs_xauth="$T"
fi fi
if test "$with_tooltalk" != "no" ; then if test "$with_tooltalk" != "no" ; then
for dir in "" "Tt/" "desktop/" ; do for dir in "" "Tt/" "desktop/" ; do
ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
echo "configure:7513: checking for ${dir}tt_c.h" >&5 echo "configure:7522: checking for ${dir}tt_c.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7516 "configure" #line 7525 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <${dir}tt_c.h> #include <${dir}tt_c.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:7521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:7530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 7402 skipping to change at line 7411
fi fi
with_tooltalk=no with_tooltalk=no
fi fi
fi fi
if test "$with_tooltalk" != "no" ; then if test "$with_tooltalk" != "no" ; then
for extra_libs in "" "-lI18N -lce" "-lcxx"; do for extra_libs in "" "-lI18N -lce" "-lcxx"; do
xe_msg_checking="for tt_message_create in -ltt" xe_msg_checking="for tt_message_create in -ltt"
test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $ext ra_libs" test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $ext ra_libs"
echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
echo "configure:7557: checking "$xe_msg_checking"" >&5 echo "configure:7566: checking "$xe_msg_checking"" >&5
ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
xe_check_libs=" -ltt $extra_libs" xe_check_libs=" -ltt $extra_libs"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7562 "configure" #line 7571 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char tt_message_create(); char tt_message_create();
int main() { int main() {
tt_message_create() tt_message_create()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 7474 skipping to change at line 7483
} }
libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
extra_objs="$extra_objs tooltalk.o" && if test "$extra_verbose" = "yes"; then extra_objs="$extra_objs tooltalk.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"tooltalk.o\"" echo " xemacs will be linked with \"tooltalk.o\""
fi fi
fi fi
test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
echo "configure:7630: checking for Dt/Dt.h" >&5 echo "configure:7639: checking for Dt/Dt.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7633 "configure" #line 7642 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <Dt/Dt.h> #include <Dt/Dt.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:7638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:7647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 7505 skipping to change at line 7514
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_cde=no with_cde=no
fi fi
} }
test -z "$with_cde" && { test -z "$with_cde" && {
echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
echo "configure:7661: checking for DtDndDragStart in -lDtSvc" >&5 echo "configure:7670: checking for DtDndDragStart in -lDtSvc" >&5
ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
xe_check_libs=" -lDtSvc " xe_check_libs=" -lDtSvc "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7666 "configure" #line 7675 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char DtDndDragStart(); char DtDndDragStart();
int main() { int main() {
DtDndDragStart() DtDndDragStart()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 7594 skipping to change at line 7603
dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi
dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi
fi fi
if test "$with_gtk" = "yes"; then if test "$with_gtk" = "yes"; then
dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
fi fi
if test "$with_dragndrop" != "no" ; then if test "$with_dragndrop" != "no" ; then
echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
echo "configure:7750: checking if drag and drop API is needed" >&5 echo "configure:7759: checking if drag and drop API is needed" >&5
if test -n "$dragndrop_proto" ; then if test -n "$dragndrop_proto" ; then
with_dragndrop=yes with_dragndrop=yes
echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_DRAGNDROP Defining HAVE_DRAGNDROP
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_DRAGNDROP 1 #define HAVE_DRAGNDROP 1
EOF EOF
} }
extra_objs="$extra_objs dragdrop.o" && if test "$extra_verbose" = "yes"; th en echo " Appending \"dragdrop.o\" to \$extra_objs"; fi extra_objs="$extra_objs dragdrop.o" && if test "$extra_verbose" = "yes"; th en echo " Appending \"dragdrop.o\" to \$extra_objs"; fi
else else
with_dragndrop=no with_dragndrop=no
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
fi fi
echo "checking for LDAP" 1>&6 echo "checking for LDAP" 1>&6
echo "configure:7770: checking for LDAP" >&5 echo "configure:7779: checking for LDAP" >&5
test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
echo "configure:7773: checking for ldap.h" >&5 echo "configure:7782: checking for ldap.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7776 "configure" #line 7785 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ldap.h> #include <ldap.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:7781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:7790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 7648 skipping to change at line 7657
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_ldap=no with_ldap=no
fi fi
} }
test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for lber.h""... $ac_c" 1>&6 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
echo "configure:7804: checking for lber.h" >&5 echo "configure:7813: checking for lber.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7807 "configure" #line 7816 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <lber.h> #include <lber.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:7812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:7821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 7681 skipping to change at line 7690
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_ldap=no with_ldap=no
fi fi
} }
if test no != "$with_ldap";then if test no != "$with_ldap";then
if test . != "${ldap_libs+.}";then if test . != "${ldap_libs+.}";then
ldap_libs= ldap_libs=
echo $ac_n "checking for ldap_open""... $ac_c" 1>&6 echo $ac_n "checking for ldap_open""... $ac_c" 1>&6
echo "configure:7837: checking for ldap_open" >&5 echo "configure:7846: checking for ldap_open" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7840 "configure" #line 7849 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char ldap_open(); below. */ which can conflict with char ldap_open(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char ldap_open(); char ldap_open();
int main() { int main() {
skipping to change at line 7707 skipping to change at line 7716
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_ldap_open) || defined (__stub___ldap_open) #if defined (__stub_ldap_open) || defined (__stub___ldap_open)
choke me choke me
#else #else
ldap_open(); ldap_open();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_ldap_open=yes" eval "ac_cv_func_ldap_open=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_ldap_open=no" eval "ac_cv_func_ldap_open=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_func_'ldap_open`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'ldap_open`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
with_ldap=yes with_ldap=yes
test yes = "$extra_verbose" && test yes = "$extra_verbose" &&
echo "Setting ldap_libs to $ldap_libs" echo "Setting ldap_libs to $ldap_libs"
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for ldap_open in -lldap""... $ac_c" 1>&6 echo $ac_n "checking for ldap_open in -lldap""... $ac_c" 1>&6
echo "configure:7883: checking for ldap_open in -lldap" >&5 echo "configure:7892: checking for ldap_open in -lldap" >&5
ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
xe_check_libs=" -lldap " xe_check_libs=" -lldap "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7888 "configure" #line 7897 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char ldap_open(); char ldap_open();
int main() { int main() {
ldap_open() ldap_open()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 7765 skipping to change at line 7774
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
with_ldap=yes with_ldap=yes
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
ldap_needs_lber=yes ldap_other_libs=-llber ldap_needs_lber=yes ldap_other_libs=-llber
xe_msg_checking="for ldap_open in -lldap" xe_msg_checking="for ldap_open in -lldap"
test -n "$ldap_other_libs" && xe_msg_checking="$xe_msg_checking using extra libs $ldap_other_libs" test -n "$ldap_other_libs" && xe_msg_checking="$xe_msg_checking using extra libs $ldap_other_libs"
echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
echo "configure:7921: checking "$xe_msg_checking"" >&5 echo "configure:7930: checking "$xe_msg_checking"" >&5
ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
xe_check_libs=" -lldap $ldap_other_libs" xe_check_libs=" -lldap $ldap_other_libs"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7926 "configure" #line 7935 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char ldap_open(); char ldap_open();
int main() { int main() {
ldap_open() ldap_open()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 7803 skipping to change at line 7812
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
with_ldap=yes with_ldap=yes
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
ldap_needs_krb=yes ldap_other_libs="$ldap_other_libs -lkrb" ldap_needs_krb=yes ldap_other_libs="$ldap_other_libs -lkrb"
xe_msg_checking="for ldap_open in -lldap" xe_msg_checking="for ldap_open in -lldap"
test -n "$ldap_other_libs" && xe_msg_checking="$xe_msg_checking using extra libs $ldap_other_libs" test -n "$ldap_other_libs" && xe_msg_checking="$xe_msg_checking using extra libs $ldap_other_libs"
echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
echo "configure:7959: checking "$xe_msg_checking"" >&5 echo "configure:7968: checking "$xe_msg_checking"" >&5
ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
xe_check_libs=" -lldap $ldap_other_libs" xe_check_libs=" -lldap $ldap_other_libs"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 7964 "configure" #line 7973 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char ldap_open(); char ldap_open();
int main() { int main() {
ldap_open() ldap_open()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:7984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 7841 skipping to change at line 7850
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
with_ldap=yes with_ldap=yes
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
ldap_needs_des=yes ldap_other_libs="$ldap_other_libs -ldes" ldap_needs_des=yes ldap_other_libs="$ldap_other_libs -ldes"
xe_msg_checking="for ldap_open in -lldap" xe_msg_checking="for ldap_open in -lldap"
test -n "$ldap_other_libs" && xe_msg_checking="$xe_msg_checking using extra libs $ldap_other_libs" test -n "$ldap_other_libs" && xe_msg_checking="$xe_msg_checking using extra libs $ldap_other_libs"
echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
echo "configure:7997: checking "$xe_msg_checking"" >&5 echo "configure:8006: checking "$xe_msg_checking"" >&5
ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
xe_check_libs=" -lldap $ldap_other_libs" xe_check_libs=" -lldap $ldap_other_libs"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8002 "configure" #line 8011 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char ldap_open(); char ldap_open();
int main() { int main() {
ldap_open() ldap_open()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 7885 skipping to change at line 7894
fi fi
fi fi
fi fi
fi fi
if test yes = "$with_ldap" -a yes != "$ldap_needs_lber";then if test yes = "$with_ldap" -a yes != "$ldap_needs_lber";then
echo $ac_n "checking for LDAP_OPT_ON definition""... $ac_c" 1>&6 echo $ac_n "checking for LDAP_OPT_ON definition""... $ac_c" 1>&6
echo "configure:8045: checking for LDAP_OPT_ON definition" >&5 echo "configure:8054: checking for LDAP_OPT_ON definition" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8048 "configure" #line 8057 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <lber.h> #include <lber.h>
#include <ldap.h> #include <ldap.h>
#ifdef LDAP_OPT_ON #ifdef LDAP_OPT_ON
/* Relying on const defined by ac_c_const (upper case). */ /* Relying on const defined by ac_c_const (upper case). */
const void *const v = LDAP_OPT_ON; const void *const v = LDAP_OPT_ON;
#else /* !defined (LDAP_OPT_ON) */ #else /* !defined (LDAP_OPT_ON) */
choke me choke me
#endif /* !defined (LDAP_OPT_ON) */ #endif /* !defined (LDAP_OPT_ON) */
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:8071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
xe_cv_have_LDAP_OPT_ON=yes xe_cv_have_LDAP_OPT_ON=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
xe_cv_have_LDAP_OPT_ON=no xe_cv_have_LDAP_OPT_ON=no
fi fi
rm -f conftest* rm -f conftest*
echo "$ac_t""$xe_cv_have_LDAP_OPT_ON" 1>&6 echo "$ac_t""$xe_cv_have_LDAP_OPT_ON" 1>&6
if test yes = "$xe_cv_have_LDAP_OPT_ON";then if test yes = "$xe_cv_have_LDAP_OPT_ON";then
echo $ac_n "checking LDAP_OPT_ON linking""... $ac_c" 1>&6 echo $ac_n "checking LDAP_OPT_ON linking""... $ac_c" 1>&6
echo "configure:8076: checking LDAP_OPT_ON linking" >&5 echo "configure:8085: checking LDAP_OPT_ON linking" >&5
xe_save_LIBS="$LIBS" xe_save_LIBS="$LIBS"
LIBS="-lldap $LIBS" LIBS="-lldap $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8081 "configure" #line 8090 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <lber.h> #include <lber.h>
#include <ldap.h> #include <ldap.h>
const void *const v = LDAP_OPT_ON; const void *const v = LDAP_OPT_ON;
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
xe_cv_LDAP_OPT_ON_links=yes xe_cv_LDAP_OPT_ON_links=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
xe_cv_LDAP_OPT_ON_links=no xe_cv_LDAP_OPT_ON_links=no
fi fi
rm -f conftest* rm -f conftest*
LIBS="$xe_save_LIBS" LIBS="$xe_save_LIBS"
echo "$ac_t""$xe_cv_LDAP_OPT_ON_links" 1>&6 echo "$ac_t""$xe_cv_LDAP_OPT_ON_links" 1>&6
if test yes != "$xe_cv_LDAP_OPT_ON_links";then if test yes != "$xe_cv_LDAP_OPT_ON_links";then
ldap_needs_lber=yes ldap_other_libs=-llber ldap_needs_lber=yes ldap_other_libs=-llber
echo $ac_n "checking LDAP_OPT_ON linking with -llber""... $ac_c" 1>&6 echo $ac_n "checking LDAP_OPT_ON linking with -llber""... $ac_c" 1>&6
echo "configure:8106: checking LDAP_OPT_ON linking with -llber" >&5 echo "configure:8115: checking LDAP_OPT_ON linking with -llber" >&5
xe_save_LIBS="$LIBS" xe_save_LIBS="$LIBS"
LIBS="-lldap $ldap_other_libs $LIBS" LIBS="-lldap $ldap_other_libs $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8111 "configure" #line 8120 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <lber.h> #include <lber.h>
#include <ldap.h> #include <ldap.h>
const void *const v = LDAP_OPT_ON; const void *const v = LDAP_OPT_ON;
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
xe_cv_LDAP_OPT_ON_links_w_lber=yes xe_cv_LDAP_OPT_ON_links_w_lber=yes
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
xe_cv_LDAP_OPT_ON_links_w_lber=no xe_cv_LDAP_OPT_ON_links_w_lber=no
fi fi
rm -f conftest* rm -f conftest*
LIBS="$xe_save_LIBS" LIBS="$xe_save_LIBS"
skipping to change at line 7996 skipping to change at line 8005
if test yes = "$ldap_needs_lber";then if test yes = "$ldap_needs_lber";then
ldap_libs="-llber $ldap_libs" && if test "$extra_verbose" = "yes"; the n echo " Prepending \"-llber\" to \$ldap_libs"; fi ldap_libs="-llber $ldap_libs" && if test "$extra_verbose" = "yes"; the n echo " Prepending \"-llber\" to \$ldap_libs"; fi
fi fi
ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi
fi fi
fi fi
else else
save_LIBS="$LIBS" LIBS="$ldap_libs $LIBS" save_LIBS="$LIBS" LIBS="$ldap_libs $LIBS"
echo $ac_n "checking for ldap_open""... $ac_c" 1>&6 echo $ac_n "checking for ldap_open""... $ac_c" 1>&6
echo "configure:8156: checking for ldap_open" >&5 echo "configure:8165: checking for ldap_open" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8159 "configure" #line 8168 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char ldap_open(); below. */ which can conflict with char ldap_open(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char ldap_open(); char ldap_open();
int main() { int main() {
skipping to change at line 8022 skipping to change at line 8031
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_ldap_open) || defined (__stub___ldap_open) #if defined (__stub_ldap_open) || defined (__stub___ldap_open)
choke me choke me
#else #else
ldap_open(); ldap_open();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_ldap_open=yes" eval "ac_cv_func_ldap_open=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_ldap_open=no" eval "ac_cv_func_ldap_open=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 8062 skipping to change at line 8071
EOF EOF
} }
extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then extra_objs="$extra_objs eldap.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"eldap.o\"" echo " xemacs will be linked with \"eldap.o\""
fi fi
LIBS="$ldap_libs $LIBS" LIBS="$ldap_libs $LIBS"
for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_r esult for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_r esult
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:8222: checking for $ac_func" >&5 echo "configure:8231: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8225 "configure" #line 8234 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 8088 skipping to change at line 8097
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 8119 skipping to change at line 8128
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
fi fi
if test "$with_postgresql" != "no"; then if test "$with_postgresql" != "no"; then
echo "checking for PostgreSQL" 1>&6 echo "checking for PostgreSQL" 1>&6
echo "configure:8279: checking for PostgreSQL" >&5 echo "configure:8288: checking for PostgreSQL" >&5
for header_dir in "" "pgsql/" "postgresql/"; do for header_dir in "" "pgsql/" "postgresql/"; do
ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
echo "configure:8284: checking for ${header_dir}libpq-fe.h" >&5 echo "configure:8293: checking for ${header_dir}libpq-fe.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8287 "configure" #line 8296 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <${header_dir}libpq-fe.h> #include <${header_dir}libpq-fe.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:8292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:8301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 8156 skipping to change at line 8165
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libpq_fe_h_file=${header_dir}libpq-fe.h; break libpq_fe_h_file=${header_dir}libpq-fe.h; break
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
test -n "$libpq_fe_h_file" && { test -n "$libpq_fe_h_file" && {
echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
echo "configure:8316: checking for PQconnectdb in -lpq" >&5 echo "configure:8325: checking for PQconnectdb in -lpq" >&5
ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
xe_check_libs=" -lpq " xe_check_libs=" -lpq "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8321 "configure" #line 8330 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char PQconnectdb(); char PQconnectdb();
int main() { int main() {
PQconnectdb() PQconnectdb()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 8204 skipping to change at line 8213
with_postgresql=yes with_postgresql=yes
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_POSTGRESQL Defining HAVE_POSTGRESQL
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_POSTGRESQL 1 #define HAVE_POSTGRESQL 1
EOF EOF
} }
echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
echo "configure:8365: checking for PQconnectStart in -lpq" >&5 echo "configure:8374: checking for PQconnectStart in -lpq" >&5
ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
xe_check_libs=" -lpq " xe_check_libs=" -lpq "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8370 "configure" #line 8379 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char PQconnectStart(); char PQconnectStart();
int main() { int main() {
PQconnectStart() PQconnectStart()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 8266 skipping to change at line 8275
extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"postgresql.o\"" echo " xemacs will be linked with \"postgresql.o\""
fi fi
elif test "$with_postgresql" = "yes"; then elif test "$with_postgresql" = "yes"; then
{ echo "Error:" "Required PostgreSQL support cannot be provided. Check --si te-prefixes." >&2; exit 1; } { echo "Error:" "Required PostgreSQL support cannot be provided. Check --si te-prefixes." >&2; exit 1; }
fi fi
fi fi
if test "$window_system" != "none"; then if test "$window_system" != "none"; then
echo "checking for graphics libraries" 1>&6 echo "checking for graphics libraries" 1>&6
echo "configure:8429: checking for graphics libraries" >&5 echo "configure:8438: checking for graphics libraries" >&5
libpath_xpm= libpath_xpm=
incpath_xpm= incpath_xpm=
libname_xpm="-lXpm" libname_xpm="-lXpm"
case "$opsys" in case "$opsys" in
cygwin*) cygwin*)
cygwin_top=`eval gcc -print-search-dirs | sed -ne s'/install: //p'` cygwin_top=`eval gcc -print-search-dirs | sed -ne s'/install: //p'`
cygwin_top=`eval "cd $cygwin_top/../../../..; pwd"` cygwin_top=`eval "cd $cygwin_top/../../../..; pwd"`
case "$window_system" in case "$window_system" in
x11) ;; x11) ;;
skipping to change at line 8293 skipping to change at line 8302
*) ;; *) ;;
esac esac
;; ;;
*) ;; *) ;;
esac esac
xpm_problem="" xpm_problem=""
if test -z "$with_xpm"; then if test -z "$with_xpm"; then
CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then e cho " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then e cho " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
echo "configure:8456: checking for Xpm - no older than 3.4f" >&5 echo "configure:8465: checking for Xpm - no older than 3.4f" >&5
xe_check_libs="$libname_xpm" xe_check_libs="$libname_xpm"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8459 "configure" #line 8468 "configure"
#include "confdefs.h" #include "confdefs.h"
#define XPM_NUMBERS #define XPM_NUMBERS
#include <X11/xpm.h> #include <X11/xpm.h>
int main(int c, char **v) { int main(int c, char **v) {
return c == 1 ? 0 : return c == 1 ? 0 :
XpmIncludeVersion != XpmLibraryVersion() ? 1 : XpmIncludeVersion != XpmLibraryVersion() ? 1 :
XpmIncludeVersion < 30406 ? 2 : 0 ;} XpmIncludeVersion < 30406 ? 2 : 0 ;}
EOF EOF
if { (eval echo configure:8468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:8477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
./conftest dummy_arg; xpm_status=$?; ./conftest dummy_arg; xpm_status=$?;
if test "$xpm_status" = "0"; then if test "$xpm_status" = "0"; then
with_xpm=yes; with_xpm=yes;
else else
with_xpm=no; with_xpm=no;
if test "$xpm_status" = "1"; then if test "$xpm_status" = "1"; then
xpm_problem="Xpm library version and header file version don't match!" xpm_problem="Xpm library version and header file version don't match!"
elif test "$xpm_status" = "2"; then elif test "$xpm_status" = "2"; then
xpm_problem="Xpm library version is too old!" xpm_problem="Xpm library version is too old!"
skipping to change at line 8349 skipping to change at line 8358
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_XPM 1 #define HAVE_XPM 1
EOF EOF
} }
LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
libs_x=""$libname_xpm" $libs_x" && if test "$extra_verbose" = "yes"; then e cho " Prepending \""$libname_xpm"\" to \$libs_x"; fi libs_x=""$libname_xpm" $libs_x" && if test "$extra_verbose" = "yes"; then e cho " Prepending \""$libname_xpm"\" to \$libs_x"; fi
CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then e cho " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then e cho " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
echo "configure:8512: checking for \"FOR_MSW\" xpm" >&5 echo "configure:8521: checking for \"FOR_MSW\" xpm" >&5
xe_check_libs="$libname_xpm" xe_check_libs="$libname_xpm"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8515 "configure" #line 8524 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
XpmCreatePixmapFromData() XpmCreatePixmapFromData()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
xpm_for_msw=no xpm_for_msw=no
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
xpm_for_msw=yes xpm_for_msw=yes
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs= xe_check_libs=
skipping to change at line 8385 skipping to change at line 8394
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define FOR_MSW 1 #define FOR_MSW 1
EOF EOF
} }
fi fi
fi fi
test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for compface.h""... $ac_c" 1>&6 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
echo "configure:8548: checking for compface.h" >&5 echo "configure:8557: checking for compface.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8551 "configure" #line 8560 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <compface.h> #include <compface.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:8556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:8565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 8416 skipping to change at line 8425
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_xface=no with_xface=no
fi fi
} }
test -z "$with_xface" && { test -z "$with_xface" && {
echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
echo "configure:8579: checking for UnGenFace in -lcompface" >&5 echo "configure:8588: checking for UnGenFace in -lcompface" >&5
ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
xe_check_libs=" -lcompface " xe_check_libs=" -lcompface "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8584 "configure" #line 8593 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char UnGenFace(); char UnGenFace();
int main() { int main() {
UnGenFace() UnGenFace()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 8484 skipping to change at line 8493
} }
extra_objs="$extra_objs dgif_lib.o gif_io.o" && if test "$extra_verbose" = "yes"; then extra_objs="$extra_objs dgif_lib.o gif_io.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"dgif_lib.o gif_io.o\"" echo " xemacs will be linked with \"dgif_lib.o gif_io.o\""
fi fi
fi fi
if test "$with_png $with_tiff" != "no no"; then if test "$with_png $with_tiff" != "no no"; then
echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
echo "configure:8647: checking for inflate in -lc" >&5 echo "configure:8656: checking for inflate in -lc" >&5
ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
xe_check_libs=" -lc " xe_check_libs=" -lc "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8652 "configure" #line 8661 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char inflate(); char inflate();
int main() { int main() {
inflate() inflate()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
echo "configure:8682: checking for inflate in -lz" >&5 echo "configure:8691: checking for inflate in -lz" >&5
ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
xe_check_libs=" -lz " xe_check_libs=" -lz "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8687 "configure" #line 8696 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char inflate(); char inflate();
int main() { int main() {
inflate() inflate()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prep ending \"-lz\" to \$libs_x"; fi libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prep ending \"-lz\" to \$libs_x"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
echo "configure:8717: checking for inflate in -lgz" >&5 echo "configure:8726: checking for inflate in -lgz" >&5
ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
xe_check_libs=" -lgz " xe_check_libs=" -lgz "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8722 "configure" #line 8731 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char inflate(); char inflate();
int main() { int main() {
inflate() inflate()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 8597 skipping to change at line 8606
fi fi
fi fi
fi fi
fi fi
test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
echo "configure:8763: checking for jpeglib.h" >&5 echo "configure:8772: checking for jpeglib.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8766 "configure" #line 8775 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <jpeglib.h> #include <jpeglib.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:8771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:8780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 8628 skipping to change at line 8637
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_jpeg=no with_jpeg=no
fi fi
} }
test -z "$with_jpeg" && { test -z "$with_jpeg" && {
echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
echo "configure:8794: checking for jpeg_destroy_decompress in -ljpeg" >&5 echo "configure:8803: checking for jpeg_destroy_decompress in -ljpeg" >&5
ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
xe_check_libs=" -ljpeg " xe_check_libs=" -ljpeg "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8799 "configure" #line 8808 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char jpeg_destroy_decompress(); char jpeg_destroy_decompress();
int main() { int main() {
jpeg_destroy_decompress() jpeg_destroy_decompress()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 8680 skipping to change at line 8689
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_JPEG 1 #define HAVE_JPEG 1
EOF EOF
} }
libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
fi fi
png_problem="" png_problem=""
test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
echo "configure:8846: checking for pow" >&5 echo "configure:8855: checking for pow" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8849 "configure" #line 8858 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pow(); below. */ which can conflict with char pow(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char pow(); char pow();
int main() { int main() {
skipping to change at line 8706 skipping to change at line 8715
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_pow) || defined (__stub___pow) #if defined (__stub_pow) || defined (__stub___pow)
choke me choke me
#else #else
pow(); pow();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_pow=yes" eval "ac_cv_func_pow=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_pow=no" eval "ac_cv_func_pow=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_func_'pow`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'pow`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_png=no with_png=no
fi fi
} }
test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for png.h""... $ac_c" 1>&6 echo $ac_n "checking for png.h""... $ac_c" 1>&6
echo "configure:8893: checking for png.h" >&5 echo "configure:8902: checking for png.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8896 "configure" #line 8905 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <png.h> #include <png.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:8901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:8910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 8758 skipping to change at line 8767
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_png=no with_png=no
fi fi
} }
test -z "$with_png" && { test -z "$with_png" && {
echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
echo "configure:8924: checking for png_read_image in -lpng" >&5 echo "configure:8933: checking for png_read_image in -lpng" >&5
ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
xe_check_libs=" -lpng " xe_check_libs=" -lpng "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8929 "configure" #line 8938 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char png_read_image(); char png_read_image();
int main() { int main() {
png_read_image() png_read_image()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:8940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:8949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 8797 skipping to change at line 8806
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_png=no with_png=no
fi fi
} }
if test -z "$with_png"; then if test -z "$with_png"; then
echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
echo "configure:8963: checking for workable png version information" >&5 echo "configure:8972: checking for workable png version information" >&5
xe_check_libs="-lpng -lz" xe_check_libs="-lpng -lz"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 8966 "configure" #line 8975 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <png.h> #include <png.h>
int main(int c, char **v) { int main(int c, char **v) {
if (c == 1) return 0; if (c == 1) return 0;
if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
EOF EOF
if { (eval echo configure:8974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5 if { (eval echo configure:8983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest && (./conftest; exit $?) 2>&5
then then
./conftest dummy_arg; png_status=$?; ./conftest dummy_arg; png_status=$?;
if test "$png_status" = "0"; then if test "$png_status" = "0"; then
with_png=yes; with_png=yes;
else else
with_png=no; with_png=no;
if test "$png_status" = "1"; then if test "$png_status" = "1"; then
png_problem="PNG library version and header file don't match!" png_problem="PNG library version and header file don't match!"
elif test "$png_status" = "2"; then elif test "$png_status" = "2"; then
png_problem="PNG library version too old (pre 1.0.2)!" png_problem="PNG library version too old (pre 1.0.2)!"
skipping to change at line 8851 skipping to change at line 8860
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_PNG 1 #define HAVE_PNG 1
EOF EOF
} }
libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
fi fi
test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
echo "configure:9017: checking for tiffio.h" >&5 echo "configure:9026: checking for tiffio.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9020 "configure" #line 9029 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <tiffio.h> #include <tiffio.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 8882 skipping to change at line 8891
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_tiff=no with_tiff=no
fi fi
} }
test -z "$with_tiff" && { test -z "$with_tiff" && {
echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
echo "configure:9048: checking for TIFFClientOpen in -ltiff" >&5 echo "configure:9057: checking for TIFFClientOpen in -ltiff" >&5
ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
xe_check_libs=" -ltiff " xe_check_libs=" -ltiff "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9053 "configure" #line 9062 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char TIFFClientOpen(); char TIFFClientOpen();
int main() { int main() {
TIFFClientOpen() TIFFClientOpen()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:9064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:9073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 8936 skipping to change at line 8945
EOF EOF
} }
libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi libs_x="-ltiff $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ltiff\" to \$libs_x"; fi
fi fi
fi fi
if test "$with_gtk" = "yes"; then if test "$with_gtk" = "yes"; then
test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for compface.h""... $ac_c" 1>&6 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
echo "configure:9103: checking for compface.h" >&5 echo "configure:9112: checking for compface.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9106 "configure" #line 9115 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <compface.h> #include <compface.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 8967 skipping to change at line 8976
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_xface=no with_xface=no
fi fi
} }
test -z "$with_xface" && { test -z "$with_xface" && {
echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
echo "configure:9134: checking for UnGenFace in -lcompface" >&5 echo "configure:9143: checking for UnGenFace in -lcompface" >&5
ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
xe_check_libs=" -lcompface " xe_check_libs=" -lcompface "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9139 "configure" #line 9148 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char UnGenFace(); char UnGenFace();
int main() { int main() {
UnGenFace() UnGenFace()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:9150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:9159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 9020 skipping to change at line 9029
#define HAVE_XFACE 1 #define HAVE_XFACE 1
EOF EOF
} }
libs_gtk="-lcompface $libs_gtk" && if test "$extra_verbose" = "yes"; then e cho " Prepending \"-lcompface\" to \$libs_gtk"; fi libs_gtk="-lcompface $libs_gtk" && if test "$extra_verbose" = "yes"; then e cho " Prepending \"-lcompface\" to \$libs_gtk"; fi
fi fi
fi fi
if test "$with_x11" = "yes"; then if test "$with_x11" = "yes"; then
echo "checking for X11 graphics libraries" 1>&6 echo "checking for X11 graphics libraries" 1>&6
echo "configure:9189: checking for X11 graphics libraries" >&5 echo "configure:9198: checking for X11 graphics libraries" >&5
fi fi
if test "$with_x11" = "yes"; then if test "$with_x11" = "yes"; then
echo "checking for the Athena widgets" 1>&6 echo "checking for the Athena widgets" 1>&6
echo "configure:9194: checking for the Athena widgets" >&5 echo "configure:9203: checking for the Athena widgets" >&5
case "$with_athena" in case "$with_athena" in
"xaw" | "") athena_variant=Xaw athena_3d=no ;; "xaw" | "") athena_variant=Xaw athena_3d=no ;;
"3d") athena_variant=Xaw3d athena_3d=yes ;; "3d") athena_variant=Xaw3d athena_3d=yes ;;
"next") athena_variant=neXtaw athena_3d=yes ;; "next") athena_variant=neXtaw athena_3d=yes ;;
"95") athena_variant=Xaw95 athena_3d=yes ;; "95") athena_variant=Xaw95 athena_3d=yes ;;
"xpm") athena_variant=XawXpm athena_3d=yes ;; "xpm") athena_variant=XawXpm athena_3d=yes ;;
*) { echo "Error:" "Unknown Athena widget set \`$with_athena'. This should not happen." >&2; exit 1; } ;; *) { echo "Error:" "Unknown Athena widget set \`$with_athena'. This should not happen." >&2; exit 1; } ;;
esac esac
athena_3d_function=Xaw3dComputeBottomShadowRGB athena_3d_function=Xaw3dComputeBottomShadowRGB
if test "$athena_3d" = "no"; then if test "$athena_3d" = "no"; then
echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1 >&6 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1 >&6
echo "configure:9210: checking for XawScrollbarSetThumb in -l$athena_variant" >& 5 echo "configure:9219: checking for XawScrollbarSetThumb in -l$athena_variant" >& 5
ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
xe_check_libs=" -l$athena_variant " xe_check_libs=" -l$athena_variant "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9215 "configure" #line 9224 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XawScrollbarSetThumb(); char XawScrollbarSetThumb();
int main() { int main() {
XawScrollbarSetThumb() XawScrollbarSetThumb()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:9226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:9235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
echo $ac_n "checking for $athena_3d_function in -l$athena_variant""... $ac_c" 1> &6 echo $ac_n "checking for $athena_3d_function in -l$athena_variant""... $ac_c" 1> &6
echo "configure:9242: checking for $athena_3d_function in -l$athena_variant" >&5 echo "configure:9251: checking for $athena_3d_function in -l$athena_variant" >&5
ac_lib_var=`echo $athena_variant'_'$athena_3d_function | sed 'y%./+-%__p_%'` ac_lib_var=`echo $athena_variant'_'$athena_3d_function | sed 'y%./+-%__p_%'`
xe_check_libs=" -l$athena_variant " xe_check_libs=" -l$athena_variant "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9247 "configure" #line 9256 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $athena_3d_function(); char $athena_3d_function();
int main() { int main() {
$athena_3d_function() $athena_3d_function()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:9258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:9267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 9117 skipping to change at line 9126
fi fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo "configure: warning: "Could not find an Athena widget library."" 1>&2 echo "configure: warning: "Could not find an Athena widget library."" 1>&2
fi fi
else else
echo $ac_n "checking for $athena_3d_function in -l$athena_variant""... $ac_c" 1> &6 echo $ac_n "checking for $athena_3d_function in -l$athena_variant""... $ac_c" 1> &6
echo "configure:9289: checking for $athena_3d_function in -l$athena_variant" >&5 echo "configure:9298: checking for $athena_3d_function in -l$athena_variant" >&5
ac_lib_var=`echo $athena_variant'_'$athena_3d_function | sed 'y%./+-%__p_%'` ac_lib_var=`echo $athena_variant'_'$athena_3d_function | sed 'y%./+-%__p_%'`
xe_check_libs=" -l$athena_variant " xe_check_libs=" -l$athena_variant "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9294 "configure" #line 9303 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $athena_3d_function(); char $athena_3d_function();
int main() { int main() {
$athena_3d_function() $athena_3d_function()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:9305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
athena_lib=$athena_variant athena_lib=$athena_variant
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for $athena_3d_function in -lXaw""... $ac_c" 1>&6 echo $ac_n "checking for $athena_3d_function in -lXaw""... $ac_c" 1>&6
echo "configure:9323: checking for $athena_3d_function in -lXaw" >&5 echo "configure:9332: checking for $athena_3d_function in -lXaw" >&5
ac_lib_var=`echo Xaw'_'$athena_3d_function | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xaw'_'$athena_3d_function | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXaw " xe_check_libs=" -lXaw "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9328 "configure" #line 9337 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $athena_3d_function(); char $athena_3d_function();
int main() { int main() {
$athena_3d_function() $athena_3d_function()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:9339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:9348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 9196 skipping to change at line 9205
echo "configure: warning: "Could not find a 3d Athena widget library that looked like $athena_variant."" 1>&2 echo "configure: warning: "Could not find a 3d Athena widget library that looked like $athena_variant."" 1>&2
fi fi
fi fi
fi fi
if test "$athena_3d" = "no"; then if test "$athena_3d" = "no"; then
ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
echo "configure:9370: checking for X11/Xaw/ThreeD.h" >&5 echo "configure:9379: checking for X11/Xaw/ThreeD.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9373 "configure" #line 9382 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Xaw/ThreeD.h> #include <X11/Xaw/ThreeD.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
echo "configure:9398: checking for X11/Xaw/XawInit.h" >&5 echo "configure:9407: checking for X11/Xaw/XawInit.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9401 "configure" #line 9410 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Xaw/XawInit.h> #include <X11/Xaw/XawInit.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 9258 skipping to change at line 9267
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2
fi fi
fi fi
else else
ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
echo "configure:9432: checking for X11/$athena_variant/XawInit.h" >&5 echo "configure:9441: checking for X11/$athena_variant/XawInit.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9435 "configure" #line 9444 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/$athena_variant/XawInit.h> #include <X11/$athena_variant/XawInit.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
echo "configure:9457: checking for X11/$athena_variant/ThreeD.h" >&5 echo "configure:9466: checking for X11/$athena_variant/ThreeD.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9460 "configure" #line 9469 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/$athena_variant/ThreeD.h> #include <X11/$athena_variant/ThreeD.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 9318 skipping to change at line 9327
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test -z "$athena_h_path"; then if test -z "$athena_h_path"; then
ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
echo "configure:9493: checking for $athena_variant/XawInit.h" >&5 echo "configure:9502: checking for $athena_variant/XawInit.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9496 "configure" #line 9505 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$athena_variant/XawInit.h> #include <$athena_variant/XawInit.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
echo "configure:9518: checking for $athena_variant/ThreeD.h" >&5 echo "configure:9527: checking for $athena_variant/ThreeD.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9521 "configure" #line 9530 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$athena_variant/ThreeD.h> #include <$athena_variant/ThreeD.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 9380 skipping to change at line 9389
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
fi fi
if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
echo "configure:9555: checking for X11/Xaw3d/XawInit.h" >&5 echo "configure:9564: checking for X11/Xaw3d/XawInit.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9558 "configure" #line 9567 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Xaw3d/XawInit.h> #include <X11/Xaw3d/XawInit.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
echo "configure:9580: checking for X11/Xaw3d/ThreeD.h" >&5 echo "configure:9589: checking for X11/Xaw3d/ThreeD.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9583 "configure" #line 9592 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Xaw3d/ThreeD.h> #include <X11/Xaw3d/ThreeD.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 9445 skipping to change at line 9454
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
fi fi
if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
echo "configure:9620: checking for Xaw3d/XawInit.h" >&5 echo "configure:9629: checking for Xaw3d/XawInit.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9623 "configure" #line 9632 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <Xaw3d/XawInit.h> #include <Xaw3d/XawInit.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
echo "configure:9645: checking for Xaw3d/ThreeD.h" >&5 echo "configure:9654: checking for Xaw3d/ThreeD.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9648 "configure" #line 9657 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <Xaw3d/ThreeD.h> #include <Xaw3d/ThreeD.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 9510 skipping to change at line 9519
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
fi fi
if test -z "$athena_h_path"; then if test -z "$athena_h_path"; then
ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
echo "configure:9685: checking for X11/Xaw/ThreeD.h" >&5 echo "configure:9694: checking for X11/Xaw/ThreeD.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9688 "configure" #line 9697 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <X11/Xaw/ThreeD.h> #include <X11/Xaw/ThreeD.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 9547 skipping to change at line 9556
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo "configure: warning: "Could not find a suitable 3d Athena header set."" 1>& 2 echo "configure: warning: "Could not find a suitable 3d Athena header set."" 1>& 2
fi fi
fi fi
fi fi
if test -n "$athena_lib" -a -n "$athena_h_path"; then if test -n "$athena_lib" -a -n "$athena_h_path"; then
have_xaw=yes have_xaw=yes
have_athena_i18n=unset
if test "$athena_variant" = "Xaw3d"; then
save_libs_x=$libs_x
libs_x="-lXaw3d $libs_x" && if test "$extra_verbose" = "yes"; then echo "
Prepending \"-lXaw3d\" to \$libs_x"; fi
echo $ac_n "checking for "international" resource in Xaw3d SimpleWid
get""... $ac_c" 1>&6
echo "configure:9736: checking for "international" resource in Xaw3d SimpleWidge
t" >&5
cat > conftest.$ac_ext <<EOF
#line 9739 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <string.h>
#undef XAW_INTERNATIONALIZATION
#include <$athena_h_path/Simple.h>
int main(int c, char **v) {
int i = simpleWidgetClass->core_class.num_resources;
while (i-- > 0)
if (!strcmp(simpleWidgetClass->core_class.resources[i].resource_name,
"international"))
exit(0);
exit(253);}
EOF
if { (eval echo configure:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t
est -s conftest && (./conftest; exit $?) 2>&5
then
./conftest dummy_arg; xaw_intl_status=$?;
if test "$xaw_intl_status" = "0"; then
have_athena_i18n=yes
else
have_athena_i18n=no
libs_x=$save_libs_x
fi
else
conftest_rc="$?"
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -fr conftest*
echo "$ac_t""$have_athena_i18n" 1>&6
fi
else else
have_xaw=no have_xaw=no
fi fi
else else
have_xaw=no have_xaw=no
fi fi
if test "$with_x11" = "yes"; then if test "$with_x11" = "yes"; then
ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
echo "configure:9732: checking for Xm/Xm.h" >&5 echo "configure:9780: checking for Xm/Xm.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9735 "configure" #line 9783 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <Xm/Xm.h> #include <Xm/Xm.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:9740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:9788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
echo "configure:9757: checking for XmStringFree in -lXm" >&5 echo "configure:9805: checking for XmStringFree in -lXm" >&5
ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXm " xe_check_libs=" -lXm "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9762 "configure" #line 9810 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XmStringFree(); char XmStringFree();
int main() { int main() {
XmStringFree() XmStringFree()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:9773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then if { (eval echo configure:9821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && t est -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 9625 skipping to change at line 9673
have_motif=no have_motif=no
fi fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
have_motif=no have_motif=no
fi fi
if test "$have_motif" = "yes"; then if test "$have_motif" = "yes"; then
echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
echo "configure:9802: checking for Lesstif" >&5 echo "configure:9850: checking for Lesstif" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 9804 "configure" #line 9852 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <Xm/Xm.h> #include <Xm/Xm.h>
#ifdef LESSTIF_VERSION #ifdef LESSTIF_VERSION
yes yes
#endif #endif
EOF EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "yes" >/dev/null 2>&1; then egrep "yes" >/dev/null 2>&1; then
rm -rf conftest* rm -rf conftest*
skipping to change at line 9810 skipping to change at line 9858
if test "$athena_3d" = "yes"; then if test "$athena_3d" = "yes"; then
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_ATHENA_3D Defining HAVE_ATHENA_3D
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_ATHENA_3D 1 #define HAVE_ATHENA_3D 1
EOF EOF
} }
if test "$have_athena_i18n" = "yes"; then
{ test "$extra_verbose" = "yes" && cat << \EOF
Defining HAVE_ATHENA_I18N
EOF
cat >> confdefs.h <<\EOF
#define HAVE_ATHENA_I18N 1
EOF
}
fi
fi fi
;; ;;
esac esac
case "$all_widgets" in *motif* ) case "$all_widgets" in *motif* )
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining LWLIB_USES_MOTIF Defining LWLIB_USES_MOTIF
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define LWLIB_USES_MOTIF 1 #define LWLIB_USES_MOTIF 1
skipping to change at line 10063 skipping to change at line 10121
EOF EOF
} }
extra_objs="$extra_objs file-coding.o" && if test "$extra_verbose" = "yes"; t hen extra_objs="$extra_objs file-coding.o" && if test "$extra_verbose" = "yes"; t hen
echo " xemacs will be linked with \"file-coding.o\"" echo " xemacs will be linked with \"file-coding.o\""
fi fi
fi fi
if test "$with_mule" = "yes" ; then if test "$with_mule" = "yes" ; then
echo "checking for Mule-related features" 1>&6 echo "checking for Mule-related features" 1>&6
echo "configure:10250: checking for Mule-related features" >&5 echo "configure:10308: checking for Mule-related features" >&5
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining MULE Defining MULE
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define MULE 1 #define MULE 1
EOF EOF
} }
{ test "$extra_verbose" = "yes" && cat << \EOF { test "$extra_verbose" = "yes" && cat << \EOF
Defining FILE_CODING Defining FILE_CODING
skipping to change at line 10088 skipping to change at line 10146
} }
extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o file-coding.o" && if test "$extra_verbose" = "yes"; then extra_objs="$extra_objs mule.o mule-ccl.o mule-charset.o file-coding.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o file- coding.o\"" echo " xemacs will be linked with \"mule.o mule-ccl.o mule-charset.o file- coding.o\""
fi fi
for ac_hdr in libintl.h for ac_hdr in libintl.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:10275: checking for $ac_hdr" >&5 echo "configure:10333: checking for $ac_hdr" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10278 "configure" #line 10336 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:10283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:10341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 10126 skipping to change at line 10184
#define $ac_tr_hdr 1 #define $ac_tr_hdr 1
EOF EOF
} }
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
echo "configure:10314: checking for strerror in -lintl" >&5 echo "configure:10372: checking for strerror in -lintl" >&5
ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
xe_check_libs=" -lintl " xe_check_libs=" -lintl "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10319 "configure" #line 10377 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char strerror(); char strerror();
int main() { int main() {
strerror() strerror()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10173 skipping to change at line 10231
EOF EOF
} }
LIBS="-lintl $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepe nding \"-lintl\" to \$LIBS"; fi LIBS="-lintl $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepe nding \"-lintl\" to \$LIBS"; fi
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
echo "checking for Mule input methods" 1>&6 echo "checking for Mule input methods" 1>&6
echo "configure:10363: checking for Mule input methods" >&5 echo "configure:10421: checking for Mule input methods" >&5
case "$with_xim" in "" | "yes" ) case "$with_xim" in "" | "yes" )
echo "checking for XIM" 1>&6 echo "checking for XIM" 1>&6
echo "configure:10366: checking for XIM" >&5 echo "configure:10424: checking for XIM" >&5
echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
echo "configure:10369: checking for XOpenIM in -lX11" >&5 echo "configure:10427: checking for XOpenIM in -lX11" >&5
ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
xe_check_libs=" -lX11 " xe_check_libs=" -lX11 "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10374 "configure" #line 10432 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XOpenIM(); char XOpenIM();
int main() { int main() {
XOpenIM() XOpenIM()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10218 skipping to change at line 10276
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
with_xim=xlib with_xim=xlib
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_xim=no with_xim=no
fi fi
if test "$need_motif $have_lesstif" = "yes no"; then if test "$need_motif $have_lesstif" = "yes no"; then
echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
echo "configure:10409: checking for XmImMbLookupString in -lXm" >&5 echo "configure:10467: checking for XmImMbLookupString in -lXm" >&5
ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXm " xe_check_libs=" -lXm "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10414 "configure" #line 10472 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XmImMbLookupString(); char XmImMbLookupString();
int main() { int main() {
XmImMbLookupString() XmImMbLookupString()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10256 skipping to change at line 10314
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
with_xim=motif with_xim=motif
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
elif test "$have_motif $have_lesstif $with_xim" = "yes no no"; then elif test "$have_motif $have_lesstif $with_xim" = "yes no no"; then
echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
echo "configure:10448: checking for XmImMbLookupString in -lXm" >&5 echo "configure:10506: checking for XmImMbLookupString in -lXm" >&5
ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
xe_check_libs=" -lXm " xe_check_libs=" -lXm "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10453 "configure" #line 10511 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XmImMbLookupString(); char XmImMbLookupString();
int main() { int main() {
XmImMbLookupString() XmImMbLookupString()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10336 skipping to change at line 10394
echo " xemacs will be linked with \"input-method-motif.o\"" echo " xemacs will be linked with \"input-method-motif.o\""
fi fi
fi fi
if test "$with_xim" = "motif"; then if test "$with_xim" = "motif"; then
with_xfs=no with_xfs=no
fi fi
fi fi
if test "$with_xfs" = "yes" ; then if test "$with_xfs" = "yes" ; then
echo "checking for XFontSet" 1>&6 echo "checking for XFontSet" 1>&6
echo "configure:10529: checking for XFontSet" >&5 echo "configure:10587: checking for XFontSet" >&5
echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
echo "configure:10532: checking for XmbDrawString in -lX11" >&5 echo "configure:10590: checking for XmbDrawString in -lX11" >&5
ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
xe_check_libs=" -lX11 " xe_check_libs=" -lX11 "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10537 "configure" #line 10595 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char XmbDrawString(); char XmbDrawString();
int main() { int main() {
XmbDrawString() XmbDrawString()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10394 skipping to change at line 10452
if test "$with_xim" = "no" ; then if test "$with_xim" = "no" ; then
extra_objs="$extra_objs input-method-xlib.o" && if test "$extra_verbose " = "yes"; then extra_objs="$extra_objs input-method-xlib.o" && if test "$extra_verbose " = "yes"; then
echo " xemacs will be linked with \"input-method-xlib.o\"" echo " xemacs will be linked with \"input-method-xlib.o\""
fi fi
fi fi
fi fi
fi fi
test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
echo "configure:10588: checking for wnn/jllib.h" >&5 echo "configure:10646: checking for wnn/jllib.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10591 "configure" #line 10649 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <wnn/jllib.h> #include <wnn/jllib.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:10596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:10654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 10425 skipping to change at line 10483
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_wnn=no with_wnn=no
fi fi
} }
test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%' ` test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%' `
echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
echo "configure:10619: checking for wnn/commonhd.h" >&5 echo "configure:10677: checking for wnn/commonhd.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10622 "configure" #line 10680 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <wnn/commonhd.h> #include <wnn/commonhd.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:10627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:10685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 10458 skipping to change at line 10516
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_wnn=no with_wnn=no
fi fi
} }
if test "$with_wnn" != "no"; then if test "$with_wnn" != "no"; then
for ac_func in crypt for ac_func in crypt
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:10652: checking for $ac_func" >&5 echo "configure:10710: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10655 "configure" #line 10713 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 10484 skipping to change at line 10542
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 10513 skipping to change at line 10571
EOF EOF
} }
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
test "$ac_cv_func_crypt" != "yes" && { test "$ac_cv_func_crypt" != "yes" && {
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
echo "configure:10707: checking for crypt in -lcrypt" >&5 echo "configure:10765: checking for crypt in -lcrypt" >&5
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
xe_check_libs=" -lcrypt " xe_check_libs=" -lcrypt "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10712 "configure" #line 10770 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char crypt(); char crypt();
int main() { int main() {
crypt() crypt()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10564 skipping to change at line 10622
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
} }
fi fi
if test -z "$with_wnn" -o "$with_wnn" = "yes"; then if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
echo "configure:10758: checking for jl_dic_list_e in -lwnn" >&5 echo "configure:10816: checking for jl_dic_list_e in -lwnn" >&5
ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
xe_check_libs=" -lwnn " xe_check_libs=" -lwnn "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10763 "configure" #line 10821 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char jl_dic_list_e(); char jl_dic_list_e();
int main() { int main() {
jl_dic_list_e() jl_dic_list_e()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libwnn=wnn libwnn=wnn
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
echo "configure:10792: checking for jl_dic_list_e in -lwnn4" >&5 echo "configure:10850: checking for jl_dic_list_e in -lwnn4" >&5
ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
xe_check_libs=" -lwnn4 " xe_check_libs=" -lwnn4 "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10797 "configure" #line 10855 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char jl_dic_list_e(); char jl_dic_list_e();
int main() { int main() {
jl_dic_list_e() jl_dic_list_e()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libwnn=wnn4 libwnn=wnn4
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
echo "configure:10826: checking for jl_dic_list_e in -lwnn6" >&5 echo "configure:10884: checking for jl_dic_list_e in -lwnn6" >&5
ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
xe_check_libs=" -lwnn6 " xe_check_libs=" -lwnn6 "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10831 "configure" #line 10889 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char jl_dic_list_e(); char jl_dic_list_e();
int main() { int main() {
jl_dic_list_e() jl_dic_list_e()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
libwnn=wnn6 libwnn=wnn6
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
echo "configure:10860: checking for dic_list_e in -lwnn6_fromsrc" >&5 echo "configure:10918: checking for dic_list_e in -lwnn6_fromsrc" >&5
ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
xe_check_libs=" -lwnn6_fromsrc " xe_check_libs=" -lwnn6_fromsrc "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10865 "configure" #line 10923 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char dic_list_e(); char dic_list_e();
int main() { int main() {
dic_list_e() dic_list_e()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10726 skipping to change at line 10784
EOF EOF
} }
libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"mule-wnnfns.o\"" echo " xemacs will be linked with \"mule-wnnfns.o\""
fi fi
if test "$with_wnn6" != "no"; then if test "$with_wnn6" != "no"; then
echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
echo "configure:10924: checking for jl_fi_dic_list in -l$libwnn" >&5 echo "configure:10982: checking for jl_fi_dic_list in -l$libwnn" >&5
ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
xe_check_libs=" -l$libwnn " xe_check_libs=" -l$libwnn "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10929 "configure" #line 10987 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char jl_fi_dic_list(); char jl_fi_dic_list();
int main() { int main() {
jl_fi_dic_list() jl_fi_dic_list()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:10940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:10998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10776 skipping to change at line 10834
EOF EOF
} }
fi fi
fi fi
canna_includes_found=no canna_includes_found=no
if test "$with_canna" != "no"; then if test "$with_canna" != "no"; then
ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
echo "configure:10975: checking for canna/jrkanji.h" >&5 echo "configure:11033: checking for canna/jrkanji.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 10978 "configure" #line 11036 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <canna/jrkanji.h> #include <canna/jrkanji.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:10983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:11041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 10811 skipping to change at line 10869
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
fi fi
if test "$canna_includes_found" = "no" -a "$with_canna" != "no" -a \ if test "$canna_includes_found" = "no" -a "$with_canna" != "no" -a \
-d "/usr/local/canna/include"; then -d "/usr/local/canna/include"; then
save_c_switch_site="$c_switch_site" save_c_switch_site="$c_switch_site"
c_switch_site="$c_switch_site -I/usr/local/canna/include" c_switch_site="$c_switch_site -I/usr/local/canna/include"
ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
echo "configure:11010: checking for canna/jrkanji.h" >&5 echo "configure:11068: checking for canna/jrkanji.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11013 "configure" #line 11071 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <canna/jrkanji.h> #include <canna/jrkanji.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:11018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:11076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 10847 skipping to change at line 10905
fi fi
if test "$canna_includes_found" != "yes"; then if test "$canna_includes_found" != "yes"; then
c_switch_site="$save_c_switch_site" c_switch_site="$save_c_switch_site"
with_canna="no" with_canna="no"
fi fi
fi fi
test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
echo "configure:11046: checking for canna/RK.h" >&5 echo "configure:11104: checking for canna/RK.h" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11049 "configure" #line 11107 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <canna/RK.h> #include <canna/RK.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:11054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:11112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 10878 skipping to change at line 10936
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_canna=no with_canna=no
fi fi
} }
test -z "$with_canna" && { test -z "$with_canna" && {
echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
echo "configure:11077: checking for RkBgnBun in -lRKC" >&5 echo "configure:11135: checking for RkBgnBun in -lRKC" >&5
ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
xe_check_libs=" -lRKC " xe_check_libs=" -lRKC "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11082 "configure" #line 11140 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char RkBgnBun(); char RkBgnBun();
int main() { int main() {
RkBgnBun() RkBgnBun()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10917 skipping to change at line 10975
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
: :
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
with_canna=no with_canna=no
fi fi
} }
test -z "$with_canna" && { test -z "$with_canna" && {
echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
echo "configure:11116: checking for jrKanjiControl in -lcanna" >&5 echo "configure:11174: checking for jrKanjiControl in -lcanna" >&5
ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
xe_check_libs=" -lcanna " xe_check_libs=" -lcanna "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11121 "configure" #line 11179 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char jrKanjiControl(); char jrKanjiControl();
int main() { int main() {
jrKanjiControl() jrKanjiControl()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 10982 skipping to change at line 11040
echo "configure: warning: "--with-${feature} ignored: Not valid without M ule support"" 1>&2 echo "configure: warning: "--with-${feature} ignored: Not valid without M ule support"" 1>&2
fi fi
eval "with_${feature}=no" eval "with_${feature}=no"
done done
fi fi
if test "$need_motif" = "yes" ; then if test "$need_motif" = "yes" ; then
libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Pre pending \"-lXm\" to \$libs_x"; fi libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Pre pending \"-lXm\" to \$libs_x"; fi
echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
echo "configure:11181: checking for layout_object_getvalue in -li18n" >&5 echo "configure:11239: checking for layout_object_getvalue in -li18n" >&5
ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
xe_check_libs=" -li18n " xe_check_libs=" -li18n "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11186 "configure" #line 11244 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char layout_object_getvalue(); char layout_object_getvalue();
int main() { int main() {
layout_object_getvalue() layout_object_getvalue()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 11082 skipping to change at line 11140
fi fi
test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath"
fi fi
fi fi
fi fi
for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 math err mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror t zset ulimit usleep waitpid vsnprintf fsync ftruncate umask for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 math err mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror t zset ulimit usleep waitpid vsnprintf fsync ftruncate umask
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:11284: checking for $ac_func" >&5 echo "configure:11342: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11287 "configure" #line 11345 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 11108 skipping to change at line 11166
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 11147 skipping to change at line 11205
hpux11* ) hpux11* )
echo "configure: warning: Use of getaddrinfo is disabled for HP-UX 11.XX." 1>&2 echo "configure: warning: Use of getaddrinfo is disabled for HP-UX 11.XX." 1>&2
ac_cv_func_getaddrinfo=no ac_cv_func_getaddrinfo=no
;; ;;
esac esac
fi fi
for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:11351: checking for $ac_func" >&5 echo "configure:11409: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11354 "configure" #line 11412 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 11173 skipping to change at line 11231
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 11201 skipping to change at line 11259
#define $ac_tr_func 1 #define $ac_tr_func 1
EOF EOF
} }
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
echo $ac_n "checking for openpty""... $ac_c" 1>&6 echo $ac_n "checking for openpty""... $ac_c" 1>&6
echo "configure:11406: checking for openpty" >&5 echo "configure:11464: checking for openpty" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11409 "configure" #line 11467 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char openpty(); below. */ which can conflict with char openpty(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char openpty(); char openpty();
int main() { int main() {
skipping to change at line 11227 skipping to change at line 11285
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_openpty) || defined (__stub___openpty) #if defined (__stub_openpty) || defined (__stub___openpty)
choke me choke me
#else #else
openpty(); openpty();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_openpty=yes" eval "ac_cv_func_openpty=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_openpty=no" eval "ac_cv_func_openpty=no"
fi fi
rm -f conftest* rm -f conftest*
if eval "test \"`echo '$ac_cv_func_'openpty`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'openpty`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
have_openpty=yes have_openpty=yes
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
echo "configure:11451: checking for openpty in -lutil" >&5 echo "configure:11509: checking for openpty in -lutil" >&5
ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
xe_check_libs=" -lutil " xe_check_libs=" -lutil "
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11456 "configure" #line 11514 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char openpty(); char openpty();
int main() { int main() {
openpty() openpty()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no" eval "ac_cv_lib_$ac_lib_var=no"
fi fi
rm -f conftest* rm -f conftest*
xe_check_libs="" xe_check_libs=""
skipping to change at line 11295 skipping to change at line 11353
EOF EOF
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_OPENPTY 1 #define HAVE_OPENPTY 1
EOF EOF
} }
for ac_hdr in pty.h libutil.h util.h for ac_hdr in pty.h libutil.h util.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:11502: checking for $ac_hdr" >&5 echo "configure:11560: checking for $ac_hdr" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11505 "configure" #line 11563 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:11510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:11568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 11339 skipping to change at line 11397
fi fi
done done
test "$need_libutil" = "yes" && libs_system="$libs_system -lutil" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lutil\" to \$libs_system"; fi test "$need_libutil" = "yes" && libs_system="$libs_system -lutil" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lutil\" to \$libs_system"; fi
fi fi
for ac_hdr in stropts.h for ac_hdr in stropts.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:11546: checking for $ac_hdr" >&5 echo "configure:11604: checking for $ac_hdr" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11549 "configure" #line 11607 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:11554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:11612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 11380 skipping to change at line 11438
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
if test "$ac_cv_header_stropts_h" = "yes"; then if test "$ac_cv_header_stropts_h" = "yes"; then
for ac_func in isastream for ac_func in isastream
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:11587: checking for $ac_func" >&5 echo "configure:11645: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11590 "configure" #line 11648 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 11406 skipping to change at line 11464
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 11437 skipping to change at line 11495
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
for ac_hdr in strtio.h for ac_hdr in strtio.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:11644: checking for $ac_hdr" >&5 echo "configure:11702: checking for $ac_hdr" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11647 "configure" #line 11705 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:11652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:11710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes" eval "ac_cv_header_$ac_safe=yes"
else else
echo "$ac_err" >&5 echo "$ac_err" >&5
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_header_$ac_safe=no" eval "ac_cv_header_$ac_safe=no"
skipping to change at line 11482 skipping to change at line 11540
done done
fi fi
extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then extra_objs="$extra_objs realpath.o" && if test "$extra_verbose" = "yes"; then
echo " xemacs will be linked with \"realpath.o\"" echo " xemacs will be linked with \"realpath.o\""
fi fi
for ac_func in getloadavg for ac_func in getloadavg
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:11689: checking for $ac_func" >&5 echo "configure:11747: checking for $ac_func" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 11692 "configure" #line 11750 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
#include <assert.h> #include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char $ac_func(); char $ac_func();
int main() { int main() {
skipping to change at line 11508 skipping to change at line 11566
to always fail with ENOSYS. Some functions are actually named to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */ something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me choke me
#else #else
$ac_func(); $ac_func();
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:11715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=no" eval "ac_cv_func_$ac_func=no"
fi fi
rm -f conftest* rm -f conftest*
skipping to change at line 11540 skipping to change at line 11598
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
done done
if test "$ac_cv_func_getloadavg" = "yes"; then if test "$ac_cv_func_getloadavg" = "yes"; then
for ac_hdr in sys/loadavg.h for ac_hdr in sys/loadavg.h
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`