aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-05-10 08:36:08 +0000
committerEli Zaretskii2002-05-10 08:36:08 +0000
commit925c2f3f5e2ff0359bc1f48542026bcf4650236c (patch)
treeb4b5ebd92140a792d4d535113d7d21d5867f5ec1
parenta23a8440c7dc0954eb832d5f040f4536c921f8a8 (diff)
downloademacs-925c2f3f5e2ff0359bc1f48542026bcf4650236c.tar.gz
emacs-925c2f3f5e2ff0359bc1f48542026bcf4650236c.zip
Regenerated.
-rwxr-xr-xconfigure7440
1 files changed, 1925 insertions, 5515 deletions
diff --git a/configure b/configure
index ee57aa03a52..25262dc3dbd 100755
--- a/configure
+++ b/configure
@@ -1,22 +1,24 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.53. 3# Generated by Autoconf 2.52.
4# 4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6# Free Software Foundation, Inc. 6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation 7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 8# gives unlimited permission to copy, distribute and modify it.
9 9
10if expr a : '\(a\)' >/dev/null 2>&1; then 10# Avoid depending upon Character Ranges.
11 as_expr=expr 11as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12else 12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_expr=false 13as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14fi 14as_cr_digits='0123456789'
15as_cr_alnum=$as_cr_Letters$as_cr_digits
15 16
17# Sed expression to map a string onto a valid variable name.
18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16 19
17## --------------------- ## 20# Sed expression to map a string onto a valid CPP name.
18## M4sh Initialization. ## 21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
19## --------------------- ##
20 22
21# Be Bourne compatible 23# Be Bourne compatible
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -26,165 +28,8 @@ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix 28 set -o posix
27fi 29fi
28 30
29# NLS nuisances.
30# Support unset when possible.
31if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33else
34 as_unset=false
35fi
36
37(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63# Name of the executable. 31# Name of the executable.
64as_me=`(basename "$0") 2>/dev/null || 32as_me=`echo "$0" |sed 's,.*[\\/],,'`
65$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75# PATH needs CR, and LINENO needs CR and PATH.
76# Avoid depending upon Character Ranges.
77as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80as_cr_digits='0123456789'
81as_cr_alnum=$as_cr_Letters$as_cr_digits
82
83# The user is always right.
84if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';'
90 else
91 PATH_SEPARATOR=:
92 fi
93 rm -f conftest.sh
94fi
95
96
97 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107for as_dir in $PATH
108do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147done
148;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179}
180
181
182case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187esac
188 33
189if expr a : '\(a\)' >/dev/null 2>&1; then 34if expr a : '\(a\)' >/dev/null 2>&1; then
190 as_expr=expr 35 as_expr=expr
@@ -212,12 +57,22 @@ rm -f conf$$ conf$$.exe conf$$.file
212 57
213as_executable_p="test -f" 58as_executable_p="test -f"
214 59
215# Sed expression to map a string onto a valid CPP name. 60# Support unset when possible.
216as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
217 62 as_unset=unset
218# Sed expression to map a string onto a valid variable name. 63else
219as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 64 as_unset=false
65fi
220 66
67# NLS nuisances.
68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
221 76
222# IFS 77# IFS
223# We need space, tab and new line, in precisely that order. 78# We need space, tab and new line, in precisely that order.
@@ -226,8 +81,7 @@ as_nl='
226IFS=" $as_nl" 81IFS=" $as_nl"
227 82
228# CDPATH. 83# CDPATH.
229$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
230
231 85
232# Name of the host. 86# Name of the host.
233# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -242,8 +96,7 @@ exec 6>&1
242ac_default_prefix=/usr/local 96ac_default_prefix=/usr/local
243cross_compiling=no 97cross_compiling=no
244subdirs= 98subdirs=
245MFLAGS= 99MFLAGS= MAKEFLAGS=
246MAKEFLAGS=
247SHELL=${CONFIG_SHELL-/bin/sh} 100SHELL=${CONFIG_SHELL-/bin/sh}
248 101
249# Maximum number of lines to put in a shell here document. 102# Maximum number of lines to put in a shell here document.
@@ -251,13 +104,6 @@ SHELL=${CONFIG_SHELL-/bin/sh}
251# only ac_max_sed_lines should be used. 104# only ac_max_sed_lines should be used.
252: ${ac_max_here_lines=38} 105: ${ac_max_here_lines=38}
253 106
254# Identity of this package.
255PACKAGE_NAME=
256PACKAGE_TARNAME=
257PACKAGE_VERSION=
258PACKAGE_STRING=
259PACKAGE_BUGREPORT=
260
261ac_unique_file="src/lisp.h" 107ac_unique_file="src/lisp.h"
262# Factoring default headers for most tests. 108# Factoring default headers for most tests.
263ac_includes_default="\ 109ac_includes_default="\
@@ -296,7 +142,6 @@ ac_includes_default="\
296# include <unistd.h> 142# include <unistd.h>
297#endif" 143#endif"
298 144
299
300# Initialize some variables set by options. 145# Initialize some variables set by options.
301ac_init_help= 146ac_init_help=
302ac_init_version=false 147ac_init_version=false
@@ -335,6 +180,13 @@ oldincludedir='/usr/include'
335infodir='${prefix}/info' 180infodir='${prefix}/info'
336mandir='${prefix}/man' 181mandir='${prefix}/man'
337 182
183# Identity of this package.
184PACKAGE_NAME=
185PACKAGE_TARNAME=
186PACKAGE_VERSION=
187PACKAGE_STRING=
188PACKAGE_BUGREPORT=
189
338ac_prev= 190ac_prev=
339for ac_option 191for ac_option
340do 192do
@@ -467,7 +319,7 @@ do
467 with_fp=no ;; 319 with_fp=no ;;
468 320
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n) 322 | --no-cr | --no-c)
471 no_create=yes ;; 323 no_create=yes ;;
472 324
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
@@ -646,7 +498,7 @@ do
646 eval ac_val=$`echo $ac_var` 498 eval ac_val=$`echo $ac_var`
647 case $ac_val in 499 case $ac_val in
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };; 502 { (exit 1); exit 1; }; };;
651 esac 503 esac
652done 504done
@@ -658,19 +510,18 @@ do
658 eval ac_val=$`echo $ac_var` 510 eval ac_val=$`echo $ac_var`
659 case $ac_val in 511 case $ac_val in
660 [\\/$]* | ?:[\\/]* ) ;; 512 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };; 514 { (exit 1); exit 1; }; };;
663 esac 515 esac
664done 516done
665 517
666# There might be people who depend on the old broken behavior: `$host' 518# There might be people who depend on the old broken behavior: `$host'
667# used to hold the argument of --host etc. 519# used to hold the argument of --host etc.
668# FIXME: To remove some day.
669build=$build_alias 520build=$build_alias
670host=$host_alias 521host=$host_alias
671target=$target_alias 522target=$target_alias
672 523
673# FIXME: To remove some day. 524# FIXME: should be removed in autoconf 3.0.
674if test "x$host_alias" != x; then 525if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then 526 if test "x$build_alias" = x; then
676 cross_compiling=maybe 527 cross_compiling=maybe
@@ -686,23 +537,13 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
686 537
687test "$silent" = yes && exec 6>/dev/null 538test "$silent" = yes && exec 6>/dev/null
688 539
689
690# Find the source files, if location was not specified. 540# Find the source files, if location was not specified.
691if test -z "$srcdir"; then 541if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes 542 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent. 543 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null || 544 ac_prog=$0
695$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
696 X"$0" : 'X\(//\)[^/]' \| \ 546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
700echo X"$0" |
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
705 s/.*/./; q'`
706 srcdir=$ac_confdir 547 srcdir=$ac_confdir
707 if test ! -r $srcdir/$ac_unique_file; then 548 if test ! -r $srcdir/$ac_unique_file; then
708 srcdir=.. 549 srcdir=..
@@ -712,10 +553,10 @@ else
712fi 553fi
713if test ! -r $srcdir/$ac_unique_file; then 554if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then 555 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; } 557 { (exit 1); exit 1; }; }
717 else 558 else
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 559 { echo "$as_me: error: cannot find sources in $srcdir" >&2
719 { (exit 1); exit 1; }; } 560 { (exit 1); exit 1; }; }
720 fi 561 fi
721fi 562fi
@@ -759,7 +600,7 @@ ac_cv_env_CPP_value=$CPP
759if test "$ac_init_help" = "long"; then 600if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing. 601 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh. 602 # This message is too long to be a string in the A/UX 3.1 sh.
762 cat <<_ACEOF 603 cat <<EOF
763\`configure' configures this package to adapt to many kinds of systems. 604\`configure' configures this package to adapt to many kinds of systems.
764 605
765Usage: $0 [OPTION]... [VAR=VALUE]... 606Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -780,9 +621,9 @@ Configuration:
780 -n, --no-create do not create output files 621 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 622 --srcdir=DIR find the sources in DIR [configure dir or \`..']
782 623
783_ACEOF 624EOF
784 625
785 cat <<_ACEOF 626 cat <<EOF
786Installation directories: 627Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX 628 --prefix=PREFIX install architecture-independent files in PREFIX
788 [$ac_default_prefix] 629 [$ac_default_prefix]
@@ -809,9 +650,9 @@ Fine tuning of the installation directories:
809 --oldincludedir=DIR C header files for non-gcc [/usr/include] 650 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info] 651 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man] 652 --mandir=DIR man documentation [PREFIX/man]
812_ACEOF 653EOF
813 654
814 cat <<\_ACEOF 655 cat <<\EOF
815 656
816Program names: 657Program names:
817 --program-prefix=PREFIX prepend PREFIX to installed program names 658 --program-prefix=PREFIX prepend PREFIX to installed program names
@@ -824,13 +665,13 @@ X features:
824 665
825System types: 666System types:
826 --build=BUILD configure for building on BUILD [guessed] 667 --build=BUILD configure for building on BUILD [guessed]
827 --host=HOST cross-compile to build programs to run on HOST [BUILD] 668 --host=HOST build programs to run on HOST [BUILD]
828_ACEOF 669EOF
829fi 670fi
830 671
831if test -n "$ac_init_help"; then 672if test -n "$ac_init_help"; then
832 673
833 cat <<\_ACEOF 674 cat <<\EOF
834 675
835Optional Features: 676Optional Features:
836 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 677 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
@@ -872,60 +713,40 @@ Some influential environment variables:
872Use these variables to override the choices made by `configure' or to help 713Use these variables to override the choices made by `configure' or to help
873it to find libraries and programs with nonstandard names/locations. 714it to find libraries and programs with nonstandard names/locations.
874 715
875_ACEOF 716EOF
876fi 717fi
877 718
878if test "$ac_init_help" = "recursive"; then 719if test "$ac_init_help" = "recursive"; then
879 # If there are subdirs, report their specific --help. 720 # If there are subdirs, report their specific --help.
880 ac_popdir=`pwd` 721 ac_popdir=`pwd`
881 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 722 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
882 test -d $ac_dir || continue 723 cd $ac_subdir
883 ac_builddir=. 724 # A "../" for each directory in /$ac_subdir.
884 725 ac_dots=`echo $ac_subdir |
885if test "$ac_dir" != .; then 726 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
886 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 727
887 # A "../" for each directory in $ac_dir_suffix. 728 case $srcdir in
888 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 729 .) # No --srcdir option. We are building in place.
889else 730 ac_sub_srcdir=$srcdir ;;
890 ac_dir_suffix= ac_top_builddir= 731 [\\/]* | ?:[\\/]* ) # Absolute path.
891fi 732 ac_sub_srcdir=$srcdir/$ac_subdir ;;
733 *) # Relative path.
734 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
735 esac
892 736
893case $srcdir in
894 .) # No --srcdir option. We are building in place.
895 ac_srcdir=.
896 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=.
898 else
899 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
900 fi ;;
901 [\\/]* | ?:[\\/]* ) # Absolute path.
902 ac_srcdir=$srcdir$ac_dir_suffix;
903 ac_top_srcdir=$srcdir ;;
904 *) # Relative path.
905 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
906 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907esac
908# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
909# absolute.
910ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
911ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
912ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
913ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
914
915 cd $ac_dir
916 # Check for guested configure; otherwise get Cygnus style configure. 737 # Check for guested configure; otherwise get Cygnus style configure.
917 if test -f $ac_srcdir/configure.gnu; then 738 if test -f $ac_sub_srcdir/configure.gnu; then
918 echo 739 echo
919 $SHELL $ac_srcdir/configure.gnu --help=recursive 740 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
920 elif test -f $ac_srcdir/configure; then 741 elif test -f $ac_sub_srcdir/configure; then
921 echo 742 echo
922 $SHELL $ac_srcdir/configure --help=recursive 743 $SHELL $ac_sub_srcdir/configure --help=recursive
923 elif test -f $ac_srcdir/configure.ac || 744 elif test -f $ac_sub_srcdir/configure.ac ||
924 test -f $ac_srcdir/configure.in; then 745 test -f $ac_sub_srcdir/configure.in; then
925 echo 746 echo
926 $ac_configure --help 747 $ac_configure --help
927 else 748 else
928 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 749 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
929 fi 750 fi
930 cd $ac_popdir 751 cd $ac_popdir
931 done 752 done
@@ -933,31 +754,31 @@ fi
933 754
934test -n "$ac_init_help" && exit 0 755test -n "$ac_init_help" && exit 0
935if $ac_init_version; then 756if $ac_init_version; then
936 cat <<\_ACEOF 757 cat <<\EOF
937 758
938Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 759Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
939Free Software Foundation, Inc. 760Free Software Foundation, Inc.
940This configure script is free software; the Free Software Foundation 761This configure script is free software; the Free Software Foundation
941gives unlimited permission to copy, distribute and modify it. 762gives unlimited permission to copy, distribute and modify it.
942_ACEOF 763EOF
943 exit 0 764 exit 0
944fi 765fi
945exec 5>config.log 766exec 5>config.log
946cat >&5 <<_ACEOF 767cat >&5 <<EOF
947This file contains any messages produced by compilers while 768This file contains any messages produced by compilers while
948running configure, to aid debugging if configure makes a mistake. 769running configure, to aid debugging if configure makes a mistake.
949 770
950It was created by $as_me, which was 771It was created by $as_me, which was
951generated by GNU Autoconf 2.53. Invocation command line was 772generated by GNU Autoconf 2.52. Invocation command line was
952 773
953 $ $0 $@ 774 $ $0 $@
954 775
955_ACEOF 776EOF
956{ 777{
957cat <<_ASUNAME 778cat <<_ASUNAME
958## --------- ## 779## ---------- ##
959## Platform. ## 780## Platform. ##
960## --------- ## 781## ---------- ##
961 782
962hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 783hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
963uname -m = `(uname -m) 2>/dev/null || echo unknown` 784uname -m = `(uname -m) 2>/dev/null || echo unknown`
@@ -976,27 +797,17 @@ hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
976/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 797/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
977/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 798/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
978 799
979_ASUNAME 800PATH = $PATH
980
981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982for as_dir in $PATH
983do
984 IFS=$as_save_IFS
985 test -z "$as_dir" && as_dir=.
986 echo "PATH: $as_dir"
987done
988 801
802_ASUNAME
989} >&5 803} >&5
990 804
991cat >&5 <<_ACEOF 805cat >&5 <<EOF
992 806## ------------ ##
993 807## Core tests. ##
994## ----------- ## 808## ------------ ##
995## Core tests. ##
996## ----------- ##
997
998_ACEOF
999 809
810EOF
1000 811
1001# Keep a trace of the command line. 812# Keep a trace of the command line.
1002# Strip out --no-create and --no-recursion so they do not pile up. 813# Strip out --no-create and --no-recursion so they do not pile up.
@@ -1007,17 +818,15 @@ for ac_arg
1007do 818do
1008 case $ac_arg in 819 case $ac_arg in
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 820 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n ) continue ;; 821 | --no-cr | --no-c) ;;
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 822 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 823 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1013 continue ;;
1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 824 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1015 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 825 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1016 esac 826 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1017 case " $ac_configure_args " in 827 ac_sep=" " ;;
1018 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 828 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1019 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 829 ac_sep=" " ;;
1020 ac_sep=" " ;;
1021 esac 830 esac
1022 # Get rid of the leading space. 831 # Get rid of the leading space.
1023done 832done
@@ -1025,19 +834,14 @@ done
1025# When interrupted or exit'd, cleanup temporary files, and complete 834# When interrupted or exit'd, cleanup temporary files, and complete
1026# config.log. We remove comments because anyway the quotes in there 835# config.log. We remove comments because anyway the quotes in there
1027# would cause problems or look ugly. 836# would cause problems or look ugly.
1028# WARNING: Be sure not to use single quotes in there, as some shells,
1029# such as our DU 5.0 friend, will then `close' the trap.
1030trap 'exit_status=$? 837trap 'exit_status=$?
1031 # Save into config.log some information that might help in debugging. 838 # Save into config.log some information that might help in debugging.
1032 { 839 echo >&5
1033 echo 840 echo "## ----------------- ##" >&5
1034 cat <<\_ASBOX 841 echo "## Cache variables. ##" >&5
1035## ---------------- ## 842 echo "## ----------------- ##" >&5
1036## Cache variables. ## 843 echo >&5
1037## ---------------- ## 844 # The following way of writing the cache mishandles newlines in values,
1038_ASBOX
1039 echo
1040 # The following way of writing the cache mishandles newlines in values,
1041{ 845{
1042 (set) 2>&1 | 846 (set) 2>&1 |
1043 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 847 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
@@ -1051,24 +855,21 @@ _ASBOX
1051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 855 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1052 ;; 856 ;;
1053 esac; 857 esac;
1054} 858} >&5
1055 echo 859 sed "/^$/d" confdefs.h >conftest.log
1056 if test -s confdefs.h; then 860 if test -s conftest.log; then
1057 cat <<\_ASBOX 861 echo >&5
1058## ----------- ## 862 echo "## ------------ ##" >&5
1059## confdefs.h. ## 863 echo "## confdefs.h. ##" >&5
1060## ----------- ## 864 echo "## ------------ ##" >&5
1061_ASBOX 865 echo >&5
1062 echo 866 cat conftest.log >&5
1063 sed "/^$/d" confdefs.h 867 fi
1064 echo 868 (echo; echo) >&5
1065 fi 869 test "$ac_signal" != 0 &&
1066 test "$ac_signal" != 0 && 870 echo "$as_me: caught signal $ac_signal" >&5
1067 echo "$as_me: caught signal $ac_signal" 871 echo "$as_me: exit $exit_status" >&5
1068 echo "$as_me: exit $exit_status" 872 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1069 } >&5
1070 rm -f core core.* *.core &&
1071 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1072 exit $exit_status 873 exit $exit_status
1073 ' 0 874 ' 0
1074for ac_signal in 1 2 13 15; do 875for ac_signal in 1 2 13 15; do
@@ -1081,33 +882,6 @@ rm -rf conftest* confdefs.h
1081# AIX cpp loses on an empty file, so make sure it contains at least a newline. 882# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1082echo >confdefs.h 883echo >confdefs.h
1083 884
1084# Predefined preprocessor variables.
1085
1086cat >>confdefs.h <<_ACEOF
1087#define PACKAGE_NAME "$PACKAGE_NAME"
1088_ACEOF
1089
1090
1091cat >>confdefs.h <<_ACEOF
1092#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1093_ACEOF
1094
1095
1096cat >>confdefs.h <<_ACEOF
1097#define PACKAGE_VERSION "$PACKAGE_VERSION"
1098_ACEOF
1099
1100
1101cat >>confdefs.h <<_ACEOF
1102#define PACKAGE_STRING "$PACKAGE_STRING"
1103_ACEOF
1104
1105
1106cat >>confdefs.h <<_ACEOF
1107#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1108_ACEOF
1109
1110
1111# Let the site file select an alternate cache file if it wants to. 885# Let the site file select an alternate cache file if it wants to.
1112# Prefer explicitly selected file to automatically selected ones. 886# Prefer explicitly selected file to automatically selected ones.
1113if test -z "$CONFIG_SITE"; then 887if test -z "$CONFIG_SITE"; then
@@ -1119,9 +893,9 @@ if test -z "$CONFIG_SITE"; then
1119fi 893fi
1120for ac_site_file in $CONFIG_SITE; do 894for ac_site_file in $CONFIG_SITE; do
1121 if test -r "$ac_site_file"; then 895 if test -r "$ac_site_file"; then
1122 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 896 { echo "$as_me:896: loading site script $ac_site_file" >&5
1123echo "$as_me: loading site script $ac_site_file" >&6;} 897echo "$as_me: loading site script $ac_site_file" >&6;}
1124 sed 's/^/| /' "$ac_site_file" >&5 898 cat "$ac_site_file" >&5
1125 . "$ac_site_file" 899 . "$ac_site_file"
1126 fi 900 fi
1127done 901done
@@ -1130,7 +904,7 @@ if test -r "$cache_file"; then
1130 # Some versions of bash will fail to source /dev/null (special 904 # Some versions of bash will fail to source /dev/null (special
1131 # files actually), so we avoid doing that. 905 # files actually), so we avoid doing that.
1132 if test -f "$cache_file"; then 906 if test -f "$cache_file"; then
1133 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 907 { echo "$as_me:907: loading cache $cache_file" >&5
1134echo "$as_me: loading cache $cache_file" >&6;} 908echo "$as_me: loading cache $cache_file" >&6;}
1135 case $cache_file in 909 case $cache_file in
1136 [\\/]* | ?:[\\/]* ) . $cache_file;; 910 [\\/]* | ?:[\\/]* ) . $cache_file;;
@@ -1138,7 +912,7 @@ echo "$as_me: loading cache $cache_file" >&6;}
1138 esac 912 esac
1139 fi 913 fi
1140else 914else
1141 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 915 { echo "$as_me:915: creating cache $cache_file" >&5
1142echo "$as_me: creating cache $cache_file" >&6;} 916echo "$as_me: creating cache $cache_file" >&6;}
1143 >$cache_file 917 >$cache_file
1144fi 918fi
@@ -1154,42 +928,42 @@ for ac_var in `(set) 2>&1 |
1154 eval ac_new_val="\$ac_env_${ac_var}_value" 928 eval ac_new_val="\$ac_env_${ac_var}_value"
1155 case $ac_old_set,$ac_new_set in 929 case $ac_old_set,$ac_new_set in
1156 set,) 930 set,)
1157 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 931 { echo "$as_me:931: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1158echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 932echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1159 ac_cache_corrupted=: ;; 933 ac_cache_corrupted=: ;;
1160 ,set) 934 ,set)
1161 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 935 { echo "$as_me:935: error: \`$ac_var' was not set in the previous run" >&5
1162echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 936echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1163 ac_cache_corrupted=: ;; 937 ac_cache_corrupted=: ;;
1164 ,);; 938 ,);;
1165 *) 939 *)
1166 if test "x$ac_old_val" != "x$ac_new_val"; then 940 if test "x$ac_old_val" != "x$ac_new_val"; then
1167 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 941 { echo "$as_me:941: error: \`$ac_var' has changed since the previous run:" >&5
1168echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 942echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1169 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 943 { echo "$as_me:943: former value: $ac_old_val" >&5
1170echo "$as_me: former value: $ac_old_val" >&2;} 944echo "$as_me: former value: $ac_old_val" >&2;}
1171 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 945 { echo "$as_me:945: current value: $ac_new_val" >&5
1172echo "$as_me: current value: $ac_new_val" >&2;} 946echo "$as_me: current value: $ac_new_val" >&2;}
1173 ac_cache_corrupted=: 947 ac_cache_corrupted=:
1174 fi;; 948 fi;;
1175 esac 949 esac
1176 # Pass precious variables to config.status. 950 # Pass precious variables to config.status. It doesn't matter if
951 # we pass some twice (in addition to the command line arguments).
1177 if test "$ac_new_set" = set; then 952 if test "$ac_new_set" = set; then
1178 case $ac_new_val in 953 case $ac_new_val in
1179 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 954 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1180 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 955 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
1181 *) ac_arg=$ac_var=$ac_new_val ;; 956 ac_configure_args="$ac_configure_args '$ac_arg'"
1182 esac 957 ;;
1183 case " $ac_configure_args " in 958 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
1184 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 959 ;;
1185 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1186 esac 960 esac
1187 fi 961 fi
1188done 962done
1189if $ac_cache_corrupted; then 963if $ac_cache_corrupted; then
1190 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 964 { echo "$as_me:964: error: changes in the environment can compromise the build" >&5
1191echo "$as_me: error: changes in the environment can compromise the build" >&2;} 965echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1192 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 966 { { echo "$as_me:966: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1193echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 967echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1194 { (exit 1); exit 1; }; } 968 { (exit 1); exit 1; }; }
1195fi 969fi
@@ -1200,26 +974,29 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1200ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1201ac_compiler_gnu=$ac_cv_c_compiler_gnu 975ac_compiler_gnu=$ac_cv_c_compiler_gnu
1202 976
1203 977case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1204 978 *c*,-n*) ECHO_N= ECHO_C='
1205 979' ECHO_T=' ' ;;
1206 980 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1207 981 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1208 982esac
1209 983echo "#! $SHELL" >conftest.sh
1210 984echo "exit 0" >>conftest.sh
1211 985chmod +x conftest.sh
1212 986if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5
1213 987 (PATH=".;."; conftest.sh) 2>&5
1214 988 ac_status=$?
1215 989 echo "$as_me:989: \$? = $ac_status" >&5
1216 990 (exit $ac_status); }; then
1217 991 ac_path_separator=';'
1218 992else
993 ac_path_separator=:
994fi
995PATH_SEPARATOR="$ac_path_separator"
996rm -f conftest.sh
1219 997
1220ac_config_headers="$ac_config_headers src/config.h:src/config.in" 998ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1221 999
1222
1223test "$program_prefix" != NONE && 1000test "$program_prefix" != NONE &&
1224 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1001 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1225# Use a double $ so make ignores it. 1002# Use a double $ so make ignores it.
@@ -1233,7 +1010,6 @@ _ACEOF
1233program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1010program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1234rm conftest.sed 1011rm conftest.sed
1235 1012
1236
1237lispdir='${datadir}/emacs/${version}/lisp' 1013lispdir='${datadir}/emacs/${version}/lisp'
1238locallisppath='${datadir}/emacs/${version}/site-lisp:'\ 1014locallisppath='${datadir}/emacs/${version}/site-lisp:'\
1239'${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim' 1015'${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
@@ -1243,7 +1019,6 @@ archlibdir='${libexecdir}/emacs/${version}/${configuration}'
1243docdir='${datadir}/emacs/${version}/etc' 1019docdir='${datadir}/emacs/${version}/etc'
1244gamedir=yes 1020gamedir=yes
1245 1021
1246
1247# Check whether --with-game-dir or --without-game-dir was given. 1022# Check whether --with-game-dir or --without-game-dir was given.
1248if test "${with_game_dir+set}" = set; then 1023if test "${with_game_dir+set}" = set; then
1249 withval="$with_game_dir" 1024 withval="$with_game_dir"
@@ -1257,9 +1032,9 @@ fi
1257eval tgamedir=\"$gamedir\" 1032eval tgamedir=\"$gamedir\"
1258if test "$gamedir" != no; then 1033if test "$gamedir" != no; then
1259 1034
1260cat >>confdefs.h <<_ACEOF 1035cat >>confdefs.h <<EOF
1261#define HAVE_SHARED_GAME_DIR "$tgamedir" 1036#define HAVE_SHARED_GAME_DIR "$tgamedir"
1262_ACEOF 1037EOF
1263 1038
1264fi 1039fi
1265 1040
@@ -1271,7 +1046,6 @@ if test "${with_game_user+set}" = set; then
1271 gameuser="$withval" 1046 gameuser="$withval"
1272fi; 1047fi;
1273 1048
1274
1275# Check whether --with-gcc or --without-gcc was given. 1049# Check whether --with-gcc or --without-gcc was given.
1276if test "${with_gcc+set}" = set; then 1050if test "${with_gcc+set}" = set; then
1277 withval="$with_gcc" 1051 withval="$with_gcc"
@@ -1282,46 +1056,44 @@ fi;
1282if test "${with_pop+set}" = set; then 1056if test "${with_pop+set}" = set; then
1283 withval="$with_pop" 1057 withval="$with_pop"
1284 if test "$withval" = yes; then 1058 if test "$withval" = yes; then
1285 cat >>confdefs.h <<\_ACEOF 1059 cat >>confdefs.h <<\EOF
1286#define MAIL_USE_POP 1 1060#define MAIL_USE_POP 1
1287_ACEOF 1061EOF
1288 1062
1289else : 1063else :
1290fi 1064fi
1291else 1065else
1292 cat >>confdefs.h <<\_ACEOF 1066 cat >>confdefs.h <<\EOF
1293#define MAIL_USE_POP 1 1067#define MAIL_USE_POP 1
1294_ACEOF 1068EOF
1295 1069
1296fi; 1070fi;
1297 1071
1298
1299# Check whether --with-kerberos or --without-kerberos was given. 1072# Check whether --with-kerberos or --without-kerberos was given.
1300if test "${with_kerberos+set}" = set; then 1073if test "${with_kerberos+set}" = set; then
1301 withval="$with_kerberos" 1074 withval="$with_kerberos"
1302 cat >>confdefs.h <<\_ACEOF 1075 cat >>confdefs.h <<\EOF
1303#define KERBEROS 1 1076#define KERBEROS 1
1304_ACEOF 1077EOF
1305 1078
1306fi; 1079fi;
1307 1080
1308
1309# Check whether --with-kerberos5 or --without-kerberos5 was given. 1081# Check whether --with-kerberos5 or --without-kerberos5 was given.
1310if test "${with_kerberos5+set}" = set; then 1082if test "${with_kerberos5+set}" = set; then
1311 withval="$with_kerberos5" 1083 withval="$with_kerberos5"
1312 if test "${with_kerberos5+set}" = set; then 1084 if test "${with_kerberos5+set}" = set; then
1313 if test "${with_kerberos+set}" != set; then 1085 if test "${with_kerberos+set}" != set; then
1314 with_kerberos=yes 1086 with_kerberos=yes
1315 cat >>confdefs.h <<\_ACEOF 1087 cat >>confdefs.h <<\EOF
1316#define KERBEROS 1 1088#define KERBEROS 1
1317_ACEOF 1089EOF
1318 1090
1319 fi 1091 fi
1320fi 1092fi
1321 1093
1322cat >>confdefs.h <<\_ACEOF 1094cat >>confdefs.h <<\EOF
1323#define KERBEROS5 1 1095#define KERBEROS5 1
1324_ACEOF 1096EOF
1325 1097
1326fi; 1098fi;
1327 1099
@@ -1329,20 +1101,18 @@ fi;
1329if test "${with_hesiod+set}" = set; then 1101if test "${with_hesiod+set}" = set; then
1330 withval="$with_hesiod" 1102 withval="$with_hesiod"
1331 1103
1332cat >>confdefs.h <<\_ACEOF 1104cat >>confdefs.h <<\EOF
1333#define HESIOD 1 1105#define HESIOD 1
1334_ACEOF 1106EOF
1335 1107
1336fi; 1108fi;
1337 1109
1338
1339# Check whether --with-sound or --without-sound was given. 1110# Check whether --with-sound or --without-sound was given.
1340if test "${with_sound+set}" = set; then 1111if test "${with_sound+set}" = set; then
1341 withval="$with_sound" 1112 withval="$with_sound"
1342 1113
1343fi; 1114fi;
1344 1115
1345
1346# Check whether --with-x-toolkit or --without-x-toolkit was given. 1116# Check whether --with-x-toolkit or --without-x-toolkit was given.
1347if test "${with_x_toolkit+set}" = set; then 1117if test "${with_x_toolkit+set}" = set; then
1348 withval="$with_x_toolkit" 1118 withval="$with_x_toolkit"
@@ -1353,7 +1123,7 @@ if test "${with_x_toolkit+set}" = set; then
1353 a | at | ath | athe | athen | athena ) val=athena ;; 1123 a | at | ath | athe | athen | athena ) val=athena ;;
1354 m | mo | mot | moti | motif ) val=motif ;; 1124 m | mo | mot | moti | motif ) val=motif ;;
1355 * ) 1125 * )
1356{ { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\; 1126{ { echo "$as_me:1126: error: \`--with-x-toolkit=$withval' is invalid\;
1357this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'. 1127this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
1358Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5 1128Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
1359echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\; 1129echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
@@ -1441,7 +1211,7 @@ esac
1441#### Check if the source directory already has a configured system in it. 1211#### Check if the source directory already has a configured system in it.
1442if test `pwd` != `(cd ${srcdir} && pwd)` \ 1212if test `pwd` != `(cd ${srcdir} && pwd)` \
1443 && test -f "${srcdir}/src/config.h" ; then 1213 && test -f "${srcdir}/src/config.h" ; then
1444 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used 1214 { echo "$as_me:1214: WARNING: The directory tree \`${srcdir}' is being used
1445 as a build directory right now; it has been configured in its own 1215 as a build directory right now; it has been configured in its own
1446 right. To configure in another directory as well, you MUST 1216 right. To configure in another directory as well, you MUST
1447 use GNU make. If you do not have GNU make, then you must 1217 use GNU make. If you do not have GNU make, then you must
@@ -1486,7 +1256,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1486 fi 1256 fi
1487done 1257done
1488if test -z "$ac_aux_dir"; then 1258if test -z "$ac_aux_dir"; then
1489 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1259 { { echo "$as_me:1259: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1490echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1260echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1491 { (exit 1); exit 1; }; } 1261 { (exit 1); exit 1; }; }
1492fi 1262fi
@@ -1496,11 +1266,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1496 1266
1497# Make sure we can run config.sub. 1267# Make sure we can run config.sub.
1498$ac_config_sub sun4 >/dev/null 2>&1 || 1268$ac_config_sub sun4 >/dev/null 2>&1 ||
1499 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1269 { { echo "$as_me:1269: error: cannot run $ac_config_sub" >&5
1500echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1270echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1501 { (exit 1); exit 1; }; } 1271 { (exit 1); exit 1; }; }
1502 1272
1503echo "$as_me:$LINENO: checking build system type" >&5 1273echo "$as_me:1273: checking build system type" >&5
1504echo $ECHO_N "checking build system type... $ECHO_C" >&6 1274echo $ECHO_N "checking build system type... $ECHO_C" >&6
1505if test "${ac_cv_build+set}" = set; then 1275if test "${ac_cv_build+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6 1276 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1509,24 +1279,23 @@ else
1509test -z "$ac_cv_build_alias" && 1279test -z "$ac_cv_build_alias" &&
1510 ac_cv_build_alias=`$ac_config_guess` 1280 ac_cv_build_alias=`$ac_config_guess`
1511test -z "$ac_cv_build_alias" && 1281test -z "$ac_cv_build_alias" &&
1512 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1282 { { echo "$as_me:1282: error: cannot guess build type; you must specify one" >&5
1513echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1283echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1514 { (exit 1); exit 1; }; } 1284 { (exit 1); exit 1; }; }
1515ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1285ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1286 { { echo "$as_me:1286: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1517echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1287echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1518 { (exit 1); exit 1; }; } 1288 { (exit 1); exit 1; }; }
1519 1289
1520fi 1290fi
1521echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1291echo "$as_me:1291: result: $ac_cv_build" >&5
1522echo "${ECHO_T}$ac_cv_build" >&6 1292echo "${ECHO_T}$ac_cv_build" >&6
1523build=$ac_cv_build 1293build=$ac_cv_build
1524build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1294build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1525build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1295build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1526build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1296build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1527 1297
1528 1298echo "$as_me:1298: checking host system type" >&5
1529echo "$as_me:$LINENO: checking host system type" >&5
1530echo $ECHO_N "checking host system type... $ECHO_C" >&6 1299echo $ECHO_N "checking host system type... $ECHO_C" >&6
1531if test "${ac_cv_host+set}" = set; then 1300if test "${ac_cv_host+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6 1301 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1535,23 +1304,21 @@ else
1535test -z "$ac_cv_host_alias" && 1304test -z "$ac_cv_host_alias" &&
1536 ac_cv_host_alias=$ac_cv_build_alias 1305 ac_cv_host_alias=$ac_cv_build_alias
1537ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1306ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1307 { { echo "$as_me:1307: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1539echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1308echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1540 { (exit 1); exit 1; }; } 1309 { (exit 1); exit 1; }; }
1541 1310
1542fi 1311fi
1543echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1312echo "$as_me:1312: result: $ac_cv_host" >&5
1544echo "${ECHO_T}$ac_cv_host" >&6 1313echo "${ECHO_T}$ac_cv_host" >&6
1545host=$ac_cv_host 1314host=$ac_cv_host
1546host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1315host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1547host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1316host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1548host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1317host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1549 1318
1550
1551canonical=$host 1319canonical=$host
1552configuration=${host_alias-$host} 1320configuration=${host_alias-$host}
1553 1321
1554
1555### If you add support for a new configuration, add code to this 1322### If you add support for a new configuration, add code to this
1556### switch statement to recognize your configuration name and select 1323### switch statement to recognize your configuration name and select
1557### the appropriate operating system and machine description files. 1324### the appropriate operating system and machine description files.
@@ -2518,9 +2285,8 @@ if test x"${opsys}" = x; then
2518 esac 2285 esac
2519fi 2286fi
2520 2287
2521
2522if test $unported = yes; then 2288if test $unported = yes; then
2523 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. 2289 { { echo "$as_me:2289: error: Emacs hasn't been ported to \`${canonical}' systems.
2524Check \`etc/MACHINES' for recognized configuration names." >&5 2290Check \`etc/MACHINES' for recognized configuration names." >&5
2525echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2291echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2526Check \`etc/MACHINES' for recognized configuration names." >&2;} 2292Check \`etc/MACHINES' for recognized configuration names." >&2;}
@@ -2530,7 +2296,6 @@ fi
2530machfile="m/${machine}.h" 2296machfile="m/${machine}.h"
2531opsysfile="s/${opsys}.h" 2297opsysfile="s/${opsys}.h"
2532 2298
2533
2534#### Choose a compiler. 2299#### Choose a compiler.
2535test -n "$CC" && cc_specified=yes 2300test -n "$CC" && cc_specified=yes
2536 2301
@@ -2550,7 +2315,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2550if test -n "$ac_tool_prefix"; then 2315if test -n "$ac_tool_prefix"; then
2551 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2316 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2552set dummy ${ac_tool_prefix}gcc; ac_word=$2 2317set dummy ${ac_tool_prefix}gcc; ac_word=$2
2553echo "$as_me:$LINENO: checking for $ac_word" >&5 2318echo "$as_me:2318: checking for $ac_word" >&5
2554echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2319echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2555if test "${ac_cv_prog_CC+set}" = set; then 2320if test "${ac_cv_prog_CC+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6 2321 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2558,28 +2323,25 @@ else
2558 if test -n "$CC"; then 2323 if test -n "$CC"; then
2559 ac_cv_prog_CC="$CC" # Let the user override the test. 2324 ac_cv_prog_CC="$CC" # Let the user override the test.
2560else 2325else
2561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2326 ac_save_IFS=$IFS; IFS=$ac_path_separator
2562for as_dir in $PATH 2327ac_dummy="$PATH"
2563do 2328for ac_dir in $ac_dummy; do
2564 IFS=$as_save_IFS 2329 IFS=$ac_save_IFS
2565 test -z "$as_dir" && as_dir=. 2330 test -z "$ac_dir" && ac_dir=.
2566 for ac_exec_ext in '' $ac_executable_extensions; do 2331 $as_executable_p "$ac_dir/$ac_word" || continue
2567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2332ac_cv_prog_CC="${ac_tool_prefix}gcc"
2568 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2333echo "$as_me:2333: found $ac_dir/$ac_word" >&5
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2334break
2570 break 2
2571 fi
2572done
2573done 2335done
2574 2336
2575fi 2337fi
2576fi 2338fi
2577CC=$ac_cv_prog_CC 2339CC=$ac_cv_prog_CC
2578if test -n "$CC"; then 2340if test -n "$CC"; then
2579 echo "$as_me:$LINENO: result: $CC" >&5 2341 echo "$as_me:2341: result: $CC" >&5
2580echo "${ECHO_T}$CC" >&6 2342echo "${ECHO_T}$CC" >&6
2581else 2343else
2582 echo "$as_me:$LINENO: result: no" >&5 2344 echo "$as_me:2344: result: no" >&5
2583echo "${ECHO_T}no" >&6 2345echo "${ECHO_T}no" >&6
2584fi 2346fi
2585 2347
@@ -2588,7 +2350,7 @@ if test -z "$ac_cv_prog_CC"; then
2588 ac_ct_CC=$CC 2350 ac_ct_CC=$CC
2589 # Extract the first word of "gcc", so it can be a program name with args. 2351 # Extract the first word of "gcc", so it can be a program name with args.
2590set dummy gcc; ac_word=$2 2352set dummy gcc; ac_word=$2
2591echo "$as_me:$LINENO: checking for $ac_word" >&5 2353echo "$as_me:2353: checking for $ac_word" >&5
2592echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2354echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2593if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2355if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6 2356 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2596,28 +2358,25 @@ else
2596 if test -n "$ac_ct_CC"; then 2358 if test -n "$ac_ct_CC"; then
2597 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2359 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2598else 2360else
2599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2361 ac_save_IFS=$IFS; IFS=$ac_path_separator
2600for as_dir in $PATH 2362ac_dummy="$PATH"
2601do 2363for ac_dir in $ac_dummy; do
2602 IFS=$as_save_IFS 2364 IFS=$ac_save_IFS
2603 test -z "$as_dir" && as_dir=. 2365 test -z "$ac_dir" && ac_dir=.
2604 for ac_exec_ext in '' $ac_executable_extensions; do 2366 $as_executable_p "$ac_dir/$ac_word" || continue
2605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2367ac_cv_prog_ac_ct_CC="gcc"
2606 ac_cv_prog_ac_ct_CC="gcc" 2368echo "$as_me:2368: found $ac_dir/$ac_word" >&5
2607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2369break
2608 break 2
2609 fi
2610done
2611done 2370done
2612 2371
2613fi 2372fi
2614fi 2373fi
2615ac_ct_CC=$ac_cv_prog_ac_ct_CC 2374ac_ct_CC=$ac_cv_prog_ac_ct_CC
2616if test -n "$ac_ct_CC"; then 2375if test -n "$ac_ct_CC"; then
2617 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2376 echo "$as_me:2376: result: $ac_ct_CC" >&5
2618echo "${ECHO_T}$ac_ct_CC" >&6 2377echo "${ECHO_T}$ac_ct_CC" >&6
2619else 2378else
2620 echo "$as_me:$LINENO: result: no" >&5 2379 echo "$as_me:2379: result: no" >&5
2621echo "${ECHO_T}no" >&6 2380echo "${ECHO_T}no" >&6
2622fi 2381fi
2623 2382
@@ -2630,7 +2389,7 @@ if test -z "$CC"; then
2630 if test -n "$ac_tool_prefix"; then 2389 if test -n "$ac_tool_prefix"; then
2631 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2390 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2632set dummy ${ac_tool_prefix}cc; ac_word=$2 2391set dummy ${ac_tool_prefix}cc; ac_word=$2
2633echo "$as_me:$LINENO: checking for $ac_word" >&5 2392echo "$as_me:2392: checking for $ac_word" >&5
2634echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2393echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2635if test "${ac_cv_prog_CC+set}" = set; then 2394if test "${ac_cv_prog_CC+set}" = set; then
2636 echo $ECHO_N "(cached) $ECHO_C" >&6 2395 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2638,28 +2397,25 @@ else
2638 if test -n "$CC"; then 2397 if test -n "$CC"; then
2639 ac_cv_prog_CC="$CC" # Let the user override the test. 2398 ac_cv_prog_CC="$CC" # Let the user override the test.
2640else 2399else
2641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2400 ac_save_IFS=$IFS; IFS=$ac_path_separator
2642for as_dir in $PATH 2401ac_dummy="$PATH"
2643do 2402for ac_dir in $ac_dummy; do
2644 IFS=$as_save_IFS 2403 IFS=$ac_save_IFS
2645 test -z "$as_dir" && as_dir=. 2404 test -z "$ac_dir" && ac_dir=.
2646 for ac_exec_ext in '' $ac_executable_extensions; do 2405 $as_executable_p "$ac_dir/$ac_word" || continue
2647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2406ac_cv_prog_CC="${ac_tool_prefix}cc"
2648 ac_cv_prog_CC="${ac_tool_prefix}cc" 2407echo "$as_me:2407: found $ac_dir/$ac_word" >&5
2649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2408break
2650 break 2
2651 fi
2652done
2653done 2409done
2654 2410
2655fi 2411fi
2656fi 2412fi
2657CC=$ac_cv_prog_CC 2413CC=$ac_cv_prog_CC
2658if test -n "$CC"; then 2414if test -n "$CC"; then
2659 echo "$as_me:$LINENO: result: $CC" >&5 2415 echo "$as_me:2415: result: $CC" >&5
2660echo "${ECHO_T}$CC" >&6 2416echo "${ECHO_T}$CC" >&6
2661else 2417else
2662 echo "$as_me:$LINENO: result: no" >&5 2418 echo "$as_me:2418: result: no" >&5
2663echo "${ECHO_T}no" >&6 2419echo "${ECHO_T}no" >&6
2664fi 2420fi
2665 2421
@@ -2668,7 +2424,7 @@ if test -z "$ac_cv_prog_CC"; then
2668 ac_ct_CC=$CC 2424 ac_ct_CC=$CC
2669 # Extract the first word of "cc", so it can be a program name with args. 2425 # Extract the first word of "cc", so it can be a program name with args.
2670set dummy cc; ac_word=$2 2426set dummy cc; ac_word=$2
2671echo "$as_me:$LINENO: checking for $ac_word" >&5 2427echo "$as_me:2427: checking for $ac_word" >&5
2672echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2428echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2673if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2429if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6 2430 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2676,28 +2432,25 @@ else
2676 if test -n "$ac_ct_CC"; then 2432 if test -n "$ac_ct_CC"; then
2677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2678else 2434else
2679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2435 ac_save_IFS=$IFS; IFS=$ac_path_separator
2680for as_dir in $PATH 2436ac_dummy="$PATH"
2681do 2437for ac_dir in $ac_dummy; do
2682 IFS=$as_save_IFS 2438 IFS=$ac_save_IFS
2683 test -z "$as_dir" && as_dir=. 2439 test -z "$ac_dir" && ac_dir=.
2684 for ac_exec_ext in '' $ac_executable_extensions; do 2440 $as_executable_p "$ac_dir/$ac_word" || continue
2685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2441ac_cv_prog_ac_ct_CC="cc"
2686 ac_cv_prog_ac_ct_CC="cc" 2442echo "$as_me:2442: found $ac_dir/$ac_word" >&5
2687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2443break
2688 break 2
2689 fi
2690done
2691done 2444done
2692 2445
2693fi 2446fi
2694fi 2447fi
2695ac_ct_CC=$ac_cv_prog_ac_ct_CC 2448ac_ct_CC=$ac_cv_prog_ac_ct_CC
2696if test -n "$ac_ct_CC"; then 2449if test -n "$ac_ct_CC"; then
2697 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2450 echo "$as_me:2450: result: $ac_ct_CC" >&5
2698echo "${ECHO_T}$ac_ct_CC" >&6 2451echo "${ECHO_T}$ac_ct_CC" >&6
2699else 2452else
2700 echo "$as_me:$LINENO: result: no" >&5 2453 echo "$as_me:2453: result: no" >&5
2701echo "${ECHO_T}no" >&6 2454echo "${ECHO_T}no" >&6
2702fi 2455fi
2703 2456
@@ -2710,7 +2463,7 @@ fi
2710if test -z "$CC"; then 2463if test -z "$CC"; then
2711 # Extract the first word of "cc", so it can be a program name with args. 2464 # Extract the first word of "cc", so it can be a program name with args.
2712set dummy cc; ac_word=$2 2465set dummy cc; ac_word=$2
2713echo "$as_me:$LINENO: checking for $ac_word" >&5 2466echo "$as_me:2466: checking for $ac_word" >&5
2714echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2467echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2715if test "${ac_cv_prog_CC+set}" = set; then 2468if test "${ac_cv_prog_CC+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6 2469 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2719,22 +2472,19 @@ else
2719 ac_cv_prog_CC="$CC" # Let the user override the test. 2472 ac_cv_prog_CC="$CC" # Let the user override the test.
2720else 2473else
2721 ac_prog_rejected=no 2474 ac_prog_rejected=no
2722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2475 ac_save_IFS=$IFS; IFS=$ac_path_separator
2723for as_dir in $PATH 2476ac_dummy="$PATH"
2724do 2477for ac_dir in $ac_dummy; do
2725 IFS=$as_save_IFS 2478 IFS=$ac_save_IFS
2726 test -z "$as_dir" && as_dir=. 2479 test -z "$ac_dir" && ac_dir=.
2727 for ac_exec_ext in '' $ac_executable_extensions; do 2480 $as_executable_p "$ac_dir/$ac_word" || continue
2728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2481if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2729 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2482 ac_prog_rejected=yes
2730 ac_prog_rejected=yes 2483 continue
2731 continue 2484fi
2732 fi 2485ac_cv_prog_CC="cc"
2733 ac_cv_prog_CC="cc" 2486echo "$as_me:2486: found $ac_dir/$ac_word" >&5
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2487break
2735 break 2
2736 fi
2737done
2738done 2488done
2739 2489
2740if test $ac_prog_rejected = yes; then 2490if test $ac_prog_rejected = yes; then
@@ -2746,7 +2496,7 @@ if test $ac_prog_rejected = yes; then
2746 # However, it has the same basename, so the bogon will be chosen 2496 # However, it has the same basename, so the bogon will be chosen
2747 # first if we set CC to just the basename; use the full file name. 2497 # first if we set CC to just the basename; use the full file name.
2748 shift 2498 shift
2749 set dummy "$as_dir/$ac_word" ${1+"$@"} 2499 set dummy "$ac_dir/$ac_word" ${1+"$@"}
2750 shift 2500 shift
2751 ac_cv_prog_CC="$@" 2501 ac_cv_prog_CC="$@"
2752 fi 2502 fi
@@ -2755,10 +2505,10 @@ fi
2755fi 2505fi
2756CC=$ac_cv_prog_CC 2506CC=$ac_cv_prog_CC
2757if test -n "$CC"; then 2507if test -n "$CC"; then
2758 echo "$as_me:$LINENO: result: $CC" >&5 2508 echo "$as_me:2508: result: $CC" >&5
2759echo "${ECHO_T}$CC" >&6 2509echo "${ECHO_T}$CC" >&6
2760else 2510else
2761 echo "$as_me:$LINENO: result: no" >&5 2511 echo "$as_me:2511: result: no" >&5
2762echo "${ECHO_T}no" >&6 2512echo "${ECHO_T}no" >&6
2763fi 2513fi
2764 2514
@@ -2769,7 +2519,7 @@ if test -z "$CC"; then
2769 do 2519 do
2770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2771set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2521set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2772echo "$as_me:$LINENO: checking for $ac_word" >&5 2522echo "$as_me:2522: checking for $ac_word" >&5
2773echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2523echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774if test "${ac_cv_prog_CC+set}" = set; then 2524if test "${ac_cv_prog_CC+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6 2525 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2777,28 +2527,25 @@ else
2777 if test -n "$CC"; then 2527 if test -n "$CC"; then
2778 ac_cv_prog_CC="$CC" # Let the user override the test. 2528 ac_cv_prog_CC="$CC" # Let the user override the test.
2779else 2529else
2780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2530 ac_save_IFS=$IFS; IFS=$ac_path_separator
2781for as_dir in $PATH 2531ac_dummy="$PATH"
2782do 2532for ac_dir in $ac_dummy; do
2783 IFS=$as_save_IFS 2533 IFS=$ac_save_IFS
2784 test -z "$as_dir" && as_dir=. 2534 test -z "$ac_dir" && ac_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do 2535 $as_executable_p "$ac_dir/$ac_word" || continue
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2536ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2787 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2537echo "$as_me:2537: found $ac_dir/$ac_word" >&5
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2538break
2789 break 2
2790 fi
2791done
2792done 2539done
2793 2540
2794fi 2541fi
2795fi 2542fi
2796CC=$ac_cv_prog_CC 2543CC=$ac_cv_prog_CC
2797if test -n "$CC"; then 2544if test -n "$CC"; then
2798 echo "$as_me:$LINENO: result: $CC" >&5 2545 echo "$as_me:2545: result: $CC" >&5
2799echo "${ECHO_T}$CC" >&6 2546echo "${ECHO_T}$CC" >&6
2800else 2547else
2801 echo "$as_me:$LINENO: result: no" >&5 2548 echo "$as_me:2548: result: no" >&5
2802echo "${ECHO_T}no" >&6 2549echo "${ECHO_T}no" >&6
2803fi 2550fi
2804 2551
@@ -2811,7 +2558,7 @@ if test -z "$CC"; then
2811do 2558do
2812 # Extract the first word of "$ac_prog", so it can be a program name with args. 2559 # Extract the first word of "$ac_prog", so it can be a program name with args.
2813set dummy $ac_prog; ac_word=$2 2560set dummy $ac_prog; ac_word=$2
2814echo "$as_me:$LINENO: checking for $ac_word" >&5 2561echo "$as_me:2561: checking for $ac_word" >&5
2815echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2562echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2816if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2563if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6 2564 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2819,28 +2566,25 @@ else
2819 if test -n "$ac_ct_CC"; then 2566 if test -n "$ac_ct_CC"; then
2820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2821else 2568else
2822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2569 ac_save_IFS=$IFS; IFS=$ac_path_separator
2823for as_dir in $PATH 2570ac_dummy="$PATH"
2824do 2571for ac_dir in $ac_dummy; do
2825 IFS=$as_save_IFS 2572 IFS=$ac_save_IFS
2826 test -z "$as_dir" && as_dir=. 2573 test -z "$ac_dir" && ac_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do 2574 $as_executable_p "$ac_dir/$ac_word" || continue
2828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2575ac_cv_prog_ac_ct_CC="$ac_prog"
2829 ac_cv_prog_ac_ct_CC="$ac_prog" 2576echo "$as_me:2576: found $ac_dir/$ac_word" >&5
2830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2577break
2831 break 2
2832 fi
2833done
2834done 2578done
2835 2579
2836fi 2580fi
2837fi 2581fi
2838ac_ct_CC=$ac_cv_prog_ac_ct_CC 2582ac_ct_CC=$ac_cv_prog_ac_ct_CC
2839if test -n "$ac_ct_CC"; then 2583if test -n "$ac_ct_CC"; then
2840 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2584 echo "$as_me:2584: result: $ac_ct_CC" >&5
2841echo "${ECHO_T}$ac_ct_CC" >&6 2585echo "${ECHO_T}$ac_ct_CC" >&6
2842else 2586else
2843 echo "$as_me:$LINENO: result: no" >&5 2587 echo "$as_me:2587: result: no" >&5
2844echo "${ECHO_T}no" >&6 2588echo "${ECHO_T}no" >&6
2845fi 2589fi
2846 2590
@@ -2852,41 +2596,34 @@ fi
2852 2596
2853fi 2597fi
2854 2598
2855 2599test -z "$CC" && { { echo "$as_me:2599: error: no acceptable cc found in \$PATH" >&5
2856test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 2600echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2857echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2858 { (exit 1); exit 1; }; } 2601 { (exit 1); exit 1; }; }
2859 2602
2860# Provide some information about the compiler. 2603# Provide some information about the compiler.
2861echo "$as_me:$LINENO:" \ 2604echo "$as_me:2604:" \
2862 "checking for C compiler version" >&5 2605 "checking for C compiler version" >&5
2863ac_compiler=`set X $ac_compile; echo $2` 2606ac_compiler=`set X $ac_compile; echo $2`
2864{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2607{ (eval echo "$as_me:2607: \"$ac_compiler --version </dev/null >&5\"") >&5
2865 (eval $ac_compiler --version </dev/null >&5) 2>&5 2608 (eval $ac_compiler --version </dev/null >&5) 2>&5
2866 ac_status=$? 2609 ac_status=$?
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2610 echo "$as_me:2610: \$? = $ac_status" >&5
2868 (exit $ac_status); } 2611 (exit $ac_status); }
2869{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2612{ (eval echo "$as_me:2612: \"$ac_compiler -v </dev/null >&5\"") >&5
2870 (eval $ac_compiler -v </dev/null >&5) 2>&5 2613 (eval $ac_compiler -v </dev/null >&5) 2>&5
2871 ac_status=$? 2614 ac_status=$?
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2615 echo "$as_me:2615: \$? = $ac_status" >&5
2873 (exit $ac_status); } 2616 (exit $ac_status); }
2874{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2617{ (eval echo "$as_me:2617: \"$ac_compiler -V </dev/null >&5\"") >&5
2875 (eval $ac_compiler -V </dev/null >&5) 2>&5 2618 (eval $ac_compiler -V </dev/null >&5) 2>&5
2876 ac_status=$? 2619 ac_status=$?
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2620 echo "$as_me:2620: \$? = $ac_status" >&5
2878 (exit $ac_status); } 2621 (exit $ac_status); }
2879 2622
2880cat >conftest.$ac_ext <<_ACEOF 2623cat >conftest.$ac_ext <<_ACEOF
2881#line $LINENO "configure" 2624#line 2624 "configure"
2882#include "confdefs.h" 2625#include "confdefs.h"
2883 2626
2884#ifdef F77_DUMMY_MAIN
2885# ifdef __cplusplus
2886 extern "C"
2887# endif
2888 int F77_DUMMY_MAIN() { return 1; }
2889#endif
2890int 2627int
2891main () 2628main ()
2892{ 2629{
@@ -2900,26 +2637,22 @@ ac_clean_files="$ac_clean_files a.out a.exe"
2900# Try to create an executable without -o first, disregard a.out. 2637# Try to create an executable without -o first, disregard a.out.
2901# It will help us diagnose broken compilers, and finding out an intuition 2638# It will help us diagnose broken compilers, and finding out an intuition
2902# of exeext. 2639# of exeext.
2903echo "$as_me:$LINENO: checking for C compiler default output" >&5 2640echo "$as_me:2640: checking for C compiler default output" >&5
2904echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2641echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2905ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2642ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2906if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2643if { (eval echo "$as_me:2643: \"$ac_link_default\"") >&5
2907 (eval $ac_link_default) 2>&5 2644 (eval $ac_link_default) 2>&5
2908 ac_status=$? 2645 ac_status=$?
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2646 echo "$as_me:2646: \$? = $ac_status" >&5
2910 (exit $ac_status); }; then 2647 (exit $ac_status); }; then
2911 # Find the output, starting from the most likely. This scheme is 2648 # Find the output, starting from the most likely. This scheme is
2912# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2649# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2913# resort. 2650# resort.
2914 2651for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2915# Be careful to initialize this variable, since it used to be cached.
2916# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2917ac_cv_exeext=
2918for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2919 ls a.out conftest 2>/dev/null; 2652 ls a.out conftest 2>/dev/null;
2920 ls a.* conftest.* 2>/dev/null`; do 2653 ls a.* conftest.* 2>/dev/null`; do
2921 case $ac_file in 2654 case $ac_file in
2922 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; 2655 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2923 a.out ) # We found the default executable, but exeext='' is most 2656 a.out ) # We found the default executable, but exeext='' is most
2924 # certainly right. 2657 # certainly right.
2925 break;; 2658 break;;
@@ -2933,34 +2666,34 @@ done
2933else 2666else
2934 echo "$as_me: failed program was:" >&5 2667 echo "$as_me: failed program was:" >&5
2935cat conftest.$ac_ext >&5 2668cat conftest.$ac_ext >&5
2936{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 2669{ { echo "$as_me:2669: error: C compiler cannot create executables" >&5
2937echo "$as_me: error: C compiler cannot create executables" >&2;} 2670echo "$as_me: error: C compiler cannot create executables" >&2;}
2938 { (exit 77); exit 77; }; } 2671 { (exit 77); exit 77; }; }
2939fi 2672fi
2940 2673
2941ac_exeext=$ac_cv_exeext 2674ac_exeext=$ac_cv_exeext
2942echo "$as_me:$LINENO: result: $ac_file" >&5 2675echo "$as_me:2675: result: $ac_file" >&5
2943echo "${ECHO_T}$ac_file" >&6 2676echo "${ECHO_T}$ac_file" >&6
2944 2677
2945# Check the compiler produces executables we can run. If not, either 2678# Check the compiler produces executables we can run. If not, either
2946# the compiler is broken, or we cross compile. 2679# the compiler is broken, or we cross compile.
2947echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2680echo "$as_me:2680: checking whether the C compiler works" >&5
2948echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2681echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2949# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2682# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2950# If not cross compiling, check that we can run a simple program. 2683# If not cross compiling, check that we can run a simple program.
2951if test "$cross_compiling" != yes; then 2684if test "$cross_compiling" != yes; then
2952 if { ac_try='./$ac_file' 2685 if { ac_try='./$ac_file'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2686 { (eval echo "$as_me:2686: \"$ac_try\"") >&5
2954 (eval $ac_try) 2>&5 2687 (eval $ac_try) 2>&5
2955 ac_status=$? 2688 ac_status=$?
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 echo "$as_me:2689: \$? = $ac_status" >&5
2957 (exit $ac_status); }; }; then 2690 (exit $ac_status); }; }; then
2958 cross_compiling=no 2691 cross_compiling=no
2959 else 2692 else
2960 if test "$cross_compiling" = maybe; then 2693 if test "$cross_compiling" = maybe; then
2961 cross_compiling=yes 2694 cross_compiling=yes
2962 else 2695 else
2963 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2696 { { echo "$as_me:2696: error: cannot run C compiled programs.
2964If you meant to cross compile, use \`--host'." >&5 2697If you meant to cross compile, use \`--host'." >&5
2965echo "$as_me: error: cannot run C compiled programs. 2698echo "$as_me: error: cannot run C compiled programs.
2966If you meant to cross compile, use \`--host'." >&2;} 2699If you meant to cross compile, use \`--host'." >&2;}
@@ -2968,24 +2701,24 @@ If you meant to cross compile, use \`--host'." >&2;}
2968 fi 2701 fi
2969 fi 2702 fi
2970fi 2703fi
2971echo "$as_me:$LINENO: result: yes" >&5 2704echo "$as_me:2704: result: yes" >&5
2972echo "${ECHO_T}yes" >&6 2705echo "${ECHO_T}yes" >&6
2973 2706
2974rm -f a.out a.exe conftest$ac_cv_exeext 2707rm -f a.out a.exe conftest$ac_cv_exeext
2975ac_clean_files=$ac_clean_files_save 2708ac_clean_files=$ac_clean_files_save
2976# Check the compiler produces executables we can run. If not, either 2709# Check the compiler produces executables we can run. If not, either
2977# the compiler is broken, or we cross compile. 2710# the compiler is broken, or we cross compile.
2978echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2711echo "$as_me:2711: checking whether we are cross compiling" >&5
2979echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2712echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2980echo "$as_me:$LINENO: result: $cross_compiling" >&5 2713echo "$as_me:2713: result: $cross_compiling" >&5
2981echo "${ECHO_T}$cross_compiling" >&6 2714echo "${ECHO_T}$cross_compiling" >&6
2982 2715
2983echo "$as_me:$LINENO: checking for suffix of executables" >&5 2716echo "$as_me:2716: checking for executable suffix" >&5
2984echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2717echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2985if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2718if { (eval echo "$as_me:2718: \"$ac_link\"") >&5
2986 (eval $ac_link) 2>&5 2719 (eval $ac_link) 2>&5
2987 ac_status=$? 2720 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2721 echo "$as_me:2721: \$? = $ac_status" >&5
2989 (exit $ac_status); }; then 2722 (exit $ac_status); }; then
2990 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2723 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2991# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2724# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
@@ -3001,33 +2734,27 @@ for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
3001 esac 2734 esac
3002done 2735done
3003else 2736else
3004 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 2737 { { echo "$as_me:2737: error: cannot compute EXEEXT: cannot compile and link" >&5
3005echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} 2738echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
3006 { (exit 1); exit 1; }; } 2739 { (exit 1); exit 1; }; }
3007fi 2740fi
3008 2741
3009rm -f conftest$ac_cv_exeext 2742rm -f conftest$ac_cv_exeext
3010echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2743echo "$as_me:2743: result: $ac_cv_exeext" >&5
3011echo "${ECHO_T}$ac_cv_exeext" >&6 2744echo "${ECHO_T}$ac_cv_exeext" >&6
3012 2745
3013rm -f conftest.$ac_ext 2746rm -f conftest.$ac_ext
3014EXEEXT=$ac_cv_exeext 2747EXEEXT=$ac_cv_exeext
3015ac_exeext=$EXEEXT 2748ac_exeext=$EXEEXT
3016echo "$as_me:$LINENO: checking for suffix of object files" >&5 2749echo "$as_me:2749: checking for object suffix" >&5
3017echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2750echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
3018if test "${ac_cv_objext+set}" = set; then 2751if test "${ac_cv_objext+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6 2752 echo $ECHO_N "(cached) $ECHO_C" >&6
3020else 2753else
3021 cat >conftest.$ac_ext <<_ACEOF 2754 cat >conftest.$ac_ext <<_ACEOF
3022#line $LINENO "configure" 2755#line 2755 "configure"
3023#include "confdefs.h" 2756#include "confdefs.h"
3024 2757
3025#ifdef F77_DUMMY_MAIN
3026# ifdef __cplusplus
3027 extern "C"
3028# endif
3029 int F77_DUMMY_MAIN() { return 1; }
3030#endif
3031int 2758int
3032main () 2759main ()
3033{ 2760{
@@ -3037,10 +2764,10 @@ main ()
3037} 2764}
3038_ACEOF 2765_ACEOF
3039rm -f conftest.o conftest.obj 2766rm -f conftest.o conftest.obj
3040if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2767if { (eval echo "$as_me:2767: \"$ac_compile\"") >&5
3041 (eval $ac_compile) 2>&5 2768 (eval $ac_compile) 2>&5
3042 ac_status=$? 2769 ac_status=$?
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2770 echo "$as_me:2770: \$? = $ac_status" >&5
3044 (exit $ac_status); }; then 2771 (exit $ac_status); }; then
3045 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2772 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3046 case $ac_file in 2773 case $ac_file in
@@ -3052,32 +2779,26 @@ done
3052else 2779else
3053 echo "$as_me: failed program was:" >&5 2780 echo "$as_me: failed program was:" >&5
3054cat conftest.$ac_ext >&5 2781cat conftest.$ac_ext >&5
3055{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 2782{ { echo "$as_me:2782: error: cannot compute OBJEXT: cannot compile" >&5
3056echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} 2783echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
3057 { (exit 1); exit 1; }; } 2784 { (exit 1); exit 1; }; }
3058fi 2785fi
3059 2786
3060rm -f conftest.$ac_cv_objext conftest.$ac_ext 2787rm -f conftest.$ac_cv_objext conftest.$ac_ext
3061fi 2788fi
3062echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2789echo "$as_me:2789: result: $ac_cv_objext" >&5
3063echo "${ECHO_T}$ac_cv_objext" >&6 2790echo "${ECHO_T}$ac_cv_objext" >&6
3064OBJEXT=$ac_cv_objext 2791OBJEXT=$ac_cv_objext
3065ac_objext=$OBJEXT 2792ac_objext=$OBJEXT
3066echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2793echo "$as_me:2793: checking whether we are using the GNU C compiler" >&5
3067echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2794echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3068if test "${ac_cv_c_compiler_gnu+set}" = set; then 2795if test "${ac_cv_c_compiler_gnu+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6 2796 echo $ECHO_N "(cached) $ECHO_C" >&6
3070else 2797else
3071 cat >conftest.$ac_ext <<_ACEOF 2798 cat >conftest.$ac_ext <<_ACEOF
3072#line $LINENO "configure" 2799#line 2799 "configure"
3073#include "confdefs.h" 2800#include "confdefs.h"
3074 2801
3075#ifdef F77_DUMMY_MAIN
3076# ifdef __cplusplus
3077 extern "C"
3078# endif
3079 int F77_DUMMY_MAIN() { return 1; }
3080#endif
3081int 2802int
3082main () 2803main ()
3083{ 2804{
@@ -3090,16 +2811,16 @@ main ()
3090} 2811}
3091_ACEOF 2812_ACEOF
3092rm -f conftest.$ac_objext 2813rm -f conftest.$ac_objext
3093if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2814if { (eval echo "$as_me:2814: \"$ac_compile\"") >&5
3094 (eval $ac_compile) 2>&5 2815 (eval $ac_compile) 2>&5
3095 ac_status=$? 2816 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2817 echo "$as_me:2817: \$? = $ac_status" >&5
3097 (exit $ac_status); } && 2818 (exit $ac_status); } &&
3098 { ac_try='test -s conftest.$ac_objext' 2819 { ac_try='test -s conftest.$ac_objext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2820 { (eval echo "$as_me:2820: \"$ac_try\"") >&5
3100 (eval $ac_try) 2>&5 2821 (eval $ac_try) 2>&5
3101 ac_status=$? 2822 ac_status=$?
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2823 echo "$as_me:2823: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then 2824 (exit $ac_status); }; }; then
3104 ac_compiler_gnu=yes 2825 ac_compiler_gnu=yes
3105else 2826else
@@ -3111,27 +2832,21 @@ rm -f conftest.$ac_objext conftest.$ac_ext
3111ac_cv_c_compiler_gnu=$ac_compiler_gnu 2832ac_cv_c_compiler_gnu=$ac_compiler_gnu
3112 2833
3113fi 2834fi
3114echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2835echo "$as_me:2835: result: $ac_cv_c_compiler_gnu" >&5
3115echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2836echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3116GCC=`test $ac_compiler_gnu = yes && echo yes` 2837GCC=`test $ac_compiler_gnu = yes && echo yes`
3117ac_test_CFLAGS=${CFLAGS+set} 2838ac_test_CFLAGS=${CFLAGS+set}
3118ac_save_CFLAGS=$CFLAGS 2839ac_save_CFLAGS=$CFLAGS
3119CFLAGS="-g" 2840CFLAGS="-g"
3120echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2841echo "$as_me:2841: checking whether $CC accepts -g" >&5
3121echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2842echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3122if test "${ac_cv_prog_cc_g+set}" = set; then 2843if test "${ac_cv_prog_cc_g+set}" = set; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6 2844 echo $ECHO_N "(cached) $ECHO_C" >&6
3124else 2845else
3125 cat >conftest.$ac_ext <<_ACEOF 2846 cat >conftest.$ac_ext <<_ACEOF
3126#line $LINENO "configure" 2847#line 2847 "configure"
3127#include "confdefs.h" 2848#include "confdefs.h"
3128 2849
3129#ifdef F77_DUMMY_MAIN
3130# ifdef __cplusplus
3131 extern "C"
3132# endif
3133 int F77_DUMMY_MAIN() { return 1; }
3134#endif
3135int 2850int
3136main () 2851main ()
3137{ 2852{
@@ -3141,16 +2856,16 @@ main ()
3141} 2856}
3142_ACEOF 2857_ACEOF
3143rm -f conftest.$ac_objext 2858rm -f conftest.$ac_objext
3144if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2859if { (eval echo "$as_me:2859: \"$ac_compile\"") >&5
3145 (eval $ac_compile) 2>&5 2860 (eval $ac_compile) 2>&5
3146 ac_status=$? 2861 ac_status=$?
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2862 echo "$as_me:2862: \$? = $ac_status" >&5
3148 (exit $ac_status); } && 2863 (exit $ac_status); } &&
3149 { ac_try='test -s conftest.$ac_objext' 2864 { ac_try='test -s conftest.$ac_objext'
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2865 { (eval echo "$as_me:2865: \"$ac_try\"") >&5
3151 (eval $ac_try) 2>&5 2866 (eval $ac_try) 2>&5
3152 ac_status=$? 2867 ac_status=$?
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2868 echo "$as_me:2868: \$? = $ac_status" >&5
3154 (exit $ac_status); }; }; then 2869 (exit $ac_status); }; }; then
3155 ac_cv_prog_cc_g=yes 2870 ac_cv_prog_cc_g=yes
3156else 2871else
@@ -3160,7 +2875,7 @@ ac_cv_prog_cc_g=no
3160fi 2875fi
3161rm -f conftest.$ac_objext conftest.$ac_ext 2876rm -f conftest.$ac_objext conftest.$ac_ext
3162fi 2877fi
3163echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2878echo "$as_me:2878: result: $ac_cv_prog_cc_g" >&5
3164echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2879echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3165if test "$ac_test_CFLAGS" = set; then 2880if test "$ac_test_CFLAGS" = set; then
3166 CFLAGS=$ac_save_CFLAGS 2881 CFLAGS=$ac_save_CFLAGS
@@ -3187,16 +2902,16 @@ cat >conftest.$ac_ext <<_ACEOF
3187#endif 2902#endif
3188_ACEOF 2903_ACEOF
3189rm -f conftest.$ac_objext 2904rm -f conftest.$ac_objext
3190if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2905if { (eval echo "$as_me:2905: \"$ac_compile\"") >&5
3191 (eval $ac_compile) 2>&5 2906 (eval $ac_compile) 2>&5
3192 ac_status=$? 2907 ac_status=$?
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2908 echo "$as_me:2908: \$? = $ac_status" >&5
3194 (exit $ac_status); } && 2909 (exit $ac_status); } &&
3195 { ac_try='test -s conftest.$ac_objext' 2910 { ac_try='test -s conftest.$ac_objext'
3196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2911 { (eval echo "$as_me:2911: \"$ac_try\"") >&5
3197 (eval $ac_try) 2>&5 2912 (eval $ac_try) 2>&5
3198 ac_status=$? 2913 ac_status=$?
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2914 echo "$as_me:2914: \$? = $ac_status" >&5
3200 (exit $ac_status); }; }; then 2915 (exit $ac_status); }; }; then
3201 for ac_declaration in \ 2916 for ac_declaration in \
3202 ''\ 2917 ''\
@@ -3208,16 +2923,10 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3208 'void exit (int);' 2923 'void exit (int);'
3209do 2924do
3210 cat >conftest.$ac_ext <<_ACEOF 2925 cat >conftest.$ac_ext <<_ACEOF
3211#line $LINENO "configure" 2926#line 2926 "configure"
3212#include "confdefs.h" 2927#include "confdefs.h"
3213#include <stdlib.h> 2928#include <stdlib.h>
3214$ac_declaration 2929$ac_declaration
3215#ifdef F77_DUMMY_MAIN
3216# ifdef __cplusplus
3217 extern "C"
3218# endif
3219 int F77_DUMMY_MAIN() { return 1; }
3220#endif
3221int 2930int
3222main () 2931main ()
3223{ 2932{
@@ -3227,16 +2936,16 @@ exit (42);
3227} 2936}
3228_ACEOF 2937_ACEOF
3229rm -f conftest.$ac_objext 2938rm -f conftest.$ac_objext
3230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2939if { (eval echo "$as_me:2939: \"$ac_compile\"") >&5
3231 (eval $ac_compile) 2>&5 2940 (eval $ac_compile) 2>&5
3232 ac_status=$? 2941 ac_status=$?
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2942 echo "$as_me:2942: \$? = $ac_status" >&5
3234 (exit $ac_status); } && 2943 (exit $ac_status); } &&
3235 { ac_try='test -s conftest.$ac_objext' 2944 { ac_try='test -s conftest.$ac_objext'
3236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2945 { (eval echo "$as_me:2945: \"$ac_try\"") >&5
3237 (eval $ac_try) 2>&5 2946 (eval $ac_try) 2>&5
3238 ac_status=$? 2947 ac_status=$?
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948 echo "$as_me:2948: \$? = $ac_status" >&5
3240 (exit $ac_status); }; }; then 2949 (exit $ac_status); }; }; then
3241 : 2950 :
3242else 2951else
@@ -3246,15 +2955,9 @@ continue
3246fi 2955fi
3247rm -f conftest.$ac_objext conftest.$ac_ext 2956rm -f conftest.$ac_objext conftest.$ac_ext
3248 cat >conftest.$ac_ext <<_ACEOF 2957 cat >conftest.$ac_ext <<_ACEOF
3249#line $LINENO "configure" 2958#line 2958 "configure"
3250#include "confdefs.h" 2959#include "confdefs.h"
3251$ac_declaration 2960$ac_declaration
3252#ifdef F77_DUMMY_MAIN
3253# ifdef __cplusplus
3254 extern "C"
3255# endif
3256 int F77_DUMMY_MAIN() { return 1; }
3257#endif
3258int 2961int
3259main () 2962main ()
3260{ 2963{
@@ -3264,16 +2967,16 @@ exit (42);
3264} 2967}
3265_ACEOF 2968_ACEOF
3266rm -f conftest.$ac_objext 2969rm -f conftest.$ac_objext
3267if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2970if { (eval echo "$as_me:2970: \"$ac_compile\"") >&5
3268 (eval $ac_compile) 2>&5 2971 (eval $ac_compile) 2>&5
3269 ac_status=$? 2972 ac_status=$?
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2973 echo "$as_me:2973: \$? = $ac_status" >&5
3271 (exit $ac_status); } && 2974 (exit $ac_status); } &&
3272 { ac_try='test -s conftest.$ac_objext' 2975 { ac_try='test -s conftest.$ac_objext'
3273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2976 { (eval echo "$as_me:2976: \"$ac_try\"") >&5
3274 (eval $ac_try) 2>&5 2977 (eval $ac_try) 2>&5
3275 ac_status=$? 2978 ac_status=$?
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 echo "$as_me:2979: \$? = $ac_status" >&5
3277 (exit $ac_status); }; }; then 2980 (exit $ac_status); }; }; then
3278 break 2981 break
3279else 2982else
@@ -3300,7 +3003,6 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301ac_compiler_gnu=$ac_cv_c_compiler_gnu 3004ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 3005
3303
3304# On Suns, sometimes $CPP names a directory. 3006# On Suns, sometimes $CPP names a directory.
3305if test -n "$CPP" && test -d "$CPP"; then 3007if test -n "$CPP" && test -d "$CPP"; then
3306 CPP= 3008 CPP=
@@ -3347,14 +3049,14 @@ fi
3347#### should make an entry in src/config.h, don't forget to add an 3049#### should make an entry in src/config.h, don't forget to add an
3348#### #undef clause to src/config.h.in for autoconf to modify. 3050#### #undef clause to src/config.h.in for autoconf to modify.
3349 3051
3350echo "$as_me:$LINENO: checking whether ln -s works" >&5 3052echo "$as_me:3052: checking whether ln -s works" >&5
3351echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3053echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3352LN_S=$as_ln_s 3054LN_S=$as_ln_s
3353if test "$LN_S" = "ln -s"; then 3055if test "$LN_S" = "ln -s"; then
3354 echo "$as_me:$LINENO: result: yes" >&5 3056 echo "$as_me:3056: result: yes" >&5
3355echo "${ECHO_T}yes" >&6 3057echo "${ECHO_T}yes" >&6
3356else 3058else
3357 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3059 echo "$as_me:3059: result: no, using $LN_S" >&5
3358echo "${ECHO_T}no, using $LN_S" >&6 3060echo "${ECHO_T}no, using $LN_S" >&6
3359fi 3061fi
3360 3062
@@ -3363,7 +3065,7 @@ ac_cpp='$CPP $CPPFLAGS'
3363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3065ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3066ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365ac_compiler_gnu=$ac_cv_c_compiler_gnu 3067ac_compiler_gnu=$ac_cv_c_compiler_gnu
3366echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3068echo "$as_me:3068: checking how to run the C preprocessor" >&5
3367echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3069echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3368# On Suns, sometimes $CPP names a directory. 3070# On Suns, sometimes $CPP names a directory.
3369if test -n "$CPP" && test -d "$CPP"; then 3071if test -n "$CPP" && test -d "$CPP"; then
@@ -3384,18 +3086,18 @@ do
3384 # On the NeXT, cc -E runs the code through the compiler's parser, 3086 # On the NeXT, cc -E runs the code through the compiler's parser,
3385 # not just through cpp. "Syntax error" is here to catch this case. 3087 # not just through cpp. "Syntax error" is here to catch this case.
3386 cat >conftest.$ac_ext <<_ACEOF 3088 cat >conftest.$ac_ext <<_ACEOF
3387#line $LINENO "configure" 3089#line 3089 "configure"
3388#include "confdefs.h" 3090#include "confdefs.h"
3389#include <assert.h> 3091#include <assert.h>
3390 Syntax error 3092 Syntax error
3391_ACEOF 3093_ACEOF
3392if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3094if { (eval echo "$as_me:3094: \"$ac_cpp conftest.$ac_ext\"") >&5
3393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3394 ac_status=$? 3096 ac_status=$?
3395 egrep -v '^ *\+' conftest.er1 >conftest.err 3097 egrep -v '^ *\+' conftest.er1 >conftest.err
3396 rm -f conftest.er1 3098 rm -f conftest.er1
3397 cat conftest.err >&5 3099 cat conftest.err >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3100 echo "$as_me:3100: \$? = $ac_status" >&5
3399 (exit $ac_status); } >/dev/null; then 3101 (exit $ac_status); } >/dev/null; then
3400 if test -s conftest.err; then 3102 if test -s conftest.err; then
3401 ac_cpp_err=$ac_c_preproc_warn_flag 3103 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3418,17 +3120,17 @@ rm -f conftest.err conftest.$ac_ext
3418 # OK, works on sane cases. Now check whether non-existent headers 3120 # OK, works on sane cases. Now check whether non-existent headers
3419 # can be detected and how. 3121 # can be detected and how.
3420 cat >conftest.$ac_ext <<_ACEOF 3122 cat >conftest.$ac_ext <<_ACEOF
3421#line $LINENO "configure" 3123#line 3123 "configure"
3422#include "confdefs.h" 3124#include "confdefs.h"
3423#include <ac_nonexistent.h> 3125#include <ac_nonexistent.h>
3424_ACEOF 3126_ACEOF
3425if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3127if { (eval echo "$as_me:3127: \"$ac_cpp conftest.$ac_ext\"") >&5
3426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3427 ac_status=$? 3129 ac_status=$?
3428 egrep -v '^ *\+' conftest.er1 >conftest.err 3130 egrep -v '^ *\+' conftest.er1 >conftest.err
3429 rm -f conftest.er1 3131 rm -f conftest.er1
3430 cat conftest.err >&5 3132 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 echo "$as_me:3133: \$? = $ac_status" >&5
3432 (exit $ac_status); } >/dev/null; then 3134 (exit $ac_status); } >/dev/null; then
3433 if test -s conftest.err; then 3135 if test -s conftest.err; then
3434 ac_cpp_err=$ac_c_preproc_warn_flag 3136 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3465,7 +3167,7 @@ fi
3465else 3167else
3466 ac_cv_prog_CPP=$CPP 3168 ac_cv_prog_CPP=$CPP
3467fi 3169fi
3468echo "$as_me:$LINENO: result: $CPP" >&5 3170echo "$as_me:3170: result: $CPP" >&5
3469echo "${ECHO_T}$CPP" >&6 3171echo "${ECHO_T}$CPP" >&6
3470ac_preproc_ok=false 3172ac_preproc_ok=false
3471for ac_c_preproc_warn_flag in '' yes 3173for ac_c_preproc_warn_flag in '' yes
@@ -3475,18 +3177,18 @@ do
3475 # On the NeXT, cc -E runs the code through the compiler's parser, 3177 # On the NeXT, cc -E runs the code through the compiler's parser,
3476 # not just through cpp. "Syntax error" is here to catch this case. 3178 # not just through cpp. "Syntax error" is here to catch this case.
3477 cat >conftest.$ac_ext <<_ACEOF 3179 cat >conftest.$ac_ext <<_ACEOF
3478#line $LINENO "configure" 3180#line 3180 "configure"
3479#include "confdefs.h" 3181#include "confdefs.h"
3480#include <assert.h> 3182#include <assert.h>
3481 Syntax error 3183 Syntax error
3482_ACEOF 3184_ACEOF
3483if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3185if { (eval echo "$as_me:3185: \"$ac_cpp conftest.$ac_ext\"") >&5
3484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3485 ac_status=$? 3187 ac_status=$?
3486 egrep -v '^ *\+' conftest.er1 >conftest.err 3188 egrep -v '^ *\+' conftest.er1 >conftest.err
3487 rm -f conftest.er1 3189 rm -f conftest.er1
3488 cat conftest.err >&5 3190 cat conftest.err >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3191 echo "$as_me:3191: \$? = $ac_status" >&5
3490 (exit $ac_status); } >/dev/null; then 3192 (exit $ac_status); } >/dev/null; then
3491 if test -s conftest.err; then 3193 if test -s conftest.err; then
3492 ac_cpp_err=$ac_c_preproc_warn_flag 3194 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3509,17 +3211,17 @@ rm -f conftest.err conftest.$ac_ext
3509 # OK, works on sane cases. Now check whether non-existent headers 3211 # OK, works on sane cases. Now check whether non-existent headers
3510 # can be detected and how. 3212 # can be detected and how.
3511 cat >conftest.$ac_ext <<_ACEOF 3213 cat >conftest.$ac_ext <<_ACEOF
3512#line $LINENO "configure" 3214#line 3214 "configure"
3513#include "confdefs.h" 3215#include "confdefs.h"
3514#include <ac_nonexistent.h> 3216#include <ac_nonexistent.h>
3515_ACEOF 3217_ACEOF
3516if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3218if { (eval echo "$as_me:3218: \"$ac_cpp conftest.$ac_ext\"") >&5
3517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3518 ac_status=$? 3220 ac_status=$?
3519 egrep -v '^ *\+' conftest.er1 >conftest.err 3221 egrep -v '^ *\+' conftest.er1 >conftest.err
3520 rm -f conftest.er1 3222 rm -f conftest.er1
3521 cat conftest.err >&5 3223 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3224 echo "$as_me:3224: \$? = $ac_status" >&5
3523 (exit $ac_status); } >/dev/null; then 3225 (exit $ac_status); } >/dev/null; then
3524 if test -s conftest.err; then 3226 if test -s conftest.err; then
3525 ac_cpp_err=$ac_c_preproc_warn_flag 3227 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -3547,7 +3249,7 @@ rm -f conftest.err conftest.$ac_ext
3547if $ac_preproc_ok; then 3249if $ac_preproc_ok; then
3548 : 3250 :
3549else 3251else
3550 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 3252 { { echo "$as_me:3252: error: C preprocessor \"$CPP\" fails sanity check" >&5
3551echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3253echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3552 { (exit 1); exit 1; }; } 3254 { (exit 1); exit 1; }; }
3553fi 3255fi
@@ -3570,48 +3272,43 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3570# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3272# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3571# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3273# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3572# ./install, which can be erroneously created by make from ./install.sh. 3274# ./install, which can be erroneously created by make from ./install.sh.
3573echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3275echo "$as_me:3275: checking for a BSD compatible install" >&5
3574echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3276echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3575if test -z "$INSTALL"; then 3277if test -z "$INSTALL"; then
3576if test "${ac_cv_path_install+set}" = set; then 3278if test "${ac_cv_path_install+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6 3279 echo $ECHO_N "(cached) $ECHO_C" >&6
3578else 3280else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3281 ac_save_IFS=$IFS; IFS=$ac_path_separator
3580for as_dir in $PATH 3282 for ac_dir in $PATH; do
3581do 3283 IFS=$ac_save_IFS
3582 IFS=$as_save_IFS 3284 # Account for people who put trailing slashes in PATH elements.
3583 test -z "$as_dir" && as_dir=. 3285 case $ac_dir/ in
3584 # Account for people who put trailing slashes in PATH elements. 3286 / | ./ | .// | /cC/* \
3585case $as_dir/ in 3287 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
3586 ./ | .// | /cC/* | \ 3288 | /usr/ucb/* ) ;;
3587 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3289 *)
3588 /usr/ucb/* ) ;; 3290 # OSF1 and SCO ODT 3.0 have their own names for install.
3589 *) 3291 # Don't use installbsd from OSF since it installs stuff as root
3590 # OSF1 and SCO ODT 3.0 have their own names for install. 3292 # by default.
3591 # Don't use installbsd from OSF since it installs stuff as root 3293 for ac_prog in ginstall scoinst install; do
3592 # by default. 3294 if $as_executable_p "$ac_dir/$ac_prog"; then
3593 for ac_prog in ginstall scoinst install; do 3295 if test $ac_prog = install &&
3594 for ac_exec_ext in '' $ac_executable_extensions; do 3296 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3595 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3297 # AIX install. It has an incompatible calling convention.
3596 if test $ac_prog = install && 3298 :
3597 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3299 elif test $ac_prog = install &&
3598 # AIX install. It has an incompatible calling convention. 3300 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3599 : 3301 # program-specific install script used by HP pwplus--don't use.
3600 elif test $ac_prog = install && 3302 :
3601 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3303 else
3602 # program-specific install script used by HP pwplus--don't use. 3304 ac_cv_path_install="$ac_dir/$ac_prog -c"
3603 : 3305 break 2
3604 else 3306 fi
3605 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3307 fi
3606 break 3
3607 fi
3608 fi
3609 done 3308 done
3610 done 3309 ;;
3611 ;; 3310 esac
3612esac 3311 done
3613done
3614
3615 3312
3616fi 3313fi
3617 if test "${ac_cv_path_install+set}" = set; then 3314 if test "${ac_cv_path_install+set}" = set; then
@@ -3624,7 +3321,7 @@ fi
3624 INSTALL=$ac_install_sh 3321 INSTALL=$ac_install_sh
3625 fi 3322 fi
3626fi 3323fi
3627echo "$as_me:$LINENO: result: $INSTALL" >&5 3324echo "$as_me:3324: result: $INSTALL" >&5
3628echo "${ECHO_T}$INSTALL" >&6 3325echo "${ECHO_T}$INSTALL" >&6
3629 3326
3630# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3327# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -3639,7 +3336,7 @@ for ac_prog in 'bison -y' byacc
3639do 3336do
3640 # Extract the first word of "$ac_prog", so it can be a program name with args. 3337 # Extract the first word of "$ac_prog", so it can be a program name with args.
3641set dummy $ac_prog; ac_word=$2 3338set dummy $ac_prog; ac_word=$2
3642echo "$as_me:$LINENO: checking for $ac_word" >&5 3339echo "$as_me:3339: checking for $ac_word" >&5
3643echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3340echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3644if test "${ac_cv_prog_YACC+set}" = set; then 3341if test "${ac_cv_prog_YACC+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6 3342 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3647,28 +3344,25 @@ else
3647 if test -n "$YACC"; then 3344 if test -n "$YACC"; then
3648 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3345 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3649else 3346else
3650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3347 ac_save_IFS=$IFS; IFS=$ac_path_separator
3651for as_dir in $PATH 3348ac_dummy="$PATH"
3652do 3349for ac_dir in $ac_dummy; do
3653 IFS=$as_save_IFS 3350 IFS=$ac_save_IFS
3654 test -z "$as_dir" && as_dir=. 3351 test -z "$ac_dir" && ac_dir=.
3655 for ac_exec_ext in '' $ac_executable_extensions; do 3352 $as_executable_p "$ac_dir/$ac_word" || continue
3656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3353ac_cv_prog_YACC="$ac_prog"
3657 ac_cv_prog_YACC="$ac_prog" 3354echo "$as_me:3354: found $ac_dir/$ac_word" >&5
3658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3355break
3659 break 2
3660 fi
3661done
3662done 3356done
3663 3357
3664fi 3358fi
3665fi 3359fi
3666YACC=$ac_cv_prog_YACC 3360YACC=$ac_cv_prog_YACC
3667if test -n "$YACC"; then 3361if test -n "$YACC"; then
3668 echo "$as_me:$LINENO: result: $YACC" >&5 3362 echo "$as_me:3362: result: $YACC" >&5
3669echo "${ECHO_T}$YACC" >&6 3363echo "${ECHO_T}$YACC" >&6
3670else 3364else
3671 echo "$as_me:$LINENO: result: no" >&5 3365 echo "$as_me:3365: result: no" >&5
3672echo "${ECHO_T}no" >&6 3366echo "${ECHO_T}no" >&6
3673fi 3367fi
3674 3368
@@ -3680,7 +3374,7 @@ if test "x$RANLIB" = x; then
3680 if test -n "$ac_tool_prefix"; then 3374 if test -n "$ac_tool_prefix"; then
3681 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3375 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3682set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3376set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3683echo "$as_me:$LINENO: checking for $ac_word" >&5 3377echo "$as_me:3377: checking for $ac_word" >&5
3684echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3378echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3685if test "${ac_cv_prog_RANLIB+set}" = set; then 3379if test "${ac_cv_prog_RANLIB+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6 3380 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3688,28 +3382,25 @@ else
3688 if test -n "$RANLIB"; then 3382 if test -n "$RANLIB"; then
3689 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3383 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3690else 3384else
3691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3385 ac_save_IFS=$IFS; IFS=$ac_path_separator
3692for as_dir in $PATH 3386ac_dummy="$PATH"
3693do 3387for ac_dir in $ac_dummy; do
3694 IFS=$as_save_IFS 3388 IFS=$ac_save_IFS
3695 test -z "$as_dir" && as_dir=. 3389 test -z "$ac_dir" && ac_dir=.
3696 for ac_exec_ext in '' $ac_executable_extensions; do 3390 $as_executable_p "$ac_dir/$ac_word" || continue
3697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3391ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3698 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3392echo "$as_me:3392: found $ac_dir/$ac_word" >&5
3699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3393break
3700 break 2
3701 fi
3702done
3703done 3394done
3704 3395
3705fi 3396fi
3706fi 3397fi
3707RANLIB=$ac_cv_prog_RANLIB 3398RANLIB=$ac_cv_prog_RANLIB
3708if test -n "$RANLIB"; then 3399if test -n "$RANLIB"; then
3709 echo "$as_me:$LINENO: result: $RANLIB" >&5 3400 echo "$as_me:3400: result: $RANLIB" >&5
3710echo "${ECHO_T}$RANLIB" >&6 3401echo "${ECHO_T}$RANLIB" >&6
3711else 3402else
3712 echo "$as_me:$LINENO: result: no" >&5 3403 echo "$as_me:3403: result: no" >&5
3713echo "${ECHO_T}no" >&6 3404echo "${ECHO_T}no" >&6
3714fi 3405fi
3715 3406
@@ -3718,7 +3409,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
3718 ac_ct_RANLIB=$RANLIB 3409 ac_ct_RANLIB=$RANLIB
3719 # Extract the first word of "ranlib", so it can be a program name with args. 3410 # Extract the first word of "ranlib", so it can be a program name with args.
3720set dummy ranlib; ac_word=$2 3411set dummy ranlib; ac_word=$2
3721echo "$as_me:$LINENO: checking for $ac_word" >&5 3412echo "$as_me:3412: checking for $ac_word" >&5
3722echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3413echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3723if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3414if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6 3415 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3726,18 +3417,15 @@ else
3726 if test -n "$ac_ct_RANLIB"; then 3417 if test -n "$ac_ct_RANLIB"; then
3727 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3418 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3728else 3419else
3729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3420 ac_save_IFS=$IFS; IFS=$ac_path_separator
3730for as_dir in $PATH 3421ac_dummy="$PATH"
3731do 3422for ac_dir in $ac_dummy; do
3732 IFS=$as_save_IFS 3423 IFS=$ac_save_IFS
3733 test -z "$as_dir" && as_dir=. 3424 test -z "$ac_dir" && ac_dir=.
3734 for ac_exec_ext in '' $ac_executable_extensions; do 3425 $as_executable_p "$ac_dir/$ac_word" || continue
3735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3426ac_cv_prog_ac_ct_RANLIB="ranlib"
3736 ac_cv_prog_ac_ct_RANLIB="ranlib" 3427echo "$as_me:3427: found $ac_dir/$ac_word" >&5
3737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3428break
3738 break 2
3739 fi
3740done
3741done 3429done
3742 3430
3743 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3431 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
@@ -3745,10 +3433,10 @@ fi
3745fi 3433fi
3746ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3434ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3747if test -n "$ac_ct_RANLIB"; then 3435if test -n "$ac_ct_RANLIB"; then
3748 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3436 echo "$as_me:3436: result: $ac_ct_RANLIB" >&5
3749echo "${ECHO_T}$ac_ct_RANLIB" >&6 3437echo "${ECHO_T}$ac_ct_RANLIB" >&6
3750else 3438else
3751 echo "$as_me:$LINENO: result: no" >&5 3439 echo "$as_me:3439: result: no" >&5
3752echo "${ECHO_T}no" >&6 3440echo "${ECHO_T}no" >&6
3753fi 3441fi
3754 3442
@@ -3759,13 +3447,10 @@ fi
3759 3447
3760fi 3448fi
3761 3449
3762 3450echo "$as_me:3450: checking for AIX" >&5
3763
3764
3765echo "$as_me:$LINENO: checking for AIX" >&5
3766echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3451echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3767cat >conftest.$ac_ext <<_ACEOF 3452cat >conftest.$ac_ext <<_ACEOF
3768#line $LINENO "configure" 3453#line 3453 "configure"
3769#include "confdefs.h" 3454#include "confdefs.h"
3770#ifdef _AIX 3455#ifdef _AIX
3771 yes 3456 yes
@@ -3774,23 +3459,21 @@ cat >conftest.$ac_ext <<_ACEOF
3774_ACEOF 3459_ACEOF
3775if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3460if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3776 egrep "yes" >/dev/null 2>&1; then 3461 egrep "yes" >/dev/null 2>&1; then
3777 echo "$as_me:$LINENO: result: yes" >&5 3462 echo "$as_me:3462: result: yes" >&5
3778echo "${ECHO_T}yes" >&6 3463echo "${ECHO_T}yes" >&6
3779cat >>confdefs.h <<\_ACEOF 3464cat >>confdefs.h <<\EOF
3780#define _ALL_SOURCE 1 3465#define _ALL_SOURCE 1
3781_ACEOF 3466EOF
3782 3467
3783else 3468else
3784 echo "$as_me:$LINENO: result: no" >&5 3469 echo "$as_me:3469: result: no" >&5
3785echo "${ECHO_T}no" >&6 3470echo "${ECHO_T}no" >&6
3786fi 3471fi
3787rm -f conftest* 3472rm -f conftest*
3788 3473
3789
3790
3791#### Extract some information from the operating system and machine files. 3474#### Extract some information from the operating system and machine files.
3792 3475
3793{ echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out 3476{ echo "$as_me:3476: checking the machine- and system-dependent files to find out
3794 - which libraries the lib-src programs will want, and 3477 - which libraries the lib-src programs will want, and
3795 - whether the GNU malloc routines are usable..." >&5 3478 - whether the GNU malloc routines are usable..." >&5
3796echo "$as_me: checking the machine- and system-dependent files to find out 3479echo "$as_me: checking the machine- and system-dependent files to find out
@@ -3940,7 +3623,7 @@ if test "${enable_largefile+set}" = set; then
3940fi; 3623fi;
3941if test "$enable_largefile" != no; then 3624if test "$enable_largefile" != no; then
3942 3625
3943 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 3626 echo "$as_me:3626: checking for special C compiler options needed for large files" >&5
3944echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3627echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3945if test "${ac_cv_sys_largefile_CC+set}" = set; then 3628if test "${ac_cv_sys_largefile_CC+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6 3629 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3952,7 +3635,7 @@ else
3952 # IRIX 6.2 and later do not support large files by default, 3635 # IRIX 6.2 and later do not support large files by default,
3953 # so use the C compiler's -n32 option if that helps. 3636 # so use the C compiler's -n32 option if that helps.
3954 cat >conftest.$ac_ext <<_ACEOF 3637 cat >conftest.$ac_ext <<_ACEOF
3955#line $LINENO "configure" 3638#line 3638 "configure"
3956#include "confdefs.h" 3639#include "confdefs.h"
3957#include <sys/types.h> 3640#include <sys/types.h>
3958 /* Check that off_t can represent 2**63 - 1 correctly. 3641 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -3963,12 +3646,6 @@ else
3963 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3964 && LARGE_OFF_T % 2147483647 == 1) 3647 && LARGE_OFF_T % 2147483647 == 1)
3965 ? 1 : -1]; 3648 ? 1 : -1];
3966#ifdef F77_DUMMY_MAIN
3967# ifdef __cplusplus
3968 extern "C"
3969# endif
3970 int F77_DUMMY_MAIN() { return 1; }
3971#endif
3972int 3649int
3973main () 3650main ()
3974{ 3651{
@@ -3978,16 +3655,16 @@ main ()
3978} 3655}
3979_ACEOF 3656_ACEOF
3980 rm -f conftest.$ac_objext 3657 rm -f conftest.$ac_objext
3981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3658if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5
3982 (eval $ac_compile) 2>&5 3659 (eval $ac_compile) 2>&5
3983 ac_status=$? 3660 ac_status=$?
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3661 echo "$as_me:3661: \$? = $ac_status" >&5
3985 (exit $ac_status); } && 3662 (exit $ac_status); } &&
3986 { ac_try='test -s conftest.$ac_objext' 3663 { ac_try='test -s conftest.$ac_objext'
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3664 { (eval echo "$as_me:3664: \"$ac_try\"") >&5
3988 (eval $ac_try) 2>&5 3665 (eval $ac_try) 2>&5
3989 ac_status=$? 3666 ac_status=$?
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3667 echo "$as_me:3667: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then 3668 (exit $ac_status); }; }; then
3992 break 3669 break
3993else 3670else
@@ -3997,16 +3674,16 @@ fi
3997rm -f conftest.$ac_objext 3674rm -f conftest.$ac_objext
3998 CC="$CC -n32" 3675 CC="$CC -n32"
3999 rm -f conftest.$ac_objext 3676 rm -f conftest.$ac_objext
4000if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3677if { (eval echo "$as_me:3677: \"$ac_compile\"") >&5
4001 (eval $ac_compile) 2>&5 3678 (eval $ac_compile) 2>&5
4002 ac_status=$? 3679 ac_status=$?
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3680 echo "$as_me:3680: \$? = $ac_status" >&5
4004 (exit $ac_status); } && 3681 (exit $ac_status); } &&
4005 { ac_try='test -s conftest.$ac_objext' 3682 { ac_try='test -s conftest.$ac_objext'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3683 { (eval echo "$as_me:3683: \"$ac_try\"") >&5
4007 (eval $ac_try) 2>&5 3684 (eval $ac_try) 2>&5
4008 ac_status=$? 3685 ac_status=$?
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3686 echo "$as_me:3686: \$? = $ac_status" >&5
4010 (exit $ac_status); }; }; then 3687 (exit $ac_status); }; }; then
4011 ac_cv_sys_largefile_CC=' -n32'; break 3688 ac_cv_sys_largefile_CC=' -n32'; break
4012else 3689else
@@ -4020,13 +3697,13 @@ rm -f conftest.$ac_objext
4020 rm -f conftest.$ac_ext 3697 rm -f conftest.$ac_ext
4021 fi 3698 fi
4022fi 3699fi
4023echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 3700echo "$as_me:3700: result: $ac_cv_sys_largefile_CC" >&5
4024echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3701echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4025 if test "$ac_cv_sys_largefile_CC" != no; then 3702 if test "$ac_cv_sys_largefile_CC" != no; then
4026 CC=$CC$ac_cv_sys_largefile_CC 3703 CC=$CC$ac_cv_sys_largefile_CC
4027 fi 3704 fi
4028 3705
4029 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3706 echo "$as_me:3706: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4030echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3707echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4031if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3708if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6 3709 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4034,7 +3711,7 @@ else
4034 while :; do 3711 while :; do
4035 ac_cv_sys_file_offset_bits=no 3712 ac_cv_sys_file_offset_bits=no
4036 cat >conftest.$ac_ext <<_ACEOF 3713 cat >conftest.$ac_ext <<_ACEOF
4037#line $LINENO "configure" 3714#line 3714 "configure"
4038#include "confdefs.h" 3715#include "confdefs.h"
4039#include <sys/types.h> 3716#include <sys/types.h>
4040 /* Check that off_t can represent 2**63 - 1 correctly. 3717 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -4045,12 +3722,6 @@ else
4045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3722 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4046 && LARGE_OFF_T % 2147483647 == 1) 3723 && LARGE_OFF_T % 2147483647 == 1)
4047 ? 1 : -1]; 3724 ? 1 : -1];
4048#ifdef F77_DUMMY_MAIN
4049# ifdef __cplusplus
4050 extern "C"
4051# endif
4052 int F77_DUMMY_MAIN() { return 1; }
4053#endif
4054int 3725int
4055main () 3726main ()
4056{ 3727{
@@ -4060,16 +3731,16 @@ main ()
4060} 3731}
4061_ACEOF 3732_ACEOF
4062rm -f conftest.$ac_objext 3733rm -f conftest.$ac_objext
4063if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3734if { (eval echo "$as_me:3734: \"$ac_compile\"") >&5
4064 (eval $ac_compile) 2>&5 3735 (eval $ac_compile) 2>&5
4065 ac_status=$? 3736 ac_status=$?
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3737 echo "$as_me:3737: \$? = $ac_status" >&5
4067 (exit $ac_status); } && 3738 (exit $ac_status); } &&
4068 { ac_try='test -s conftest.$ac_objext' 3739 { ac_try='test -s conftest.$ac_objext'
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3740 { (eval echo "$as_me:3740: \"$ac_try\"") >&5
4070 (eval $ac_try) 2>&5 3741 (eval $ac_try) 2>&5
4071 ac_status=$? 3742 ac_status=$?
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3743 echo "$as_me:3743: \$? = $ac_status" >&5
4073 (exit $ac_status); }; }; then 3744 (exit $ac_status); }; }; then
4074 break 3745 break
4075else 3746else
@@ -4078,7 +3749,7 @@ cat conftest.$ac_ext >&5
4078fi 3749fi
4079rm -f conftest.$ac_objext conftest.$ac_ext 3750rm -f conftest.$ac_objext conftest.$ac_ext
4080 cat >conftest.$ac_ext <<_ACEOF 3751 cat >conftest.$ac_ext <<_ACEOF
4081#line $LINENO "configure" 3752#line 3752 "configure"
4082#include "confdefs.h" 3753#include "confdefs.h"
4083#define _FILE_OFFSET_BITS 64 3754#define _FILE_OFFSET_BITS 64
4084#include <sys/types.h> 3755#include <sys/types.h>
@@ -4090,12 +3761,6 @@ rm -f conftest.$ac_objext conftest.$ac_ext
4090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3761 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4091 && LARGE_OFF_T % 2147483647 == 1) 3762 && LARGE_OFF_T % 2147483647 == 1)
4092 ? 1 : -1]; 3763 ? 1 : -1];
4093#ifdef F77_DUMMY_MAIN
4094# ifdef __cplusplus
4095 extern "C"
4096# endif
4097 int F77_DUMMY_MAIN() { return 1; }
4098#endif
4099int 3764int
4100main () 3765main ()
4101{ 3766{
@@ -4105,16 +3770,16 @@ main ()
4105} 3770}
4106_ACEOF 3771_ACEOF
4107rm -f conftest.$ac_objext 3772rm -f conftest.$ac_objext
4108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3773if { (eval echo "$as_me:3773: \"$ac_compile\"") >&5
4109 (eval $ac_compile) 2>&5 3774 (eval $ac_compile) 2>&5
4110 ac_status=$? 3775 ac_status=$?
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3776 echo "$as_me:3776: \$? = $ac_status" >&5
4112 (exit $ac_status); } && 3777 (exit $ac_status); } &&
4113 { ac_try='test -s conftest.$ac_objext' 3778 { ac_try='test -s conftest.$ac_objext'
4114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3779 { (eval echo "$as_me:3779: \"$ac_try\"") >&5
4115 (eval $ac_try) 2>&5 3780 (eval $ac_try) 2>&5
4116 ac_status=$? 3781 ac_status=$?
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3782 echo "$as_me:3782: \$? = $ac_status" >&5
4118 (exit $ac_status); }; }; then 3783 (exit $ac_status); }; }; then
4119 ac_cv_sys_file_offset_bits=64; break 3784 ac_cv_sys_file_offset_bits=64; break
4120else 3785else
@@ -4125,17 +3790,17 @@ rm -f conftest.$ac_objext conftest.$ac_ext
4125 break 3790 break
4126done 3791done
4127fi 3792fi
4128echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 3793echo "$as_me:3793: result: $ac_cv_sys_file_offset_bits" >&5
4129echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3794echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4130if test "$ac_cv_sys_file_offset_bits" != no; then 3795if test "$ac_cv_sys_file_offset_bits" != no; then
4131 3796
4132cat >>confdefs.h <<_ACEOF 3797cat >>confdefs.h <<EOF
4133#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3798#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4134_ACEOF 3799EOF
4135 3800
4136fi 3801fi
4137rm -f conftest* 3802rm -f conftest*
4138 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 3803 echo "$as_me:3803: checking for _LARGE_FILES value needed for large files" >&5
4139echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3804echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4140if test "${ac_cv_sys_large_files+set}" = set; then 3805if test "${ac_cv_sys_large_files+set}" = set; then
4141 echo $ECHO_N "(cached) $ECHO_C" >&6 3806 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4143,7 +3808,7 @@ else
4143 while :; do 3808 while :; do
4144 ac_cv_sys_large_files=no 3809 ac_cv_sys_large_files=no
4145 cat >conftest.$ac_ext <<_ACEOF 3810 cat >conftest.$ac_ext <<_ACEOF
4146#line $LINENO "configure" 3811#line 3811 "configure"
4147#include "confdefs.h" 3812#include "confdefs.h"
4148#include <sys/types.h> 3813#include <sys/types.h>
4149 /* Check that off_t can represent 2**63 - 1 correctly. 3814 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -4154,12 +3819,6 @@ else
4154 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3819 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4155 && LARGE_OFF_T % 2147483647 == 1) 3820 && LARGE_OFF_T % 2147483647 == 1)
4156 ? 1 : -1]; 3821 ? 1 : -1];
4157#ifdef F77_DUMMY_MAIN
4158# ifdef __cplusplus
4159 extern "C"
4160# endif
4161 int F77_DUMMY_MAIN() { return 1; }
4162#endif
4163int 3822int
4164main () 3823main ()
4165{ 3824{
@@ -4169,16 +3828,16 @@ main ()
4169} 3828}
4170_ACEOF 3829_ACEOF
4171rm -f conftest.$ac_objext 3830rm -f conftest.$ac_objext
4172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3831if { (eval echo "$as_me:3831: \"$ac_compile\"") >&5
4173 (eval $ac_compile) 2>&5 3832 (eval $ac_compile) 2>&5
4174 ac_status=$? 3833 ac_status=$?
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3834 echo "$as_me:3834: \$? = $ac_status" >&5
4176 (exit $ac_status); } && 3835 (exit $ac_status); } &&
4177 { ac_try='test -s conftest.$ac_objext' 3836 { ac_try='test -s conftest.$ac_objext'
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3837 { (eval echo "$as_me:3837: \"$ac_try\"") >&5
4179 (eval $ac_try) 2>&5 3838 (eval $ac_try) 2>&5
4180 ac_status=$? 3839 ac_status=$?
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3840 echo "$as_me:3840: \$? = $ac_status" >&5
4182 (exit $ac_status); }; }; then 3841 (exit $ac_status); }; }; then
4183 break 3842 break
4184else 3843else
@@ -4187,7 +3846,7 @@ cat conftest.$ac_ext >&5
4187fi 3846fi
4188rm -f conftest.$ac_objext conftest.$ac_ext 3847rm -f conftest.$ac_objext conftest.$ac_ext
4189 cat >conftest.$ac_ext <<_ACEOF 3848 cat >conftest.$ac_ext <<_ACEOF
4190#line $LINENO "configure" 3849#line 3849 "configure"
4191#include "confdefs.h" 3850#include "confdefs.h"
4192#define _LARGE_FILES 1 3851#define _LARGE_FILES 1
4193#include <sys/types.h> 3852#include <sys/types.h>
@@ -4199,12 +3858,6 @@ rm -f conftest.$ac_objext conftest.$ac_ext
4199 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 3858 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4200 && LARGE_OFF_T % 2147483647 == 1) 3859 && LARGE_OFF_T % 2147483647 == 1)
4201 ? 1 : -1]; 3860 ? 1 : -1];
4202#ifdef F77_DUMMY_MAIN
4203# ifdef __cplusplus
4204 extern "C"
4205# endif
4206 int F77_DUMMY_MAIN() { return 1; }
4207#endif
4208int 3861int
4209main () 3862main ()
4210{ 3863{
@@ -4214,16 +3867,16 @@ main ()
4214} 3867}
4215_ACEOF 3868_ACEOF
4216rm -f conftest.$ac_objext 3869rm -f conftest.$ac_objext
4217if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3870if { (eval echo "$as_me:3870: \"$ac_compile\"") >&5
4218 (eval $ac_compile) 2>&5 3871 (eval $ac_compile) 2>&5
4219 ac_status=$? 3872 ac_status=$?
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 echo "$as_me:3873: \$? = $ac_status" >&5
4221 (exit $ac_status); } && 3874 (exit $ac_status); } &&
4222 { ac_try='test -s conftest.$ac_objext' 3875 { ac_try='test -s conftest.$ac_objext'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3876 { (eval echo "$as_me:3876: \"$ac_try\"") >&5
4224 (eval $ac_try) 2>&5 3877 (eval $ac_try) 2>&5
4225 ac_status=$? 3878 ac_status=$?
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3879 echo "$as_me:3879: \$? = $ac_status" >&5
4227 (exit $ac_status); }; }; then 3880 (exit $ac_status); }; }; then
4228 ac_cv_sys_large_files=1; break 3881 ac_cv_sys_large_files=1; break
4229else 3882else
@@ -4234,279 +3887,41 @@ rm -f conftest.$ac_objext conftest.$ac_ext
4234 break 3887 break
4235done 3888done
4236fi 3889fi
4237echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 3890echo "$as_me:3890: result: $ac_cv_sys_large_files" >&5
4238echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3891echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4239if test "$ac_cv_sys_large_files" != no; then 3892if test "$ac_cv_sys_large_files" != no; then
4240 3893
4241cat >>confdefs.h <<_ACEOF 3894cat >>confdefs.h <<EOF
4242#define _LARGE_FILES $ac_cv_sys_large_files 3895#define _LARGE_FILES $ac_cv_sys_large_files
4243_ACEOF 3896EOF
4244 3897
4245fi 3898fi
4246rm -f conftest* 3899rm -f conftest*
4247fi 3900fi
4248 3901
4249
4250if test "${with_sound}" != "no"; then 3902if test "${with_sound}" != "no"; then
4251 # Sound support for GNU/Linux and the free BSDs. 3903 # Sound support for GNU/Linux and the free BSDs.
4252 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4253echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4254if test "${ac_cv_header_stdc+set}" = set; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4256else
4257 cat >conftest.$ac_ext <<_ACEOF
4258#line $LINENO "configure"
4259#include "confdefs.h"
4260#include <stdlib.h>
4261#include <stdarg.h>
4262#include <string.h>
4263#include <float.h>
4264
4265_ACEOF
4266if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4268 ac_status=$?
4269 egrep -v '^ *\+' conftest.er1 >conftest.err
4270 rm -f conftest.er1
4271 cat conftest.err >&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } >/dev/null; then
4274 if test -s conftest.err; then
4275 ac_cpp_err=$ac_c_preproc_warn_flag
4276 else
4277 ac_cpp_err=
4278 fi
4279else
4280 ac_cpp_err=yes
4281fi
4282if test -z "$ac_cpp_err"; then
4283 ac_cv_header_stdc=yes
4284else
4285 echo "$as_me: failed program was:" >&5
4286 cat conftest.$ac_ext >&5
4287 ac_cv_header_stdc=no
4288fi
4289rm -f conftest.err conftest.$ac_ext
4290
4291if test $ac_cv_header_stdc = yes; then
4292 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4293 cat >conftest.$ac_ext <<_ACEOF
4294#line $LINENO "configure"
4295#include "confdefs.h"
4296#include <string.h>
4297
4298_ACEOF
4299if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4300 egrep "memchr" >/dev/null 2>&1; then
4301 :
4302else
4303 ac_cv_header_stdc=no
4304fi
4305rm -f conftest*
4306
4307fi
4308
4309if test $ac_cv_header_stdc = yes; then
4310 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4311 cat >conftest.$ac_ext <<_ACEOF
4312#line $LINENO "configure"
4313#include "confdefs.h"
4314#include <stdlib.h>
4315
4316_ACEOF
4317if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4318 egrep "free" >/dev/null 2>&1; then
4319 :
4320else
4321 ac_cv_header_stdc=no
4322fi
4323rm -f conftest*
4324
4325fi
4326
4327if test $ac_cv_header_stdc = yes; then
4328 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4329 if test "$cross_compiling" = yes; then
4330 :
4331else
4332 cat >conftest.$ac_ext <<_ACEOF
4333#line $LINENO "configure"
4334#include "confdefs.h"
4335#include <ctype.h>
4336#if ((' ' & 0x0FF) == 0x020)
4337# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4338# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4339#else
4340# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4341 || ('j' <= (c) && (c) <= 'r') \
4342 || ('s' <= (c) && (c) <= 'z'))
4343# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4344#endif
4345
4346#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4347int
4348main ()
4349{
4350 int i;
4351 for (i = 0; i < 256; i++)
4352 if (XOR (islower (i), ISLOWER (i))
4353 || toupper (i) != TOUPPER (i))
4354 exit(2);
4355 exit (0);
4356}
4357_ACEOF
4358rm -f conftest$ac_exeext
4359if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4360 (eval $ac_link) 2>&5
4361 ac_status=$?
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4365 (eval $ac_try) 2>&5
4366 ac_status=$?
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; }; then
4369 :
4370else
4371 echo "$as_me: program exited with status $ac_status" >&5
4372echo "$as_me: failed program was:" >&5
4373cat conftest.$ac_ext >&5
4374( exit $ac_status )
4375ac_cv_header_stdc=no
4376fi
4377rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4378fi
4379fi
4380fi
4381echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4382echo "${ECHO_T}$ac_cv_header_stdc" >&6
4383if test $ac_cv_header_stdc = yes; then
4384
4385cat >>confdefs.h <<\_ACEOF
4386#define STDC_HEADERS 1
4387_ACEOF
4388
4389fi
4390
4391# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4402 inttypes.h stdint.h unistd.h
4403do
4404as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4405echo "$as_me:$LINENO: checking for $ac_header" >&5
4406echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4407if eval "test \"\${$as_ac_Header+set}\" = set"; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4409else
4410 cat >conftest.$ac_ext <<_ACEOF
4411#line $LINENO "configure"
4412#include "confdefs.h"
4413$ac_includes_default
4414
4415#include <$ac_header>
4416_ACEOF
4417rm -f conftest.$ac_objext
4418if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419 (eval $ac_compile) 2>&5
4420 ac_status=$?
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } &&
4423 { ac_try='test -s conftest.$ac_objext'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4425 (eval $ac_try) 2>&5
4426 ac_status=$?
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4429 eval "$as_ac_Header=yes"
4430else
4431 echo "$as_me: failed program was:" >&5
4432cat conftest.$ac_ext >&5
4433eval "$as_ac_Header=no"
4434fi
4435rm -f conftest.$ac_objext conftest.$ac_ext
4436fi
4437echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4438echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4439if test `eval echo '${'$as_ac_Header'}'` = yes; then
4440 cat >>confdefs.h <<_ACEOF
4441#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4442_ACEOF
4443
4444fi
4445
4446done
4447
4448
4449
4450
4451 3904
4452for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 3905for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
4453do 3906do
4454as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3907as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4455if eval "test \"\${$as_ac_Header+set}\" = set"; then 3908echo "$as_me:3908: checking for $ac_header" >&5
4456 echo "$as_me:$LINENO: checking for $ac_header" >&5
4457echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3909echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4458if eval "test \"\${$as_ac_Header+set}\" = set"; then 3910if eval "test \"\${$as_ac_Header+set}\" = set"; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6 3911 echo $ECHO_N "(cached) $ECHO_C" >&6
4460fi
4461echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4462echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4463else 3912else
4464 # Is the header compilable? 3913 cat >conftest.$ac_ext <<_ACEOF
4465echo "$as_me:$LINENO: checking $ac_header usability" >&5 3914#line 3914 "configure"
4466echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4467cat >conftest.$ac_ext <<_ACEOF
4468#line $LINENO "configure"
4469#include "confdefs.h"
4470$ac_includes_default
4471#include <$ac_header>
4472_ACEOF
4473rm -f conftest.$ac_objext
4474if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4475 (eval $ac_compile) 2>&5
4476 ac_status=$?
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); } &&
4479 { ac_try='test -s conftest.$ac_objext'
4480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4481 (eval $ac_try) 2>&5
4482 ac_status=$?
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; }; then
4485 ac_header_compiler=yes
4486else
4487 echo "$as_me: failed program was:" >&5
4488cat conftest.$ac_ext >&5
4489ac_header_compiler=no
4490fi
4491rm -f conftest.$ac_objext conftest.$ac_ext
4492echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4493echo "${ECHO_T}$ac_header_compiler" >&6
4494
4495# Is the header present?
4496echo "$as_me:$LINENO: checking $ac_header presence" >&5
4497echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4498cat >conftest.$ac_ext <<_ACEOF
4499#line $LINENO "configure"
4500#include "confdefs.h" 3915#include "confdefs.h"
4501#include <$ac_header> 3916#include <$ac_header>
4502_ACEOF 3917_ACEOF
4503if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3918if { (eval echo "$as_me:3918: \"$ac_cpp conftest.$ac_ext\"") >&5
4504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4505 ac_status=$? 3920 ac_status=$?
4506 egrep -v '^ *\+' conftest.er1 >conftest.err 3921 egrep -v '^ *\+' conftest.er1 >conftest.err
4507 rm -f conftest.er1 3922 rm -f conftest.er1
4508 cat conftest.err >&5 3923 cat conftest.err >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3924 echo "$as_me:3924: \$? = $ac_status" >&5
4510 (exit $ac_status); } >/dev/null; then 3925 (exit $ac_status); } >/dev/null; then
4511 if test -s conftest.err; then 3926 if test -s conftest.err; then
4512 ac_cpp_err=$ac_c_preproc_warn_flag 3927 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -4517,53 +3932,26 @@ else
4517 ac_cpp_err=yes 3932 ac_cpp_err=yes
4518fi 3933fi
4519if test -z "$ac_cpp_err"; then 3934if test -z "$ac_cpp_err"; then
4520 ac_header_preproc=yes 3935 eval "$as_ac_Header=yes"
4521else 3936else
4522 echo "$as_me: failed program was:" >&5 3937 echo "$as_me: failed program was:" >&5
4523 cat conftest.$ac_ext >&5 3938 cat conftest.$ac_ext >&5
4524 ac_header_preproc=no 3939 eval "$as_ac_Header=no"
4525fi 3940fi
4526rm -f conftest.err conftest.$ac_ext 3941rm -f conftest.err conftest.$ac_ext
4527echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4528echo "${ECHO_T}$ac_header_preproc" >&6
4529
4530# So? What about this header?
4531case $ac_header_compiler:$ac_header_preproc in
4532 yes:no )
4533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4534echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4536echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4537 no:yes )
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4539echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4541echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4543echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4544esac
4545echo "$as_me:$LINENO: checking for $ac_header" >&5
4546echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4547if eval "test \"\${$as_ac_Header+set}\" = set"; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549else
4550 eval "$as_ac_Header=$ac_header_preproc"
4551fi 3942fi
4552echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3943echo "$as_me:3943: result: `eval echo '${'$as_ac_Header'}'`" >&5
4553echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3944echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4554
4555fi
4556if test `eval echo '${'$as_ac_Header'}'` = yes; then 3945if test `eval echo '${'$as_ac_Header'}'` = yes; then
4557 cat >>confdefs.h <<_ACEOF 3946 cat >>confdefs.h <<EOF
4558#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3947#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4559_ACEOF 3948EOF
4560 3949
4561fi 3950fi
4562
4563done 3951done
4564 3952
4565 # Emulation library used on NetBSD. 3953 # Emulation library used on NetBSD.
4566 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 3954 echo "$as_me:3954: checking for _oss_ioctl in -lossaudio" >&5
4567echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 3955echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4568if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 3956if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6 3957 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4571,7 +3959,7 @@ else
4571 ac_check_lib_save_LIBS=$LIBS 3959 ac_check_lib_save_LIBS=$LIBS
4572LIBS="-lossaudio $LIBS" 3960LIBS="-lossaudio $LIBS"
4573cat >conftest.$ac_ext <<_ACEOF 3961cat >conftest.$ac_ext <<_ACEOF
4574#line $LINENO "configure" 3962#line 3962 "configure"
4575#include "confdefs.h" 3963#include "confdefs.h"
4576 3964
4577/* Override any gcc2 internal prototype to avoid an error. */ 3965/* Override any gcc2 internal prototype to avoid an error. */
@@ -4581,12 +3969,6 @@ extern "C"
4581/* We use char because int might match the return type of a gcc2 3969/* We use char because int might match the return type of a gcc2
4582 builtin and then its argument prototype would still apply. */ 3970 builtin and then its argument prototype would still apply. */
4583char _oss_ioctl (); 3971char _oss_ioctl ();
4584#ifdef F77_DUMMY_MAIN
4585# ifdef __cplusplus
4586 extern "C"
4587# endif
4588 int F77_DUMMY_MAIN() { return 1; }
4589#endif
4590int 3972int
4591main () 3973main ()
4592{ 3974{
@@ -4596,16 +3978,16 @@ _oss_ioctl ();
4596} 3978}
4597_ACEOF 3979_ACEOF
4598rm -f conftest.$ac_objext conftest$ac_exeext 3980rm -f conftest.$ac_objext conftest$ac_exeext
4599if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3981if { (eval echo "$as_me:3981: \"$ac_link\"") >&5
4600 (eval $ac_link) 2>&5 3982 (eval $ac_link) 2>&5
4601 ac_status=$? 3983 ac_status=$?
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3984 echo "$as_me:3984: \$? = $ac_status" >&5
4603 (exit $ac_status); } && 3985 (exit $ac_status); } &&
4604 { ac_try='test -s conftest$ac_exeext' 3986 { ac_try='test -s conftest$ac_exeext'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3987 { (eval echo "$as_me:3987: \"$ac_try\"") >&5
4606 (eval $ac_try) 2>&5 3988 (eval $ac_try) 2>&5
4607 ac_status=$? 3989 ac_status=$?
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3990 echo "$as_me:3990: \$? = $ac_status" >&5
4609 (exit $ac_status); }; }; then 3991 (exit $ac_status); }; }; then
4610 ac_cv_lib_ossaudio__oss_ioctl=yes 3992 ac_cv_lib_ossaudio__oss_ioctl=yes
4611else 3993else
@@ -4616,7 +3998,7 @@ fi
4616rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3998rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4617LIBS=$ac_check_lib_save_LIBS 3999LIBS=$ac_check_lib_save_LIBS
4618fi 4000fi
4619echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 4001echo "$as_me:4001: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4620echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 4002echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4621if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 4003if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4622 LIBSOUND=-lossaudio 4004 LIBSOUND=-lossaudio
@@ -4624,86 +4006,30 @@ else
4624 LIBSOUND= 4006 LIBSOUND=
4625fi 4007fi
4626 4008
4627
4628fi 4009fi
4629 4010
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 4011for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
4648 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 4012 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
4649 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h 4013 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
4650do 4014do
4651as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4015as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4652if eval "test \"\${$as_ac_Header+set}\" = set"; then 4016echo "$as_me:4016: checking for $ac_header" >&5
4653 echo "$as_me:$LINENO: checking for $ac_header" >&5
4654echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4017echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4655if eval "test \"\${$as_ac_Header+set}\" = set"; then 4018if eval "test \"\${$as_ac_Header+set}\" = set"; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6 4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4657fi
4658echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4659echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4660else 4020else
4661 # Is the header compilable? 4021 cat >conftest.$ac_ext <<_ACEOF
4662echo "$as_me:$LINENO: checking $ac_header usability" >&5 4022#line 4022 "configure"
4663echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4664cat >conftest.$ac_ext <<_ACEOF
4665#line $LINENO "configure"
4666#include "confdefs.h"
4667$ac_includes_default
4668#include <$ac_header>
4669_ACEOF
4670rm -f conftest.$ac_objext
4671if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4672 (eval $ac_compile) 2>&5
4673 ac_status=$?
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } &&
4676 { ac_try='test -s conftest.$ac_objext'
4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678 (eval $ac_try) 2>&5
4679 ac_status=$?
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }; }; then
4682 ac_header_compiler=yes
4683else
4684 echo "$as_me: failed program was:" >&5
4685cat conftest.$ac_ext >&5
4686ac_header_compiler=no
4687fi
4688rm -f conftest.$ac_objext conftest.$ac_ext
4689echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4690echo "${ECHO_T}$ac_header_compiler" >&6
4691
4692# Is the header present?
4693echo "$as_me:$LINENO: checking $ac_header presence" >&5
4694echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4695cat >conftest.$ac_ext <<_ACEOF
4696#line $LINENO "configure"
4697#include "confdefs.h" 4023#include "confdefs.h"
4698#include <$ac_header> 4024#include <$ac_header>
4699_ACEOF 4025_ACEOF
4700if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4026if { (eval echo "$as_me:4026: \"$ac_cpp conftest.$ac_ext\"") >&5
4701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4702 ac_status=$? 4028 ac_status=$?
4703 egrep -v '^ *\+' conftest.er1 >conftest.err 4029 egrep -v '^ *\+' conftest.er1 >conftest.err
4704 rm -f conftest.er1 4030 rm -f conftest.er1
4705 cat conftest.err >&5 4031 cat conftest.err >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4032 echo "$as_me:4032: \$? = $ac_status" >&5
4707 (exit $ac_status); } >/dev/null; then 4033 (exit $ac_status); } >/dev/null; then
4708 if test -s conftest.err; then 4034 if test -s conftest.err; then
4709 ac_cpp_err=$ac_c_preproc_warn_flag 4035 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -4714,58 +4040,31 @@ else
4714 ac_cpp_err=yes 4040 ac_cpp_err=yes
4715fi 4041fi
4716if test -z "$ac_cpp_err"; then 4042if test -z "$ac_cpp_err"; then
4717 ac_header_preproc=yes 4043 eval "$as_ac_Header=yes"
4718else 4044else
4719 echo "$as_me: failed program was:" >&5 4045 echo "$as_me: failed program was:" >&5
4720 cat conftest.$ac_ext >&5 4046 cat conftest.$ac_ext >&5
4721 ac_header_preproc=no 4047 eval "$as_ac_Header=no"
4722fi 4048fi
4723rm -f conftest.err conftest.$ac_ext 4049rm -f conftest.err conftest.$ac_ext
4724echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4725echo "${ECHO_T}$ac_header_preproc" >&6
4726
4727# So? What about this header?
4728case $ac_header_compiler:$ac_header_preproc in
4729 yes:no )
4730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4731echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4733echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4734 no:yes )
4735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4736echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4738echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4740echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4741esac
4742echo "$as_me:$LINENO: checking for $ac_header" >&5
4743echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4744if eval "test \"\${$as_ac_Header+set}\" = set"; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4746else
4747 eval "$as_ac_Header=$ac_header_preproc"
4748fi 4050fi
4749echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4051echo "$as_me:4051: result: `eval echo '${'$as_ac_Header'}'`" >&5
4750echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4052echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4751
4752fi
4753if test `eval echo '${'$as_ac_Header'}'` = yes; then 4053if test `eval echo '${'$as_ac_Header'}'` = yes; then
4754 cat >>confdefs.h <<_ACEOF 4054 cat >>confdefs.h <<EOF
4755#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4055#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4756_ACEOF 4056EOF
4757 4057
4758fi 4058fi
4759
4760done 4059done
4761 4060
4762echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4061echo "$as_me:4061: checking for ANSI C header files" >&5
4763echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4062echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4764if test "${ac_cv_header_stdc+set}" = set; then 4063if test "${ac_cv_header_stdc+set}" = set; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6 4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4766else 4065else
4767 cat >conftest.$ac_ext <<_ACEOF 4066 cat >conftest.$ac_ext <<_ACEOF
4768#line $LINENO "configure" 4067#line 4067 "configure"
4769#include "confdefs.h" 4068#include "confdefs.h"
4770#include <stdlib.h> 4069#include <stdlib.h>
4771#include <stdarg.h> 4070#include <stdarg.h>
@@ -4773,13 +4072,13 @@ else
4773#include <float.h> 4072#include <float.h>
4774 4073
4775_ACEOF 4074_ACEOF
4776if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4075if { (eval echo "$as_me:4075: \"$ac_cpp conftest.$ac_ext\"") >&5
4777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4778 ac_status=$? 4077 ac_status=$?
4779 egrep -v '^ *\+' conftest.er1 >conftest.err 4078 egrep -v '^ *\+' conftest.er1 >conftest.err
4780 rm -f conftest.er1 4079 rm -f conftest.er1
4781 cat conftest.err >&5 4080 cat conftest.err >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4081 echo "$as_me:4081: \$? = $ac_status" >&5
4783 (exit $ac_status); } >/dev/null; then 4082 (exit $ac_status); } >/dev/null; then
4784 if test -s conftest.err; then 4083 if test -s conftest.err; then
4785 ac_cpp_err=$ac_c_preproc_warn_flag 4084 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -4801,7 +4100,7 @@ rm -f conftest.err conftest.$ac_ext
4801if test $ac_cv_header_stdc = yes; then 4100if test $ac_cv_header_stdc = yes; then
4802 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4101 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4803 cat >conftest.$ac_ext <<_ACEOF 4102 cat >conftest.$ac_ext <<_ACEOF
4804#line $LINENO "configure" 4103#line 4103 "configure"
4805#include "confdefs.h" 4104#include "confdefs.h"
4806#include <string.h> 4105#include <string.h>
4807 4106
@@ -4819,7 +4118,7 @@ fi
4819if test $ac_cv_header_stdc = yes; then 4118if test $ac_cv_header_stdc = yes; then
4820 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4119 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4821 cat >conftest.$ac_ext <<_ACEOF 4120 cat >conftest.$ac_ext <<_ACEOF
4822#line $LINENO "configure" 4121#line 4121 "configure"
4823#include "confdefs.h" 4122#include "confdefs.h"
4824#include <stdlib.h> 4123#include <stdlib.h>
4825 4124
@@ -4840,7 +4139,7 @@ if test $ac_cv_header_stdc = yes; then
4840 : 4139 :
4841else 4140else
4842 cat >conftest.$ac_ext <<_ACEOF 4141 cat >conftest.$ac_ext <<_ACEOF
4843#line $LINENO "configure" 4142#line 4142 "configure"
4844#include "confdefs.h" 4143#include "confdefs.h"
4845#include <ctype.h> 4144#include <ctype.h>
4846#if ((' ' & 0x0FF) == 0x020) 4145#if ((' ' & 0x0FF) == 0x020)
@@ -4866,56 +4165,49 @@ main ()
4866} 4165}
4867_ACEOF 4166_ACEOF
4868rm -f conftest$ac_exeext 4167rm -f conftest$ac_exeext
4869if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4168if { (eval echo "$as_me:4168: \"$ac_link\"") >&5
4870 (eval $ac_link) 2>&5 4169 (eval $ac_link) 2>&5
4871 ac_status=$? 4170 ac_status=$?
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4171 echo "$as_me:4171: \$? = $ac_status" >&5
4873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4173 { (eval echo "$as_me:4173: \"$ac_try\"") >&5
4875 (eval $ac_try) 2>&5 4174 (eval $ac_try) 2>&5
4876 ac_status=$? 4175 ac_status=$?
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4176 echo "$as_me:4176: \$? = $ac_status" >&5
4878 (exit $ac_status); }; }; then 4177 (exit $ac_status); }; }; then
4879 : 4178 :
4880else 4179else
4881 echo "$as_me: program exited with status $ac_status" >&5 4180 echo "$as_me: program exited with status $ac_status" >&5
4882echo "$as_me: failed program was:" >&5 4181echo "$as_me: failed program was:" >&5
4883cat conftest.$ac_ext >&5 4182cat conftest.$ac_ext >&5
4884( exit $ac_status )
4885ac_cv_header_stdc=no 4183ac_cv_header_stdc=no
4886fi 4184fi
4887rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4185rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4888fi 4186fi
4889fi 4187fi
4890fi 4188fi
4891echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4189echo "$as_me:4189: result: $ac_cv_header_stdc" >&5
4892echo "${ECHO_T}$ac_cv_header_stdc" >&6 4190echo "${ECHO_T}$ac_cv_header_stdc" >&6
4893if test $ac_cv_header_stdc = yes; then 4191if test $ac_cv_header_stdc = yes; then
4894 4192
4895cat >>confdefs.h <<\_ACEOF 4193cat >>confdefs.h <<\EOF
4896#define STDC_HEADERS 1 4194#define STDC_HEADERS 1
4897_ACEOF 4195EOF
4898 4196
4899fi 4197fi
4900 4198
4901echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4199echo "$as_me:4199: checking whether time.h and sys/time.h may both be included" >&5
4902echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4200echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4903if test "${ac_cv_header_time+set}" = set; then 4201if test "${ac_cv_header_time+set}" = set; then
4904 echo $ECHO_N "(cached) $ECHO_C" >&6 4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4905else 4203else
4906 cat >conftest.$ac_ext <<_ACEOF 4204 cat >conftest.$ac_ext <<_ACEOF
4907#line $LINENO "configure" 4205#line 4205 "configure"
4908#include "confdefs.h" 4206#include "confdefs.h"
4909#include <sys/types.h> 4207#include <sys/types.h>
4910#include <sys/time.h> 4208#include <sys/time.h>
4911#include <time.h> 4209#include <time.h>
4912 4210
4913#ifdef F77_DUMMY_MAIN
4914# ifdef __cplusplus
4915 extern "C"
4916# endif
4917 int F77_DUMMY_MAIN() { return 1; }
4918#endif
4919int 4211int
4920main () 4212main ()
4921{ 4213{
@@ -4926,16 +4218,16 @@ return 0;
4926} 4218}
4927_ACEOF 4219_ACEOF
4928rm -f conftest.$ac_objext 4220rm -f conftest.$ac_objext
4929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4221if { (eval echo "$as_me:4221: \"$ac_compile\"") >&5
4930 (eval $ac_compile) 2>&5 4222 (eval $ac_compile) 2>&5
4931 ac_status=$? 4223 ac_status=$?
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4224 echo "$as_me:4224: \$? = $ac_status" >&5
4933 (exit $ac_status); } && 4225 (exit $ac_status); } &&
4934 { ac_try='test -s conftest.$ac_objext' 4226 { ac_try='test -s conftest.$ac_objext'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4227 { (eval echo "$as_me:4227: \"$ac_try\"") >&5
4936 (eval $ac_try) 2>&5 4228 (eval $ac_try) 2>&5
4937 ac_status=$? 4229 ac_status=$?
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4230 echo "$as_me:4230: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then 4231 (exit $ac_status); }; }; then
4940 ac_cv_header_time=yes 4232 ac_cv_header_time=yes
4941else 4233else
@@ -4945,23 +4237,23 @@ ac_cv_header_time=no
4945fi 4237fi
4946rm -f conftest.$ac_objext conftest.$ac_ext 4238rm -f conftest.$ac_objext conftest.$ac_ext
4947fi 4239fi
4948echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4240echo "$as_me:4240: result: $ac_cv_header_time" >&5
4949echo "${ECHO_T}$ac_cv_header_time" >&6 4241echo "${ECHO_T}$ac_cv_header_time" >&6
4950if test $ac_cv_header_time = yes; then 4242if test $ac_cv_header_time = yes; then
4951 4243
4952cat >>confdefs.h <<\_ACEOF 4244cat >>confdefs.h <<\EOF
4953#define TIME_WITH_SYS_TIME 1 4245#define TIME_WITH_SYS_TIME 1
4954_ACEOF 4246EOF
4955 4247
4956fi 4248fi
4957 4249
4958echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4250echo "$as_me:4250: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4959echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 4251echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4960if test "${ac_cv_decl_sys_siglist+set}" = set; then 4252if test "${ac_cv_decl_sys_siglist+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6 4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4962else 4254else
4963 cat >conftest.$ac_ext <<_ACEOF 4255 cat >conftest.$ac_ext <<_ACEOF
4964#line $LINENO "configure" 4256#line 4256 "configure"
4965#include "confdefs.h" 4257#include "confdefs.h"
4966#include <sys/types.h> 4258#include <sys/types.h>
4967#include <signal.h> 4259#include <signal.h>
@@ -4970,12 +4262,6 @@ else
4970# include <unistd.h> 4262# include <unistd.h>
4971#endif 4263#endif
4972 4264
4973#ifdef F77_DUMMY_MAIN
4974# ifdef __cplusplus
4975 extern "C"
4976# endif
4977 int F77_DUMMY_MAIN() { return 1; }
4978#endif
4979int 4265int
4980main () 4266main ()
4981{ 4267{
@@ -4985,16 +4271,16 @@ char *msg = *(sys_siglist + 1);
4985} 4271}
4986_ACEOF 4272_ACEOF
4987rm -f conftest.$ac_objext 4273rm -f conftest.$ac_objext
4988if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4274if { (eval echo "$as_me:4274: \"$ac_compile\"") >&5
4989 (eval $ac_compile) 2>&5 4275 (eval $ac_compile) 2>&5
4990 ac_status=$? 4276 ac_status=$?
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4277 echo "$as_me:4277: \$? = $ac_status" >&5
4992 (exit $ac_status); } && 4278 (exit $ac_status); } &&
4993 { ac_try='test -s conftest.$ac_objext' 4279 { ac_try='test -s conftest.$ac_objext'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4280 { (eval echo "$as_me:4280: \"$ac_try\"") >&5
4995 (eval $ac_try) 2>&5 4281 (eval $ac_try) 2>&5
4996 ac_status=$? 4282 ac_status=$?
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4283 echo "$as_me:4283: \$? = $ac_status" >&5
4998 (exit $ac_status); }; }; then 4284 (exit $ac_status); }; }; then
4999 ac_cv_decl_sys_siglist=yes 4285 ac_cv_decl_sys_siglist=yes
5000else 4286else
@@ -5004,23 +4290,23 @@ ac_cv_decl_sys_siglist=no
5004fi 4290fi
5005rm -f conftest.$ac_objext conftest.$ac_ext 4291rm -f conftest.$ac_objext conftest.$ac_ext
5006fi 4292fi
5007echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5 4293echo "$as_me:4293: result: $ac_cv_decl_sys_siglist" >&5
5008echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 4294echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
5009if test $ac_cv_decl_sys_siglist = yes; then 4295if test $ac_cv_decl_sys_siglist = yes; then
5010 4296
5011cat >>confdefs.h <<\_ACEOF 4297cat >>confdefs.h <<\EOF
5012#define SYS_SIGLIST_DECLARED 1 4298#define SYS_SIGLIST_DECLARED 1
5013_ACEOF 4299EOF
5014 4300
5015fi 4301fi
5016 4302
5017echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 4303echo "$as_me:4303: checking for sys/wait.h that is POSIX.1 compatible" >&5
5018echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4304echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5019if test "${ac_cv_header_sys_wait_h+set}" = set; then 4305if test "${ac_cv_header_sys_wait_h+set}" = set; then
5020 echo $ECHO_N "(cached) $ECHO_C" >&6 4306 echo $ECHO_N "(cached) $ECHO_C" >&6
5021else 4307else
5022 cat >conftest.$ac_ext <<_ACEOF 4308 cat >conftest.$ac_ext <<_ACEOF
5023#line $LINENO "configure" 4309#line 4309 "configure"
5024#include "confdefs.h" 4310#include "confdefs.h"
5025#include <sys/types.h> 4311#include <sys/types.h>
5026#include <sys/wait.h> 4312#include <sys/wait.h>
@@ -5031,12 +4317,6 @@ else
5031# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 4317# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5032#endif 4318#endif
5033 4319
5034#ifdef F77_DUMMY_MAIN
5035# ifdef __cplusplus
5036 extern "C"
5037# endif
5038 int F77_DUMMY_MAIN() { return 1; }
5039#endif
5040int 4320int
5041main () 4321main ()
5042{ 4322{
@@ -5048,16 +4328,16 @@ main ()
5048} 4328}
5049_ACEOF 4329_ACEOF
5050rm -f conftest.$ac_objext 4330rm -f conftest.$ac_objext
5051if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4331if { (eval echo "$as_me:4331: \"$ac_compile\"") >&5
5052 (eval $ac_compile) 2>&5 4332 (eval $ac_compile) 2>&5
5053 ac_status=$? 4333 ac_status=$?
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4334 echo "$as_me:4334: \$? = $ac_status" >&5
5055 (exit $ac_status); } && 4335 (exit $ac_status); } &&
5056 { ac_try='test -s conftest.$ac_objext' 4336 { ac_try='test -s conftest.$ac_objext'
5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4337 { (eval echo "$as_me:4337: \"$ac_try\"") >&5
5058 (eval $ac_try) 2>&5 4338 (eval $ac_try) 2>&5
5059 ac_status=$? 4339 ac_status=$?
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4340 echo "$as_me:4340: \$? = $ac_status" >&5
5061 (exit $ac_status); }; }; then 4341 (exit $ac_status); }; }; then
5062 ac_cv_header_sys_wait_h=yes 4342 ac_cv_header_sys_wait_h=yes
5063else 4343else
@@ -5067,24 +4347,23 @@ ac_cv_header_sys_wait_h=no
5067fi 4347fi
5068rm -f conftest.$ac_objext conftest.$ac_ext 4348rm -f conftest.$ac_objext conftest.$ac_ext
5069fi 4349fi
5070echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 4350echo "$as_me:4350: result: $ac_cv_header_sys_wait_h" >&5
5071echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4351echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5072if test $ac_cv_header_sys_wait_h = yes; then 4352if test $ac_cv_header_sys_wait_h = yes; then
5073 4353
5074cat >>confdefs.h <<\_ACEOF 4354cat >>confdefs.h <<\EOF
5075#define HAVE_SYS_WAIT_H 1 4355#define HAVE_SYS_WAIT_H 1
5076_ACEOF 4356EOF
5077 4357
5078fi 4358fi
5079 4359
5080 4360echo "$as_me:4360: checking for struct utimbuf" >&5
5081echo "$as_me:$LINENO: checking for struct utimbuf" >&5
5082echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 4361echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
5083if test "${emacs_cv_struct_utimbuf+set}" = set; then 4362if test "${emacs_cv_struct_utimbuf+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6 4363 echo $ECHO_N "(cached) $ECHO_C" >&6
5085else 4364else
5086 cat >conftest.$ac_ext <<_ACEOF 4365 cat >conftest.$ac_ext <<_ACEOF
5087#line $LINENO "configure" 4366#line 4366 "configure"
5088#include "confdefs.h" 4367#include "confdefs.h"
5089#ifdef TIME_WITH_SYS_TIME 4368#ifdef TIME_WITH_SYS_TIME
5090#include <sys/time.h> 4369#include <sys/time.h>
@@ -5099,12 +4378,6 @@ else
5099#ifdef HAVE_UTIME_H 4378#ifdef HAVE_UTIME_H
5100#include <utime.h> 4379#include <utime.h>
5101#endif 4380#endif
5102#ifdef F77_DUMMY_MAIN
5103# ifdef __cplusplus
5104 extern "C"
5105# endif
5106 int F77_DUMMY_MAIN() { return 1; }
5107#endif
5108int 4381int
5109main () 4382main ()
5110{ 4383{
@@ -5114,16 +4387,16 @@ static struct utimbuf x; x.actime = x.modtime;
5114} 4387}
5115_ACEOF 4388_ACEOF
5116rm -f conftest.$ac_objext 4389rm -f conftest.$ac_objext
5117if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4390if { (eval echo "$as_me:4390: \"$ac_compile\"") >&5
5118 (eval $ac_compile) 2>&5 4391 (eval $ac_compile) 2>&5
5119 ac_status=$? 4392 ac_status=$?
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4393 echo "$as_me:4393: \$? = $ac_status" >&5
5121 (exit $ac_status); } && 4394 (exit $ac_status); } &&
5122 { ac_try='test -s conftest.$ac_objext' 4395 { ac_try='test -s conftest.$ac_objext'
5123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4396 { (eval echo "$as_me:4396: \"$ac_try\"") >&5
5124 (eval $ac_try) 2>&5 4397 (eval $ac_try) 2>&5
5125 ac_status=$? 4398 ac_status=$?
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4399 echo "$as_me:4399: \$? = $ac_status" >&5
5127 (exit $ac_status); }; }; then 4400 (exit $ac_status); }; }; then
5128 emacs_cv_struct_utimbuf=yes 4401 emacs_cv_struct_utimbuf=yes
5129else 4402else
@@ -5133,23 +4406,23 @@ emacs_cv_struct_utimbuf=no
5133fi 4406fi
5134rm -f conftest.$ac_objext conftest.$ac_ext 4407rm -f conftest.$ac_objext conftest.$ac_ext
5135fi 4408fi
5136echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 4409echo "$as_me:4409: result: $emacs_cv_struct_utimbuf" >&5
5137echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 4410echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
5138if test $emacs_cv_struct_utimbuf = yes; then 4411if test $emacs_cv_struct_utimbuf = yes; then
5139 4412
5140cat >>confdefs.h <<\_ACEOF 4413cat >>confdefs.h <<\EOF
5141#define HAVE_STRUCT_UTIMBUF 1 4414#define HAVE_STRUCT_UTIMBUF 1
5142_ACEOF 4415EOF
5143 4416
5144fi 4417fi
5145 4418
5146echo "$as_me:$LINENO: checking return type of signal handlers" >&5 4419echo "$as_me:4419: checking return type of signal handlers" >&5
5147echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 4420echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5148if test "${ac_cv_type_signal+set}" = set; then 4421if test "${ac_cv_type_signal+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6 4422 echo $ECHO_N "(cached) $ECHO_C" >&6
5150else 4423else
5151 cat >conftest.$ac_ext <<_ACEOF 4424 cat >conftest.$ac_ext <<_ACEOF
5152#line $LINENO "configure" 4425#line 4425 "configure"
5153#include "confdefs.h" 4426#include "confdefs.h"
5154#include <sys/types.h> 4427#include <sys/types.h>
5155#include <signal.h> 4428#include <signal.h>
@@ -5162,12 +4435,6 @@ extern "C" void (*signal (int, void (*)(int)))(int);
5162void (*signal ()) (); 4435void (*signal ()) ();
5163#endif 4436#endif
5164 4437
5165#ifdef F77_DUMMY_MAIN
5166# ifdef __cplusplus
5167 extern "C"
5168# endif
5169 int F77_DUMMY_MAIN() { return 1; }
5170#endif
5171int 4438int
5172main () 4439main ()
5173{ 4440{
@@ -5177,16 +4444,16 @@ int i;
5177} 4444}
5178_ACEOF 4445_ACEOF
5179rm -f conftest.$ac_objext 4446rm -f conftest.$ac_objext
5180if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4447if { (eval echo "$as_me:4447: \"$ac_compile\"") >&5
5181 (eval $ac_compile) 2>&5 4448 (eval $ac_compile) 2>&5
5182 ac_status=$? 4449 ac_status=$?
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4450 echo "$as_me:4450: \$? = $ac_status" >&5
5184 (exit $ac_status); } && 4451 (exit $ac_status); } &&
5185 { ac_try='test -s conftest.$ac_objext' 4452 { ac_try='test -s conftest.$ac_objext'
5186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4453 { (eval echo "$as_me:4453: \"$ac_try\"") >&5
5187 (eval $ac_try) 2>&5 4454 (eval $ac_try) 2>&5
5188 ac_status=$? 4455 ac_status=$?
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4456 echo "$as_me:4456: \$? = $ac_status" >&5
5190 (exit $ac_status); }; }; then 4457 (exit $ac_status); }; }; then
5191 ac_cv_type_signal=void 4458 ac_cv_type_signal=void
5192else 4459else
@@ -5196,30 +4463,22 @@ ac_cv_type_signal=int
5196fi 4463fi
5197rm -f conftest.$ac_objext conftest.$ac_ext 4464rm -f conftest.$ac_objext conftest.$ac_ext
5198fi 4465fi
5199echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 4466echo "$as_me:4466: result: $ac_cv_type_signal" >&5
5200echo "${ECHO_T}$ac_cv_type_signal" >&6 4467echo "${ECHO_T}$ac_cv_type_signal" >&6
5201 4468
5202cat >>confdefs.h <<_ACEOF 4469cat >>confdefs.h <<EOF
5203#define RETSIGTYPE $ac_cv_type_signal 4470#define RETSIGTYPE $ac_cv_type_signal
5204_ACEOF 4471EOF
5205
5206
5207 4472
5208echo "$as_me:$LINENO: checking for speed_t" >&5 4473echo "$as_me:4473: checking for speed_t" >&5
5209echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 4474echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
5210if test "${emacs_cv_speed_t+set}" = set; then 4475if test "${emacs_cv_speed_t+set}" = set; then
5211 echo $ECHO_N "(cached) $ECHO_C" >&6 4476 echo $ECHO_N "(cached) $ECHO_C" >&6
5212else 4477else
5213 cat >conftest.$ac_ext <<_ACEOF 4478 cat >conftest.$ac_ext <<_ACEOF
5214#line $LINENO "configure" 4479#line 4479 "configure"
5215#include "confdefs.h" 4480#include "confdefs.h"
5216#include <termios.h> 4481#include <termios.h>
5217#ifdef F77_DUMMY_MAIN
5218# ifdef __cplusplus
5219 extern "C"
5220# endif
5221 int F77_DUMMY_MAIN() { return 1; }
5222#endif
5223int 4482int
5224main () 4483main ()
5225{ 4484{
@@ -5229,16 +4488,16 @@ speed_t x = 1;
5229} 4488}
5230_ACEOF 4489_ACEOF
5231rm -f conftest.$ac_objext 4490rm -f conftest.$ac_objext
5232if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4491if { (eval echo "$as_me:4491: \"$ac_compile\"") >&5
5233 (eval $ac_compile) 2>&5 4492 (eval $ac_compile) 2>&5
5234 ac_status=$? 4493 ac_status=$?
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4494 echo "$as_me:4494: \$? = $ac_status" >&5
5236 (exit $ac_status); } && 4495 (exit $ac_status); } &&
5237 { ac_try='test -s conftest.$ac_objext' 4496 { ac_try='test -s conftest.$ac_objext'
5238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4497 { (eval echo "$as_me:4497: \"$ac_try\"") >&5
5239 (eval $ac_try) 2>&5 4498 (eval $ac_try) 2>&5
5240 ac_status=$? 4499 ac_status=$?
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4500 echo "$as_me:4500: \$? = $ac_status" >&5
5242 (exit $ac_status); }; }; then 4501 (exit $ac_status); }; }; then
5243 emacs_cv_speed_t=yes 4502 emacs_cv_speed_t=yes
5244else 4503else
@@ -5248,23 +4507,23 @@ emacs_cv_speed_t=no
5248fi 4507fi
5249rm -f conftest.$ac_objext conftest.$ac_ext 4508rm -f conftest.$ac_objext conftest.$ac_ext
5250fi 4509fi
5251echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 4510echo "$as_me:4510: result: $emacs_cv_speed_t" >&5
5252echo "${ECHO_T}$emacs_cv_speed_t" >&6 4511echo "${ECHO_T}$emacs_cv_speed_t" >&6
5253if test $emacs_cv_speed_t = yes; then 4512if test $emacs_cv_speed_t = yes; then
5254 4513
5255cat >>confdefs.h <<\_ACEOF 4514cat >>confdefs.h <<\EOF
5256#define HAVE_SPEED_T 1 4515#define HAVE_SPEED_T 1
5257_ACEOF 4516EOF
5258 4517
5259fi 4518fi
5260 4519
5261echo "$as_me:$LINENO: checking for struct timeval" >&5 4520echo "$as_me:4520: checking for struct timeval" >&5
5262echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 4521echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
5263if test "${emacs_cv_struct_timeval+set}" = set; then 4522if test "${emacs_cv_struct_timeval+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6 4523 echo $ECHO_N "(cached) $ECHO_C" >&6
5265else 4524else
5266 cat >conftest.$ac_ext <<_ACEOF 4525 cat >conftest.$ac_ext <<_ACEOF
5267#line $LINENO "configure" 4526#line 4526 "configure"
5268#include "confdefs.h" 4527#include "confdefs.h"
5269#ifdef TIME_WITH_SYS_TIME 4528#ifdef TIME_WITH_SYS_TIME
5270#include <sys/time.h> 4529#include <sys/time.h>
@@ -5276,12 +4535,6 @@ else
5276#include <time.h> 4535#include <time.h>
5277#endif 4536#endif
5278#endif 4537#endif
5279#ifdef F77_DUMMY_MAIN
5280# ifdef __cplusplus
5281 extern "C"
5282# endif
5283 int F77_DUMMY_MAIN() { return 1; }
5284#endif
5285int 4538int
5286main () 4539main ()
5287{ 4540{
@@ -5291,16 +4544,16 @@ static struct timeval x; x.tv_sec = x.tv_usec;
5291} 4544}
5292_ACEOF 4545_ACEOF
5293rm -f conftest.$ac_objext 4546rm -f conftest.$ac_objext
5294if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4547if { (eval echo "$as_me:4547: \"$ac_compile\"") >&5
5295 (eval $ac_compile) 2>&5 4548 (eval $ac_compile) 2>&5
5296 ac_status=$? 4549 ac_status=$?
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4550 echo "$as_me:4550: \$? = $ac_status" >&5
5298 (exit $ac_status); } && 4551 (exit $ac_status); } &&
5299 { ac_try='test -s conftest.$ac_objext' 4552 { ac_try='test -s conftest.$ac_objext'
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4553 { (eval echo "$as_me:4553: \"$ac_try\"") >&5
5301 (eval $ac_try) 2>&5 4554 (eval $ac_try) 2>&5
5302 ac_status=$? 4555 ac_status=$?
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4556 echo "$as_me:4556: \$? = $ac_status" >&5
5304 (exit $ac_status); }; }; then 4557 (exit $ac_status); }; }; then
5305 emacs_cv_struct_timeval=yes 4558 emacs_cv_struct_timeval=yes
5306else 4559else
@@ -5310,32 +4563,26 @@ emacs_cv_struct_timeval=no
5310fi 4563fi
5311rm -f conftest.$ac_objext conftest.$ac_ext 4564rm -f conftest.$ac_objext conftest.$ac_ext
5312fi 4565fi
5313echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 4566echo "$as_me:4566: result: $emacs_cv_struct_timeval" >&5
5314echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 4567echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
5315HAVE_TIMEVAL=$emacs_cv_struct_timeval 4568HAVE_TIMEVAL=$emacs_cv_struct_timeval
5316if test $emacs_cv_struct_timeval = yes; then 4569if test $emacs_cv_struct_timeval = yes; then
5317 4570
5318cat >>confdefs.h <<\_ACEOF 4571cat >>confdefs.h <<\EOF
5319#define HAVE_TIMEVAL 1 4572#define HAVE_TIMEVAL 1
5320_ACEOF 4573EOF
5321 4574
5322fi 4575fi
5323 4576
5324echo "$as_me:$LINENO: checking for struct exception" >&5 4577echo "$as_me:4577: checking for struct exception" >&5
5325echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 4578echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
5326if test "${emacs_cv_struct_exception+set}" = set; then 4579if test "${emacs_cv_struct_exception+set}" = set; then
5327 echo $ECHO_N "(cached) $ECHO_C" >&6 4580 echo $ECHO_N "(cached) $ECHO_C" >&6
5328else 4581else
5329 cat >conftest.$ac_ext <<_ACEOF 4582 cat >conftest.$ac_ext <<_ACEOF
5330#line $LINENO "configure" 4583#line 4583 "configure"
5331#include "confdefs.h" 4584#include "confdefs.h"
5332#include <math.h> 4585#include <math.h>
5333#ifdef F77_DUMMY_MAIN
5334# ifdef __cplusplus
5335 extern "C"
5336# endif
5337 int F77_DUMMY_MAIN() { return 1; }
5338#endif
5339int 4586int
5340main () 4587main ()
5341{ 4588{
@@ -5345,16 +4592,16 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
5345} 4592}
5346_ACEOF 4593_ACEOF
5347rm -f conftest.$ac_objext 4594rm -f conftest.$ac_objext
5348if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4595if { (eval echo "$as_me:4595: \"$ac_compile\"") >&5
5349 (eval $ac_compile) 2>&5 4596 (eval $ac_compile) 2>&5
5350 ac_status=$? 4597 ac_status=$?
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4598 echo "$as_me:4598: \$? = $ac_status" >&5
5352 (exit $ac_status); } && 4599 (exit $ac_status); } &&
5353 { ac_try='test -s conftest.$ac_objext' 4600 { ac_try='test -s conftest.$ac_objext'
5354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4601 { (eval echo "$as_me:4601: \"$ac_try\"") >&5
5355 (eval $ac_try) 2>&5 4602 (eval $ac_try) 2>&5
5356 ac_status=$? 4603 ac_status=$?
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4604 echo "$as_me:4604: \$? = $ac_status" >&5
5358 (exit $ac_status); }; }; then 4605 (exit $ac_status); }; }; then
5359 emacs_cv_struct_exception=yes 4606 emacs_cv_struct_exception=yes
5360else 4607else
@@ -5364,34 +4611,28 @@ emacs_cv_struct_exception=no
5364fi 4611fi
5365rm -f conftest.$ac_objext conftest.$ac_ext 4612rm -f conftest.$ac_objext conftest.$ac_ext
5366fi 4613fi
5367echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 4614echo "$as_me:4614: result: $emacs_cv_struct_exception" >&5
5368echo "${ECHO_T}$emacs_cv_struct_exception" >&6 4615echo "${ECHO_T}$emacs_cv_struct_exception" >&6
5369HAVE_EXCEPTION=$emacs_cv_struct_exception 4616HAVE_EXCEPTION=$emacs_cv_struct_exception
5370if test $emacs_cv_struct_exception != yes; then 4617if test $emacs_cv_struct_exception != yes; then
5371 4618
5372cat >>confdefs.h <<\_ACEOF 4619cat >>confdefs.h <<\EOF
5373#define NO_MATHERR 1 4620#define NO_MATHERR 1
5374_ACEOF 4621EOF
5375 4622
5376fi 4623fi
5377 4624
5378echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4625echo "$as_me:4625: checking whether struct tm is in sys/time.h or time.h" >&5
5379echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4626echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5380if test "${ac_cv_struct_tm+set}" = set; then 4627if test "${ac_cv_struct_tm+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6 4628 echo $ECHO_N "(cached) $ECHO_C" >&6
5382else 4629else
5383 cat >conftest.$ac_ext <<_ACEOF 4630 cat >conftest.$ac_ext <<_ACEOF
5384#line $LINENO "configure" 4631#line 4631 "configure"
5385#include "confdefs.h" 4632#include "confdefs.h"
5386#include <sys/types.h> 4633#include <sys/types.h>
5387#include <time.h> 4634#include <time.h>
5388 4635
5389#ifdef F77_DUMMY_MAIN
5390# ifdef __cplusplus
5391 extern "C"
5392# endif
5393 int F77_DUMMY_MAIN() { return 1; }
5394#endif
5395int 4636int
5396main () 4637main ()
5397{ 4638{
@@ -5401,16 +4642,16 @@ struct tm *tp; tp->tm_sec;
5401} 4642}
5402_ACEOF 4643_ACEOF
5403rm -f conftest.$ac_objext 4644rm -f conftest.$ac_objext
5404if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4645if { (eval echo "$as_me:4645: \"$ac_compile\"") >&5
5405 (eval $ac_compile) 2>&5 4646 (eval $ac_compile) 2>&5
5406 ac_status=$? 4647 ac_status=$?
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4648 echo "$as_me:4648: \$? = $ac_status" >&5
5408 (exit $ac_status); } && 4649 (exit $ac_status); } &&
5409 { ac_try='test -s conftest.$ac_objext' 4650 { ac_try='test -s conftest.$ac_objext'
5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4651 { (eval echo "$as_me:4651: \"$ac_try\"") >&5
5411 (eval $ac_try) 2>&5 4652 (eval $ac_try) 2>&5
5412 ac_status=$? 4653 ac_status=$?
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4654 echo "$as_me:4654: \$? = $ac_status" >&5
5414 (exit $ac_status); }; }; then 4655 (exit $ac_status); }; }; then
5415 ac_cv_struct_tm=time.h 4656 ac_cv_struct_tm=time.h
5416else 4657else
@@ -5420,34 +4661,27 @@ ac_cv_struct_tm=sys/time.h
5420fi 4661fi
5421rm -f conftest.$ac_objext conftest.$ac_ext 4662rm -f conftest.$ac_objext conftest.$ac_ext
5422fi 4663fi
5423echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4664echo "$as_me:4664: result: $ac_cv_struct_tm" >&5
5424echo "${ECHO_T}$ac_cv_struct_tm" >&6 4665echo "${ECHO_T}$ac_cv_struct_tm" >&6
5425if test $ac_cv_struct_tm = sys/time.h; then 4666if test $ac_cv_struct_tm = sys/time.h; then
5426 4667
5427cat >>confdefs.h <<\_ACEOF 4668cat >>confdefs.h <<\EOF
5428#define TM_IN_SYS_TIME 1 4669#define TM_IN_SYS_TIME 1
5429_ACEOF 4670EOF
5430 4671
5431fi 4672fi
5432 4673
5433echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 4674echo "$as_me:4674: checking for struct tm.tm_zone" >&5
5434echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 4675echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
5435if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 4676if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6 4677 echo $ECHO_N "(cached) $ECHO_C" >&6
5437else 4678else
5438 cat >conftest.$ac_ext <<_ACEOF 4679 cat >conftest.$ac_ext <<_ACEOF
5439#line $LINENO "configure" 4680#line 4680 "configure"
5440#include "confdefs.h" 4681#include "confdefs.h"
5441#include <sys/types.h> 4682#include <sys/types.h>
5442#include <$ac_cv_struct_tm> 4683#include <$ac_cv_struct_tm>
5443 4684
5444
5445#ifdef F77_DUMMY_MAIN
5446# ifdef __cplusplus
5447 extern "C"
5448# endif
5449 int F77_DUMMY_MAIN() { return 1; }
5450#endif
5451int 4685int
5452main () 4686main ()
5453{ 4687{
@@ -5459,16 +4693,16 @@ return 0;
5459} 4693}
5460_ACEOF 4694_ACEOF
5461rm -f conftest.$ac_objext 4695rm -f conftest.$ac_objext
5462if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4696if { (eval echo "$as_me:4696: \"$ac_compile\"") >&5
5463 (eval $ac_compile) 2>&5 4697 (eval $ac_compile) 2>&5
5464 ac_status=$? 4698 ac_status=$?
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4699 echo "$as_me:4699: \$? = $ac_status" >&5
5466 (exit $ac_status); } && 4700 (exit $ac_status); } &&
5467 { ac_try='test -s conftest.$ac_objext' 4701 { ac_try='test -s conftest.$ac_objext'
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4702 { (eval echo "$as_me:4702: \"$ac_try\"") >&5
5469 (eval $ac_try) 2>&5 4703 (eval $ac_try) 2>&5
5470 ac_status=$? 4704 ac_status=$?
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4705 echo "$as_me:4705: \$? = $ac_status" >&5
5472 (exit $ac_status); }; }; then 4706 (exit $ac_status); }; }; then
5473 ac_cv_member_struct_tm_tm_zone=yes 4707 ac_cv_member_struct_tm_tm_zone=yes
5474else 4708else
@@ -5478,43 +4712,36 @@ ac_cv_member_struct_tm_tm_zone=no
5478fi 4712fi
5479rm -f conftest.$ac_objext conftest.$ac_ext 4713rm -f conftest.$ac_objext conftest.$ac_ext
5480fi 4714fi
5481echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 4715echo "$as_me:4715: result: $ac_cv_member_struct_tm_tm_zone" >&5
5482echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 4716echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
5483if test $ac_cv_member_struct_tm_tm_zone = yes; then 4717if test $ac_cv_member_struct_tm_tm_zone = yes; then
5484 4718
5485cat >>confdefs.h <<_ACEOF 4719cat >>confdefs.h <<EOF
5486#define HAVE_STRUCT_TM_TM_ZONE 1 4720#define HAVE_STRUCT_TM_TM_ZONE 1
5487_ACEOF 4721EOF
5488
5489 4722
5490fi 4723fi
5491 4724
5492if test "$ac_cv_member_struct_tm_tm_zone" = yes; then 4725if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
5493 4726
5494cat >>confdefs.h <<\_ACEOF 4727cat >>confdefs.h <<\EOF
5495#define HAVE_TM_ZONE 1 4728#define HAVE_TM_ZONE 1
5496_ACEOF 4729EOF
5497 4730
5498else 4731else
5499 echo "$as_me:$LINENO: checking for tzname" >&5 4732 echo "$as_me:4732: checking for tzname" >&5
5500echo $ECHO_N "checking for tzname... $ECHO_C" >&6 4733echo $ECHO_N "checking for tzname... $ECHO_C" >&6
5501if test "${ac_cv_var_tzname+set}" = set; then 4734if test "${ac_cv_var_tzname+set}" = set; then
5502 echo $ECHO_N "(cached) $ECHO_C" >&6 4735 echo $ECHO_N "(cached) $ECHO_C" >&6
5503else 4736else
5504 cat >conftest.$ac_ext <<_ACEOF 4737 cat >conftest.$ac_ext <<_ACEOF
5505#line $LINENO "configure" 4738#line 4738 "configure"
5506#include "confdefs.h" 4739#include "confdefs.h"
5507#include <time.h> 4740#include <time.h>
5508#ifndef tzname /* For SGI. */ 4741#ifndef tzname /* For SGI. */
5509extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4742extern char *tzname[]; /* RS6000 and others reject char **tzname. */
5510#endif 4743#endif
5511 4744
5512#ifdef F77_DUMMY_MAIN
5513# ifdef __cplusplus
5514 extern "C"
5515# endif
5516 int F77_DUMMY_MAIN() { return 1; }
5517#endif
5518int 4745int
5519main () 4746main ()
5520{ 4747{
@@ -5524,16 +4751,16 @@ atoi(*tzname);
5524} 4751}
5525_ACEOF 4752_ACEOF
5526rm -f conftest.$ac_objext conftest$ac_exeext 4753rm -f conftest.$ac_objext conftest$ac_exeext
5527if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4754if { (eval echo "$as_me:4754: \"$ac_link\"") >&5
5528 (eval $ac_link) 2>&5 4755 (eval $ac_link) 2>&5
5529 ac_status=$? 4756 ac_status=$?
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4757 echo "$as_me:4757: \$? = $ac_status" >&5
5531 (exit $ac_status); } && 4758 (exit $ac_status); } &&
5532 { ac_try='test -s conftest$ac_exeext' 4759 { ac_try='test -s conftest$ac_exeext'
5533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4760 { (eval echo "$as_me:4760: \"$ac_try\"") >&5
5534 (eval $ac_try) 2>&5 4761 (eval $ac_try) 2>&5
5535 ac_status=$? 4762 ac_status=$?
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4763 echo "$as_me:4763: \$? = $ac_status" >&5
5537 (exit $ac_status); }; }; then 4764 (exit $ac_status); }; }; then
5538 ac_cv_var_tzname=yes 4765 ac_cv_var_tzname=yes
5539else 4766else
@@ -5543,33 +4770,27 @@ ac_cv_var_tzname=no
5543fi 4770fi
5544rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4771rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5545fi 4772fi
5546echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 4773echo "$as_me:4773: result: $ac_cv_var_tzname" >&5
5547echo "${ECHO_T}$ac_cv_var_tzname" >&6 4774echo "${ECHO_T}$ac_cv_var_tzname" >&6
5548 if test $ac_cv_var_tzname = yes; then 4775 if test $ac_cv_var_tzname = yes; then
5549 4776
5550cat >>confdefs.h <<\_ACEOF 4777cat >>confdefs.h <<\EOF
5551#define HAVE_TZNAME 1 4778#define HAVE_TZNAME 1
5552_ACEOF 4779EOF
5553 4780
5554 fi 4781 fi
5555fi 4782fi
5556 4783
5557echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 4784echo "$as_me:4784: checking for struct tm.tm_gmtoff" >&5
5558echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 4785echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
5559if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 4786if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6 4787 echo $ECHO_N "(cached) $ECHO_C" >&6
5561else 4788else
5562 cat >conftest.$ac_ext <<_ACEOF 4789 cat >conftest.$ac_ext <<_ACEOF
5563#line $LINENO "configure" 4790#line 4790 "configure"
5564#include "confdefs.h" 4791#include "confdefs.h"
5565#include <time.h> 4792#include <time.h>
5566 4793
5567#ifdef F77_DUMMY_MAIN
5568# ifdef __cplusplus
5569 extern "C"
5570# endif
5571 int F77_DUMMY_MAIN() { return 1; }
5572#endif
5573int 4794int
5574main () 4795main ()
5575{ 4796{
@@ -5581,16 +4802,16 @@ return 0;
5581} 4802}
5582_ACEOF 4803_ACEOF
5583rm -f conftest.$ac_objext 4804rm -f conftest.$ac_objext
5584if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4805if { (eval echo "$as_me:4805: \"$ac_compile\"") >&5
5585 (eval $ac_compile) 2>&5 4806 (eval $ac_compile) 2>&5
5586 ac_status=$? 4807 ac_status=$?
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4808 echo "$as_me:4808: \$? = $ac_status" >&5
5588 (exit $ac_status); } && 4809 (exit $ac_status); } &&
5589 { ac_try='test -s conftest.$ac_objext' 4810 { ac_try='test -s conftest.$ac_objext'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4811 { (eval echo "$as_me:4811: \"$ac_try\"") >&5
5591 (eval $ac_try) 2>&5 4812 (eval $ac_try) 2>&5
5592 ac_status=$? 4813 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4814 echo "$as_me:4814: \$? = $ac_status" >&5
5594 (exit $ac_status); }; }; then 4815 (exit $ac_status); }; }; then
5595 ac_cv_member_struct_tm_tm_gmtoff=yes 4816 ac_cv_member_struct_tm_tm_gmtoff=yes
5596else 4817else
@@ -5600,19 +4821,17 @@ ac_cv_member_struct_tm_tm_gmtoff=no
5600fi 4821fi
5601rm -f conftest.$ac_objext conftest.$ac_ext 4822rm -f conftest.$ac_objext conftest.$ac_ext
5602fi 4823fi
5603echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 4824echo "$as_me:4824: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
5604echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 4825echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
5605if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 4826if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
5606 4827
5607cat >>confdefs.h <<\_ACEOF 4828cat >>confdefs.h <<\EOF
5608#define HAVE_TM_GMTOFF 1 4829#define HAVE_TM_GMTOFF 1
5609_ACEOF 4830EOF
5610 4831
5611fi 4832fi
5612 4833
5613 4834echo "$as_me:4834: checking for $CC option to accept ANSI C" >&5
5614
5615echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5616echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 4835echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5617if test "${ac_cv_prog_cc_stdc+set}" = set; then 4836if test "${ac_cv_prog_cc_stdc+set}" = set; then
5618 echo $ECHO_N "(cached) $ECHO_C" >&6 4837 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5620,7 +4839,7 @@ else
5620 ac_cv_prog_cc_stdc=no 4839 ac_cv_prog_cc_stdc=no
5621ac_save_CC=$CC 4840ac_save_CC=$CC
5622cat >conftest.$ac_ext <<_ACEOF 4841cat >conftest.$ac_ext <<_ACEOF
5623#line $LINENO "configure" 4842#line 4842 "configure"
5624#include "confdefs.h" 4843#include "confdefs.h"
5625#include <stdarg.h> 4844#include <stdarg.h>
5626#include <stdio.h> 4845#include <stdio.h>
@@ -5650,12 +4869,6 @@ struct s2 {int (*f) (double a);};
5650int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4869int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5651int argc; 4870int argc;
5652char **argv; 4871char **argv;
5653#ifdef F77_DUMMY_MAIN
5654# ifdef __cplusplus
5655 extern "C"
5656# endif
5657 int F77_DUMMY_MAIN() { return 1; }
5658#endif
5659int 4872int
5660main () 4873main ()
5661{ 4874{
@@ -5675,16 +4888,16 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
5675do 4888do
5676 CC="$ac_save_CC $ac_arg" 4889 CC="$ac_save_CC $ac_arg"
5677 rm -f conftest.$ac_objext 4890 rm -f conftest.$ac_objext
5678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4891if { (eval echo "$as_me:4891: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5 4892 (eval $ac_compile) 2>&5
5680 ac_status=$? 4893 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4894 echo "$as_me:4894: \$? = $ac_status" >&5
5682 (exit $ac_status); } && 4895 (exit $ac_status); } &&
5683 { ac_try='test -s conftest.$ac_objext' 4896 { ac_try='test -s conftest.$ac_objext'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4897 { (eval echo "$as_me:4897: \"$ac_try\"") >&5
5685 (eval $ac_try) 2>&5 4898 (eval $ac_try) 2>&5
5686 ac_status=$? 4899 ac_status=$?
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4900 echo "$as_me:4900: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then 4901 (exit $ac_status); }; }; then
5689 ac_cv_prog_cc_stdc=$ac_arg 4902 ac_cv_prog_cc_stdc=$ac_arg
5690break 4903break
@@ -5701,49 +4914,38 @@ fi
5701 4914
5702case "x$ac_cv_prog_cc_stdc" in 4915case "x$ac_cv_prog_cc_stdc" in
5703 x|xno) 4916 x|xno)
5704 echo "$as_me:$LINENO: result: none needed" >&5 4917 echo "$as_me:4917: result: none needed" >&5
5705echo "${ECHO_T}none needed" >&6 ;; 4918echo "${ECHO_T}none needed" >&6 ;;
5706 *) 4919 *)
5707 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4920 echo "$as_me:4920: result: $ac_cv_prog_cc_stdc" >&5
5708echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4921echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5709 CC="$CC $ac_cv_prog_cc_stdc" ;; 4922 CC="$CC $ac_cv_prog_cc_stdc" ;;
5710esac 4923esac
5711 4924
5712echo "$as_me:$LINENO: checking for function prototypes" >&5 4925echo "$as_me:4925: checking for function prototypes" >&5
5713echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4926echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
5714if test "$ac_cv_prog_cc_stdc" != no; then 4927if test "$ac_cv_prog_cc_stdc" != no; then
5715 echo "$as_me:$LINENO: result: yes" >&5 4928 echo "$as_me:4928: result: yes" >&5
5716echo "${ECHO_T}yes" >&6 4929echo "${ECHO_T}yes" >&6
5717 4930
5718cat >>confdefs.h <<\_ACEOF 4931cat >>confdefs.h <<\EOF
5719#define PROTOTYPES 1 4932#define PROTOTYPES 1
5720_ACEOF 4933EOF
5721
5722
5723cat >>confdefs.h <<\_ACEOF
5724#define __PROTOTYPES 1
5725_ACEOF
5726 4934
5727else 4935else
5728 echo "$as_me:$LINENO: result: no" >&5 4936 echo "$as_me:4936: result: no" >&5
5729echo "${ECHO_T}no" >&6 4937echo "${ECHO_T}no" >&6
5730fi 4938fi
5731 4939
5732echo "$as_me:$LINENO: checking for working volatile" >&5 4940echo "$as_me:4940: checking for working volatile" >&5
5733echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 4941echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
5734if test "${ac_cv_c_volatile+set}" = set; then 4942if test "${ac_cv_c_volatile+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6 4943 echo $ECHO_N "(cached) $ECHO_C" >&6
5736else 4944else
5737 cat >conftest.$ac_ext <<_ACEOF 4945 cat >conftest.$ac_ext <<_ACEOF
5738#line $LINENO "configure" 4946#line 4946 "configure"
5739#include "confdefs.h" 4947#include "confdefs.h"
5740 4948
5741#ifdef F77_DUMMY_MAIN
5742# ifdef __cplusplus
5743 extern "C"
5744# endif
5745 int F77_DUMMY_MAIN() { return 1; }
5746#endif
5747int 4949int
5748main () 4950main ()
5749{ 4951{
@@ -5755,16 +4957,16 @@ int * volatile y;
5755} 4957}
5756_ACEOF 4958_ACEOF
5757rm -f conftest.$ac_objext 4959rm -f conftest.$ac_objext
5758if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4960if { (eval echo "$as_me:4960: \"$ac_compile\"") >&5
5759 (eval $ac_compile) 2>&5 4961 (eval $ac_compile) 2>&5
5760 ac_status=$? 4962 ac_status=$?
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4963 echo "$as_me:4963: \$? = $ac_status" >&5
5762 (exit $ac_status); } && 4964 (exit $ac_status); } &&
5763 { ac_try='test -s conftest.$ac_objext' 4965 { ac_try='test -s conftest.$ac_objext'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4966 { (eval echo "$as_me:4966: \"$ac_try\"") >&5
5765 (eval $ac_try) 2>&5 4967 (eval $ac_try) 2>&5
5766 ac_status=$? 4968 ac_status=$?
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4969 echo "$as_me:4969: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then 4970 (exit $ac_status); }; }; then
5769 ac_cv_c_volatile=yes 4971 ac_cv_c_volatile=yes
5770else 4972else
@@ -5774,31 +4976,25 @@ ac_cv_c_volatile=no
5774fi 4976fi
5775rm -f conftest.$ac_objext conftest.$ac_ext 4977rm -f conftest.$ac_objext conftest.$ac_ext
5776fi 4978fi
5777echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 4979echo "$as_me:4979: result: $ac_cv_c_volatile" >&5
5778echo "${ECHO_T}$ac_cv_c_volatile" >&6 4980echo "${ECHO_T}$ac_cv_c_volatile" >&6
5779if test $ac_cv_c_volatile = no; then 4981if test $ac_cv_c_volatile = no; then
5780 4982
5781cat >>confdefs.h <<\_ACEOF 4983cat >>confdefs.h <<\EOF
5782#define volatile 4984#define volatile
5783_ACEOF 4985EOF
5784 4986
5785fi 4987fi
5786 4988
5787echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4989echo "$as_me:4989: checking for an ANSI C-conforming const" >&5
5788echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4990echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5789if test "${ac_cv_c_const+set}" = set; then 4991if test "${ac_cv_c_const+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6 4992 echo $ECHO_N "(cached) $ECHO_C" >&6
5791else 4993else
5792 cat >conftest.$ac_ext <<_ACEOF 4994 cat >conftest.$ac_ext <<_ACEOF
5793#line $LINENO "configure" 4995#line 4995 "configure"
5794#include "confdefs.h" 4996#include "confdefs.h"
5795 4997
5796#ifdef F77_DUMMY_MAIN
5797# ifdef __cplusplus
5798 extern "C"
5799# endif
5800 int F77_DUMMY_MAIN() { return 1; }
5801#endif
5802int 4998int
5803main () 4999main ()
5804{ 5000{
@@ -5854,16 +5050,16 @@ main ()
5854} 5050}
5855_ACEOF 5051_ACEOF
5856rm -f conftest.$ac_objext 5052rm -f conftest.$ac_objext
5857if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5053if { (eval echo "$as_me:5053: \"$ac_compile\"") >&5
5858 (eval $ac_compile) 2>&5 5054 (eval $ac_compile) 2>&5
5859 ac_status=$? 5055 ac_status=$?
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5056 echo "$as_me:5056: \$? = $ac_status" >&5
5861 (exit $ac_status); } && 5057 (exit $ac_status); } &&
5862 { ac_try='test -s conftest.$ac_objext' 5058 { ac_try='test -s conftest.$ac_objext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5059 { (eval echo "$as_me:5059: \"$ac_try\"") >&5
5864 (eval $ac_try) 2>&5 5060 (eval $ac_try) 2>&5
5865 ac_status=$? 5061 ac_status=$?
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5062 echo "$as_me:5062: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then 5063 (exit $ac_status); }; }; then
5868 ac_cv_c_const=yes 5064 ac_cv_c_const=yes
5869else 5065else
@@ -5873,31 +5069,25 @@ ac_cv_c_const=no
5873fi 5069fi
5874rm -f conftest.$ac_objext conftest.$ac_ext 5070rm -f conftest.$ac_objext conftest.$ac_ext
5875fi 5071fi
5876echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5072echo "$as_me:5072: result: $ac_cv_c_const" >&5
5877echo "${ECHO_T}$ac_cv_c_const" >&6 5073echo "${ECHO_T}$ac_cv_c_const" >&6
5878if test $ac_cv_c_const = no; then 5074if test $ac_cv_c_const = no; then
5879 5075
5880cat >>confdefs.h <<\_ACEOF 5076cat >>confdefs.h <<\EOF
5881#define const 5077#define const
5882_ACEOF 5078EOF
5883 5079
5884fi 5080fi
5885 5081
5886echo "$as_me:$LINENO: checking for void * support" >&5 5082echo "$as_me:5082: checking for void * support" >&5
5887echo $ECHO_N "checking for void * support... $ECHO_C" >&6 5083echo $ECHO_N "checking for void * support... $ECHO_C" >&6
5888if test "${emacs_cv_void_star+set}" = set; then 5084if test "${emacs_cv_void_star+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6 5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5890else 5086else
5891 cat >conftest.$ac_ext <<_ACEOF 5087 cat >conftest.$ac_ext <<_ACEOF
5892#line $LINENO "configure" 5088#line 5088 "configure"
5893#include "confdefs.h" 5089#include "confdefs.h"
5894 5090
5895#ifdef F77_DUMMY_MAIN
5896# ifdef __cplusplus
5897 extern "C"
5898# endif
5899 int F77_DUMMY_MAIN() { return 1; }
5900#endif
5901int 5091int
5902main () 5092main ()
5903{ 5093{
@@ -5907,16 +5097,16 @@ void * foo;
5907} 5097}
5908_ACEOF 5098_ACEOF
5909rm -f conftest.$ac_objext 5099rm -f conftest.$ac_objext
5910if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5100if { (eval echo "$as_me:5100: \"$ac_compile\"") >&5
5911 (eval $ac_compile) 2>&5 5101 (eval $ac_compile) 2>&5
5912 ac_status=$? 5102 ac_status=$?
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5103 echo "$as_me:5103: \$? = $ac_status" >&5
5914 (exit $ac_status); } && 5104 (exit $ac_status); } &&
5915 { ac_try='test -s conftest.$ac_objext' 5105 { ac_try='test -s conftest.$ac_objext'
5916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5106 { (eval echo "$as_me:5106: \"$ac_try\"") >&5
5917 (eval $ac_try) 2>&5 5107 (eval $ac_try) 2>&5
5918 ac_status=$? 5108 ac_status=$?
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5109 echo "$as_me:5109: \$? = $ac_status" >&5
5920 (exit $ac_status); }; }; then 5110 (exit $ac_status); }; }; then
5921 emacs_cv_void_star=yes 5111 emacs_cv_void_star=yes
5922else 5112else
@@ -5926,31 +5116,30 @@ emacs_cv_void_star=no
5926fi 5116fi
5927rm -f conftest.$ac_objext conftest.$ac_ext 5117rm -f conftest.$ac_objext conftest.$ac_ext
5928fi 5118fi
5929echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 5119echo "$as_me:5119: result: $emacs_cv_void_star" >&5
5930echo "${ECHO_T}$emacs_cv_void_star" >&6 5120echo "${ECHO_T}$emacs_cv_void_star" >&6
5931if test $emacs_cv_void_star = yes; then 5121if test $emacs_cv_void_star = yes; then
5932 cat >>confdefs.h <<\_ACEOF 5122 cat >>confdefs.h <<\EOF
5933#define POINTER_TYPE void 5123#define POINTER_TYPE void
5934_ACEOF 5124EOF
5935 5125
5936else 5126else
5937 cat >>confdefs.h <<\_ACEOF 5127 cat >>confdefs.h <<\EOF
5938#define POINTER_TYPE char 5128#define POINTER_TYPE char
5939_ACEOF 5129EOF
5940 5130
5941fi 5131fi
5942 5132
5943 5133echo "$as_me:5133: checking whether ${MAKE-make} sets \${MAKE}" >&5
5944echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
5945echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5134echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5946set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5135set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5947if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 5136if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6 5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5949else 5138else
5950 cat >conftest.make <<\_ACEOF 5139 cat >conftest.make <<\EOF
5951all: 5140all:
5952 @echo 'ac_maketemp="${MAKE}"' 5141 @echo 'ac_maketemp="${MAKE}"'
5953_ACEOF 5142EOF
5954# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5143# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5955eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 5144eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5956if test -n "$ac_maketemp"; then 5145if test -n "$ac_maketemp"; then
@@ -5961,17 +5150,16 @@ fi
5961rm -f conftest.make 5150rm -f conftest.make
5962fi 5151fi
5963if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5152if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5964 echo "$as_me:$LINENO: result: yes" >&5 5153 echo "$as_me:5153: result: yes" >&5
5965echo "${ECHO_T}yes" >&6 5154echo "${ECHO_T}yes" >&6
5966 SET_MAKE= 5155 SET_MAKE=
5967else 5156else
5968 echo "$as_me:$LINENO: result: no" >&5 5157 echo "$as_me:5157: result: no" >&5
5969echo "${ECHO_T}no" >&6 5158echo "${ECHO_T}no" >&6
5970 SET_MAKE="MAKE=${MAKE-make}" 5159 SET_MAKE="MAKE=${MAKE-make}"
5971fi 5160fi
5972 5161
5973 5162echo "$as_me:5162: checking for long file names" >&5
5974echo "$as_me:$LINENO: checking for long file names" >&5
5975echo $ECHO_N "checking for long file names... $ECHO_C" >&6 5163echo $ECHO_N "checking for long file names... $ECHO_C" >&6
5976if test "${ac_cv_sys_long_file_names+set}" = set; then 5164if test "${ac_cv_sys_long_file_names+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6 5165 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6010,23 +5198,21 @@ for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
6010 rm -rf $ac_xdir 2>/dev/null 5198 rm -rf $ac_xdir 2>/dev/null
6011done 5199done
6012fi 5200fi
6013echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 5201echo "$as_me:5201: result: $ac_cv_sys_long_file_names" >&5
6014echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 5202echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
6015if test $ac_cv_sys_long_file_names = yes; then 5203if test $ac_cv_sys_long_file_names = yes; then
6016 5204
6017cat >>confdefs.h <<\_ACEOF 5205cat >>confdefs.h <<\EOF
6018#define HAVE_LONG_FILE_NAMES 1 5206#define HAVE_LONG_FILE_NAMES 1
6019_ACEOF 5207EOF
6020 5208
6021fi 5209fi
6022 5210
6023
6024#### Choose a window system. 5211#### Choose a window system.
6025 5212
6026echo "$as_me:$LINENO: checking for X" >&5 5213echo "$as_me:5213: checking for X" >&5
6027echo $ECHO_N "checking for X... $ECHO_C" >&6 5214echo $ECHO_N "checking for X... $ECHO_C" >&6
6028 5215
6029
6030# Check whether --with-x or --without-x was given. 5216# Check whether --with-x or --without-x was given.
6031if test "${with_x+set}" = set; then 5217if test "${with_x+set}" = set; then
6032 withval="$with_x" 5218 withval="$with_x"
@@ -6050,10 +5236,10 @@ rm -fr conftest.dir
6050if mkdir conftest.dir; then 5236if mkdir conftest.dir; then
6051 cd conftest.dir 5237 cd conftest.dir
6052 # Make sure to not put "make" in the Imakefile rules, since we grep it out. 5238 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6053 cat >Imakefile <<'_ACEOF' 5239 cat >Imakefile <<'EOF'
6054acfindx: 5240acfindx:
6055 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' 5241 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6056_ACEOF 5242EOF
6057 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then 5243 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
6058 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5244 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6059 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` 5245 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
@@ -6121,17 +5307,17 @@ if test "$ac_x_includes" = no; then
6121 # Guess where to find include files, by looking for Intrinsic.h. 5307 # Guess where to find include files, by looking for Intrinsic.h.
6122 # First, try using that file with no special directory specified. 5308 # First, try using that file with no special directory specified.
6123 cat >conftest.$ac_ext <<_ACEOF 5309 cat >conftest.$ac_ext <<_ACEOF
6124#line $LINENO "configure" 5310#line 5310 "configure"
6125#include "confdefs.h" 5311#include "confdefs.h"
6126#include <X11/Intrinsic.h> 5312#include <X11/Intrinsic.h>
6127_ACEOF 5313_ACEOF
6128if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5314if { (eval echo "$as_me:5314: \"$ac_cpp conftest.$ac_ext\"") >&5
6129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6130 ac_status=$? 5316 ac_status=$?
6131 egrep -v '^ *\+' conftest.er1 >conftest.err 5317 egrep -v '^ *\+' conftest.er1 >conftest.err
6132 rm -f conftest.er1 5318 rm -f conftest.er1
6133 cat conftest.err >&5 5319 cat conftest.err >&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5320 echo "$as_me:5320: \$? = $ac_status" >&5
6135 (exit $ac_status); } >/dev/null; then 5321 (exit $ac_status); } >/dev/null; then
6136 if test -s conftest.err; then 5322 if test -s conftest.err; then
6137 ac_cpp_err=$ac_c_preproc_warn_flag 5323 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -6164,15 +5350,9 @@ if test "$ac_x_libraries" = no; then
6164 ac_save_LIBS=$LIBS 5350 ac_save_LIBS=$LIBS
6165 LIBS="-lXt $LIBS" 5351 LIBS="-lXt $LIBS"
6166 cat >conftest.$ac_ext <<_ACEOF 5352 cat >conftest.$ac_ext <<_ACEOF
6167#line $LINENO "configure" 5353#line 5353 "configure"
6168#include "confdefs.h" 5354#include "confdefs.h"
6169#include <X11/Intrinsic.h> 5355#include <X11/Intrinsic.h>
6170#ifdef F77_DUMMY_MAIN
6171# ifdef __cplusplus
6172 extern "C"
6173# endif
6174 int F77_DUMMY_MAIN() { return 1; }
6175#endif
6176int 5356int
6177main () 5357main ()
6178{ 5358{
@@ -6182,16 +5362,16 @@ XtMalloc (0)
6182} 5362}
6183_ACEOF 5363_ACEOF
6184rm -f conftest.$ac_objext conftest$ac_exeext 5364rm -f conftest.$ac_objext conftest$ac_exeext
6185if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5365if { (eval echo "$as_me:5365: \"$ac_link\"") >&5
6186 (eval $ac_link) 2>&5 5366 (eval $ac_link) 2>&5
6187 ac_status=$? 5367 ac_status=$?
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5368 echo "$as_me:5368: \$? = $ac_status" >&5
6189 (exit $ac_status); } && 5369 (exit $ac_status); } &&
6190 { ac_try='test -s conftest$ac_exeext' 5370 { ac_try='test -s conftest$ac_exeext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5371 { (eval echo "$as_me:5371: \"$ac_try\"") >&5
6192 (eval $ac_try) 2>&5 5372 (eval $ac_try) 2>&5
6193 ac_status=$? 5373 ac_status=$?
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5374 echo "$as_me:5374: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then 5375 (exit $ac_status); }; }; then
6196 LIBS=$ac_save_LIBS 5376 LIBS=$ac_save_LIBS
6197# We can link X programs with no special library path. 5377# We can link X programs with no special library path.
@@ -6229,7 +5409,7 @@ fi
6229fi # $with_x != no 5409fi # $with_x != no
6230 5410
6231if test "$have_x" != yes; then 5411if test "$have_x" != yes; then
6232 echo "$as_me:$LINENO: result: $have_x" >&5 5412 echo "$as_me:5412: result: $have_x" >&5
6233echo "${ECHO_T}$have_x" >&6 5413echo "${ECHO_T}$have_x" >&6
6234 no_x=yes 5414 no_x=yes
6235else 5415else
@@ -6239,7 +5419,7 @@ else
6239 # Update the cache value to reflect the command line values. 5419 # Update the cache value to reflect the command line values.
6240 ac_cv_have_x="have_x=yes \ 5420 ac_cv_have_x="have_x=yes \
6241 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 5421 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6242 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 5422 echo "$as_me:5422: result: libraries $x_libraries, headers $x_includes" >&5
6243echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 5423echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
6244fi 5424fi
6245 5425
@@ -6337,13 +5517,13 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
6337# Assume not, until told otherwise. 5517# Assume not, until told otherwise.
6338GNU_MALLOC=yes 5518GNU_MALLOC=yes
6339doug_lea_malloc=yes 5519doug_lea_malloc=yes
6340echo "$as_me:$LINENO: checking for malloc_get_state" >&5 5520echo "$as_me:5520: checking for malloc_get_state" >&5
6341echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 5521echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
6342if test "${ac_cv_func_malloc_get_state+set}" = set; then 5522if test "${ac_cv_func_malloc_get_state+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6 5523 echo $ECHO_N "(cached) $ECHO_C" >&6
6344else 5524else
6345 cat >conftest.$ac_ext <<_ACEOF 5525 cat >conftest.$ac_ext <<_ACEOF
6346#line $LINENO "configure" 5526#line 5526 "configure"
6347#include "confdefs.h" 5527#include "confdefs.h"
6348/* System header to define __stub macros and hopefully few prototypes, 5528/* System header to define __stub macros and hopefully few prototypes,
6349 which can conflict with char malloc_get_state (); below. */ 5529 which can conflict with char malloc_get_state (); below. */
@@ -6357,12 +5537,6 @@ extern "C"
6357char malloc_get_state (); 5537char malloc_get_state ();
6358char (*f) (); 5538char (*f) ();
6359 5539
6360#ifdef F77_DUMMY_MAIN
6361# ifdef __cplusplus
6362 extern "C"
6363# endif
6364 int F77_DUMMY_MAIN() { return 1; }
6365#endif
6366int 5540int
6367main () 5541main ()
6368{ 5542{
@@ -6380,16 +5554,16 @@ f = malloc_get_state;
6380} 5554}
6381_ACEOF 5555_ACEOF
6382rm -f conftest.$ac_objext conftest$ac_exeext 5556rm -f conftest.$ac_objext conftest$ac_exeext
6383if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5557if { (eval echo "$as_me:5557: \"$ac_link\"") >&5
6384 (eval $ac_link) 2>&5 5558 (eval $ac_link) 2>&5
6385 ac_status=$? 5559 ac_status=$?
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5560 echo "$as_me:5560: \$? = $ac_status" >&5
6387 (exit $ac_status); } && 5561 (exit $ac_status); } &&
6388 { ac_try='test -s conftest$ac_exeext' 5562 { ac_try='test -s conftest$ac_exeext'
6389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5563 { (eval echo "$as_me:5563: \"$ac_try\"") >&5
6390 (eval $ac_try) 2>&5 5564 (eval $ac_try) 2>&5
6391 ac_status=$? 5565 ac_status=$?
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5566 echo "$as_me:5566: \$? = $ac_status" >&5
6393 (exit $ac_status); }; }; then 5567 (exit $ac_status); }; }; then
6394 ac_cv_func_malloc_get_state=yes 5568 ac_cv_func_malloc_get_state=yes
6395else 5569else
@@ -6399,7 +5573,7 @@ ac_cv_func_malloc_get_state=no
6399fi 5573fi
6400rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5574rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6401fi 5575fi
6402echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 5576echo "$as_me:5576: result: $ac_cv_func_malloc_get_state" >&5
6403echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 5577echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
6404if test $ac_cv_func_malloc_get_state = yes; then 5578if test $ac_cv_func_malloc_get_state = yes; then
6405 : 5579 :
@@ -6407,13 +5581,13 @@ else
6407 doug_lea_malloc=no 5581 doug_lea_malloc=no
6408fi 5582fi
6409 5583
6410echo "$as_me:$LINENO: checking for malloc_set_state" >&5 5584echo "$as_me:5584: checking for malloc_set_state" >&5
6411echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 5585echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
6412if test "${ac_cv_func_malloc_set_state+set}" = set; then 5586if test "${ac_cv_func_malloc_set_state+set}" = set; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6 5587 echo $ECHO_N "(cached) $ECHO_C" >&6
6414else 5588else
6415 cat >conftest.$ac_ext <<_ACEOF 5589 cat >conftest.$ac_ext <<_ACEOF
6416#line $LINENO "configure" 5590#line 5590 "configure"
6417#include "confdefs.h" 5591#include "confdefs.h"
6418/* System header to define __stub macros and hopefully few prototypes, 5592/* System header to define __stub macros and hopefully few prototypes,
6419 which can conflict with char malloc_set_state (); below. */ 5593 which can conflict with char malloc_set_state (); below. */
@@ -6427,12 +5601,6 @@ extern "C"
6427char malloc_set_state (); 5601char malloc_set_state ();
6428char (*f) (); 5602char (*f) ();
6429 5603
6430#ifdef F77_DUMMY_MAIN
6431# ifdef __cplusplus
6432 extern "C"
6433# endif
6434 int F77_DUMMY_MAIN() { return 1; }
6435#endif
6436int 5604int
6437main () 5605main ()
6438{ 5606{
@@ -6450,16 +5618,16 @@ f = malloc_set_state;
6450} 5618}
6451_ACEOF 5619_ACEOF
6452rm -f conftest.$ac_objext conftest$ac_exeext 5620rm -f conftest.$ac_objext conftest$ac_exeext
6453if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5621if { (eval echo "$as_me:5621: \"$ac_link\"") >&5
6454 (eval $ac_link) 2>&5 5622 (eval $ac_link) 2>&5
6455 ac_status=$? 5623 ac_status=$?
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5624 echo "$as_me:5624: \$? = $ac_status" >&5
6457 (exit $ac_status); } && 5625 (exit $ac_status); } &&
6458 { ac_try='test -s conftest$ac_exeext' 5626 { ac_try='test -s conftest$ac_exeext'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5627 { (eval echo "$as_me:5627: \"$ac_try\"") >&5
6460 (eval $ac_try) 2>&5 5628 (eval $ac_try) 2>&5
6461 ac_status=$? 5629 ac_status=$?
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5630 echo "$as_me:5630: \$? = $ac_status" >&5
6463 (exit $ac_status); }; }; then 5631 (exit $ac_status); }; }; then
6464 ac_cv_func_malloc_set_state=yes 5632 ac_cv_func_malloc_set_state=yes
6465else 5633else
@@ -6469,7 +5637,7 @@ ac_cv_func_malloc_set_state=no
6469fi 5637fi
6470rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5638rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6471fi 5639fi
6472echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 5640echo "$as_me:5640: result: $ac_cv_func_malloc_set_state" >&5
6473echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 5641echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
6474if test $ac_cv_func_malloc_set_state = yes; then 5642if test $ac_cv_func_malloc_set_state = yes; then
6475 : 5643 :
@@ -6477,21 +5645,15 @@ else
6477 doug_lea_malloc=no 5645 doug_lea_malloc=no
6478fi 5646fi
6479 5647
6480echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 5648echo "$as_me:5648: checking whether __after_morecore_hook exists" >&5
6481echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 5649echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
6482if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 5650if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
6483 echo $ECHO_N "(cached) $ECHO_C" >&6 5651 echo $ECHO_N "(cached) $ECHO_C" >&6
6484else 5652else
6485 cat >conftest.$ac_ext <<_ACEOF 5653 cat >conftest.$ac_ext <<_ACEOF
6486#line $LINENO "configure" 5654#line 5654 "configure"
6487#include "confdefs.h" 5655#include "confdefs.h"
6488extern void (* __after_morecore_hook)(); 5656extern void (* __after_morecore_hook)();
6489#ifdef F77_DUMMY_MAIN
6490# ifdef __cplusplus
6491 extern "C"
6492# endif
6493 int F77_DUMMY_MAIN() { return 1; }
6494#endif
6495int 5657int
6496main () 5658main ()
6497{ 5659{
@@ -6501,16 +5663,16 @@ __after_morecore_hook = 0
6501} 5663}
6502_ACEOF 5664_ACEOF
6503rm -f conftest.$ac_objext conftest$ac_exeext 5665rm -f conftest.$ac_objext conftest$ac_exeext
6504if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5666if { (eval echo "$as_me:5666: \"$ac_link\"") >&5
6505 (eval $ac_link) 2>&5 5667 (eval $ac_link) 2>&5
6506 ac_status=$? 5668 ac_status=$?
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5669 echo "$as_me:5669: \$? = $ac_status" >&5
6508 (exit $ac_status); } && 5670 (exit $ac_status); } &&
6509 { ac_try='test -s conftest$ac_exeext' 5671 { ac_try='test -s conftest$ac_exeext'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5672 { (eval echo "$as_me:5672: \"$ac_try\"") >&5
6511 (eval $ac_try) 2>&5 5673 (eval $ac_try) 2>&5
6512 ac_status=$? 5674 ac_status=$?
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5675 echo "$as_me:5675: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }; then 5676 (exit $ac_status); }; }; then
6515 emacs_cv_var___after_morecore_hook=yes 5677 emacs_cv_var___after_morecore_hook=yes
6516else 5678else
@@ -6520,7 +5682,7 @@ emacs_cv_var___after_morecore_hook=no
6520fi 5682fi
6521rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5683rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6522fi 5684fi
6523echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 5685echo "$as_me:5685: result: $emacs_cv_var___after_morecore_hook" >&5
6524echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 5686echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
6525if test $emacs_cv_var___after_morecore_hook = no; then 5687if test $emacs_cv_var___after_morecore_hook = no; then
6526 doug_lea_malloc=no 5688 doug_lea_malloc=no
@@ -6536,9 +5698,9 @@ if test "$doug_lea_malloc" = "yes" ; then
6536 (Using Doug Lea's new malloc from the GNU C Library.)" 5698 (Using Doug Lea's new malloc from the GNU C Library.)"
6537 fi 5699 fi
6538 5700
6539cat >>confdefs.h <<\_ACEOF 5701cat >>confdefs.h <<\EOF
6540#define DOUG_LEA_MALLOC 1 5702#define DOUG_LEA_MALLOC 1
6541_ACEOF 5703EOF
6542 5704
6543fi 5705fi
6544 5706
@@ -6546,67 +5708,73 @@ if test x"${REL_ALLOC}" = x; then
6546 REL_ALLOC=${GNU_MALLOC} 5708 REL_ALLOC=${GNU_MALLOC}
6547fi 5709fi
6548 5710
5711# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6549 5712
6550 5713for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6551 5714 inttypes.h stdint.h unistd.h
6552for ac_header in stdlib.h unistd.h
6553do 5715do
6554as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5716as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6555if eval "test \"\${$as_ac_Header+set}\" = set"; then 5717echo "$as_me:5717: checking for $ac_header" >&5
6556 echo "$as_me:$LINENO: checking for $ac_header" >&5
6557echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5718echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6558if eval "test \"\${$as_ac_Header+set}\" = set"; then 5719if eval "test \"\${$as_ac_Header+set}\" = set"; then
6559 echo $ECHO_N "(cached) $ECHO_C" >&6 5720 echo $ECHO_N "(cached) $ECHO_C" >&6
6560fi
6561echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6562echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6563else 5721else
6564 # Is the header compilable? 5722 cat >conftest.$ac_ext <<_ACEOF
6565echo "$as_me:$LINENO: checking $ac_header usability" >&5 5723#line 5723 "configure"
6566echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6567cat >conftest.$ac_ext <<_ACEOF
6568#line $LINENO "configure"
6569#include "confdefs.h" 5724#include "confdefs.h"
6570$ac_includes_default 5725$ac_includes_default
6571#include <$ac_header> 5726#include <$ac_header>
6572_ACEOF 5727_ACEOF
6573rm -f conftest.$ac_objext 5728rm -f conftest.$ac_objext
6574if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5729if { (eval echo "$as_me:5729: \"$ac_compile\"") >&5
6575 (eval $ac_compile) 2>&5 5730 (eval $ac_compile) 2>&5
6576 ac_status=$? 5731 ac_status=$?
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5732 echo "$as_me:5732: \$? = $ac_status" >&5
6578 (exit $ac_status); } && 5733 (exit $ac_status); } &&
6579 { ac_try='test -s conftest.$ac_objext' 5734 { ac_try='test -s conftest.$ac_objext'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5735 { (eval echo "$as_me:5735: \"$ac_try\"") >&5
6581 (eval $ac_try) 2>&5 5736 (eval $ac_try) 2>&5
6582 ac_status=$? 5737 ac_status=$?
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5738 echo "$as_me:5738: \$? = $ac_status" >&5
6584 (exit $ac_status); }; }; then 5739 (exit $ac_status); }; }; then
6585 ac_header_compiler=yes 5740 eval "$as_ac_Header=yes"
6586else 5741else
6587 echo "$as_me: failed program was:" >&5 5742 echo "$as_me: failed program was:" >&5
6588cat conftest.$ac_ext >&5 5743cat conftest.$ac_ext >&5
6589ac_header_compiler=no 5744eval "$as_ac_Header=no"
6590fi 5745fi
6591rm -f conftest.$ac_objext conftest.$ac_ext 5746rm -f conftest.$ac_objext conftest.$ac_ext
6592echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5747fi
6593echo "${ECHO_T}$ac_header_compiler" >&6 5748echo "$as_me:5748: result: `eval echo '${'$as_ac_Header'}'`" >&5
5749echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5750if test `eval echo '${'$as_ac_Header'}'` = yes; then
5751 cat >>confdefs.h <<EOF
5752#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5753EOF
6594 5754
6595# Is the header present? 5755fi
6596echo "$as_me:$LINENO: checking $ac_header presence" >&5 5756done
6597echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5757
6598cat >conftest.$ac_ext <<_ACEOF 5758for ac_header in stdlib.h unistd.h
6599#line $LINENO "configure" 5759do
5760as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5761echo "$as_me:5761: checking for $ac_header" >&5
5762echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5763if eval "test \"\${$as_ac_Header+set}\" = set"; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5765else
5766 cat >conftest.$ac_ext <<_ACEOF
5767#line 5767 "configure"
6600#include "confdefs.h" 5768#include "confdefs.h"
6601#include <$ac_header> 5769#include <$ac_header>
6602_ACEOF 5770_ACEOF
6603if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5771if { (eval echo "$as_me:5771: \"$ac_cpp conftest.$ac_ext\"") >&5
6604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6605 ac_status=$? 5773 ac_status=$?
6606 egrep -v '^ *\+' conftest.er1 >conftest.err 5774 egrep -v '^ *\+' conftest.er1 >conftest.err
6607 rm -f conftest.er1 5775 rm -f conftest.er1
6608 cat conftest.err >&5 5776 cat conftest.err >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5777 echo "$as_me:5777: \$? = $ac_status" >&5
6610 (exit $ac_status); } >/dev/null; then 5778 (exit $ac_status); } >/dev/null; then
6611 if test -s conftest.err; then 5779 if test -s conftest.err; then
6612 ac_cpp_err=$ac_c_preproc_warn_flag 5780 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -6617,62 +5785,34 @@ else
6617 ac_cpp_err=yes 5785 ac_cpp_err=yes
6618fi 5786fi
6619if test -z "$ac_cpp_err"; then 5787if test -z "$ac_cpp_err"; then
6620 ac_header_preproc=yes 5788 eval "$as_ac_Header=yes"
6621else 5789else
6622 echo "$as_me: failed program was:" >&5 5790 echo "$as_me: failed program was:" >&5
6623 cat conftest.$ac_ext >&5 5791 cat conftest.$ac_ext >&5
6624 ac_header_preproc=no 5792 eval "$as_ac_Header=no"
6625fi 5793fi
6626rm -f conftest.err conftest.$ac_ext 5794rm -f conftest.err conftest.$ac_ext
6627echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6628echo "${ECHO_T}$ac_header_preproc" >&6
6629
6630# So? What about this header?
6631case $ac_header_compiler:$ac_header_preproc in
6632 yes:no )
6633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6634echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6636echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6637 no:yes )
6638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6639echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6641echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6643echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6644esac
6645echo "$as_me:$LINENO: checking for $ac_header" >&5
6646echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6647if eval "test \"\${$as_ac_Header+set}\" = set"; then
6648 echo $ECHO_N "(cached) $ECHO_C" >&6
6649else
6650 eval "$as_ac_Header=$ac_header_preproc"
6651fi 5795fi
6652echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5796echo "$as_me:5796: result: `eval echo '${'$as_ac_Header'}'`" >&5
6653echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5797echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6654
6655fi
6656if test `eval echo '${'$as_ac_Header'}'` = yes; then 5798if test `eval echo '${'$as_ac_Header'}'` = yes; then
6657 cat >>confdefs.h <<_ACEOF 5799 cat >>confdefs.h <<EOF
6658#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5800#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6659_ACEOF 5801EOF
6660 5802
6661fi 5803fi
6662
6663done 5804done
6664 5805
6665
6666for ac_func in getpagesize 5806for ac_func in getpagesize
6667do 5807do
6668as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5808as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6669echo "$as_me:$LINENO: checking for $ac_func" >&5 5809echo "$as_me:5809: checking for $ac_func" >&5
6670echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5810echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6671if eval "test \"\${$as_ac_var+set}\" = set"; then 5811if eval "test \"\${$as_ac_var+set}\" = set"; then
6672 echo $ECHO_N "(cached) $ECHO_C" >&6 5812 echo $ECHO_N "(cached) $ECHO_C" >&6
6673else 5813else
6674 cat >conftest.$ac_ext <<_ACEOF 5814 cat >conftest.$ac_ext <<_ACEOF
6675#line $LINENO "configure" 5815#line 5815 "configure"
6676#include "confdefs.h" 5816#include "confdefs.h"
6677/* System header to define __stub macros and hopefully few prototypes, 5817/* System header to define __stub macros and hopefully few prototypes,
6678 which can conflict with char $ac_func (); below. */ 5818 which can conflict with char $ac_func (); below. */
@@ -6686,12 +5826,6 @@ extern "C"
6686char $ac_func (); 5826char $ac_func ();
6687char (*f) (); 5827char (*f) ();
6688 5828
6689#ifdef F77_DUMMY_MAIN
6690# ifdef __cplusplus
6691 extern "C"
6692# endif
6693 int F77_DUMMY_MAIN() { return 1; }
6694#endif
6695int 5829int
6696main () 5830main ()
6697{ 5831{
@@ -6709,16 +5843,16 @@ f = $ac_func;
6709} 5843}
6710_ACEOF 5844_ACEOF
6711rm -f conftest.$ac_objext conftest$ac_exeext 5845rm -f conftest.$ac_objext conftest$ac_exeext
6712if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5846if { (eval echo "$as_me:5846: \"$ac_link\"") >&5
6713 (eval $ac_link) 2>&5 5847 (eval $ac_link) 2>&5
6714 ac_status=$? 5848 ac_status=$?
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5849 echo "$as_me:5849: \$? = $ac_status" >&5
6716 (exit $ac_status); } && 5850 (exit $ac_status); } &&
6717 { ac_try='test -s conftest$ac_exeext' 5851 { ac_try='test -s conftest$ac_exeext'
6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5852 { (eval echo "$as_me:5852: \"$ac_try\"") >&5
6719 (eval $ac_try) 2>&5 5853 (eval $ac_try) 2>&5
6720 ac_status=$? 5854 ac_status=$?
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5855 echo "$as_me:5855: \$? = $ac_status" >&5
6722 (exit $ac_status); }; }; then 5856 (exit $ac_status); }; }; then
6723 eval "$as_ac_var=yes" 5857 eval "$as_ac_var=yes"
6724else 5858else
@@ -6728,17 +5862,17 @@ eval "$as_ac_var=no"
6728fi 5862fi
6729rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5863rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6730fi 5864fi
6731echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5865echo "$as_me:5865: result: `eval echo '${'$as_ac_var'}'`" >&5
6732echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5866echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6733if test `eval echo '${'$as_ac_var'}'` = yes; then 5867if test `eval echo '${'$as_ac_var'}'` = yes; then
6734 cat >>confdefs.h <<_ACEOF 5868 cat >>confdefs.h <<EOF
6735#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5869#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6736_ACEOF 5870EOF
6737 5871
6738fi 5872fi
6739done 5873done
6740 5874
6741echo "$as_me:$LINENO: checking for working mmap" >&5 5875echo "$as_me:5875: checking for working mmap" >&5
6742echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 5876echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6743if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 5877if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6744 echo $ECHO_N "(cached) $ECHO_C" >&6 5878 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6747,12 +5881,9 @@ else
6747 ac_cv_func_mmap_fixed_mapped=no 5881 ac_cv_func_mmap_fixed_mapped=no
6748else 5882else
6749 cat >conftest.$ac_ext <<_ACEOF 5883 cat >conftest.$ac_ext <<_ACEOF
6750#line $LINENO "configure" 5884#line 5884 "configure"
6751#include "confdefs.h" 5885#include "confdefs.h"
6752$ac_includes_default 5886$ac_includes_default
6753/* malloc might have been renamed as rpl_malloc. */
6754#undef malloc
6755
6756/* Thanks to Mike Haertel and Jim Avera for this test. 5887/* Thanks to Mike Haertel and Jim Avera for this test.
6757 Here is a matrix of mmap possibilities: 5888 Here is a matrix of mmap possibilities:
6758 mmap private not fixed 5889 mmap private not fixed
@@ -6768,7 +5899,7 @@ $ac_includes_default
6768 VM page cache was not coherent with the file system buffer cache 5899 VM page cache was not coherent with the file system buffer cache
6769 like early versions of FreeBSD and possibly contemporary NetBSD.) 5900 like early versions of FreeBSD and possibly contemporary NetBSD.)
6770 For shared mappings, we should conversely verify that changes get 5901 For shared mappings, we should conversely verify that changes get
6771 propagated back to all the places they're supposed to be. 5902 propogated back to all the places they're supposed to be.
6772 5903
6773 Grep wants private fixed already mapped. 5904 Grep wants private fixed already mapped.
6774 The main things grep needs to know about mmap are: 5905 The main things grep needs to know about mmap are:
@@ -6877,34 +6008,33 @@ main ()
6877} 6008}
6878_ACEOF 6009_ACEOF
6879rm -f conftest$ac_exeext 6010rm -f conftest$ac_exeext
6880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6011if { (eval echo "$as_me:6011: \"$ac_link\"") >&5
6881 (eval $ac_link) 2>&5 6012 (eval $ac_link) 2>&5
6882 ac_status=$? 6013 ac_status=$?
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6014 echo "$as_me:6014: \$? = $ac_status" >&5
6884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6016 { (eval echo "$as_me:6016: \"$ac_try\"") >&5
6886 (eval $ac_try) 2>&5 6017 (eval $ac_try) 2>&5
6887 ac_status=$? 6018 ac_status=$?
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6019 echo "$as_me:6019: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then 6020 (exit $ac_status); }; }; then
6890 ac_cv_func_mmap_fixed_mapped=yes 6021 ac_cv_func_mmap_fixed_mapped=yes
6891else 6022else
6892 echo "$as_me: program exited with status $ac_status" >&5 6023 echo "$as_me: program exited with status $ac_status" >&5
6893echo "$as_me: failed program was:" >&5 6024echo "$as_me: failed program was:" >&5
6894cat conftest.$ac_ext >&5 6025cat conftest.$ac_ext >&5
6895( exit $ac_status )
6896ac_cv_func_mmap_fixed_mapped=no 6026ac_cv_func_mmap_fixed_mapped=no
6897fi 6027fi
6898rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6028rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6899fi 6029fi
6900fi 6030fi
6901echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 6031echo "$as_me:6031: result: $ac_cv_func_mmap_fixed_mapped" >&5
6902echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 6032echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6903if test $ac_cv_func_mmap_fixed_mapped = yes; then 6033if test $ac_cv_func_mmap_fixed_mapped = yes; then
6904 6034
6905cat >>confdefs.h <<\_ACEOF 6035cat >>confdefs.h <<\EOF
6906#define HAVE_MMAP 1 6036#define HAVE_MMAP 1
6907_ACEOF 6037EOF
6908 6038
6909fi 6039fi
6910rm -f conftest.mmap 6040rm -f conftest.mmap
@@ -6915,8 +6045,7 @@ fi
6915 6045
6916LIBS="$libsrc_libs $LIBS" 6046LIBS="$libsrc_libs $LIBS"
6917 6047
6918 6048echo "$as_me:6048: checking for dnet_ntoa in -ldnet" >&5
6919echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6920echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 6049echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6921if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 6050if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6922 echo $ECHO_N "(cached) $ECHO_C" >&6 6051 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6924,7 +6053,7 @@ else
6924 ac_check_lib_save_LIBS=$LIBS 6053 ac_check_lib_save_LIBS=$LIBS
6925LIBS="-ldnet $LIBS" 6054LIBS="-ldnet $LIBS"
6926cat >conftest.$ac_ext <<_ACEOF 6055cat >conftest.$ac_ext <<_ACEOF
6927#line $LINENO "configure" 6056#line 6056 "configure"
6928#include "confdefs.h" 6057#include "confdefs.h"
6929 6058
6930/* Override any gcc2 internal prototype to avoid an error. */ 6059/* Override any gcc2 internal prototype to avoid an error. */
@@ -6934,12 +6063,6 @@ extern "C"
6934/* We use char because int might match the return type of a gcc2 6063/* We use char because int might match the return type of a gcc2
6935 builtin and then its argument prototype would still apply. */ 6064 builtin and then its argument prototype would still apply. */
6936char dnet_ntoa (); 6065char dnet_ntoa ();
6937#ifdef F77_DUMMY_MAIN
6938# ifdef __cplusplus
6939 extern "C"
6940# endif
6941 int F77_DUMMY_MAIN() { return 1; }
6942#endif
6943int 6066int
6944main () 6067main ()
6945{ 6068{
@@ -6949,16 +6072,16 @@ dnet_ntoa ();
6949} 6072}
6950_ACEOF 6073_ACEOF
6951rm -f conftest.$ac_objext conftest$ac_exeext 6074rm -f conftest.$ac_objext conftest$ac_exeext
6952if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6075if { (eval echo "$as_me:6075: \"$ac_link\"") >&5
6953 (eval $ac_link) 2>&5 6076 (eval $ac_link) 2>&5
6954 ac_status=$? 6077 ac_status=$?
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6078 echo "$as_me:6078: \$? = $ac_status" >&5
6956 (exit $ac_status); } && 6079 (exit $ac_status); } &&
6957 { ac_try='test -s conftest$ac_exeext' 6080 { ac_try='test -s conftest$ac_exeext'
6958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6081 { (eval echo "$as_me:6081: \"$ac_try\"") >&5
6959 (eval $ac_try) 2>&5 6082 (eval $ac_try) 2>&5
6960 ac_status=$? 6083 ac_status=$?
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6084 echo "$as_me:6084: \$? = $ac_status" >&5
6962 (exit $ac_status); }; }; then 6085 (exit $ac_status); }; }; then
6963 ac_cv_lib_dnet_dnet_ntoa=yes 6086 ac_cv_lib_dnet_dnet_ntoa=yes
6964else 6087else
@@ -6969,19 +6092,18 @@ fi
6969rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6092rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6970LIBS=$ac_check_lib_save_LIBS 6093LIBS=$ac_check_lib_save_LIBS
6971fi 6094fi
6972echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6095echo "$as_me:6095: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6973echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6096echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6974if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6097if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6975 cat >>confdefs.h <<_ACEOF 6098 cat >>confdefs.h <<EOF
6976#define HAVE_LIBDNET 1 6099#define HAVE_LIBDNET 1
6977_ACEOF 6100EOF
6978 6101
6979 LIBS="-ldnet $LIBS" 6102 LIBS="-ldnet $LIBS"
6980 6103
6981fi 6104fi
6982 6105
6983 6106echo "$as_me:6106: checking for main in -lXbsd" >&5
6984echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
6985echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 6107echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
6986if test "${ac_cv_lib_Xbsd_main+set}" = set; then 6108if test "${ac_cv_lib_Xbsd_main+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6 6109 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6989,16 +6111,9 @@ else
6989 ac_check_lib_save_LIBS=$LIBS 6111 ac_check_lib_save_LIBS=$LIBS
6990LIBS="-lXbsd $LIBS" 6112LIBS="-lXbsd $LIBS"
6991cat >conftest.$ac_ext <<_ACEOF 6113cat >conftest.$ac_ext <<_ACEOF
6992#line $LINENO "configure" 6114#line 6114 "configure"
6993#include "confdefs.h" 6115#include "confdefs.h"
6994 6116
6995
6996#ifdef F77_DUMMY_MAIN
6997# ifdef __cplusplus
6998 extern "C"
6999# endif
7000 int F77_DUMMY_MAIN() { return 1; }
7001#endif
7002int 6117int
7003main () 6118main ()
7004{ 6119{
@@ -7008,16 +6123,16 @@ main ();
7008} 6123}
7009_ACEOF 6124_ACEOF
7010rm -f conftest.$ac_objext conftest$ac_exeext 6125rm -f conftest.$ac_objext conftest$ac_exeext
7011if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6126if { (eval echo "$as_me:6126: \"$ac_link\"") >&5
7012 (eval $ac_link) 2>&5 6127 (eval $ac_link) 2>&5
7013 ac_status=$? 6128 ac_status=$?
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6129 echo "$as_me:6129: \$? = $ac_status" >&5
7015 (exit $ac_status); } && 6130 (exit $ac_status); } &&
7016 { ac_try='test -s conftest$ac_exeext' 6131 { ac_try='test -s conftest$ac_exeext'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6132 { (eval echo "$as_me:6132: \"$ac_try\"") >&5
7018 (eval $ac_try) 2>&5 6133 (eval $ac_try) 2>&5
7019 ac_status=$? 6134 ac_status=$?
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6135 echo "$as_me:6135: \$? = $ac_status" >&5
7021 (exit $ac_status); }; }; then 6136 (exit $ac_status); }; }; then
7022 ac_cv_lib_Xbsd_main=yes 6137 ac_cv_lib_Xbsd_main=yes
7023else 6138else
@@ -7028,15 +6143,13 @@ fi
7028rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6143rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7029LIBS=$ac_check_lib_save_LIBS 6144LIBS=$ac_check_lib_save_LIBS
7030fi 6145fi
7031echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 6146echo "$as_me:6146: result: $ac_cv_lib_Xbsd_main" >&5
7032echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 6147echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
7033if test $ac_cv_lib_Xbsd_main = yes; then 6148if test $ac_cv_lib_Xbsd_main = yes; then
7034 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 6149 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
7035fi 6150fi
7036 6151
7037 6152echo "$as_me:6152: checking for cma_open in -lpthreads" >&5
7038
7039echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
7040echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 6153echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
7041if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 6154if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
7042 echo $ECHO_N "(cached) $ECHO_C" >&6 6155 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7044,7 +6157,7 @@ else
7044 ac_check_lib_save_LIBS=$LIBS 6157 ac_check_lib_save_LIBS=$LIBS
7045LIBS="-lpthreads $LIBS" 6158LIBS="-lpthreads $LIBS"
7046cat >conftest.$ac_ext <<_ACEOF 6159cat >conftest.$ac_ext <<_ACEOF
7047#line $LINENO "configure" 6160#line 6160 "configure"
7048#include "confdefs.h" 6161#include "confdefs.h"
7049 6162
7050/* Override any gcc2 internal prototype to avoid an error. */ 6163/* Override any gcc2 internal prototype to avoid an error. */
@@ -7054,12 +6167,6 @@ extern "C"
7054/* We use char because int might match the return type of a gcc2 6167/* We use char because int might match the return type of a gcc2
7055 builtin and then its argument prototype would still apply. */ 6168 builtin and then its argument prototype would still apply. */
7056char cma_open (); 6169char cma_open ();
7057#ifdef F77_DUMMY_MAIN
7058# ifdef __cplusplus
7059 extern "C"
7060# endif
7061 int F77_DUMMY_MAIN() { return 1; }
7062#endif
7063int 6170int
7064main () 6171main ()
7065{ 6172{
@@ -7069,16 +6176,16 @@ cma_open ();
7069} 6176}
7070_ACEOF 6177_ACEOF
7071rm -f conftest.$ac_objext conftest$ac_exeext 6178rm -f conftest.$ac_objext conftest$ac_exeext
7072if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6179if { (eval echo "$as_me:6179: \"$ac_link\"") >&5
7073 (eval $ac_link) 2>&5 6180 (eval $ac_link) 2>&5
7074 ac_status=$? 6181 ac_status=$?
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6182 echo "$as_me:6182: \$? = $ac_status" >&5
7076 (exit $ac_status); } && 6183 (exit $ac_status); } &&
7077 { ac_try='test -s conftest$ac_exeext' 6184 { ac_try='test -s conftest$ac_exeext'
7078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6185 { (eval echo "$as_me:6185: \"$ac_try\"") >&5
7079 (eval $ac_try) 2>&5 6186 (eval $ac_try) 2>&5
7080 ac_status=$? 6187 ac_status=$?
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6188 echo "$as_me:6188: \$? = $ac_status" >&5
7082 (exit $ac_status); }; }; then 6189 (exit $ac_status); }; }; then
7083 ac_cv_lib_pthreads_cma_open=yes 6190 ac_cv_lib_pthreads_cma_open=yes
7084else 6191else
@@ -7089,19 +6196,18 @@ fi
7089rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6196rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7090LIBS=$ac_check_lib_save_LIBS 6197LIBS=$ac_check_lib_save_LIBS
7091fi 6198fi
7092echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 6199echo "$as_me:6199: result: $ac_cv_lib_pthreads_cma_open" >&5
7093echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 6200echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
7094if test $ac_cv_lib_pthreads_cma_open = yes; then 6201if test $ac_cv_lib_pthreads_cma_open = yes; then
7095 cat >>confdefs.h <<_ACEOF 6202 cat >>confdefs.h <<EOF
7096#define HAVE_LIBPTHREADS 1 6203#define HAVE_LIBPTHREADS 1
7097_ACEOF 6204EOF
7098 6205
7099 LIBS="-lpthreads $LIBS" 6206 LIBS="-lpthreads $LIBS"
7100 6207
7101fi 6208fi
7102 6209
7103 6210echo "$as_me:6210: checking for XFree86 in /usr/X386" >&5
7104echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
7105echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 6211echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
7106if test -d /usr/X386/include; then 6212if test -d /usr/X386/include; then
7107 HAVE_XFREE386=yes 6213 HAVE_XFREE386=yes
@@ -7109,7 +6215,7 @@ if test -d /usr/X386/include; then
7109else 6215else
7110 HAVE_XFREE386=no 6216 HAVE_XFREE386=no
7111fi 6217fi
7112echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 6218echo "$as_me:6218: result: $HAVE_XFREE386" >&5
7113echo "${ECHO_T}$HAVE_XFREE386" >&6 6219echo "${ECHO_T}$HAVE_XFREE386" >&6
7114 6220
7115# Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6221# Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
@@ -7134,18 +6240,12 @@ if test "${HAVE_X11}" = "yes"; then
7134 fi 6240 fi
7135 6241
7136 if test "${opsys}" = "gnu-linux"; then 6242 if test "${opsys}" = "gnu-linux"; then
7137 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 6243 echo "$as_me:6243: checking whether X on GNU/Linux needs -b to link" >&5
7138echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6244echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
7139 cat >conftest.$ac_ext <<_ACEOF 6245 cat >conftest.$ac_ext <<_ACEOF
7140#line $LINENO "configure" 6246#line 6246 "configure"
7141#include "confdefs.h" 6247#include "confdefs.h"
7142 6248
7143#ifdef F77_DUMMY_MAIN
7144# ifdef __cplusplus
7145 extern "C"
7146# endif
7147 int F77_DUMMY_MAIN() { return 1; }
7148#endif
7149int 6249int
7150main () 6250main ()
7151{ 6251{
@@ -7155,16 +6255,16 @@ XOpenDisplay ("foo");
7155} 6255}
7156_ACEOF 6256_ACEOF
7157rm -f conftest.$ac_objext conftest$ac_exeext 6257rm -f conftest.$ac_objext conftest$ac_exeext
7158if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6258if { (eval echo "$as_me:6258: \"$ac_link\"") >&5
7159 (eval $ac_link) 2>&5 6259 (eval $ac_link) 2>&5
7160 ac_status=$? 6260 ac_status=$?
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6261 echo "$as_me:6261: \$? = $ac_status" >&5
7162 (exit $ac_status); } && 6262 (exit $ac_status); } &&
7163 { ac_try='test -s conftest$ac_exeext' 6263 { ac_try='test -s conftest$ac_exeext'
7164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6264 { (eval echo "$as_me:6264: \"$ac_try\"") >&5
7165 (eval $ac_try) 2>&5 6265 (eval $ac_try) 2>&5
7166 ac_status=$? 6266 ac_status=$?
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6267 echo "$as_me:6267: \$? = $ac_status" >&5
7168 (exit $ac_status); }; }; then 6268 (exit $ac_status); }; }; then
7169 xlinux_first_failure=no 6269 xlinux_first_failure=no
7170else 6270else
@@ -7183,15 +6283,9 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7183 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6283 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
7184 LIBS="$LIBS -b i486-linuxaout" 6284 LIBS="$LIBS -b i486-linuxaout"
7185 cat >conftest.$ac_ext <<_ACEOF 6285 cat >conftest.$ac_ext <<_ACEOF
7186#line $LINENO "configure" 6286#line 6286 "configure"
7187#include "confdefs.h" 6287#include "confdefs.h"
7188 6288
7189#ifdef F77_DUMMY_MAIN
7190# ifdef __cplusplus
7191 extern "C"
7192# endif
7193 int F77_DUMMY_MAIN() { return 1; }
7194#endif
7195int 6289int
7196main () 6290main ()
7197{ 6291{
@@ -7201,16 +6295,16 @@ XOpenDisplay ("foo");
7201} 6295}
7202_ACEOF 6296_ACEOF
7203rm -f conftest.$ac_objext conftest$ac_exeext 6297rm -f conftest.$ac_objext conftest$ac_exeext
7204if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6298if { (eval echo "$as_me:6298: \"$ac_link\"") >&5
7205 (eval $ac_link) 2>&5 6299 (eval $ac_link) 2>&5
7206 ac_status=$? 6300 ac_status=$?
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6301 echo "$as_me:6301: \$? = $ac_status" >&5
7208 (exit $ac_status); } && 6302 (exit $ac_status); } &&
7209 { ac_try='test -s conftest$ac_exeext' 6303 { ac_try='test -s conftest$ac_exeext'
7210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6304 { (eval echo "$as_me:6304: \"$ac_try\"") >&5
7211 (eval $ac_try) 2>&5 6305 (eval $ac_try) 2>&5
7212 ac_status=$? 6306 ac_status=$?
7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6307 echo "$as_me:6307: \$? = $ac_status" >&5
7214 (exit $ac_status); }; }; then 6308 (exit $ac_status); }; }; then
7215 xlinux_second_failure=no 6309 xlinux_second_failure=no
7216else 6310else
@@ -7226,33 +6320,27 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7226 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6320 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
7227 CPPFLAGS="$OLD_CPPFLAGS" 6321 CPPFLAGS="$OLD_CPPFLAGS"
7228 LIBS="$OLD_LIBS" 6322 LIBS="$OLD_LIBS"
7229 echo "$as_me:$LINENO: result: no" >&5 6323 echo "$as_me:6323: result: no" >&5
7230echo "${ECHO_T}no" >&6 6324echo "${ECHO_T}no" >&6
7231 else 6325 else
7232 echo "$as_me:$LINENO: result: yes" >&5 6326 echo "$as_me:6326: result: yes" >&5
7233echo "${ECHO_T}yes" >&6 6327echo "${ECHO_T}yes" >&6
7234 fi 6328 fi
7235 else 6329 else
7236 echo "$as_me:$LINENO: result: no" >&5 6330 echo "$as_me:6330: result: no" >&5
7237echo "${ECHO_T}no" >&6 6331echo "${ECHO_T}no" >&6
7238 fi 6332 fi
7239 fi 6333 fi
7240 6334
7241 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6335 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
7242 # header files included from there. 6336 # header files included from there.
7243 echo "$as_me:$LINENO: checking for Xkb" >&5 6337 echo "$as_me:6337: checking for Xkb" >&5
7244echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6338echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
7245 cat >conftest.$ac_ext <<_ACEOF 6339 cat >conftest.$ac_ext <<_ACEOF
7246#line $LINENO "configure" 6340#line 6340 "configure"
7247#include "confdefs.h" 6341#include "confdefs.h"
7248#include <X11/Xlib.h> 6342#include <X11/Xlib.h>
7249#include <X11/XKBlib.h> 6343#include <X11/XKBlib.h>
7250#ifdef F77_DUMMY_MAIN
7251# ifdef __cplusplus
7252 extern "C"
7253# endif
7254 int F77_DUMMY_MAIN() { return 1; }
7255#endif
7256int 6344int
7257main () 6345main ()
7258{ 6346{
@@ -7262,16 +6350,16 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
7262} 6350}
7263_ACEOF 6351_ACEOF
7264rm -f conftest.$ac_objext conftest$ac_exeext 6352rm -f conftest.$ac_objext conftest$ac_exeext
7265if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6353if { (eval echo "$as_me:6353: \"$ac_link\"") >&5
7266 (eval $ac_link) 2>&5 6354 (eval $ac_link) 2>&5
7267 ac_status=$? 6355 ac_status=$?
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6356 echo "$as_me:6356: \$? = $ac_status" >&5
7269 (exit $ac_status); } && 6357 (exit $ac_status); } &&
7270 { ac_try='test -s conftest$ac_exeext' 6358 { ac_try='test -s conftest$ac_exeext'
7271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6359 { (eval echo "$as_me:6359: \"$ac_try\"") >&5
7272 (eval $ac_try) 2>&5 6360 (eval $ac_try) 2>&5
7273 ac_status=$? 6361 ac_status=$?
7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6362 echo "$as_me:6362: \$? = $ac_status" >&5
7275 (exit $ac_status); }; }; then 6363 (exit $ac_status); }; }; then
7276 emacs_xkb=yes 6364 emacs_xkb=yes
7277else 6365else
@@ -7280,31 +6368,27 @@ cat conftest.$ac_ext >&5
7280emacs_xkb=no 6368emacs_xkb=no
7281fi 6369fi
7282rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6370rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7283 echo "$as_me:$LINENO: result: $emacs_xkb" >&5 6371 echo "$as_me:6371: result: $emacs_xkb" >&5
7284echo "${ECHO_T}$emacs_xkb" >&6 6372echo "${ECHO_T}$emacs_xkb" >&6
7285 if test $emacs_xkb = yes; then 6373 if test $emacs_xkb = yes; then
7286 6374
7287cat >>confdefs.h <<\_ACEOF 6375cat >>confdefs.h <<\EOF
7288#define HAVE_XKBGETKEYBOARD 1 6376#define HAVE_XKBGETKEYBOARD 1
7289_ACEOF 6377EOF
7290 6378
7291 fi 6379 fi
7292 6380
7293
7294
7295
7296
7297for ac_func in XrmSetDatabase XScreenResourceString \ 6381for ac_func in XrmSetDatabase XScreenResourceString \
7298XScreenNumberOfScreen XSetWMProtocols 6382XScreenNumberOfScreen XSetWMProtocols
7299do 6383do
7300as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6384as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7301echo "$as_me:$LINENO: checking for $ac_func" >&5 6385echo "$as_me:6385: checking for $ac_func" >&5
7302echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6386echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7303if eval "test \"\${$as_ac_var+set}\" = set"; then 6387if eval "test \"\${$as_ac_var+set}\" = set"; then
7304 echo $ECHO_N "(cached) $ECHO_C" >&6 6388 echo $ECHO_N "(cached) $ECHO_C" >&6
7305else 6389else
7306 cat >conftest.$ac_ext <<_ACEOF 6390 cat >conftest.$ac_ext <<_ACEOF
7307#line $LINENO "configure" 6391#line 6391 "configure"
7308#include "confdefs.h" 6392#include "confdefs.h"
7309/* System header to define __stub macros and hopefully few prototypes, 6393/* System header to define __stub macros and hopefully few prototypes,
7310 which can conflict with char $ac_func (); below. */ 6394 which can conflict with char $ac_func (); below. */
@@ -7318,12 +6402,6 @@ extern "C"
7318char $ac_func (); 6402char $ac_func ();
7319char (*f) (); 6403char (*f) ();
7320 6404
7321#ifdef F77_DUMMY_MAIN
7322# ifdef __cplusplus
7323 extern "C"
7324# endif
7325 int F77_DUMMY_MAIN() { return 1; }
7326#endif
7327int 6405int
7328main () 6406main ()
7329{ 6407{
@@ -7341,16 +6419,16 @@ f = $ac_func;
7341} 6419}
7342_ACEOF 6420_ACEOF
7343rm -f conftest.$ac_objext conftest$ac_exeext 6421rm -f conftest.$ac_objext conftest$ac_exeext
7344if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6422if { (eval echo "$as_me:6422: \"$ac_link\"") >&5
7345 (eval $ac_link) 2>&5 6423 (eval $ac_link) 2>&5
7346 ac_status=$? 6424 ac_status=$?
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6425 echo "$as_me:6425: \$? = $ac_status" >&5
7348 (exit $ac_status); } && 6426 (exit $ac_status); } &&
7349 { ac_try='test -s conftest$ac_exeext' 6427 { ac_try='test -s conftest$ac_exeext'
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6428 { (eval echo "$as_me:6428: \"$ac_try\"") >&5
7351 (eval $ac_try) 2>&5 6429 (eval $ac_try) 2>&5
7352 ac_status=$? 6430 ac_status=$?
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6431 echo "$as_me:6431: \$? = $ac_status" >&5
7354 (exit $ac_status); }; }; then 6432 (exit $ac_status); }; }; then
7355 eval "$as_ac_var=yes" 6433 eval "$as_ac_var=yes"
7356else 6434else
@@ -7360,12 +6438,12 @@ eval "$as_ac_var=no"
7360fi 6438fi
7361rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6439rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7362fi 6440fi
7363echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6441echo "$as_me:6441: result: `eval echo '${'$as_ac_var'}'`" >&5
7364echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6442echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7365if test `eval echo '${'$as_ac_var'}'` = yes; then 6443if test `eval echo '${'$as_ac_var'}'` = yes; then
7366 cat >>confdefs.h <<_ACEOF 6444 cat >>confdefs.h <<EOF
7367#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6445#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7368_ACEOF 6446EOF
7369 6447
7370fi 6448fi
7371done 6449done
@@ -7373,21 +6451,15 @@ done
7373fi 6451fi
7374 6452
7375if test "${window_system}" = "x11"; then 6453if test "${window_system}" = "x11"; then
7376 echo "$as_me:$LINENO: checking X11 version 6" >&5 6454 echo "$as_me:6454: checking X11 version 6" >&5
7377echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6455echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
7378 if test "${emacs_cv_x11_version_6+set}" = set; then 6456 if test "${emacs_cv_x11_version_6+set}" = set; then
7379 echo $ECHO_N "(cached) $ECHO_C" >&6 6457 echo $ECHO_N "(cached) $ECHO_C" >&6
7380else 6458else
7381 cat >conftest.$ac_ext <<_ACEOF 6459 cat >conftest.$ac_ext <<_ACEOF
7382#line $LINENO "configure" 6460#line 6460 "configure"
7383#include "confdefs.h" 6461#include "confdefs.h"
7384#include <X11/Xlib.h> 6462#include <X11/Xlib.h>
7385#ifdef F77_DUMMY_MAIN
7386# ifdef __cplusplus
7387 extern "C"
7388# endif
7389 int F77_DUMMY_MAIN() { return 1; }
7390#endif
7391int 6463int
7392main () 6464main ()
7393{ 6465{
@@ -7400,16 +6472,16 @@ fail;
7400} 6472}
7401_ACEOF 6473_ACEOF
7402rm -f conftest.$ac_objext conftest$ac_exeext 6474rm -f conftest.$ac_objext conftest$ac_exeext
7403if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6475if { (eval echo "$as_me:6475: \"$ac_link\"") >&5
7404 (eval $ac_link) 2>&5 6476 (eval $ac_link) 2>&5
7405 ac_status=$? 6477 ac_status=$?
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6478 echo "$as_me:6478: \$? = $ac_status" >&5
7407 (exit $ac_status); } && 6479 (exit $ac_status); } &&
7408 { ac_try='test -s conftest$ac_exeext' 6480 { ac_try='test -s conftest$ac_exeext'
7409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6481 { (eval echo "$as_me:6481: \"$ac_try\"") >&5
7410 (eval $ac_try) 2>&5 6482 (eval $ac_try) 2>&5
7411 ac_status=$? 6483 ac_status=$?
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6484 echo "$as_me:6484: \$? = $ac_status" >&5
7413 (exit $ac_status); }; }; then 6485 (exit $ac_status); }; }; then
7414 emacs_cv_x11_version_6=yes 6486 emacs_cv_x11_version_6=yes
7415else 6487else
@@ -7421,35 +6493,29 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7421fi 6493fi
7422 6494
7423 if test $emacs_cv_x11_version_6 = yes; then 6495 if test $emacs_cv_x11_version_6 = yes; then
7424 echo "$as_me:$LINENO: result: 6 or newer" >&5 6496 echo "$as_me:6496: result: 6 or newer" >&5
7425echo "${ECHO_T}6 or newer" >&6 6497echo "${ECHO_T}6 or newer" >&6
7426 6498
7427cat >>confdefs.h <<\_ACEOF 6499cat >>confdefs.h <<\EOF
7428#define HAVE_X11R6 1 6500#define HAVE_X11R6 1
7429_ACEOF 6501EOF
7430 6502
7431 else 6503 else
7432 echo "$as_me:$LINENO: result: before 6" >&5 6504 echo "$as_me:6504: result: before 6" >&5
7433echo "${ECHO_T}before 6" >&6 6505echo "${ECHO_T}before 6" >&6
7434 fi 6506 fi
7435fi 6507fi
7436 6508
7437if test "${window_system}" = "x11"; then 6509if test "${window_system}" = "x11"; then
7438 echo "$as_me:$LINENO: checking X11 version 5" >&5 6510 echo "$as_me:6510: checking X11 version 5" >&5
7439echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6511echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
7440 if test "${emacs_cv_x11_version_5+set}" = set; then 6512 if test "${emacs_cv_x11_version_5+set}" = set; then
7441 echo $ECHO_N "(cached) $ECHO_C" >&6 6513 echo $ECHO_N "(cached) $ECHO_C" >&6
7442else 6514else
7443 cat >conftest.$ac_ext <<_ACEOF 6515 cat >conftest.$ac_ext <<_ACEOF
7444#line $LINENO "configure" 6516#line 6516 "configure"
7445#include "confdefs.h" 6517#include "confdefs.h"
7446#include <X11/Xlib.h> 6518#include <X11/Xlib.h>
7447#ifdef F77_DUMMY_MAIN
7448# ifdef __cplusplus
7449 extern "C"
7450# endif
7451 int F77_DUMMY_MAIN() { return 1; }
7452#endif
7453int 6519int
7454main () 6520main ()
7455{ 6521{
@@ -7462,16 +6528,16 @@ fail;
7462} 6528}
7463_ACEOF 6529_ACEOF
7464rm -f conftest.$ac_objext conftest$ac_exeext 6530rm -f conftest.$ac_objext conftest$ac_exeext
7465if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6531if { (eval echo "$as_me:6531: \"$ac_link\"") >&5
7466 (eval $ac_link) 2>&5 6532 (eval $ac_link) 2>&5
7467 ac_status=$? 6533 ac_status=$?
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6534 echo "$as_me:6534: \$? = $ac_status" >&5
7469 (exit $ac_status); } && 6535 (exit $ac_status); } &&
7470 { ac_try='test -s conftest$ac_exeext' 6536 { ac_try='test -s conftest$ac_exeext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6537 { (eval echo "$as_me:6537: \"$ac_try\"") >&5
7472 (eval $ac_try) 2>&5 6538 (eval $ac_try) 2>&5
7473 ac_status=$? 6539 ac_status=$?
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6540 echo "$as_me:6540: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then 6541 (exit $ac_status); }; }; then
7476 emacs_cv_x11_version_5=yes 6542 emacs_cv_x11_version_5=yes
7477else 6543else
@@ -7483,40 +6549,34 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7483fi 6549fi
7484 6550
7485 if test $emacs_cv_x11_version_5 = yes; then 6551 if test $emacs_cv_x11_version_5 = yes; then
7486 echo "$as_me:$LINENO: result: 5 or newer" >&5 6552 echo "$as_me:6552: result: 5 or newer" >&5
7487echo "${ECHO_T}5 or newer" >&6 6553echo "${ECHO_T}5 or newer" >&6
7488 HAVE_X11R5=yes 6554 HAVE_X11R5=yes
7489 6555
7490cat >>confdefs.h <<\_ACEOF 6556cat >>confdefs.h <<\EOF
7491#define HAVE_X11R5 1 6557#define HAVE_X11R5 1
7492_ACEOF 6558EOF
7493 6559
7494 else 6560 else
7495 HAVE_X11R5=no 6561 HAVE_X11R5=no
7496 echo "$as_me:$LINENO: result: before 5" >&5 6562 echo "$as_me:6562: result: before 5" >&5
7497echo "${ECHO_T}before 5" >&6 6563echo "${ECHO_T}before 5" >&6
7498 fi 6564 fi
7499fi 6565fi
7500 6566
7501if test x"${USE_X_TOOLKIT}" = xmaybe; then 6567if test x"${USE_X_TOOLKIT}" = xmaybe; then
7502 if test x"${HAVE_X11R5}" = xyes; then 6568 if test x"${HAVE_X11R5}" = xyes; then
7503 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 6569 echo "$as_me:6569: checking X11 version 5 with Xaw" >&5
7504echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6570echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
7505 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6571 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
7506 echo $ECHO_N "(cached) $ECHO_C" >&6 6572 echo $ECHO_N "(cached) $ECHO_C" >&6
7507else 6573else
7508 cat >conftest.$ac_ext <<_ACEOF 6574 cat >conftest.$ac_ext <<_ACEOF
7509#line $LINENO "configure" 6575#line 6575 "configure"
7510#include "confdefs.h" 6576#include "confdefs.h"
7511 6577
7512#include <X11/Intrinsic.h> 6578#include <X11/Intrinsic.h>
7513#include <X11/Xaw/Simple.h> 6579#include <X11/Xaw/Simple.h>
7514#ifdef F77_DUMMY_MAIN
7515# ifdef __cplusplus
7516 extern "C"
7517# endif
7518 int F77_DUMMY_MAIN() { return 1; }
7519#endif
7520int 6580int
7521main () 6581main ()
7522{ 6582{
@@ -7526,16 +6586,16 @@ main ()
7526} 6586}
7527_ACEOF 6587_ACEOF
7528rm -f conftest.$ac_objext conftest$ac_exeext 6588rm -f conftest.$ac_objext conftest$ac_exeext
7529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6589if { (eval echo "$as_me:6589: \"$ac_link\"") >&5
7530 (eval $ac_link) 2>&5 6590 (eval $ac_link) 2>&5
7531 ac_status=$? 6591 ac_status=$?
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6592 echo "$as_me:6592: \$? = $ac_status" >&5
7533 (exit $ac_status); } && 6593 (exit $ac_status); } &&
7534 { ac_try='test -s conftest$ac_exeext' 6594 { ac_try='test -s conftest$ac_exeext'
7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6595 { (eval echo "$as_me:6595: \"$ac_try\"") >&5
7536 (eval $ac_try) 2>&5 6596 (eval $ac_try) 2>&5
7537 ac_status=$? 6597 ac_status=$?
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6598 echo "$as_me:6598: \$? = $ac_status" >&5
7539 (exit $ac_status); }; }; then 6599 (exit $ac_status); }; }; then
7540 emacs_cv_x11_version_5_with_xaw=yes 6600 emacs_cv_x11_version_5_with_xaw=yes
7541else 6601else
@@ -7547,11 +6607,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7547fi 6607fi
7548 6608
7549 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6609 if test $emacs_cv_x11_version_5_with_xaw = yes; then
7550 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 6610 echo "$as_me:6610: result: 5 or newer, with Xaw; use toolkit by default" >&5
7551echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6611echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
7552 USE_X_TOOLKIT=LUCID 6612 USE_X_TOOLKIT=LUCID
7553 else 6613 else
7554 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 6614 echo "$as_me:6614: result: before 5 or no Xaw; do not use toolkit by default" >&5
7555echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6615echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
7556 USE_X_TOOLKIT=none 6616 USE_X_TOOLKIT=none
7557 fi 6617 fi
@@ -7563,21 +6623,15 @@ fi
7563X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6623X_TOOLKIT_TYPE=$USE_X_TOOLKIT
7564 6624
7565if test "${USE_X_TOOLKIT}" != "none"; then 6625if test "${USE_X_TOOLKIT}" != "none"; then
7566 echo "$as_me:$LINENO: checking X11 toolkit version" >&5 6626 echo "$as_me:6626: checking X11 toolkit version" >&5
7567echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6627echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
7568 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6628 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6 6629 echo $ECHO_N "(cached) $ECHO_C" >&6
7570else 6630else
7571 cat >conftest.$ac_ext <<_ACEOF 6631 cat >conftest.$ac_ext <<_ACEOF
7572#line $LINENO "configure" 6632#line 6632 "configure"
7573#include "confdefs.h" 6633#include "confdefs.h"
7574#include <X11/Intrinsic.h> 6634#include <X11/Intrinsic.h>
7575#ifdef F77_DUMMY_MAIN
7576# ifdef __cplusplus
7577 extern "C"
7578# endif
7579 int F77_DUMMY_MAIN() { return 1; }
7580#endif
7581int 6635int
7582main () 6636main ()
7583{ 6637{
@@ -7590,16 +6644,16 @@ fail;
7590} 6644}
7591_ACEOF 6645_ACEOF
7592rm -f conftest.$ac_objext conftest$ac_exeext 6646rm -f conftest.$ac_objext conftest$ac_exeext
7593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6647if { (eval echo "$as_me:6647: \"$ac_link\"") >&5
7594 (eval $ac_link) 2>&5 6648 (eval $ac_link) 2>&5
7595 ac_status=$? 6649 ac_status=$?
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6650 echo "$as_me:6650: \$? = $ac_status" >&5
7597 (exit $ac_status); } && 6651 (exit $ac_status); } &&
7598 { ac_try='test -s conftest$ac_exeext' 6652 { ac_try='test -s conftest$ac_exeext'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6653 { (eval echo "$as_me:6653: \"$ac_try\"") >&5
7600 (eval $ac_try) 2>&5 6654 (eval $ac_try) 2>&5
7601 ac_status=$? 6655 ac_status=$?
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6656 echo "$as_me:6656: \$? = $ac_status" >&5
7603 (exit $ac_status); }; }; then 6657 (exit $ac_status); }; }; then
7604 emacs_cv_x11_toolkit_version_6=yes 6658 emacs_cv_x11_toolkit_version_6=yes
7605else 6659else
@@ -7612,15 +6666,15 @@ fi
7612 6666
7613 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6667 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
7614 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6668 if test $emacs_cv_x11_toolkit_version_6 = yes; then
7615 echo "$as_me:$LINENO: result: 6 or newer" >&5 6669 echo "$as_me:6669: result: 6 or newer" >&5
7616echo "${ECHO_T}6 or newer" >&6 6670echo "${ECHO_T}6 or newer" >&6
7617 6671
7618cat >>confdefs.h <<\_ACEOF 6672cat >>confdefs.h <<\EOF
7619#define HAVE_X11XTR6 1 6673#define HAVE_X11XTR6 1
7620_ACEOF 6674EOF
7621 6675
7622 else 6676 else
7623 echo "$as_me:$LINENO: result: before 6" >&5 6677 echo "$as_me:6677: result: before 6" >&5
7624echo "${ECHO_T}before 6" >&6 6678echo "${ECHO_T}before 6" >&6
7625 fi 6679 fi
7626 6680
@@ -7631,7 +6685,7 @@ echo "${ECHO_T}before 6" >&6
7631 LIBS="-lXt $LIBS" 6685 LIBS="-lXt $LIBS"
7632 fi 6686 fi
7633 6687
7634echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 6688echo "$as_me:6688: checking for XmuConvertStandardSelection in -lXmu" >&5
7635echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6689echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
7636if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6690if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6 6691 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7639,7 +6693,7 @@ else
7639 ac_check_lib_save_LIBS=$LIBS 6693 ac_check_lib_save_LIBS=$LIBS
7640LIBS="-lXmu $LIBS" 6694LIBS="-lXmu $LIBS"
7641cat >conftest.$ac_ext <<_ACEOF 6695cat >conftest.$ac_ext <<_ACEOF
7642#line $LINENO "configure" 6696#line 6696 "configure"
7643#include "confdefs.h" 6697#include "confdefs.h"
7644 6698
7645/* Override any gcc2 internal prototype to avoid an error. */ 6699/* Override any gcc2 internal prototype to avoid an error. */
@@ -7649,12 +6703,6 @@ extern "C"
7649/* We use char because int might match the return type of a gcc2 6703/* We use char because int might match the return type of a gcc2
7650 builtin and then its argument prototype would still apply. */ 6704 builtin and then its argument prototype would still apply. */
7651char XmuConvertStandardSelection (); 6705char XmuConvertStandardSelection ();
7652#ifdef F77_DUMMY_MAIN
7653# ifdef __cplusplus
7654 extern "C"
7655# endif
7656 int F77_DUMMY_MAIN() { return 1; }
7657#endif
7658int 6706int
7659main () 6707main ()
7660{ 6708{
@@ -7664,16 +6712,16 @@ XmuConvertStandardSelection ();
7664} 6712}
7665_ACEOF 6713_ACEOF
7666rm -f conftest.$ac_objext conftest$ac_exeext 6714rm -f conftest.$ac_objext conftest$ac_exeext
7667if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6715if { (eval echo "$as_me:6715: \"$ac_link\"") >&5
7668 (eval $ac_link) 2>&5 6716 (eval $ac_link) 2>&5
7669 ac_status=$? 6717 ac_status=$?
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6718 echo "$as_me:6718: \$? = $ac_status" >&5
7671 (exit $ac_status); } && 6719 (exit $ac_status); } &&
7672 { ac_try='test -s conftest$ac_exeext' 6720 { ac_try='test -s conftest$ac_exeext'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6721 { (eval echo "$as_me:6721: \"$ac_try\"") >&5
7674 (eval $ac_try) 2>&5 6722 (eval $ac_try) 2>&5
7675 ac_status=$? 6723 ac_status=$?
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6724 echo "$as_me:6724: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then 6725 (exit $ac_status); }; }; then
7678 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6726 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
7679else 6727else
@@ -7684,12 +6732,12 @@ fi
7684rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6732rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7685LIBS=$ac_check_lib_save_LIBS 6733LIBS=$ac_check_lib_save_LIBS
7686fi 6734fi
7687echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6735echo "$as_me:6735: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
7688echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6736echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
7689if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6737if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
7690 cat >>confdefs.h <<_ACEOF 6738 cat >>confdefs.h <<EOF
7691#define HAVE_LIBXMU 1 6739#define HAVE_LIBXMU 1
7692_ACEOF 6740EOF
7693 6741
7694 LIBS="-lXmu $LIBS" 6742 LIBS="-lXmu $LIBS"
7695 6743
@@ -7702,7 +6750,7 @@ fi
7702if test "${HAVE_X11}" = "yes"; then 6750if test "${HAVE_X11}" = "yes"; then
7703 if test "${USE_X_TOOLKIT}" != "none"; then 6751 if test "${USE_X_TOOLKIT}" != "none"; then
7704 6752
7705echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 6753echo "$as_me:6753: checking for XShapeQueryExtension in -lXext" >&5
7706echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6754echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7707if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6755if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6 6756 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7710,7 +6758,7 @@ else
7710 ac_check_lib_save_LIBS=$LIBS 6758 ac_check_lib_save_LIBS=$LIBS
7711LIBS="-lXext $LIBS" 6759LIBS="-lXext $LIBS"
7712cat >conftest.$ac_ext <<_ACEOF 6760cat >conftest.$ac_ext <<_ACEOF
7713#line $LINENO "configure" 6761#line 6761 "configure"
7714#include "confdefs.h" 6762#include "confdefs.h"
7715 6763
7716/* Override any gcc2 internal prototype to avoid an error. */ 6764/* Override any gcc2 internal prototype to avoid an error. */
@@ -7720,12 +6768,6 @@ extern "C"
7720/* We use char because int might match the return type of a gcc2 6768/* We use char because int might match the return type of a gcc2
7721 builtin and then its argument prototype would still apply. */ 6769 builtin and then its argument prototype would still apply. */
7722char XShapeQueryExtension (); 6770char XShapeQueryExtension ();
7723#ifdef F77_DUMMY_MAIN
7724# ifdef __cplusplus
7725 extern "C"
7726# endif
7727 int F77_DUMMY_MAIN() { return 1; }
7728#endif
7729int 6771int
7730main () 6772main ()
7731{ 6773{
@@ -7735,16 +6777,16 @@ XShapeQueryExtension ();
7735} 6777}
7736_ACEOF 6778_ACEOF
7737rm -f conftest.$ac_objext conftest$ac_exeext 6779rm -f conftest.$ac_objext conftest$ac_exeext
7738if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6780if { (eval echo "$as_me:6780: \"$ac_link\"") >&5
7739 (eval $ac_link) 2>&5 6781 (eval $ac_link) 2>&5
7740 ac_status=$? 6782 ac_status=$?
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6783 echo "$as_me:6783: \$? = $ac_status" >&5
7742 (exit $ac_status); } && 6784 (exit $ac_status); } &&
7743 { ac_try='test -s conftest$ac_exeext' 6785 { ac_try='test -s conftest$ac_exeext'
7744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6786 { (eval echo "$as_me:6786: \"$ac_try\"") >&5
7745 (eval $ac_try) 2>&5 6787 (eval $ac_try) 2>&5
7746 ac_status=$? 6788 ac_status=$?
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6789 echo "$as_me:6789: \$? = $ac_status" >&5
7748 (exit $ac_status); }; }; then 6790 (exit $ac_status); }; }; then
7749 ac_cv_lib_Xext_XShapeQueryExtension=yes 6791 ac_cv_lib_Xext_XShapeQueryExtension=yes
7750else 6792else
@@ -7755,12 +6797,12 @@ fi
7755rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6797rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7756LIBS=$ac_check_lib_save_LIBS 6798LIBS=$ac_check_lib_save_LIBS
7757fi 6799fi
7758echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6800echo "$as_me:6800: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7759echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6801echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7760if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6802if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7761 cat >>confdefs.h <<_ACEOF 6803 cat >>confdefs.h <<EOF
7762#define HAVE_LIBXEXT 1 6804#define HAVE_LIBXEXT 1
7763_ACEOF 6805EOF
7764 6806
7765 LIBS="-lXext $LIBS" 6807 LIBS="-lXext $LIBS"
7766 6808
@@ -7770,21 +6812,15 @@ fi
7770fi 6812fi
7771 6813
7772if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6814if test "${USE_X_TOOLKIT}" = "MOTIF"; then
7773 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 6815 echo "$as_me:6815: checking for Motif version 2.1" >&5
7774echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6816echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
7775if test "${emacs_cv_motif_version_2_1+set}" = set; then 6817if test "${emacs_cv_motif_version_2_1+set}" = set; then
7776 echo $ECHO_N "(cached) $ECHO_C" >&6 6818 echo $ECHO_N "(cached) $ECHO_C" >&6
7777else 6819else
7778 cat >conftest.$ac_ext <<_ACEOF 6820 cat >conftest.$ac_ext <<_ACEOF
7779#line $LINENO "configure" 6821#line 6821 "configure"
7780#include "confdefs.h" 6822#include "confdefs.h"
7781#include <Xm/Xm.h> 6823#include <Xm/Xm.h>
7782#ifdef F77_DUMMY_MAIN
7783# ifdef __cplusplus
7784 extern "C"
7785# endif
7786 int F77_DUMMY_MAIN() { return 1; }
7787#endif
7788int 6824int
7789main () 6825main ()
7790{ 6826{
@@ -7798,16 +6834,16 @@ Motif version prior to 2.1.
7798} 6834}
7799_ACEOF 6835_ACEOF
7800rm -f conftest.$ac_objext 6836rm -f conftest.$ac_objext
7801if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6837if { (eval echo "$as_me:6837: \"$ac_compile\"") >&5
7802 (eval $ac_compile) 2>&5 6838 (eval $ac_compile) 2>&5
7803 ac_status=$? 6839 ac_status=$?
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6840 echo "$as_me:6840: \$? = $ac_status" >&5
7805 (exit $ac_status); } && 6841 (exit $ac_status); } &&
7806 { ac_try='test -s conftest.$ac_objext' 6842 { ac_try='test -s conftest.$ac_objext'
7807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6843 { (eval echo "$as_me:6843: \"$ac_try\"") >&5
7808 (eval $ac_try) 2>&5 6844 (eval $ac_try) 2>&5
7809 ac_status=$? 6845 ac_status=$?
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6846 echo "$as_me:6846: \$? = $ac_status" >&5
7811 (exit $ac_status); }; }; then 6847 (exit $ac_status); }; }; then
7812 emacs_cv_motif_version_2_1=yes 6848 emacs_cv_motif_version_2_1=yes
7813else 6849else
@@ -7817,17 +6853,17 @@ emacs_cv_motif_version_2_1=no
7817fi 6853fi
7818rm -f conftest.$ac_objext conftest.$ac_ext 6854rm -f conftest.$ac_objext conftest.$ac_ext
7819fi 6855fi
7820echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 6856echo "$as_me:6856: result: $emacs_cv_motif_version_2_1" >&5
7821echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6857echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
7822 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6858 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
7823 if test $emacs_cv_motif_version_2_1 = yes; then 6859 if test $emacs_cv_motif_version_2_1 = yes; then
7824 HAVE_LIBXP=no 6860 HAVE_LIBXP=no
7825 6861
7826cat >>confdefs.h <<\_ACEOF 6862cat >>confdefs.h <<\EOF
7827#define HAVE_MOTIF_2_1 1 6863#define HAVE_MOTIF_2_1 1
7828_ACEOF 6864EOF
7829 6865
7830 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 6866 echo "$as_me:6866: checking for XpCreateContext in -lXp" >&5
7831echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6867echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
7832if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6868if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6 6869 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7835,7 +6871,7 @@ else
7835 ac_check_lib_save_LIBS=$LIBS 6871 ac_check_lib_save_LIBS=$LIBS
7836LIBS="-lXp $LIBS" 6872LIBS="-lXp $LIBS"
7837cat >conftest.$ac_ext <<_ACEOF 6873cat >conftest.$ac_ext <<_ACEOF
7838#line $LINENO "configure" 6874#line 6874 "configure"
7839#include "confdefs.h" 6875#include "confdefs.h"
7840 6876
7841/* Override any gcc2 internal prototype to avoid an error. */ 6877/* Override any gcc2 internal prototype to avoid an error. */
@@ -7845,12 +6881,6 @@ extern "C"
7845/* We use char because int might match the return type of a gcc2 6881/* We use char because int might match the return type of a gcc2
7846 builtin and then its argument prototype would still apply. */ 6882 builtin and then its argument prototype would still apply. */
7847char XpCreateContext (); 6883char XpCreateContext ();
7848#ifdef F77_DUMMY_MAIN
7849# ifdef __cplusplus
7850 extern "C"
7851# endif
7852 int F77_DUMMY_MAIN() { return 1; }
7853#endif
7854int 6884int
7855main () 6885main ()
7856{ 6886{
@@ -7860,16 +6890,16 @@ XpCreateContext ();
7860} 6890}
7861_ACEOF 6891_ACEOF
7862rm -f conftest.$ac_objext conftest$ac_exeext 6892rm -f conftest.$ac_objext conftest$ac_exeext
7863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6893if { (eval echo "$as_me:6893: \"$ac_link\"") >&5
7864 (eval $ac_link) 2>&5 6894 (eval $ac_link) 2>&5
7865 ac_status=$? 6895 ac_status=$?
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6896 echo "$as_me:6896: \$? = $ac_status" >&5
7867 (exit $ac_status); } && 6897 (exit $ac_status); } &&
7868 { ac_try='test -s conftest$ac_exeext' 6898 { ac_try='test -s conftest$ac_exeext'
7869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6899 { (eval echo "$as_me:6899: \"$ac_try\"") >&5
7870 (eval $ac_try) 2>&5 6900 (eval $ac_try) 2>&5
7871 ac_status=$? 6901 ac_status=$?
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6902 echo "$as_me:6902: \$? = $ac_status" >&5
7873 (exit $ac_status); }; }; then 6903 (exit $ac_status); }; }; then
7874 ac_cv_lib_Xp_XpCreateContext=yes 6904 ac_cv_lib_Xp_XpCreateContext=yes
7875else 6905else
@@ -7880,7 +6910,7 @@ fi
7880rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6910rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7881LIBS=$ac_check_lib_save_LIBS 6911LIBS=$ac_check_lib_save_LIBS
7882fi 6912fi
7883echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6913echo "$as_me:6913: result: $ac_cv_lib_Xp_XpCreateContext" >&5
7884echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6914echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
7885if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6915if test $ac_cv_lib_Xp_XpCreateContext = yes; then
7886 HAVE_LIBXP=yes 6916 HAVE_LIBXP=yes
@@ -7888,9 +6918,9 @@ fi
7888 6918
7889 if test ${HAVE_LIBXP} = yes; then 6919 if test ${HAVE_LIBXP} = yes; then
7890 6920
7891cat >>confdefs.h <<\_ACEOF 6921cat >>confdefs.h <<\EOF
7892#define HAVE_LIBXP 1 6922#define HAVE_LIBXP 1
7893_ACEOF 6923EOF
7894 6924
7895 fi 6925 fi
7896 fi 6926 fi
@@ -7900,61 +6930,23 @@ fi
7900HAVE_XAW3D=no 6930HAVE_XAW3D=no
7901if test "${HAVE_X11}" = "yes"; then 6931if test "${HAVE_X11}" = "yes"; then
7902 if test "${USE_X_TOOLKIT}" != "none"; then 6932 if test "${USE_X_TOOLKIT}" != "none"; then
7903 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6933 echo "$as_me:6933: checking for X11/Xaw3d/Scrollbar.h" >&5
7904 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
7905echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6934echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
7906if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6935if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
7907 echo $ECHO_N "(cached) $ECHO_C" >&6 6936 echo $ECHO_N "(cached) $ECHO_C" >&6
7908fi
7909echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
7910echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
7911else
7912 # Is the header compilable?
7913echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h usability" >&5
7914echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h usability... $ECHO_C" >&6
7915cat >conftest.$ac_ext <<_ACEOF
7916#line $LINENO "configure"
7917#include "confdefs.h"
7918$ac_includes_default
7919#include <X11/Xaw3d/Scrollbar.h>
7920_ACEOF
7921rm -f conftest.$ac_objext
7922if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7923 (eval $ac_compile) 2>&5
7924 ac_status=$?
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); } &&
7927 { ac_try='test -s conftest.$ac_objext'
7928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7929 (eval $ac_try) 2>&5
7930 ac_status=$?
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); }; }; then
7933 ac_header_compiler=yes
7934else 6937else
7935 echo "$as_me: failed program was:" >&5 6938 cat >conftest.$ac_ext <<_ACEOF
7936cat conftest.$ac_ext >&5 6939#line 6939 "configure"
7937ac_header_compiler=no
7938fi
7939rm -f conftest.$ac_objext conftest.$ac_ext
7940echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7941echo "${ECHO_T}$ac_header_compiler" >&6
7942
7943# Is the header present?
7944echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h presence" >&5
7945echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h presence... $ECHO_C" >&6
7946cat >conftest.$ac_ext <<_ACEOF
7947#line $LINENO "configure"
7948#include "confdefs.h" 6940#include "confdefs.h"
7949#include <X11/Xaw3d/Scrollbar.h> 6941#include <X11/Xaw3d/Scrollbar.h>
7950_ACEOF 6942_ACEOF
7951if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6943if { (eval echo "$as_me:6943: \"$ac_cpp conftest.$ac_ext\"") >&5
7952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7953 ac_status=$? 6945 ac_status=$?
7954 egrep -v '^ *\+' conftest.er1 >conftest.err 6946 egrep -v '^ *\+' conftest.er1 >conftest.err
7955 rm -f conftest.er1 6947 rm -f conftest.er1
7956 cat conftest.err >&5 6948 cat conftest.err >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6949 echo "$as_me:6949: \$? = $ac_status" >&5
7958 (exit $ac_status); } >/dev/null; then 6950 (exit $ac_status); } >/dev/null; then
7959 if test -s conftest.err; then 6951 if test -s conftest.err; then
7960 ac_cpp_err=$ac_c_preproc_warn_flag 6952 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -7965,44 +6957,18 @@ else
7965 ac_cpp_err=yes 6957 ac_cpp_err=yes
7966fi 6958fi
7967if test -z "$ac_cpp_err"; then 6959if test -z "$ac_cpp_err"; then
7968 ac_header_preproc=yes 6960 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes
7969else 6961else
7970 echo "$as_me: failed program was:" >&5 6962 echo "$as_me: failed program was:" >&5
7971 cat conftest.$ac_ext >&5 6963 cat conftest.$ac_ext >&5
7972 ac_header_preproc=no 6964 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
7973fi 6965fi
7974rm -f conftest.err conftest.$ac_ext 6966rm -f conftest.err conftest.$ac_ext
7975echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7976echo "${ECHO_T}$ac_header_preproc" >&6
7977
7978# So? What about this header?
7979case $ac_header_compiler:$ac_header_preproc in
7980 yes:no )
7981 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&5
7982echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7983 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5
7984echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};;
7985 no:yes )
7986 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&5
7987echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&2;}
7988 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&5
7989echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&2;}
7990 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5
7991echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};;
7992esac
7993echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
7994echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
7995if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7997else
7998 ac_cv_header_X11_Xaw3d_Scrollbar_h=$ac_header_preproc
7999fi 6967fi
8000echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 6968echo "$as_me:6968: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
8001echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 6969echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
8002
8003fi
8004if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 6970if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
8005 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 6971 echo "$as_me:6971: checking for XawScrollbarSetThumb in -lXaw3d" >&5
8006echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 6972echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
8007if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 6973if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
8008 echo $ECHO_N "(cached) $ECHO_C" >&6 6974 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8010,7 +6976,7 @@ else
8010 ac_check_lib_save_LIBS=$LIBS 6976 ac_check_lib_save_LIBS=$LIBS
8011LIBS="-lXaw3d $LIBS" 6977LIBS="-lXaw3d $LIBS"
8012cat >conftest.$ac_ext <<_ACEOF 6978cat >conftest.$ac_ext <<_ACEOF
8013#line $LINENO "configure" 6979#line 6979 "configure"
8014#include "confdefs.h" 6980#include "confdefs.h"
8015 6981
8016/* Override any gcc2 internal prototype to avoid an error. */ 6982/* Override any gcc2 internal prototype to avoid an error. */
@@ -8020,12 +6986,6 @@ extern "C"
8020/* We use char because int might match the return type of a gcc2 6986/* We use char because int might match the return type of a gcc2
8021 builtin and then its argument prototype would still apply. */ 6987 builtin and then its argument prototype would still apply. */
8022char XawScrollbarSetThumb (); 6988char XawScrollbarSetThumb ();
8023#ifdef F77_DUMMY_MAIN
8024# ifdef __cplusplus
8025 extern "C"
8026# endif
8027 int F77_DUMMY_MAIN() { return 1; }
8028#endif
8029int 6989int
8030main () 6990main ()
8031{ 6991{
@@ -8035,16 +6995,16 @@ XawScrollbarSetThumb ();
8035} 6995}
8036_ACEOF 6996_ACEOF
8037rm -f conftest.$ac_objext conftest$ac_exeext 6997rm -f conftest.$ac_objext conftest$ac_exeext
8038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6998if { (eval echo "$as_me:6998: \"$ac_link\"") >&5
8039 (eval $ac_link) 2>&5 6999 (eval $ac_link) 2>&5
8040 ac_status=$? 7000 ac_status=$?
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7001 echo "$as_me:7001: \$? = $ac_status" >&5
8042 (exit $ac_status); } && 7002 (exit $ac_status); } &&
8043 { ac_try='test -s conftest$ac_exeext' 7003 { ac_try='test -s conftest$ac_exeext'
8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7004 { (eval echo "$as_me:7004: \"$ac_try\"") >&5
8045 (eval $ac_try) 2>&5 7005 (eval $ac_try) 2>&5
8046 ac_status=$? 7006 ac_status=$?
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7007 echo "$as_me:7007: \$? = $ac_status" >&5
8048 (exit $ac_status); }; }; then 7008 (exit $ac_status); }; }; then
8049 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 7009 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
8050else 7010else
@@ -8055,7 +7015,7 @@ fi
8055rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7015rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8056LIBS=$ac_check_lib_save_LIBS 7016LIBS=$ac_check_lib_save_LIBS
8057fi 7017fi
8058echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 7018echo "$as_me:7018: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
8059echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 7019echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
8060if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 7020if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
8061 HAVE_XAW3D=yes 7021 HAVE_XAW3D=yes
@@ -8063,45 +7023,41 @@ fi
8063 7023
8064fi 7024fi
8065 7025
8066
8067 if test "${HAVE_XAW3D}" = "yes"; then 7026 if test "${HAVE_XAW3D}" = "yes"; then
8068 7027
8069cat >>confdefs.h <<\_ACEOF 7028cat >>confdefs.h <<\EOF
8070#define HAVE_XAW3D 1 7029#define HAVE_XAW3D 1
8071_ACEOF 7030EOF
8072 7031
8073 fi 7032 fi
8074 fi 7033 fi
8075fi 7034fi
8076 7035
8077
8078
8079USE_TOOLKIT_SCROLL_BARS=no 7036USE_TOOLKIT_SCROLL_BARS=no
8080if test "${with_toolkit_scroll_bars}" != "no"; then 7037if test "${with_toolkit_scroll_bars}" != "no"; then
8081 if test "${USE_X_TOOLKIT}" != "none"; then 7038 if test "${USE_X_TOOLKIT}" != "none"; then
8082 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 7039 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
8083 cat >>confdefs.h <<\_ACEOF 7040 cat >>confdefs.h <<\EOF
8084#define USE_TOOLKIT_SCROLL_BARS 1 7041#define USE_TOOLKIT_SCROLL_BARS 1
8085_ACEOF 7042EOF
8086 7043
8087 HAVE_XAW3D=no 7044 HAVE_XAW3D=no
8088 USE_TOOLKIT_SCROLL_BARS=yes 7045 USE_TOOLKIT_SCROLL_BARS=yes
8089 elif test "${HAVE_XAW3D}" = "yes"; then 7046 elif test "${HAVE_XAW3D}" = "yes"; then
8090 cat >>confdefs.h <<\_ACEOF 7047 cat >>confdefs.h <<\EOF
8091#define USE_TOOLKIT_SCROLL_BARS 1 7048#define USE_TOOLKIT_SCROLL_BARS 1
8092_ACEOF 7049EOF
8093 7050
8094 USE_TOOLKIT_SCROLL_BARS=yes 7051 USE_TOOLKIT_SCROLL_BARS=yes
8095 fi 7052 fi
8096 fi 7053 fi
8097fi 7054fi
8098 7055
8099
8100if test "${with_xim}" != "no"; then 7056if test "${with_xim}" != "no"; then
8101 7057
8102cat >>confdefs.h <<\_ACEOF 7058cat >>confdefs.h <<\EOF
8103#define USE_XIM 1 7059#define USE_XIM 1
8104_ACEOF 7060EOF
8105 7061
8106fi 7062fi
8107 7063
@@ -8109,61 +7065,23 @@ fi
8109HAVE_XPM=no 7065HAVE_XPM=no
8110if test "${HAVE_X11}" = "yes"; then 7066if test "${HAVE_X11}" = "yes"; then
8111 if test "${with_xpm}" != "no"; then 7067 if test "${with_xpm}" != "no"; then
8112 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 7068 echo "$as_me:7068: checking for X11/xpm.h" >&5
8113 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
8114echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 7069echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
8115if test "${ac_cv_header_X11_xpm_h+set}" = set; then 7070if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6 7071 echo $ECHO_N "(cached) $ECHO_C" >&6
8117fi
8118echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
8119echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8120else
8121 # Is the header compilable?
8122echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
8123echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
8124cat >conftest.$ac_ext <<_ACEOF
8125#line $LINENO "configure"
8126#include "confdefs.h"
8127$ac_includes_default
8128#include <X11/xpm.h>
8129_ACEOF
8130rm -f conftest.$ac_objext
8131if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8132 (eval $ac_compile) 2>&5
8133 ac_status=$?
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } &&
8136 { ac_try='test -s conftest.$ac_objext'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 (eval $ac_try) 2>&5
8139 ac_status=$?
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; }; then
8142 ac_header_compiler=yes
8143else 7072else
8144 echo "$as_me: failed program was:" >&5 7073 cat >conftest.$ac_ext <<_ACEOF
8145cat conftest.$ac_ext >&5 7074#line 7074 "configure"
8146ac_header_compiler=no
8147fi
8148rm -f conftest.$ac_objext conftest.$ac_ext
8149echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8150echo "${ECHO_T}$ac_header_compiler" >&6
8151
8152# Is the header present?
8153echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
8154echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
8155cat >conftest.$ac_ext <<_ACEOF
8156#line $LINENO "configure"
8157#include "confdefs.h" 7075#include "confdefs.h"
8158#include <X11/xpm.h> 7076#include <X11/xpm.h>
8159_ACEOF 7077_ACEOF
8160if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7078if { (eval echo "$as_me:7078: \"$ac_cpp conftest.$ac_ext\"") >&5
8161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8162 ac_status=$? 7080 ac_status=$?
8163 egrep -v '^ *\+' conftest.er1 >conftest.err 7081 egrep -v '^ *\+' conftest.er1 >conftest.err
8164 rm -f conftest.er1 7082 rm -f conftest.er1
8165 cat conftest.err >&5 7083 cat conftest.err >&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7084 echo "$as_me:7084: \$? = $ac_status" >&5
8167 (exit $ac_status); } >/dev/null; then 7085 (exit $ac_status); } >/dev/null; then
8168 if test -s conftest.err; then 7086 if test -s conftest.err; then
8169 ac_cpp_err=$ac_c_preproc_warn_flag 7087 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8174,44 +7092,18 @@ else
8174 ac_cpp_err=yes 7092 ac_cpp_err=yes
8175fi 7093fi
8176if test -z "$ac_cpp_err"; then 7094if test -z "$ac_cpp_err"; then
8177 ac_header_preproc=yes 7095 ac_cv_header_X11_xpm_h=yes
8178else 7096else
8179 echo "$as_me: failed program was:" >&5 7097 echo "$as_me: failed program was:" >&5
8180 cat conftest.$ac_ext >&5 7098 cat conftest.$ac_ext >&5
8181 ac_header_preproc=no 7099 ac_cv_header_X11_xpm_h=no
8182fi 7100fi
8183rm -f conftest.err conftest.$ac_ext 7101rm -f conftest.err conftest.$ac_ext
8184echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8185echo "${ECHO_T}$ac_header_preproc" >&6
8186
8187# So? What about this header?
8188case $ac_header_compiler:$ac_header_preproc in
8189 yes:no )
8190 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
8191echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8192 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8193echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};;
8194 no:yes )
8195 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
8196echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
8197 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
8198echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
8199 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
8200echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};;
8201esac
8202echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
8203echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
8204if test "${ac_cv_header_X11_xpm_h+set}" = set; then
8205 echo $ECHO_N "(cached) $ECHO_C" >&6
8206else
8207 ac_cv_header_X11_xpm_h=$ac_header_preproc
8208fi 7102fi
8209echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 7103echo "$as_me:7103: result: $ac_cv_header_X11_xpm_h" >&5
8210echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7104echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
8211
8212fi
8213if test $ac_cv_header_X11_xpm_h = yes; then 7105if test $ac_cv_header_X11_xpm_h = yes; then
8214 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 7106 echo "$as_me:7106: checking for XpmReadFileToPixmap in -lXpm" >&5
8215echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7107echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
8216if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7108if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
8217 echo $ECHO_N "(cached) $ECHO_C" >&6 7109 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8219,7 +7111,7 @@ else
8219 ac_check_lib_save_LIBS=$LIBS 7111 ac_check_lib_save_LIBS=$LIBS
8220LIBS="-lXpm -lX11 $LIBS" 7112LIBS="-lXpm -lX11 $LIBS"
8221cat >conftest.$ac_ext <<_ACEOF 7113cat >conftest.$ac_ext <<_ACEOF
8222#line $LINENO "configure" 7114#line 7114 "configure"
8223#include "confdefs.h" 7115#include "confdefs.h"
8224 7116
8225/* Override any gcc2 internal prototype to avoid an error. */ 7117/* Override any gcc2 internal prototype to avoid an error. */
@@ -8229,12 +7121,6 @@ extern "C"
8229/* We use char because int might match the return type of a gcc2 7121/* We use char because int might match the return type of a gcc2
8230 builtin and then its argument prototype would still apply. */ 7122 builtin and then its argument prototype would still apply. */
8231char XpmReadFileToPixmap (); 7123char XpmReadFileToPixmap ();
8232#ifdef F77_DUMMY_MAIN
8233# ifdef __cplusplus
8234 extern "C"
8235# endif
8236 int F77_DUMMY_MAIN() { return 1; }
8237#endif
8238int 7124int
8239main () 7125main ()
8240{ 7126{
@@ -8244,16 +7130,16 @@ XpmReadFileToPixmap ();
8244} 7130}
8245_ACEOF 7131_ACEOF
8246rm -f conftest.$ac_objext conftest$ac_exeext 7132rm -f conftest.$ac_objext conftest$ac_exeext
8247if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7133if { (eval echo "$as_me:7133: \"$ac_link\"") >&5
8248 (eval $ac_link) 2>&5 7134 (eval $ac_link) 2>&5
8249 ac_status=$? 7135 ac_status=$?
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7136 echo "$as_me:7136: \$? = $ac_status" >&5
8251 (exit $ac_status); } && 7137 (exit $ac_status); } &&
8252 { ac_try='test -s conftest$ac_exeext' 7138 { ac_try='test -s conftest$ac_exeext'
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7139 { (eval echo "$as_me:7139: \"$ac_try\"") >&5
8254 (eval $ac_try) 2>&5 7140 (eval $ac_try) 2>&5
8255 ac_status=$? 7141 ac_status=$?
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7142 echo "$as_me:7142: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then 7143 (exit $ac_status); }; }; then
8258 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7144 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
8259else 7145else
@@ -8264,7 +7150,7 @@ fi
8264rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7150rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8265LIBS=$ac_check_lib_save_LIBS 7151LIBS=$ac_check_lib_save_LIBS
8266fi 7152fi
8267echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7153echo "$as_me:7153: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
8268echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7154echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
8269if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7155if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
8270 HAVE_XPM=yes 7156 HAVE_XPM=yes
@@ -8272,12 +7158,11 @@ fi
8272 7158
8273fi 7159fi
8274 7160
8275
8276 if test "${HAVE_XPM}" = "yes"; then 7161 if test "${HAVE_XPM}" = "yes"; then
8277 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 7162 echo "$as_me:7162: checking for XpmReturnAllocPixels preprocessor define" >&5
8278echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7163echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
8279 cat >conftest.$ac_ext <<_ACEOF 7164 cat >conftest.$ac_ext <<_ACEOF
8280#line $LINENO "configure" 7165#line 7165 "configure"
8281#include "confdefs.h" 7166#include "confdefs.h"
8282#include "X11/xpm.h" 7167#include "X11/xpm.h"
8283#ifndef XpmReturnAllocPixels 7168#ifndef XpmReturnAllocPixels
@@ -8293,12 +7178,11 @@ else
8293fi 7178fi
8294rm -f conftest* 7179rm -f conftest*
8295 7180
8296
8297 if test "${HAVE_XPM}" = "yes"; then 7181 if test "${HAVE_XPM}" = "yes"; then
8298 echo "$as_me:$LINENO: result: yes" >&5 7182 echo "$as_me:7182: result: yes" >&5
8299echo "${ECHO_T}yes" >&6 7183echo "${ECHO_T}yes" >&6
8300 else 7184 else
8301 echo "$as_me:$LINENO: result: no" >&5 7185 echo "$as_me:7185: result: no" >&5
8302echo "${ECHO_T}no" >&6 7186echo "${ECHO_T}no" >&6
8303 fi 7187 fi
8304 fi 7188 fi
@@ -8306,9 +7190,9 @@ echo "${ECHO_T}no" >&6
8306 7190
8307 if test "${HAVE_XPM}" = "yes"; then 7191 if test "${HAVE_XPM}" = "yes"; then
8308 7192
8309cat >>confdefs.h <<\_ACEOF 7193cat >>confdefs.h <<\EOF
8310#define HAVE_XPM 1 7194#define HAVE_XPM 1
8311_ACEOF 7195EOF
8312 7196
8313 fi 7197 fi
8314fi 7198fi
@@ -8317,61 +7201,23 @@ fi
8317HAVE_JPEG=no 7201HAVE_JPEG=no
8318if test "${HAVE_X11}" = "yes"; then 7202if test "${HAVE_X11}" = "yes"; then
8319 if test "${with_jpeg}" != "no"; then 7203 if test "${with_jpeg}" != "no"; then
8320 if test "${ac_cv_header_jerror_h+set}" = set; then 7204 echo "$as_me:7204: checking for jerror.h" >&5
8321 echo "$as_me:$LINENO: checking for jerror.h" >&5
8322echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7205echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
8323if test "${ac_cv_header_jerror_h+set}" = set; then 7206if test "${ac_cv_header_jerror_h+set}" = set; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6 7207 echo $ECHO_N "(cached) $ECHO_C" >&6
8325fi
8326echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
8327echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
8328else
8329 # Is the header compilable?
8330echo "$as_me:$LINENO: checking jerror.h usability" >&5
8331echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
8332cat >conftest.$ac_ext <<_ACEOF
8333#line $LINENO "configure"
8334#include "confdefs.h"
8335$ac_includes_default
8336#include <jerror.h>
8337_ACEOF
8338rm -f conftest.$ac_objext
8339if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8340 (eval $ac_compile) 2>&5
8341 ac_status=$?
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); } &&
8344 { ac_try='test -s conftest.$ac_objext'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8346 (eval $ac_try) 2>&5
8347 ac_status=$?
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; }; then
8350 ac_header_compiler=yes
8351else 7208else
8352 echo "$as_me: failed program was:" >&5 7209 cat >conftest.$ac_ext <<_ACEOF
8353cat conftest.$ac_ext >&5 7210#line 7210 "configure"
8354ac_header_compiler=no
8355fi
8356rm -f conftest.$ac_objext conftest.$ac_ext
8357echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8358echo "${ECHO_T}$ac_header_compiler" >&6
8359
8360# Is the header present?
8361echo "$as_me:$LINENO: checking jerror.h presence" >&5
8362echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
8363cat >conftest.$ac_ext <<_ACEOF
8364#line $LINENO "configure"
8365#include "confdefs.h" 7211#include "confdefs.h"
8366#include <jerror.h> 7212#include <jerror.h>
8367_ACEOF 7213_ACEOF
8368if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7214if { (eval echo "$as_me:7214: \"$ac_cpp conftest.$ac_ext\"") >&5
8369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8370 ac_status=$? 7216 ac_status=$?
8371 egrep -v '^ *\+' conftest.er1 >conftest.err 7217 egrep -v '^ *\+' conftest.er1 >conftest.err
8372 rm -f conftest.er1 7218 rm -f conftest.er1
8373 cat conftest.err >&5 7219 cat conftest.err >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7220 echo "$as_me:7220: \$? = $ac_status" >&5
8375 (exit $ac_status); } >/dev/null; then 7221 (exit $ac_status); } >/dev/null; then
8376 if test -s conftest.err; then 7222 if test -s conftest.err; then
8377 ac_cpp_err=$ac_c_preproc_warn_flag 7223 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8382,44 +7228,18 @@ else
8382 ac_cpp_err=yes 7228 ac_cpp_err=yes
8383fi 7229fi
8384if test -z "$ac_cpp_err"; then 7230if test -z "$ac_cpp_err"; then
8385 ac_header_preproc=yes 7231 ac_cv_header_jerror_h=yes
8386else 7232else
8387 echo "$as_me: failed program was:" >&5 7233 echo "$as_me: failed program was:" >&5
8388 cat conftest.$ac_ext >&5 7234 cat conftest.$ac_ext >&5
8389 ac_header_preproc=no 7235 ac_cv_header_jerror_h=no
8390fi 7236fi
8391rm -f conftest.err conftest.$ac_ext 7237rm -f conftest.err conftest.$ac_ext
8392echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8393echo "${ECHO_T}$ac_header_preproc" >&6
8394
8395# So? What about this header?
8396case $ac_header_compiler:$ac_header_preproc in
8397 yes:no )
8398 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
8399echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8400 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
8401echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};;
8402 no:yes )
8403 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
8404echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
8405 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
8406echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
8407 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
8408echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};;
8409esac
8410echo "$as_me:$LINENO: checking for jerror.h" >&5
8411echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
8412if test "${ac_cv_header_jerror_h+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8414else
8415 ac_cv_header_jerror_h=$ac_header_preproc
8416fi 7238fi
8417echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 7239echo "$as_me:7239: result: $ac_cv_header_jerror_h" >&5
8418echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7240echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
8419
8420fi
8421if test $ac_cv_header_jerror_h = yes; then 7241if test $ac_cv_header_jerror_h = yes; then
8422 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 7242 echo "$as_me:7242: checking for jpeg_destroy_compress in -ljpeg" >&5
8423echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7243echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
8424if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7244if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
8425 echo $ECHO_N "(cached) $ECHO_C" >&6 7245 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8427,7 +7247,7 @@ else
8427 ac_check_lib_save_LIBS=$LIBS 7247 ac_check_lib_save_LIBS=$LIBS
8428LIBS="-ljpeg $LIBS" 7248LIBS="-ljpeg $LIBS"
8429cat >conftest.$ac_ext <<_ACEOF 7249cat >conftest.$ac_ext <<_ACEOF
8430#line $LINENO "configure" 7250#line 7250 "configure"
8431#include "confdefs.h" 7251#include "confdefs.h"
8432 7252
8433/* Override any gcc2 internal prototype to avoid an error. */ 7253/* Override any gcc2 internal prototype to avoid an error. */
@@ -8437,12 +7257,6 @@ extern "C"
8437/* We use char because int might match the return type of a gcc2 7257/* We use char because int might match the return type of a gcc2
8438 builtin and then its argument prototype would still apply. */ 7258 builtin and then its argument prototype would still apply. */
8439char jpeg_destroy_compress (); 7259char jpeg_destroy_compress ();
8440#ifdef F77_DUMMY_MAIN
8441# ifdef __cplusplus
8442 extern "C"
8443# endif
8444 int F77_DUMMY_MAIN() { return 1; }
8445#endif
8446int 7260int
8447main () 7261main ()
8448{ 7262{
@@ -8452,16 +7266,16 @@ jpeg_destroy_compress ();
8452} 7266}
8453_ACEOF 7267_ACEOF
8454rm -f conftest.$ac_objext conftest$ac_exeext 7268rm -f conftest.$ac_objext conftest$ac_exeext
8455if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7269if { (eval echo "$as_me:7269: \"$ac_link\"") >&5
8456 (eval $ac_link) 2>&5 7270 (eval $ac_link) 2>&5
8457 ac_status=$? 7271 ac_status=$?
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7272 echo "$as_me:7272: \$? = $ac_status" >&5
8459 (exit $ac_status); } && 7273 (exit $ac_status); } &&
8460 { ac_try='test -s conftest$ac_exeext' 7274 { ac_try='test -s conftest$ac_exeext'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7275 { (eval echo "$as_me:7275: \"$ac_try\"") >&5
8462 (eval $ac_try) 2>&5 7276 (eval $ac_try) 2>&5
8463 ac_status=$? 7277 ac_status=$?
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7278 echo "$as_me:7278: \$? = $ac_status" >&5
8465 (exit $ac_status); }; }; then 7279 (exit $ac_status); }; }; then
8466 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7280 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
8467else 7281else
@@ -8472,7 +7286,7 @@ fi
8472rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7286rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8473LIBS=$ac_check_lib_save_LIBS 7287LIBS=$ac_check_lib_save_LIBS
8474fi 7288fi
8475echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7289echo "$as_me:7289: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
8476echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7290echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
8477if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7291if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
8478 HAVE_JPEG=yes 7292 HAVE_JPEG=yes
@@ -8480,17 +7294,15 @@ fi
8480 7294
8481fi 7295fi
8482 7296
8483
8484 fi 7297 fi
8485 7298
8486
8487 if test "${HAVE_JPEG}" = "yes"; then 7299 if test "${HAVE_JPEG}" = "yes"; then
8488 cat >>confdefs.h <<\_ACEOF 7300 cat >>confdefs.h <<\EOF
8489#define HAVE_JPEG 1 7301#define HAVE_JPEG 1
8490_ACEOF 7302EOF
8491 7303
8492 cat >conftest.$ac_ext <<_ACEOF 7304 cat >conftest.$ac_ext <<_ACEOF
8493#line $LINENO "configure" 7305#line 7305 "configure"
8494#include "confdefs.h" 7306#include "confdefs.h"
8495 #include <jpeglib.h> 7307 #include <jpeglib.h>
8496 version=JPEG_LIB_VERSION 7308 version=JPEG_LIB_VERSION
@@ -8498,12 +7310,12 @@ _ACEOF
8498_ACEOF 7310_ACEOF
8499if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7311if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8500 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then 7312 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
8501 cat >>confdefs.h <<\_ACEOF 7313 cat >>confdefs.h <<\EOF
8502#define HAVE_JPEG 1 7314#define HAVE_JPEG 1
8503_ACEOF 7315EOF
8504 7316
8505else 7317else
8506 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 7318 { echo "$as_me:7318: WARNING: libjpeg found, but not version 6b or later" >&5
8507echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 7319echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
8508 HAVE_JPEG=no 7320 HAVE_JPEG=no
8509fi 7321fi
@@ -8516,61 +7328,23 @@ fi
8516HAVE_PNG=no 7328HAVE_PNG=no
8517if test "${HAVE_X11}" = "yes"; then 7329if test "${HAVE_X11}" = "yes"; then
8518 if test "${with_png}" != "no"; then 7330 if test "${with_png}" != "no"; then
8519 if test "${ac_cv_header_png_h+set}" = set; then 7331 echo "$as_me:7331: checking for png.h" >&5
8520 echo "$as_me:$LINENO: checking for png.h" >&5
8521echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7332echo $ECHO_N "checking for png.h... $ECHO_C" >&6
8522if test "${ac_cv_header_png_h+set}" = set; then 7333if test "${ac_cv_header_png_h+set}" = set; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6 7334 echo $ECHO_N "(cached) $ECHO_C" >&6
8524fi
8525echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
8526echo "${ECHO_T}$ac_cv_header_png_h" >&6
8527else 7335else
8528 # Is the header compilable? 7336 cat >conftest.$ac_ext <<_ACEOF
8529echo "$as_me:$LINENO: checking png.h usability" >&5 7337#line 7337 "configure"
8530echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
8531cat >conftest.$ac_ext <<_ACEOF
8532#line $LINENO "configure"
8533#include "confdefs.h"
8534$ac_includes_default
8535#include <png.h>
8536_ACEOF
8537rm -f conftest.$ac_objext
8538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8539 (eval $ac_compile) 2>&5
8540 ac_status=$?
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); } &&
8543 { ac_try='test -s conftest.$ac_objext'
8544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8545 (eval $ac_try) 2>&5
8546 ac_status=$?
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); }; }; then
8549 ac_header_compiler=yes
8550else
8551 echo "$as_me: failed program was:" >&5
8552cat conftest.$ac_ext >&5
8553ac_header_compiler=no
8554fi
8555rm -f conftest.$ac_objext conftest.$ac_ext
8556echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8557echo "${ECHO_T}$ac_header_compiler" >&6
8558
8559# Is the header present?
8560echo "$as_me:$LINENO: checking png.h presence" >&5
8561echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
8562cat >conftest.$ac_ext <<_ACEOF
8563#line $LINENO "configure"
8564#include "confdefs.h" 7338#include "confdefs.h"
8565#include <png.h> 7339#include <png.h>
8566_ACEOF 7340_ACEOF
8567if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7341if { (eval echo "$as_me:7341: \"$ac_cpp conftest.$ac_ext\"") >&5
8568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8569 ac_status=$? 7343 ac_status=$?
8570 egrep -v '^ *\+' conftest.er1 >conftest.err 7344 egrep -v '^ *\+' conftest.er1 >conftest.err
8571 rm -f conftest.er1 7345 rm -f conftest.er1
8572 cat conftest.err >&5 7346 cat conftest.err >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7347 echo "$as_me:7347: \$? = $ac_status" >&5
8574 (exit $ac_status); } >/dev/null; then 7348 (exit $ac_status); } >/dev/null; then
8575 if test -s conftest.err; then 7349 if test -s conftest.err; then
8576 ac_cpp_err=$ac_c_preproc_warn_flag 7350 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8581,44 +7355,18 @@ else
8581 ac_cpp_err=yes 7355 ac_cpp_err=yes
8582fi 7356fi
8583if test -z "$ac_cpp_err"; then 7357if test -z "$ac_cpp_err"; then
8584 ac_header_preproc=yes 7358 ac_cv_header_png_h=yes
8585else 7359else
8586 echo "$as_me: failed program was:" >&5 7360 echo "$as_me: failed program was:" >&5
8587 cat conftest.$ac_ext >&5 7361 cat conftest.$ac_ext >&5
8588 ac_header_preproc=no 7362 ac_cv_header_png_h=no
8589fi 7363fi
8590rm -f conftest.err conftest.$ac_ext 7364rm -f conftest.err conftest.$ac_ext
8591echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8592echo "${ECHO_T}$ac_header_preproc" >&6
8593
8594# So? What about this header?
8595case $ac_header_compiler:$ac_header_preproc in
8596 yes:no )
8597 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
8598echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
8600echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
8601 no:yes )
8602 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
8603echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
8604 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
8605echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
8606 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
8607echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
8608esac
8609echo "$as_me:$LINENO: checking for png.h" >&5
8610echo $ECHO_N "checking for png.h... $ECHO_C" >&6
8611if test "${ac_cv_header_png_h+set}" = set; then
8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8613else
8614 ac_cv_header_png_h=$ac_header_preproc
8615fi 7365fi
8616echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5 7366echo "$as_me:7366: result: $ac_cv_header_png_h" >&5
8617echo "${ECHO_T}$ac_cv_header_png_h" >&6 7367echo "${ECHO_T}$ac_cv_header_png_h" >&6
8618
8619fi
8620if test $ac_cv_header_png_h = yes; then 7368if test $ac_cv_header_png_h = yes; then
8621 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 7369 echo "$as_me:7369: checking for png_get_channels in -lpng" >&5
8622echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7370echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
8623if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7371if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6 7372 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8626,7 +7374,7 @@ else
8626 ac_check_lib_save_LIBS=$LIBS 7374 ac_check_lib_save_LIBS=$LIBS
8627LIBS="-lpng -lz -lm $LIBS" 7375LIBS="-lpng -lz -lm $LIBS"
8628cat >conftest.$ac_ext <<_ACEOF 7376cat >conftest.$ac_ext <<_ACEOF
8629#line $LINENO "configure" 7377#line 7377 "configure"
8630#include "confdefs.h" 7378#include "confdefs.h"
8631 7379
8632/* Override any gcc2 internal prototype to avoid an error. */ 7380/* Override any gcc2 internal prototype to avoid an error. */
@@ -8636,12 +7384,6 @@ extern "C"
8636/* We use char because int might match the return type of a gcc2 7384/* We use char because int might match the return type of a gcc2
8637 builtin and then its argument prototype would still apply. */ 7385 builtin and then its argument prototype would still apply. */
8638char png_get_channels (); 7386char png_get_channels ();
8639#ifdef F77_DUMMY_MAIN
8640# ifdef __cplusplus
8641 extern "C"
8642# endif
8643 int F77_DUMMY_MAIN() { return 1; }
8644#endif
8645int 7387int
8646main () 7388main ()
8647{ 7389{
@@ -8651,16 +7393,16 @@ png_get_channels ();
8651} 7393}
8652_ACEOF 7394_ACEOF
8653rm -f conftest.$ac_objext conftest$ac_exeext 7395rm -f conftest.$ac_objext conftest$ac_exeext
8654if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7396if { (eval echo "$as_me:7396: \"$ac_link\"") >&5
8655 (eval $ac_link) 2>&5 7397 (eval $ac_link) 2>&5
8656 ac_status=$? 7398 ac_status=$?
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7399 echo "$as_me:7399: \$? = $ac_status" >&5
8658 (exit $ac_status); } && 7400 (exit $ac_status); } &&
8659 { ac_try='test -s conftest$ac_exeext' 7401 { ac_try='test -s conftest$ac_exeext'
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7402 { (eval echo "$as_me:7402: \"$ac_try\"") >&5
8661 (eval $ac_try) 2>&5 7403 (eval $ac_try) 2>&5
8662 ac_status=$? 7404 ac_status=$?
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7405 echo "$as_me:7405: \$? = $ac_status" >&5
8664 (exit $ac_status); }; }; then 7406 (exit $ac_status); }; }; then
8665 ac_cv_lib_png_png_get_channels=yes 7407 ac_cv_lib_png_png_get_channels=yes
8666else 7408else
@@ -8671,7 +7413,7 @@ fi
8671rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7413rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8672LIBS=$ac_check_lib_save_LIBS 7414LIBS=$ac_check_lib_save_LIBS
8673fi 7415fi
8674echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 7416echo "$as_me:7416: result: $ac_cv_lib_png_png_get_channels" >&5
8675echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7417echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
8676if test $ac_cv_lib_png_png_get_channels = yes; then 7418if test $ac_cv_lib_png_png_get_channels = yes; then
8677 HAVE_PNG=yes 7419 HAVE_PNG=yes
@@ -8679,14 +7421,13 @@ fi
8679 7421
8680fi 7422fi
8681 7423
8682
8683 fi 7424 fi
8684 7425
8685 if test "${HAVE_PNG}" = "yes"; then 7426 if test "${HAVE_PNG}" = "yes"; then
8686 7427
8687cat >>confdefs.h <<\_ACEOF 7428cat >>confdefs.h <<\EOF
8688#define HAVE_PNG 1 7429#define HAVE_PNG 1
8689_ACEOF 7430EOF
8690 7431
8691 fi 7432 fi
8692fi 7433fi
@@ -8695,61 +7436,23 @@ fi
8695HAVE_TIFF=no 7436HAVE_TIFF=no
8696if test "${HAVE_X11}" = "yes"; then 7437if test "${HAVE_X11}" = "yes"; then
8697 if test "${with_tiff}" != "no"; then 7438 if test "${with_tiff}" != "no"; then
8698 if test "${ac_cv_header_tiffio_h+set}" = set; then 7439 echo "$as_me:7439: checking for tiffio.h" >&5
8699 echo "$as_me:$LINENO: checking for tiffio.h" >&5
8700echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7440echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
8701if test "${ac_cv_header_tiffio_h+set}" = set; then 7441if test "${ac_cv_header_tiffio_h+set}" = set; then
8702 echo $ECHO_N "(cached) $ECHO_C" >&6 7442 echo $ECHO_N "(cached) $ECHO_C" >&6
8703fi
8704echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
8705echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
8706else 7443else
8707 # Is the header compilable? 7444 cat >conftest.$ac_ext <<_ACEOF
8708echo "$as_me:$LINENO: checking tiffio.h usability" >&5 7445#line 7445 "configure"
8709echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
8710cat >conftest.$ac_ext <<_ACEOF
8711#line $LINENO "configure"
8712#include "confdefs.h"
8713$ac_includes_default
8714#include <tiffio.h>
8715_ACEOF
8716rm -f conftest.$ac_objext
8717if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8718 (eval $ac_compile) 2>&5
8719 ac_status=$?
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } &&
8722 { ac_try='test -s conftest.$ac_objext'
8723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724 (eval $ac_try) 2>&5
8725 ac_status=$?
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }; }; then
8728 ac_header_compiler=yes
8729else
8730 echo "$as_me: failed program was:" >&5
8731cat conftest.$ac_ext >&5
8732ac_header_compiler=no
8733fi
8734rm -f conftest.$ac_objext conftest.$ac_ext
8735echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8736echo "${ECHO_T}$ac_header_compiler" >&6
8737
8738# Is the header present?
8739echo "$as_me:$LINENO: checking tiffio.h presence" >&5
8740echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
8741cat >conftest.$ac_ext <<_ACEOF
8742#line $LINENO "configure"
8743#include "confdefs.h" 7446#include "confdefs.h"
8744#include <tiffio.h> 7447#include <tiffio.h>
8745_ACEOF 7448_ACEOF
8746if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7449if { (eval echo "$as_me:7449: \"$ac_cpp conftest.$ac_ext\"") >&5
8747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8748 ac_status=$? 7451 ac_status=$?
8749 egrep -v '^ *\+' conftest.er1 >conftest.err 7452 egrep -v '^ *\+' conftest.er1 >conftest.err
8750 rm -f conftest.er1 7453 rm -f conftest.er1
8751 cat conftest.err >&5 7454 cat conftest.err >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7455 echo "$as_me:7455: \$? = $ac_status" >&5
8753 (exit $ac_status); } >/dev/null; then 7456 (exit $ac_status); } >/dev/null; then
8754 if test -s conftest.err; then 7457 if test -s conftest.err; then
8755 ac_cpp_err=$ac_c_preproc_warn_flag 7458 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8760,47 +7463,21 @@ else
8760 ac_cpp_err=yes 7463 ac_cpp_err=yes
8761fi 7464fi
8762if test -z "$ac_cpp_err"; then 7465if test -z "$ac_cpp_err"; then
8763 ac_header_preproc=yes 7466 ac_cv_header_tiffio_h=yes
8764else 7467else
8765 echo "$as_me: failed program was:" >&5 7468 echo "$as_me: failed program was:" >&5
8766 cat conftest.$ac_ext >&5 7469 cat conftest.$ac_ext >&5
8767 ac_header_preproc=no 7470 ac_cv_header_tiffio_h=no
8768fi 7471fi
8769rm -f conftest.err conftest.$ac_ext 7472rm -f conftest.err conftest.$ac_ext
8770echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8771echo "${ECHO_T}$ac_header_preproc" >&6
8772
8773# So? What about this header?
8774case $ac_header_compiler:$ac_header_preproc in
8775 yes:no )
8776 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
8777echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8778 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
8779echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
8780 no:yes )
8781 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
8782echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
8783 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
8784echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
8785 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
8786echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
8787esac
8788echo "$as_me:$LINENO: checking for tiffio.h" >&5
8789echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
8790if test "${ac_cv_header_tiffio_h+set}" = set; then
8791 echo $ECHO_N "(cached) $ECHO_C" >&6
8792else
8793 ac_cv_header_tiffio_h=$ac_header_preproc
8794fi 7473fi
8795echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 7474echo "$as_me:7474: result: $ac_cv_header_tiffio_h" >&5
8796echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7475echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
8797
8798fi
8799if test $ac_cv_header_tiffio_h = yes; then 7476if test $ac_cv_header_tiffio_h = yes; then
8800 tifflibs="-lz -lm" 7477 tifflibs="-lz -lm"
8801 # At least one tiff package requires the jpeg library. 7478 # At least one tiff package requires the jpeg library.
8802 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7479 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
8803 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 7480 echo "$as_me:7480: checking for TIFFGetVersion in -ltiff" >&5
8804echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7481echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
8805if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7482if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
8806 echo $ECHO_N "(cached) $ECHO_C" >&6 7483 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8808,7 +7485,7 @@ else
8808 ac_check_lib_save_LIBS=$LIBS 7485 ac_check_lib_save_LIBS=$LIBS
8809LIBS="-ltiff $tifflibs $LIBS" 7486LIBS="-ltiff $tifflibs $LIBS"
8810cat >conftest.$ac_ext <<_ACEOF 7487cat >conftest.$ac_ext <<_ACEOF
8811#line $LINENO "configure" 7488#line 7488 "configure"
8812#include "confdefs.h" 7489#include "confdefs.h"
8813 7490
8814/* Override any gcc2 internal prototype to avoid an error. */ 7491/* Override any gcc2 internal prototype to avoid an error. */
@@ -8818,12 +7495,6 @@ extern "C"
8818/* We use char because int might match the return type of a gcc2 7495/* We use char because int might match the return type of a gcc2
8819 builtin and then its argument prototype would still apply. */ 7496 builtin and then its argument prototype would still apply. */
8820char TIFFGetVersion (); 7497char TIFFGetVersion ();
8821#ifdef F77_DUMMY_MAIN
8822# ifdef __cplusplus
8823 extern "C"
8824# endif
8825 int F77_DUMMY_MAIN() { return 1; }
8826#endif
8827int 7498int
8828main () 7499main ()
8829{ 7500{
@@ -8833,16 +7504,16 @@ TIFFGetVersion ();
8833} 7504}
8834_ACEOF 7505_ACEOF
8835rm -f conftest.$ac_objext conftest$ac_exeext 7506rm -f conftest.$ac_objext conftest$ac_exeext
8836if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7507if { (eval echo "$as_me:7507: \"$ac_link\"") >&5
8837 (eval $ac_link) 2>&5 7508 (eval $ac_link) 2>&5
8838 ac_status=$? 7509 ac_status=$?
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7510 echo "$as_me:7510: \$? = $ac_status" >&5
8840 (exit $ac_status); } && 7511 (exit $ac_status); } &&
8841 { ac_try='test -s conftest$ac_exeext' 7512 { ac_try='test -s conftest$ac_exeext'
8842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7513 { (eval echo "$as_me:7513: \"$ac_try\"") >&5
8843 (eval $ac_try) 2>&5 7514 (eval $ac_try) 2>&5
8844 ac_status=$? 7515 ac_status=$?
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7516 echo "$as_me:7516: \$? = $ac_status" >&5
8846 (exit $ac_status); }; }; then 7517 (exit $ac_status); }; }; then
8847 ac_cv_lib_tiff_TIFFGetVersion=yes 7518 ac_cv_lib_tiff_TIFFGetVersion=yes
8848else 7519else
@@ -8853,7 +7524,7 @@ fi
8853rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7524rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8854LIBS=$ac_check_lib_save_LIBS 7525LIBS=$ac_check_lib_save_LIBS
8855fi 7526fi
8856echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7527echo "$as_me:7527: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
8857echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7528echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
8858if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7529if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
8859 HAVE_TIFF=yes 7530 HAVE_TIFF=yes
@@ -8861,14 +7532,13 @@ fi
8861 7532
8862fi 7533fi
8863 7534
8864
8865 fi 7535 fi
8866 7536
8867 if test "${HAVE_TIFF}" = "yes"; then 7537 if test "${HAVE_TIFF}" = "yes"; then
8868 7538
8869cat >>confdefs.h <<\_ACEOF 7539cat >>confdefs.h <<\EOF
8870#define HAVE_TIFF 1 7540#define HAVE_TIFF 1
8871_ACEOF 7541EOF
8872 7542
8873 fi 7543 fi
8874fi 7544fi
@@ -8877,61 +7547,23 @@ fi
8877HAVE_GIF=no 7547HAVE_GIF=no
8878if test "${HAVE_X11}" = "yes"; then 7548if test "${HAVE_X11}" = "yes"; then
8879 if test "${with_gif}" != "no"; then 7549 if test "${with_gif}" != "no"; then
8880 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7550 echo "$as_me:7550: checking for gif_lib.h" >&5
8881 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
8882echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7551echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
8883if test "${ac_cv_header_gif_lib_h+set}" = set; then 7552if test "${ac_cv_header_gif_lib_h+set}" = set; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6 7553 echo $ECHO_N "(cached) $ECHO_C" >&6
8885fi
8886echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
8887echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
8888else 7554else
8889 # Is the header compilable? 7555 cat >conftest.$ac_ext <<_ACEOF
8890echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 7556#line 7556 "configure"
8891echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
8892cat >conftest.$ac_ext <<_ACEOF
8893#line $LINENO "configure"
8894#include "confdefs.h"
8895$ac_includes_default
8896#include <gif_lib.h>
8897_ACEOF
8898rm -f conftest.$ac_objext
8899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8900 (eval $ac_compile) 2>&5
8901 ac_status=$?
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); } &&
8904 { ac_try='test -s conftest.$ac_objext'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8906 (eval $ac_try) 2>&5
8907 ac_status=$?
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; }; then
8910 ac_header_compiler=yes
8911else
8912 echo "$as_me: failed program was:" >&5
8913cat conftest.$ac_ext >&5
8914ac_header_compiler=no
8915fi
8916rm -f conftest.$ac_objext conftest.$ac_ext
8917echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8918echo "${ECHO_T}$ac_header_compiler" >&6
8919
8920# Is the header present?
8921echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
8922echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
8923cat >conftest.$ac_ext <<_ACEOF
8924#line $LINENO "configure"
8925#include "confdefs.h" 7557#include "confdefs.h"
8926#include <gif_lib.h> 7558#include <gif_lib.h>
8927_ACEOF 7559_ACEOF
8928if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7560if { (eval echo "$as_me:7560: \"$ac_cpp conftest.$ac_ext\"") >&5
8929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8930 ac_status=$? 7562 ac_status=$?
8931 egrep -v '^ *\+' conftest.er1 >conftest.err 7563 egrep -v '^ *\+' conftest.er1 >conftest.err
8932 rm -f conftest.er1 7564 rm -f conftest.er1
8933 cat conftest.err >&5 7565 cat conftest.err >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7566 echo "$as_me:7566: \$? = $ac_status" >&5
8935 (exit $ac_status); } >/dev/null; then 7567 (exit $ac_status); } >/dev/null; then
8936 if test -s conftest.err; then 7568 if test -s conftest.err; then
8937 ac_cpp_err=$ac_c_preproc_warn_flag 7569 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -8942,46 +7574,20 @@ else
8942 ac_cpp_err=yes 7574 ac_cpp_err=yes
8943fi 7575fi
8944if test -z "$ac_cpp_err"; then 7576if test -z "$ac_cpp_err"; then
8945 ac_header_preproc=yes 7577 ac_cv_header_gif_lib_h=yes
8946else 7578else
8947 echo "$as_me: failed program was:" >&5 7579 echo "$as_me: failed program was:" >&5
8948 cat conftest.$ac_ext >&5 7580 cat conftest.$ac_ext >&5
8949 ac_header_preproc=no 7581 ac_cv_header_gif_lib_h=no
8950fi 7582fi
8951rm -f conftest.err conftest.$ac_ext 7583rm -f conftest.err conftest.$ac_ext
8952echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8953echo "${ECHO_T}$ac_header_preproc" >&6
8954
8955# So? What about this header?
8956case $ac_header_compiler:$ac_header_preproc in
8957 yes:no )
8958 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
8959echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8960 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
8961echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};;
8962 no:yes )
8963 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
8964echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
8965 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
8966echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
8967 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
8968echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};;
8969esac
8970echo "$as_me:$LINENO: checking for gif_lib.h" >&5
8971echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
8972if test "${ac_cv_header_gif_lib_h+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8974else
8975 ac_cv_header_gif_lib_h=$ac_header_preproc
8976fi 7584fi
8977echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 7585echo "$as_me:7585: result: $ac_cv_header_gif_lib_h" >&5
8978echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7586echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
8979
8980fi
8981if test $ac_cv_header_gif_lib_h = yes; then 7587if test $ac_cv_header_gif_lib_h = yes; then
8982 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 7588 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
8983# Earlier versions can crash Emacs. 7589# Earlier versions can crash Emacs.
8984 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 7590 echo "$as_me:7590: checking for EGifPutExtensionLast in -lungif" >&5
8985echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 7591echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
8986if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 7592if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6 7593 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8989,7 +7595,7 @@ else
8989 ac_check_lib_save_LIBS=$LIBS 7595 ac_check_lib_save_LIBS=$LIBS
8990LIBS="-lungif $LIBS" 7596LIBS="-lungif $LIBS"
8991cat >conftest.$ac_ext <<_ACEOF 7597cat >conftest.$ac_ext <<_ACEOF
8992#line $LINENO "configure" 7598#line 7598 "configure"
8993#include "confdefs.h" 7599#include "confdefs.h"
8994 7600
8995/* Override any gcc2 internal prototype to avoid an error. */ 7601/* Override any gcc2 internal prototype to avoid an error. */
@@ -8999,12 +7605,6 @@ extern "C"
8999/* We use char because int might match the return type of a gcc2 7605/* We use char because int might match the return type of a gcc2
9000 builtin and then its argument prototype would still apply. */ 7606 builtin and then its argument prototype would still apply. */
9001char EGifPutExtensionLast (); 7607char EGifPutExtensionLast ();
9002#ifdef F77_DUMMY_MAIN
9003# ifdef __cplusplus
9004 extern "C"
9005# endif
9006 int F77_DUMMY_MAIN() { return 1; }
9007#endif
9008int 7608int
9009main () 7609main ()
9010{ 7610{
@@ -9014,16 +7614,16 @@ EGifPutExtensionLast ();
9014} 7614}
9015_ACEOF 7615_ACEOF
9016rm -f conftest.$ac_objext conftest$ac_exeext 7616rm -f conftest.$ac_objext conftest$ac_exeext
9017if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7617if { (eval echo "$as_me:7617: \"$ac_link\"") >&5
9018 (eval $ac_link) 2>&5 7618 (eval $ac_link) 2>&5
9019 ac_status=$? 7619 ac_status=$?
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7620 echo "$as_me:7620: \$? = $ac_status" >&5
9021 (exit $ac_status); } && 7621 (exit $ac_status); } &&
9022 { ac_try='test -s conftest$ac_exeext' 7622 { ac_try='test -s conftest$ac_exeext'
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7623 { (eval echo "$as_me:7623: \"$ac_try\"") >&5
9024 (eval $ac_try) 2>&5 7624 (eval $ac_try) 2>&5
9025 ac_status=$? 7625 ac_status=$?
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7626 echo "$as_me:7626: \$? = $ac_status" >&5
9027 (exit $ac_status); }; }; then 7627 (exit $ac_status); }; }; then
9028 ac_cv_lib_ungif_EGifPutExtensionLast=yes 7628 ac_cv_lib_ungif_EGifPutExtensionLast=yes
9029else 7629else
@@ -9034,7 +7634,7 @@ fi
9034rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7634rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9035LIBS=$ac_check_lib_save_LIBS 7635LIBS=$ac_check_lib_save_LIBS
9036fi 7636fi
9037echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 7637echo "$as_me:7637: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
9038echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 7638echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
9039if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 7639if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
9040 HAVE_GIF=yes 7640 HAVE_GIF=yes
@@ -9042,14 +7642,13 @@ fi
9042 7642
9043fi 7643fi
9044 7644
9045
9046 fi 7645 fi
9047 7646
9048 if test "${HAVE_GIF}" = "yes"; then 7647 if test "${HAVE_GIF}" = "yes"; then
9049 7648
9050cat >>confdefs.h <<\_ACEOF 7649cat >>confdefs.h <<\EOF
9051#define HAVE_GIF 1 7650#define HAVE_GIF 1
9052_ACEOF 7651EOF
9053 7652
9054 fi 7653 fi
9055fi 7654fi
@@ -9057,61 +7656,23 @@ fi
9057### Use Mac OS X Carbon API to implement GUI. 7656### Use Mac OS X Carbon API to implement GUI.
9058HAVE_CARBON=no 7657HAVE_CARBON=no
9059if test "${with_carbon}" != "no"; then 7658if test "${with_carbon}" != "no"; then
9060 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 7659 echo "$as_me:7659: checking for Carbon/Carbon.h" >&5
9061 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
9062echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 7660echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
9063if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 7661if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
9064 echo $ECHO_N "(cached) $ECHO_C" >&6 7662 echo $ECHO_N "(cached) $ECHO_C" >&6
9065fi
9066echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
9067echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
9068else 7663else
9069 # Is the header compilable? 7664 cat >conftest.$ac_ext <<_ACEOF
9070echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 7665#line 7665 "configure"
9071echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
9072cat >conftest.$ac_ext <<_ACEOF
9073#line $LINENO "configure"
9074#include "confdefs.h"
9075$ac_includes_default
9076#include <Carbon/Carbon.h>
9077_ACEOF
9078rm -f conftest.$ac_objext
9079if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9080 (eval $ac_compile) 2>&5
9081 ac_status=$?
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); } &&
9084 { ac_try='test -s conftest.$ac_objext'
9085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9086 (eval $ac_try) 2>&5
9087 ac_status=$?
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); }; }; then
9090 ac_header_compiler=yes
9091else
9092 echo "$as_me: failed program was:" >&5
9093cat conftest.$ac_ext >&5
9094ac_header_compiler=no
9095fi
9096rm -f conftest.$ac_objext conftest.$ac_ext
9097echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9098echo "${ECHO_T}$ac_header_compiler" >&6
9099
9100# Is the header present?
9101echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
9102echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
9103cat >conftest.$ac_ext <<_ACEOF
9104#line $LINENO "configure"
9105#include "confdefs.h" 7666#include "confdefs.h"
9106#include <Carbon/Carbon.h> 7667#include <Carbon/Carbon.h>
9107_ACEOF 7668_ACEOF
9108if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7669if { (eval echo "$as_me:7669: \"$ac_cpp conftest.$ac_ext\"") >&5
9109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9110 ac_status=$? 7671 ac_status=$?
9111 egrep -v '^ *\+' conftest.er1 >conftest.err 7672 egrep -v '^ *\+' conftest.er1 >conftest.err
9112 rm -f conftest.er1 7673 rm -f conftest.er1
9113 cat conftest.err >&5 7674 cat conftest.err >&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7675 echo "$as_me:7675: \$? = $ac_status" >&5
9115 (exit $ac_status); } >/dev/null; then 7676 (exit $ac_status); } >/dev/null; then
9116 if test -s conftest.err; then 7677 if test -s conftest.err; then
9117 ac_cpp_err=$ac_c_preproc_warn_flag 7678 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9122,115 +7683,50 @@ else
9122 ac_cpp_err=yes 7683 ac_cpp_err=yes
9123fi 7684fi
9124if test -z "$ac_cpp_err"; then 7685if test -z "$ac_cpp_err"; then
9125 ac_header_preproc=yes 7686 ac_cv_header_Carbon_Carbon_h=yes
9126else 7687else
9127 echo "$as_me: failed program was:" >&5 7688 echo "$as_me: failed program was:" >&5
9128 cat conftest.$ac_ext >&5 7689 cat conftest.$ac_ext >&5
9129 ac_header_preproc=no 7690 ac_cv_header_Carbon_Carbon_h=no
9130fi 7691fi
9131rm -f conftest.err conftest.$ac_ext 7692rm -f conftest.err conftest.$ac_ext
9132echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9133echo "${ECHO_T}$ac_header_preproc" >&6
9134
9135# So? What about this header?
9136case $ac_header_compiler:$ac_header_preproc in
9137 yes:no )
9138 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
9139echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9140 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
9141echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;};;
9142 no:yes )
9143 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
9144echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
9145 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
9146echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
9147 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
9148echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;};;
9149esac
9150echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
9151echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
9152if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
9153 echo $ECHO_N "(cached) $ECHO_C" >&6
9154else
9155 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
9156fi 7693fi
9157echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 7694echo "$as_me:7694: result: $ac_cv_header_Carbon_Carbon_h" >&5
9158echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 7695echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
9159
9160fi
9161if test $ac_cv_header_Carbon_Carbon_h = yes; then 7696if test $ac_cv_header_Carbon_Carbon_h = yes; then
9162 HAVE_CARBON=yes 7697 HAVE_CARBON=yes
9163fi 7698fi
9164 7699
9165
9166fi 7700fi
9167 7701
9168if test "${HAVE_CARBON}" = "yes"; then 7702if test "${HAVE_CARBON}" = "yes"; then
9169 7703
9170cat >>confdefs.h <<\_ACEOF 7704cat >>confdefs.h <<\EOF
9171#define HAVE_CARBON 1 7705#define HAVE_CARBON 1
9172_ACEOF 7706EOF
9173 7707
9174fi 7708fi
9175 7709
9176### Use session management (-lSM -lICE) if available 7710### Use session management (-lSM -lICE) if available
9177HAVE_X_SM=no 7711HAVE_X_SM=no
9178if test "${HAVE_X11}" = "yes"; then 7712if test "${HAVE_X11}" = "yes"; then
9179 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 7713 echo "$as_me:7713: checking for X11/SM/SMlib.h" >&5
9180 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
9181echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 7714echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
9182if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 7715if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
9183 echo $ECHO_N "(cached) $ECHO_C" >&6 7716 echo $ECHO_N "(cached) $ECHO_C" >&6
9184fi
9185echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
9186echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
9187else
9188 # Is the header compilable?
9189echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
9190echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
9191cat >conftest.$ac_ext <<_ACEOF
9192#line $LINENO "configure"
9193#include "confdefs.h"
9194$ac_includes_default
9195#include <X11/SM/SMlib.h>
9196_ACEOF
9197rm -f conftest.$ac_objext
9198if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9199 (eval $ac_compile) 2>&5
9200 ac_status=$?
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } &&
9203 { ac_try='test -s conftest.$ac_objext'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 (eval $ac_try) 2>&5
9206 ac_status=$?
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; }; then
9209 ac_header_compiler=yes
9210else 7717else
9211 echo "$as_me: failed program was:" >&5 7718 cat >conftest.$ac_ext <<_ACEOF
9212cat conftest.$ac_ext >&5 7719#line 7719 "configure"
9213ac_header_compiler=no
9214fi
9215rm -f conftest.$ac_objext conftest.$ac_ext
9216echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9217echo "${ECHO_T}$ac_header_compiler" >&6
9218
9219# Is the header present?
9220echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
9221echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
9222cat >conftest.$ac_ext <<_ACEOF
9223#line $LINENO "configure"
9224#include "confdefs.h" 7720#include "confdefs.h"
9225#include <X11/SM/SMlib.h> 7721#include <X11/SM/SMlib.h>
9226_ACEOF 7722_ACEOF
9227if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7723if { (eval echo "$as_me:7723: \"$ac_cpp conftest.$ac_ext\"") >&5
9228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9229 ac_status=$? 7725 ac_status=$?
9230 egrep -v '^ *\+' conftest.er1 >conftest.err 7726 egrep -v '^ *\+' conftest.er1 >conftest.err
9231 rm -f conftest.er1 7727 rm -f conftest.er1
9232 cat conftest.err >&5 7728 cat conftest.err >&5
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7729 echo "$as_me:7729: \$? = $ac_status" >&5
9234 (exit $ac_status); } >/dev/null; then 7730 (exit $ac_status); } >/dev/null; then
9235 if test -s conftest.err; then 7731 if test -s conftest.err; then
9236 ac_cpp_err=$ac_c_preproc_warn_flag 7732 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -9241,44 +7737,18 @@ else
9241 ac_cpp_err=yes 7737 ac_cpp_err=yes
9242fi 7738fi
9243if test -z "$ac_cpp_err"; then 7739if test -z "$ac_cpp_err"; then
9244 ac_header_preproc=yes 7740 ac_cv_header_X11_SM_SMlib_h=yes
9245else 7741else
9246 echo "$as_me: failed program was:" >&5 7742 echo "$as_me: failed program was:" >&5
9247 cat conftest.$ac_ext >&5 7743 cat conftest.$ac_ext >&5
9248 ac_header_preproc=no 7744 ac_cv_header_X11_SM_SMlib_h=no
9249fi 7745fi
9250rm -f conftest.err conftest.$ac_ext 7746rm -f conftest.err conftest.$ac_ext
9251echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9252echo "${ECHO_T}$ac_header_preproc" >&6
9253
9254# So? What about this header?
9255case $ac_header_compiler:$ac_header_preproc in
9256 yes:no )
9257 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
9258echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9259 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
9260echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};;
9261 no:yes )
9262 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
9263echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
9264 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
9265echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
9266 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
9267echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};;
9268esac
9269echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
9270echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
9271if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
9272 echo $ECHO_N "(cached) $ECHO_C" >&6
9273else
9274 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
9275fi 7747fi
9276echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 7748echo "$as_me:7748: result: $ac_cv_header_X11_SM_SMlib_h" >&5
9277echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 7749echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
9278
9279fi
9280if test $ac_cv_header_X11_SM_SMlib_h = yes; then 7750if test $ac_cv_header_X11_SM_SMlib_h = yes; then
9281 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 7751 echo "$as_me:7751: checking for SmcOpenConnection in -lSM" >&5
9282echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 7752echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
9283if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 7753if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6 7754 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9286,7 +7756,7 @@ else
9286 ac_check_lib_save_LIBS=$LIBS 7756 ac_check_lib_save_LIBS=$LIBS
9287LIBS="-lSM $LIBS" 7757LIBS="-lSM $LIBS"
9288cat >conftest.$ac_ext <<_ACEOF 7758cat >conftest.$ac_ext <<_ACEOF
9289#line $LINENO "configure" 7759#line 7759 "configure"
9290#include "confdefs.h" 7760#include "confdefs.h"
9291 7761
9292/* Override any gcc2 internal prototype to avoid an error. */ 7762/* Override any gcc2 internal prototype to avoid an error. */
@@ -9296,12 +7766,6 @@ extern "C"
9296/* We use char because int might match the return type of a gcc2 7766/* We use char because int might match the return type of a gcc2
9297 builtin and then its argument prototype would still apply. */ 7767 builtin and then its argument prototype would still apply. */
9298char SmcOpenConnection (); 7768char SmcOpenConnection ();
9299#ifdef F77_DUMMY_MAIN
9300# ifdef __cplusplus
9301 extern "C"
9302# endif
9303 int F77_DUMMY_MAIN() { return 1; }
9304#endif
9305int 7769int
9306main () 7770main ()
9307{ 7771{
@@ -9311,16 +7775,16 @@ SmcOpenConnection ();
9311} 7775}
9312_ACEOF 7776_ACEOF
9313rm -f conftest.$ac_objext conftest$ac_exeext 7777rm -f conftest.$ac_objext conftest$ac_exeext
9314if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7778if { (eval echo "$as_me:7778: \"$ac_link\"") >&5
9315 (eval $ac_link) 2>&5 7779 (eval $ac_link) 2>&5
9316 ac_status=$? 7780 ac_status=$?
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7781 echo "$as_me:7781: \$? = $ac_status" >&5
9318 (exit $ac_status); } && 7782 (exit $ac_status); } &&
9319 { ac_try='test -s conftest$ac_exeext' 7783 { ac_try='test -s conftest$ac_exeext'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7784 { (eval echo "$as_me:7784: \"$ac_try\"") >&5
9321 (eval $ac_try) 2>&5 7785 (eval $ac_try) 2>&5
9322 ac_status=$? 7786 ac_status=$?
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7787 echo "$as_me:7787: \$? = $ac_status" >&5
9324 (exit $ac_status); }; }; then 7788 (exit $ac_status); }; }; then
9325 ac_cv_lib_SM_SmcOpenConnection=yes 7789 ac_cv_lib_SM_SmcOpenConnection=yes
9326else 7790else
@@ -9331,7 +7795,7 @@ fi
9331rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7795rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9332LIBS=$ac_check_lib_save_LIBS 7796LIBS=$ac_check_lib_save_LIBS
9333fi 7797fi
9334echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 7798echo "$as_me:7798: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
9335echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 7799echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
9336if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 7800if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
9337 HAVE_X_SM=yes 7801 HAVE_X_SM=yes
@@ -9341,13 +7805,11 @@ fi
9341 7805
9342fi 7806fi
9343 7807
9344
9345
9346 if test "${HAVE_X_SM}" = "yes"; then 7808 if test "${HAVE_X_SM}" = "yes"; then
9347 7809
9348cat >>confdefs.h <<\_ACEOF 7810cat >>confdefs.h <<\EOF
9349#define HAVE_X_SM 1 7811#define HAVE_X_SM 1
9350_ACEOF 7812EOF
9351 7813
9352 case "$LIBS" in 7814 case "$LIBS" in
9353 *-lSM*) ;; 7815 *-lSM*) ;;
@@ -9357,21 +7819,15 @@ _ACEOF
9357fi 7819fi
9358 7820
9359# If netdb.h doesn't declare h_errno, we must declare it by hand. 7821# If netdb.h doesn't declare h_errno, we must declare it by hand.
9360echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 7822echo "$as_me:7822: checking whether netdb declares h_errno" >&5
9361echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7823echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
9362if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7824if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
9363 echo $ECHO_N "(cached) $ECHO_C" >&6 7825 echo $ECHO_N "(cached) $ECHO_C" >&6
9364else 7826else
9365 cat >conftest.$ac_ext <<_ACEOF 7827 cat >conftest.$ac_ext <<_ACEOF
9366#line $LINENO "configure" 7828#line 7828 "configure"
9367#include "confdefs.h" 7829#include "confdefs.h"
9368#include <netdb.h> 7830#include <netdb.h>
9369#ifdef F77_DUMMY_MAIN
9370# ifdef __cplusplus
9371 extern "C"
9372# endif
9373 int F77_DUMMY_MAIN() { return 1; }
9374#endif
9375int 7831int
9376main () 7832main ()
9377{ 7833{
@@ -9381,16 +7837,16 @@ return h_errno;
9381} 7837}
9382_ACEOF 7838_ACEOF
9383rm -f conftest.$ac_objext conftest$ac_exeext 7839rm -f conftest.$ac_objext conftest$ac_exeext
9384if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7840if { (eval echo "$as_me:7840: \"$ac_link\"") >&5
9385 (eval $ac_link) 2>&5 7841 (eval $ac_link) 2>&5
9386 ac_status=$? 7842 ac_status=$?
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7843 echo "$as_me:7843: \$? = $ac_status" >&5
9388 (exit $ac_status); } && 7844 (exit $ac_status); } &&
9389 { ac_try='test -s conftest$ac_exeext' 7845 { ac_try='test -s conftest$ac_exeext'
9390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7846 { (eval echo "$as_me:7846: \"$ac_try\"") >&5
9391 (eval $ac_try) 2>&5 7847 (eval $ac_try) 2>&5
9392 ac_status=$? 7848 ac_status=$?
9393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7849 echo "$as_me:7849: \$? = $ac_status" >&5
9394 (exit $ac_status); }; }; then 7850 (exit $ac_status); }; }; then
9395 emacs_cv_netdb_declares_h_errno=yes 7851 emacs_cv_netdb_declares_h_errno=yes
9396else 7852else
@@ -9400,33 +7856,27 @@ emacs_cv_netdb_declares_h_errno=no
9400fi 7856fi
9401rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7857rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9402fi 7858fi
9403echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 7859echo "$as_me:7859: result: $emacs_cv_netdb_declares_h_errno" >&5
9404echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7860echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
9405if test $emacs_cv_netdb_declares_h_errno = yes; then 7861if test $emacs_cv_netdb_declares_h_errno = yes; then
9406 7862
9407cat >>confdefs.h <<\_ACEOF 7863cat >>confdefs.h <<\EOF
9408#define HAVE_H_ERRNO 1 7864#define HAVE_H_ERRNO 1
9409_ACEOF 7865EOF
9410 7866
9411fi 7867fi
9412 7868
9413# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7869# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9414# for constant arguments. Useless! 7870# for constant arguments. Useless!
9415echo "$as_me:$LINENO: checking for working alloca.h" >&5 7871echo "$as_me:7871: checking for working alloca.h" >&5
9416echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7872echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9417if test "${ac_cv_working_alloca_h+set}" = set; then 7873if test "${ac_cv_working_alloca_h+set}" = set; then
9418 echo $ECHO_N "(cached) $ECHO_C" >&6 7874 echo $ECHO_N "(cached) $ECHO_C" >&6
9419else 7875else
9420 cat >conftest.$ac_ext <<_ACEOF 7876 cat >conftest.$ac_ext <<_ACEOF
9421#line $LINENO "configure" 7877#line 7877 "configure"
9422#include "confdefs.h" 7878#include "confdefs.h"
9423#include <alloca.h> 7879#include <alloca.h>
9424#ifdef F77_DUMMY_MAIN
9425# ifdef __cplusplus
9426 extern "C"
9427# endif
9428 int F77_DUMMY_MAIN() { return 1; }
9429#endif
9430int 7880int
9431main () 7881main ()
9432{ 7882{
@@ -9436,16 +7886,16 @@ char *p = (char *) alloca (2 * sizeof (int));
9436} 7886}
9437_ACEOF 7887_ACEOF
9438rm -f conftest.$ac_objext conftest$ac_exeext 7888rm -f conftest.$ac_objext conftest$ac_exeext
9439if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7889if { (eval echo "$as_me:7889: \"$ac_link\"") >&5
9440 (eval $ac_link) 2>&5 7890 (eval $ac_link) 2>&5
9441 ac_status=$? 7891 ac_status=$?
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7892 echo "$as_me:7892: \$? = $ac_status" >&5
9443 (exit $ac_status); } && 7893 (exit $ac_status); } &&
9444 { ac_try='test -s conftest$ac_exeext' 7894 { ac_try='test -s conftest$ac_exeext'
9445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7895 { (eval echo "$as_me:7895: \"$ac_try\"") >&5
9446 (eval $ac_try) 2>&5 7896 (eval $ac_try) 2>&5
9447 ac_status=$? 7897 ac_status=$?
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7898 echo "$as_me:7898: \$? = $ac_status" >&5
9449 (exit $ac_status); }; }; then 7899 (exit $ac_status); }; }; then
9450 ac_cv_working_alloca_h=yes 7900 ac_cv_working_alloca_h=yes
9451else 7901else
@@ -9455,23 +7905,23 @@ ac_cv_working_alloca_h=no
9455fi 7905fi
9456rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7906rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9457fi 7907fi
9458echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 7908echo "$as_me:7908: result: $ac_cv_working_alloca_h" >&5
9459echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7909echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9460if test $ac_cv_working_alloca_h = yes; then 7910if test $ac_cv_working_alloca_h = yes; then
9461 7911
9462cat >>confdefs.h <<\_ACEOF 7912cat >>confdefs.h <<\EOF
9463#define HAVE_ALLOCA_H 1 7913#define HAVE_ALLOCA_H 1
9464_ACEOF 7914EOF
9465 7915
9466fi 7916fi
9467 7917
9468echo "$as_me:$LINENO: checking for alloca" >&5 7918echo "$as_me:7918: checking for alloca" >&5
9469echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7919echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9470if test "${ac_cv_func_alloca_works+set}" = set; then 7920if test "${ac_cv_func_alloca_works+set}" = set; then
9471 echo $ECHO_N "(cached) $ECHO_C" >&6 7921 echo $ECHO_N "(cached) $ECHO_C" >&6
9472else 7922else
9473 cat >conftest.$ac_ext <<_ACEOF 7923 cat >conftest.$ac_ext <<_ACEOF
9474#line $LINENO "configure" 7924#line 7924 "configure"
9475#include "confdefs.h" 7925#include "confdefs.h"
9476#ifdef __GNUC__ 7926#ifdef __GNUC__
9477# define alloca __builtin_alloca 7927# define alloca __builtin_alloca
@@ -9494,12 +7944,6 @@ char *alloca ();
9494# endif 7944# endif
9495#endif 7945#endif
9496 7946
9497#ifdef F77_DUMMY_MAIN
9498# ifdef __cplusplus
9499 extern "C"
9500# endif
9501 int F77_DUMMY_MAIN() { return 1; }
9502#endif
9503int 7947int
9504main () 7948main ()
9505{ 7949{
@@ -9509,16 +7953,16 @@ char *p = (char *) alloca (1);
9509} 7953}
9510_ACEOF 7954_ACEOF
9511rm -f conftest.$ac_objext conftest$ac_exeext 7955rm -f conftest.$ac_objext conftest$ac_exeext
9512if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7956if { (eval echo "$as_me:7956: \"$ac_link\"") >&5
9513 (eval $ac_link) 2>&5 7957 (eval $ac_link) 2>&5
9514 ac_status=$? 7958 ac_status=$?
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7959 echo "$as_me:7959: \$? = $ac_status" >&5
9516 (exit $ac_status); } && 7960 (exit $ac_status); } &&
9517 { ac_try='test -s conftest$ac_exeext' 7961 { ac_try='test -s conftest$ac_exeext'
9518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7962 { (eval echo "$as_me:7962: \"$ac_try\"") >&5
9519 (eval $ac_try) 2>&5 7963 (eval $ac_try) 2>&5
9520 ac_status=$? 7964 ac_status=$?
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7965 echo "$as_me:7965: \$? = $ac_status" >&5
9522 (exit $ac_status); }; }; then 7966 (exit $ac_status); }; }; then
9523 ac_cv_func_alloca_works=yes 7967 ac_cv_func_alloca_works=yes
9524else 7968else
@@ -9528,14 +7972,14 @@ ac_cv_func_alloca_works=no
9528fi 7972fi
9529rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7973rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9530fi 7974fi
9531echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 7975echo "$as_me:7975: result: $ac_cv_func_alloca_works" >&5
9532echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 7976echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9533 7977
9534if test $ac_cv_func_alloca_works = yes; then 7978if test $ac_cv_func_alloca_works = yes; then
9535 7979
9536cat >>confdefs.h <<\_ACEOF 7980cat >>confdefs.h <<\EOF
9537#define HAVE_ALLOCA 1 7981#define HAVE_ALLOCA 1
9538_ACEOF 7982EOF
9539 7983
9540else 7984else
9541 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 7985 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
@@ -9545,18 +7989,17 @@ else
9545 7989
9546ALLOCA=alloca.$ac_objext 7990ALLOCA=alloca.$ac_objext
9547 7991
9548cat >>confdefs.h <<\_ACEOF 7992cat >>confdefs.h <<\EOF
9549#define C_ALLOCA 1 7993#define C_ALLOCA 1
9550_ACEOF 7994EOF
9551 7995
9552 7996echo "$as_me:7996: checking whether \`alloca.c' needs Cray hooks" >&5
9553echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9554echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7997echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9555if test "${ac_cv_os_cray+set}" = set; then 7998if test "${ac_cv_os_cray+set}" = set; then
9556 echo $ECHO_N "(cached) $ECHO_C" >&6 7999 echo $ECHO_N "(cached) $ECHO_C" >&6
9557else 8000else
9558 cat >conftest.$ac_ext <<_ACEOF 8001 cat >conftest.$ac_ext <<_ACEOF
9559#line $LINENO "configure" 8002#line 8002 "configure"
9560#include "confdefs.h" 8003#include "confdefs.h"
9561#if defined(CRAY) && ! defined(CRAY2) 8004#if defined(CRAY) && ! defined(CRAY2)
9562webecray 8005webecray
@@ -9574,18 +8017,18 @@ fi
9574rm -f conftest* 8017rm -f conftest*
9575 8018
9576fi 8019fi
9577echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 8020echo "$as_me:8020: result: $ac_cv_os_cray" >&5
9578echo "${ECHO_T}$ac_cv_os_cray" >&6 8021echo "${ECHO_T}$ac_cv_os_cray" >&6
9579if test $ac_cv_os_cray = yes; then 8022if test $ac_cv_os_cray = yes; then
9580 for ac_func in _getb67 GETB67 getb67; do 8023 for ac_func in _getb67 GETB67 getb67; do
9581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9582echo "$as_me:$LINENO: checking for $ac_func" >&5 8025echo "$as_me:8025: checking for $ac_func" >&5
9583echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8026echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9584if eval "test \"\${$as_ac_var+set}\" = set"; then 8027if eval "test \"\${$as_ac_var+set}\" = set"; then
9585 echo $ECHO_N "(cached) $ECHO_C" >&6 8028 echo $ECHO_N "(cached) $ECHO_C" >&6
9586else 8029else
9587 cat >conftest.$ac_ext <<_ACEOF 8030 cat >conftest.$ac_ext <<_ACEOF
9588#line $LINENO "configure" 8031#line 8031 "configure"
9589#include "confdefs.h" 8032#include "confdefs.h"
9590/* System header to define __stub macros and hopefully few prototypes, 8033/* System header to define __stub macros and hopefully few prototypes,
9591 which can conflict with char $ac_func (); below. */ 8034 which can conflict with char $ac_func (); below. */
@@ -9599,12 +8042,6 @@ extern "C"
9599char $ac_func (); 8042char $ac_func ();
9600char (*f) (); 8043char (*f) ();
9601 8044
9602#ifdef F77_DUMMY_MAIN
9603# ifdef __cplusplus
9604 extern "C"
9605# endif
9606 int F77_DUMMY_MAIN() { return 1; }
9607#endif
9608int 8045int
9609main () 8046main ()
9610{ 8047{
@@ -9622,16 +8059,16 @@ f = $ac_func;
9622} 8059}
9623_ACEOF 8060_ACEOF
9624rm -f conftest.$ac_objext conftest$ac_exeext 8061rm -f conftest.$ac_objext conftest$ac_exeext
9625if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8062if { (eval echo "$as_me:8062: \"$ac_link\"") >&5
9626 (eval $ac_link) 2>&5 8063 (eval $ac_link) 2>&5
9627 ac_status=$? 8064 ac_status=$?
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8065 echo "$as_me:8065: \$? = $ac_status" >&5
9629 (exit $ac_status); } && 8066 (exit $ac_status); } &&
9630 { ac_try='test -s conftest$ac_exeext' 8067 { ac_try='test -s conftest$ac_exeext'
9631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8068 { (eval echo "$as_me:8068: \"$ac_try\"") >&5
9632 (eval $ac_try) 2>&5 8069 (eval $ac_try) 2>&5
9633 ac_status=$? 8070 ac_status=$?
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8071 echo "$as_me:8071: \$? = $ac_status" >&5
9635 (exit $ac_status); }; }; then 8072 (exit $ac_status); }; }; then
9636 eval "$as_ac_var=yes" 8073 eval "$as_ac_var=yes"
9637else 8074else
@@ -9641,13 +8078,13 @@ eval "$as_ac_var=no"
9641fi 8078fi
9642rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8079rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9643fi 8080fi
9644echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8081echo "$as_me:8081: result: `eval echo '${'$as_ac_var'}'`" >&5
9645echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8082echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9646if test `eval echo '${'$as_ac_var'}'` = yes; then 8083if test `eval echo '${'$as_ac_var'}'` = yes; then
9647 8084
9648cat >>confdefs.h <<_ACEOF 8085cat >>confdefs.h <<EOF
9649#define CRAY_STACKSEG_END $ac_func 8086#define CRAY_STACKSEG_END $ac_func
9650_ACEOF 8087EOF
9651 8088
9652 break 8089 break
9653fi 8090fi
@@ -9655,7 +8092,7 @@ fi
9655 done 8092 done
9656fi 8093fi
9657 8094
9658echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 8095echo "$as_me:8095: checking stack direction for C alloca" >&5
9659echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 8096echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9660if test "${ac_cv_c_stack_direction+set}" = set; then 8097if test "${ac_cv_c_stack_direction+set}" = set; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6 8098 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9664,7 +8101,7 @@ else
9664 ac_cv_c_stack_direction=0 8101 ac_cv_c_stack_direction=0
9665else 8102else
9666 cat >conftest.$ac_ext <<_ACEOF 8103 cat >conftest.$ac_ext <<_ACEOF
9667#line $LINENO "configure" 8104#line 8104 "configure"
9668#include "confdefs.h" 8105#include "confdefs.h"
9669int 8106int
9670find_stack_direction () 8107find_stack_direction ()
@@ -9687,42 +8124,39 @@ main ()
9687} 8124}
9688_ACEOF 8125_ACEOF
9689rm -f conftest$ac_exeext 8126rm -f conftest$ac_exeext
9690if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8127if { (eval echo "$as_me:8127: \"$ac_link\"") >&5
9691 (eval $ac_link) 2>&5 8128 (eval $ac_link) 2>&5
9692 ac_status=$? 8129 ac_status=$?
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8130 echo "$as_me:8130: \$? = $ac_status" >&5
9694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8132 { (eval echo "$as_me:8132: \"$ac_try\"") >&5
9696 (eval $ac_try) 2>&5 8133 (eval $ac_try) 2>&5
9697 ac_status=$? 8134 ac_status=$?
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8135 echo "$as_me:8135: \$? = $ac_status" >&5
9699 (exit $ac_status); }; }; then 8136 (exit $ac_status); }; }; then
9700 ac_cv_c_stack_direction=1 8137 ac_cv_c_stack_direction=1
9701else 8138else
9702 echo "$as_me: program exited with status $ac_status" >&5 8139 echo "$as_me: program exited with status $ac_status" >&5
9703echo "$as_me: failed program was:" >&5 8140echo "$as_me: failed program was:" >&5
9704cat conftest.$ac_ext >&5 8141cat conftest.$ac_ext >&5
9705( exit $ac_status )
9706ac_cv_c_stack_direction=-1 8142ac_cv_c_stack_direction=-1
9707fi 8143fi
9708rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8144rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9709fi 8145fi
9710fi 8146fi
9711echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 8147echo "$as_me:8147: result: $ac_cv_c_stack_direction" >&5
9712echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 8148echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9713 8149
9714cat >>confdefs.h <<_ACEOF 8150cat >>confdefs.h <<EOF
9715#define STACK_DIRECTION $ac_cv_c_stack_direction 8151#define STACK_DIRECTION $ac_cv_c_stack_direction
9716_ACEOF 8152EOF
9717
9718 8153
9719fi 8154fi
9720 8155
9721
9722# fmod, logb, and frexp are found in -lm on most systems. 8156# fmod, logb, and frexp are found in -lm on most systems.
9723# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 8157# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
9724 8158
9725echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 8159echo "$as_me:8159: checking for sqrt in -lm" >&5
9726echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 8160echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
9727if test "${ac_cv_lib_m_sqrt+set}" = set; then 8161if test "${ac_cv_lib_m_sqrt+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6 8162 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9730,7 +8164,7 @@ else
9730 ac_check_lib_save_LIBS=$LIBS 8164 ac_check_lib_save_LIBS=$LIBS
9731LIBS="-lm $LIBS" 8165LIBS="-lm $LIBS"
9732cat >conftest.$ac_ext <<_ACEOF 8166cat >conftest.$ac_ext <<_ACEOF
9733#line $LINENO "configure" 8167#line 8167 "configure"
9734#include "confdefs.h" 8168#include "confdefs.h"
9735 8169
9736/* Override any gcc2 internal prototype to avoid an error. */ 8170/* Override any gcc2 internal prototype to avoid an error. */
@@ -9740,12 +8174,6 @@ extern "C"
9740/* We use char because int might match the return type of a gcc2 8174/* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */ 8175 builtin and then its argument prototype would still apply. */
9742char sqrt (); 8176char sqrt ();
9743#ifdef F77_DUMMY_MAIN
9744# ifdef __cplusplus
9745 extern "C"
9746# endif
9747 int F77_DUMMY_MAIN() { return 1; }
9748#endif
9749int 8177int
9750main () 8178main ()
9751{ 8179{
@@ -9755,16 +8183,16 @@ sqrt ();
9755} 8183}
9756_ACEOF 8184_ACEOF
9757rm -f conftest.$ac_objext conftest$ac_exeext 8185rm -f conftest.$ac_objext conftest$ac_exeext
9758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8186if { (eval echo "$as_me:8186: \"$ac_link\"") >&5
9759 (eval $ac_link) 2>&5 8187 (eval $ac_link) 2>&5
9760 ac_status=$? 8188 ac_status=$?
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8189 echo "$as_me:8189: \$? = $ac_status" >&5
9762 (exit $ac_status); } && 8190 (exit $ac_status); } &&
9763 { ac_try='test -s conftest$ac_exeext' 8191 { ac_try='test -s conftest$ac_exeext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8192 { (eval echo "$as_me:8192: \"$ac_try\"") >&5
9765 (eval $ac_try) 2>&5 8193 (eval $ac_try) 2>&5
9766 ac_status=$? 8194 ac_status=$?
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8195 echo "$as_me:8195: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then 8196 (exit $ac_status); }; }; then
9769 ac_cv_lib_m_sqrt=yes 8197 ac_cv_lib_m_sqrt=yes
9770else 8198else
@@ -9775,21 +8203,20 @@ fi
9775rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8203rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9776LIBS=$ac_check_lib_save_LIBS 8204LIBS=$ac_check_lib_save_LIBS
9777fi 8205fi
9778echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 8206echo "$as_me:8206: result: $ac_cv_lib_m_sqrt" >&5
9779echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 8207echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
9780if test $ac_cv_lib_m_sqrt = yes; then 8208if test $ac_cv_lib_m_sqrt = yes; then
9781 cat >>confdefs.h <<_ACEOF 8209 cat >>confdefs.h <<EOF
9782#define HAVE_LIBM 1 8210#define HAVE_LIBM 1
9783_ACEOF 8211EOF
9784 8212
9785 LIBS="-lm $LIBS" 8213 LIBS="-lm $LIBS"
9786 8214
9787fi 8215fi
9788 8216
9789
9790# Check for mail-locking functions in a "mail" library 8217# Check for mail-locking functions in a "mail" library
9791 8218
9792echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 8219echo "$as_me:8219: checking for maillock in -lmail" >&5
9793echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 8220echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
9794if test "${ac_cv_lib_mail_maillock+set}" = set; then 8221if test "${ac_cv_lib_mail_maillock+set}" = set; then
9795 echo $ECHO_N "(cached) $ECHO_C" >&6 8222 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9797,7 +8224,7 @@ else
9797 ac_check_lib_save_LIBS=$LIBS 8224 ac_check_lib_save_LIBS=$LIBS
9798LIBS="-lmail $LIBS" 8225LIBS="-lmail $LIBS"
9799cat >conftest.$ac_ext <<_ACEOF 8226cat >conftest.$ac_ext <<_ACEOF
9800#line $LINENO "configure" 8227#line 8227 "configure"
9801#include "confdefs.h" 8228#include "confdefs.h"
9802 8229
9803/* Override any gcc2 internal prototype to avoid an error. */ 8230/* Override any gcc2 internal prototype to avoid an error. */
@@ -9807,12 +8234,6 @@ extern "C"
9807/* We use char because int might match the return type of a gcc2 8234/* We use char because int might match the return type of a gcc2
9808 builtin and then its argument prototype would still apply. */ 8235 builtin and then its argument prototype would still apply. */
9809char maillock (); 8236char maillock ();
9810#ifdef F77_DUMMY_MAIN
9811# ifdef __cplusplus
9812 extern "C"
9813# endif
9814 int F77_DUMMY_MAIN() { return 1; }
9815#endif
9816int 8237int
9817main () 8238main ()
9818{ 8239{
@@ -9822,16 +8243,16 @@ maillock ();
9822} 8243}
9823_ACEOF 8244_ACEOF
9824rm -f conftest.$ac_objext conftest$ac_exeext 8245rm -f conftest.$ac_objext conftest$ac_exeext
9825if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8246if { (eval echo "$as_me:8246: \"$ac_link\"") >&5
9826 (eval $ac_link) 2>&5 8247 (eval $ac_link) 2>&5
9827 ac_status=$? 8248 ac_status=$?
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8249 echo "$as_me:8249: \$? = $ac_status" >&5
9829 (exit $ac_status); } && 8250 (exit $ac_status); } &&
9830 { ac_try='test -s conftest$ac_exeext' 8251 { ac_try='test -s conftest$ac_exeext'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8252 { (eval echo "$as_me:8252: \"$ac_try\"") >&5
9832 (eval $ac_try) 2>&5 8253 (eval $ac_try) 2>&5
9833 ac_status=$? 8254 ac_status=$?
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8255 echo "$as_me:8255: \$? = $ac_status" >&5
9835 (exit $ac_status); }; }; then 8256 (exit $ac_status); }; }; then
9836 ac_cv_lib_mail_maillock=yes 8257 ac_cv_lib_mail_maillock=yes
9837else 8258else
@@ -9842,19 +8263,18 @@ fi
9842rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8263rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9843LIBS=$ac_check_lib_save_LIBS 8264LIBS=$ac_check_lib_save_LIBS
9844fi 8265fi
9845echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 8266echo "$as_me:8266: result: $ac_cv_lib_mail_maillock" >&5
9846echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 8267echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
9847if test $ac_cv_lib_mail_maillock = yes; then 8268if test $ac_cv_lib_mail_maillock = yes; then
9848 cat >>confdefs.h <<_ACEOF 8269 cat >>confdefs.h <<EOF
9849#define HAVE_LIBMAIL 1 8270#define HAVE_LIBMAIL 1
9850_ACEOF 8271EOF
9851 8272
9852 LIBS="-lmail $LIBS" 8273 LIBS="-lmail $LIBS"
9853 8274
9854fi 8275fi
9855 8276
9856 8277echo "$as_me:8277: checking for maillock in -llockfile" >&5
9857echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
9858echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 8278echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
9859if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 8279if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
9860 echo $ECHO_N "(cached) $ECHO_C" >&6 8280 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9862,7 +8282,7 @@ else
9862 ac_check_lib_save_LIBS=$LIBS 8282 ac_check_lib_save_LIBS=$LIBS
9863LIBS="-llockfile $LIBS" 8283LIBS="-llockfile $LIBS"
9864cat >conftest.$ac_ext <<_ACEOF 8284cat >conftest.$ac_ext <<_ACEOF
9865#line $LINENO "configure" 8285#line 8285 "configure"
9866#include "confdefs.h" 8286#include "confdefs.h"
9867 8287
9868/* Override any gcc2 internal prototype to avoid an error. */ 8288/* Override any gcc2 internal prototype to avoid an error. */
@@ -9872,12 +8292,6 @@ extern "C"
9872/* We use char because int might match the return type of a gcc2 8292/* We use char because int might match the return type of a gcc2
9873 builtin and then its argument prototype would still apply. */ 8293 builtin and then its argument prototype would still apply. */
9874char maillock (); 8294char maillock ();
9875#ifdef F77_DUMMY_MAIN
9876# ifdef __cplusplus
9877 extern "C"
9878# endif
9879 int F77_DUMMY_MAIN() { return 1; }
9880#endif
9881int 8295int
9882main () 8296main ()
9883{ 8297{
@@ -9887,16 +8301,16 @@ maillock ();
9887} 8301}
9888_ACEOF 8302_ACEOF
9889rm -f conftest.$ac_objext conftest$ac_exeext 8303rm -f conftest.$ac_objext conftest$ac_exeext
9890if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8304if { (eval echo "$as_me:8304: \"$ac_link\"") >&5
9891 (eval $ac_link) 2>&5 8305 (eval $ac_link) 2>&5
9892 ac_status=$? 8306 ac_status=$?
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8307 echo "$as_me:8307: \$? = $ac_status" >&5
9894 (exit $ac_status); } && 8308 (exit $ac_status); } &&
9895 { ac_try='test -s conftest$ac_exeext' 8309 { ac_try='test -s conftest$ac_exeext'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8310 { (eval echo "$as_me:8310: \"$ac_try\"") >&5
9897 (eval $ac_try) 2>&5 8311 (eval $ac_try) 2>&5
9898 ac_status=$? 8312 ac_status=$?
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8313 echo "$as_me:8313: \$? = $ac_status" >&5
9900 (exit $ac_status); }; }; then 8314 (exit $ac_status); }; }; then
9901 ac_cv_lib_lockfile_maillock=yes 8315 ac_cv_lib_lockfile_maillock=yes
9902else 8316else
@@ -9907,12 +8321,12 @@ fi
9907rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8321rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9908LIBS=$ac_check_lib_save_LIBS 8322LIBS=$ac_check_lib_save_LIBS
9909fi 8323fi
9910echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 8324echo "$as_me:8324: result: $ac_cv_lib_lockfile_maillock" >&5
9911echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8325echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
9912if test $ac_cv_lib_lockfile_maillock = yes; then 8326if test $ac_cv_lib_lockfile_maillock = yes; then
9913 cat >>confdefs.h <<_ACEOF 8327 cat >>confdefs.h <<EOF
9914#define HAVE_LIBLOCKFILE 1 8328#define HAVE_LIBLOCKFILE 1
9915_ACEOF 8329EOF
9916 8330
9917 LIBS="-llockfile $LIBS" 8331 LIBS="-llockfile $LIBS"
9918 8332
@@ -9924,7 +8338,7 @@ fi
9924if test "$ac_cv_lib_lockfile_maillock" = no; then 8338if test "$ac_cv_lib_lockfile_maillock" = no; then
9925 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8339 # Extract the first word of "liblockfile.so", so it can be a program name with args.
9926set dummy liblockfile.so; ac_word=$2 8340set dummy liblockfile.so; ac_word=$2
9927echo "$as_me:$LINENO: checking for $ac_word" >&5 8341echo "$as_me:8341: checking for $ac_word" >&5
9928echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8342echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9929if test "${ac_cv_prog_liblockfile+set}" = set; then 8343if test "${ac_cv_prog_liblockfile+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6 8344 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9932,18 +8346,15 @@ else
9932 if test -n "$liblockfile"; then 8346 if test -n "$liblockfile"; then
9933 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 8347 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
9934else 8348else
9935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8349 ac_save_IFS=$IFS; IFS=$ac_path_separator
9936for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH 8350ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
9937do 8351for ac_dir in $ac_dummy; do
9938 IFS=$as_save_IFS 8352 IFS=$ac_save_IFS
9939 test -z "$as_dir" && as_dir=. 8353 test -z "$ac_dir" && ac_dir=.
9940 for ac_exec_ext in '' $ac_executable_extensions; do 8354 $as_executable_p "$ac_dir/$ac_word" || continue
9941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8355ac_cv_prog_liblockfile="yes"
9942 ac_cv_prog_liblockfile="yes" 8356echo "$as_me:8356: found $ac_dir/$ac_word" >&5
9943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8357break
9944 break 2
9945 fi
9946done
9947done 8358done
9948 8359
9949 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8360 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
@@ -9951,15 +8362,15 @@ fi
9951fi 8362fi
9952liblockfile=$ac_cv_prog_liblockfile 8363liblockfile=$ac_cv_prog_liblockfile
9953if test -n "$liblockfile"; then 8364if test -n "$liblockfile"; then
9954 echo "$as_me:$LINENO: result: $liblockfile" >&5 8365 echo "$as_me:8365: result: $liblockfile" >&5
9955echo "${ECHO_T}$liblockfile" >&6 8366echo "${ECHO_T}$liblockfile" >&6
9956else 8367else
9957 echo "$as_me:$LINENO: result: no" >&5 8368 echo "$as_me:8368: result: no" >&5
9958echo "${ECHO_T}no" >&6 8369echo "${ECHO_T}no" >&6
9959fi 8370fi
9960 8371
9961 if test $ac_cv_prog_liblockfile = yes; then 8372 if test $ac_cv_prog_liblockfile = yes; then
9962 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. 8373 { { echo "$as_me:8373: error: Shared liblockfile found but can't link against it.
9963This probably means that movemail could lose mail. 8374This probably means that movemail could lose mail.
9964There may be a \`development' package to install containing liblockfile." >&5 8375There may be a \`development' package to install containing liblockfile." >&5
9965echo "$as_me: error: Shared liblockfile found but can't link against it. 8376echo "$as_me: error: Shared liblockfile found but can't link against it.
@@ -9967,9 +8378,9 @@ This probably means that movemail could lose mail.
9967There may be a \`development' package to install containing liblockfile." >&2;} 8378There may be a \`development' package to install containing liblockfile." >&2;}
9968 { (exit 1); exit 1; }; } 8379 { (exit 1); exit 1; }; }
9969 else 8380 else
9970cat >>confdefs.h <<\_ACEOF 8381cat >>confdefs.h <<\EOF
9971#define LIBMAIL -llockfile 8382#define LIBMAIL -llockfile
9972_ACEOF 8383EOF
9973 8384
9974 fi 8385 fi
9975 else : 8386 else :
@@ -9978,13 +8389,13 @@ fi
9978for ac_func in touchlock 8389for ac_func in touchlock
9979do 8390do
9980as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8391as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9981echo "$as_me:$LINENO: checking for $ac_func" >&5 8392echo "$as_me:8392: checking for $ac_func" >&5
9982echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8393echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9983if eval "test \"\${$as_ac_var+set}\" = set"; then 8394if eval "test \"\${$as_ac_var+set}\" = set"; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6 8395 echo $ECHO_N "(cached) $ECHO_C" >&6
9985else 8396else
9986 cat >conftest.$ac_ext <<_ACEOF 8397 cat >conftest.$ac_ext <<_ACEOF
9987#line $LINENO "configure" 8398#line 8398 "configure"
9988#include "confdefs.h" 8399#include "confdefs.h"
9989/* System header to define __stub macros and hopefully few prototypes, 8400/* System header to define __stub macros and hopefully few prototypes,
9990 which can conflict with char $ac_func (); below. */ 8401 which can conflict with char $ac_func (); below. */
@@ -9998,12 +8409,6 @@ extern "C"
9998char $ac_func (); 8409char $ac_func ();
9999char (*f) (); 8410char (*f) ();
10000 8411
10001#ifdef F77_DUMMY_MAIN
10002# ifdef __cplusplus
10003 extern "C"
10004# endif
10005 int F77_DUMMY_MAIN() { return 1; }
10006#endif
10007int 8412int
10008main () 8413main ()
10009{ 8414{
@@ -10021,16 +8426,16 @@ f = $ac_func;
10021} 8426}
10022_ACEOF 8427_ACEOF
10023rm -f conftest.$ac_objext conftest$ac_exeext 8428rm -f conftest.$ac_objext conftest$ac_exeext
10024if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8429if { (eval echo "$as_me:8429: \"$ac_link\"") >&5
10025 (eval $ac_link) 2>&5 8430 (eval $ac_link) 2>&5
10026 ac_status=$? 8431 ac_status=$?
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8432 echo "$as_me:8432: \$? = $ac_status" >&5
10028 (exit $ac_status); } && 8433 (exit $ac_status); } &&
10029 { ac_try='test -s conftest$ac_exeext' 8434 { ac_try='test -s conftest$ac_exeext'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8435 { (eval echo "$as_me:8435: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5 8436 (eval $ac_try) 2>&5
10032 ac_status=$? 8437 ac_status=$?
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8438 echo "$as_me:8438: \$? = $ac_status" >&5
10034 (exit $ac_status); }; }; then 8439 (exit $ac_status); }; }; then
10035 eval "$as_ac_var=yes" 8440 eval "$as_ac_var=yes"
10036else 8441else
@@ -10040,75 +8445,36 @@ eval "$as_ac_var=no"
10040fi 8445fi
10041rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8446rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10042fi 8447fi
10043echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8448echo "$as_me:8448: result: `eval echo '${'$as_ac_var'}'`" >&5
10044echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8449echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10045if test `eval echo '${'$as_ac_var'}'` = yes; then 8450if test `eval echo '${'$as_ac_var'}'` = yes; then
10046 cat >>confdefs.h <<_ACEOF 8451 cat >>confdefs.h <<EOF
10047#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8452#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10048_ACEOF 8453EOF
10049 8454
10050fi 8455fi
10051done 8456done
10052 8457
10053
10054for ac_header in maillock.h 8458for ac_header in maillock.h
10055do 8459do
10056as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8460as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10057if eval "test \"\${$as_ac_Header+set}\" = set"; then 8461echo "$as_me:8461: checking for $ac_header" >&5
10058 echo "$as_me:$LINENO: checking for $ac_header" >&5
10059echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8462echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10060if eval "test \"\${$as_ac_Header+set}\" = set"; then 8463if eval "test \"\${$as_ac_Header+set}\" = set"; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6 8464 echo $ECHO_N "(cached) $ECHO_C" >&6
10062fi
10063echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10064echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10065else
10066 # Is the header compilable?
10067echo "$as_me:$LINENO: checking $ac_header usability" >&5
10068echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10069cat >conftest.$ac_ext <<_ACEOF
10070#line $LINENO "configure"
10071#include "confdefs.h"
10072$ac_includes_default
10073#include <$ac_header>
10074_ACEOF
10075rm -f conftest.$ac_objext
10076if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10077 (eval $ac_compile) 2>&5
10078 ac_status=$?
10079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); } &&
10081 { ac_try='test -s conftest.$ac_objext'
10082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10083 (eval $ac_try) 2>&5
10084 ac_status=$?
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; }; then
10087 ac_header_compiler=yes
10088else 8465else
10089 echo "$as_me: failed program was:" >&5 8466 cat >conftest.$ac_ext <<_ACEOF
10090cat conftest.$ac_ext >&5 8467#line 8467 "configure"
10091ac_header_compiler=no
10092fi
10093rm -f conftest.$ac_objext conftest.$ac_ext
10094echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10095echo "${ECHO_T}$ac_header_compiler" >&6
10096
10097# Is the header present?
10098echo "$as_me:$LINENO: checking $ac_header presence" >&5
10099echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10100cat >conftest.$ac_ext <<_ACEOF
10101#line $LINENO "configure"
10102#include "confdefs.h" 8468#include "confdefs.h"
10103#include <$ac_header> 8469#include <$ac_header>
10104_ACEOF 8470_ACEOF
10105if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8471if { (eval echo "$as_me:8471: \"$ac_cpp conftest.$ac_ext\"") >&5
10106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10107 ac_status=$? 8473 ac_status=$?
10108 egrep -v '^ *\+' conftest.er1 >conftest.err 8474 egrep -v '^ *\+' conftest.er1 >conftest.err
10109 rm -f conftest.er1 8475 rm -f conftest.er1
10110 cat conftest.err >&5 8476 cat conftest.err >&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8477 echo "$as_me:8477: \$? = $ac_status" >&5
10112 (exit $ac_status); } >/dev/null; then 8478 (exit $ac_status); } >/dev/null; then
10113 if test -s conftest.err; then 8479 if test -s conftest.err; then
10114 ac_cpp_err=$ac_c_preproc_warn_flag 8480 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -10119,107 +8485,24 @@ else
10119 ac_cpp_err=yes 8485 ac_cpp_err=yes
10120fi 8486fi
10121if test -z "$ac_cpp_err"; then 8487if test -z "$ac_cpp_err"; then
10122 ac_header_preproc=yes 8488 eval "$as_ac_Header=yes"
10123else 8489else
10124 echo "$as_me: failed program was:" >&5 8490 echo "$as_me: failed program was:" >&5
10125 cat conftest.$ac_ext >&5 8491 cat conftest.$ac_ext >&5
10126 ac_header_preproc=no 8492 eval "$as_ac_Header=no"
10127fi 8493fi
10128rm -f conftest.err conftest.$ac_ext 8494rm -f conftest.err conftest.$ac_ext
10129echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10130echo "${ECHO_T}$ac_header_preproc" >&6
10131
10132# So? What about this header?
10133case $ac_header_compiler:$ac_header_preproc in
10134 yes:no )
10135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10136echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10138echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10139 no:yes )
10140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10141echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10143echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10145echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10146esac
10147echo "$as_me:$LINENO: checking for $ac_header" >&5
10148echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10149if eval "test \"\${$as_ac_Header+set}\" = set"; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10151else
10152 eval "$as_ac_Header=$ac_header_preproc"
10153fi 8495fi
10154echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8496echo "$as_me:8496: result: `eval echo '${'$as_ac_Header'}'`" >&5
10155echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8497echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10156
10157fi
10158if test `eval echo '${'$as_ac_Header'}'` = yes; then 8498if test `eval echo '${'$as_ac_Header'}'` = yes; then
10159 cat >>confdefs.h <<_ACEOF 8499 cat >>confdefs.h <<EOF
10160#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8500#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10161_ACEOF 8501EOF
10162 8502
10163fi 8503fi
10164
10165done 8504done
10166 8505
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223for ac_func in gethostname getdomainname dup2 \ 8506for ac_func in gethostname getdomainname dup2 \
10224rename closedir mkdir rmdir sysinfo \ 8507rename closedir mkdir rmdir sysinfo \
10225random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 8508random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
@@ -10230,13 +8513,13 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \
10230gai_strerror mkstemp getline getdelim 8513gai_strerror mkstemp getline getdelim
10231do 8514do
10232as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8515as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10233echo "$as_me:$LINENO: checking for $ac_func" >&5 8516echo "$as_me:8516: checking for $ac_func" >&5
10234echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8517echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10235if eval "test \"\${$as_ac_var+set}\" = set"; then 8518if eval "test \"\${$as_ac_var+set}\" = set"; then
10236 echo $ECHO_N "(cached) $ECHO_C" >&6 8519 echo $ECHO_N "(cached) $ECHO_C" >&6
10237else 8520else
10238 cat >conftest.$ac_ext <<_ACEOF 8521 cat >conftest.$ac_ext <<_ACEOF
10239#line $LINENO "configure" 8522#line 8522 "configure"
10240#include "confdefs.h" 8523#include "confdefs.h"
10241/* System header to define __stub macros and hopefully few prototypes, 8524/* System header to define __stub macros and hopefully few prototypes,
10242 which can conflict with char $ac_func (); below. */ 8525 which can conflict with char $ac_func (); below. */
@@ -10250,12 +8533,6 @@ extern "C"
10250char $ac_func (); 8533char $ac_func ();
10251char (*f) (); 8534char (*f) ();
10252 8535
10253#ifdef F77_DUMMY_MAIN
10254# ifdef __cplusplus
10255 extern "C"
10256# endif
10257 int F77_DUMMY_MAIN() { return 1; }
10258#endif
10259int 8536int
10260main () 8537main ()
10261{ 8538{
@@ -10273,16 +8550,16 @@ f = $ac_func;
10273} 8550}
10274_ACEOF 8551_ACEOF
10275rm -f conftest.$ac_objext conftest$ac_exeext 8552rm -f conftest.$ac_objext conftest$ac_exeext
10276if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8553if { (eval echo "$as_me:8553: \"$ac_link\"") >&5
10277 (eval $ac_link) 2>&5 8554 (eval $ac_link) 2>&5
10278 ac_status=$? 8555 ac_status=$?
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8556 echo "$as_me:8556: \$? = $ac_status" >&5
10280 (exit $ac_status); } && 8557 (exit $ac_status); } &&
10281 { ac_try='test -s conftest$ac_exeext' 8558 { ac_try='test -s conftest$ac_exeext'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8559 { (eval echo "$as_me:8559: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5 8560 (eval $ac_try) 2>&5
10284 ac_status=$? 8561 ac_status=$?
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8562 echo "$as_me:8562: \$? = $ac_status" >&5
10286 (exit $ac_status); }; }; then 8563 (exit $ac_status); }; }; then
10287 eval "$as_ac_var=yes" 8564 eval "$as_ac_var=yes"
10288else 8565else
@@ -10292,76 +8569,36 @@ eval "$as_ac_var=no"
10292fi 8569fi
10293rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8570rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10294fi 8571fi
10295echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8572echo "$as_me:8572: result: `eval echo '${'$as_ac_var'}'`" >&5
10296echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8573echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10297if test `eval echo '${'$as_ac_var'}'` = yes; then 8574if test `eval echo '${'$as_ac_var'}'` = yes; then
10298 cat >>confdefs.h <<_ACEOF 8575 cat >>confdefs.h <<EOF
10299#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8576#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10300_ACEOF 8577EOF
10301 8578
10302fi 8579fi
10303done 8580done
10304 8581
10305
10306
10307for ac_header in sys/un.h 8582for ac_header in sys/un.h
10308do 8583do
10309as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8584as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10310if eval "test \"\${$as_ac_Header+set}\" = set"; then 8585echo "$as_me:8585: checking for $ac_header" >&5
10311 echo "$as_me:$LINENO: checking for $ac_header" >&5
10312echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8586echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10313if eval "test \"\${$as_ac_Header+set}\" = set"; then 8587if eval "test \"\${$as_ac_Header+set}\" = set"; then
10314 echo $ECHO_N "(cached) $ECHO_C" >&6 8588 echo $ECHO_N "(cached) $ECHO_C" >&6
10315fi
10316echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10317echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10318else
10319 # Is the header compilable?
10320echo "$as_me:$LINENO: checking $ac_header usability" >&5
10321echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10322cat >conftest.$ac_ext <<_ACEOF
10323#line $LINENO "configure"
10324#include "confdefs.h"
10325$ac_includes_default
10326#include <$ac_header>
10327_ACEOF
10328rm -f conftest.$ac_objext
10329if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10330 (eval $ac_compile) 2>&5
10331 ac_status=$?
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 { ac_try='test -s conftest.$ac_objext'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10337 ac_status=$?
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; }; then
10340 ac_header_compiler=yes
10341else 8589else
10342 echo "$as_me: failed program was:" >&5 8590 cat >conftest.$ac_ext <<_ACEOF
10343cat conftest.$ac_ext >&5 8591#line 8591 "configure"
10344ac_header_compiler=no
10345fi
10346rm -f conftest.$ac_objext conftest.$ac_ext
10347echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10348echo "${ECHO_T}$ac_header_compiler" >&6
10349
10350# Is the header present?
10351echo "$as_me:$LINENO: checking $ac_header presence" >&5
10352echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10353cat >conftest.$ac_ext <<_ACEOF
10354#line $LINENO "configure"
10355#include "confdefs.h" 8592#include "confdefs.h"
10356#include <$ac_header> 8593#include <$ac_header>
10357_ACEOF 8594_ACEOF
10358if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8595if { (eval echo "$as_me:8595: \"$ac_cpp conftest.$ac_ext\"") >&5
10359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10360 ac_status=$? 8597 ac_status=$?
10361 egrep -v '^ *\+' conftest.er1 >conftest.err 8598 egrep -v '^ *\+' conftest.er1 >conftest.err
10362 rm -f conftest.er1 8599 rm -f conftest.er1
10363 cat conftest.err >&5 8600 cat conftest.err >&5
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8601 echo "$as_me:8601: \$? = $ac_status" >&5
10365 (exit $ac_status); } >/dev/null; then 8602 (exit $ac_status); } >/dev/null; then
10366 if test -s conftest.err; then 8603 if test -s conftest.err; then
10367 ac_cpp_err=$ac_c_preproc_warn_flag 8604 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -10372,112 +8609,44 @@ else
10372 ac_cpp_err=yes 8609 ac_cpp_err=yes
10373fi 8610fi
10374if test -z "$ac_cpp_err"; then 8611if test -z "$ac_cpp_err"; then
10375 ac_header_preproc=yes 8612 eval "$as_ac_Header=yes"
10376else 8613else
10377 echo "$as_me: failed program was:" >&5 8614 echo "$as_me: failed program was:" >&5
10378 cat conftest.$ac_ext >&5 8615 cat conftest.$ac_ext >&5
10379 ac_header_preproc=no 8616 eval "$as_ac_Header=no"
10380fi 8617fi
10381rm -f conftest.err conftest.$ac_ext 8618rm -f conftest.err conftest.$ac_ext
10382echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10383echo "${ECHO_T}$ac_header_preproc" >&6
10384
10385# So? What about this header?
10386case $ac_header_compiler:$ac_header_preproc in
10387 yes:no )
10388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10389echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10391echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10392 no:yes )
10393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10394echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10396echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10398echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10399esac
10400echo "$as_me:$LINENO: checking for $ac_header" >&5
10401echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10402if eval "test \"\${$as_ac_Header+set}\" = set"; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10404else
10405 eval "$as_ac_Header=$ac_header_preproc"
10406fi 8619fi
10407echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8620echo "$as_me:8620: result: `eval echo '${'$as_ac_Header'}'`" >&5
10408echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8621echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10409
10410fi
10411if test `eval echo '${'$as_ac_Header'}'` = yes; then 8622if test `eval echo '${'$as_ac_Header'}'` = yes; then
10412 cat >>confdefs.h <<_ACEOF 8623 cat >>confdefs.h <<EOF
10413#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8624#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10414_ACEOF 8625EOF
10415 8626
10416fi 8627fi
10417
10418done 8628done
10419 8629
10420
10421
10422
10423for ac_header in sys/time.h unistd.h 8630for ac_header in sys/time.h unistd.h
10424do 8631do
10425as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8632as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10426if eval "test \"\${$as_ac_Header+set}\" = set"; then 8633echo "$as_me:8633: checking for $ac_header" >&5
10427 echo "$as_me:$LINENO: checking for $ac_header" >&5
10428echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8634echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10429if eval "test \"\${$as_ac_Header+set}\" = set"; then 8635if eval "test \"\${$as_ac_Header+set}\" = set"; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6 8636 echo $ECHO_N "(cached) $ECHO_C" >&6
10431fi
10432echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10433echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10434else 8637else
10435 # Is the header compilable? 8638 cat >conftest.$ac_ext <<_ACEOF
10436echo "$as_me:$LINENO: checking $ac_header usability" >&5 8639#line 8639 "configure"
10437echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10438cat >conftest.$ac_ext <<_ACEOF
10439#line $LINENO "configure"
10440#include "confdefs.h"
10441$ac_includes_default
10442#include <$ac_header>
10443_ACEOF
10444rm -f conftest.$ac_objext
10445if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10446 (eval $ac_compile) 2>&5
10447 ac_status=$?
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); } &&
10450 { ac_try='test -s conftest.$ac_objext'
10451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10452 (eval $ac_try) 2>&5
10453 ac_status=$?
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); }; }; then
10456 ac_header_compiler=yes
10457else
10458 echo "$as_me: failed program was:" >&5
10459cat conftest.$ac_ext >&5
10460ac_header_compiler=no
10461fi
10462rm -f conftest.$ac_objext conftest.$ac_ext
10463echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10464echo "${ECHO_T}$ac_header_compiler" >&6
10465
10466# Is the header present?
10467echo "$as_me:$LINENO: checking $ac_header presence" >&5
10468echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10469cat >conftest.$ac_ext <<_ACEOF
10470#line $LINENO "configure"
10471#include "confdefs.h" 8640#include "confdefs.h"
10472#include <$ac_header> 8641#include <$ac_header>
10473_ACEOF 8642_ACEOF
10474if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8643if { (eval echo "$as_me:8643: \"$ac_cpp conftest.$ac_ext\"") >&5
10475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10476 ac_status=$? 8645 ac_status=$?
10477 egrep -v '^ *\+' conftest.er1 >conftest.err 8646 egrep -v '^ *\+' conftest.er1 >conftest.err
10478 rm -f conftest.er1 8647 rm -f conftest.er1
10479 cat conftest.err >&5 8648 cat conftest.err >&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8649 echo "$as_me:8649: \$? = $ac_status" >&5
10481 (exit $ac_status); } >/dev/null; then 8650 (exit $ac_status); } >/dev/null; then
10482 if test -s conftest.err; then 8651 if test -s conftest.err; then
10483 ac_cpp_err=$ac_c_preproc_warn_flag 8652 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -10488,62 +8657,34 @@ else
10488 ac_cpp_err=yes 8657 ac_cpp_err=yes
10489fi 8658fi
10490if test -z "$ac_cpp_err"; then 8659if test -z "$ac_cpp_err"; then
10491 ac_header_preproc=yes 8660 eval "$as_ac_Header=yes"
10492else 8661else
10493 echo "$as_me: failed program was:" >&5 8662 echo "$as_me: failed program was:" >&5
10494 cat conftest.$ac_ext >&5 8663 cat conftest.$ac_ext >&5
10495 ac_header_preproc=no 8664 eval "$as_ac_Header=no"
10496fi 8665fi
10497rm -f conftest.err conftest.$ac_ext 8666rm -f conftest.err conftest.$ac_ext
10498echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10499echo "${ECHO_T}$ac_header_preproc" >&6
10500
10501# So? What about this header?
10502case $ac_header_compiler:$ac_header_preproc in
10503 yes:no )
10504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10505echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10507echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10508 no:yes )
10509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10510echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10512echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10514echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10515esac
10516echo "$as_me:$LINENO: checking for $ac_header" >&5
10517echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10518if eval "test \"\${$as_ac_Header+set}\" = set"; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10520else
10521 eval "$as_ac_Header=$ac_header_preproc"
10522fi 8667fi
10523echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8668echo "$as_me:8668: result: `eval echo '${'$as_ac_Header'}'`" >&5
10524echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8669echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10525
10526fi
10527if test `eval echo '${'$as_ac_Header'}'` = yes; then 8670if test `eval echo '${'$as_ac_Header'}'` = yes; then
10528 cat >>confdefs.h <<_ACEOF 8671 cat >>confdefs.h <<EOF
10529#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8672#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10530_ACEOF 8673EOF
10531 8674
10532fi 8675fi
10533
10534done 8676done
10535 8677
10536
10537for ac_func in alarm 8678for ac_func in alarm
10538do 8679do
10539as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8680as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10540echo "$as_me:$LINENO: checking for $ac_func" >&5 8681echo "$as_me:8681: checking for $ac_func" >&5
10541echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8682echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10542if eval "test \"\${$as_ac_var+set}\" = set"; then 8683if eval "test \"\${$as_ac_var+set}\" = set"; then
10543 echo $ECHO_N "(cached) $ECHO_C" >&6 8684 echo $ECHO_N "(cached) $ECHO_C" >&6
10544else 8685else
10545 cat >conftest.$ac_ext <<_ACEOF 8686 cat >conftest.$ac_ext <<_ACEOF
10546#line $LINENO "configure" 8687#line 8687 "configure"
10547#include "confdefs.h" 8688#include "confdefs.h"
10548/* System header to define __stub macros and hopefully few prototypes, 8689/* System header to define __stub macros and hopefully few prototypes,
10549 which can conflict with char $ac_func (); below. */ 8690 which can conflict with char $ac_func (); below. */
@@ -10557,12 +8698,6 @@ extern "C"
10557char $ac_func (); 8698char $ac_func ();
10558char (*f) (); 8699char (*f) ();
10559 8700
10560#ifdef F77_DUMMY_MAIN
10561# ifdef __cplusplus
10562 extern "C"
10563# endif
10564 int F77_DUMMY_MAIN() { return 1; }
10565#endif
10566int 8701int
10567main () 8702main ()
10568{ 8703{
@@ -10580,16 +8715,16 @@ f = $ac_func;
10580} 8715}
10581_ACEOF 8716_ACEOF
10582rm -f conftest.$ac_objext conftest$ac_exeext 8717rm -f conftest.$ac_objext conftest$ac_exeext
10583if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8718if { (eval echo "$as_me:8718: \"$ac_link\"") >&5
10584 (eval $ac_link) 2>&5 8719 (eval $ac_link) 2>&5
10585 ac_status=$? 8720 ac_status=$?
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8721 echo "$as_me:8721: \$? = $ac_status" >&5
10587 (exit $ac_status); } && 8722 (exit $ac_status); } &&
10588 { ac_try='test -s conftest$ac_exeext' 8723 { ac_try='test -s conftest$ac_exeext'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8724 { (eval echo "$as_me:8724: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5 8725 (eval $ac_try) 2>&5
10591 ac_status=$? 8726 ac_status=$?
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8727 echo "$as_me:8727: \$? = $ac_status" >&5
10593 (exit $ac_status); }; }; then 8728 (exit $ac_status); }; }; then
10594 eval "$as_ac_var=yes" 8729 eval "$as_ac_var=yes"
10595else 8730else
@@ -10599,17 +8734,17 @@ eval "$as_ac_var=no"
10599fi 8734fi
10600rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8735rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10601fi 8736fi
10602echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8737echo "$as_me:8737: result: `eval echo '${'$as_ac_var'}'`" >&5
10603echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8738echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10604if test `eval echo '${'$as_ac_var'}'` = yes; then 8739if test `eval echo '${'$as_ac_var'}'` = yes; then
10605 cat >>confdefs.h <<_ACEOF 8740 cat >>confdefs.h <<EOF
10606#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8741#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10607_ACEOF 8742EOF
10608 8743
10609fi 8744fi
10610done 8745done
10611 8746
10612echo "$as_me:$LINENO: checking for working mktime" >&5 8747echo "$as_me:8747: checking for working mktime" >&5
10613echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8748echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
10614if test "${ac_cv_func_working_mktime+set}" = set; then 8749if test "${ac_cv_func_working_mktime+set}" = set; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6 8750 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10618,7 +8753,7 @@ else
10618 ac_cv_func_working_mktime=no 8753 ac_cv_func_working_mktime=no
10619else 8754else
10620 cat >conftest.$ac_ext <<_ACEOF 8755 cat >conftest.$ac_ext <<_ACEOF
10621#line $LINENO "configure" 8756#line 8756 "configure"
10622#include "confdefs.h" 8757#include "confdefs.h"
10623/* Test program from Paul Eggert and Tony Leneis. */ 8758/* Test program from Paul Eggert and Tony Leneis. */
10624#if TIME_WITH_SYS_TIME 8759#if TIME_WITH_SYS_TIME
@@ -10767,28 +8902,27 @@ main ()
10767} 8902}
10768_ACEOF 8903_ACEOF
10769rm -f conftest$ac_exeext 8904rm -f conftest$ac_exeext
10770if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8905if { (eval echo "$as_me:8905: \"$ac_link\"") >&5
10771 (eval $ac_link) 2>&5 8906 (eval $ac_link) 2>&5
10772 ac_status=$? 8907 ac_status=$?
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8908 echo "$as_me:8908: \$? = $ac_status" >&5
10774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8910 { (eval echo "$as_me:8910: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5 8911 (eval $ac_try) 2>&5
10777 ac_status=$? 8912 ac_status=$?
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8913 echo "$as_me:8913: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then 8914 (exit $ac_status); }; }; then
10780 ac_cv_func_working_mktime=yes 8915 ac_cv_func_working_mktime=yes
10781else 8916else
10782 echo "$as_me: program exited with status $ac_status" >&5 8917 echo "$as_me: program exited with status $ac_status" >&5
10783echo "$as_me: failed program was:" >&5 8918echo "$as_me: failed program was:" >&5
10784cat conftest.$ac_ext >&5 8919cat conftest.$ac_ext >&5
10785( exit $ac_status )
10786ac_cv_func_working_mktime=no 8920ac_cv_func_working_mktime=no
10787fi 8921fi
10788rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8922rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10789fi 8923fi
10790fi 8924fi
10791echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 8925echo "$as_me:8925: result: $ac_cv_func_working_mktime" >&5
10792echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8926echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
10793if test $ac_cv_func_working_mktime = no; then 8927if test $ac_cv_func_working_mktime = no; then
10794 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8928 LIBOBJS="$LIBOBJS mktime.$ac_objext"
@@ -10796,9 +8930,9 @@ fi
10796 8930
10797if test "$ac_cv_func_working_mktime" = no; then 8931if test "$ac_cv_func_working_mktime" = no; then
10798 8932
10799cat >>confdefs.h <<\_ACEOF 8933cat >>confdefs.h <<\EOF
10800#define BROKEN_MKTIME 1 8934#define BROKEN_MKTIME 1
10801_ACEOF 8935EOF
10802 8936
10803fi 8937fi
10804 8938
@@ -10807,13 +8941,13 @@ ac_have_func=no # yes means we've found a way to get the load average.
10807ac_save_LIBS=$LIBS 8941ac_save_LIBS=$LIBS
10808 8942
10809# Check for getloadavg, but be sure not to touch the cache variable. 8943# Check for getloadavg, but be sure not to touch the cache variable.
10810(echo "$as_me:$LINENO: checking for getloadavg" >&5 8944(echo "$as_me:8944: checking for getloadavg" >&5
10811echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8945echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
10812if test "${ac_cv_func_getloadavg+set}" = set; then 8946if test "${ac_cv_func_getloadavg+set}" = set; then
10813 echo $ECHO_N "(cached) $ECHO_C" >&6 8947 echo $ECHO_N "(cached) $ECHO_C" >&6
10814else 8948else
10815 cat >conftest.$ac_ext <<_ACEOF 8949 cat >conftest.$ac_ext <<_ACEOF
10816#line $LINENO "configure" 8950#line 8950 "configure"
10817#include "confdefs.h" 8951#include "confdefs.h"
10818/* System header to define __stub macros and hopefully few prototypes, 8952/* System header to define __stub macros and hopefully few prototypes,
10819 which can conflict with char getloadavg (); below. */ 8953 which can conflict with char getloadavg (); below. */
@@ -10827,12 +8961,6 @@ extern "C"
10827char getloadavg (); 8961char getloadavg ();
10828char (*f) (); 8962char (*f) ();
10829 8963
10830#ifdef F77_DUMMY_MAIN
10831# ifdef __cplusplus
10832 extern "C"
10833# endif
10834 int F77_DUMMY_MAIN() { return 1; }
10835#endif
10836int 8964int
10837main () 8965main ()
10838{ 8966{
@@ -10850,16 +8978,16 @@ f = getloadavg;
10850} 8978}
10851_ACEOF 8979_ACEOF
10852rm -f conftest.$ac_objext conftest$ac_exeext 8980rm -f conftest.$ac_objext conftest$ac_exeext
10853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8981if { (eval echo "$as_me:8981: \"$ac_link\"") >&5
10854 (eval $ac_link) 2>&5 8982 (eval $ac_link) 2>&5
10855 ac_status=$? 8983 ac_status=$?
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8984 echo "$as_me:8984: \$? = $ac_status" >&5
10857 (exit $ac_status); } && 8985 (exit $ac_status); } &&
10858 { ac_try='test -s conftest$ac_exeext' 8986 { ac_try='test -s conftest$ac_exeext'
10859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8987 { (eval echo "$as_me:8987: \"$ac_try\"") >&5
10860 (eval $ac_try) 2>&5 8988 (eval $ac_try) 2>&5
10861 ac_status=$? 8989 ac_status=$?
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8990 echo "$as_me:8990: \$? = $ac_status" >&5
10863 (exit $ac_status); }; }; then 8991 (exit $ac_status); }; }; then
10864 ac_cv_func_getloadavg=yes 8992 ac_cv_func_getloadavg=yes
10865else 8993else
@@ -10869,7 +8997,7 @@ ac_cv_func_getloadavg=no
10869fi 8997fi
10870rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8998rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10871fi 8999fi
10872echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 9000echo "$as_me:9000: result: $ac_cv_func_getloadavg" >&5
10873echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 9001echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
10874if test $ac_cv_func_getloadavg = yes; then 9002if test $ac_cv_func_getloadavg = yes; then
10875 exit 0 9003 exit 0
@@ -10883,13 +9011,13 @@ fi
10883for ac_func in pstat_getdynamic 9011for ac_func in pstat_getdynamic
10884do 9012do
10885as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9013as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10886echo "$as_me:$LINENO: checking for $ac_func" >&5 9014echo "$as_me:9014: checking for $ac_func" >&5
10887echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9015echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10888if eval "test \"\${$as_ac_var+set}\" = set"; then 9016if eval "test \"\${$as_ac_var+set}\" = set"; then
10889 echo $ECHO_N "(cached) $ECHO_C" >&6 9017 echo $ECHO_N "(cached) $ECHO_C" >&6
10890else 9018else
10891 cat >conftest.$ac_ext <<_ACEOF 9019 cat >conftest.$ac_ext <<_ACEOF
10892#line $LINENO "configure" 9020#line 9020 "configure"
10893#include "confdefs.h" 9021#include "confdefs.h"
10894/* System header to define __stub macros and hopefully few prototypes, 9022/* System header to define __stub macros and hopefully few prototypes,
10895 which can conflict with char $ac_func (); below. */ 9023 which can conflict with char $ac_func (); below. */
@@ -10903,12 +9031,6 @@ extern "C"
10903char $ac_func (); 9031char $ac_func ();
10904char (*f) (); 9032char (*f) ();
10905 9033
10906#ifdef F77_DUMMY_MAIN
10907# ifdef __cplusplus
10908 extern "C"
10909# endif
10910 int F77_DUMMY_MAIN() { return 1; }
10911#endif
10912int 9034int
10913main () 9035main ()
10914{ 9036{
@@ -10926,16 +9048,16 @@ f = $ac_func;
10926} 9048}
10927_ACEOF 9049_ACEOF
10928rm -f conftest.$ac_objext conftest$ac_exeext 9050rm -f conftest.$ac_objext conftest$ac_exeext
10929if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9051if { (eval echo "$as_me:9051: \"$ac_link\"") >&5
10930 (eval $ac_link) 2>&5 9052 (eval $ac_link) 2>&5
10931 ac_status=$? 9053 ac_status=$?
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9054 echo "$as_me:9054: \$? = $ac_status" >&5
10933 (exit $ac_status); } && 9055 (exit $ac_status); } &&
10934 { ac_try='test -s conftest$ac_exeext' 9056 { ac_try='test -s conftest$ac_exeext'
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9057 { (eval echo "$as_me:9057: \"$ac_try\"") >&5
10936 (eval $ac_try) 2>&5 9058 (eval $ac_try) 2>&5
10937 ac_status=$? 9059 ac_status=$?
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9060 echo "$as_me:9060: \$? = $ac_status" >&5
10939 (exit $ac_status); }; }; then 9061 (exit $ac_status); }; }; then
10940 eval "$as_ac_var=yes" 9062 eval "$as_ac_var=yes"
10941else 9063else
@@ -10945,20 +9067,19 @@ eval "$as_ac_var=no"
10945fi 9067fi
10946rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9068rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10947fi 9069fi
10948echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9070echo "$as_me:9070: result: `eval echo '${'$as_ac_var'}'`" >&5
10949echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9071echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10950if test `eval echo '${'$as_ac_var'}'` = yes; then 9072if test `eval echo '${'$as_ac_var'}'` = yes; then
10951 cat >>confdefs.h <<_ACEOF 9073 cat >>confdefs.h <<EOF
10952#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9074#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10953_ACEOF 9075EOF
10954 9076
10955fi 9077fi
10956done 9078done
10957 9079
10958
10959# Solaris has libkstat which does not require root. 9080# Solaris has libkstat which does not require root.
10960 9081
10961echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 9082echo "$as_me:9082: checking for kstat_open in -lkstat" >&5
10962echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 9083echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
10963if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 9084if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6 9085 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10966,7 +9087,7 @@ else
10966 ac_check_lib_save_LIBS=$LIBS 9087 ac_check_lib_save_LIBS=$LIBS
10967LIBS="-lkstat $LIBS" 9088LIBS="-lkstat $LIBS"
10968cat >conftest.$ac_ext <<_ACEOF 9089cat >conftest.$ac_ext <<_ACEOF
10969#line $LINENO "configure" 9090#line 9090 "configure"
10970#include "confdefs.h" 9091#include "confdefs.h"
10971 9092
10972/* Override any gcc2 internal prototype to avoid an error. */ 9093/* Override any gcc2 internal prototype to avoid an error. */
@@ -10976,12 +9097,6 @@ extern "C"
10976/* We use char because int might match the return type of a gcc2 9097/* We use char because int might match the return type of a gcc2
10977 builtin and then its argument prototype would still apply. */ 9098 builtin and then its argument prototype would still apply. */
10978char kstat_open (); 9099char kstat_open ();
10979#ifdef F77_DUMMY_MAIN
10980# ifdef __cplusplus
10981 extern "C"
10982# endif
10983 int F77_DUMMY_MAIN() { return 1; }
10984#endif
10985int 9100int
10986main () 9101main ()
10987{ 9102{
@@ -10991,16 +9106,16 @@ kstat_open ();
10991} 9106}
10992_ACEOF 9107_ACEOF
10993rm -f conftest.$ac_objext conftest$ac_exeext 9108rm -f conftest.$ac_objext conftest$ac_exeext
10994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9109if { (eval echo "$as_me:9109: \"$ac_link\"") >&5
10995 (eval $ac_link) 2>&5 9110 (eval $ac_link) 2>&5
10996 ac_status=$? 9111 ac_status=$?
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9112 echo "$as_me:9112: \$? = $ac_status" >&5
10998 (exit $ac_status); } && 9113 (exit $ac_status); } &&
10999 { ac_try='test -s conftest$ac_exeext' 9114 { ac_try='test -s conftest$ac_exeext'
11000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9115 { (eval echo "$as_me:9115: \"$ac_try\"") >&5
11001 (eval $ac_try) 2>&5 9116 (eval $ac_try) 2>&5
11002 ac_status=$? 9117 ac_status=$?
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9118 echo "$as_me:9118: \$? = $ac_status" >&5
11004 (exit $ac_status); }; }; then 9119 (exit $ac_status); }; }; then
11005 ac_cv_lib_kstat_kstat_open=yes 9120 ac_cv_lib_kstat_kstat_open=yes
11006else 9121else
@@ -11011,12 +9126,12 @@ fi
11011rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9126rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11012LIBS=$ac_check_lib_save_LIBS 9127LIBS=$ac_check_lib_save_LIBS
11013fi 9128fi
11014echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 9129echo "$as_me:9129: result: $ac_cv_lib_kstat_kstat_open" >&5
11015echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 9130echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
11016if test $ac_cv_lib_kstat_kstat_open = yes; then 9131if test $ac_cv_lib_kstat_kstat_open = yes; then
11017 cat >>confdefs.h <<_ACEOF 9132 cat >>confdefs.h <<EOF
11018#define HAVE_LIBKSTAT 1 9133#define HAVE_LIBKSTAT 1
11019_ACEOF 9134EOF
11020 9135
11021 LIBS="-lkstat $LIBS" 9136 LIBS="-lkstat $LIBS"
11022 9137
@@ -11029,7 +9144,7 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
11029# to get the right answer into the cache. 9144# to get the right answer into the cache.
11030# For kstat on solaris, we need libelf to force the definition of SVR4 below. 9145# For kstat on solaris, we need libelf to force the definition of SVR4 below.
11031if test $ac_have_func = no; then 9146if test $ac_have_func = no; then
11032 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 9147 echo "$as_me:9147: checking for elf_begin in -lelf" >&5
11033echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 9148echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
11034if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 9149if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6 9150 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11037,7 +9152,7 @@ else
11037 ac_check_lib_save_LIBS=$LIBS 9152 ac_check_lib_save_LIBS=$LIBS
11038LIBS="-lelf $LIBS" 9153LIBS="-lelf $LIBS"
11039cat >conftest.$ac_ext <<_ACEOF 9154cat >conftest.$ac_ext <<_ACEOF
11040#line $LINENO "configure" 9155#line 9155 "configure"
11041#include "confdefs.h" 9156#include "confdefs.h"
11042 9157
11043/* Override any gcc2 internal prototype to avoid an error. */ 9158/* Override any gcc2 internal prototype to avoid an error. */
@@ -11047,12 +9162,6 @@ extern "C"
11047/* We use char because int might match the return type of a gcc2 9162/* We use char because int might match the return type of a gcc2
11048 builtin and then its argument prototype would still apply. */ 9163 builtin and then its argument prototype would still apply. */
11049char elf_begin (); 9164char elf_begin ();
11050#ifdef F77_DUMMY_MAIN
11051# ifdef __cplusplus
11052 extern "C"
11053# endif
11054 int F77_DUMMY_MAIN() { return 1; }
11055#endif
11056int 9165int
11057main () 9166main ()
11058{ 9167{
@@ -11062,16 +9171,16 @@ elf_begin ();
11062} 9171}
11063_ACEOF 9172_ACEOF
11064rm -f conftest.$ac_objext conftest$ac_exeext 9173rm -f conftest.$ac_objext conftest$ac_exeext
11065if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9174if { (eval echo "$as_me:9174: \"$ac_link\"") >&5
11066 (eval $ac_link) 2>&5 9175 (eval $ac_link) 2>&5
11067 ac_status=$? 9176 ac_status=$?
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9177 echo "$as_me:9177: \$? = $ac_status" >&5
11069 (exit $ac_status); } && 9178 (exit $ac_status); } &&
11070 { ac_try='test -s conftest$ac_exeext' 9179 { ac_try='test -s conftest$ac_exeext'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9180 { (eval echo "$as_me:9180: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5 9181 (eval $ac_try) 2>&5
11073 ac_status=$? 9182 ac_status=$?
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9183 echo "$as_me:9183: \$? = $ac_status" >&5
11075 (exit $ac_status); }; }; then 9184 (exit $ac_status); }; }; then
11076 ac_cv_lib_elf_elf_begin=yes 9185 ac_cv_lib_elf_elf_begin=yes
11077else 9186else
@@ -11082,7 +9191,7 @@ fi
11082rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9191rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11083LIBS=$ac_check_lib_save_LIBS 9192LIBS=$ac_check_lib_save_LIBS
11084fi 9193fi
11085echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 9194echo "$as_me:9194: result: $ac_cv_lib_elf_elf_begin" >&5
11086echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 9195echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
11087if test $ac_cv_lib_elf_elf_begin = yes; then 9196if test $ac_cv_lib_elf_elf_begin = yes; then
11088 LIBS="-lelf $LIBS" 9197 LIBS="-lelf $LIBS"
@@ -11090,7 +9199,7 @@ fi
11090 9199
11091fi 9200fi
11092if test $ac_have_func = no; then 9201if test $ac_have_func = no; then
11093 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 9202 echo "$as_me:9202: checking for kvm_open in -lkvm" >&5
11094echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 9203echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
11095if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 9204if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6 9205 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11098,7 +9207,7 @@ else
11098 ac_check_lib_save_LIBS=$LIBS 9207 ac_check_lib_save_LIBS=$LIBS
11099LIBS="-lkvm $LIBS" 9208LIBS="-lkvm $LIBS"
11100cat >conftest.$ac_ext <<_ACEOF 9209cat >conftest.$ac_ext <<_ACEOF
11101#line $LINENO "configure" 9210#line 9210 "configure"
11102#include "confdefs.h" 9211#include "confdefs.h"
11103 9212
11104/* Override any gcc2 internal prototype to avoid an error. */ 9213/* Override any gcc2 internal prototype to avoid an error. */
@@ -11108,12 +9217,6 @@ extern "C"
11108/* We use char because int might match the return type of a gcc2 9217/* We use char because int might match the return type of a gcc2
11109 builtin and then its argument prototype would still apply. */ 9218 builtin and then its argument prototype would still apply. */
11110char kvm_open (); 9219char kvm_open ();
11111#ifdef F77_DUMMY_MAIN
11112# ifdef __cplusplus
11113 extern "C"
11114# endif
11115 int F77_DUMMY_MAIN() { return 1; }
11116#endif
11117int 9220int
11118main () 9221main ()
11119{ 9222{
@@ -11123,16 +9226,16 @@ kvm_open ();
11123} 9226}
11124_ACEOF 9227_ACEOF
11125rm -f conftest.$ac_objext conftest$ac_exeext 9228rm -f conftest.$ac_objext conftest$ac_exeext
11126if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9229if { (eval echo "$as_me:9229: \"$ac_link\"") >&5
11127 (eval $ac_link) 2>&5 9230 (eval $ac_link) 2>&5
11128 ac_status=$? 9231 ac_status=$?
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9232 echo "$as_me:9232: \$? = $ac_status" >&5
11130 (exit $ac_status); } && 9233 (exit $ac_status); } &&
11131 { ac_try='test -s conftest$ac_exeext' 9234 { ac_try='test -s conftest$ac_exeext'
11132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9235 { (eval echo "$as_me:9235: \"$ac_try\"") >&5
11133 (eval $ac_try) 2>&5 9236 (eval $ac_try) 2>&5
11134 ac_status=$? 9237 ac_status=$?
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9238 echo "$as_me:9238: \$? = $ac_status" >&5
11136 (exit $ac_status); }; }; then 9239 (exit $ac_status); }; }; then
11137 ac_cv_lib_kvm_kvm_open=yes 9240 ac_cv_lib_kvm_kvm_open=yes
11138else 9241else
@@ -11143,14 +9246,14 @@ fi
11143rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9246rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11144LIBS=$ac_check_lib_save_LIBS 9247LIBS=$ac_check_lib_save_LIBS
11145fi 9248fi
11146echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 9249echo "$as_me:9249: result: $ac_cv_lib_kvm_kvm_open" >&5
11147echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 9250echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
11148if test $ac_cv_lib_kvm_kvm_open = yes; then 9251if test $ac_cv_lib_kvm_kvm_open = yes; then
11149 LIBS="-lkvm $LIBS" 9252 LIBS="-lkvm $LIBS"
11150fi 9253fi
11151 9254
11152 # Check for the 4.4BSD definition of getloadavg. 9255 # Check for the 4.4BSD definition of getloadavg.
11153 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 9256 echo "$as_me:9256: checking for getloadavg in -lutil" >&5
11154echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 9257echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
11155if test "${ac_cv_lib_util_getloadavg+set}" = set; then 9258if test "${ac_cv_lib_util_getloadavg+set}" = set; then
11156 echo $ECHO_N "(cached) $ECHO_C" >&6 9259 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11158,7 +9261,7 @@ else
11158 ac_check_lib_save_LIBS=$LIBS 9261 ac_check_lib_save_LIBS=$LIBS
11159LIBS="-lutil $LIBS" 9262LIBS="-lutil $LIBS"
11160cat >conftest.$ac_ext <<_ACEOF 9263cat >conftest.$ac_ext <<_ACEOF
11161#line $LINENO "configure" 9264#line 9264 "configure"
11162#include "confdefs.h" 9265#include "confdefs.h"
11163 9266
11164/* Override any gcc2 internal prototype to avoid an error. */ 9267/* Override any gcc2 internal prototype to avoid an error. */
@@ -11168,12 +9271,6 @@ extern "C"
11168/* We use char because int might match the return type of a gcc2 9271/* We use char because int might match the return type of a gcc2
11169 builtin and then its argument prototype would still apply. */ 9272 builtin and then its argument prototype would still apply. */
11170char getloadavg (); 9273char getloadavg ();
11171#ifdef F77_DUMMY_MAIN
11172# ifdef __cplusplus
11173 extern "C"
11174# endif
11175 int F77_DUMMY_MAIN() { return 1; }
11176#endif
11177int 9274int
11178main () 9275main ()
11179{ 9276{
@@ -11183,16 +9280,16 @@ getloadavg ();
11183} 9280}
11184_ACEOF 9281_ACEOF
11185rm -f conftest.$ac_objext conftest$ac_exeext 9282rm -f conftest.$ac_objext conftest$ac_exeext
11186if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9283if { (eval echo "$as_me:9283: \"$ac_link\"") >&5
11187 (eval $ac_link) 2>&5 9284 (eval $ac_link) 2>&5
11188 ac_status=$? 9285 ac_status=$?
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9286 echo "$as_me:9286: \$? = $ac_status" >&5
11190 (exit $ac_status); } && 9287 (exit $ac_status); } &&
11191 { ac_try='test -s conftest$ac_exeext' 9288 { ac_try='test -s conftest$ac_exeext'
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9289 { (eval echo "$as_me:9289: \"$ac_try\"") >&5
11193 (eval $ac_try) 2>&5 9290 (eval $ac_try) 2>&5
11194 ac_status=$? 9291 ac_status=$?
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9292 echo "$as_me:9292: \$? = $ac_status" >&5
11196 (exit $ac_status); }; }; then 9293 (exit $ac_status); }; }; then
11197 ac_cv_lib_util_getloadavg=yes 9294 ac_cv_lib_util_getloadavg=yes
11198else 9295else
@@ -11203,7 +9300,7 @@ fi
11203rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9300rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11204LIBS=$ac_check_lib_save_LIBS 9301LIBS=$ac_check_lib_save_LIBS
11205fi 9302fi
11206echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 9303echo "$as_me:9303: result: $ac_cv_lib_util_getloadavg" >&5
11207echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 9304echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
11208if test $ac_cv_lib_util_getloadavg = yes; then 9305if test $ac_cv_lib_util_getloadavg = yes; then
11209 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 9306 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
@@ -11216,7 +9313,7 @@ if test $ac_have_func = no; then
11216 # Since it is not a standard part of AIX, it might be installed locally. 9313 # Since it is not a standard part of AIX, it might be installed locally.
11217 ac_getloadavg_LIBS=$LIBS 9314 ac_getloadavg_LIBS=$LIBS
11218 LIBS="-L/usr/local/lib $LIBS" 9315 LIBS="-L/usr/local/lib $LIBS"
11219 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 9316 echo "$as_me:9316: checking for getloadavg in -lgetloadavg" >&5
11220echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 9317echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
11221if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 9318if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
11222 echo $ECHO_N "(cached) $ECHO_C" >&6 9319 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11224,7 +9321,7 @@ else
11224 ac_check_lib_save_LIBS=$LIBS 9321 ac_check_lib_save_LIBS=$LIBS
11225LIBS="-lgetloadavg $LIBS" 9322LIBS="-lgetloadavg $LIBS"
11226cat >conftest.$ac_ext <<_ACEOF 9323cat >conftest.$ac_ext <<_ACEOF
11227#line $LINENO "configure" 9324#line 9324 "configure"
11228#include "confdefs.h" 9325#include "confdefs.h"
11229 9326
11230/* Override any gcc2 internal prototype to avoid an error. */ 9327/* Override any gcc2 internal prototype to avoid an error. */
@@ -11234,12 +9331,6 @@ extern "C"
11234/* We use char because int might match the return type of a gcc2 9331/* We use char because int might match the return type of a gcc2
11235 builtin and then its argument prototype would still apply. */ 9332 builtin and then its argument prototype would still apply. */
11236char getloadavg (); 9333char getloadavg ();
11237#ifdef F77_DUMMY_MAIN
11238# ifdef __cplusplus
11239 extern "C"
11240# endif
11241 int F77_DUMMY_MAIN() { return 1; }
11242#endif
11243int 9334int
11244main () 9335main ()
11245{ 9336{
@@ -11249,16 +9340,16 @@ getloadavg ();
11249} 9340}
11250_ACEOF 9341_ACEOF
11251rm -f conftest.$ac_objext conftest$ac_exeext 9342rm -f conftest.$ac_objext conftest$ac_exeext
11252if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9343if { (eval echo "$as_me:9343: \"$ac_link\"") >&5
11253 (eval $ac_link) 2>&5 9344 (eval $ac_link) 2>&5
11254 ac_status=$? 9345 ac_status=$?
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9346 echo "$as_me:9346: \$? = $ac_status" >&5
11256 (exit $ac_status); } && 9347 (exit $ac_status); } &&
11257 { ac_try='test -s conftest$ac_exeext' 9348 { ac_try='test -s conftest$ac_exeext'
11258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9349 { (eval echo "$as_me:9349: \"$ac_try\"") >&5
11259 (eval $ac_try) 2>&5 9350 (eval $ac_try) 2>&5
11260 ac_status=$? 9351 ac_status=$?
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9352 echo "$as_me:9352: \$? = $ac_status" >&5
11262 (exit $ac_status); }; }; then 9353 (exit $ac_status); }; }; then
11263 ac_cv_lib_getloadavg_getloadavg=yes 9354 ac_cv_lib_getloadavg_getloadavg=yes
11264else 9355else
@@ -11269,7 +9360,7 @@ fi
11269rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9360rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11270LIBS=$ac_check_lib_save_LIBS 9361LIBS=$ac_check_lib_save_LIBS
11271fi 9362fi
11272echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9363echo "$as_me:9363: result: $ac_cv_lib_getloadavg_getloadavg" >&5
11273echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9364echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
11274if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9365if test $ac_cv_lib_getloadavg_getloadavg = yes; then
11275 LIBS="-lgetloadavg $LIBS" 9366 LIBS="-lgetloadavg $LIBS"
@@ -11285,13 +9376,13 @@ fi
11285for ac_func in getloadavg 9376for ac_func in getloadavg
11286do 9377do
11287as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9378as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11288echo "$as_me:$LINENO: checking for $ac_func" >&5 9379echo "$as_me:9379: checking for $ac_func" >&5
11289echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9380echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11290if eval "test \"\${$as_ac_var+set}\" = set"; then 9381if eval "test \"\${$as_ac_var+set}\" = set"; then
11291 echo $ECHO_N "(cached) $ECHO_C" >&6 9382 echo $ECHO_N "(cached) $ECHO_C" >&6
11292else 9383else
11293 cat >conftest.$ac_ext <<_ACEOF 9384 cat >conftest.$ac_ext <<_ACEOF
11294#line $LINENO "configure" 9385#line 9385 "configure"
11295#include "confdefs.h" 9386#include "confdefs.h"
11296/* System header to define __stub macros and hopefully few prototypes, 9387/* System header to define __stub macros and hopefully few prototypes,
11297 which can conflict with char $ac_func (); below. */ 9388 which can conflict with char $ac_func (); below. */
@@ -11305,12 +9396,6 @@ extern "C"
11305char $ac_func (); 9396char $ac_func ();
11306char (*f) (); 9397char (*f) ();
11307 9398
11308#ifdef F77_DUMMY_MAIN
11309# ifdef __cplusplus
11310 extern "C"
11311# endif
11312 int F77_DUMMY_MAIN() { return 1; }
11313#endif
11314int 9399int
11315main () 9400main ()
11316{ 9401{
@@ -11328,16 +9413,16 @@ f = $ac_func;
11328} 9413}
11329_ACEOF 9414_ACEOF
11330rm -f conftest.$ac_objext conftest$ac_exeext 9415rm -f conftest.$ac_objext conftest$ac_exeext
11331if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9416if { (eval echo "$as_me:9416: \"$ac_link\"") >&5
11332 (eval $ac_link) 2>&5 9417 (eval $ac_link) 2>&5
11333 ac_status=$? 9418 ac_status=$?
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9419 echo "$as_me:9419: \$? = $ac_status" >&5
11335 (exit $ac_status); } && 9420 (exit $ac_status); } &&
11336 { ac_try='test -s conftest$ac_exeext' 9421 { ac_try='test -s conftest$ac_exeext'
11337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9422 { (eval echo "$as_me:9422: \"$ac_try\"") >&5
11338 (eval $ac_try) 2>&5 9423 (eval $ac_try) 2>&5
11339 ac_status=$? 9424 ac_status=$?
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9425 echo "$as_me:9425: \$? = $ac_status" >&5
11341 (exit $ac_status); }; }; then 9426 (exit $ac_status); }; }; then
11342 eval "$as_ac_var=yes" 9427 eval "$as_ac_var=yes"
11343else 9428else
@@ -11347,77 +9432,39 @@ eval "$as_ac_var=no"
11347fi 9432fi
11348rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9433rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11349fi 9434fi
11350echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9435echo "$as_me:9435: result: `eval echo '${'$as_ac_var'}'`" >&5
11351echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9436echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11352if test `eval echo '${'$as_ac_var'}'` = yes; then 9437if test `eval echo '${'$as_ac_var'}'` = yes; then
11353 cat >>confdefs.h <<_ACEOF 9438 cat >>confdefs.h <<EOF
11354#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9439#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11355_ACEOF 9440EOF
11356 9441
11357else 9442else
11358 LIBOBJS="$LIBOBJS getloadavg.$ac_objext" 9443 LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
11359 9444
11360cat >>confdefs.h <<\_ACEOF 9445cat >>confdefs.h <<\EOF
11361#define C_GETLOADAVG 1 9446#define C_GETLOADAVG 1
11362_ACEOF 9447EOF
11363 9448
11364# Figure out what our getloadavg.c needs. 9449# Figure out what our getloadavg.c needs.
11365ac_have_func=no 9450ac_have_func=no
11366if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9451echo "$as_me:9451: checking for sys/dg_sys_info.h" >&5
11367 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
11368echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9452echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
11369if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9453if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6 9454 echo $ECHO_N "(cached) $ECHO_C" >&6
11371fi
11372echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
11373echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
11374else
11375 # Is the header compilable?
11376echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
11377echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
11378cat >conftest.$ac_ext <<_ACEOF
11379#line $LINENO "configure"
11380#include "confdefs.h"
11381$ac_includes_default
11382#include <sys/dg_sys_info.h>
11383_ACEOF
11384rm -f conftest.$ac_objext
11385if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11386 (eval $ac_compile) 2>&5
11387 ac_status=$?
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } &&
11390 { ac_try='test -s conftest.$ac_objext'
11391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11392 (eval $ac_try) 2>&5
11393 ac_status=$?
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); }; }; then
11396 ac_header_compiler=yes
11397else 9455else
11398 echo "$as_me: failed program was:" >&5 9456 cat >conftest.$ac_ext <<_ACEOF
11399cat conftest.$ac_ext >&5 9457#line 9457 "configure"
11400ac_header_compiler=no
11401fi
11402rm -f conftest.$ac_objext conftest.$ac_ext
11403echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11404echo "${ECHO_T}$ac_header_compiler" >&6
11405
11406# Is the header present?
11407echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
11408echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
11409cat >conftest.$ac_ext <<_ACEOF
11410#line $LINENO "configure"
11411#include "confdefs.h" 9458#include "confdefs.h"
11412#include <sys/dg_sys_info.h> 9459#include <sys/dg_sys_info.h>
11413_ACEOF 9460_ACEOF
11414if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9461if { (eval echo "$as_me:9461: \"$ac_cpp conftest.$ac_ext\"") >&5
11415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11416 ac_status=$? 9463 ac_status=$?
11417 egrep -v '^ *\+' conftest.er1 >conftest.err 9464 egrep -v '^ *\+' conftest.er1 >conftest.err
11418 rm -f conftest.er1 9465 rm -f conftest.er1
11419 cat conftest.err >&5 9466 cat conftest.err >&5
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9467 echo "$as_me:9467: \$? = $ac_status" >&5
11421 (exit $ac_status); } >/dev/null; then 9468 (exit $ac_status); } >/dev/null; then
11422 if test -s conftest.err; then 9469 if test -s conftest.err; then
11423 ac_cpp_err=$ac_c_preproc_warn_flag 9470 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11428,51 +9475,24 @@ else
11428 ac_cpp_err=yes 9475 ac_cpp_err=yes
11429fi 9476fi
11430if test -z "$ac_cpp_err"; then 9477if test -z "$ac_cpp_err"; then
11431 ac_header_preproc=yes 9478 ac_cv_header_sys_dg_sys_info_h=yes
11432else 9479else
11433 echo "$as_me: failed program was:" >&5 9480 echo "$as_me: failed program was:" >&5
11434 cat conftest.$ac_ext >&5 9481 cat conftest.$ac_ext >&5
11435 ac_header_preproc=no 9482 ac_cv_header_sys_dg_sys_info_h=no
11436fi 9483fi
11437rm -f conftest.err conftest.$ac_ext 9484rm -f conftest.err conftest.$ac_ext
11438echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11439echo "${ECHO_T}$ac_header_preproc" >&6
11440
11441# So? What about this header?
11442case $ac_header_compiler:$ac_header_preproc in
11443 yes:no )
11444 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
11445echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11446 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
11447echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
11448 no:yes )
11449 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
11450echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
11451 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
11452echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
11453 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
11454echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
11455esac
11456echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
11457echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
11458if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11460else
11461 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
11462fi 9485fi
11463echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9486echo "$as_me:9486: result: $ac_cv_header_sys_dg_sys_info_h" >&5
11464echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9487echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
11465
11466fi
11467if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9488if test $ac_cv_header_sys_dg_sys_info_h = yes; then
11468 ac_have_func=yes 9489 ac_have_func=yes
11469 9490
11470cat >>confdefs.h <<\_ACEOF 9491cat >>confdefs.h <<\EOF
11471#define DGUX 1 9492#define DGUX 1
11472_ACEOF 9493EOF
11473
11474 9494
11475echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 9495echo "$as_me:9495: checking for dg_sys_info in -ldgc" >&5
11476echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9496echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
11477if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9497if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6 9498 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11480,7 +9500,7 @@ else
11480 ac_check_lib_save_LIBS=$LIBS 9500 ac_check_lib_save_LIBS=$LIBS
11481LIBS="-ldgc $LIBS" 9501LIBS="-ldgc $LIBS"
11482cat >conftest.$ac_ext <<_ACEOF 9502cat >conftest.$ac_ext <<_ACEOF
11483#line $LINENO "configure" 9503#line 9503 "configure"
11484#include "confdefs.h" 9504#include "confdefs.h"
11485 9505
11486/* Override any gcc2 internal prototype to avoid an error. */ 9506/* Override any gcc2 internal prototype to avoid an error. */
@@ -11490,12 +9510,6 @@ extern "C"
11490/* We use char because int might match the return type of a gcc2 9510/* We use char because int might match the return type of a gcc2
11491 builtin and then its argument prototype would still apply. */ 9511 builtin and then its argument prototype would still apply. */
11492char dg_sys_info (); 9512char dg_sys_info ();
11493#ifdef F77_DUMMY_MAIN
11494# ifdef __cplusplus
11495 extern "C"
11496# endif
11497 int F77_DUMMY_MAIN() { return 1; }
11498#endif
11499int 9513int
11500main () 9514main ()
11501{ 9515{
@@ -11505,16 +9519,16 @@ dg_sys_info ();
11505} 9519}
11506_ACEOF 9520_ACEOF
11507rm -f conftest.$ac_objext conftest$ac_exeext 9521rm -f conftest.$ac_objext conftest$ac_exeext
11508if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9522if { (eval echo "$as_me:9522: \"$ac_link\"") >&5
11509 (eval $ac_link) 2>&5 9523 (eval $ac_link) 2>&5
11510 ac_status=$? 9524 ac_status=$?
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9525 echo "$as_me:9525: \$? = $ac_status" >&5
11512 (exit $ac_status); } && 9526 (exit $ac_status); } &&
11513 { ac_try='test -s conftest$ac_exeext' 9527 { ac_try='test -s conftest$ac_exeext'
11514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9528 { (eval echo "$as_me:9528: \"$ac_try\"") >&5
11515 (eval $ac_try) 2>&5 9529 (eval $ac_try) 2>&5
11516 ac_status=$? 9530 ac_status=$?
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9531 echo "$as_me:9531: \$? = $ac_status" >&5
11518 (exit $ac_status); }; }; then 9532 (exit $ac_status); }; }; then
11519 ac_cv_lib_dgc_dg_sys_info=yes 9533 ac_cv_lib_dgc_dg_sys_info=yes
11520else 9534else
@@ -11525,12 +9539,12 @@ fi
11525rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9539rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11526LIBS=$ac_check_lib_save_LIBS 9540LIBS=$ac_check_lib_save_LIBS
11527fi 9541fi
11528echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9542echo "$as_me:9542: result: $ac_cv_lib_dgc_dg_sys_info" >&5
11529echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9543echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
11530if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9544if test $ac_cv_lib_dgc_dg_sys_info = yes; then
11531 cat >>confdefs.h <<_ACEOF 9545 cat >>confdefs.h <<EOF
11532#define HAVE_LIBDGC 1 9546#define HAVE_LIBDGC 1
11533_ACEOF 9547EOF
11534 9548
11535 LIBS="-ldgc $LIBS" 9549 LIBS="-ldgc $LIBS"
11536 9550
@@ -11538,63 +9552,23 @@ fi
11538 9552
11539fi 9553fi
11540 9554
11541 9555echo "$as_me:9555: checking for locale.h" >&5
11542
11543if test "${ac_cv_header_locale_h+set}" = set; then
11544 echo "$as_me:$LINENO: checking for locale.h" >&5
11545echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9556echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
11546if test "${ac_cv_header_locale_h+set}" = set; then 9557if test "${ac_cv_header_locale_h+set}" = set; then
11547 echo $ECHO_N "(cached) $ECHO_C" >&6 9558 echo $ECHO_N "(cached) $ECHO_C" >&6
11548fi
11549echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
11550echo "${ECHO_T}$ac_cv_header_locale_h" >&6
11551else
11552 # Is the header compilable?
11553echo "$as_me:$LINENO: checking locale.h usability" >&5
11554echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
11555cat >conftest.$ac_ext <<_ACEOF
11556#line $LINENO "configure"
11557#include "confdefs.h"
11558$ac_includes_default
11559#include <locale.h>
11560_ACEOF
11561rm -f conftest.$ac_objext
11562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11563 (eval $ac_compile) 2>&5
11564 ac_status=$?
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try='test -s conftest.$ac_objext'
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5
11570 ac_status=$?
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; }; then
11573 ac_header_compiler=yes
11574else 9559else
11575 echo "$as_me: failed program was:" >&5 9560 cat >conftest.$ac_ext <<_ACEOF
11576cat conftest.$ac_ext >&5 9561#line 9561 "configure"
11577ac_header_compiler=no
11578fi
11579rm -f conftest.$ac_objext conftest.$ac_ext
11580echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11581echo "${ECHO_T}$ac_header_compiler" >&6
11582
11583# Is the header present?
11584echo "$as_me:$LINENO: checking locale.h presence" >&5
11585echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
11586cat >conftest.$ac_ext <<_ACEOF
11587#line $LINENO "configure"
11588#include "confdefs.h" 9562#include "confdefs.h"
11589#include <locale.h> 9563#include <locale.h>
11590_ACEOF 9564_ACEOF
11591if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9565if { (eval echo "$as_me:9565: \"$ac_cpp conftest.$ac_ext\"") >&5
11592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11593 ac_status=$? 9567 ac_status=$?
11594 egrep -v '^ *\+' conftest.er1 >conftest.err 9568 egrep -v '^ *\+' conftest.er1 >conftest.err
11595 rm -f conftest.er1 9569 rm -f conftest.er1
11596 cat conftest.err >&5 9570 cat conftest.err >&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9571 echo "$as_me:9571: \$? = $ac_status" >&5
11598 (exit $ac_status); } >/dev/null; then 9572 (exit $ac_status); } >/dev/null; then
11599 if test -s conftest.err; then 9573 if test -s conftest.err; then
11600 ac_cpp_err=$ac_c_preproc_warn_flag 9574 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11605,55 +9579,27 @@ else
11605 ac_cpp_err=yes 9579 ac_cpp_err=yes
11606fi 9580fi
11607if test -z "$ac_cpp_err"; then 9581if test -z "$ac_cpp_err"; then
11608 ac_header_preproc=yes 9582 ac_cv_header_locale_h=yes
11609else 9583else
11610 echo "$as_me: failed program was:" >&5 9584 echo "$as_me: failed program was:" >&5
11611 cat conftest.$ac_ext >&5 9585 cat conftest.$ac_ext >&5
11612 ac_header_preproc=no 9586 ac_cv_header_locale_h=no
11613fi 9587fi
11614rm -f conftest.err conftest.$ac_ext 9588rm -f conftest.err conftest.$ac_ext
11615echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11616echo "${ECHO_T}$ac_header_preproc" >&6
11617
11618# So? What about this header?
11619case $ac_header_compiler:$ac_header_preproc in
11620 yes:no )
11621 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
11622echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11623 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
11624echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
11625 no:yes )
11626 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
11627echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
11628 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
11629echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
11630 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
11631echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
11632esac
11633echo "$as_me:$LINENO: checking for locale.h" >&5
11634echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
11635if test "${ac_cv_header_locale_h+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11637else
11638 ac_cv_header_locale_h=$ac_header_preproc
11639fi 9589fi
11640echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 9590echo "$as_me:9590: result: $ac_cv_header_locale_h" >&5
11641echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9591echo "${ECHO_T}$ac_cv_header_locale_h" >&6
11642 9592
11643fi
11644
11645
11646
11647for ac_func in setlocale 9593for ac_func in setlocale
11648do 9594do
11649as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9595as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11650echo "$as_me:$LINENO: checking for $ac_func" >&5 9596echo "$as_me:9596: checking for $ac_func" >&5
11651echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9597echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11652if eval "test \"\${$as_ac_var+set}\" = set"; then 9598if eval "test \"\${$as_ac_var+set}\" = set"; then
11653 echo $ECHO_N "(cached) $ECHO_C" >&6 9599 echo $ECHO_N "(cached) $ECHO_C" >&6
11654else 9600else
11655 cat >conftest.$ac_ext <<_ACEOF 9601 cat >conftest.$ac_ext <<_ACEOF
11656#line $LINENO "configure" 9602#line 9602 "configure"
11657#include "confdefs.h" 9603#include "confdefs.h"
11658/* System header to define __stub macros and hopefully few prototypes, 9604/* System header to define __stub macros and hopefully few prototypes,
11659 which can conflict with char $ac_func (); below. */ 9605 which can conflict with char $ac_func (); below. */
@@ -11667,12 +9613,6 @@ extern "C"
11667char $ac_func (); 9613char $ac_func ();
11668char (*f) (); 9614char (*f) ();
11669 9615
11670#ifdef F77_DUMMY_MAIN
11671# ifdef __cplusplus
11672 extern "C"
11673# endif
11674 int F77_DUMMY_MAIN() { return 1; }
11675#endif
11676int 9616int
11677main () 9617main ()
11678{ 9618{
@@ -11690,16 +9630,16 @@ f = $ac_func;
11690} 9630}
11691_ACEOF 9631_ACEOF
11692rm -f conftest.$ac_objext conftest$ac_exeext 9632rm -f conftest.$ac_objext conftest$ac_exeext
11693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9633if { (eval echo "$as_me:9633: \"$ac_link\"") >&5
11694 (eval $ac_link) 2>&5 9634 (eval $ac_link) 2>&5
11695 ac_status=$? 9635 ac_status=$?
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9636 echo "$as_me:9636: \$? = $ac_status" >&5
11697 (exit $ac_status); } && 9637 (exit $ac_status); } &&
11698 { ac_try='test -s conftest$ac_exeext' 9638 { ac_try='test -s conftest$ac_exeext'
11699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9639 { (eval echo "$as_me:9639: \"$ac_try\"") >&5
11700 (eval $ac_try) 2>&5 9640 (eval $ac_try) 2>&5
11701 ac_status=$? 9641 ac_status=$?
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9642 echo "$as_me:9642: \$? = $ac_status" >&5
11703 (exit $ac_status); }; }; then 9643 (exit $ac_status); }; }; then
11704 eval "$as_ac_var=yes" 9644 eval "$as_ac_var=yes"
11705else 9645else
@@ -11709,85 +9649,46 @@ eval "$as_ac_var=no"
11709fi 9649fi
11710rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9650rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11711fi 9651fi
11712echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9652echo "$as_me:9652: result: `eval echo '${'$as_ac_var'}'`" >&5
11713echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9653echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11714if test `eval echo '${'$as_ac_var'}'` = yes; then 9654if test `eval echo '${'$as_ac_var'}'` = yes; then
11715 cat >>confdefs.h <<_ACEOF 9655 cat >>confdefs.h <<EOF
11716#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9656#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11717_ACEOF 9657EOF
11718 9658
11719fi 9659fi
11720done 9660done
11721 9661
11722
11723# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it 9662# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
11724# uses stabs), but it is still SVR4. We cannot check for <elf.h> because 9663# uses stabs), but it is still SVR4. We cannot check for <elf.h> because
11725# Irix 4.0.5F has the header but not the library. 9664# Irix 4.0.5F has the header but not the library.
11726if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then 9665if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
11727 ac_have_func=yes 9666 ac_have_func=yes
11728 9667
11729cat >>confdefs.h <<\_ACEOF 9668cat >>confdefs.h <<\EOF
11730#define SVR4 1 9669#define SVR4 1
11731_ACEOF 9670EOF
11732 9671
11733fi 9672fi
11734 9673
11735if test $ac_have_func = no; then 9674if test $ac_have_func = no; then
11736 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9675 echo "$as_me:9675: checking for inq_stats/cpustats.h" >&5
11737 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
11738echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9676echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
11739if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9677if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6 9678 echo $ECHO_N "(cached) $ECHO_C" >&6
11741fi
11742echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
11743echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
11744else
11745 # Is the header compilable?
11746echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
11747echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
11748cat >conftest.$ac_ext <<_ACEOF
11749#line $LINENO "configure"
11750#include "confdefs.h"
11751$ac_includes_default
11752#include <inq_stats/cpustats.h>
11753_ACEOF
11754rm -f conftest.$ac_objext
11755if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11756 (eval $ac_compile) 2>&5
11757 ac_status=$?
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); } &&
11760 { ac_try='test -s conftest.$ac_objext'
11761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11762 (eval $ac_try) 2>&5
11763 ac_status=$?
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); }; }; then
11766 ac_header_compiler=yes
11767else 9679else
11768 echo "$as_me: failed program was:" >&5 9680 cat >conftest.$ac_ext <<_ACEOF
11769cat conftest.$ac_ext >&5 9681#line 9681 "configure"
11770ac_header_compiler=no
11771fi
11772rm -f conftest.$ac_objext conftest.$ac_ext
11773echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11774echo "${ECHO_T}$ac_header_compiler" >&6
11775
11776# Is the header present?
11777echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
11778echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
11779cat >conftest.$ac_ext <<_ACEOF
11780#line $LINENO "configure"
11781#include "confdefs.h" 9682#include "confdefs.h"
11782#include <inq_stats/cpustats.h> 9683#include <inq_stats/cpustats.h>
11783_ACEOF 9684_ACEOF
11784if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9685if { (eval echo "$as_me:9685: \"$ac_cpp conftest.$ac_ext\"") >&5
11785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11786 ac_status=$? 9687 ac_status=$?
11787 egrep -v '^ *\+' conftest.er1 >conftest.err 9688 egrep -v '^ *\+' conftest.er1 >conftest.err
11788 rm -f conftest.er1 9689 rm -f conftest.er1
11789 cat conftest.err >&5 9690 cat conftest.err >&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9691 echo "$as_me:9691: \$? = $ac_status" >&5
11791 (exit $ac_status); } >/dev/null; then 9692 (exit $ac_status); } >/dev/null; then
11792 if test -s conftest.err; then 9693 if test -s conftest.err; then
11793 ac_cpp_err=$ac_c_preproc_warn_flag 9694 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11798,115 +9699,49 @@ else
11798 ac_cpp_err=yes 9699 ac_cpp_err=yes
11799fi 9700fi
11800if test -z "$ac_cpp_err"; then 9701if test -z "$ac_cpp_err"; then
11801 ac_header_preproc=yes 9702 ac_cv_header_inq_stats_cpustats_h=yes
11802else 9703else
11803 echo "$as_me: failed program was:" >&5 9704 echo "$as_me: failed program was:" >&5
11804 cat conftest.$ac_ext >&5 9705 cat conftest.$ac_ext >&5
11805 ac_header_preproc=no 9706 ac_cv_header_inq_stats_cpustats_h=no
11806fi 9707fi
11807rm -f conftest.err conftest.$ac_ext 9708rm -f conftest.err conftest.$ac_ext
11808echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11809echo "${ECHO_T}$ac_header_preproc" >&6
11810
11811# So? What about this header?
11812case $ac_header_compiler:$ac_header_preproc in
11813 yes:no )
11814 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
11815echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11816 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
11817echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11818 no:yes )
11819 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
11820echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
11821 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
11822echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
11823 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
11824echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11825esac
11826echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
11827echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
11828if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11829 echo $ECHO_N "(cached) $ECHO_C" >&6
11830else
11831 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
11832fi 9709fi
11833echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9710echo "$as_me:9710: result: $ac_cv_header_inq_stats_cpustats_h" >&5
11834echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9711echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
11835
11836fi
11837if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9712if test $ac_cv_header_inq_stats_cpustats_h = yes; then
11838 ac_have_func=yes 9713 ac_have_func=yes
11839 9714
11840cat >>confdefs.h <<\_ACEOF 9715cat >>confdefs.h <<\EOF
11841#define UMAX 1 9716#define UMAX 1
11842_ACEOF 9717EOF
11843 9718
11844 9719cat >>confdefs.h <<\EOF
11845cat >>confdefs.h <<\_ACEOF
11846#define UMAX4_3 1 9720#define UMAX4_3 1
11847_ACEOF 9721EOF
11848 9722
11849fi 9723fi
11850 9724
11851
11852fi 9725fi
11853 9726
11854if test $ac_have_func = no; then 9727if test $ac_have_func = no; then
11855 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9728 echo "$as_me:9728: checking for sys/cpustats.h" >&5
11856 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11857echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9729echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
11858if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9730if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6 9731 echo $ECHO_N "(cached) $ECHO_C" >&6
11860fi
11861echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
11862echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
11863else
11864 # Is the header compilable?
11865echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
11866echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
11867cat >conftest.$ac_ext <<_ACEOF
11868#line $LINENO "configure"
11869#include "confdefs.h"
11870$ac_includes_default
11871#include <sys/cpustats.h>
11872_ACEOF
11873rm -f conftest.$ac_objext
11874if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11875 (eval $ac_compile) 2>&5
11876 ac_status=$?
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } &&
11879 { ac_try='test -s conftest.$ac_objext'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11882 ac_status=$?
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; }; then
11885 ac_header_compiler=yes
11886else 9732else
11887 echo "$as_me: failed program was:" >&5 9733 cat >conftest.$ac_ext <<_ACEOF
11888cat conftest.$ac_ext >&5 9734#line 9734 "configure"
11889ac_header_compiler=no
11890fi
11891rm -f conftest.$ac_objext conftest.$ac_ext
11892echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11893echo "${ECHO_T}$ac_header_compiler" >&6
11894
11895# Is the header present?
11896echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
11897echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
11898cat >conftest.$ac_ext <<_ACEOF
11899#line $LINENO "configure"
11900#include "confdefs.h" 9735#include "confdefs.h"
11901#include <sys/cpustats.h> 9736#include <sys/cpustats.h>
11902_ACEOF 9737_ACEOF
11903if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9738if { (eval echo "$as_me:9738: \"$ac_cpp conftest.$ac_ext\"") >&5
11904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11905 ac_status=$? 9740 ac_status=$?
11906 egrep -v '^ *\+' conftest.er1 >conftest.err 9741 egrep -v '^ *\+' conftest.er1 >conftest.err
11907 rm -f conftest.er1 9742 rm -f conftest.er1
11908 cat conftest.err >&5 9743 cat conftest.err >&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9744 echo "$as_me:9744: \$? = $ac_status" >&5
11910 (exit $ac_status); } >/dev/null; then 9745 (exit $ac_status); } >/dev/null; then
11911 if test -s conftest.err; then 9746 if test -s conftest.err; then
11912 ac_cpp_err=$ac_c_preproc_warn_flag 9747 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -11917,50 +9752,23 @@ else
11917 ac_cpp_err=yes 9752 ac_cpp_err=yes
11918fi 9753fi
11919if test -z "$ac_cpp_err"; then 9754if test -z "$ac_cpp_err"; then
11920 ac_header_preproc=yes 9755 ac_cv_header_sys_cpustats_h=yes
11921else 9756else
11922 echo "$as_me: failed program was:" >&5 9757 echo "$as_me: failed program was:" >&5
11923 cat conftest.$ac_ext >&5 9758 cat conftest.$ac_ext >&5
11924 ac_header_preproc=no 9759 ac_cv_header_sys_cpustats_h=no
11925fi 9760fi
11926rm -f conftest.err conftest.$ac_ext 9761rm -f conftest.err conftest.$ac_ext
11927echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11928echo "${ECHO_T}$ac_header_preproc" >&6
11929
11930# So? What about this header?
11931case $ac_header_compiler:$ac_header_preproc in
11932 yes:no )
11933 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
11934echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11935 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
11936echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11937 no:yes )
11938 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
11939echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
11940 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
11941echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
11942 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
11943echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11944esac
11945echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11946echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
11947if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11948 echo $ECHO_N "(cached) $ECHO_C" >&6
11949else
11950 ac_cv_header_sys_cpustats_h=$ac_header_preproc
11951fi 9762fi
11952echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 9763echo "$as_me:9763: result: $ac_cv_header_sys_cpustats_h" >&5
11953echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9764echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
11954
11955fi
11956if test $ac_cv_header_sys_cpustats_h = yes; then 9765if test $ac_cv_header_sys_cpustats_h = yes; then
11957 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF 9766 ac_have_func=yes; cat >>confdefs.h <<\EOF
11958#define UMAX 1 9767#define UMAX 1
11959_ACEOF 9768EOF
11960 9769
11961fi 9770fi
11962 9771
11963
11964fi 9772fi
11965 9773
11966if test $ac_have_func = no; then 9774if test $ac_have_func = no; then
@@ -11968,61 +9776,23 @@ if test $ac_have_func = no; then
11968for ac_header in mach/mach.h 9776for ac_header in mach/mach.h
11969do 9777do
11970as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9778as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11971if eval "test \"\${$as_ac_Header+set}\" = set"; then 9779echo "$as_me:9779: checking for $ac_header" >&5
11972 echo "$as_me:$LINENO: checking for $ac_header" >&5
11973echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9780echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11974if eval "test \"\${$as_ac_Header+set}\" = set"; then 9781if eval "test \"\${$as_ac_Header+set}\" = set"; then
11975 echo $ECHO_N "(cached) $ECHO_C" >&6 9782 echo $ECHO_N "(cached) $ECHO_C" >&6
11976fi
11977echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11978echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11979else
11980 # Is the header compilable?
11981echo "$as_me:$LINENO: checking $ac_header usability" >&5
11982echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11983cat >conftest.$ac_ext <<_ACEOF
11984#line $LINENO "configure"
11985#include "confdefs.h"
11986$ac_includes_default
11987#include <$ac_header>
11988_ACEOF
11989rm -f conftest.$ac_objext
11990if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11991 (eval $ac_compile) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); } &&
11995 { ac_try='test -s conftest.$ac_objext'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11998 ac_status=$?
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; }; then
12001 ac_header_compiler=yes
12002else 9783else
12003 echo "$as_me: failed program was:" >&5 9784 cat >conftest.$ac_ext <<_ACEOF
12004cat conftest.$ac_ext >&5 9785#line 9785 "configure"
12005ac_header_compiler=no
12006fi
12007rm -f conftest.$ac_objext conftest.$ac_ext
12008echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12009echo "${ECHO_T}$ac_header_compiler" >&6
12010
12011# Is the header present?
12012echo "$as_me:$LINENO: checking $ac_header presence" >&5
12013echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12014cat >conftest.$ac_ext <<_ACEOF
12015#line $LINENO "configure"
12016#include "confdefs.h" 9786#include "confdefs.h"
12017#include <$ac_header> 9787#include <$ac_header>
12018_ACEOF 9788_ACEOF
12019if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9789if { (eval echo "$as_me:9789: \"$ac_cpp conftest.$ac_ext\"") >&5
12020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12021 ac_status=$? 9791 ac_status=$?
12022 egrep -v '^ *\+' conftest.er1 >conftest.err 9792 egrep -v '^ *\+' conftest.er1 >conftest.err
12023 rm -f conftest.er1 9793 rm -f conftest.er1
12024 cat conftest.err >&5 9794 cat conftest.err >&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9795 echo "$as_me:9795: \$? = $ac_status" >&5
12026 (exit $ac_status); } >/dev/null; then 9796 (exit $ac_status); } >/dev/null; then
12027 if test -s conftest.err; then 9797 if test -s conftest.err; then
12028 ac_cpp_err=$ac_c_preproc_warn_flag 9798 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12033,112 +9803,46 @@ else
12033 ac_cpp_err=yes 9803 ac_cpp_err=yes
12034fi 9804fi
12035if test -z "$ac_cpp_err"; then 9805if test -z "$ac_cpp_err"; then
12036 ac_header_preproc=yes 9806 eval "$as_ac_Header=yes"
12037else 9807else
12038 echo "$as_me: failed program was:" >&5 9808 echo "$as_me: failed program was:" >&5
12039 cat conftest.$ac_ext >&5 9809 cat conftest.$ac_ext >&5
12040 ac_header_preproc=no 9810 eval "$as_ac_Header=no"
12041fi 9811fi
12042rm -f conftest.err conftest.$ac_ext 9812rm -f conftest.err conftest.$ac_ext
12043echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12044echo "${ECHO_T}$ac_header_preproc" >&6
12045
12046# So? What about this header?
12047case $ac_header_compiler:$ac_header_preproc in
12048 yes:no )
12049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12050echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12052echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12053 no:yes )
12054 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12055echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12056 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12057echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12059echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12060esac
12061echo "$as_me:$LINENO: checking for $ac_header" >&5
12062echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12063if eval "test \"\${$as_ac_Header+set}\" = set"; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12065else
12066 eval "$as_ac_Header=$ac_header_preproc"
12067fi 9813fi
12068echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9814echo "$as_me:9814: result: `eval echo '${'$as_ac_Header'}'`" >&5
12069echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9815echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12070
12071fi
12072if test `eval echo '${'$as_ac_Header'}'` = yes; then 9816if test `eval echo '${'$as_ac_Header'}'` = yes; then
12073 cat >>confdefs.h <<_ACEOF 9817 cat >>confdefs.h <<EOF
12074#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9818#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12075_ACEOF 9819EOF
12076 9820
12077fi 9821fi
12078
12079done 9822done
12080 9823
12081fi 9824fi
12082 9825
12083
12084for ac_header in nlist.h 9826for ac_header in nlist.h
12085do 9827do
12086as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9828as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12087if eval "test \"\${$as_ac_Header+set}\" = set"; then 9829echo "$as_me:9829: checking for $ac_header" >&5
12088 echo "$as_me:$LINENO: checking for $ac_header" >&5
12089echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9830echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12090if eval "test \"\${$as_ac_Header+set}\" = set"; then 9831if eval "test \"\${$as_ac_Header+set}\" = set"; then
12091 echo $ECHO_N "(cached) $ECHO_C" >&6 9832 echo $ECHO_N "(cached) $ECHO_C" >&6
12092fi
12093echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12094echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12095else
12096 # Is the header compilable?
12097echo "$as_me:$LINENO: checking $ac_header usability" >&5
12098echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12099cat >conftest.$ac_ext <<_ACEOF
12100#line $LINENO "configure"
12101#include "confdefs.h"
12102$ac_includes_default
12103#include <$ac_header>
12104_ACEOF
12105rm -f conftest.$ac_objext
12106if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12107 (eval $ac_compile) 2>&5
12108 ac_status=$?
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try='test -s conftest.$ac_objext'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12114 ac_status=$?
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12117 ac_header_compiler=yes
12118else 9833else
12119 echo "$as_me: failed program was:" >&5 9834 cat >conftest.$ac_ext <<_ACEOF
12120cat conftest.$ac_ext >&5 9835#line 9835 "configure"
12121ac_header_compiler=no
12122fi
12123rm -f conftest.$ac_objext conftest.$ac_ext
12124echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12125echo "${ECHO_T}$ac_header_compiler" >&6
12126
12127# Is the header present?
12128echo "$as_me:$LINENO: checking $ac_header presence" >&5
12129echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12130cat >conftest.$ac_ext <<_ACEOF
12131#line $LINENO "configure"
12132#include "confdefs.h" 9836#include "confdefs.h"
12133#include <$ac_header> 9837#include <$ac_header>
12134_ACEOF 9838_ACEOF
12135if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9839if { (eval echo "$as_me:9839: \"$ac_cpp conftest.$ac_ext\"") >&5
12136 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12137 ac_status=$? 9841 ac_status=$?
12138 egrep -v '^ *\+' conftest.er1 >conftest.err 9842 egrep -v '^ *\+' conftest.er1 >conftest.err
12139 rm -f conftest.er1 9843 rm -f conftest.er1
12140 cat conftest.err >&5 9844 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9845 echo "$as_me:9845: \$? = $ac_status" >&5
12142 (exit $ac_status); } >/dev/null; then 9846 (exit $ac_status); } >/dev/null; then
12143 if test -s conftest.err; then 9847 if test -s conftest.err; then
12144 ac_cpp_err=$ac_c_preproc_warn_flag 9848 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -12149,62 +9853,30 @@ else
12149 ac_cpp_err=yes 9853 ac_cpp_err=yes
12150fi 9854fi
12151if test -z "$ac_cpp_err"; then 9855if test -z "$ac_cpp_err"; then
12152 ac_header_preproc=yes 9856 eval "$as_ac_Header=yes"
12153else 9857else
12154 echo "$as_me: failed program was:" >&5 9858 echo "$as_me: failed program was:" >&5
12155 cat conftest.$ac_ext >&5 9859 cat conftest.$ac_ext >&5
12156 ac_header_preproc=no 9860 eval "$as_ac_Header=no"
12157fi 9861fi
12158rm -f conftest.err conftest.$ac_ext 9862rm -f conftest.err conftest.$ac_ext
12159echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12160echo "${ECHO_T}$ac_header_preproc" >&6
12161
12162# So? What about this header?
12163case $ac_header_compiler:$ac_header_preproc in
12164 yes:no )
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12166echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12168echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12169 no:yes )
12170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12171echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12173echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12175echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12176esac
12177echo "$as_me:$LINENO: checking for $ac_header" >&5
12178echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12179if eval "test \"\${$as_ac_Header+set}\" = set"; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12181else
12182 eval "$as_ac_Header=$ac_header_preproc"
12183fi 9863fi
12184echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9864echo "$as_me:9864: result: `eval echo '${'$as_ac_Header'}'`" >&5
12185echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9865echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12186
12187fi
12188if test `eval echo '${'$as_ac_Header'}'` = yes; then 9866if test `eval echo '${'$as_ac_Header'}'` = yes; then
12189 cat >>confdefs.h <<_ACEOF 9867 cat >>confdefs.h <<EOF
12190#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9868#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12191_ACEOF 9869EOF
12192 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 9870 echo "$as_me:9870: checking for struct nlist.n_un.n_name" >&5
12193echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9871echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
12194if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9872if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6 9873 echo $ECHO_N "(cached) $ECHO_C" >&6
12196else 9874else
12197 cat >conftest.$ac_ext <<_ACEOF 9875 cat >conftest.$ac_ext <<_ACEOF
12198#line $LINENO "configure" 9876#line 9876 "configure"
12199#include "confdefs.h" 9877#include "confdefs.h"
12200#include <nlist.h> 9878#include <nlist.h>
12201 9879
12202#ifdef F77_DUMMY_MAIN
12203# ifdef __cplusplus
12204 extern "C"
12205# endif
12206 int F77_DUMMY_MAIN() { return 1; }
12207#endif
12208int 9880int
12209main () 9881main ()
12210{ 9882{
@@ -12216,16 +9888,16 @@ return 0;
12216} 9888}
12217_ACEOF 9889_ACEOF
12218rm -f conftest.$ac_objext 9890rm -f conftest.$ac_objext
12219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9891if { (eval echo "$as_me:9891: \"$ac_compile\"") >&5
12220 (eval $ac_compile) 2>&5 9892 (eval $ac_compile) 2>&5
12221 ac_status=$? 9893 ac_status=$?
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9894 echo "$as_me:9894: \$? = $ac_status" >&5
12223 (exit $ac_status); } && 9895 (exit $ac_status); } &&
12224 { ac_try='test -s conftest.$ac_objext' 9896 { ac_try='test -s conftest.$ac_objext'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9897 { (eval echo "$as_me:9897: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5 9898 (eval $ac_try) 2>&5
12227 ac_status=$? 9899 ac_status=$?
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9900 echo "$as_me:9900: \$? = $ac_status" >&5
12229 (exit $ac_status); }; }; then 9901 (exit $ac_status); }; }; then
12230 ac_cv_member_struct_nlist_n_un_n_name=yes 9902 ac_cv_member_struct_nlist_n_un_n_name=yes
12231else 9903else
@@ -12235,38 +9907,34 @@ ac_cv_member_struct_nlist_n_un_n_name=no
12235fi 9907fi
12236rm -f conftest.$ac_objext conftest.$ac_ext 9908rm -f conftest.$ac_objext conftest.$ac_ext
12237fi 9909fi
12238echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9910echo "$as_me:9910: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
12239echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9911echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
12240if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9912if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
12241 9913
12242cat >>confdefs.h <<_ACEOF 9914cat >>confdefs.h <<EOF
12243#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9915#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
12244_ACEOF 9916EOF
12245 9917
12246 9918cat >>confdefs.h <<\EOF
12247cat >>confdefs.h <<\_ACEOF
12248#define NLIST_NAME_UNION 1 9919#define NLIST_NAME_UNION 1
12249_ACEOF 9920EOF
12250 9921
12251fi 9922fi
12252 9923
12253
12254fi 9924fi
12255
12256done 9925done
12257 9926
12258fi 9927fi
12259done 9928done
12260 9929
12261
12262# Some definitions of getloadavg require that the program be installed setgid. 9930# Some definitions of getloadavg require that the program be installed setgid.
12263echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 9931echo "$as_me:9931: checking whether getloadavg requires setgid" >&5
12264echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9932echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
12265if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9933if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
12266 echo $ECHO_N "(cached) $ECHO_C" >&6 9934 echo $ECHO_N "(cached) $ECHO_C" >&6
12267else 9935else
12268 cat >conftest.$ac_ext <<_ACEOF 9936 cat >conftest.$ac_ext <<_ACEOF
12269#line $LINENO "configure" 9937#line 9937 "configure"
12270#include "confdefs.h" 9938#include "confdefs.h"
12271#include "$srcdir/getloadavg.c" 9939#include "$srcdir/getloadavg.c"
12272#ifdef LDAV_PRIVILEGED 9940#ifdef LDAV_PRIVILEGED
@@ -12282,21 +9950,21 @@ fi
12282rm -f conftest* 9950rm -f conftest*
12283 9951
12284fi 9952fi
12285echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 9953echo "$as_me:9953: result: $ac_cv_func_getloadavg_setgid" >&5
12286echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 9954echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
12287if test $ac_cv_func_getloadavg_setgid = yes; then 9955if test $ac_cv_func_getloadavg_setgid = yes; then
12288 NEED_SETGID=true 9956 NEED_SETGID=true
12289 9957
12290cat >>confdefs.h <<\_ACEOF 9958cat >>confdefs.h <<\EOF
12291#define GETLOADAVG_PRIVILEGED 1 9959#define GETLOADAVG_PRIVILEGED 1
12292_ACEOF 9960EOF
12293 9961
12294else 9962else
12295 NEED_SETGID=false 9963 NEED_SETGID=false
12296fi 9964fi
12297 9965
12298if test $ac_cv_func_getloadavg_setgid = yes; then 9966if test $ac_cv_func_getloadavg_setgid = yes; then
12299 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 9967 echo "$as_me:9967: checking group of /dev/kmem" >&5
12300echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 9968echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
12301if test "${ac_cv_group_kmem+set}" = set; then 9969if test "${ac_cv_group_kmem+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6 9970 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12311,7 +9979,7 @@ else
12311 / /s/.* //;p;'` 9979 / /s/.* //;p;'`
12312 9980
12313fi 9981fi
12314echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 9982echo "$as_me:9982: result: $ac_cv_group_kmem" >&5
12315echo "${ECHO_T}$ac_cv_group_kmem" >&6 9983echo "${ECHO_T}$ac_cv_group_kmem" >&6
12316 KMEM_GROUP=$ac_cv_group_kmem 9984 KMEM_GROUP=$ac_cv_group_kmem
12317fi 9985fi
@@ -12322,9 +9990,7 @@ else
12322fi 9990fi
12323LIBS=$ac_save_LIBS 9991LIBS=$ac_save_LIBS
12324 9992
12325 9993echo "$as_me:9993: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12326
12327echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12328echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 9994echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
12329if test "${ac_cv_sys_largefile_source+set}" = set; then 9995if test "${ac_cv_sys_largefile_source+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6 9996 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12332,15 +9998,9 @@ else
12332 while :; do 9998 while :; do
12333 ac_cv_sys_largefile_source=no 9999 ac_cv_sys_largefile_source=no
12334 cat >conftest.$ac_ext <<_ACEOF 10000 cat >conftest.$ac_ext <<_ACEOF
12335#line $LINENO "configure" 10001#line 10001 "configure"
12336#include "confdefs.h" 10002#include "confdefs.h"
12337#include <stdio.h> 10003#include <stdio.h>
12338#ifdef F77_DUMMY_MAIN
12339# ifdef __cplusplus
12340 extern "C"
12341# endif
12342 int F77_DUMMY_MAIN() { return 1; }
12343#endif
12344int 10004int
12345main () 10005main ()
12346{ 10006{
@@ -12350,16 +10010,16 @@ return !fseeko;
12350} 10010}
12351_ACEOF 10011_ACEOF
12352rm -f conftest.$ac_objext 10012rm -f conftest.$ac_objext
12353if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10013if { (eval echo "$as_me:10013: \"$ac_compile\"") >&5
12354 (eval $ac_compile) 2>&5 10014 (eval $ac_compile) 2>&5
12355 ac_status=$? 10015 ac_status=$?
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10016 echo "$as_me:10016: \$? = $ac_status" >&5
12357 (exit $ac_status); } && 10017 (exit $ac_status); } &&
12358 { ac_try='test -s conftest.$ac_objext' 10018 { ac_try='test -s conftest.$ac_objext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10019 { (eval echo "$as_me:10019: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5 10020 (eval $ac_try) 2>&5
12361 ac_status=$? 10021 ac_status=$?
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10022 echo "$as_me:10022: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then 10023 (exit $ac_status); }; }; then
12364 break 10024 break
12365else 10025else
@@ -12368,16 +10028,10 @@ cat conftest.$ac_ext >&5
12368fi 10028fi
12369rm -f conftest.$ac_objext conftest.$ac_ext 10029rm -f conftest.$ac_objext conftest.$ac_ext
12370 cat >conftest.$ac_ext <<_ACEOF 10030 cat >conftest.$ac_ext <<_ACEOF
12371#line $LINENO "configure" 10031#line 10031 "configure"
12372#include "confdefs.h" 10032#include "confdefs.h"
12373#define _LARGEFILE_SOURCE 1 10033#define _LARGEFILE_SOURCE 1
12374#include <stdio.h> 10034#include <stdio.h>
12375#ifdef F77_DUMMY_MAIN
12376# ifdef __cplusplus
12377 extern "C"
12378# endif
12379 int F77_DUMMY_MAIN() { return 1; }
12380#endif
12381int 10035int
12382main () 10036main ()
12383{ 10037{
@@ -12387,16 +10041,16 @@ return !fseeko;
12387} 10041}
12388_ACEOF 10042_ACEOF
12389rm -f conftest.$ac_objext 10043rm -f conftest.$ac_objext
12390if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10044if { (eval echo "$as_me:10044: \"$ac_compile\"") >&5
12391 (eval $ac_compile) 2>&5 10045 (eval $ac_compile) 2>&5
12392 ac_status=$? 10046 ac_status=$?
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10047 echo "$as_me:10047: \$? = $ac_status" >&5
12394 (exit $ac_status); } && 10048 (exit $ac_status); } &&
12395 { ac_try='test -s conftest.$ac_objext' 10049 { ac_try='test -s conftest.$ac_objext'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10050 { (eval echo "$as_me:10050: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5 10051 (eval $ac_try) 2>&5
12398 ac_status=$? 10052 ac_status=$?
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10053 echo "$as_me:10053: \$? = $ac_status" >&5
12400 (exit $ac_status); }; }; then 10054 (exit $ac_status); }; }; then
12401 ac_cv_sys_largefile_source=1; break 10055 ac_cv_sys_largefile_source=1; break
12402else 10056else
@@ -12407,13 +10061,13 @@ rm -f conftest.$ac_objext conftest.$ac_ext
12407 break 10061 break
12408done 10062done
12409fi 10063fi
12410echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 10064echo "$as_me:10064: result: $ac_cv_sys_largefile_source" >&5
12411echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 10065echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
12412if test "$ac_cv_sys_largefile_source" != no; then 10066if test "$ac_cv_sys_largefile_source" != no; then
12413 10067
12414cat >>confdefs.h <<_ACEOF 10068cat >>confdefs.h <<EOF
12415#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 10069#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
12416_ACEOF 10070EOF
12417 10071
12418fi 10072fi
12419rm -f conftest* 10073rm -f conftest*
@@ -12421,21 +10075,15 @@ rm -f conftest*
12421# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 10075# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
12422# in glibc 2.1.3, but that breaks too many other things. 10076# in glibc 2.1.3, but that breaks too many other things.
12423# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 10077# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
12424echo "$as_me:$LINENO: checking for fseeko" >&5 10078echo "$as_me:10078: checking for fseeko" >&5
12425echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 10079echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
12426if test "${ac_cv_func_fseeko+set}" = set; then 10080if test "${ac_cv_func_fseeko+set}" = set; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6 10081 echo $ECHO_N "(cached) $ECHO_C" >&6
12428else 10082else
12429 cat >conftest.$ac_ext <<_ACEOF 10083 cat >conftest.$ac_ext <<_ACEOF
12430#line $LINENO "configure" 10084#line 10084 "configure"
12431#include "confdefs.h" 10085#include "confdefs.h"
12432#include <stdio.h> 10086#include <stdio.h>
12433#ifdef F77_DUMMY_MAIN
12434# ifdef __cplusplus
12435 extern "C"
12436# endif
12437 int F77_DUMMY_MAIN() { return 1; }
12438#endif
12439int 10087int
12440main () 10088main ()
12441{ 10089{
@@ -12445,16 +10093,16 @@ return fseeko && fseeko (stdin, 0, 0);
12445} 10093}
12446_ACEOF 10094_ACEOF
12447rm -f conftest.$ac_objext conftest$ac_exeext 10095rm -f conftest.$ac_objext conftest$ac_exeext
12448if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10096if { (eval echo "$as_me:10096: \"$ac_link\"") >&5
12449 (eval $ac_link) 2>&5 10097 (eval $ac_link) 2>&5
12450 ac_status=$? 10098 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10099 echo "$as_me:10099: \$? = $ac_status" >&5
12452 (exit $ac_status); } && 10100 (exit $ac_status); } &&
12453 { ac_try='test -s conftest$ac_exeext' 10101 { ac_try='test -s conftest$ac_exeext'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10102 { (eval echo "$as_me:10102: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5 10103 (eval $ac_try) 2>&5
12456 ac_status=$? 10104 ac_status=$?
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10105 echo "$as_me:10105: \$? = $ac_status" >&5
12458 (exit $ac_status); }; }; then 10106 (exit $ac_status); }; }; then
12459 ac_cv_func_fseeko=yes 10107 ac_cv_func_fseeko=yes
12460else 10108else
@@ -12464,29 +10112,28 @@ ac_cv_func_fseeko=no
12464fi 10112fi
12465rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10113rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12466fi 10114fi
12467echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 10115echo "$as_me:10115: result: $ac_cv_func_fseeko" >&5
12468echo "${ECHO_T}$ac_cv_func_fseeko" >&6 10116echo "${ECHO_T}$ac_cv_func_fseeko" >&6
12469if test $ac_cv_func_fseeko = yes; then 10117if test $ac_cv_func_fseeko = yes; then
12470 10118
12471cat >>confdefs.h <<\_ACEOF 10119cat >>confdefs.h <<\EOF
12472#define HAVE_FSEEKO 1 10120#define HAVE_FSEEKO 1
12473_ACEOF 10121EOF
12474 10122
12475fi 10123fi
12476 10124
12477
12478# UNIX98 PTYs. 10125# UNIX98 PTYs.
12479 10126
12480for ac_func in grantpt 10127for ac_func in grantpt
12481do 10128do
12482as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10129as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12483echo "$as_me:$LINENO: checking for $ac_func" >&5 10130echo "$as_me:10130: checking for $ac_func" >&5
12484echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10131echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12485if eval "test \"\${$as_ac_var+set}\" = set"; then 10132if eval "test \"\${$as_ac_var+set}\" = set"; then
12486 echo $ECHO_N "(cached) $ECHO_C" >&6 10133 echo $ECHO_N "(cached) $ECHO_C" >&6
12487else 10134else
12488 cat >conftest.$ac_ext <<_ACEOF 10135 cat >conftest.$ac_ext <<_ACEOF
12489#line $LINENO "configure" 10136#line 10136 "configure"
12490#include "confdefs.h" 10137#include "confdefs.h"
12491/* System header to define __stub macros and hopefully few prototypes, 10138/* System header to define __stub macros and hopefully few prototypes,
12492 which can conflict with char $ac_func (); below. */ 10139 which can conflict with char $ac_func (); below. */
@@ -12500,12 +10147,6 @@ extern "C"
12500char $ac_func (); 10147char $ac_func ();
12501char (*f) (); 10148char (*f) ();
12502 10149
12503#ifdef F77_DUMMY_MAIN
12504# ifdef __cplusplus
12505 extern "C"
12506# endif
12507 int F77_DUMMY_MAIN() { return 1; }
12508#endif
12509int 10150int
12510main () 10151main ()
12511{ 10152{
@@ -12523,16 +10164,16 @@ f = $ac_func;
12523} 10164}
12524_ACEOF 10165_ACEOF
12525rm -f conftest.$ac_objext conftest$ac_exeext 10166rm -f conftest.$ac_objext conftest$ac_exeext
12526if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10167if { (eval echo "$as_me:10167: \"$ac_link\"") >&5
12527 (eval $ac_link) 2>&5 10168 (eval $ac_link) 2>&5
12528 ac_status=$? 10169 ac_status=$?
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10170 echo "$as_me:10170: \$? = $ac_status" >&5
12530 (exit $ac_status); } && 10171 (exit $ac_status); } &&
12531 { ac_try='test -s conftest$ac_exeext' 10172 { ac_try='test -s conftest$ac_exeext'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10173 { (eval echo "$as_me:10173: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5 10174 (eval $ac_try) 2>&5
12534 ac_status=$? 10175 ac_status=$?
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10176 echo "$as_me:10176: \$? = $ac_status" >&5
12536 (exit $ac_status); }; }; then 10177 (exit $ac_status); }; }; then
12537 eval "$as_ac_var=yes" 10178 eval "$as_ac_var=yes"
12538else 10179else
@@ -12542,29 +10183,28 @@ eval "$as_ac_var=no"
12542fi 10183fi
12543rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10184rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12544fi 10185fi
12545echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 10186echo "$as_me:10186: result: `eval echo '${'$as_ac_var'}'`" >&5
12546echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10187echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12547if test `eval echo '${'$as_ac_var'}'` = yes; then 10188if test `eval echo '${'$as_ac_var'}'` = yes; then
12548 cat >>confdefs.h <<_ACEOF 10189 cat >>confdefs.h <<EOF
12549#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10190#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12550_ACEOF 10191EOF
12551 10192
12552fi 10193fi
12553done 10194done
12554 10195
12555
12556# PTY-related GNU extensions. 10196# PTY-related GNU extensions.
12557 10197
12558for ac_func in getpt 10198for ac_func in getpt
12559do 10199do
12560as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10200as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12561echo "$as_me:$LINENO: checking for $ac_func" >&5 10201echo "$as_me:10201: checking for $ac_func" >&5
12562echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10202echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12563if eval "test \"\${$as_ac_var+set}\" = set"; then 10203if eval "test \"\${$as_ac_var+set}\" = set"; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6 10204 echo $ECHO_N "(cached) $ECHO_C" >&6
12565else 10205else
12566 cat >conftest.$ac_ext <<_ACEOF 10206 cat >conftest.$ac_ext <<_ACEOF
12567#line $LINENO "configure" 10207#line 10207 "configure"
12568#include "confdefs.h" 10208#include "confdefs.h"
12569/* System header to define __stub macros and hopefully few prototypes, 10209/* System header to define __stub macros and hopefully few prototypes,
12570 which can conflict with char $ac_func (); below. */ 10210 which can conflict with char $ac_func (); below. */
@@ -12578,12 +10218,6 @@ extern "C"
12578char $ac_func (); 10218char $ac_func ();
12579char (*f) (); 10219char (*f) ();
12580 10220
12581#ifdef F77_DUMMY_MAIN
12582# ifdef __cplusplus
12583 extern "C"
12584# endif
12585 int F77_DUMMY_MAIN() { return 1; }
12586#endif
12587int 10221int
12588main () 10222main ()
12589{ 10223{
@@ -12601,16 +10235,16 @@ f = $ac_func;
12601} 10235}
12602_ACEOF 10236_ACEOF
12603rm -f conftest.$ac_objext conftest$ac_exeext 10237rm -f conftest.$ac_objext conftest$ac_exeext
12604if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10238if { (eval echo "$as_me:10238: \"$ac_link\"") >&5
12605 (eval $ac_link) 2>&5 10239 (eval $ac_link) 2>&5
12606 ac_status=$? 10240 ac_status=$?
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10241 echo "$as_me:10241: \$? = $ac_status" >&5
12608 (exit $ac_status); } && 10242 (exit $ac_status); } &&
12609 { ac_try='test -s conftest$ac_exeext' 10243 { ac_try='test -s conftest$ac_exeext'
12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10244 { (eval echo "$as_me:10244: \"$ac_try\"") >&5
12611 (eval $ac_try) 2>&5 10245 (eval $ac_try) 2>&5
12612 ac_status=$? 10246 ac_status=$?
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10247 echo "$as_me:10247: \$? = $ac_status" >&5
12614 (exit $ac_status); }; }; then 10248 (exit $ac_status); }; }; then
12615 eval "$as_ac_var=yes" 10249 eval "$as_ac_var=yes"
12616else 10250else
@@ -12620,23 +10254,22 @@ eval "$as_ac_var=no"
12620fi 10254fi
12621rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10255rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12622fi 10256fi
12623echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 10257echo "$as_me:10257: result: `eval echo '${'$as_ac_var'}'`" >&5
12624echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10258echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12625if test `eval echo '${'$as_ac_var'}'` = yes; then 10259if test `eval echo '${'$as_ac_var'}'` = yes; then
12626 cat >>confdefs.h <<_ACEOF 10260 cat >>confdefs.h <<EOF
12627#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10261#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12628_ACEOF 10262EOF
12629 10263
12630fi 10264fi
12631done 10265done
12632 10266
12633
12634# Check this now, so that we will NOT find the above functions in ncurses. 10267# Check this now, so that we will NOT find the above functions in ncurses.
12635# That is because we have not set up to link ncurses in lib-src. 10268# That is because we have not set up to link ncurses in lib-src.
12636# It's better to believe a function is not available 10269# It's better to believe a function is not available
12637# than to expect to find it in ncurses. 10270# than to expect to find it in ncurses.
12638 10271
12639echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 10272echo "$as_me:10272: checking for tparm in -lncurses" >&5
12640echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 10273echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
12641if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 10274if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6 10275 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12644,7 +10277,7 @@ else
12644 ac_check_lib_save_LIBS=$LIBS 10277 ac_check_lib_save_LIBS=$LIBS
12645LIBS="-lncurses $LIBS" 10278LIBS="-lncurses $LIBS"
12646cat >conftest.$ac_ext <<_ACEOF 10279cat >conftest.$ac_ext <<_ACEOF
12647#line $LINENO "configure" 10280#line 10280 "configure"
12648#include "confdefs.h" 10281#include "confdefs.h"
12649 10282
12650/* Override any gcc2 internal prototype to avoid an error. */ 10283/* Override any gcc2 internal prototype to avoid an error. */
@@ -12654,12 +10287,6 @@ extern "C"
12654/* We use char because int might match the return type of a gcc2 10287/* We use char because int might match the return type of a gcc2
12655 builtin and then its argument prototype would still apply. */ 10288 builtin and then its argument prototype would still apply. */
12656char tparm (); 10289char tparm ();
12657#ifdef F77_DUMMY_MAIN
12658# ifdef __cplusplus
12659 extern "C"
12660# endif
12661 int F77_DUMMY_MAIN() { return 1; }
12662#endif
12663int 10290int
12664main () 10291main ()
12665{ 10292{
@@ -12669,16 +10296,16 @@ tparm ();
12669} 10296}
12670_ACEOF 10297_ACEOF
12671rm -f conftest.$ac_objext conftest$ac_exeext 10298rm -f conftest.$ac_objext conftest$ac_exeext
12672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10299if { (eval echo "$as_me:10299: \"$ac_link\"") >&5
12673 (eval $ac_link) 2>&5 10300 (eval $ac_link) 2>&5
12674 ac_status=$? 10301 ac_status=$?
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10302 echo "$as_me:10302: \$? = $ac_status" >&5
12676 (exit $ac_status); } && 10303 (exit $ac_status); } &&
12677 { ac_try='test -s conftest$ac_exeext' 10304 { ac_try='test -s conftest$ac_exeext'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10305 { (eval echo "$as_me:10305: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5 10306 (eval $ac_try) 2>&5
12680 ac_status=$? 10307 ac_status=$?
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10308 echo "$as_me:10308: \$? = $ac_status" >&5
12682 (exit $ac_status); }; }; then 10309 (exit $ac_status); }; }; then
12683 ac_cv_lib_ncurses_tparm=yes 10310 ac_cv_lib_ncurses_tparm=yes
12684else 10311else
@@ -12689,29 +10316,28 @@ fi
12689rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10316rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12690LIBS=$ac_check_lib_save_LIBS 10317LIBS=$ac_check_lib_save_LIBS
12691fi 10318fi
12692echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 10319echo "$as_me:10319: result: $ac_cv_lib_ncurses_tparm" >&5
12693echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 10320echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
12694if test $ac_cv_lib_ncurses_tparm = yes; then 10321if test $ac_cv_lib_ncurses_tparm = yes; then
12695 cat >>confdefs.h <<_ACEOF 10322 cat >>confdefs.h <<EOF
12696#define HAVE_LIBNCURSES 1 10323#define HAVE_LIBNCURSES 1
12697_ACEOF 10324EOF
12698 10325
12699 LIBS="-lncurses $LIBS" 10326 LIBS="-lncurses $LIBS"
12700 10327
12701fi 10328fi
12702 10329
12703
12704# Do we need the Hesiod library to provide the support routines? 10330# Do we need the Hesiod library to provide the support routines?
12705if test "$with_hesiod" = yes ; then 10331if test "$with_hesiod" = yes ; then
12706 # Don't set $LIBS here -- see comments above. 10332 # Don't set $LIBS here -- see comments above.
12707 resolv=no 10333 resolv=no
12708 echo "$as_me:$LINENO: checking for res_send" >&5 10334 echo "$as_me:10334: checking for res_send" >&5
12709echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10335echo $ECHO_N "checking for res_send... $ECHO_C" >&6
12710if test "${ac_cv_func_res_send+set}" = set; then 10336if test "${ac_cv_func_res_send+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6 10337 echo $ECHO_N "(cached) $ECHO_C" >&6
12712else 10338else
12713 cat >conftest.$ac_ext <<_ACEOF 10339 cat >conftest.$ac_ext <<_ACEOF
12714#line $LINENO "configure" 10340#line 10340 "configure"
12715#include "confdefs.h" 10341#include "confdefs.h"
12716/* System header to define __stub macros and hopefully few prototypes, 10342/* System header to define __stub macros and hopefully few prototypes,
12717 which can conflict with char res_send (); below. */ 10343 which can conflict with char res_send (); below. */
@@ -12725,12 +10351,6 @@ extern "C"
12725char res_send (); 10351char res_send ();
12726char (*f) (); 10352char (*f) ();
12727 10353
12728#ifdef F77_DUMMY_MAIN
12729# ifdef __cplusplus
12730 extern "C"
12731# endif
12732 int F77_DUMMY_MAIN() { return 1; }
12733#endif
12734int 10354int
12735main () 10355main ()
12736{ 10356{
@@ -12748,16 +10368,16 @@ f = res_send;
12748} 10368}
12749_ACEOF 10369_ACEOF
12750rm -f conftest.$ac_objext conftest$ac_exeext 10370rm -f conftest.$ac_objext conftest$ac_exeext
12751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10371if { (eval echo "$as_me:10371: \"$ac_link\"") >&5
12752 (eval $ac_link) 2>&5 10372 (eval $ac_link) 2>&5
12753 ac_status=$? 10373 ac_status=$?
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10374 echo "$as_me:10374: \$? = $ac_status" >&5
12755 (exit $ac_status); } && 10375 (exit $ac_status); } &&
12756 { ac_try='test -s conftest$ac_exeext' 10376 { ac_try='test -s conftest$ac_exeext'
12757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10377 { (eval echo "$as_me:10377: \"$ac_try\"") >&5
12758 (eval $ac_try) 2>&5 10378 (eval $ac_try) 2>&5
12759 ac_status=$? 10379 ac_status=$?
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10380 echo "$as_me:10380: \$? = $ac_status" >&5
12761 (exit $ac_status); }; }; then 10381 (exit $ac_status); }; }; then
12762 ac_cv_func_res_send=yes 10382 ac_cv_func_res_send=yes
12763else 10383else
@@ -12767,18 +10387,18 @@ ac_cv_func_res_send=no
12767fi 10387fi
12768rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10388rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12769fi 10389fi
12770echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 10390echo "$as_me:10390: result: $ac_cv_func_res_send" >&5
12771echo "${ECHO_T}$ac_cv_func_res_send" >&6 10391echo "${ECHO_T}$ac_cv_func_res_send" >&6
12772if test $ac_cv_func_res_send = yes; then 10392if test $ac_cv_func_res_send = yes; then
12773 : 10393 :
12774else 10394else
12775 echo "$as_me:$LINENO: checking for __res_send" >&5 10395 echo "$as_me:10395: checking for __res_send" >&5
12776echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10396echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
12777if test "${ac_cv_func___res_send+set}" = set; then 10397if test "${ac_cv_func___res_send+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6 10398 echo $ECHO_N "(cached) $ECHO_C" >&6
12779else 10399else
12780 cat >conftest.$ac_ext <<_ACEOF 10400 cat >conftest.$ac_ext <<_ACEOF
12781#line $LINENO "configure" 10401#line 10401 "configure"
12782#include "confdefs.h" 10402#include "confdefs.h"
12783/* System header to define __stub macros and hopefully few prototypes, 10403/* System header to define __stub macros and hopefully few prototypes,
12784 which can conflict with char __res_send (); below. */ 10404 which can conflict with char __res_send (); below. */
@@ -12792,12 +10412,6 @@ extern "C"
12792char __res_send (); 10412char __res_send ();
12793char (*f) (); 10413char (*f) ();
12794 10414
12795#ifdef F77_DUMMY_MAIN
12796# ifdef __cplusplus
12797 extern "C"
12798# endif
12799 int F77_DUMMY_MAIN() { return 1; }
12800#endif
12801int 10415int
12802main () 10416main ()
12803{ 10417{
@@ -12815,16 +10429,16 @@ f = __res_send;
12815} 10429}
12816_ACEOF 10430_ACEOF
12817rm -f conftest.$ac_objext conftest$ac_exeext 10431rm -f conftest.$ac_objext conftest$ac_exeext
12818if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10432if { (eval echo "$as_me:10432: \"$ac_link\"") >&5
12819 (eval $ac_link) 2>&5 10433 (eval $ac_link) 2>&5
12820 ac_status=$? 10434 ac_status=$?
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10435 echo "$as_me:10435: \$? = $ac_status" >&5
12822 (exit $ac_status); } && 10436 (exit $ac_status); } &&
12823 { ac_try='test -s conftest$ac_exeext' 10437 { ac_try='test -s conftest$ac_exeext'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10438 { (eval echo "$as_me:10438: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5 10439 (eval $ac_try) 2>&5
12826 ac_status=$? 10440 ac_status=$?
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10441 echo "$as_me:10441: \$? = $ac_status" >&5
12828 (exit $ac_status); }; }; then 10442 (exit $ac_status); }; }; then
12829 ac_cv_func___res_send=yes 10443 ac_cv_func___res_send=yes
12830else 10444else
@@ -12834,12 +10448,12 @@ ac_cv_func___res_send=no
12834fi 10448fi
12835rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10449rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12836fi 10450fi
12837echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 10451echo "$as_me:10451: result: $ac_cv_func___res_send" >&5
12838echo "${ECHO_T}$ac_cv_func___res_send" >&6 10452echo "${ECHO_T}$ac_cv_func___res_send" >&6
12839if test $ac_cv_func___res_send = yes; then 10453if test $ac_cv_func___res_send = yes; then
12840 : 10454 :
12841else 10455else
12842 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 10456 echo "$as_me:10456: checking for res_send in -lresolv" >&5
12843echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10457echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
12844if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10458if test "${ac_cv_lib_resolv_res_send+set}" = set; then
12845 echo $ECHO_N "(cached) $ECHO_C" >&6 10459 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12847,7 +10461,7 @@ else
12847 ac_check_lib_save_LIBS=$LIBS 10461 ac_check_lib_save_LIBS=$LIBS
12848LIBS="-lresolv $LIBS" 10462LIBS="-lresolv $LIBS"
12849cat >conftest.$ac_ext <<_ACEOF 10463cat >conftest.$ac_ext <<_ACEOF
12850#line $LINENO "configure" 10464#line 10464 "configure"
12851#include "confdefs.h" 10465#include "confdefs.h"
12852 10466
12853/* Override any gcc2 internal prototype to avoid an error. */ 10467/* Override any gcc2 internal prototype to avoid an error. */
@@ -12857,12 +10471,6 @@ extern "C"
12857/* We use char because int might match the return type of a gcc2 10471/* We use char because int might match the return type of a gcc2
12858 builtin and then its argument prototype would still apply. */ 10472 builtin and then its argument prototype would still apply. */
12859char res_send (); 10473char res_send ();
12860#ifdef F77_DUMMY_MAIN
12861# ifdef __cplusplus
12862 extern "C"
12863# endif
12864 int F77_DUMMY_MAIN() { return 1; }
12865#endif
12866int 10474int
12867main () 10475main ()
12868{ 10476{
@@ -12872,16 +10480,16 @@ res_send ();
12872} 10480}
12873_ACEOF 10481_ACEOF
12874rm -f conftest.$ac_objext conftest$ac_exeext 10482rm -f conftest.$ac_objext conftest$ac_exeext
12875if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10483if { (eval echo "$as_me:10483: \"$ac_link\"") >&5
12876 (eval $ac_link) 2>&5 10484 (eval $ac_link) 2>&5
12877 ac_status=$? 10485 ac_status=$?
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10486 echo "$as_me:10486: \$? = $ac_status" >&5
12879 (exit $ac_status); } && 10487 (exit $ac_status); } &&
12880 { ac_try='test -s conftest$ac_exeext' 10488 { ac_try='test -s conftest$ac_exeext'
12881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10489 { (eval echo "$as_me:10489: \"$ac_try\"") >&5
12882 (eval $ac_try) 2>&5 10490 (eval $ac_try) 2>&5
12883 ac_status=$? 10491 ac_status=$?
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10492 echo "$as_me:10492: \$? = $ac_status" >&5
12885 (exit $ac_status); }; }; then 10493 (exit $ac_status); }; }; then
12886 ac_cv_lib_resolv_res_send=yes 10494 ac_cv_lib_resolv_res_send=yes
12887else 10495else
@@ -12892,12 +10500,12 @@ fi
12892rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10500rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12893LIBS=$ac_check_lib_save_LIBS 10501LIBS=$ac_check_lib_save_LIBS
12894fi 10502fi
12895echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 10503echo "$as_me:10503: result: $ac_cv_lib_resolv_res_send" >&5
12896echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10504echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
12897if test $ac_cv_lib_resolv_res_send = yes; then 10505if test $ac_cv_lib_resolv_res_send = yes; then
12898 resolv=yes 10506 resolv=yes
12899else 10507else
12900 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 10508 echo "$as_me:10508: checking for __res_send in -lresolv" >&5
12901echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10509echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
12902if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10510if test "${ac_cv_lib_resolv___res_send+set}" = set; then
12903 echo $ECHO_N "(cached) $ECHO_C" >&6 10511 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12905,7 +10513,7 @@ else
12905 ac_check_lib_save_LIBS=$LIBS 10513 ac_check_lib_save_LIBS=$LIBS
12906LIBS="-lresolv $LIBS" 10514LIBS="-lresolv $LIBS"
12907cat >conftest.$ac_ext <<_ACEOF 10515cat >conftest.$ac_ext <<_ACEOF
12908#line $LINENO "configure" 10516#line 10516 "configure"
12909#include "confdefs.h" 10517#include "confdefs.h"
12910 10518
12911/* Override any gcc2 internal prototype to avoid an error. */ 10519/* Override any gcc2 internal prototype to avoid an error. */
@@ -12915,12 +10523,6 @@ extern "C"
12915/* We use char because int might match the return type of a gcc2 10523/* We use char because int might match the return type of a gcc2
12916 builtin and then its argument prototype would still apply. */ 10524 builtin and then its argument prototype would still apply. */
12917char __res_send (); 10525char __res_send ();
12918#ifdef F77_DUMMY_MAIN
12919# ifdef __cplusplus
12920 extern "C"
12921# endif
12922 int F77_DUMMY_MAIN() { return 1; }
12923#endif
12924int 10526int
12925main () 10527main ()
12926{ 10528{
@@ -12930,16 +10532,16 @@ __res_send ();
12930} 10532}
12931_ACEOF 10533_ACEOF
12932rm -f conftest.$ac_objext conftest$ac_exeext 10534rm -f conftest.$ac_objext conftest$ac_exeext
12933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10535if { (eval echo "$as_me:10535: \"$ac_link\"") >&5
12934 (eval $ac_link) 2>&5 10536 (eval $ac_link) 2>&5
12935 ac_status=$? 10537 ac_status=$?
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10538 echo "$as_me:10538: \$? = $ac_status" >&5
12937 (exit $ac_status); } && 10539 (exit $ac_status); } &&
12938 { ac_try='test -s conftest$ac_exeext' 10540 { ac_try='test -s conftest$ac_exeext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10541 { (eval echo "$as_me:10541: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5 10542 (eval $ac_try) 2>&5
12941 ac_status=$? 10543 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10544 echo "$as_me:10544: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then 10545 (exit $ac_status); }; }; then
12944 ac_cv_lib_resolv___res_send=yes 10546 ac_cv_lib_resolv___res_send=yes
12945else 10547else
@@ -12950,7 +10552,7 @@ fi
12950rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10552rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12951LIBS=$ac_check_lib_save_LIBS 10553LIBS=$ac_check_lib_save_LIBS
12952fi 10554fi
12953echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 10555echo "$as_me:10555: result: $ac_cv_lib_resolv___res_send" >&5
12954echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10556echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
12955if test $ac_cv_lib_resolv___res_send = yes; then 10557if test $ac_cv_lib_resolv___res_send = yes; then
12956 resolv=yes 10558 resolv=yes
@@ -12965,20 +10567,20 @@ fi
12965 if test "$resolv" = yes ; then 10567 if test "$resolv" = yes ; then
12966 RESOLVLIB=-lresolv 10568 RESOLVLIB=-lresolv
12967 10569
12968cat >>confdefs.h <<\_ACEOF 10570cat >>confdefs.h <<\EOF
12969#define HAVE_LIBRESOLV 1 10571#define HAVE_LIBRESOLV 1
12970_ACEOF 10572EOF
12971 10573
12972 else 10574 else
12973 RESOLVLIB= 10575 RESOLVLIB=
12974 fi 10576 fi
12975 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 10577 echo "$as_me:10577: checking for hes_getmailhost" >&5
12976echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10578echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
12977if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10579if test "${ac_cv_func_hes_getmailhost+set}" = set; then
12978 echo $ECHO_N "(cached) $ECHO_C" >&6 10580 echo $ECHO_N "(cached) $ECHO_C" >&6
12979else 10581else
12980 cat >conftest.$ac_ext <<_ACEOF 10582 cat >conftest.$ac_ext <<_ACEOF
12981#line $LINENO "configure" 10583#line 10583 "configure"
12982#include "confdefs.h" 10584#include "confdefs.h"
12983/* System header to define __stub macros and hopefully few prototypes, 10585/* System header to define __stub macros and hopefully few prototypes,
12984 which can conflict with char hes_getmailhost (); below. */ 10586 which can conflict with char hes_getmailhost (); below. */
@@ -12992,12 +10594,6 @@ extern "C"
12992char hes_getmailhost (); 10594char hes_getmailhost ();
12993char (*f) (); 10595char (*f) ();
12994 10596
12995#ifdef F77_DUMMY_MAIN
12996# ifdef __cplusplus
12997 extern "C"
12998# endif
12999 int F77_DUMMY_MAIN() { return 1; }
13000#endif
13001int 10597int
13002main () 10598main ()
13003{ 10599{
@@ -13015,16 +10611,16 @@ f = hes_getmailhost;
13015} 10611}
13016_ACEOF 10612_ACEOF
13017rm -f conftest.$ac_objext conftest$ac_exeext 10613rm -f conftest.$ac_objext conftest$ac_exeext
13018if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10614if { (eval echo "$as_me:10614: \"$ac_link\"") >&5
13019 (eval $ac_link) 2>&5 10615 (eval $ac_link) 2>&5
13020 ac_status=$? 10616 ac_status=$?
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10617 echo "$as_me:10617: \$? = $ac_status" >&5
13022 (exit $ac_status); } && 10618 (exit $ac_status); } &&
13023 { ac_try='test -s conftest$ac_exeext' 10619 { ac_try='test -s conftest$ac_exeext'
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10620 { (eval echo "$as_me:10620: \"$ac_try\"") >&5
13025 (eval $ac_try) 2>&5 10621 (eval $ac_try) 2>&5
13026 ac_status=$? 10622 ac_status=$?
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10623 echo "$as_me:10623: \$? = $ac_status" >&5
13028 (exit $ac_status); }; }; then 10624 (exit $ac_status); }; }; then
13029 ac_cv_func_hes_getmailhost=yes 10625 ac_cv_func_hes_getmailhost=yes
13030else 10626else
@@ -13034,12 +10630,12 @@ ac_cv_func_hes_getmailhost=no
13034fi 10630fi
13035rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10631rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13036fi 10632fi
13037echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 10633echo "$as_me:10633: result: $ac_cv_func_hes_getmailhost" >&5
13038echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10634echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
13039if test $ac_cv_func_hes_getmailhost = yes; then 10635if test $ac_cv_func_hes_getmailhost = yes; then
13040 : 10636 :
13041else 10637else
13042 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 10638 echo "$as_me:10638: checking for hes_getmailhost in -lhesiod" >&5
13043echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10639echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
13044if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10640if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6 10641 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13047,7 +10643,7 @@ else
13047 ac_check_lib_save_LIBS=$LIBS 10643 ac_check_lib_save_LIBS=$LIBS
13048LIBS="-lhesiod $RESOLVLIB $LIBS" 10644LIBS="-lhesiod $RESOLVLIB $LIBS"
13049cat >conftest.$ac_ext <<_ACEOF 10645cat >conftest.$ac_ext <<_ACEOF
13050#line $LINENO "configure" 10646#line 10646 "configure"
13051#include "confdefs.h" 10647#include "confdefs.h"
13052 10648
13053/* Override any gcc2 internal prototype to avoid an error. */ 10649/* Override any gcc2 internal prototype to avoid an error. */
@@ -13057,12 +10653,6 @@ extern "C"
13057/* We use char because int might match the return type of a gcc2 10653/* We use char because int might match the return type of a gcc2
13058 builtin and then its argument prototype would still apply. */ 10654 builtin and then its argument prototype would still apply. */
13059char hes_getmailhost (); 10655char hes_getmailhost ();
13060#ifdef F77_DUMMY_MAIN
13061# ifdef __cplusplus
13062 extern "C"
13063# endif
13064 int F77_DUMMY_MAIN() { return 1; }
13065#endif
13066int 10656int
13067main () 10657main ()
13068{ 10658{
@@ -13072,16 +10662,16 @@ hes_getmailhost ();
13072} 10662}
13073_ACEOF 10663_ACEOF
13074rm -f conftest.$ac_objext conftest$ac_exeext 10664rm -f conftest.$ac_objext conftest$ac_exeext
13075if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10665if { (eval echo "$as_me:10665: \"$ac_link\"") >&5
13076 (eval $ac_link) 2>&5 10666 (eval $ac_link) 2>&5
13077 ac_status=$? 10667 ac_status=$?
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10668 echo "$as_me:10668: \$? = $ac_status" >&5
13079 (exit $ac_status); } && 10669 (exit $ac_status); } &&
13080 { ac_try='test -s conftest$ac_exeext' 10670 { ac_try='test -s conftest$ac_exeext'
13081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10671 { (eval echo "$as_me:10671: \"$ac_try\"") >&5
13082 (eval $ac_try) 2>&5 10672 (eval $ac_try) 2>&5
13083 ac_status=$? 10673 ac_status=$?
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10674 echo "$as_me:10674: \$? = $ac_status" >&5
13085 (exit $ac_status); }; }; then 10675 (exit $ac_status); }; }; then
13086 ac_cv_lib_hesiod_hes_getmailhost=yes 10676 ac_cv_lib_hesiod_hes_getmailhost=yes
13087else 10677else
@@ -13092,13 +10682,13 @@ fi
13092rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10682rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13093LIBS=$ac_check_lib_save_LIBS 10683LIBS=$ac_check_lib_save_LIBS
13094fi 10684fi
13095echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10685echo "$as_me:10685: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
13096echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10686echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
13097if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10687if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
13098 10688
13099cat >>confdefs.h <<\_ACEOF 10689cat >>confdefs.h <<\EOF
13100#define HAVE_LIBHESIOD 1 10690#define HAVE_LIBHESIOD 1
13101_ACEOF 10691EOF
13102 10692
13103else 10693else
13104 : 10694 :
@@ -13111,7 +10701,7 @@ fi
13111# These tell us which Kerberos-related libraries to use. 10701# These tell us which Kerberos-related libraries to use.
13112if test "${with_kerberos+set}" = set; then 10702if test "${with_kerberos+set}" = set; then
13113 10703
13114echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 10704echo "$as_me:10704: checking for com_err in -lcom_err" >&5
13115echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10705echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
13116if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10706if test "${ac_cv_lib_com_err_com_err+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6 10707 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13119,7 +10709,7 @@ else
13119 ac_check_lib_save_LIBS=$LIBS 10709 ac_check_lib_save_LIBS=$LIBS
13120LIBS="-lcom_err $LIBS" 10710LIBS="-lcom_err $LIBS"
13121cat >conftest.$ac_ext <<_ACEOF 10711cat >conftest.$ac_ext <<_ACEOF
13122#line $LINENO "configure" 10712#line 10712 "configure"
13123#include "confdefs.h" 10713#include "confdefs.h"
13124 10714
13125/* Override any gcc2 internal prototype to avoid an error. */ 10715/* Override any gcc2 internal prototype to avoid an error. */
@@ -13129,12 +10719,6 @@ extern "C"
13129/* We use char because int might match the return type of a gcc2 10719/* We use char because int might match the return type of a gcc2
13130 builtin and then its argument prototype would still apply. */ 10720 builtin and then its argument prototype would still apply. */
13131char com_err (); 10721char com_err ();
13132#ifdef F77_DUMMY_MAIN
13133# ifdef __cplusplus
13134 extern "C"
13135# endif
13136 int F77_DUMMY_MAIN() { return 1; }
13137#endif
13138int 10722int
13139main () 10723main ()
13140{ 10724{
@@ -13144,16 +10728,16 @@ com_err ();
13144} 10728}
13145_ACEOF 10729_ACEOF
13146rm -f conftest.$ac_objext conftest$ac_exeext 10730rm -f conftest.$ac_objext conftest$ac_exeext
13147if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10731if { (eval echo "$as_me:10731: \"$ac_link\"") >&5
13148 (eval $ac_link) 2>&5 10732 (eval $ac_link) 2>&5
13149 ac_status=$? 10733 ac_status=$?
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10734 echo "$as_me:10734: \$? = $ac_status" >&5
13151 (exit $ac_status); } && 10735 (exit $ac_status); } &&
13152 { ac_try='test -s conftest$ac_exeext' 10736 { ac_try='test -s conftest$ac_exeext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10737 { (eval echo "$as_me:10737: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5 10738 (eval $ac_try) 2>&5
13155 ac_status=$? 10739 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10740 echo "$as_me:10740: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then 10741 (exit $ac_status); }; }; then
13158 ac_cv_lib_com_err_com_err=yes 10742 ac_cv_lib_com_err_com_err=yes
13159else 10743else
@@ -13164,19 +10748,18 @@ fi
13164rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10748rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13165LIBS=$ac_check_lib_save_LIBS 10749LIBS=$ac_check_lib_save_LIBS
13166fi 10750fi
13167echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 10751echo "$as_me:10751: result: $ac_cv_lib_com_err_com_err" >&5
13168echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10752echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
13169if test $ac_cv_lib_com_err_com_err = yes; then 10753if test $ac_cv_lib_com_err_com_err = yes; then
13170 cat >>confdefs.h <<_ACEOF 10754 cat >>confdefs.h <<EOF
13171#define HAVE_LIBCOM_ERR 1 10755#define HAVE_LIBCOM_ERR 1
13172_ACEOF 10756EOF
13173 10757
13174 LIBS="-lcom_err $LIBS" 10758 LIBS="-lcom_err $LIBS"
13175 10759
13176fi 10760fi
13177 10761
13178 10762echo "$as_me:10762: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
13179echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
13180echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10763echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
13181if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10764if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6 10765 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13184,7 +10767,7 @@ else
13184 ac_check_lib_save_LIBS=$LIBS 10767 ac_check_lib_save_LIBS=$LIBS
13185LIBS="-lk5crypto $LIBS" 10768LIBS="-lk5crypto $LIBS"
13186cat >conftest.$ac_ext <<_ACEOF 10769cat >conftest.$ac_ext <<_ACEOF
13187#line $LINENO "configure" 10770#line 10770 "configure"
13188#include "confdefs.h" 10771#include "confdefs.h"
13189 10772
13190/* Override any gcc2 internal prototype to avoid an error. */ 10773/* Override any gcc2 internal prototype to avoid an error. */
@@ -13194,12 +10777,6 @@ extern "C"
13194/* We use char because int might match the return type of a gcc2 10777/* We use char because int might match the return type of a gcc2
13195 builtin and then its argument prototype would still apply. */ 10778 builtin and then its argument prototype would still apply. */
13196char mit_des_cbc_encrypt (); 10779char mit_des_cbc_encrypt ();
13197#ifdef F77_DUMMY_MAIN
13198# ifdef __cplusplus
13199 extern "C"
13200# endif
13201 int F77_DUMMY_MAIN() { return 1; }
13202#endif
13203int 10780int
13204main () 10781main ()
13205{ 10782{
@@ -13209,16 +10786,16 @@ mit_des_cbc_encrypt ();
13209} 10786}
13210_ACEOF 10787_ACEOF
13211rm -f conftest.$ac_objext conftest$ac_exeext 10788rm -f conftest.$ac_objext conftest$ac_exeext
13212if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10789if { (eval echo "$as_me:10789: \"$ac_link\"") >&5
13213 (eval $ac_link) 2>&5 10790 (eval $ac_link) 2>&5
13214 ac_status=$? 10791 ac_status=$?
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10792 echo "$as_me:10792: \$? = $ac_status" >&5
13216 (exit $ac_status); } && 10793 (exit $ac_status); } &&
13217 { ac_try='test -s conftest$ac_exeext' 10794 { ac_try='test -s conftest$ac_exeext'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10795 { (eval echo "$as_me:10795: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5 10796 (eval $ac_try) 2>&5
13220 ac_status=$? 10797 ac_status=$?
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10798 echo "$as_me:10798: \$? = $ac_status" >&5
13222 (exit $ac_status); }; }; then 10799 (exit $ac_status); }; }; then
13223 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10800 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
13224else 10801else
@@ -13229,19 +10806,18 @@ fi
13229rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10806rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13230LIBS=$ac_check_lib_save_LIBS 10807LIBS=$ac_check_lib_save_LIBS
13231fi 10808fi
13232echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10809echo "$as_me:10809: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
13233echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10810echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
13234if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10811if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
13235 cat >>confdefs.h <<_ACEOF 10812 cat >>confdefs.h <<EOF
13236#define HAVE_LIBK5CRYPTO 1 10813#define HAVE_LIBK5CRYPTO 1
13237_ACEOF 10814EOF
13238 10815
13239 LIBS="-lk5crypto $LIBS" 10816 LIBS="-lk5crypto $LIBS"
13240 10817
13241fi 10818fi
13242 10819
13243 10820echo "$as_me:10820: checking for mit_des_cbc_encrypt in -lcrypto" >&5
13244echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
13245echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10821echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
13246if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10822if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
13247 echo $ECHO_N "(cached) $ECHO_C" >&6 10823 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13249,7 +10825,7 @@ else
13249 ac_check_lib_save_LIBS=$LIBS 10825 ac_check_lib_save_LIBS=$LIBS
13250LIBS="-lcrypto $LIBS" 10826LIBS="-lcrypto $LIBS"
13251cat >conftest.$ac_ext <<_ACEOF 10827cat >conftest.$ac_ext <<_ACEOF
13252#line $LINENO "configure" 10828#line 10828 "configure"
13253#include "confdefs.h" 10829#include "confdefs.h"
13254 10830
13255/* Override any gcc2 internal prototype to avoid an error. */ 10831/* Override any gcc2 internal prototype to avoid an error. */
@@ -13259,12 +10835,6 @@ extern "C"
13259/* We use char because int might match the return type of a gcc2 10835/* We use char because int might match the return type of a gcc2
13260 builtin and then its argument prototype would still apply. */ 10836 builtin and then its argument prototype would still apply. */
13261char mit_des_cbc_encrypt (); 10837char mit_des_cbc_encrypt ();
13262#ifdef F77_DUMMY_MAIN
13263# ifdef __cplusplus
13264 extern "C"
13265# endif
13266 int F77_DUMMY_MAIN() { return 1; }
13267#endif
13268int 10838int
13269main () 10839main ()
13270{ 10840{
@@ -13274,16 +10844,16 @@ mit_des_cbc_encrypt ();
13274} 10844}
13275_ACEOF 10845_ACEOF
13276rm -f conftest.$ac_objext conftest$ac_exeext 10846rm -f conftest.$ac_objext conftest$ac_exeext
13277if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10847if { (eval echo "$as_me:10847: \"$ac_link\"") >&5
13278 (eval $ac_link) 2>&5 10848 (eval $ac_link) 2>&5
13279 ac_status=$? 10849 ac_status=$?
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10850 echo "$as_me:10850: \$? = $ac_status" >&5
13281 (exit $ac_status); } && 10851 (exit $ac_status); } &&
13282 { ac_try='test -s conftest$ac_exeext' 10852 { ac_try='test -s conftest$ac_exeext'
13283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10853 { (eval echo "$as_me:10853: \"$ac_try\"") >&5
13284 (eval $ac_try) 2>&5 10854 (eval $ac_try) 2>&5
13285 ac_status=$? 10855 ac_status=$?
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10856 echo "$as_me:10856: \$? = $ac_status" >&5
13287 (exit $ac_status); }; }; then 10857 (exit $ac_status); }; }; then
13288 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10858 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
13289else 10859else
@@ -13294,19 +10864,18 @@ fi
13294rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10864rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13295LIBS=$ac_check_lib_save_LIBS 10865LIBS=$ac_check_lib_save_LIBS
13296fi 10866fi
13297echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10867echo "$as_me:10867: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
13298echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10868echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
13299if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10869if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
13300 cat >>confdefs.h <<_ACEOF 10870 cat >>confdefs.h <<EOF
13301#define HAVE_LIBCRYPTO 1 10871#define HAVE_LIBCRYPTO 1
13302_ACEOF 10872EOF
13303 10873
13304 LIBS="-lcrypto $LIBS" 10874 LIBS="-lcrypto $LIBS"
13305 10875
13306fi 10876fi
13307 10877
13308 10878echo "$as_me:10878: checking for krb5_init_context in -lkrb5" >&5
13309echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
13310echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10879echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
13311if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10880if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6 10881 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13314,7 +10883,7 @@ else
13314 ac_check_lib_save_LIBS=$LIBS 10883 ac_check_lib_save_LIBS=$LIBS
13315LIBS="-lkrb5 $LIBS" 10884LIBS="-lkrb5 $LIBS"
13316cat >conftest.$ac_ext <<_ACEOF 10885cat >conftest.$ac_ext <<_ACEOF
13317#line $LINENO "configure" 10886#line 10886 "configure"
13318#include "confdefs.h" 10887#include "confdefs.h"
13319 10888
13320/* Override any gcc2 internal prototype to avoid an error. */ 10889/* Override any gcc2 internal prototype to avoid an error. */
@@ -13324,12 +10893,6 @@ extern "C"
13324/* We use char because int might match the return type of a gcc2 10893/* We use char because int might match the return type of a gcc2
13325 builtin and then its argument prototype would still apply. */ 10894 builtin and then its argument prototype would still apply. */
13326char krb5_init_context (); 10895char krb5_init_context ();
13327#ifdef F77_DUMMY_MAIN
13328# ifdef __cplusplus
13329 extern "C"
13330# endif
13331 int F77_DUMMY_MAIN() { return 1; }
13332#endif
13333int 10896int
13334main () 10897main ()
13335{ 10898{
@@ -13339,16 +10902,16 @@ krb5_init_context ();
13339} 10902}
13340_ACEOF 10903_ACEOF
13341rm -f conftest.$ac_objext conftest$ac_exeext 10904rm -f conftest.$ac_objext conftest$ac_exeext
13342if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10905if { (eval echo "$as_me:10905: \"$ac_link\"") >&5
13343 (eval $ac_link) 2>&5 10906 (eval $ac_link) 2>&5
13344 ac_status=$? 10907 ac_status=$?
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10908 echo "$as_me:10908: \$? = $ac_status" >&5
13346 (exit $ac_status); } && 10909 (exit $ac_status); } &&
13347 { ac_try='test -s conftest$ac_exeext' 10910 { ac_try='test -s conftest$ac_exeext'
13348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10911 { (eval echo "$as_me:10911: \"$ac_try\"") >&5
13349 (eval $ac_try) 2>&5 10912 (eval $ac_try) 2>&5
13350 ac_status=$? 10913 ac_status=$?
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10914 echo "$as_me:10914: \$? = $ac_status" >&5
13352 (exit $ac_status); }; }; then 10915 (exit $ac_status); }; }; then
13353 ac_cv_lib_krb5_krb5_init_context=yes 10916 ac_cv_lib_krb5_krb5_init_context=yes
13354else 10917else
@@ -13359,12 +10922,12 @@ fi
13359rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10922rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13360LIBS=$ac_check_lib_save_LIBS 10923LIBS=$ac_check_lib_save_LIBS
13361fi 10924fi
13362echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10925echo "$as_me:10925: result: $ac_cv_lib_krb5_krb5_init_context" >&5
13363echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10926echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
13364if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10927if test $ac_cv_lib_krb5_krb5_init_context = yes; then
13365 cat >>confdefs.h <<_ACEOF 10928 cat >>confdefs.h <<EOF
13366#define HAVE_LIBKRB5 1 10929#define HAVE_LIBKRB5 1
13367_ACEOF 10930EOF
13368 10931
13369 LIBS="-lkrb5 $LIBS" 10932 LIBS="-lkrb5 $LIBS"
13370 10933
@@ -13372,7 +10935,7 @@ fi
13372 10935
13373 if test "${with_kerberos5+set}" != set; then 10936 if test "${with_kerberos5+set}" != set; then
13374 10937
13375echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 10938echo "$as_me:10938: checking for des_cbc_encrypt in -ldes425" >&5
13376echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10939echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
13377if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10940if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6 10941 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13380,7 +10943,7 @@ else
13380 ac_check_lib_save_LIBS=$LIBS 10943 ac_check_lib_save_LIBS=$LIBS
13381LIBS="-ldes425 $LIBS" 10944LIBS="-ldes425 $LIBS"
13382cat >conftest.$ac_ext <<_ACEOF 10945cat >conftest.$ac_ext <<_ACEOF
13383#line $LINENO "configure" 10946#line 10946 "configure"
13384#include "confdefs.h" 10947#include "confdefs.h"
13385 10948
13386/* Override any gcc2 internal prototype to avoid an error. */ 10949/* Override any gcc2 internal prototype to avoid an error. */
@@ -13390,12 +10953,6 @@ extern "C"
13390/* We use char because int might match the return type of a gcc2 10953/* We use char because int might match the return type of a gcc2
13391 builtin and then its argument prototype would still apply. */ 10954 builtin and then its argument prototype would still apply. */
13392char des_cbc_encrypt (); 10955char des_cbc_encrypt ();
13393#ifdef F77_DUMMY_MAIN
13394# ifdef __cplusplus
13395 extern "C"
13396# endif
13397 int F77_DUMMY_MAIN() { return 1; }
13398#endif
13399int 10956int
13400main () 10957main ()
13401{ 10958{
@@ -13405,16 +10962,16 @@ des_cbc_encrypt ();
13405} 10962}
13406_ACEOF 10963_ACEOF
13407rm -f conftest.$ac_objext conftest$ac_exeext 10964rm -f conftest.$ac_objext conftest$ac_exeext
13408if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10965if { (eval echo "$as_me:10965: \"$ac_link\"") >&5
13409 (eval $ac_link) 2>&5 10966 (eval $ac_link) 2>&5
13410 ac_status=$? 10967 ac_status=$?
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10968 echo "$as_me:10968: \$? = $ac_status" >&5
13412 (exit $ac_status); } && 10969 (exit $ac_status); } &&
13413 { ac_try='test -s conftest$ac_exeext' 10970 { ac_try='test -s conftest$ac_exeext'
13414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10971 { (eval echo "$as_me:10971: \"$ac_try\"") >&5
13415 (eval $ac_try) 2>&5 10972 (eval $ac_try) 2>&5
13416 ac_status=$? 10973 ac_status=$?
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10974 echo "$as_me:10974: \$? = $ac_status" >&5
13418 (exit $ac_status); }; }; then 10975 (exit $ac_status); }; }; then
13419 ac_cv_lib_des425_des_cbc_encrypt=yes 10976 ac_cv_lib_des425_des_cbc_encrypt=yes
13420else 10977else
@@ -13425,18 +10982,18 @@ fi
13425rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10982rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13426LIBS=$ac_check_lib_save_LIBS 10983LIBS=$ac_check_lib_save_LIBS
13427fi 10984fi
13428echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 10985echo "$as_me:10985: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
13429echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 10986echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
13430if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 10987if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
13431 cat >>confdefs.h <<_ACEOF 10988 cat >>confdefs.h <<EOF
13432#define HAVE_LIBDES425 1 10989#define HAVE_LIBDES425 1
13433_ACEOF 10990EOF
13434 10991
13435 LIBS="-ldes425 $LIBS" 10992 LIBS="-ldes425 $LIBS"
13436 10993
13437else 10994else
13438 10995
13439echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 10996echo "$as_me:10996: checking for des_cbc_encrypt in -ldes" >&5
13440echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 10997echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
13441if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 10998if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
13442 echo $ECHO_N "(cached) $ECHO_C" >&6 10999 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13444,7 +11001,7 @@ else
13444 ac_check_lib_save_LIBS=$LIBS 11001 ac_check_lib_save_LIBS=$LIBS
13445LIBS="-ldes $LIBS" 11002LIBS="-ldes $LIBS"
13446cat >conftest.$ac_ext <<_ACEOF 11003cat >conftest.$ac_ext <<_ACEOF
13447#line $LINENO "configure" 11004#line 11004 "configure"
13448#include "confdefs.h" 11005#include "confdefs.h"
13449 11006
13450/* Override any gcc2 internal prototype to avoid an error. */ 11007/* Override any gcc2 internal prototype to avoid an error. */
@@ -13454,12 +11011,6 @@ extern "C"
13454/* We use char because int might match the return type of a gcc2 11011/* We use char because int might match the return type of a gcc2
13455 builtin and then its argument prototype would still apply. */ 11012 builtin and then its argument prototype would still apply. */
13456char des_cbc_encrypt (); 11013char des_cbc_encrypt ();
13457#ifdef F77_DUMMY_MAIN
13458# ifdef __cplusplus
13459 extern "C"
13460# endif
13461 int F77_DUMMY_MAIN() { return 1; }
13462#endif
13463int 11014int
13464main () 11015main ()
13465{ 11016{
@@ -13469,16 +11020,16 @@ des_cbc_encrypt ();
13469} 11020}
13470_ACEOF 11021_ACEOF
13471rm -f conftest.$ac_objext conftest$ac_exeext 11022rm -f conftest.$ac_objext conftest$ac_exeext
13472if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11023if { (eval echo "$as_me:11023: \"$ac_link\"") >&5
13473 (eval $ac_link) 2>&5 11024 (eval $ac_link) 2>&5
13474 ac_status=$? 11025 ac_status=$?
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11026 echo "$as_me:11026: \$? = $ac_status" >&5
13476 (exit $ac_status); } && 11027 (exit $ac_status); } &&
13477 { ac_try='test -s conftest$ac_exeext' 11028 { ac_try='test -s conftest$ac_exeext'
13478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11029 { (eval echo "$as_me:11029: \"$ac_try\"") >&5
13479 (eval $ac_try) 2>&5 11030 (eval $ac_try) 2>&5
13480 ac_status=$? 11031 ac_status=$?
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11032 echo "$as_me:11032: \$? = $ac_status" >&5
13482 (exit $ac_status); }; }; then 11033 (exit $ac_status); }; }; then
13483 ac_cv_lib_des_des_cbc_encrypt=yes 11034 ac_cv_lib_des_des_cbc_encrypt=yes
13484else 11035else
@@ -13489,12 +11040,12 @@ fi
13489rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11040rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13490LIBS=$ac_check_lib_save_LIBS 11041LIBS=$ac_check_lib_save_LIBS
13491fi 11042fi
13492echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 11043echo "$as_me:11043: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
13493echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 11044echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
13494if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 11045if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
13495 cat >>confdefs.h <<_ACEOF 11046 cat >>confdefs.h <<EOF
13496#define HAVE_LIBDES 1 11047#define HAVE_LIBDES 1
13497_ACEOF 11048EOF
13498 11049
13499 LIBS="-ldes $LIBS" 11050 LIBS="-ldes $LIBS"
13500 11051
@@ -13502,8 +11053,7 @@ fi
13502 11053
13503fi 11054fi
13504 11055
13505 11056echo "$as_me:11056: checking for krb_get_cred in -lkrb4" >&5
13506echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
13507echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 11057echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
13508if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 11058if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6 11059 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13511,7 +11061,7 @@ else
13511 ac_check_lib_save_LIBS=$LIBS 11061 ac_check_lib_save_LIBS=$LIBS
13512LIBS="-lkrb4 $LIBS" 11062LIBS="-lkrb4 $LIBS"
13513cat >conftest.$ac_ext <<_ACEOF 11063cat >conftest.$ac_ext <<_ACEOF
13514#line $LINENO "configure" 11064#line 11064 "configure"
13515#include "confdefs.h" 11065#include "confdefs.h"
13516 11066
13517/* Override any gcc2 internal prototype to avoid an error. */ 11067/* Override any gcc2 internal prototype to avoid an error. */
@@ -13521,12 +11071,6 @@ extern "C"
13521/* We use char because int might match the return type of a gcc2 11071/* We use char because int might match the return type of a gcc2
13522 builtin and then its argument prototype would still apply. */ 11072 builtin and then its argument prototype would still apply. */
13523char krb_get_cred (); 11073char krb_get_cred ();
13524#ifdef F77_DUMMY_MAIN
13525# ifdef __cplusplus
13526 extern "C"
13527# endif
13528 int F77_DUMMY_MAIN() { return 1; }
13529#endif
13530int 11074int
13531main () 11075main ()
13532{ 11076{
@@ -13536,16 +11080,16 @@ krb_get_cred ();
13536} 11080}
13537_ACEOF 11081_ACEOF
13538rm -f conftest.$ac_objext conftest$ac_exeext 11082rm -f conftest.$ac_objext conftest$ac_exeext
13539if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11083if { (eval echo "$as_me:11083: \"$ac_link\"") >&5
13540 (eval $ac_link) 2>&5 11084 (eval $ac_link) 2>&5
13541 ac_status=$? 11085 ac_status=$?
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11086 echo "$as_me:11086: \$? = $ac_status" >&5
13543 (exit $ac_status); } && 11087 (exit $ac_status); } &&
13544 { ac_try='test -s conftest$ac_exeext' 11088 { ac_try='test -s conftest$ac_exeext'
13545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11089 { (eval echo "$as_me:11089: \"$ac_try\"") >&5
13546 (eval $ac_try) 2>&5 11090 (eval $ac_try) 2>&5
13547 ac_status=$? 11091 ac_status=$?
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11092 echo "$as_me:11092: \$? = $ac_status" >&5
13549 (exit $ac_status); }; }; then 11093 (exit $ac_status); }; }; then
13550 ac_cv_lib_krb4_krb_get_cred=yes 11094 ac_cv_lib_krb4_krb_get_cred=yes
13551else 11095else
@@ -13556,18 +11100,18 @@ fi
13556rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11100rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13557LIBS=$ac_check_lib_save_LIBS 11101LIBS=$ac_check_lib_save_LIBS
13558fi 11102fi
13559echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 11103echo "$as_me:11103: result: $ac_cv_lib_krb4_krb_get_cred" >&5
13560echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 11104echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
13561if test $ac_cv_lib_krb4_krb_get_cred = yes; then 11105if test $ac_cv_lib_krb4_krb_get_cred = yes; then
13562 cat >>confdefs.h <<_ACEOF 11106 cat >>confdefs.h <<EOF
13563#define HAVE_LIBKRB4 1 11107#define HAVE_LIBKRB4 1
13564_ACEOF 11108EOF
13565 11109
13566 LIBS="-lkrb4 $LIBS" 11110 LIBS="-lkrb4 $LIBS"
13567 11111
13568else 11112else
13569 11113
13570echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 11114echo "$as_me:11114: checking for krb_get_cred in -lkrb" >&5
13571echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 11115echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
13572if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 11116if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
13573 echo $ECHO_N "(cached) $ECHO_C" >&6 11117 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13575,7 +11119,7 @@ else
13575 ac_check_lib_save_LIBS=$LIBS 11119 ac_check_lib_save_LIBS=$LIBS
13576LIBS="-lkrb $LIBS" 11120LIBS="-lkrb $LIBS"
13577cat >conftest.$ac_ext <<_ACEOF 11121cat >conftest.$ac_ext <<_ACEOF
13578#line $LINENO "configure" 11122#line 11122 "configure"
13579#include "confdefs.h" 11123#include "confdefs.h"
13580 11124
13581/* Override any gcc2 internal prototype to avoid an error. */ 11125/* Override any gcc2 internal prototype to avoid an error. */
@@ -13585,12 +11129,6 @@ extern "C"
13585/* We use char because int might match the return type of a gcc2 11129/* We use char because int might match the return type of a gcc2
13586 builtin and then its argument prototype would still apply. */ 11130 builtin and then its argument prototype would still apply. */
13587char krb_get_cred (); 11131char krb_get_cred ();
13588#ifdef F77_DUMMY_MAIN
13589# ifdef __cplusplus
13590 extern "C"
13591# endif
13592 int F77_DUMMY_MAIN() { return 1; }
13593#endif
13594int 11132int
13595main () 11133main ()
13596{ 11134{
@@ -13600,16 +11138,16 @@ krb_get_cred ();
13600} 11138}
13601_ACEOF 11139_ACEOF
13602rm -f conftest.$ac_objext conftest$ac_exeext 11140rm -f conftest.$ac_objext conftest$ac_exeext
13603if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11141if { (eval echo "$as_me:11141: \"$ac_link\"") >&5
13604 (eval $ac_link) 2>&5 11142 (eval $ac_link) 2>&5
13605 ac_status=$? 11143 ac_status=$?
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11144 echo "$as_me:11144: \$? = $ac_status" >&5
13607 (exit $ac_status); } && 11145 (exit $ac_status); } &&
13608 { ac_try='test -s conftest$ac_exeext' 11146 { ac_try='test -s conftest$ac_exeext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11147 { (eval echo "$as_me:11147: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5 11148 (eval $ac_try) 2>&5
13611 ac_status=$? 11149 ac_status=$?
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11150 echo "$as_me:11150: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then 11151 (exit $ac_status); }; }; then
13614 ac_cv_lib_krb_krb_get_cred=yes 11152 ac_cv_lib_krb_krb_get_cred=yes
13615else 11153else
@@ -13620,12 +11158,12 @@ fi
13620rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11158rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13621LIBS=$ac_check_lib_save_LIBS 11159LIBS=$ac_check_lib_save_LIBS
13622fi 11160fi
13623echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 11161echo "$as_me:11161: result: $ac_cv_lib_krb_krb_get_cred" >&5
13624echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 11162echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
13625if test $ac_cv_lib_krb_krb_get_cred = yes; then 11163if test $ac_cv_lib_krb_krb_get_cred = yes; then
13626 cat >>confdefs.h <<_ACEOF 11164 cat >>confdefs.h <<EOF
13627#define HAVE_LIBKRB 1 11165#define HAVE_LIBKRB 1
13628_ACEOF 11166EOF
13629 11167
13630 LIBS="-lkrb $LIBS" 11168 LIBS="-lkrb $LIBS"
13631 11169
@@ -13640,61 +11178,23 @@ fi
13640for ac_header in krb5.h 11178for ac_header in krb5.h
13641do 11179do
13642as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11180as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13643if eval "test \"\${$as_ac_Header+set}\" = set"; then 11181echo "$as_me:11181: checking for $ac_header" >&5
13644 echo "$as_me:$LINENO: checking for $ac_header" >&5
13645echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11182echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13646if eval "test \"\${$as_ac_Header+set}\" = set"; then 11183if eval "test \"\${$as_ac_Header+set}\" = set"; then
13647 echo $ECHO_N "(cached) $ECHO_C" >&6 11184 echo $ECHO_N "(cached) $ECHO_C" >&6
13648fi
13649echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13650echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13651else
13652 # Is the header compilable?
13653echo "$as_me:$LINENO: checking $ac_header usability" >&5
13654echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13655cat >conftest.$ac_ext <<_ACEOF
13656#line $LINENO "configure"
13657#include "confdefs.h"
13658$ac_includes_default
13659#include <$ac_header>
13660_ACEOF
13661rm -f conftest.$ac_objext
13662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13663 (eval $ac_compile) 2>&5
13664 ac_status=$?
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } &&
13667 { ac_try='test -s conftest.$ac_objext'
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13669 (eval $ac_try) 2>&5
13670 ac_status=$?
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; }; then
13673 ac_header_compiler=yes
13674else 11185else
13675 echo "$as_me: failed program was:" >&5 11186 cat >conftest.$ac_ext <<_ACEOF
13676cat conftest.$ac_ext >&5 11187#line 11187 "configure"
13677ac_header_compiler=no
13678fi
13679rm -f conftest.$ac_objext conftest.$ac_ext
13680echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13681echo "${ECHO_T}$ac_header_compiler" >&6
13682
13683# Is the header present?
13684echo "$as_me:$LINENO: checking $ac_header presence" >&5
13685echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13686cat >conftest.$ac_ext <<_ACEOF
13687#line $LINENO "configure"
13688#include "confdefs.h" 11188#include "confdefs.h"
13689#include <$ac_header> 11189#include <$ac_header>
13690_ACEOF 11190_ACEOF
13691if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11191if { (eval echo "$as_me:11191: \"$ac_cpp conftest.$ac_ext\"") >&5
13692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13693 ac_status=$? 11193 ac_status=$?
13694 egrep -v '^ *\+' conftest.er1 >conftest.err 11194 egrep -v '^ *\+' conftest.er1 >conftest.err
13695 rm -f conftest.er1 11195 rm -f conftest.er1
13696 cat conftest.err >&5 11196 cat conftest.err >&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11197 echo "$as_me:11197: \$? = $ac_status" >&5
13698 (exit $ac_status); } >/dev/null; then 11198 (exit $ac_status); } >/dev/null; then
13699 if test -s conftest.err; then 11199 if test -s conftest.err; then
13700 ac_cpp_err=$ac_c_preproc_warn_flag 11200 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -13705,49 +11205,22 @@ else
13705 ac_cpp_err=yes 11205 ac_cpp_err=yes
13706fi 11206fi
13707if test -z "$ac_cpp_err"; then 11207if test -z "$ac_cpp_err"; then
13708 ac_header_preproc=yes 11208 eval "$as_ac_Header=yes"
13709else 11209else
13710 echo "$as_me: failed program was:" >&5 11210 echo "$as_me: failed program was:" >&5
13711 cat conftest.$ac_ext >&5 11211 cat conftest.$ac_ext >&5
13712 ac_header_preproc=no 11212 eval "$as_ac_Header=no"
13713fi 11213fi
13714rm -f conftest.err conftest.$ac_ext 11214rm -f conftest.err conftest.$ac_ext
13715echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13716echo "${ECHO_T}$ac_header_preproc" >&6
13717
13718# So? What about this header?
13719case $ac_header_compiler:$ac_header_preproc in
13720 yes:no )
13721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13722echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13724echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13725 no:yes )
13726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13727echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13729echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13731echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13732esac
13733echo "$as_me:$LINENO: checking for $ac_header" >&5
13734echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13735if eval "test \"\${$as_ac_Header+set}\" = set"; then
13736 echo $ECHO_N "(cached) $ECHO_C" >&6
13737else
13738 eval "$as_ac_Header=$ac_header_preproc"
13739fi 11215fi
13740echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11216echo "$as_me:11216: result: `eval echo '${'$as_ac_Header'}'`" >&5
13741echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11217echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13742
13743fi
13744if test `eval echo '${'$as_ac_Header'}'` = yes; then 11218if test `eval echo '${'$as_ac_Header'}'` = yes; then
13745 cat >>confdefs.h <<_ACEOF 11219 cat >>confdefs.h <<EOF
13746#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11220#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13747_ACEOF 11221EOF
13748 11222
13749fi 11223fi
13750
13751done 11224done
13752 11225
13753 else 11226 else
@@ -13755,61 +11228,23 @@ done
13755for ac_header in des.h 11228for ac_header in des.h
13756do 11229do
13757as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11230as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13758if eval "test \"\${$as_ac_Header+set}\" = set"; then 11231echo "$as_me:11231: checking for $ac_header" >&5
13759 echo "$as_me:$LINENO: checking for $ac_header" >&5
13760echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11232echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13761if eval "test \"\${$as_ac_Header+set}\" = set"; then 11233if eval "test \"\${$as_ac_Header+set}\" = set"; then
13762 echo $ECHO_N "(cached) $ECHO_C" >&6 11234 echo $ECHO_N "(cached) $ECHO_C" >&6
13763fi
13764echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13765echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13766else 11235else
13767 # Is the header compilable? 11236 cat >conftest.$ac_ext <<_ACEOF
13768echo "$as_me:$LINENO: checking $ac_header usability" >&5 11237#line 11237 "configure"
13769echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13770cat >conftest.$ac_ext <<_ACEOF
13771#line $LINENO "configure"
13772#include "confdefs.h"
13773$ac_includes_default
13774#include <$ac_header>
13775_ACEOF
13776rm -f conftest.$ac_objext
13777if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13778 (eval $ac_compile) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); } &&
13782 { ac_try='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_header_compiler=yes
13789else
13790 echo "$as_me: failed program was:" >&5
13791cat conftest.$ac_ext >&5
13792ac_header_compiler=no
13793fi
13794rm -f conftest.$ac_objext conftest.$ac_ext
13795echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13796echo "${ECHO_T}$ac_header_compiler" >&6
13797
13798# Is the header present?
13799echo "$as_me:$LINENO: checking $ac_header presence" >&5
13800echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13801cat >conftest.$ac_ext <<_ACEOF
13802#line $LINENO "configure"
13803#include "confdefs.h" 11238#include "confdefs.h"
13804#include <$ac_header> 11239#include <$ac_header>
13805_ACEOF 11240_ACEOF
13806if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11241if { (eval echo "$as_me:11241: \"$ac_cpp conftest.$ac_ext\"") >&5
13807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13808 ac_status=$? 11243 ac_status=$?
13809 egrep -v '^ *\+' conftest.er1 >conftest.err 11244 egrep -v '^ *\+' conftest.er1 >conftest.err
13810 rm -f conftest.er1 11245 rm -f conftest.er1
13811 cat conftest.err >&5 11246 cat conftest.err >&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11247 echo "$as_me:11247: \$? = $ac_status" >&5
13813 (exit $ac_status); } >/dev/null; then 11248 (exit $ac_status); } >/dev/null; then
13814 if test -s conftest.err; then 11249 if test -s conftest.err; then
13815 ac_cpp_err=$ac_c_preproc_warn_flag 11250 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -13820,107 +11255,43 @@ else
13820 ac_cpp_err=yes 11255 ac_cpp_err=yes
13821fi 11256fi
13822if test -z "$ac_cpp_err"; then 11257if test -z "$ac_cpp_err"; then
13823 ac_header_preproc=yes 11258 eval "$as_ac_Header=yes"
13824else 11259else
13825 echo "$as_me: failed program was:" >&5 11260 echo "$as_me: failed program was:" >&5
13826 cat conftest.$ac_ext >&5 11261 cat conftest.$ac_ext >&5
13827 ac_header_preproc=no 11262 eval "$as_ac_Header=no"
13828fi 11263fi
13829rm -f conftest.err conftest.$ac_ext 11264rm -f conftest.err conftest.$ac_ext
13830echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13831echo "${ECHO_T}$ac_header_preproc" >&6
13832
13833# So? What about this header?
13834case $ac_header_compiler:$ac_header_preproc in
13835 yes:no )
13836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13837echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13839echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13840 no:yes )
13841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13842echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13844echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13846echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13847esac
13848echo "$as_me:$LINENO: checking for $ac_header" >&5
13849echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13850if eval "test \"\${$as_ac_Header+set}\" = set"; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13852else
13853 eval "$as_ac_Header=$ac_header_preproc"
13854fi 11265fi
13855echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11266echo "$as_me:11266: result: `eval echo '${'$as_ac_Header'}'`" >&5
13856echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11267echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13857
13858fi
13859if test `eval echo '${'$as_ac_Header'}'` = yes; then 11268if test `eval echo '${'$as_ac_Header'}'` = yes; then
13860 cat >>confdefs.h <<_ACEOF 11269 cat >>confdefs.h <<EOF
13861#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11270#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13862_ACEOF 11271EOF
13863 11272
13864else 11273else
13865 11274
13866for ac_header in kerberosIV/des.h 11275for ac_header in kerberosIV/des.h
13867do 11276do
13868as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11277as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13869if eval "test \"\${$as_ac_Header+set}\" = set"; then 11278echo "$as_me:11278: checking for $ac_header" >&5
13870 echo "$as_me:$LINENO: checking for $ac_header" >&5
13871echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11279echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13872if eval "test \"\${$as_ac_Header+set}\" = set"; then 11280if eval "test \"\${$as_ac_Header+set}\" = set"; then
13873 echo $ECHO_N "(cached) $ECHO_C" >&6 11281 echo $ECHO_N "(cached) $ECHO_C" >&6
13874fi
13875echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13876echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13877else
13878 # Is the header compilable?
13879echo "$as_me:$LINENO: checking $ac_header usability" >&5
13880echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13881cat >conftest.$ac_ext <<_ACEOF
13882#line $LINENO "configure"
13883#include "confdefs.h"
13884$ac_includes_default
13885#include <$ac_header>
13886_ACEOF
13887rm -f conftest.$ac_objext
13888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13889 (eval $ac_compile) 2>&5
13890 ac_status=$?
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); } &&
13893 { ac_try='test -s conftest.$ac_objext'
13894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13895 (eval $ac_try) 2>&5
13896 ac_status=$?
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); }; }; then
13899 ac_header_compiler=yes
13900else 11282else
13901 echo "$as_me: failed program was:" >&5 11283 cat >conftest.$ac_ext <<_ACEOF
13902cat conftest.$ac_ext >&5 11284#line 11284 "configure"
13903ac_header_compiler=no
13904fi
13905rm -f conftest.$ac_objext conftest.$ac_ext
13906echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13907echo "${ECHO_T}$ac_header_compiler" >&6
13908
13909# Is the header present?
13910echo "$as_me:$LINENO: checking $ac_header presence" >&5
13911echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13912cat >conftest.$ac_ext <<_ACEOF
13913#line $LINENO "configure"
13914#include "confdefs.h" 11285#include "confdefs.h"
13915#include <$ac_header> 11286#include <$ac_header>
13916_ACEOF 11287_ACEOF
13917if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11288if { (eval echo "$as_me:11288: \"$ac_cpp conftest.$ac_ext\"") >&5
13918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13919 ac_status=$? 11290 ac_status=$?
13920 egrep -v '^ *\+' conftest.er1 >conftest.err 11291 egrep -v '^ *\+' conftest.er1 >conftest.err
13921 rm -f conftest.er1 11292 rm -f conftest.er1
13922 cat conftest.err >&5 11293 cat conftest.err >&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11294 echo "$as_me:11294: \$? = $ac_status" >&5
13924 (exit $ac_status); } >/dev/null; then 11295 (exit $ac_status); } >/dev/null; then
13925 if test -s conftest.err; then 11296 if test -s conftest.err; then
13926 ac_cpp_err=$ac_c_preproc_warn_flag 11297 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -13931,107 +11302,43 @@ else
13931 ac_cpp_err=yes 11302 ac_cpp_err=yes
13932fi 11303fi
13933if test -z "$ac_cpp_err"; then 11304if test -z "$ac_cpp_err"; then
13934 ac_header_preproc=yes 11305 eval "$as_ac_Header=yes"
13935else 11306else
13936 echo "$as_me: failed program was:" >&5 11307 echo "$as_me: failed program was:" >&5
13937 cat conftest.$ac_ext >&5 11308 cat conftest.$ac_ext >&5
13938 ac_header_preproc=no 11309 eval "$as_ac_Header=no"
13939fi 11310fi
13940rm -f conftest.err conftest.$ac_ext 11311rm -f conftest.err conftest.$ac_ext
13941echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13942echo "${ECHO_T}$ac_header_preproc" >&6
13943
13944# So? What about this header?
13945case $ac_header_compiler:$ac_header_preproc in
13946 yes:no )
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13948echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13950echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13951 no:yes )
13952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13953echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13955echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13957echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13958esac
13959echo "$as_me:$LINENO: checking for $ac_header" >&5
13960echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13961if eval "test \"\${$as_ac_Header+set}\" = set"; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13963else
13964 eval "$as_ac_Header=$ac_header_preproc"
13965fi 11312fi
13966echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11313echo "$as_me:11313: result: `eval echo '${'$as_ac_Header'}'`" >&5
13967echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11314echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13968
13969fi
13970if test `eval echo '${'$as_ac_Header'}'` = yes; then 11315if test `eval echo '${'$as_ac_Header'}'` = yes; then
13971 cat >>confdefs.h <<_ACEOF 11316 cat >>confdefs.h <<EOF
13972#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11317#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13973_ACEOF 11318EOF
13974 11319
13975else 11320else
13976 11321
13977for ac_header in kerberos/des.h 11322for ac_header in kerberos/des.h
13978do 11323do
13979as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11324as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13980if eval "test \"\${$as_ac_Header+set}\" = set"; then 11325echo "$as_me:11325: checking for $ac_header" >&5
13981 echo "$as_me:$LINENO: checking for $ac_header" >&5
13982echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11326echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13983if eval "test \"\${$as_ac_Header+set}\" = set"; then 11327if eval "test \"\${$as_ac_Header+set}\" = set"; then
13984 echo $ECHO_N "(cached) $ECHO_C" >&6 11328 echo $ECHO_N "(cached) $ECHO_C" >&6
13985fi
13986echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13987echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13988else
13989 # Is the header compilable?
13990echo "$as_me:$LINENO: checking $ac_header usability" >&5
13991echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13992cat >conftest.$ac_ext <<_ACEOF
13993#line $LINENO "configure"
13994#include "confdefs.h"
13995$ac_includes_default
13996#include <$ac_header>
13997_ACEOF
13998rm -f conftest.$ac_objext
13999if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14000 (eval $ac_compile) 2>&5
14001 ac_status=$?
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } &&
14004 { ac_try='test -s conftest.$ac_objext'
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006 (eval $ac_try) 2>&5
14007 ac_status=$?
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); }; }; then
14010 ac_header_compiler=yes
14011else 11329else
14012 echo "$as_me: failed program was:" >&5 11330 cat >conftest.$ac_ext <<_ACEOF
14013cat conftest.$ac_ext >&5 11331#line 11331 "configure"
14014ac_header_compiler=no
14015fi
14016rm -f conftest.$ac_objext conftest.$ac_ext
14017echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14018echo "${ECHO_T}$ac_header_compiler" >&6
14019
14020# Is the header present?
14021echo "$as_me:$LINENO: checking $ac_header presence" >&5
14022echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14023cat >conftest.$ac_ext <<_ACEOF
14024#line $LINENO "configure"
14025#include "confdefs.h" 11332#include "confdefs.h"
14026#include <$ac_header> 11333#include <$ac_header>
14027_ACEOF 11334_ACEOF
14028if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11335if { (eval echo "$as_me:11335: \"$ac_cpp conftest.$ac_ext\"") >&5
14029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14030 ac_status=$? 11337 ac_status=$?
14031 egrep -v '^ *\+' conftest.er1 >conftest.err 11338 egrep -v '^ *\+' conftest.er1 >conftest.err
14032 rm -f conftest.er1 11339 rm -f conftest.er1
14033 cat conftest.err >&5 11340 cat conftest.err >&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11341 echo "$as_me:11341: \$? = $ac_status" >&5
14035 (exit $ac_status); } >/dev/null; then 11342 (exit $ac_status); } >/dev/null; then
14036 if test -s conftest.err; then 11343 if test -s conftest.err; then
14037 ac_cpp_err=$ac_c_preproc_warn_flag 11344 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -14042,118 +11349,50 @@ else
14042 ac_cpp_err=yes 11349 ac_cpp_err=yes
14043fi 11350fi
14044if test -z "$ac_cpp_err"; then 11351if test -z "$ac_cpp_err"; then
14045 ac_header_preproc=yes 11352 eval "$as_ac_Header=yes"
14046else 11353else
14047 echo "$as_me: failed program was:" >&5 11354 echo "$as_me: failed program was:" >&5
14048 cat conftest.$ac_ext >&5 11355 cat conftest.$ac_ext >&5
14049 ac_header_preproc=no 11356 eval "$as_ac_Header=no"
14050fi 11357fi
14051rm -f conftest.err conftest.$ac_ext 11358rm -f conftest.err conftest.$ac_ext
14052echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14053echo "${ECHO_T}$ac_header_preproc" >&6
14054
14055# So? What about this header?
14056case $ac_header_compiler:$ac_header_preproc in
14057 yes:no )
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14059echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14061echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14062 no:yes )
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14064echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14066echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14068echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14069esac
14070echo "$as_me:$LINENO: checking for $ac_header" >&5
14071echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14072if eval "test \"\${$as_ac_Header+set}\" = set"; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14074else
14075 eval "$as_ac_Header=$ac_header_preproc"
14076fi 11359fi
14077echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11360echo "$as_me:11360: result: `eval echo '${'$as_ac_Header'}'`" >&5
14078echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11361echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14079
14080fi
14081if test `eval echo '${'$as_ac_Header'}'` = yes; then 11362if test `eval echo '${'$as_ac_Header'}'` = yes; then
14082 cat >>confdefs.h <<_ACEOF 11363 cat >>confdefs.h <<EOF
14083#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11364#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14084_ACEOF 11365EOF
14085 11366
14086fi 11367fi
14087
14088done 11368done
14089 11369
14090fi 11370fi
14091
14092done 11371done
14093 11372
14094fi 11373fi
14095
14096done 11374done
14097 11375
14098
14099for ac_header in krb.h 11376for ac_header in krb.h
14100do 11377do
14101as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11378as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14102if eval "test \"\${$as_ac_Header+set}\" = set"; then 11379echo "$as_me:11379: checking for $ac_header" >&5
14103 echo "$as_me:$LINENO: checking for $ac_header" >&5
14104echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14105if eval "test \"\${$as_ac_Header+set}\" = set"; then 11381if eval "test \"\${$as_ac_Header+set}\" = set"; then
14106 echo $ECHO_N "(cached) $ECHO_C" >&6 11382 echo $ECHO_N "(cached) $ECHO_C" >&6
14107fi
14108echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14109echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14110else
14111 # Is the header compilable?
14112echo "$as_me:$LINENO: checking $ac_header usability" >&5
14113echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14114cat >conftest.$ac_ext <<_ACEOF
14115#line $LINENO "configure"
14116#include "confdefs.h"
14117$ac_includes_default
14118#include <$ac_header>
14119_ACEOF
14120rm -f conftest.$ac_objext
14121if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14122 (eval $ac_compile) 2>&5
14123 ac_status=$?
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); } &&
14126 { ac_try='test -s conftest.$ac_objext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14129 ac_status=$?
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 ac_header_compiler=yes
14133else 11383else
14134 echo "$as_me: failed program was:" >&5 11384 cat >conftest.$ac_ext <<_ACEOF
14135cat conftest.$ac_ext >&5 11385#line 11385 "configure"
14136ac_header_compiler=no
14137fi
14138rm -f conftest.$ac_objext conftest.$ac_ext
14139echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14140echo "${ECHO_T}$ac_header_compiler" >&6
14141
14142# Is the header present?
14143echo "$as_me:$LINENO: checking $ac_header presence" >&5
14144echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14145cat >conftest.$ac_ext <<_ACEOF
14146#line $LINENO "configure"
14147#include "confdefs.h" 11386#include "confdefs.h"
14148#include <$ac_header> 11387#include <$ac_header>
14149_ACEOF 11388_ACEOF
14150if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11389if { (eval echo "$as_me:11389: \"$ac_cpp conftest.$ac_ext\"") >&5
14151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14152 ac_status=$? 11391 ac_status=$?
14153 egrep -v '^ *\+' conftest.er1 >conftest.err 11392 egrep -v '^ *\+' conftest.er1 >conftest.err
14154 rm -f conftest.er1 11393 rm -f conftest.er1
14155 cat conftest.err >&5 11394 cat conftest.err >&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11395 echo "$as_me:11395: \$? = $ac_status" >&5
14157 (exit $ac_status); } >/dev/null; then 11396 (exit $ac_status); } >/dev/null; then
14158 if test -s conftest.err; then 11397 if test -s conftest.err; then
14159 ac_cpp_err=$ac_c_preproc_warn_flag 11398 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -14164,107 +11403,43 @@ else
14164 ac_cpp_err=yes 11403 ac_cpp_err=yes
14165fi 11404fi
14166if test -z "$ac_cpp_err"; then 11405if test -z "$ac_cpp_err"; then
14167 ac_header_preproc=yes 11406 eval "$as_ac_Header=yes"
14168else 11407else
14169 echo "$as_me: failed program was:" >&5 11408 echo "$as_me: failed program was:" >&5
14170 cat conftest.$ac_ext >&5 11409 cat conftest.$ac_ext >&5
14171 ac_header_preproc=no 11410 eval "$as_ac_Header=no"
14172fi 11411fi
14173rm -f conftest.err conftest.$ac_ext 11412rm -f conftest.err conftest.$ac_ext
14174echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14175echo "${ECHO_T}$ac_header_preproc" >&6
14176
14177# So? What about this header?
14178case $ac_header_compiler:$ac_header_preproc in
14179 yes:no )
14180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14181echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14183echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14184 no:yes )
14185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14186echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14188echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14190echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14191esac
14192echo "$as_me:$LINENO: checking for $ac_header" >&5
14193echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14194if eval "test \"\${$as_ac_Header+set}\" = set"; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14196else
14197 eval "$as_ac_Header=$ac_header_preproc"
14198fi 11413fi
14199echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11414echo "$as_me:11414: result: `eval echo '${'$as_ac_Header'}'`" >&5
14200echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11415echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14201
14202fi
14203if test `eval echo '${'$as_ac_Header'}'` = yes; then 11416if test `eval echo '${'$as_ac_Header'}'` = yes; then
14204 cat >>confdefs.h <<_ACEOF 11417 cat >>confdefs.h <<EOF
14205#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11418#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14206_ACEOF 11419EOF
14207 11420
14208else 11421else
14209 11422
14210for ac_header in kerberosIV/krb.h 11423for ac_header in kerberosIV/krb.h
14211do 11424do
14212as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11425as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14213if eval "test \"\${$as_ac_Header+set}\" = set"; then 11426echo "$as_me:11426: checking for $ac_header" >&5
14214 echo "$as_me:$LINENO: checking for $ac_header" >&5
14215echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11427echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14216if eval "test \"\${$as_ac_Header+set}\" = set"; then 11428if eval "test \"\${$as_ac_Header+set}\" = set"; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6 11429 echo $ECHO_N "(cached) $ECHO_C" >&6
14218fi
14219echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14220echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14221else
14222 # Is the header compilable?
14223echo "$as_me:$LINENO: checking $ac_header usability" >&5
14224echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14225cat >conftest.$ac_ext <<_ACEOF
14226#line $LINENO "configure"
14227#include "confdefs.h"
14228$ac_includes_default
14229#include <$ac_header>
14230_ACEOF
14231rm -f conftest.$ac_objext
14232if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>&5
14234 ac_status=$?
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try='test -s conftest.$ac_objext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14243 ac_header_compiler=yes
14244else 11430else
14245 echo "$as_me: failed program was:" >&5 11431 cat >conftest.$ac_ext <<_ACEOF
14246cat conftest.$ac_ext >&5 11432#line 11432 "configure"
14247ac_header_compiler=no
14248fi
14249rm -f conftest.$ac_objext conftest.$ac_ext
14250echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14251echo "${ECHO_T}$ac_header_compiler" >&6
14252
14253# Is the header present?
14254echo "$as_me:$LINENO: checking $ac_header presence" >&5
14255echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14256cat >conftest.$ac_ext <<_ACEOF
14257#line $LINENO "configure"
14258#include "confdefs.h" 11433#include "confdefs.h"
14259#include <$ac_header> 11434#include <$ac_header>
14260_ACEOF 11435_ACEOF
14261if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11436if { (eval echo "$as_me:11436: \"$ac_cpp conftest.$ac_ext\"") >&5
14262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14263 ac_status=$? 11438 ac_status=$?
14264 egrep -v '^ *\+' conftest.er1 >conftest.err 11439 egrep -v '^ *\+' conftest.er1 >conftest.err
14265 rm -f conftest.er1 11440 rm -f conftest.er1
14266 cat conftest.err >&5 11441 cat conftest.err >&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11442 echo "$as_me:11442: \$? = $ac_status" >&5
14268 (exit $ac_status); } >/dev/null; then 11443 (exit $ac_status); } >/dev/null; then
14269 if test -s conftest.err; then 11444 if test -s conftest.err; then
14270 ac_cpp_err=$ac_c_preproc_warn_flag 11445 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -14275,107 +11450,43 @@ else
14275 ac_cpp_err=yes 11450 ac_cpp_err=yes
14276fi 11451fi
14277if test -z "$ac_cpp_err"; then 11452if test -z "$ac_cpp_err"; then
14278 ac_header_preproc=yes 11453 eval "$as_ac_Header=yes"
14279else 11454else
14280 echo "$as_me: failed program was:" >&5 11455 echo "$as_me: failed program was:" >&5
14281 cat conftest.$ac_ext >&5 11456 cat conftest.$ac_ext >&5
14282 ac_header_preproc=no 11457 eval "$as_ac_Header=no"
14283fi 11458fi
14284rm -f conftest.err conftest.$ac_ext 11459rm -f conftest.err conftest.$ac_ext
14285echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14286echo "${ECHO_T}$ac_header_preproc" >&6
14287
14288# So? What about this header?
14289case $ac_header_compiler:$ac_header_preproc in
14290 yes:no )
14291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14292echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14294echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14295 no:yes )
14296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14297echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14299echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14301echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14302esac
14303echo "$as_me:$LINENO: checking for $ac_header" >&5
14304echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14305if eval "test \"\${$as_ac_Header+set}\" = set"; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14307else
14308 eval "$as_ac_Header=$ac_header_preproc"
14309fi 11460fi
14310echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11461echo "$as_me:11461: result: `eval echo '${'$as_ac_Header'}'`" >&5
14311echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11462echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14312
14313fi
14314if test `eval echo '${'$as_ac_Header'}'` = yes; then 11463if test `eval echo '${'$as_ac_Header'}'` = yes; then
14315 cat >>confdefs.h <<_ACEOF 11464 cat >>confdefs.h <<EOF
14316#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11465#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14317_ACEOF 11466EOF
14318 11467
14319else 11468else
14320 11469
14321for ac_header in kerberos/krb.h 11470for ac_header in kerberos/krb.h
14322do 11471do
14323as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11472as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14324if eval "test \"\${$as_ac_Header+set}\" = set"; then 11473echo "$as_me:11473: checking for $ac_header" >&5
14325 echo "$as_me:$LINENO: checking for $ac_header" >&5
14326echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11474echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14327if eval "test \"\${$as_ac_Header+set}\" = set"; then 11475if eval "test \"\${$as_ac_Header+set}\" = set"; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6 11476 echo $ECHO_N "(cached) $ECHO_C" >&6
14329fi
14330echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14331echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14332else
14333 # Is the header compilable?
14334echo "$as_me:$LINENO: checking $ac_header usability" >&5
14335echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14336cat >conftest.$ac_ext <<_ACEOF
14337#line $LINENO "configure"
14338#include "confdefs.h"
14339$ac_includes_default
14340#include <$ac_header>
14341_ACEOF
14342rm -f conftest.$ac_objext
14343if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14344 (eval $ac_compile) 2>&5
14345 ac_status=$?
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); } &&
14348 { ac_try='test -s conftest.$ac_objext'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14351 ac_status=$?
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; }; then
14354 ac_header_compiler=yes
14355else 11477else
14356 echo "$as_me: failed program was:" >&5 11478 cat >conftest.$ac_ext <<_ACEOF
14357cat conftest.$ac_ext >&5 11479#line 11479 "configure"
14358ac_header_compiler=no
14359fi
14360rm -f conftest.$ac_objext conftest.$ac_ext
14361echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14362echo "${ECHO_T}$ac_header_compiler" >&6
14363
14364# Is the header present?
14365echo "$as_me:$LINENO: checking $ac_header presence" >&5
14366echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14367cat >conftest.$ac_ext <<_ACEOF
14368#line $LINENO "configure"
14369#include "confdefs.h" 11480#include "confdefs.h"
14370#include <$ac_header> 11481#include <$ac_header>
14371_ACEOF 11482_ACEOF
14372if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11483if { (eval echo "$as_me:11483: \"$ac_cpp conftest.$ac_ext\"") >&5
14373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14374 ac_status=$? 11485 ac_status=$?
14375 egrep -v '^ *\+' conftest.er1 >conftest.err 11486 egrep -v '^ *\+' conftest.er1 >conftest.err
14376 rm -f conftest.er1 11487 rm -f conftest.er1
14377 cat conftest.err >&5 11488 cat conftest.err >&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11489 echo "$as_me:11489: \$? = $ac_status" >&5
14379 (exit $ac_status); } >/dev/null; then 11490 (exit $ac_status); } >/dev/null; then
14380 if test -s conftest.err; then 11491 if test -s conftest.err; then
14381 ac_cpp_err=$ac_c_preproc_warn_flag 11492 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -14386,57 +11497,28 @@ else
14386 ac_cpp_err=yes 11497 ac_cpp_err=yes
14387fi 11498fi
14388if test -z "$ac_cpp_err"; then 11499if test -z "$ac_cpp_err"; then
14389 ac_header_preproc=yes 11500 eval "$as_ac_Header=yes"
14390else 11501else
14391 echo "$as_me: failed program was:" >&5 11502 echo "$as_me: failed program was:" >&5
14392 cat conftest.$ac_ext >&5 11503 cat conftest.$ac_ext >&5
14393 ac_header_preproc=no 11504 eval "$as_ac_Header=no"
14394fi 11505fi
14395rm -f conftest.err conftest.$ac_ext 11506rm -f conftest.err conftest.$ac_ext
14396echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14397echo "${ECHO_T}$ac_header_preproc" >&6
14398
14399# So? What about this header?
14400case $ac_header_compiler:$ac_header_preproc in
14401 yes:no )
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14403echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14405echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14406 no:yes )
14407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14408echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14410echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14412echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14413esac
14414echo "$as_me:$LINENO: checking for $ac_header" >&5
14415echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14416if eval "test \"\${$as_ac_Header+set}\" = set"; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14418else
14419 eval "$as_ac_Header=$ac_header_preproc"
14420fi 11507fi
14421echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11508echo "$as_me:11508: result: `eval echo '${'$as_ac_Header'}'`" >&5
14422echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11509echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14423
14424fi
14425if test `eval echo '${'$as_ac_Header'}'` = yes; then 11510if test `eval echo '${'$as_ac_Header'}'` = yes; then
14426 cat >>confdefs.h <<_ACEOF 11511 cat >>confdefs.h <<EOF
14427#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11512#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14428_ACEOF 11513EOF
14429 11514
14430fi 11515fi
14431
14432done 11516done
14433 11517
14434fi 11518fi
14435
14436done 11519done
14437 11520
14438fi 11521fi
14439
14440done 11522done
14441 11523
14442 fi 11524 fi
@@ -14444,61 +11526,23 @@ done
14444for ac_header in com_err.h 11526for ac_header in com_err.h
14445do 11527do
14446as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11528as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14447if eval "test \"\${$as_ac_Header+set}\" = set"; then 11529echo "$as_me:11529: checking for $ac_header" >&5
14448 echo "$as_me:$LINENO: checking for $ac_header" >&5
14449echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11530echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14450if eval "test \"\${$as_ac_Header+set}\" = set"; then 11531if eval "test \"\${$as_ac_Header+set}\" = set"; then
14451 echo $ECHO_N "(cached) $ECHO_C" >&6 11532 echo $ECHO_N "(cached) $ECHO_C" >&6
14452fi
14453echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14454echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14455else
14456 # Is the header compilable?
14457echo "$as_me:$LINENO: checking $ac_header usability" >&5
14458echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14459cat >conftest.$ac_ext <<_ACEOF
14460#line $LINENO "configure"
14461#include "confdefs.h"
14462$ac_includes_default
14463#include <$ac_header>
14464_ACEOF
14465rm -f conftest.$ac_objext
14466if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>&5
14468 ac_status=$?
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try='test -s conftest.$ac_objext'
14472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473 (eval $ac_try) 2>&5
14474 ac_status=$?
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }; }; then
14477 ac_header_compiler=yes
14478else 11533else
14479 echo "$as_me: failed program was:" >&5 11534 cat >conftest.$ac_ext <<_ACEOF
14480cat conftest.$ac_ext >&5 11535#line 11535 "configure"
14481ac_header_compiler=no
14482fi
14483rm -f conftest.$ac_objext conftest.$ac_ext
14484echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14485echo "${ECHO_T}$ac_header_compiler" >&6
14486
14487# Is the header present?
14488echo "$as_me:$LINENO: checking $ac_header presence" >&5
14489echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14490cat >conftest.$ac_ext <<_ACEOF
14491#line $LINENO "configure"
14492#include "confdefs.h" 11536#include "confdefs.h"
14493#include <$ac_header> 11537#include <$ac_header>
14494_ACEOF 11538_ACEOF
14495if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11539if { (eval echo "$as_me:11539: \"$ac_cpp conftest.$ac_ext\"") >&5
14496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14497 ac_status=$? 11541 ac_status=$?
14498 egrep -v '^ *\+' conftest.er1 >conftest.err 11542 egrep -v '^ *\+' conftest.er1 >conftest.err
14499 rm -f conftest.er1 11543 rm -f conftest.er1
14500 cat conftest.err >&5 11544 cat conftest.err >&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11545 echo "$as_me:11545: \$? = $ac_status" >&5
14502 (exit $ac_status); } >/dev/null; then 11546 (exit $ac_status); } >/dev/null; then
14503 if test -s conftest.err; then 11547 if test -s conftest.err; then
14504 ac_cpp_err=$ac_c_preproc_warn_flag 11548 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -14509,49 +11553,22 @@ else
14509 ac_cpp_err=yes 11553 ac_cpp_err=yes
14510fi 11554fi
14511if test -z "$ac_cpp_err"; then 11555if test -z "$ac_cpp_err"; then
14512 ac_header_preproc=yes 11556 eval "$as_ac_Header=yes"
14513else 11557else
14514 echo "$as_me: failed program was:" >&5 11558 echo "$as_me: failed program was:" >&5
14515 cat conftest.$ac_ext >&5 11559 cat conftest.$ac_ext >&5
14516 ac_header_preproc=no 11560 eval "$as_ac_Header=no"
14517fi 11561fi
14518rm -f conftest.err conftest.$ac_ext 11562rm -f conftest.err conftest.$ac_ext
14519echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14520echo "${ECHO_T}$ac_header_preproc" >&6
14521
14522# So? What about this header?
14523case $ac_header_compiler:$ac_header_preproc in
14524 yes:no )
14525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14526echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14528echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14529 no:yes )
14530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14531echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14533echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14535echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14536esac
14537echo "$as_me:$LINENO: checking for $ac_header" >&5
14538echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14539if eval "test \"\${$as_ac_Header+set}\" = set"; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14541else
14542 eval "$as_ac_Header=$ac_header_preproc"
14543fi 11563fi
14544echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11564echo "$as_me:11564: result: `eval echo '${'$as_ac_Header'}'`" >&5
14545echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11565echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14546
14547fi
14548if test `eval echo '${'$as_ac_Header'}'` = yes; then 11566if test `eval echo '${'$as_ac_Header'}'` = yes; then
14549 cat >>confdefs.h <<_ACEOF 11567 cat >>confdefs.h <<EOF
14550#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11568#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14551_ACEOF 11569EOF
14552 11570
14553fi 11571fi
14554
14555done 11572done
14556 11573
14557fi 11574fi
@@ -14559,7 +11576,7 @@ fi
14559# Solaris requires -lintl if you want strerror (which calls dgettext) 11576# Solaris requires -lintl if you want strerror (which calls dgettext)
14560# to return localized messages. 11577# to return localized messages.
14561 11578
14562echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 11579echo "$as_me:11579: checking for dgettext in -lintl" >&5
14563echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11580echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
14564if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11581if test "${ac_cv_lib_intl_dgettext+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6 11582 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14567,7 +11584,7 @@ else
14567 ac_check_lib_save_LIBS=$LIBS 11584 ac_check_lib_save_LIBS=$LIBS
14568LIBS="-lintl $LIBS" 11585LIBS="-lintl $LIBS"
14569cat >conftest.$ac_ext <<_ACEOF 11586cat >conftest.$ac_ext <<_ACEOF
14570#line $LINENO "configure" 11587#line 11587 "configure"
14571#include "confdefs.h" 11588#include "confdefs.h"
14572 11589
14573/* Override any gcc2 internal prototype to avoid an error. */ 11590/* Override any gcc2 internal prototype to avoid an error. */
@@ -14577,12 +11594,6 @@ extern "C"
14577/* We use char because int might match the return type of a gcc2 11594/* We use char because int might match the return type of a gcc2
14578 builtin and then its argument prototype would still apply. */ 11595 builtin and then its argument prototype would still apply. */
14579char dgettext (); 11596char dgettext ();
14580#ifdef F77_DUMMY_MAIN
14581# ifdef __cplusplus
14582 extern "C"
14583# endif
14584 int F77_DUMMY_MAIN() { return 1; }
14585#endif
14586int 11597int
14587main () 11598main ()
14588{ 11599{
@@ -14592,16 +11603,16 @@ dgettext ();
14592} 11603}
14593_ACEOF 11604_ACEOF
14594rm -f conftest.$ac_objext conftest$ac_exeext 11605rm -f conftest.$ac_objext conftest$ac_exeext
14595if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11606if { (eval echo "$as_me:11606: \"$ac_link\"") >&5
14596 (eval $ac_link) 2>&5 11607 (eval $ac_link) 2>&5
14597 ac_status=$? 11608 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11609 echo "$as_me:11609: \$? = $ac_status" >&5
14599 (exit $ac_status); } && 11610 (exit $ac_status); } &&
14600 { ac_try='test -s conftest$ac_exeext' 11611 { ac_try='test -s conftest$ac_exeext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11612 { (eval echo "$as_me:11612: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5 11613 (eval $ac_try) 2>&5
14603 ac_status=$? 11614 ac_status=$?
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11615 echo "$as_me:11615: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then 11616 (exit $ac_status); }; }; then
14606 ac_cv_lib_intl_dgettext=yes 11617 ac_cv_lib_intl_dgettext=yes
14607else 11618else
@@ -14612,19 +11623,18 @@ fi
14612rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11623rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14613LIBS=$ac_check_lib_save_LIBS 11624LIBS=$ac_check_lib_save_LIBS
14614fi 11625fi
14615echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 11626echo "$as_me:11626: result: $ac_cv_lib_intl_dgettext" >&5
14616echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11627echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
14617if test $ac_cv_lib_intl_dgettext = yes; then 11628if test $ac_cv_lib_intl_dgettext = yes; then
14618 cat >>confdefs.h <<_ACEOF 11629 cat >>confdefs.h <<EOF
14619#define HAVE_LIBINTL 1 11630#define HAVE_LIBINTL 1
14620_ACEOF 11631EOF
14621 11632
14622 LIBS="-lintl $LIBS" 11633 LIBS="-lintl $LIBS"
14623 11634
14624fi 11635fi
14625 11636
14626 11637echo "$as_me:11637: checking whether localtime caches TZ" >&5
14627echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
14628echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11638echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
14629if test "${emacs_cv_localtime_cache+set}" = set; then 11639if test "${emacs_cv_localtime_cache+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6 11640 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14635,7 +11645,7 @@ if test "$cross_compiling" = yes; then
14635emacs_cv_localtime_cache=yes 11645emacs_cv_localtime_cache=yes
14636else 11646else
14637 cat >conftest.$ac_ext <<_ACEOF 11647 cat >conftest.$ac_ext <<_ACEOF
14638#line $LINENO "configure" 11648#line 11648 "configure"
14639#include "confdefs.h" 11649#include "confdefs.h"
14640#include <time.h> 11650#include <time.h>
14641extern char **environ; 11651extern char **environ;
@@ -14668,22 +11678,21 @@ main()
14668} 11678}
14669_ACEOF 11679_ACEOF
14670rm -f conftest$ac_exeext 11680rm -f conftest$ac_exeext
14671if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11681if { (eval echo "$as_me:11681: \"$ac_link\"") >&5
14672 (eval $ac_link) 2>&5 11682 (eval $ac_link) 2>&5
14673 ac_status=$? 11683 ac_status=$?
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11684 echo "$as_me:11684: \$? = $ac_status" >&5
14675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11686 { (eval echo "$as_me:11686: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5 11687 (eval $ac_try) 2>&5
14678 ac_status=$? 11688 ac_status=$?
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11689 echo "$as_me:11689: \$? = $ac_status" >&5
14680 (exit $ac_status); }; }; then 11690 (exit $ac_status); }; }; then
14681 emacs_cv_localtime_cache=no 11691 emacs_cv_localtime_cache=no
14682else 11692else
14683 echo "$as_me: program exited with status $ac_status" >&5 11693 echo "$as_me: program exited with status $ac_status" >&5
14684echo "$as_me: failed program was:" >&5 11694echo "$as_me: failed program was:" >&5
14685cat conftest.$ac_ext >&5 11695cat conftest.$ac_ext >&5
14686( exit $ac_status )
14687emacs_cv_localtime_cache=yes 11696emacs_cv_localtime_cache=yes
14688fi 11697fi
14689rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11698rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
@@ -14694,13 +11703,13 @@ else
14694 emacs_cv_localtime_cache=no 11703 emacs_cv_localtime_cache=no
14695fi 11704fi
14696fi 11705fi
14697echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 11706echo "$as_me:11706: result: $emacs_cv_localtime_cache" >&5
14698echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11707echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
14699if test $emacs_cv_localtime_cache = yes; then 11708if test $emacs_cv_localtime_cache = yes; then
14700 11709
14701cat >>confdefs.h <<\_ACEOF 11710cat >>confdefs.h <<\EOF
14702#define LOCALTIME_CACHE 1 11711#define LOCALTIME_CACHE 1
14703_ACEOF 11712EOF
14704 11713
14705fi 11714fi
14706 11715
@@ -14709,13 +11718,13 @@ if test "x$HAVE_TIMEVAL" = xyes; then
14709for ac_func in gettimeofday 11718for ac_func in gettimeofday
14710do 11719do
14711as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11720as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14712echo "$as_me:$LINENO: checking for $ac_func" >&5 11721echo "$as_me:11721: checking for $ac_func" >&5
14713echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11722echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14714if eval "test \"\${$as_ac_var+set}\" = set"; then 11723if eval "test \"\${$as_ac_var+set}\" = set"; then
14715 echo $ECHO_N "(cached) $ECHO_C" >&6 11724 echo $ECHO_N "(cached) $ECHO_C" >&6
14716else 11725else
14717 cat >conftest.$ac_ext <<_ACEOF 11726 cat >conftest.$ac_ext <<_ACEOF
14718#line $LINENO "configure" 11727#line 11727 "configure"
14719#include "confdefs.h" 11728#include "confdefs.h"
14720/* System header to define __stub macros and hopefully few prototypes, 11729/* System header to define __stub macros and hopefully few prototypes,
14721 which can conflict with char $ac_func (); below. */ 11730 which can conflict with char $ac_func (); below. */
@@ -14729,12 +11738,6 @@ extern "C"
14729char $ac_func (); 11738char $ac_func ();
14730char (*f) (); 11739char (*f) ();
14731 11740
14732#ifdef F77_DUMMY_MAIN
14733# ifdef __cplusplus
14734 extern "C"
14735# endif
14736 int F77_DUMMY_MAIN() { return 1; }
14737#endif
14738int 11741int
14739main () 11742main ()
14740{ 11743{
@@ -14752,16 +11755,16 @@ f = $ac_func;
14752} 11755}
14753_ACEOF 11756_ACEOF
14754rm -f conftest.$ac_objext conftest$ac_exeext 11757rm -f conftest.$ac_objext conftest$ac_exeext
14755if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11758if { (eval echo "$as_me:11758: \"$ac_link\"") >&5
14756 (eval $ac_link) 2>&5 11759 (eval $ac_link) 2>&5
14757 ac_status=$? 11760 ac_status=$?
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11761 echo "$as_me:11761: \$? = $ac_status" >&5
14759 (exit $ac_status); } && 11762 (exit $ac_status); } &&
14760 { ac_try='test -s conftest$ac_exeext' 11763 { ac_try='test -s conftest$ac_exeext'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11764 { (eval echo "$as_me:11764: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5 11765 (eval $ac_try) 2>&5
14763 ac_status=$? 11766 ac_status=$?
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11767 echo "$as_me:11767: \$? = $ac_status" >&5
14765 (exit $ac_status); }; }; then 11768 (exit $ac_status); }; }; then
14766 eval "$as_ac_var=yes" 11769 eval "$as_ac_var=yes"
14767else 11770else
@@ -14771,24 +11774,24 @@ eval "$as_ac_var=no"
14771fi 11774fi
14772rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11775rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14773fi 11776fi
14774echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 11777echo "$as_me:11777: result: `eval echo '${'$as_ac_var'}'`" >&5
14775echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11778echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14776if test `eval echo '${'$as_ac_var'}'` = yes; then 11779if test `eval echo '${'$as_ac_var'}'` = yes; then
14777 cat >>confdefs.h <<_ACEOF 11780 cat >>confdefs.h <<EOF
14778#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11781#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14779_ACEOF 11782EOF
14780 11783
14781fi 11784fi
14782done 11785done
14783 11786
14784 if test $ac_cv_func_gettimeofday = yes; then 11787 if test $ac_cv_func_gettimeofday = yes; then
14785 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 11788 echo "$as_me:11788: checking whether gettimeofday can accept two arguments" >&5
14786echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11789echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
14787if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11790if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
14788 echo $ECHO_N "(cached) $ECHO_C" >&6 11791 echo $ECHO_N "(cached) $ECHO_C" >&6
14789else 11792else
14790 cat >conftest.$ac_ext <<_ACEOF 11793 cat >conftest.$ac_ext <<_ACEOF
14791#line $LINENO "configure" 11794#line 11794 "configure"
14792#include "confdefs.h" 11795#include "confdefs.h"
14793 11796
14794#ifdef TIME_WITH_SYS_TIME 11797#ifdef TIME_WITH_SYS_TIME
@@ -14801,12 +11804,6 @@ else
14801#include <time.h> 11804#include <time.h>
14802#endif 11805#endif
14803#endif 11806#endif
14804#ifdef F77_DUMMY_MAIN
14805# ifdef __cplusplus
14806 extern "C"
14807# endif
14808 int F77_DUMMY_MAIN() { return 1; }
14809#endif
14810int 11807int
14811main () 11808main ()
14812{ 11809{
@@ -14817,16 +11814,16 @@ struct timeval time;
14817} 11814}
14818_ACEOF 11815_ACEOF
14819rm -f conftest.$ac_objext 11816rm -f conftest.$ac_objext
14820if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11817if { (eval echo "$as_me:11817: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>&5 11818 (eval $ac_compile) 2>&5
14822 ac_status=$? 11819 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11820 echo "$as_me:11820: \$? = $ac_status" >&5
14824 (exit $ac_status); } && 11821 (exit $ac_status); } &&
14825 { ac_try='test -s conftest.$ac_objext' 11822 { ac_try='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11823 { (eval echo "$as_me:11823: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5 11824 (eval $ac_try) 2>&5
14828 ac_status=$? 11825 ac_status=$?
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11826 echo "$as_me:11826: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then 11827 (exit $ac_status); }; }; then
14831 emacs_cv_gettimeofday_two_arguments=yes 11828 emacs_cv_gettimeofday_two_arguments=yes
14832else 11829else
@@ -14836,34 +11833,28 @@ emacs_cv_gettimeofday_two_arguments=no
14836fi 11833fi
14837rm -f conftest.$ac_objext conftest.$ac_ext 11834rm -f conftest.$ac_objext conftest.$ac_ext
14838fi 11835fi
14839echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 11836echo "$as_me:11836: result: $emacs_cv_gettimeofday_two_arguments" >&5
14840echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11837echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
14841 if test $emacs_cv_gettimeofday_two_arguments = no; then 11838 if test $emacs_cv_gettimeofday_two_arguments = no; then
14842 11839
14843cat >>confdefs.h <<\_ACEOF 11840cat >>confdefs.h <<\EOF
14844#define GETTIMEOFDAY_ONE_ARGUMENT 1 11841#define GETTIMEOFDAY_ONE_ARGUMENT 1
14845_ACEOF 11842EOF
14846 11843
14847 fi 11844 fi
14848 fi 11845 fi
14849fi 11846fi
14850 11847
14851if test "$ac_cv_func_gettimeofday" = yes; then 11848if test "$ac_cv_func_gettimeofday" = yes; then
14852 echo "$as_me:$LINENO: checking for struct timezone" >&5 11849 echo "$as_me:11849: checking for struct timezone" >&5
14853echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11850echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
14854if test "${emacs_cv_struct_timezone+set}" = set; then 11851if test "${emacs_cv_struct_timezone+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6 11852 echo $ECHO_N "(cached) $ECHO_C" >&6
14856else 11853else
14857 cat >conftest.$ac_ext <<_ACEOF 11854 cat >conftest.$ac_ext <<_ACEOF
14858#line $LINENO "configure" 11855#line 11855 "configure"
14859#include "confdefs.h" 11856#include "confdefs.h"
14860#include <sys/time.h> 11857#include <sys/time.h>
14861#ifdef F77_DUMMY_MAIN
14862# ifdef __cplusplus
14863 extern "C"
14864# endif
14865 int F77_DUMMY_MAIN() { return 1; }
14866#endif
14867int 11858int
14868main () 11859main ()
14869{ 11860{
@@ -14873,22 +11864,22 @@ struct timezone tz;
14873} 11864}
14874_ACEOF 11865_ACEOF
14875rm -f conftest.$ac_objext 11866rm -f conftest.$ac_objext
14876if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11867if { (eval echo "$as_me:11867: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>&5 11868 (eval $ac_compile) 2>&5
14878 ac_status=$? 11869 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11870 echo "$as_me:11870: \$? = $ac_status" >&5
14880 (exit $ac_status); } && 11871 (exit $ac_status); } &&
14881 { ac_try='test -s conftest.$ac_objext' 11872 { ac_try='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11873 { (eval echo "$as_me:11873: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5 11874 (eval $ac_try) 2>&5
14884 ac_status=$? 11875 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11876 echo "$as_me:11876: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then 11877 (exit $ac_status); }; }; then
14887 if test "$cross_compiling" = yes; then 11878 if test "$cross_compiling" = yes; then
14888 emacs_cv_struct_timezone=yes 11879 emacs_cv_struct_timezone=yes
14889else 11880else
14890 cat >conftest.$ac_ext <<_ACEOF 11881 cat >conftest.$ac_ext <<_ACEOF
14891#line $LINENO "configure" 11882#line 11882 "configure"
14892#include "confdefs.h" 11883#include "confdefs.h"
14893 11884
14894#ifdef TIME_WITH_SYS_TIME 11885#ifdef TIME_WITH_SYS_TIME
@@ -14908,22 +11899,21 @@ main () {
14908} 11899}
14909_ACEOF 11900_ACEOF
14910rm -f conftest$ac_exeext 11901rm -f conftest$ac_exeext
14911if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11902if { (eval echo "$as_me:11902: \"$ac_link\"") >&5
14912 (eval $ac_link) 2>&5 11903 (eval $ac_link) 2>&5
14913 ac_status=$? 11904 ac_status=$?
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11905 echo "$as_me:11905: \$? = $ac_status" >&5
14915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11907 { (eval echo "$as_me:11907: \"$ac_try\"") >&5
14917 (eval $ac_try) 2>&5 11908 (eval $ac_try) 2>&5
14918 ac_status=$? 11909 ac_status=$?
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11910 echo "$as_me:11910: \$? = $ac_status" >&5
14920 (exit $ac_status); }; }; then 11911 (exit $ac_status); }; }; then
14921 emacs_cv_struct_timezone=yes 11912 emacs_cv_struct_timezone=yes
14922else 11913else
14923 echo "$as_me: program exited with status $ac_status" >&5 11914 echo "$as_me: program exited with status $ac_status" >&5
14924echo "$as_me: failed program was:" >&5 11915echo "$as_me: failed program was:" >&5
14925cat conftest.$ac_ext >&5 11916cat conftest.$ac_ext >&5
14926( exit $ac_status )
14927emacs_cv_struct_timezone=no 11917emacs_cv_struct_timezone=no
14928fi 11918fi
14929rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11919rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
@@ -14935,18 +11925,18 @@ emacs_cv_struct_timezone=no
14935fi 11925fi
14936rm -f conftest.$ac_objext conftest.$ac_ext 11926rm -f conftest.$ac_objext conftest.$ac_ext
14937fi 11927fi
14938echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5 11928echo "$as_me:11928: result: $emacs_cv_struct_timezone" >&5
14939echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11929echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
14940fi 11930fi
14941 11931
14942ok_so_far=yes 11932ok_so_far=yes
14943echo "$as_me:$LINENO: checking for socket" >&5 11933echo "$as_me:11933: checking for socket" >&5
14944echo $ECHO_N "checking for socket... $ECHO_C" >&6 11934echo $ECHO_N "checking for socket... $ECHO_C" >&6
14945if test "${ac_cv_func_socket+set}" = set; then 11935if test "${ac_cv_func_socket+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6 11936 echo $ECHO_N "(cached) $ECHO_C" >&6
14947else 11937else
14948 cat >conftest.$ac_ext <<_ACEOF 11938 cat >conftest.$ac_ext <<_ACEOF
14949#line $LINENO "configure" 11939#line 11939 "configure"
14950#include "confdefs.h" 11940#include "confdefs.h"
14951/* System header to define __stub macros and hopefully few prototypes, 11941/* System header to define __stub macros and hopefully few prototypes,
14952 which can conflict with char socket (); below. */ 11942 which can conflict with char socket (); below. */
@@ -14960,12 +11950,6 @@ extern "C"
14960char socket (); 11950char socket ();
14961char (*f) (); 11951char (*f) ();
14962 11952
14963#ifdef F77_DUMMY_MAIN
14964# ifdef __cplusplus
14965 extern "C"
14966# endif
14967 int F77_DUMMY_MAIN() { return 1; }
14968#endif
14969int 11953int
14970main () 11954main ()
14971{ 11955{
@@ -14983,16 +11967,16 @@ f = socket;
14983} 11967}
14984_ACEOF 11968_ACEOF
14985rm -f conftest.$ac_objext conftest$ac_exeext 11969rm -f conftest.$ac_objext conftest$ac_exeext
14986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11970if { (eval echo "$as_me:11970: \"$ac_link\"") >&5
14987 (eval $ac_link) 2>&5 11971 (eval $ac_link) 2>&5
14988 ac_status=$? 11972 ac_status=$?
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11973 echo "$as_me:11973: \$? = $ac_status" >&5
14990 (exit $ac_status); } && 11974 (exit $ac_status); } &&
14991 { ac_try='test -s conftest$ac_exeext' 11975 { ac_try='test -s conftest$ac_exeext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11976 { (eval echo "$as_me:11976: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5 11977 (eval $ac_try) 2>&5
14994 ac_status=$? 11978 ac_status=$?
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11979 echo "$as_me:11979: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then 11980 (exit $ac_status); }; }; then
14997 ac_cv_func_socket=yes 11981 ac_cv_func_socket=yes
14998else 11982else
@@ -15002,7 +11986,7 @@ ac_cv_func_socket=no
15002fi 11986fi
15003rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11987rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15004fi 11988fi
15005echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 11989echo "$as_me:11989: result: $ac_cv_func_socket" >&5
15006echo "${ECHO_T}$ac_cv_func_socket" >&6 11990echo "${ECHO_T}$ac_cv_func_socket" >&6
15007if test $ac_cv_func_socket = yes; then 11991if test $ac_cv_func_socket = yes; then
15008 : 11992 :
@@ -15011,61 +11995,23 @@ else
15011fi 11995fi
15012 11996
15013if test $ok_so_far = yes; then 11997if test $ok_so_far = yes; then
15014 if test "${ac_cv_header_netinet_in_h+set}" = set; then 11998 echo "$as_me:11998: checking for netinet/in.h" >&5
15015 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
15016echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 11999echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
15017if test "${ac_cv_header_netinet_in_h+set}" = set; then 12000if test "${ac_cv_header_netinet_in_h+set}" = set; then
15018 echo $ECHO_N "(cached) $ECHO_C" >&6 12001 echo $ECHO_N "(cached) $ECHO_C" >&6
15019fi
15020echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
15021echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
15022else
15023 # Is the header compilable?
15024echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
15025echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
15026cat >conftest.$ac_ext <<_ACEOF
15027#line $LINENO "configure"
15028#include "confdefs.h"
15029$ac_includes_default
15030#include <netinet/in.h>
15031_ACEOF
15032rm -f conftest.$ac_objext
15033if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15034 (eval $ac_compile) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try='test -s conftest.$ac_objext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15041 ac_status=$?
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 ac_header_compiler=yes
15045else 12002else
15046 echo "$as_me: failed program was:" >&5 12003 cat >conftest.$ac_ext <<_ACEOF
15047cat conftest.$ac_ext >&5 12004#line 12004 "configure"
15048ac_header_compiler=no
15049fi
15050rm -f conftest.$ac_objext conftest.$ac_ext
15051echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15052echo "${ECHO_T}$ac_header_compiler" >&6
15053
15054# Is the header present?
15055echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
15056echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
15057cat >conftest.$ac_ext <<_ACEOF
15058#line $LINENO "configure"
15059#include "confdefs.h" 12005#include "confdefs.h"
15060#include <netinet/in.h> 12006#include <netinet/in.h>
15061_ACEOF 12007_ACEOF
15062if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12008if { (eval echo "$as_me:12008: \"$ac_cpp conftest.$ac_ext\"") >&5
15063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15064 ac_status=$? 12010 ac_status=$?
15065 egrep -v '^ *\+' conftest.er1 >conftest.err 12011 egrep -v '^ *\+' conftest.er1 >conftest.err
15066 rm -f conftest.er1 12012 rm -f conftest.er1
15067 cat conftest.err >&5 12013 cat conftest.err >&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12014 echo "$as_me:12014: \$? = $ac_status" >&5
15069 (exit $ac_status); } >/dev/null; then 12015 (exit $ac_status); } >/dev/null; then
15070 if test -s conftest.err; then 12016 if test -s conftest.err; then
15071 ac_cpp_err=$ac_c_preproc_warn_flag 12017 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -15076,106 +12022,41 @@ else
15076 ac_cpp_err=yes 12022 ac_cpp_err=yes
15077fi 12023fi
15078if test -z "$ac_cpp_err"; then 12024if test -z "$ac_cpp_err"; then
15079 ac_header_preproc=yes 12025 ac_cv_header_netinet_in_h=yes
15080else 12026else
15081 echo "$as_me: failed program was:" >&5 12027 echo "$as_me: failed program was:" >&5
15082 cat conftest.$ac_ext >&5 12028 cat conftest.$ac_ext >&5
15083 ac_header_preproc=no 12029 ac_cv_header_netinet_in_h=no
15084fi 12030fi
15085rm -f conftest.err conftest.$ac_ext 12031rm -f conftest.err conftest.$ac_ext
15086echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15087echo "${ECHO_T}$ac_header_preproc" >&6
15088
15089# So? What about this header?
15090case $ac_header_compiler:$ac_header_preproc in
15091 yes:no )
15092 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
15093echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15094 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
15095echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};;
15096 no:yes )
15097 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
15098echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
15099 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
15100echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
15101 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
15102echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};;
15103esac
15104echo "$as_me:$LINENO: checking for netinet/in.h" >&5
15105echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
15106if test "${ac_cv_header_netinet_in_h+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15108else
15109 ac_cv_header_netinet_in_h=$ac_header_preproc
15110fi 12032fi
15111echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 12033echo "$as_me:12033: result: $ac_cv_header_netinet_in_h" >&5
15112echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 12034echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
15113
15114fi
15115if test $ac_cv_header_netinet_in_h = yes; then 12035if test $ac_cv_header_netinet_in_h = yes; then
15116 : 12036 :
15117else 12037else
15118 ok_so_far=no 12038 ok_so_far=no
15119fi 12039fi
15120 12040
15121
15122fi 12041fi
15123if test $ok_so_far = yes; then 12042if test $ok_so_far = yes; then
15124 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 12043 echo "$as_me:12043: checking for arpa/inet.h" >&5
15125 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
15126echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 12044echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
15127if test "${ac_cv_header_arpa_inet_h+set}" = set; then 12045if test "${ac_cv_header_arpa_inet_h+set}" = set; then
15128 echo $ECHO_N "(cached) $ECHO_C" >&6 12046 echo $ECHO_N "(cached) $ECHO_C" >&6
15129fi
15130echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
15131echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
15132else 12047else
15133 # Is the header compilable? 12048 cat >conftest.$ac_ext <<_ACEOF
15134echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 12049#line 12049 "configure"
15135echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
15136cat >conftest.$ac_ext <<_ACEOF
15137#line $LINENO "configure"
15138#include "confdefs.h"
15139$ac_includes_default
15140#include <arpa/inet.h>
15141_ACEOF
15142rm -f conftest.$ac_objext
15143if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15144 (eval $ac_compile) 2>&5
15145 ac_status=$?
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } &&
15148 { ac_try='test -s conftest.$ac_objext'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; }; then
15154 ac_header_compiler=yes
15155else
15156 echo "$as_me: failed program was:" >&5
15157cat conftest.$ac_ext >&5
15158ac_header_compiler=no
15159fi
15160rm -f conftest.$ac_objext conftest.$ac_ext
15161echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15162echo "${ECHO_T}$ac_header_compiler" >&6
15163
15164# Is the header present?
15165echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
15166echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
15167cat >conftest.$ac_ext <<_ACEOF
15168#line $LINENO "configure"
15169#include "confdefs.h" 12050#include "confdefs.h"
15170#include <arpa/inet.h> 12051#include <arpa/inet.h>
15171_ACEOF 12052_ACEOF
15172if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12053if { (eval echo "$as_me:12053: \"$ac_cpp conftest.$ac_ext\"") >&5
15173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15174 ac_status=$? 12055 ac_status=$?
15175 egrep -v '^ *\+' conftest.er1 >conftest.err 12056 egrep -v '^ *\+' conftest.er1 >conftest.err
15176 rm -f conftest.er1 12057 rm -f conftest.er1
15177 cat conftest.err >&5 12058 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12059 echo "$as_me:12059: \$? = $ac_status" >&5
15179 (exit $ac_status); } >/dev/null; then 12060 (exit $ac_status); } >/dev/null; then
15180 if test -s conftest.err; then 12061 if test -s conftest.err; then
15181 ac_cpp_err=$ac_c_preproc_warn_flag 12062 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -15186,96 +12067,63 @@ else
15186 ac_cpp_err=yes 12067 ac_cpp_err=yes
15187fi 12068fi
15188if test -z "$ac_cpp_err"; then 12069if test -z "$ac_cpp_err"; then
15189 ac_header_preproc=yes 12070 ac_cv_header_arpa_inet_h=yes
15190else 12071else
15191 echo "$as_me: failed program was:" >&5 12072 echo "$as_me: failed program was:" >&5
15192 cat conftest.$ac_ext >&5 12073 cat conftest.$ac_ext >&5
15193 ac_header_preproc=no 12074 ac_cv_header_arpa_inet_h=no
15194fi 12075fi
15195rm -f conftest.err conftest.$ac_ext 12076rm -f conftest.err conftest.$ac_ext
15196echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15197echo "${ECHO_T}$ac_header_preproc" >&6
15198
15199# So? What about this header?
15200case $ac_header_compiler:$ac_header_preproc in
15201 yes:no )
15202 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
15203echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15204 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
15205echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};;
15206 no:yes )
15207 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
15208echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
15209 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
15210echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
15211 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
15212echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};;
15213esac
15214echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
15215echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
15216if test "${ac_cv_header_arpa_inet_h+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15218else
15219 ac_cv_header_arpa_inet_h=$ac_header_preproc
15220fi 12077fi
15221echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 12078echo "$as_me:12078: result: $ac_cv_header_arpa_inet_h" >&5
15222echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 12079echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
15223
15224fi
15225if test $ac_cv_header_arpa_inet_h = yes; then 12080if test $ac_cv_header_arpa_inet_h = yes; then
15226 : 12081 :
15227else 12082else
15228 ok_so_far=no 12083 ok_so_far=no
15229fi 12084fi
15230 12085
15231
15232fi 12086fi
15233if test $ok_so_far = yes; then 12087if test $ok_so_far = yes; then
15234 12088
15235cat >>confdefs.h <<\_ACEOF 12089cat >>confdefs.h <<\EOF
15236#define HAVE_INET_SOCKETS 1 12090#define HAVE_INET_SOCKETS 1
15237_ACEOF 12091EOF
15238 12092
15239fi 12093fi
15240 12094
15241if test -f /usr/lpp/X11/bin/smt.exp; then 12095if test -f /usr/lpp/X11/bin/smt.exp; then
15242 12096
15243cat >>confdefs.h <<\_ACEOF 12097cat >>confdefs.h <<\EOF
15244#define HAVE_AIX_SMT_EXP 1 12098#define HAVE_AIX_SMT_EXP 1
15245_ACEOF 12099EOF
15246 12100
15247fi 12101fi
15248 12102
15249echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 12103echo "$as_me:12103: checking whether system supports dynamic ptys" >&5
15250echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 12104echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
15251if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 12105if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
15252 echo "$as_me:$LINENO: result: yes" >&5 12106 echo "$as_me:12106: result: yes" >&5
15253echo "${ECHO_T}yes" >&6 12107echo "${ECHO_T}yes" >&6
15254 12108
15255cat >>confdefs.h <<\_ACEOF 12109cat >>confdefs.h <<\EOF
15256#define HAVE_DEV_PTMX 1 12110#define HAVE_DEV_PTMX 1
15257_ACEOF 12111EOF
15258 12112
15259else 12113else
15260 echo "$as_me:$LINENO: result: no" >&5 12114 echo "$as_me:12114: result: no" >&5
15261echo "${ECHO_T}no" >&6 12115echo "${ECHO_T}no" >&6
15262fi 12116fi
15263 12117
15264echo "$as_me:$LINENO: checking for pid_t" >&5 12118echo "$as_me:12118: checking for pid_t" >&5
15265echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 12119echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
15266if test "${ac_cv_type_pid_t+set}" = set; then 12120if test "${ac_cv_type_pid_t+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6 12121 echo $ECHO_N "(cached) $ECHO_C" >&6
15268else 12122else
15269 cat >conftest.$ac_ext <<_ACEOF 12123 cat >conftest.$ac_ext <<_ACEOF
15270#line $LINENO "configure" 12124#line 12124 "configure"
15271#include "confdefs.h" 12125#include "confdefs.h"
15272$ac_includes_default 12126$ac_includes_default
15273#ifdef F77_DUMMY_MAIN
15274# ifdef __cplusplus
15275 extern "C"
15276# endif
15277 int F77_DUMMY_MAIN() { return 1; }
15278#endif
15279int 12127int
15280main () 12128main ()
15281{ 12129{
@@ -15288,16 +12136,16 @@ if (sizeof (pid_t))
15288} 12136}
15289_ACEOF 12137_ACEOF
15290rm -f conftest.$ac_objext 12138rm -f conftest.$ac_objext
15291if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12139if { (eval echo "$as_me:12139: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>&5 12140 (eval $ac_compile) 2>&5
15293 ac_status=$? 12141 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12142 echo "$as_me:12142: \$? = $ac_status" >&5
15295 (exit $ac_status); } && 12143 (exit $ac_status); } &&
15296 { ac_try='test -s conftest.$ac_objext' 12144 { ac_try='test -s conftest.$ac_objext'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12145 { (eval echo "$as_me:12145: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5 12146 (eval $ac_try) 2>&5
15299 ac_status=$? 12147 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12148 echo "$as_me:12148: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then 12149 (exit $ac_status); }; }; then
15302 ac_cv_type_pid_t=yes 12150 ac_cv_type_pid_t=yes
15303else 12151else
@@ -15307,78 +12155,38 @@ ac_cv_type_pid_t=no
15307fi 12155fi
15308rm -f conftest.$ac_objext conftest.$ac_ext 12156rm -f conftest.$ac_objext conftest.$ac_ext
15309fi 12157fi
15310echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 12158echo "$as_me:12158: result: $ac_cv_type_pid_t" >&5
15311echo "${ECHO_T}$ac_cv_type_pid_t" >&6 12159echo "${ECHO_T}$ac_cv_type_pid_t" >&6
15312if test $ac_cv_type_pid_t = yes; then 12160if test $ac_cv_type_pid_t = yes; then
15313 : 12161 :
15314else 12162else
15315 12163
15316cat >>confdefs.h <<_ACEOF 12164cat >>confdefs.h <<EOF
15317#define pid_t int 12165#define pid_t int
15318_ACEOF 12166EOF
15319 12167
15320fi 12168fi
15321 12169
15322
15323
15324for ac_header in unistd.h vfork.h 12170for ac_header in unistd.h vfork.h
15325do 12171do
15326as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12172as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15327if eval "test \"\${$as_ac_Header+set}\" = set"; then 12173echo "$as_me:12173: checking for $ac_header" >&5
15328 echo "$as_me:$LINENO: checking for $ac_header" >&5
15329echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12174echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15330if eval "test \"\${$as_ac_Header+set}\" = set"; then 12175if eval "test \"\${$as_ac_Header+set}\" = set"; then
15331 echo $ECHO_N "(cached) $ECHO_C" >&6 12176 echo $ECHO_N "(cached) $ECHO_C" >&6
15332fi
15333echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15334echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15335else
15336 # Is the header compilable?
15337echo "$as_me:$LINENO: checking $ac_header usability" >&5
15338echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15339cat >conftest.$ac_ext <<_ACEOF
15340#line $LINENO "configure"
15341#include "confdefs.h"
15342$ac_includes_default
15343#include <$ac_header>
15344_ACEOF
15345rm -f conftest.$ac_objext
15346if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15347 (eval $ac_compile) 2>&5
15348 ac_status=$?
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); } &&
15351 { ac_try='test -s conftest.$ac_objext'
15352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15353 (eval $ac_try) 2>&5
15354 ac_status=$?
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }; }; then
15357 ac_header_compiler=yes
15358else 12177else
15359 echo "$as_me: failed program was:" >&5 12178 cat >conftest.$ac_ext <<_ACEOF
15360cat conftest.$ac_ext >&5 12179#line 12179 "configure"
15361ac_header_compiler=no
15362fi
15363rm -f conftest.$ac_objext conftest.$ac_ext
15364echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15365echo "${ECHO_T}$ac_header_compiler" >&6
15366
15367# Is the header present?
15368echo "$as_me:$LINENO: checking $ac_header presence" >&5
15369echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15370cat >conftest.$ac_ext <<_ACEOF
15371#line $LINENO "configure"
15372#include "confdefs.h" 12180#include "confdefs.h"
15373#include <$ac_header> 12181#include <$ac_header>
15374_ACEOF 12182_ACEOF
15375if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12183if { (eval echo "$as_me:12183: \"$ac_cpp conftest.$ac_ext\"") >&5
15376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15377 ac_status=$? 12185 ac_status=$?
15378 egrep -v '^ *\+' conftest.er1 >conftest.err 12186 egrep -v '^ *\+' conftest.er1 >conftest.err
15379 rm -f conftest.er1 12187 rm -f conftest.er1
15380 cat conftest.err >&5 12188 cat conftest.err >&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12189 echo "$as_me:12189: \$? = $ac_status" >&5
15382 (exit $ac_status); } >/dev/null; then 12190 (exit $ac_status); } >/dev/null; then
15383 if test -s conftest.err; then 12191 if test -s conftest.err; then
15384 ac_cpp_err=$ac_c_preproc_warn_flag 12192 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -15389,63 +12197,34 @@ else
15389 ac_cpp_err=yes 12197 ac_cpp_err=yes
15390fi 12198fi
15391if test -z "$ac_cpp_err"; then 12199if test -z "$ac_cpp_err"; then
15392 ac_header_preproc=yes 12200 eval "$as_ac_Header=yes"
15393else 12201else
15394 echo "$as_me: failed program was:" >&5 12202 echo "$as_me: failed program was:" >&5
15395 cat conftest.$ac_ext >&5 12203 cat conftest.$ac_ext >&5
15396 ac_header_preproc=no 12204 eval "$as_ac_Header=no"
15397fi 12205fi
15398rm -f conftest.err conftest.$ac_ext 12206rm -f conftest.err conftest.$ac_ext
15399echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15400echo "${ECHO_T}$ac_header_preproc" >&6
15401
15402# So? What about this header?
15403case $ac_header_compiler:$ac_header_preproc in
15404 yes:no )
15405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15406echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15408echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15409 no:yes )
15410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15411echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15413echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15415echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15416esac
15417echo "$as_me:$LINENO: checking for $ac_header" >&5
15418echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15419if eval "test \"\${$as_ac_Header+set}\" = set"; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15421else
15422 eval "$as_ac_Header=$ac_header_preproc"
15423fi 12207fi
15424echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 12208echo "$as_me:12208: result: `eval echo '${'$as_ac_Header'}'`" >&5
15425echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12209echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15426
15427fi
15428if test `eval echo '${'$as_ac_Header'}'` = yes; then 12210if test `eval echo '${'$as_ac_Header'}'` = yes; then
15429 cat >>confdefs.h <<_ACEOF 12211 cat >>confdefs.h <<EOF
15430#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12212#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15431_ACEOF 12213EOF
15432 12214
15433fi 12215fi
15434
15435done 12216done
15436 12217
15437
15438
15439for ac_func in fork vfork 12218for ac_func in fork vfork
15440do 12219do
15441as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12220as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15442echo "$as_me:$LINENO: checking for $ac_func" >&5 12221echo "$as_me:12221: checking for $ac_func" >&5
15443echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12222echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15444if eval "test \"\${$as_ac_var+set}\" = set"; then 12223if eval "test \"\${$as_ac_var+set}\" = set"; then
15445 echo $ECHO_N "(cached) $ECHO_C" >&6 12224 echo $ECHO_N "(cached) $ECHO_C" >&6
15446else 12225else
15447 cat >conftest.$ac_ext <<_ACEOF 12226 cat >conftest.$ac_ext <<_ACEOF
15448#line $LINENO "configure" 12227#line 12227 "configure"
15449#include "confdefs.h" 12228#include "confdefs.h"
15450/* System header to define __stub macros and hopefully few prototypes, 12229/* System header to define __stub macros and hopefully few prototypes,
15451 which can conflict with char $ac_func (); below. */ 12230 which can conflict with char $ac_func (); below. */
@@ -15459,12 +12238,6 @@ extern "C"
15459char $ac_func (); 12238char $ac_func ();
15460char (*f) (); 12239char (*f) ();
15461 12240
15462#ifdef F77_DUMMY_MAIN
15463# ifdef __cplusplus
15464 extern "C"
15465# endif
15466 int F77_DUMMY_MAIN() { return 1; }
15467#endif
15468int 12241int
15469main () 12242main ()
15470{ 12243{
@@ -15482,16 +12255,16 @@ f = $ac_func;
15482} 12255}
15483_ACEOF 12256_ACEOF
15484rm -f conftest.$ac_objext conftest$ac_exeext 12257rm -f conftest.$ac_objext conftest$ac_exeext
15485if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12258if { (eval echo "$as_me:12258: \"$ac_link\"") >&5
15486 (eval $ac_link) 2>&5 12259 (eval $ac_link) 2>&5
15487 ac_status=$? 12260 ac_status=$?
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12261 echo "$as_me:12261: \$? = $ac_status" >&5
15489 (exit $ac_status); } && 12262 (exit $ac_status); } &&
15490 { ac_try='test -s conftest$ac_exeext' 12263 { ac_try='test -s conftest$ac_exeext'
15491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12264 { (eval echo "$as_me:12264: \"$ac_try\"") >&5
15492 (eval $ac_try) 2>&5 12265 (eval $ac_try) 2>&5
15493 ac_status=$? 12266 ac_status=$?
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12267 echo "$as_me:12267: \$? = $ac_status" >&5
15495 (exit $ac_status); }; }; then 12268 (exit $ac_status); }; }; then
15496 eval "$as_ac_var=yes" 12269 eval "$as_ac_var=yes"
15497else 12270else
@@ -15501,19 +12274,19 @@ eval "$as_ac_var=no"
15501fi 12274fi
15502rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12275rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15503fi 12276fi
15504echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 12277echo "$as_me:12277: result: `eval echo '${'$as_ac_var'}'`" >&5
15505echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12278echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15506if test `eval echo '${'$as_ac_var'}'` = yes; then 12279if test `eval echo '${'$as_ac_var'}'` = yes; then
15507 cat >>confdefs.h <<_ACEOF 12280 cat >>confdefs.h <<EOF
15508#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12281#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15509_ACEOF 12282EOF
15510 12283
15511fi 12284fi
15512done 12285done
15513 12286
15514ac_cv_func_fork_works=$ac_cv_func_fork 12287ac_cv_func_fork_works=$ac_cv_func_fork
15515if test "x$ac_cv_func_fork" = xyes; then 12288if test "x$ac_cv_func_fork" = xyes; then
15516 echo "$as_me:$LINENO: checking for working fork" >&5 12289 echo "$as_me:12289: checking for working fork" >&5
15517echo $ECHO_N "checking for working fork... $ECHO_C" >&6 12290echo $ECHO_N "checking for working fork... $ECHO_C" >&6
15518if test "${ac_cv_func_fork_works+set}" = set; then 12291if test "${ac_cv_func_fork_works+set}" = set; then
15519 echo $ECHO_N "(cached) $ECHO_C" >&6 12292 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15522,7 +12295,7 @@ else
15522 ac_cv_func_fork_works=cross 12295 ac_cv_func_fork_works=cross
15523else 12296else
15524 cat >conftest.$ac_ext <<_ACEOF 12297 cat >conftest.$ac_ext <<_ACEOF
15525/* By Ruediger Kuhlmann. */ 12298/* By Rüdiger Kuhlmann. */
15526 #include <sys/types.h> 12299 #include <sys/types.h>
15527 #if HAVE_UNISTD_H 12300 #if HAVE_UNISTD_H
15528 # include <unistd.h> 12301 # include <unistd.h>
@@ -15536,28 +12309,27 @@ else
15536 } 12309 }
15537_ACEOF 12310_ACEOF
15538rm -f conftest$ac_exeext 12311rm -f conftest$ac_exeext
15539if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12312if { (eval echo "$as_me:12312: \"$ac_link\"") >&5
15540 (eval $ac_link) 2>&5 12313 (eval $ac_link) 2>&5
15541 ac_status=$? 12314 ac_status=$?
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12315 echo "$as_me:12315: \$? = $ac_status" >&5
15543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12317 { (eval echo "$as_me:12317: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5 12318 (eval $ac_try) 2>&5
15546 ac_status=$? 12319 ac_status=$?
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12320 echo "$as_me:12320: \$? = $ac_status" >&5
15548 (exit $ac_status); }; }; then 12321 (exit $ac_status); }; }; then
15549 ac_cv_func_fork_works=yes 12322 ac_cv_func_fork_works=yes
15550else 12323else
15551 echo "$as_me: program exited with status $ac_status" >&5 12324 echo "$as_me: program exited with status $ac_status" >&5
15552echo "$as_me: failed program was:" >&5 12325echo "$as_me: failed program was:" >&5
15553cat conftest.$ac_ext >&5 12326cat conftest.$ac_ext >&5
15554( exit $ac_status )
15555ac_cv_func_fork_works=no 12327ac_cv_func_fork_works=no
15556fi 12328fi
15557rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12329rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15558fi 12330fi
15559fi 12331fi
15560echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 12332echo "$as_me:12332: result: $ac_cv_func_fork_works" >&5
15561echo "${ECHO_T}$ac_cv_func_fork_works" >&6 12333echo "${ECHO_T}$ac_cv_func_fork_works" >&6
15562 12334
15563fi 12335fi
@@ -15571,12 +12343,12 @@ if test "x$ac_cv_func_fork_works" = xcross; then
15571 ac_cv_func_fork_works=yes 12343 ac_cv_func_fork_works=yes
15572 ;; 12344 ;;
15573 esac 12345 esac
15574 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 12346 { echo "$as_me:12346: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
15575echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 12347echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
15576fi 12348fi
15577ac_cv_func_vfork_works=$ac_cv_func_vfork 12349ac_cv_func_vfork_works=$ac_cv_func_vfork
15578if test "x$ac_cv_func_vfork" = xyes; then 12350if test "x$ac_cv_func_vfork" = xyes; then
15579 echo "$as_me:$LINENO: checking for working vfork" >&5 12351 echo "$as_me:12351: checking for working vfork" >&5
15580echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12352echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
15581if test "${ac_cv_func_vfork_works+set}" = set; then 12353if test "${ac_cv_func_vfork_works+set}" = set; then
15582 echo $ECHO_N "(cached) $ECHO_C" >&6 12354 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15585,7 +12357,7 @@ else
15585 ac_cv_func_vfork_works=cross 12357 ac_cv_func_vfork_works=cross
15586else 12358else
15587 cat >conftest.$ac_ext <<_ACEOF 12359 cat >conftest.$ac_ext <<_ACEOF
15588#line $LINENO "configure" 12360#line 12360 "configure"
15589#include "confdefs.h" 12361#include "confdefs.h"
15590/* Thanks to Paul Eggert for this test. */ 12362/* Thanks to Paul Eggert for this test. */
15591#include <stdio.h> 12363#include <stdio.h>
@@ -15682,75 +12454,67 @@ main ()
15682} 12454}
15683_ACEOF 12455_ACEOF
15684rm -f conftest$ac_exeext 12456rm -f conftest$ac_exeext
15685if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12457if { (eval echo "$as_me:12457: \"$ac_link\"") >&5
15686 (eval $ac_link) 2>&5 12458 (eval $ac_link) 2>&5
15687 ac_status=$? 12459 ac_status=$?
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12460 echo "$as_me:12460: \$? = $ac_status" >&5
15689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12462 { (eval echo "$as_me:12462: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5 12463 (eval $ac_try) 2>&5
15692 ac_status=$? 12464 ac_status=$?
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12465 echo "$as_me:12465: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then 12466 (exit $ac_status); }; }; then
15695 ac_cv_func_vfork_works=yes 12467 ac_cv_func_vfork_works=yes
15696else 12468else
15697 echo "$as_me: program exited with status $ac_status" >&5 12469 echo "$as_me: program exited with status $ac_status" >&5
15698echo "$as_me: failed program was:" >&5 12470echo "$as_me: failed program was:" >&5
15699cat conftest.$ac_ext >&5 12471cat conftest.$ac_ext >&5
15700( exit $ac_status )
15701ac_cv_func_vfork_works=no 12472ac_cv_func_vfork_works=no
15702fi 12473fi
15703rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12474rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15704fi 12475fi
15705fi 12476fi
15706echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 12477echo "$as_me:12477: result: $ac_cv_func_vfork_works" >&5
15707echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12478echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
15708 12479
15709fi; 12480fi;
15710if test "x$ac_cv_func_fork_works" = xcross; then 12481if test "x$ac_cv_func_fork_works" = xcross; then
15711 ac_cv_func_vfork_works=ac_cv_func_vfork 12482 ac_cv_func_vfork_works=ac_cv_func_vfork
15712 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 12483 { echo "$as_me:12483: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
15713echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 12484echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
15714fi 12485fi
15715 12486
15716if test "x$ac_cv_func_vfork_works" = xyes; then 12487if test "x$ac_cv_func_vfork_works" = xyes; then
15717 12488
15718cat >>confdefs.h <<\_ACEOF 12489cat >>confdefs.h <<\EOF
15719#define HAVE_WORKING_VFORK 1 12490#define HAVE_WORKING_VFORK 1
15720_ACEOF 12491EOF
15721 12492
15722else 12493else
15723 12494
15724cat >>confdefs.h <<\_ACEOF 12495cat >>confdefs.h <<\EOF
15725#define vfork fork 12496#define vfork fork
15726_ACEOF 12497EOF
15727 12498
15728fi 12499fi
15729if test "x$ac_cv_func_fork_works" = xyes; then 12500if test "x$ac_cv_func_fork_works" = xyes; then
15730 12501
15731cat >>confdefs.h <<\_ACEOF 12502cat >>confdefs.h <<\EOF
15732#define HAVE_WORKING_FORK 1 12503#define HAVE_WORKING_FORK 1
15733_ACEOF 12504EOF
15734 12505
15735fi 12506fi
15736 12507
15737
15738# Fixme: This should be replaced when we have autoconf 2.14. 12508# Fixme: This should be replaced when we have autoconf 2.14.
15739echo "$as_me:$LINENO: checking for size_t" >&5 12509echo "$as_me:12509: checking for size_t" >&5
15740echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12510echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15741if test "${ac_cv_type_size_t+set}" = set; then 12511if test "${ac_cv_type_size_t+set}" = set; then
15742 echo $ECHO_N "(cached) $ECHO_C" >&6 12512 echo $ECHO_N "(cached) $ECHO_C" >&6
15743else 12513else
15744 cat >conftest.$ac_ext <<_ACEOF 12514 cat >conftest.$ac_ext <<_ACEOF
15745#line $LINENO "configure" 12515#line 12515 "configure"
15746#include "confdefs.h" 12516#include "confdefs.h"
15747$ac_includes_default 12517$ac_includes_default
15748#ifdef F77_DUMMY_MAIN
15749# ifdef __cplusplus
15750 extern "C"
15751# endif
15752 int F77_DUMMY_MAIN() { return 1; }
15753#endif
15754int 12518int
15755main () 12519main ()
15756{ 12520{
@@ -15763,16 +12527,16 @@ if (sizeof (size_t))
15763} 12527}
15764_ACEOF 12528_ACEOF
15765rm -f conftest.$ac_objext 12529rm -f conftest.$ac_objext
15766if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12530if { (eval echo "$as_me:12530: \"$ac_compile\"") >&5
15767 (eval $ac_compile) 2>&5 12531 (eval $ac_compile) 2>&5
15768 ac_status=$? 12532 ac_status=$?
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12533 echo "$as_me:12533: \$? = $ac_status" >&5
15770 (exit $ac_status); } && 12534 (exit $ac_status); } &&
15771 { ac_try='test -s conftest.$ac_objext' 12535 { ac_try='test -s conftest.$ac_objext'
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12536 { (eval echo "$as_me:12536: \"$ac_try\"") >&5
15773 (eval $ac_try) 2>&5 12537 (eval $ac_try) 2>&5
15774 ac_status=$? 12538 ac_status=$?
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12539 echo "$as_me:12539: \$? = $ac_status" >&5
15776 (exit $ac_status); }; }; then 12540 (exit $ac_status); }; }; then
15777 ac_cv_type_size_t=yes 12541 ac_cv_type_size_t=yes
15778else 12542else
@@ -15782,19 +12546,18 @@ ac_cv_type_size_t=no
15782fi 12546fi
15783rm -f conftest.$ac_objext conftest.$ac_ext 12547rm -f conftest.$ac_objext conftest.$ac_ext
15784fi 12548fi
15785echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 12549echo "$as_me:12549: result: $ac_cv_type_size_t" >&5
15786echo "${ECHO_T}$ac_cv_type_size_t" >&6 12550echo "${ECHO_T}$ac_cv_type_size_t" >&6
15787if test $ac_cv_type_size_t = yes; then 12551if test $ac_cv_type_size_t = yes; then
15788 : 12552 :
15789else 12553else
15790 12554
15791cat >>confdefs.h <<_ACEOF 12555cat >>confdefs.h <<EOF
15792#define size_t unsigned 12556#define size_t unsigned
15793_ACEOF 12557EOF
15794 12558
15795fi 12559fi
15796 12560
15797
15798# Set up the CFLAGS for real compilation, so we can substitute it. 12561# Set up the CFLAGS for real compilation, so we can substitute it.
15799CFLAGS="$REAL_CFLAGS" 12562CFLAGS="$REAL_CFLAGS"
15800CPPFLAGS="$REAL_CPPFLAGS" 12563CPPFLAGS="$REAL_CPPFLAGS"
@@ -15803,7 +12566,7 @@ CPPFLAGS="$REAL_CPPFLAGS"
15803version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12566version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
15804 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12567 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
15805if test x"${version}" = x; then 12568if test x"${version}" = x; then
15806 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12569 { { echo "$as_me:12569: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
15807echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12570echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
15808 { (exit 1); exit 1; }; } 12571 { (exit 1); exit 1; }; }
15809fi 12572fi
@@ -15811,188 +12574,108 @@ fi
15811### Specify what sort of things we'll be editing into Makefile and config.h. 12574### Specify what sort of things we'll be editing into Makefile and config.h.
15812### Use configuration here uncanonicalized to avoid exceeding size limits. 12575### Use configuration here uncanonicalized to avoid exceeding size limits.
15813 12576
15814 12577cat >>confdefs.h <<EOF
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847cat >>confdefs.h <<_ACEOF
15848#define EMACS_CONFIGURATION "${canonical}" 12578#define EMACS_CONFIGURATION "${canonical}"
15849_ACEOF 12579EOF
15850
15851 12580
15852cat >>confdefs.h <<_ACEOF 12581cat >>confdefs.h <<EOF
15853#define EMACS_CONFIG_OPTIONS "${ac_configure_args}" 12582#define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
15854_ACEOF 12583EOF
15855
15856 12584
15857cat >>confdefs.h <<_ACEOF 12585cat >>confdefs.h <<EOF
15858#define config_machfile "${machfile}" 12586#define config_machfile "${machfile}"
15859_ACEOF 12587EOF
15860 12588
15861 12589cat >>confdefs.h <<EOF
15862cat >>confdefs.h <<_ACEOF
15863#define config_opsysfile "${opsysfile}" 12590#define config_opsysfile "${opsysfile}"
15864_ACEOF 12591EOF
15865 12592
15866 12593cat >>confdefs.h <<EOF
15867cat >>confdefs.h <<_ACEOF
15868#define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE} 12594#define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
15869_ACEOF 12595EOF
15870 12596
15871 12597cat >>confdefs.h <<EOF
15872cat >>confdefs.h <<_ACEOF
15873#define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX} 12598#define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
15874_ACEOF 12599EOF
15875 12600
15876 12601cat >>confdefs.h <<EOF
15877cat >>confdefs.h <<_ACEOF
15878#define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} 12602#define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
15879_ACEOF 12603EOF
15880 12604
15881 12605cat >>confdefs.h <<EOF
15882cat >>confdefs.h <<_ACEOF
15883#define UNEXEC_SRC ${UNEXEC_SRC} 12606#define UNEXEC_SRC ${UNEXEC_SRC}
15884_ACEOF 12607EOF
15885
15886 12608
15887if test "${HAVE_X_WINDOWS}" = "yes" ; then 12609if test "${HAVE_X_WINDOWS}" = "yes" ; then
15888 12610
15889cat >>confdefs.h <<\_ACEOF 12611cat >>confdefs.h <<\EOF
15890#define HAVE_X_WINDOWS 1 12612#define HAVE_X_WINDOWS 1
15891_ACEOF 12613EOF
15892 12614
15893fi 12615fi
15894if test "${USE_X_TOOLKIT}" != "none" ; then 12616if test "${USE_X_TOOLKIT}" != "none" ; then
15895 12617
15896cat >>confdefs.h <<\_ACEOF 12618cat >>confdefs.h <<\EOF
15897#define USE_X_TOOLKIT 1 12619#define USE_X_TOOLKIT 1
15898_ACEOF 12620EOF
15899 12621
15900fi 12622fi
15901if test "${HAVE_X11}" = "yes" ; then 12623if test "${HAVE_X11}" = "yes" ; then
15902 12624
15903cat >>confdefs.h <<\_ACEOF 12625cat >>confdefs.h <<\EOF
15904#define HAVE_X11 1 12626#define HAVE_X11 1
15905_ACEOF 12627EOF
15906 12628
15907fi 12629fi
15908if test "${HAVE_XFREE386}" = "yes" ; then 12630if test "${HAVE_XFREE386}" = "yes" ; then
15909 12631
15910cat >>confdefs.h <<\_ACEOF 12632cat >>confdefs.h <<\EOF
15911#define HAVE_XFREE386 1 12633#define HAVE_XFREE386 1
15912_ACEOF 12634EOF
15913 12635
15914fi 12636fi
15915if test "${HAVE_MENUS}" = "yes" ; then 12637if test "${HAVE_MENUS}" = "yes" ; then
15916 12638
15917cat >>confdefs.h <<\_ACEOF 12639cat >>confdefs.h <<\EOF
15918#define HAVE_MENUS 1 12640#define HAVE_MENUS 1
15919_ACEOF 12641EOF
15920 12642
15921fi 12643fi
15922if test "${GNU_MALLOC}" = "yes" ; then 12644if test "${GNU_MALLOC}" = "yes" ; then
15923 12645
15924cat >>confdefs.h <<\_ACEOF 12646cat >>confdefs.h <<\EOF
15925#define GNU_MALLOC 1 12647#define GNU_MALLOC 1
15926_ACEOF 12648EOF
15927 12649
15928fi 12650fi
15929if test "${REL_ALLOC}" = "yes" ; then 12651if test "${REL_ALLOC}" = "yes" ; then
15930 12652
15931cat >>confdefs.h <<\_ACEOF 12653cat >>confdefs.h <<\EOF
15932#define REL_ALLOC 1 12654#define REL_ALLOC 1
15933_ACEOF 12655EOF
15934 12656
15935fi 12657fi
15936 12658
15937
15938for ac_header in nlist.h 12659for ac_header in nlist.h
15939do 12660do
15940as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12661as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15941if eval "test \"\${$as_ac_Header+set}\" = set"; then 12662echo "$as_me:12662: checking for $ac_header" >&5
15942 echo "$as_me:$LINENO: checking for $ac_header" >&5
15943echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12663echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15944if eval "test \"\${$as_ac_Header+set}\" = set"; then 12664if eval "test \"\${$as_ac_Header+set}\" = set"; then
15945 echo $ECHO_N "(cached) $ECHO_C" >&6 12665 echo $ECHO_N "(cached) $ECHO_C" >&6
15946fi
15947echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15948echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15949else
15950 # Is the header compilable?
15951echo "$as_me:$LINENO: checking $ac_header usability" >&5
15952echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15953cat >conftest.$ac_ext <<_ACEOF
15954#line $LINENO "configure"
15955#include "confdefs.h"
15956$ac_includes_default
15957#include <$ac_header>
15958_ACEOF
15959rm -f conftest.$ac_objext
15960if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15961 (eval $ac_compile) 2>&5
15962 ac_status=$?
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); } &&
15965 { ac_try='test -s conftest.$ac_objext'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15968 ac_status=$?
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; }; then
15971 ac_header_compiler=yes
15972else 12666else
15973 echo "$as_me: failed program was:" >&5 12667 cat >conftest.$ac_ext <<_ACEOF
15974cat conftest.$ac_ext >&5 12668#line 12668 "configure"
15975ac_header_compiler=no
15976fi
15977rm -f conftest.$ac_objext conftest.$ac_ext
15978echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15979echo "${ECHO_T}$ac_header_compiler" >&6
15980
15981# Is the header present?
15982echo "$as_me:$LINENO: checking $ac_header presence" >&5
15983echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15984cat >conftest.$ac_ext <<_ACEOF
15985#line $LINENO "configure"
15986#include "confdefs.h" 12669#include "confdefs.h"
15987#include <$ac_header> 12670#include <$ac_header>
15988_ACEOF 12671_ACEOF
15989if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 12672if { (eval echo "$as_me:12672: \"$ac_cpp conftest.$ac_ext\"") >&5
15990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15991 ac_status=$? 12674 ac_status=$?
15992 egrep -v '^ *\+' conftest.er1 >conftest.err 12675 egrep -v '^ *\+' conftest.er1 >conftest.err
15993 rm -f conftest.er1 12676 rm -f conftest.er1
15994 cat conftest.err >&5 12677 cat conftest.err >&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12678 echo "$as_me:12678: \$? = $ac_status" >&5
15996 (exit $ac_status); } >/dev/null; then 12679 (exit $ac_status); } >/dev/null; then
15997 if test -s conftest.err; then 12680 if test -s conftest.err; then
15998 ac_cpp_err=$ac_c_preproc_warn_flag 12681 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -16003,60 +12686,28 @@ else
16003 ac_cpp_err=yes 12686 ac_cpp_err=yes
16004fi 12687fi
16005if test -z "$ac_cpp_err"; then 12688if test -z "$ac_cpp_err"; then
16006 ac_header_preproc=yes 12689 eval "$as_ac_Header=yes"
16007else 12690else
16008 echo "$as_me: failed program was:" >&5 12691 echo "$as_me: failed program was:" >&5
16009 cat conftest.$ac_ext >&5 12692 cat conftest.$ac_ext >&5
16010 ac_header_preproc=no 12693 eval "$as_ac_Header=no"
16011fi 12694fi
16012rm -f conftest.err conftest.$ac_ext 12695rm -f conftest.err conftest.$ac_ext
16013echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16014echo "${ECHO_T}$ac_header_preproc" >&6
16015
16016# So? What about this header?
16017case $ac_header_compiler:$ac_header_preproc in
16018 yes:no )
16019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16020echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16022echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16023 no:yes )
16024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16025echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16027echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16029echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16030esac
16031echo "$as_me:$LINENO: checking for $ac_header" >&5
16032echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16033if eval "test \"\${$as_ac_Header+set}\" = set"; then
16034 echo $ECHO_N "(cached) $ECHO_C" >&6
16035else
16036 eval "$as_ac_Header=$ac_header_preproc"
16037fi 12696fi
16038echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 12697echo "$as_me:12697: result: `eval echo '${'$as_ac_Header'}'`" >&5
16039echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12698echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16040
16041fi
16042if test `eval echo '${'$as_ac_Header'}'` = yes; then 12699if test `eval echo '${'$as_ac_Header'}'` = yes; then
16043 cat >>confdefs.h <<_ACEOF 12700 cat >>confdefs.h <<EOF
16044#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12701#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16045_ACEOF 12702EOF
16046 12703
16047cat >>confdefs.h <<\_ACEOF 12704cat >>confdefs.h <<\EOF
16048#define NLIST_STRUCT 1 12705#define NLIST_STRUCT 1
16049_ACEOF 12706EOF
16050 12707
16051fi 12708fi
16052
16053done 12709done
16054 12710
16055
16056
16057
16058
16059
16060#### Report on what we decided to do. 12711#### Report on what we decided to do.
16061echo " 12712echo "
16062Configured for \`${canonical}'. 12713Configured for \`${canonical}'.
@@ -16104,7 +12755,7 @@ test "${exec_prefix}" != NONE &&
16104## C preprocessor. 12755## C preprocessor.
16105 12756
16106cat >conftest.$ac_ext <<_ACEOF 12757cat >conftest.$ac_ext <<_ACEOF
16107#line $LINENO "configure" 12758#line 12758 "configure"
16108#include "confdefs.h" 12759#include "confdefs.h"
16109yes..yes 12760yes..yes
16110_ACEOF 12761_ACEOF
@@ -16116,7 +12767,6 @@ else
16116fi 12767fi
16117rm -f conftest* 12768rm -f conftest*
16118 12769
16119
16120ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" 12770ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile"
16121ac_config_commands="$ac_config_commands default" 12771ac_config_commands="$ac_config_commands default"
16122cat >confcache <<\_ACEOF 12772cat >confcache <<\_ACEOF
@@ -16195,29 +12845,25 @@ fi
16195 12845
16196DEFS=-DHAVE_CONFIG_H 12846DEFS=-DHAVE_CONFIG_H
16197 12847
16198
16199: ${CONFIG_STATUS=./config.status} 12848: ${CONFIG_STATUS=./config.status}
16200ac_clean_files_save=$ac_clean_files 12849ac_clean_files_save=$ac_clean_files
16201ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12850ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16202{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 12851{ echo "$as_me:12851: creating $CONFIG_STATUS" >&5
16203echo "$as_me: creating $CONFIG_STATUS" >&6;} 12852echo "$as_me: creating $CONFIG_STATUS" >&6;}
16204cat >$CONFIG_STATUS <<_ACEOF 12853cat >$CONFIG_STATUS <<_ACEOF
16205#! $SHELL 12854#! $SHELL
16206# Generated by $as_me. 12855# Generated automatically by configure.
16207# Run this file to recreate the current configuration. 12856# Run this file to recreate the current configuration.
16208# Compiler output produced by configure, useful for debugging 12857# Compiler output produced by configure, useful for debugging
16209# configure, is in config.log if it exists. 12858# configure, is in config.log if it exists.
16210 12859
16211debug=false 12860debug=false
16212SHELL=\${CONFIG_SHELL-$SHELL} 12861SHELL=\${CONFIG_SHELL-$SHELL}
12862ac_cs_invocation="\$0 \$@"
12863
16213_ACEOF 12864_ACEOF
16214 12865
16215cat >>$CONFIG_STATUS <<\_ACEOF 12866cat >>$CONFIG_STATUS <<\_ACEOF
16216
16217## --------------------- ##
16218## M4sh Initialization. ##
16219## --------------------- ##
16220
16221# Be Bourne compatible 12867# Be Bourne compatible
16222if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 12868if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16223 emulate sh 12869 emulate sh
@@ -16226,167 +12872,8 @@ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
16226 set -o posix 12872 set -o posix
16227fi 12873fi
16228 12874
16229# NLS nuisances.
16230# Support unset when possible.
16231if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16232 as_unset=unset
16233else
16234 as_unset=false
16235fi
16236
16237(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
16238 { $as_unset LANG || test "${LANG+set}" != set; } ||
16239 { LANG=C; export LANG; }
16240(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
16241 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
16242 { LC_ALL=C; export LC_ALL; }
16243(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
16244 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
16245 { LC_TIME=C; export LC_TIME; }
16246(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
16247 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
16248 { LC_CTYPE=C; export LC_CTYPE; }
16249(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
16250 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
16251 { LANGUAGE=C; export LANGUAGE; }
16252(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
16253 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
16254 { LC_COLLATE=C; export LC_COLLATE; }
16255(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
16256 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
16257 { LC_NUMERIC=C; export LC_NUMERIC; }
16258(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
16259 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
16260 { LC_MESSAGES=C; export LC_MESSAGES; }
16261
16262
16263# Name of the executable. 12875# Name of the executable.
16264as_me=`(basename "$0") 2>/dev/null || 12876as_me=`echo "$0" |sed 's,.*[\\/],,'`
16265$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16266 X"$0" : 'X\(//\)$' \| \
16267 X"$0" : 'X\(/\)$' \| \
16268 . : '\(.\)' 2>/dev/null ||
16269echo X/"$0" |
16270 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16271 /^X\/\(\/\/\)$/{ s//\1/; q; }
16272 /^X\/\(\/\).*/{ s//\1/; q; }
16273 s/.*/./; q'`
16274
16275# PATH needs CR, and LINENO needs CR and PATH.
16276# Avoid depending upon Character Ranges.
16277as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16278as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16279as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16280as_cr_digits='0123456789'
16281as_cr_alnum=$as_cr_Letters$as_cr_digits
16282
16283# The user is always right.
16284if test "${PATH_SEPARATOR+set}" != set; then
16285 echo "#! /bin/sh" >conftest.sh
16286 echo "exit 0" >>conftest.sh
16287 chmod +x conftest.sh
16288 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
16289 PATH_SEPARATOR=';'
16290 else
16291 PATH_SEPARATOR=:
16292 fi
16293 rm -f conftest.sh
16294fi
16295
16296
16297 as_lineno_1=$LINENO
16298 as_lineno_2=$LINENO
16299 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16300 test "x$as_lineno_1" != "x$as_lineno_2" &&
16301 test "x$as_lineno_3" = "x$as_lineno_2" || {
16302 # Find who we are. Look in the path if we contain no path at all
16303 # relative or not.
16304 case $0 in
16305 *[\\/]* ) as_myself=$0 ;;
16306 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16307for as_dir in $PATH
16308do
16309 IFS=$as_save_IFS
16310 test -z "$as_dir" && as_dir=.
16311 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16312done
16313
16314 ;;
16315 esac
16316 # We did not find ourselves, most probably we were run as `sh COMMAND'
16317 # in which case we are not to be found in the path.
16318 if test "x$as_myself" = x; then
16319 as_myself=$0
16320 fi
16321 if test ! -f "$as_myself"; then
16322 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16323echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16324 { (exit 1); exit 1; }; }
16325 fi
16326 case $CONFIG_SHELL in
16327 '')
16328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16329for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
16330do
16331 IFS=$as_save_IFS
16332 test -z "$as_dir" && as_dir=.
16333 for as_base in sh bash ksh sh5; do
16334 case $as_dir in
16335 /*)
16336 if ("$as_dir/$as_base" -c '
16337 as_lineno_1=$LINENO
16338 as_lineno_2=$LINENO
16339 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16340 test "x$as_lineno_1" != "x$as_lineno_2" &&
16341 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
16342 CONFIG_SHELL=$as_dir/$as_base
16343 export CONFIG_SHELL
16344 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16345 fi;;
16346 esac
16347 done
16348done
16349;;
16350 esac
16351
16352 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16353 # uniformly replaced by the line number. The first 'sed' inserts a
16354 # line-number line before each line; the second 'sed' does the real
16355 # work. The second script uses 'N' to pair each line-number line
16356 # with the numbered line, and appends trailing '-' during
16357 # substitution so that $LINENO is not a special case at line end.
16358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16359 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16360 sed '=' <$as_myself |
16361 sed '
16362 N
16363 s,$,-,
16364 : loop
16365 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16366 t loop
16367 s,-$,,
16368 s,^['$as_cr_digits']*\n,,
16369 ' >$as_me.lineno &&
16370 chmod +x $as_me.lineno ||
16371 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16372echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16373 { (exit 1); exit 1; }; }
16374
16375 # Don't try to exec as it changes $[0], causing all sort of problems
16376 # (the dirname of $[0] is not the place where we might find the
16377 # original and so on. Autoconf is especially sensible to this).
16378 . ./$as_me.lineno
16379 # Exit status is that of the last command.
16380 exit
16381}
16382
16383
16384case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16385 *c*,-n*) ECHO_N= ECHO_C='
16386' ECHO_T=' ' ;;
16387 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
16388 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
16389esac
16390 12877
16391if expr a : '\(a\)' >/dev/null 2>&1; then 12878if expr a : '\(a\)' >/dev/null 2>&1; then
16392 as_expr=expr 12879 as_expr=expr
@@ -16414,12 +12901,22 @@ rm -f conf$$ conf$$.exe conf$$.file
16414 12901
16415as_executable_p="test -f" 12902as_executable_p="test -f"
16416 12903
16417# Sed expression to map a string onto a valid CPP name. 12904# Support unset when possible.
16418as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 12905if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16419 12906 as_unset=unset
16420# Sed expression to map a string onto a valid variable name. 12907else
16421as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 12908 as_unset=false
12909fi
16422 12910
12911# NLS nuisances.
12912$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
12913$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
12914$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
12915$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
12916$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
12917$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
12918$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
12919$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
16423 12920
16424# IFS 12921# IFS
16425# We need space, tab and new line, in precisely that order. 12922# We need space, tab and new line, in precisely that order.
@@ -16428,34 +12925,10 @@ as_nl='
16428IFS=" $as_nl" 12925IFS=" $as_nl"
16429 12926
16430# CDPATH. 12927# CDPATH.
16431$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 12928$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
16432 12929
16433exec 6>&1 12930exec 6>&1
16434 12931
16435# Open the log real soon, to keep \$[0] and so on meaningful, and to
16436# report actual input values of CONFIG_FILES etc. instead of their
16437# values after options handling. Logging --version etc. is OK.
16438exec 5>>config.log
16439{
16440 echo
16441 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16442## Running $as_me. ##
16443_ASBOX
16444} >&5
16445cat >&5 <<_CSEOF
16446
16447This file was extended by $as_me, which was
16448generated by GNU Autoconf 2.53. Invocation command line was
16449
16450 CONFIG_FILES = $CONFIG_FILES
16451 CONFIG_HEADERS = $CONFIG_HEADERS
16452 CONFIG_LINKS = $CONFIG_LINKS
16453 CONFIG_COMMANDS = $CONFIG_COMMANDS
16454 $ $0 $@
16455
16456_CSEOF
16457echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16458echo >&5
16459_ACEOF 12932_ACEOF
16460 12933
16461# Files that config.status was made for. 12934# Files that config.status was made for.
@@ -16475,7 +12948,7 @@ if test -n "$ac_config_commands"; then
16475 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 12948 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16476fi 12949fi
16477 12950
16478cat >>$CONFIG_STATUS <<\_ACEOF 12951cat >>$CONFIG_STATUS <<\EOF
16479 12952
16480ac_cs_usage="\ 12953ac_cs_usage="\
16481\`$as_me' instantiates files from templates according to the 12954\`$as_me' instantiates files from templates according to the
@@ -16502,12 +12975,12 @@ Configuration commands:
16502$config_commands 12975$config_commands
16503 12976
16504Report bugs to <bug-autoconf@gnu.org>." 12977Report bugs to <bug-autoconf@gnu.org>."
16505_ACEOF 12978EOF
16506 12979
16507cat >>$CONFIG_STATUS <<_ACEOF 12980cat >>$CONFIG_STATUS <<EOF
16508ac_cs_version="\\ 12981ac_cs_version="\\
16509config.status 12982config.status
16510configured by $0, generated by GNU Autoconf 2.53, 12983configured by $0, generated by GNU Autoconf 2.52,
16511 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 12984 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16512 12985
16513Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 12986Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
@@ -16516,9 +12989,9 @@ This config.status script is free software; the Free Software Foundation
16516gives unlimited permission to copy, distribute and modify it." 12989gives unlimited permission to copy, distribute and modify it."
16517srcdir=$srcdir 12990srcdir=$srcdir
16518INSTALL="$INSTALL" 12991INSTALL="$INSTALL"
16519_ACEOF 12992EOF
16520 12993
16521cat >>$CONFIG_STATUS <<\_ACEOF 12994cat >>$CONFIG_STATUS <<\EOF
16522# If no file are specified by the user, then we need to provide default 12995# If no file are specified by the user, then we need to provide default
16523# value. By we need to know if files were specified by the user. 12996# value. By we need to know if files were specified by the user.
16524ac_need_defaults=: 12997ac_need_defaults=:
@@ -16540,18 +13013,18 @@ do
16540 13013
16541 case $1 in 13014 case $1 in
16542 # Handling of the options. 13015 # Handling of the options.
16543_ACEOF 13016EOF
16544cat >>$CONFIG_STATUS <<_ACEOF 13017cat >>$CONFIG_STATUS <<EOF
16545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13018 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16546 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 13019 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
16547 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 13020 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
16548_ACEOF 13021EOF
16549cat >>$CONFIG_STATUS <<\_ACEOF 13022cat >>$CONFIG_STATUS <<\EOF
16550 --version | --vers* | -V ) 13023 --version | --vers* | -V )
16551 echo "$ac_cs_version"; exit 0 ;; 13024 echo "$ac_cs_version"; exit 0 ;;
16552 --he | --h) 13025 --he | --h)
16553 # Conflict between --help and --header 13026 # Conflict between --help and --header
16554 { { echo "$as_me:$LINENO: error: ambiguous option: $1 13027 { { echo "$as_me:13027: error: ambiguous option: $1
16555Try \`$0 --help' for more information." >&5 13028Try \`$0 --help' for more information." >&5
16556echo "$as_me: error: ambiguous option: $1 13029echo "$as_me: error: ambiguous option: $1
16557Try \`$0 --help' for more information." >&2;} 13030Try \`$0 --help' for more information." >&2;}
@@ -16570,7 +13043,7 @@ Try \`$0 --help' for more information." >&2;}
16570 ac_need_defaults=false;; 13043 ac_need_defaults=false;;
16571 13044
16572 # This is an error. 13045 # This is an error.
16573 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 13046 -*) { { echo "$as_me:13046: error: unrecognized option: $1
16574Try \`$0 --help' for more information." >&5 13047Try \`$0 --help' for more information." >&5
16575echo "$as_me: error: unrecognized option: $1 13048echo "$as_me: error: unrecognized option: $1
16576Try \`$0 --help' for more information." >&2;} 13049Try \`$0 --help' for more information." >&2;}
@@ -16582,20 +13055,34 @@ Try \`$0 --help' for more information." >&2;}
16582 shift 13055 shift
16583done 13056done
16584 13057
13058exec 5>>config.log
13059cat >&5 << _ACEOF
13060
13061## ----------------------- ##
13062## Running config.status. ##
13063## ----------------------- ##
13064
13065This file was extended by $as_me 2.52, executed with
13066 CONFIG_FILES = $CONFIG_FILES
13067 CONFIG_HEADERS = $CONFIG_HEADERS
13068 CONFIG_LINKS = $CONFIG_LINKS
13069 CONFIG_COMMANDS = $CONFIG_COMMANDS
13070 > $ac_cs_invocation
13071on `(hostname || uname -n) 2>/dev/null | sed 1q`
13072
16585_ACEOF 13073_ACEOF
13074EOF
16586 13075
16587cat >>$CONFIG_STATUS <<_ACEOF 13076cat >>$CONFIG_STATUS <<EOF
16588# 13077#
16589# INIT-COMMANDS section. 13078# INIT-COMMANDS section.
16590# 13079#
16591 13080
16592GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" 13081GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
16593 13082
16594_ACEOF 13083EOF
16595 13084
16596 13085cat >>$CONFIG_STATUS <<\EOF
16597
16598cat >>$CONFIG_STATUS <<\_ACEOF
16599for ac_config_target in $ac_config_targets 13086for ac_config_target in $ac_config_targets
16600do 13087do
16601 case "$ac_config_target" in 13088 case "$ac_config_target" in
@@ -16612,7 +13099,7 @@ do
16612 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 13099 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
16613 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 13100 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
16614 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 13101 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
16615 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13102 *) { { echo "$as_me:13102: error: invalid argument: $ac_config_target" >&5
16616echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13103echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16617 { (exit 1); exit 1; }; };; 13104 { (exit 1); exit 1; }; };;
16618 esac 13105 esac
@@ -16650,9 +13137,9 @@ $debug ||
16650 { (exit 1); exit 1; } 13137 { (exit 1); exit 1; }
16651} 13138}
16652 13139
16653_ACEOF 13140EOF
16654 13141
16655cat >>$CONFIG_STATUS <<_ACEOF 13142cat >>$CONFIG_STATUS <<EOF
16656 13143
16657# 13144#
16658# CONFIG_FILES section. 13145# CONFIG_FILES section.
@@ -16665,12 +13152,6 @@ if test -n "\$CONFIG_FILES"; then
16665 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 13152 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16666 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 13153 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16667s,@SHELL@,$SHELL,;t t 13154s,@SHELL@,$SHELL,;t t
16668s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16669s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16670s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16671s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16672s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16673s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16674s,@exec_prefix@,$exec_prefix,;t t 13155s,@exec_prefix@,$exec_prefix,;t t
16675s,@prefix@,$prefix,;t t 13156s,@prefix@,$prefix,;t t
16676s,@program_transform_name@,$program_transform_name,;t t 13157s,@program_transform_name@,$program_transform_name,;t t
@@ -16686,13 +13167,19 @@ s,@includedir@,$includedir,;t t
16686s,@oldincludedir@,$oldincludedir,;t t 13167s,@oldincludedir@,$oldincludedir,;t t
16687s,@infodir@,$infodir,;t t 13168s,@infodir@,$infodir,;t t
16688s,@mandir@,$mandir,;t t 13169s,@mandir@,$mandir,;t t
13170s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13171s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13172s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13173s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13174s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16689s,@build_alias@,$build_alias,;t t 13175s,@build_alias@,$build_alias,;t t
16690s,@host_alias@,$host_alias,;t t 13176s,@host_alias@,$host_alias,;t t
16691s,@target_alias@,$target_alias,;t t 13177s,@target_alias@,$target_alias,;t t
16692s,@DEFS@,$DEFS,;t t
16693s,@ECHO_C@,$ECHO_C,;t t 13178s,@ECHO_C@,$ECHO_C,;t t
16694s,@ECHO_N@,$ECHO_N,;t t 13179s,@ECHO_N@,$ECHO_N,;t t
16695s,@ECHO_T@,$ECHO_T,;t t 13180s,@ECHO_T@,$ECHO_T,;t t
13181s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13182s,@DEFS@,$DEFS,;t t
16696s,@LIBS@,$LIBS,;t t 13183s,@LIBS@,$LIBS,;t t
16697s,@build@,$build,;t t 13184s,@build@,$build,;t t
16698s,@build_cpu@,$build_cpu,;t t 13185s,@build_cpu@,$build_cpu,;t t
@@ -16749,9 +13236,9 @@ s,@machfile@,$machfile,;t t
16749s,@opsysfile@,$opsysfile,;t t 13236s,@opsysfile@,$opsysfile,;t t
16750CEOF 13237CEOF
16751 13238
16752_ACEOF 13239EOF
16753 13240
16754 cat >>$CONFIG_STATUS <<\_ACEOF 13241 cat >>$CONFIG_STATUS <<\EOF
16755 # Split the substitutions into bite-sized pieces for seds with 13242 # Split the substitutions into bite-sized pieces for seds with
16756 # small command number limits, like on Digital OSF/1 and HP-UX. 13243 # small command number limits, like on Digital OSF/1 and HP-UX.
16757 ac_max_sed_lines=48 13244 ac_max_sed_lines=48
@@ -16790,8 +13277,8 @@ _ACEOF
16790 fi 13277 fi
16791fi # test -n "$CONFIG_FILES" 13278fi # test -n "$CONFIG_FILES"
16792 13279
16793_ACEOF 13280EOF
16794cat >>$CONFIG_STATUS <<\_ACEOF 13281cat >>$CONFIG_STATUS <<\EOF
16795for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 13282for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16796 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 13283 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16797 case $ac_file in 13284 case $ac_file in
@@ -16805,8 +13292,7 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16805 esac 13292 esac
16806 13293
16807 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 13294 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16808 ac_dir=`(dirname "$ac_file") 2>/dev/null || 13295 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16809$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16810 X"$ac_file" : 'X\(//\)[^/]' \| \ 13296 X"$ac_file" : 'X\(//\)[^/]' \| \
16811 X"$ac_file" : 'X\(//\)$' \| \ 13297 X"$ac_file" : 'X\(//\)$' \| \
16812 X"$ac_file" : 'X\(/\)' \| \ 13298 X"$ac_file" : 'X\(/\)' \| \
@@ -16817,7 +13303,8 @@ echo X"$ac_file" |
16817 /^X\(\/\/\)$/{ s//\1/; q; } 13303 /^X\(\/\/\)$/{ s//\1/; q; }
16818 /^X\(\/\).*/{ s//\1/; q; } 13304 /^X\(\/\).*/{ s//\1/; q; }
16819 s/.*/./; q'` 13305 s/.*/./; q'`
16820 { case "$ac_dir" in 13306 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13307 { case "$ac_dir" in
16821 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 13308 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
16822 *) as_incr_dir=.;; 13309 *) as_incr_dir=.;;
16823esac 13310esac
@@ -16828,68 +13315,48 @@ for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
16828 ?:) as_incr_dir=$as_mkdir_dir ;; 13315 ?:) as_incr_dir=$as_mkdir_dir ;;
16829 *) 13316 *)
16830 as_incr_dir=$as_incr_dir/$as_mkdir_dir 13317 as_incr_dir=$as_incr_dir/$as_mkdir_dir
16831 test -d "$as_incr_dir" || 13318 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
16832 mkdir "$as_incr_dir" ||
16833 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
16834echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
16835 { (exit 1); exit 1; }; }
16836 ;; 13319 ;;
16837 esac 13320 esac
16838done; } 13321done; }
16839 13322
16840 ac_builddir=. 13323 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
16841 13324 # A "../" for each directory in $ac_dir_suffix.
16842if test "$ac_dir" != .; then 13325 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
16843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 13326 else
16844 # A "../" for each directory in $ac_dir_suffix. 13327 ac_dir_suffix= ac_dots=
16845 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 13328 fi
16846else
16847 ac_dir_suffix= ac_top_builddir=
16848fi
16849 13329
16850case $srcdir in 13330 case $srcdir in
16851 .) # No --srcdir option. We are building in place. 13331 .) ac_srcdir=.
16852 ac_srcdir=. 13332 if test -z "$ac_dots"; then
16853 if test -z "$ac_top_builddir"; then 13333 ac_top_srcdir=.
16854 ac_top_srcdir=. 13334 else
16855 else 13335 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
16856 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 13336 fi ;;
16857 fi ;; 13337 [\\/]* | ?:[\\/]* )
16858 [\\/]* | ?:[\\/]* ) # Absolute path. 13338 ac_srcdir=$srcdir$ac_dir_suffix;
16859 ac_srcdir=$srcdir$ac_dir_suffix; 13339 ac_top_srcdir=$srcdir ;;
16860 ac_top_srcdir=$srcdir ;;
16861 *) # Relative path. 13340 *) # Relative path.
16862 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 13341 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
16863 ac_top_srcdir=$ac_top_builddir$srcdir ;; 13342 ac_top_srcdir=$ac_dots$srcdir ;;
16864esac 13343 esac
16865# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16866# absolute.
16867ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16868ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
16869ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16870ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16871
16872 13344
16873 case $INSTALL in 13345 case $INSTALL in
16874 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13346 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16875 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 13347 *) ac_INSTALL=$ac_dots$INSTALL ;;
16876 esac 13348 esac
16877 13349
16878 if test x"$ac_file" != x-; then 13350 if test x"$ac_file" != x-; then
16879 { echo "$as_me:$LINENO: creating $ac_file" >&5 13351 { echo "$as_me:13351: creating $ac_file" >&5
16880echo "$as_me: creating $ac_file" >&6;} 13352echo "$as_me: creating $ac_file" >&6;}
16881 rm -f "$ac_file" 13353 rm -f "$ac_file"
16882 fi 13354 fi
16883 # Let's still pretend it is `configure' which instantiates (i.e., don't 13355 # Let's still pretend it is `configure' which instantiates (i.e., don't
16884 # use $as_me), people would be surprised to read: 13356 # use $as_me), people would be surprised to read:
16885 # /* config.h. Generated by config.status. */ 13357 # /* config.h. Generated automatically by config.status. */
16886 if test x"$ac_file" = x-; then 13358 configure_input="Generated automatically from `echo $ac_file_in |
16887 configure_input= 13359 sed 's,.*/,,'` by configure."
16888 else
16889 configure_input="$ac_file. "
16890 fi
16891 configure_input=$configure_input"Generated from `echo $ac_file_in |
16892 sed 's,.*/,,'` by configure."
16893 13360
16894 # First look for the input files in the build tree, otherwise in the 13361 # First look for the input files in the build tree, otherwise in the
16895 # src tree. 13362 # src tree.
@@ -16899,7 +13366,7 @@ echo "$as_me: creating $ac_file" >&6;}
16899 -) echo $tmp/stdin ;; 13366 -) echo $tmp/stdin ;;
16900 [\\/$]*) 13367 [\\/$]*)
16901 # Absolute (can't be DOS-style, as IFS=:) 13368 # Absolute (can't be DOS-style, as IFS=:)
16902 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 13369 test -f "$f" || { { echo "$as_me:13369: error: cannot find input file: $f" >&5
16903echo "$as_me: error: cannot find input file: $f" >&2;} 13370echo "$as_me: error: cannot find input file: $f" >&2;}
16904 { (exit 1); exit 1; }; } 13371 { (exit 1); exit 1; }; }
16905 echo $f;; 13372 echo $f;;
@@ -16912,29 +13379,23 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
16912 echo $srcdir/$f 13379 echo $srcdir/$f
16913 else 13380 else
16914 # /dev/null tree 13381 # /dev/null tree
16915 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 13382 { { echo "$as_me:13382: error: cannot find input file: $f" >&5
16916echo "$as_me: error: cannot find input file: $f" >&2;} 13383echo "$as_me: error: cannot find input file: $f" >&2;}
16917 { (exit 1); exit 1; }; } 13384 { (exit 1); exit 1; }; }
16918 fi;; 13385 fi;;
16919 esac 13386 esac
16920 done` || { (exit 1); exit 1; } 13387 done` || { (exit 1); exit 1; }
16921_ACEOF 13388EOF
16922cat >>$CONFIG_STATUS <<_ACEOF 13389cat >>$CONFIG_STATUS <<EOF
16923 sed "$ac_vpsub 13390 sed "$ac_vpsub
16924$extrasub 13391$extrasub
16925_ACEOF 13392EOF
16926cat >>$CONFIG_STATUS <<\_ACEOF 13393cat >>$CONFIG_STATUS <<\EOF
16927:t 13394:t
16928/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13395/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16929s,@configure_input@,$configure_input,;t t 13396s,@configure_input@,$configure_input,;t t
16930s,@srcdir@,$ac_srcdir,;t t 13397s,@srcdir@,$ac_srcdir,;t t
16931s,@abs_srcdir@,$ac_abs_srcdir,;t t
16932s,@top_srcdir@,$ac_top_srcdir,;t t 13398s,@top_srcdir@,$ac_top_srcdir,;t t
16933s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16934s,@builddir@,$ac_builddir,;t t
16935s,@abs_builddir@,$ac_abs_builddir,;t t
16936s,@top_builddir@,$ac_top_builddir,;t t
16937s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16938s,@INSTALL@,$ac_INSTALL,;t t 13399s,@INSTALL@,$ac_INSTALL,;t t
16939" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 13400" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16940 rm -f $tmp/stdin 13401 rm -f $tmp/stdin
@@ -16946,8 +13407,8 @@ s,@INSTALL@,$ac_INSTALL,;t t
16946 fi 13407 fi
16947 13408
16948done 13409done
16949_ACEOF 13410EOF
16950cat >>$CONFIG_STATUS <<\_ACEOF 13411cat >>$CONFIG_STATUS <<\EOF
16951 13412
16952# 13413#
16953# CONFIG_HEADER section. 13414# CONFIG_HEADER section.
@@ -16979,7 +13440,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16979 * ) ac_file_in=$ac_file.in ;; 13440 * ) ac_file_in=$ac_file.in ;;
16980 esac 13441 esac
16981 13442
16982 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 13443 test x"$ac_file" != x- && { echo "$as_me:13443: creating $ac_file" >&5
16983echo "$as_me: creating $ac_file" >&6;} 13444echo "$as_me: creating $ac_file" >&6;}
16984 13445
16985 # First look for the input files in the build tree, otherwise in the 13446 # First look for the input files in the build tree, otherwise in the
@@ -16990,7 +13451,7 @@ echo "$as_me: creating $ac_file" >&6;}
16990 -) echo $tmp/stdin ;; 13451 -) echo $tmp/stdin ;;
16991 [\\/$]*) 13452 [\\/$]*)
16992 # Absolute (can't be DOS-style, as IFS=:) 13453 # Absolute (can't be DOS-style, as IFS=:)
16993 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 13454 test -f "$f" || { { echo "$as_me:13454: error: cannot find input file: $f" >&5
16994echo "$as_me: error: cannot find input file: $f" >&2;} 13455echo "$as_me: error: cannot find input file: $f" >&2;}
16995 { (exit 1); exit 1; }; } 13456 { (exit 1); exit 1; }; }
16996 echo $f;; 13457 echo $f;;
@@ -17003,7 +13464,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
17003 echo $srcdir/$f 13464 echo $srcdir/$f
17004 else 13465 else
17005 # /dev/null tree 13466 # /dev/null tree
17006 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 13467 { { echo "$as_me:13467: error: cannot find input file: $f" >&5
17007echo "$as_me: error: cannot find input file: $f" >&2;} 13468echo "$as_me: error: cannot find input file: $f" >&2;}
17008 { (exit 1); exit 1; }; } 13469 { (exit 1); exit 1; }; }
17009 fi;; 13470 fi;;
@@ -17012,7 +13473,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
17012 # Remove the trailing spaces. 13473 # Remove the trailing spaces.
17013 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 13474 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17014 13475
17015_ACEOF 13476EOF
17016 13477
17017# Transform confdefs.h into two sed scripts, `conftest.defines' and 13478# Transform confdefs.h into two sed scripts, `conftest.defines' and
17018# `conftest.undefs', that substitutes the proper values into 13479# `conftest.undefs', that substitutes the proper values into
@@ -17028,16 +13489,16 @@ rm -f conftest.defines conftest.undefs
17028# `end' is used to avoid that the second main sed command (meant for 13489# `end' is used to avoid that the second main sed command (meant for
17029# 0-ary CPP macros) applies to n-ary macro definitions. 13490# 0-ary CPP macros) applies to n-ary macro definitions.
17030# See the Autoconf documentation for `clear'. 13491# See the Autoconf documentation for `clear'.
17031cat >confdef2sed.sed <<\_ACEOF 13492cat >confdef2sed.sed <<\EOF
17032s/[\\&,]/\\&/g 13493s/[\\&,]/\\&/g
17033s,[\\$`],\\&,g 13494s,[\\$`],\\&,g
17034t clear 13495t clear
17035: clear 13496: clear
17036s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 13497s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
17037t end 13498t end
17038s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 13499s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17039: end 13500: end
17040_ACEOF 13501EOF
17041# If some macros were called several times there might be several times 13502# If some macros were called several times there might be several times
17042# the same #defines, which is useless. Nevertheless, we may not want to 13503# the same #defines, which is useless. Nevertheless, we may not want to
17043# sort them, since we want the *last* AC-DEFINE to be honored. 13504# sort them, since we want the *last* AC-DEFINE to be honored.
@@ -17048,9 +13509,9 @@ rm -f confdef2sed.sed
17048# This sed command replaces #undef with comments. This is necessary, for 13509# This sed command replaces #undef with comments. This is necessary, for
17049# example, in the case of _POSIX_SOURCE, which is predefined and required 13510# example, in the case of _POSIX_SOURCE, which is predefined and required
17050# on some systems where configure will not decide to define it. 13511# on some systems where configure will not decide to define it.
17051cat >>conftest.undefs <<\_ACEOF 13512cat >>conftest.undefs <<\EOF
17052s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 13513s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17053_ACEOF 13514EOF
17054 13515
17055# Break up conftest.defines because some shells have a limit on the size 13516# Break up conftest.defines because some shells have a limit on the size
17056# of here documents, and old seds have small limits too (100 cmds). 13517# of here documents, and old seds have small limits too (100 cmds).
@@ -17107,24 +13568,23 @@ do
17107done 13568done
17108rm -f conftest.undefs 13569rm -f conftest.undefs
17109 13570
17110cat >>$CONFIG_STATUS <<\_ACEOF 13571cat >>$CONFIG_STATUS <<\EOF
17111 # Let's still pretend it is `configure' which instantiates (i.e., don't 13572 # Let's still pretend it is `configure' which instantiates (i.e., don't
17112 # use $as_me), people would be surprised to read: 13573 # use $as_me), people would be surprised to read:
17113 # /* config.h. Generated by config.status. */ 13574 # /* config.h. Generated automatically by config.status. */
17114 if test x"$ac_file" = x-; then 13575 if test x"$ac_file" = x-; then
17115 echo "/* Generated by configure. */" >$tmp/config.h 13576 echo "/* Generated automatically by configure. */" >$tmp/config.h
17116 else 13577 else
17117 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 13578 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
17118 fi 13579 fi
17119 cat $tmp/in >>$tmp/config.h 13580 cat $tmp/in >>$tmp/config.h
17120 rm -f $tmp/in 13581 rm -f $tmp/in
17121 if test x"$ac_file" != x-; then 13582 if test x"$ac_file" != x-; then
17122 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13583 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
17123 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 13584 { echo "$as_me:13584: $ac_file is unchanged" >&5
17124echo "$as_me: $ac_file is unchanged" >&6;} 13585echo "$as_me: $ac_file is unchanged" >&6;}
17125 else 13586 else
17126 ac_dir=`(dirname "$ac_file") 2>/dev/null || 13587 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17127$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17128 X"$ac_file" : 'X\(//\)[^/]' \| \ 13588 X"$ac_file" : 'X\(//\)[^/]' \| \
17129 X"$ac_file" : 'X\(//\)$' \| \ 13589 X"$ac_file" : 'X\(//\)$' \| \
17130 X"$ac_file" : 'X\(/\)' \| \ 13590 X"$ac_file" : 'X\(/\)' \| \
@@ -17135,7 +13595,8 @@ echo X"$ac_file" |
17135 /^X\(\/\/\)$/{ s//\1/; q; } 13595 /^X\(\/\/\)$/{ s//\1/; q; }
17136 /^X\(\/\).*/{ s//\1/; q; } 13596 /^X\(\/\).*/{ s//\1/; q; }
17137 s/.*/./; q'` 13597 s/.*/./; q'`
17138 { case "$ac_dir" in 13598 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13599 { case "$ac_dir" in
17139 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 13600 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
17140 *) as_incr_dir=.;; 13601 *) as_incr_dir=.;;
17141esac 13602esac
@@ -17146,15 +13607,12 @@ for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
17146 ?:) as_incr_dir=$as_mkdir_dir ;; 13607 ?:) as_incr_dir=$as_mkdir_dir ;;
17147 *) 13608 *)
17148 as_incr_dir=$as_incr_dir/$as_mkdir_dir 13609 as_incr_dir=$as_incr_dir/$as_mkdir_dir
17149 test -d "$as_incr_dir" || 13610 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
17150 mkdir "$as_incr_dir" ||
17151 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
17152echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
17153 { (exit 1); exit 1; }; }
17154 ;; 13611 ;;
17155 esac 13612 esac
17156done; } 13613done; }
17157 13614
13615 fi
17158 rm -f $ac_file 13616 rm -f $ac_file
17159 mv $tmp/config.h $ac_file 13617 mv $tmp/config.h $ac_file
17160 fi 13618 fi
@@ -17163,8 +13621,8 @@ done; }
17163 rm -f $tmp/config.h 13621 rm -f $tmp/config.h
17164 fi 13622 fi
17165done 13623done
17166_ACEOF 13624EOF
17167cat >>$CONFIG_STATUS <<\_ACEOF 13625cat >>$CONFIG_STATUS <<\EOF
17168 13626
17169# 13627#
17170# CONFIG_COMMANDS section. 13628# CONFIG_COMMANDS section.
@@ -17172,53 +13630,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
17172for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 13630for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
17173 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 13631 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
17174 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 13632 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
17175 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17176$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17177 X"$ac_dest" : 'X\(//\)[^/]' \| \
17178 X"$ac_dest" : 'X\(//\)$' \| \
17179 X"$ac_dest" : 'X\(/\)' \| \
17180 . : '\(.\)' 2>/dev/null ||
17181echo X"$ac_dest" |
17182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17183 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17184 /^X\(\/\/\)$/{ s//\1/; q; }
17185 /^X\(\/\).*/{ s//\1/; q; }
17186 s/.*/./; q'`
17187 ac_builddir=.
17188
17189if test "$ac_dir" != .; then
17190 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17191 # A "../" for each directory in $ac_dir_suffix.
17192 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17193else
17194 ac_dir_suffix= ac_top_builddir=
17195fi
17196
17197case $srcdir in
17198 .) # No --srcdir option. We are building in place.
17199 ac_srcdir=.
17200 if test -z "$ac_top_builddir"; then
17201 ac_top_srcdir=.
17202 else
17203 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17204 fi ;;
17205 [\\/]* | ?:[\\/]* ) # Absolute path.
17206 ac_srcdir=$srcdir$ac_dir_suffix;
17207 ac_top_srcdir=$srcdir ;;
17208 *) # Relative path.
17209 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17210 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17211esac
17212# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17213# absolute.
17214ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17215ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
17216ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17217ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17218 13633
17219
17220 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17221echo "$as_me: executing $ac_dest commands" >&6;}
17222 case $ac_dest in 13634 case $ac_dest in
17223 default ) 13635 default )
17224 13636
@@ -17295,16 +13707,15 @@ touch src/config.stamp
17295 ;; 13707 ;;
17296 esac 13708 esac
17297done 13709done
17298_ACEOF 13710EOF
17299 13711
17300cat >>$CONFIG_STATUS <<\_ACEOF 13712cat >>$CONFIG_STATUS <<\EOF
17301 13713
17302{ (exit 0); exit 0; } 13714{ (exit 0); exit 0; }
17303_ACEOF 13715EOF
17304chmod +x $CONFIG_STATUS 13716chmod +x $CONFIG_STATUS
17305ac_clean_files=$ac_clean_files_save 13717ac_clean_files=$ac_clean_files_save
17306 13718
17307
17308# configure is writing to config.log, and then calls config.status. 13719# configure is writing to config.log, and then calls config.status.
17309# config.status does its own redirection, appending to config.log. 13720# config.status does its own redirection, appending to config.log.
17310# Unfortunately, on DOS this fails, as config.log is still kept open 13721# Unfortunately, on DOS this fails, as config.log is still kept open
@@ -17323,4 +13734,3 @@ if test "$no_create" != yes; then
17323 $ac_cs_success || { (exit 1); exit 1; } 13734 $ac_cs_success || { (exit 1); exit 1; }
17324fi 13735fi
17325 13736
17326