annotate configure @ 44493:dc864bb90c6c

Regenerate.
author Colin Walters <walters@gnu.org>
date Wed, 10 Apr 2002 22:14:09 +0000
parents 343a3a52107d
children 01399b2a0c1e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #! /bin/sh
Dave Love <fx@gnu.org>
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3 # Generated by GNU Autoconf 2.53.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4 #
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6 # Free Software Foundation, Inc.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7 # This configure script is free software; the Free Software Foundation
Dave Love <fx@gnu.org>
parents:
diff changeset
8 # gives unlimited permission to copy, distribute and modify it.
Dave Love <fx@gnu.org>
parents:
diff changeset
9
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10 if expr a : '\(a\)' >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11 as_expr=expr
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13 as_expr=false
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17 ## --------------------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18 ## M4sh Initialization. ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
19 ## --------------------- ##
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
20
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
21 # Be Bourne compatible
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
23 emulate sh
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
24 NULLCMD=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
26 set -o posix
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
27 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
28
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
29 # NLS nuisances.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
30 # Support unset when possible.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
32 as_unset=unset
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
33 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
34 as_unset=false
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
35 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
36
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
39 { LANG=C; export LANG; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
42 { LC_ALL=C; export LC_ALL; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
45 { LC_TIME=C; export LC_TIME; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
48 { LC_CTYPE=C; export LC_CTYPE; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
51 { LANGUAGE=C; export LANGUAGE; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
54 { LC_COLLATE=C; export LC_COLLATE; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
57 { LC_NUMERIC=C; export LC_NUMERIC; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
60 { LC_MESSAGES=C; export LC_MESSAGES; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
61
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
62
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
63 # Name of the executable.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
64 as_me=`(basename "$0") 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
66 X"$0" : 'X\(//\)$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
67 X"$0" : 'X\(/\)$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
68 . : '\(.\)' 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
69 echo X/"$0" |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
72 /^X\/\(\/\).*/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
73 s/.*/./; q'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
74
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
75 # PATH needs CR, and LINENO needs CR and PATH.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
76 # Avoid depending upon Character Ranges.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
80 as_cr_digits='0123456789'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
82
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
83 # The user is always right.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
84 if test "${PATH_SEPARATOR+set}" != set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
85 echo "#! /bin/sh" >conftest.sh
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
86 echo "exit 0" >>conftest.sh
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
87 chmod +x conftest.sh
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
89 PATH_SEPARATOR=';'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
90 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
91 PATH_SEPARATOR=:
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
92 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
93 rm -f conftest.sh
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
94 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
95
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
96
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
97 as_lineno_1=$LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
98 as_lineno_2=$LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
102 # Find who we are. Look in the path if we contain no path at all
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
103 # relative or not.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
104 case $0 in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
105 *[\\/]* ) as_myself=$0 ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
107 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
108 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
109 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
110 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
112 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
113
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
114 ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
115 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
117 # in which case we are not to be found in the path.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
118 if test "x$as_myself" = x; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
119 as_myself=$0
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
120 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
121 if test ! -f "$as_myself"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
123 { (exit 1); exit 1; }; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
124 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
125 case $CONFIG_SHELL in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
126 '')
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
129 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
130 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
131 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
132 for as_base in sh bash ksh sh5; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
133 case $as_dir in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
134 /*)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
135 if ("$as_dir/$as_base" -c '
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
136 as_lineno_1=$LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
137 as_lineno_2=$LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
141 CONFIG_SHELL=$as_dir/$as_base
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
142 export CONFIG_SHELL
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
144 fi;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
145 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
146 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
147 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
148 ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
149 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
150
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
152 # uniformly replaced by the line number. The first 'sed' inserts a
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
153 # line-number line before each line; the second 'sed' does the real
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
154 # work. The second script uses 'N' to pair each line-number line
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
155 # with the numbered line, and appends trailing '-' during
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
156 # substitution so that $LINENO is not a special case at line end.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
159 sed '=' <$as_myself |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
160 sed '
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
161 N
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
162 s,$,-,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
163 : loop
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
165 t loop
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
166 s,-$,,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
167 s,^['$as_cr_digits']*\n,,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
168 ' >$as_me.lineno &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
169 chmod +x $as_me.lineno ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
171 { (exit 1); exit 1; }; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
172
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
173 # Don't try to exec as it changes $[0], causing all sort of problems
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
174 # (the dirname of $[0] is not the place where we might find the
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
175 # original and so on. Autoconf is especially sensible to this).
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
176 . ./$as_me.lineno
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
177 # Exit status is that of the last command.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
178 exit
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
179 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
180
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
181
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
183 *c*,-n*) ECHO_N= ECHO_C='
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
184 ' ECHO_T=' ' ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
187 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
188
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
189 if expr a : '\(a\)' >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
190 as_expr=expr
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
191 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
192 as_expr=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
193 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
194
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
195 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
196 echo >conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
198 # We could just check for DJGPP; but this test a) works b) is more generic
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
200 if test -f conf$$.exe; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
201 # Don't use ln at all; we don't have any links
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
202 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
203 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
204 as_ln_s='ln -s'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
205 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
206 elif ln conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
207 as_ln_s=ln
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
208 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
209 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
210 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
211 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
212
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
213 as_executable_p="test -f"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
214
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
215 # Sed expression to map a string onto a valid CPP name.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
217
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
218 # Sed expression to map a string onto a valid variable name.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
220
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
221
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
222 # IFS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
223 # We need space, tab and new line, in precisely that order.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
224 as_nl='
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
225 '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
226 IFS=" $as_nl"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
227
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
228 # CDPATH.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
230
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
231
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
232 # Name of the host.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
234 # so uname gets run too.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
236
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
237 exec 6>&1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
238
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
239 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
240 # Initializations.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
241 #
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
242 ac_default_prefix=/usr/local
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
243 cross_compiling=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
244 subdirs=
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
245 MFLAGS=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
246 MAKEFLAGS=
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
247 SHELL=${CONFIG_SHELL-/bin/sh}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
248
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
249 # Maximum number of lines to put in a shell here document.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
250 # This variable seems obsolete. It should probably be removed, and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
251 # only ac_max_sed_lines should be used.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
252 : ${ac_max_here_lines=38}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
253
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
254 # Identity of this package.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
255 PACKAGE_NAME=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
256 PACKAGE_TARNAME=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
257 PACKAGE_VERSION=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
258 PACKAGE_STRING=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
259 PACKAGE_BUGREPORT=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
260
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
261 ac_unique_file="src/lisp.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
262 # Factoring default headers for most tests.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
263 ac_includes_default="\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
264 #include <stdio.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
265 #if HAVE_SYS_TYPES_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
266 # include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
267 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
268 #if HAVE_SYS_STAT_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
269 # include <sys/stat.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
270 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
271 #if STDC_HEADERS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
272 # include <stdlib.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
273 # include <stddef.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
274 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
275 # if HAVE_STDLIB_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
276 # include <stdlib.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
277 # endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
278 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
279 #if HAVE_STRING_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
280 # if !STDC_HEADERS && HAVE_MEMORY_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
281 # include <memory.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
282 # endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
283 # include <string.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
284 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
285 #if HAVE_STRINGS_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
286 # include <strings.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
287 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
288 #if HAVE_INTTYPES_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
289 # include <inttypes.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
290 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
291 # if HAVE_STDINT_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
292 # include <stdint.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
293 # endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
294 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
295 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
296 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
297 #endif"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
298
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
299
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
300 # Initialize some variables set by options.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
301 ac_init_help=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
302 ac_init_version=false
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
303 # The variables have the same names as the options, with
Dave Love <fx@gnu.org>
parents:
diff changeset
304 # dashes changed to underlines.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
305 cache_file=/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
306 exec_prefix=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
307 no_create=
Dave Love <fx@gnu.org>
parents:
diff changeset
308 no_recursion=
Dave Love <fx@gnu.org>
parents:
diff changeset
309 prefix=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
310 program_prefix=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
311 program_suffix=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
312 program_transform_name=s,x,x,
Dave Love <fx@gnu.org>
parents:
diff changeset
313 silent=
Dave Love <fx@gnu.org>
parents:
diff changeset
314 site=
Dave Love <fx@gnu.org>
parents:
diff changeset
315 srcdir=
Dave Love <fx@gnu.org>
parents:
diff changeset
316 verbose=
Dave Love <fx@gnu.org>
parents:
diff changeset
317 x_includes=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
318 x_libraries=NONE
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
319
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
320 # Installation directory options.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
322 # and all the variables that are supposed to be based on exec_prefix
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
323 # by default will actually change.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
324 # Use braces instead of parens because sh, perl, etc. also accept them.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
325 bindir='${exec_prefix}/bin'
Dave Love <fx@gnu.org>
parents:
diff changeset
326 sbindir='${exec_prefix}/sbin'
Dave Love <fx@gnu.org>
parents:
diff changeset
327 libexecdir='${exec_prefix}/libexec'
Dave Love <fx@gnu.org>
parents:
diff changeset
328 datadir='${prefix}/share'
Dave Love <fx@gnu.org>
parents:
diff changeset
329 sysconfdir='${prefix}/etc'
Dave Love <fx@gnu.org>
parents:
diff changeset
330 sharedstatedir='${prefix}/com'
Dave Love <fx@gnu.org>
parents:
diff changeset
331 localstatedir='${prefix}/var'
Dave Love <fx@gnu.org>
parents:
diff changeset
332 libdir='${exec_prefix}/lib'
Dave Love <fx@gnu.org>
parents:
diff changeset
333 includedir='${prefix}/include'
Dave Love <fx@gnu.org>
parents:
diff changeset
334 oldincludedir='/usr/include'
Dave Love <fx@gnu.org>
parents:
diff changeset
335 infodir='${prefix}/info'
Dave Love <fx@gnu.org>
parents:
diff changeset
336 mandir='${prefix}/man'
Dave Love <fx@gnu.org>
parents:
diff changeset
337
Dave Love <fx@gnu.org>
parents:
diff changeset
338 ac_prev=
Dave Love <fx@gnu.org>
parents:
diff changeset
339 for ac_option
Dave Love <fx@gnu.org>
parents:
diff changeset
340 do
Dave Love <fx@gnu.org>
parents:
diff changeset
341 # If the previous option needs an argument, assign it.
Dave Love <fx@gnu.org>
parents:
diff changeset
342 if test -n "$ac_prev"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
343 eval "$ac_prev=\$ac_option"
Dave Love <fx@gnu.org>
parents:
diff changeset
344 ac_prev=
Dave Love <fx@gnu.org>
parents:
diff changeset
345 continue
Dave Love <fx@gnu.org>
parents:
diff changeset
346 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
347
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
349
Dave Love <fx@gnu.org>
parents:
diff changeset
350 # Accept the important Cygnus configure options, so we can diagnose typos.
Dave Love <fx@gnu.org>
parents:
diff changeset
351
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
352 case $ac_option in
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
353
Dave Love <fx@gnu.org>
parents:
diff changeset
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
Dave Love <fx@gnu.org>
parents:
diff changeset
355 ac_prev=bindir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
357 bindir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
358
Dave Love <fx@gnu.org>
parents:
diff changeset
359 -build | --build | --buil | --bui | --bu)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
360 ac_prev=build_alias ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
362 build_alias=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
363
Dave Love <fx@gnu.org>
parents:
diff changeset
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
Dave Love <fx@gnu.org>
parents:
diff changeset
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
Dave Love <fx@gnu.org>
parents:
diff changeset
366 ac_prev=cache_file ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
369 cache_file=$ac_optarg ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
370
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
371 --config-cache | -C)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
372 cache_file=config.cache ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
373
Dave Love <fx@gnu.org>
parents:
diff changeset
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
Dave Love <fx@gnu.org>
parents:
diff changeset
375 ac_prev=datadir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
377 | --da=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
378 datadir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
379
Dave Love <fx@gnu.org>
parents:
diff changeset
380 -disable-* | --disable-*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
382 # Reject names that are not valid shell variable names.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
385 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
387 eval "enable_$ac_feature=no" ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
388
Dave Love <fx@gnu.org>
parents:
diff changeset
389 -enable-* | --enable-*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
391 # Reject names that are not valid shell variable names.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
394 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
396 case $ac_option in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
398 *) ac_optarg=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
399 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
400 eval "enable_$ac_feature='$ac_optarg'" ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
401
Dave Love <fx@gnu.org>
parents:
diff changeset
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
Dave Love <fx@gnu.org>
parents:
diff changeset
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Dave Love <fx@gnu.org>
parents:
diff changeset
404 | --exec | --exe | --ex)
Dave Love <fx@gnu.org>
parents:
diff changeset
405 ac_prev=exec_prefix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
408 | --exec=* | --exe=* | --ex=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
409 exec_prefix=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
410
Dave Love <fx@gnu.org>
parents:
diff changeset
411 -gas | --gas | --ga | --g)
Dave Love <fx@gnu.org>
parents:
diff changeset
412 # Obsolete; use --with-gas.
Dave Love <fx@gnu.org>
parents:
diff changeset
413 with_gas=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
414
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
415 -help | --help | --hel | --he | -h)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
416 ac_init_help=long ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
418 ac_init_help=recursive ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
420 ac_init_help=short ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
421
Dave Love <fx@gnu.org>
parents:
diff changeset
422 -host | --host | --hos | --ho)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
423 ac_prev=host_alias ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
424 -host=* | --host=* | --hos=* | --ho=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
425 host_alias=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
426
Dave Love <fx@gnu.org>
parents:
diff changeset
427 -includedir | --includedir | --includedi | --included | --include \
Dave Love <fx@gnu.org>
parents:
diff changeset
428 | --includ | --inclu | --incl | --inc)
Dave Love <fx@gnu.org>
parents:
diff changeset
429 ac_prev=includedir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
432 includedir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
433
Dave Love <fx@gnu.org>
parents:
diff changeset
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
Dave Love <fx@gnu.org>
parents:
diff changeset
435 ac_prev=infodir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
437 infodir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
438
Dave Love <fx@gnu.org>
parents:
diff changeset
439 -libdir | --libdir | --libdi | --libd)
Dave Love <fx@gnu.org>
parents:
diff changeset
440 ac_prev=libdir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
442 libdir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
443
Dave Love <fx@gnu.org>
parents:
diff changeset
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
Dave Love <fx@gnu.org>
parents:
diff changeset
445 | --libexe | --libex | --libe)
Dave Love <fx@gnu.org>
parents:
diff changeset
446 ac_prev=libexecdir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
448 | --libexe=* | --libex=* | --libe=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
449 libexecdir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
450
Dave Love <fx@gnu.org>
parents:
diff changeset
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
Dave Love <fx@gnu.org>
parents:
diff changeset
452 | --localstate | --localstat | --localsta | --localst \
Dave Love <fx@gnu.org>
parents:
diff changeset
453 | --locals | --local | --loca | --loc | --lo)
Dave Love <fx@gnu.org>
parents:
diff changeset
454 ac_prev=localstatedir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
458 localstatedir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
459
Dave Love <fx@gnu.org>
parents:
diff changeset
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
Dave Love <fx@gnu.org>
parents:
diff changeset
461 ac_prev=mandir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
463 mandir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
464
Dave Love <fx@gnu.org>
parents:
diff changeset
465 -nfp | --nfp | --nf)
Dave Love <fx@gnu.org>
parents:
diff changeset
466 # Obsolete; use --without-fp.
Dave Love <fx@gnu.org>
parents:
diff changeset
467 with_fp=no ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
468
Dave Love <fx@gnu.org>
parents:
diff changeset
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
470 | --no-cr | --no-c | -n)
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
471 no_create=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
472
Dave Love <fx@gnu.org>
parents:
diff changeset
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
Dave Love <fx@gnu.org>
parents:
diff changeset
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
Dave Love <fx@gnu.org>
parents:
diff changeset
475 no_recursion=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
476
Dave Love <fx@gnu.org>
parents:
diff changeset
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
Dave Love <fx@gnu.org>
parents:
diff changeset
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
Dave Love <fx@gnu.org>
parents:
diff changeset
479 | --oldin | --oldi | --old | --ol | --o)
Dave Love <fx@gnu.org>
parents:
diff changeset
480 ac_prev=oldincludedir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
484 oldincludedir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
485
Dave Love <fx@gnu.org>
parents:
diff changeset
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
Dave Love <fx@gnu.org>
parents:
diff changeset
487 ac_prev=prefix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
489 prefix=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
490
Dave Love <fx@gnu.org>
parents:
diff changeset
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
Dave Love <fx@gnu.org>
parents:
diff changeset
492 | --program-pre | --program-pr | --program-p)
Dave Love <fx@gnu.org>
parents:
diff changeset
493 ac_prev=program_prefix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
496 program_prefix=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
497
Dave Love <fx@gnu.org>
parents:
diff changeset
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
Dave Love <fx@gnu.org>
parents:
diff changeset
499 | --program-suf | --program-su | --program-s)
Dave Love <fx@gnu.org>
parents:
diff changeset
500 ac_prev=program_suffix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
503 program_suffix=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
504
Dave Love <fx@gnu.org>
parents:
diff changeset
505 -program-transform-name | --program-transform-name \
Dave Love <fx@gnu.org>
parents:
diff changeset
506 | --program-transform-nam | --program-transform-na \
Dave Love <fx@gnu.org>
parents:
diff changeset
507 | --program-transform-n | --program-transform- \
Dave Love <fx@gnu.org>
parents:
diff changeset
508 | --program-transform | --program-transfor \
Dave Love <fx@gnu.org>
parents:
diff changeset
509 | --program-transfo | --program-transf \
Dave Love <fx@gnu.org>
parents:
diff changeset
510 | --program-trans | --program-tran \
Dave Love <fx@gnu.org>
parents:
diff changeset
511 | --progr-tra | --program-tr | --program-t)
Dave Love <fx@gnu.org>
parents:
diff changeset
512 ac_prev=program_transform_name ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
513 -program-transform-name=* | --program-transform-name=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
514 | --program-transform-nam=* | --program-transform-na=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
515 | --program-transform-n=* | --program-transform-=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
516 | --program-transform=* | --program-transfor=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
517 | --program-transfo=* | --program-transf=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
518 | --program-trans=* | --program-tran=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
519 | --progr-tra=* | --program-tr=* | --program-t=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
520 program_transform_name=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
521
Dave Love <fx@gnu.org>
parents:
diff changeset
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
Dave Love <fx@gnu.org>
parents:
diff changeset
523 | -silent | --silent | --silen | --sile | --sil)
Dave Love <fx@gnu.org>
parents:
diff changeset
524 silent=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
525
Dave Love <fx@gnu.org>
parents:
diff changeset
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
Dave Love <fx@gnu.org>
parents:
diff changeset
527 ac_prev=sbindir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
529 | --sbi=* | --sb=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
530 sbindir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
531
Dave Love <fx@gnu.org>
parents:
diff changeset
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
Dave Love <fx@gnu.org>
parents:
diff changeset
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
Dave Love <fx@gnu.org>
parents:
diff changeset
534 | --sharedst | --shareds | --shared | --share | --shar \
Dave Love <fx@gnu.org>
parents:
diff changeset
535 | --sha | --sh)
Dave Love <fx@gnu.org>
parents:
diff changeset
536 ac_prev=sharedstatedir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
540 | --sha=* | --sh=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
541 sharedstatedir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
542
Dave Love <fx@gnu.org>
parents:
diff changeset
543 -site | --site | --sit)
Dave Love <fx@gnu.org>
parents:
diff changeset
544 ac_prev=site ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
545 -site=* | --site=* | --sit=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
546 site=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
547
Dave Love <fx@gnu.org>
parents:
diff changeset
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
Dave Love <fx@gnu.org>
parents:
diff changeset
549 ac_prev=srcdir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
551 srcdir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
552
Dave Love <fx@gnu.org>
parents:
diff changeset
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
Dave Love <fx@gnu.org>
parents:
diff changeset
554 | --syscon | --sysco | --sysc | --sys | --sy)
Dave Love <fx@gnu.org>
parents:
diff changeset
555 ac_prev=sysconfdir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
558 sysconfdir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
559
Dave Love <fx@gnu.org>
parents:
diff changeset
560 -target | --target | --targe | --targ | --tar | --ta | --t)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
561 ac_prev=target_alias ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
563 target_alias=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
564
Dave Love <fx@gnu.org>
parents:
diff changeset
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
Dave Love <fx@gnu.org>
parents:
diff changeset
566 verbose=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
567
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
568 -version | --version | --versio | --versi | --vers | -V)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
569 ac_init_version=: ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
570
Dave Love <fx@gnu.org>
parents:
diff changeset
571 -with-* | --with-*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
573 # Reject names that are not valid shell variable names.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
576 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
578 case $ac_option in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
580 *) ac_optarg=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
581 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
582 eval "with_$ac_package='$ac_optarg'" ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
583
Dave Love <fx@gnu.org>
parents:
diff changeset
584 -without-* | --without-*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
586 # Reject names that are not valid shell variable names.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
589 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
591 eval "with_$ac_package=no" ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
592
Dave Love <fx@gnu.org>
parents:
diff changeset
593 --x)
Dave Love <fx@gnu.org>
parents:
diff changeset
594 # Obsolete; use --with-x.
Dave Love <fx@gnu.org>
parents:
diff changeset
595 with_x=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
596
Dave Love <fx@gnu.org>
parents:
diff changeset
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
Dave Love <fx@gnu.org>
parents:
diff changeset
598 | --x-incl | --x-inc | --x-in | --x-i)
Dave Love <fx@gnu.org>
parents:
diff changeset
599 ac_prev=x_includes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
602 x_includes=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
603
Dave Love <fx@gnu.org>
parents:
diff changeset
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
Dave Love <fx@gnu.org>
parents:
diff changeset
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
Dave Love <fx@gnu.org>
parents:
diff changeset
606 ac_prev=x_libraries ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
609 x_libraries=$ac_optarg ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
610
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
612 Try \`$0 --help' for more information." >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
613 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
614 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
615
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
616 *=*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
618 # Reject names that are not valid shell variable names.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
621 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
623 eval "$ac_envvar='$ac_optarg'"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
624 export $ac_envvar ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
625
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
626 *)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
627 # FIXME: should be removed in autoconf 3.0.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
632 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
633
Dave Love <fx@gnu.org>
parents:
diff changeset
634 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
635 done
Dave Love <fx@gnu.org>
parents:
diff changeset
636
Dave Love <fx@gnu.org>
parents:
diff changeset
637 if test -n "$ac_prev"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
639 { echo "$as_me: error: missing argument to $ac_option" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
640 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
641 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
642
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
643 # Be sure to have absolute paths.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
644 for ac_var in exec_prefix prefix
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
645 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
646 eval ac_val=$`echo $ac_var`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
647 case $ac_val in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
650 { (exit 1); exit 1; }; };;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
651 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
652 done
Dave Love <fx@gnu.org>
parents:
diff changeset
653
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
654 # Be sure to have absolute paths.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
656 localstatedir libdir includedir oldincludedir infodir mandir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
657 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
658 eval ac_val=$`echo $ac_var`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
659 case $ac_val in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
660 [\\/$]* | ?:[\\/]* ) ;;
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
662 { (exit 1); exit 1; }; };;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
663 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
664 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
665
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
666 # There might be people who depend on the old broken behavior: `$host'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
667 # used to hold the argument of --host etc.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
668 # FIXME: To remove some day.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
669 build=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
670 host=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
671 target=$target_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
672
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
673 # FIXME: To remove some day.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
674 if test "x$host_alias" != x; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
675 if test "x$build_alias" = x; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
676 cross_compiling=maybe
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
678 If a cross compiler is detected then cross compile mode will be used." >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
679 elif test "x$build_alias" != "x$host_alias"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
680 cross_compiling=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
681 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
682 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
683
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
684 ac_tool_prefix=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
686
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
687 test "$silent" = yes && exec 6>/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
688
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
689
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
690 # Find the source files, if location was not specified.
Dave Love <fx@gnu.org>
parents:
diff changeset
691 if test -z "$srcdir"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
692 ac_srcdir_defaulted=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
693 # Try the directory containing this script, then its parent.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
696 X"$0" : 'X\(//\)[^/]' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
697 X"$0" : 'X\(//\)$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
698 X"$0" : 'X\(/\)' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
699 . : '\(.\)' 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
700 echo X"$0" |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
703 /^X\(\/\/\)$/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
704 /^X\(\/\).*/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
705 s/.*/./; q'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
706 srcdir=$ac_confdir
Dave Love <fx@gnu.org>
parents:
diff changeset
707 if test ! -r $srcdir/$ac_unique_file; then
Dave Love <fx@gnu.org>
parents:
diff changeset
708 srcdir=..
Dave Love <fx@gnu.org>
parents:
diff changeset
709 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
710 else
Dave Love <fx@gnu.org>
parents:
diff changeset
711 ac_srcdir_defaulted=no
Dave Love <fx@gnu.org>
parents:
diff changeset
712 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
713 if test ! -r $srcdir/$ac_unique_file; then
Dave Love <fx@gnu.org>
parents:
diff changeset
714 if test "$ac_srcdir_defaulted" = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
716 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
717 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
719 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
720 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
721 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
723 ac_env_build_alias_set=${build_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
724 ac_env_build_alias_value=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
725 ac_cv_env_build_alias_set=${build_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
726 ac_cv_env_build_alias_value=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
727 ac_env_host_alias_set=${host_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
728 ac_env_host_alias_value=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
729 ac_cv_env_host_alias_set=${host_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
730 ac_cv_env_host_alias_value=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
731 ac_env_target_alias_set=${target_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
732 ac_env_target_alias_value=$target_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
733 ac_cv_env_target_alias_set=${target_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
734 ac_cv_env_target_alias_value=$target_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
735 ac_env_CC_set=${CC+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
736 ac_env_CC_value=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
737 ac_cv_env_CC_set=${CC+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
738 ac_cv_env_CC_value=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
739 ac_env_CFLAGS_set=${CFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
740 ac_env_CFLAGS_value=$CFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
742 ac_cv_env_CFLAGS_value=$CFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
744 ac_env_LDFLAGS_value=$LDFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
748 ac_env_CPPFLAGS_value=$CPPFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
751 ac_env_CPP_set=${CPP+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
752 ac_env_CPP_value=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
753 ac_cv_env_CPP_set=${CPP+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
754 ac_cv_env_CPP_value=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
755
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
756 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
757 # Report the --help message.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
758 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
759 if test "$ac_init_help" = "long"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
760 # Omit some internal or obsolete options to make the list less imposing.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
761 # This message is too long to be a string in the A/UX 3.1 sh.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
762 cat <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
763 \`configure' configures this package to adapt to many kinds of systems.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
764
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
765 Usage: $0 [OPTION]... [VAR=VALUE]...
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
766
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
768 VAR=VALUE. See below for descriptions of some of the useful variables.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
769
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
770 Defaults for the options are specified in brackets.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
771
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
772 Configuration:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
773 -h, --help display this help and exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
774 --help=short display options specific to this package
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
775 --help=recursive display the short help of all the included packages
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
776 -V, --version display version information and exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
777 -q, --quiet, --silent do not print \`checking...' messages
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
778 --cache-file=FILE cache test results in FILE [disabled]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
779 -C, --config-cache alias for \`--cache-file=config.cache'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
780 -n, --no-create do not create output files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
782
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
783 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
784
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
785 cat <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
786 Installation directories:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
787 --prefix=PREFIX install architecture-independent files in PREFIX
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
788 [$ac_default_prefix]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
790 [PREFIX]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
791
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
792 By default, \`make install' will install all the files in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
795 for instance \`--prefix=\$HOME'.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
796
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
797 For better control, use the options below.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
798
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
799 Fine tuning of the installation directories:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
800 --bindir=DIR user executables [EPREFIX/bin]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
802 --libexecdir=DIR program executables [EPREFIX/libexec]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
807 --libdir=DIR object code libraries [EPREFIX/lib]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
808 --includedir=DIR C header files [PREFIX/include]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
810 --infodir=DIR info documentation [PREFIX/info]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
811 --mandir=DIR man documentation [PREFIX/man]
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
812 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
813
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
814 cat <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
815
41100
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
816 Program names:
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
817 --program-prefix=PREFIX prepend PREFIX to installed program names
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
818 --program-suffix=SUFFIX append SUFFIX to installed program names
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
819 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
820
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
821 X features:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
822 --x-includes=DIR X include files are in DIR
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
823 --x-libraries=DIR X library files are in DIR
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
824
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
825 System types:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
826 --build=BUILD configure for building on BUILD [guessed]
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
827 --host=HOST cross-compile to build programs to run on HOST [BUILD]
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
828 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
829 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
830
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
831 if test -n "$ac_init_help"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
832
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
833 cat <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
834
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
835 Optional Features:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
836 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
837 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
838 --disable-largefile omit support for large files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
839
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
840 Optional Packages:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
841 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
842 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
843 --with-game-dir use a shared game directory if possible
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
844 --with-game-user use specified user for game directory
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
845 --without-gcc don't use GCC to compile Emacs if GCC is found
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
846 --without-pop don't support POP mail retrieval with movemail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
847 --with-kerberos support Kerberos-authenticated POP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
848 --with-kerberos5 support Kerberos version 5 authenticated POP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
849 --with-hesiod support Hesiod to get the POP server host
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
850 --without-sound don't compile with sound support
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
851 --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
852 --with-xpm use -lXpm for displaying XPM images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
853 --with-jpeg use -ljpeg for displaying JPEG images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
854 --with-tiff use -ltiff for displaying TIFF images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
855 --with-gif use -lungif for displaying GIF images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
856 --with-png use -lpng for displaying PNG images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
857 --without-toolkit-scroll-bars
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
858 don't use Motif or Xaw3d scroll bars
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
859 --without-xim don't use X11 XIM
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
860 --with-x use the X Window System
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
861
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
862 Some influential environment variables:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
863 CC C compiler command
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
864 CFLAGS C compiler flags
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
865 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
866 nonstandard directory <lib dir>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
867 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
868 headers in a nonstandard directory <include dir>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
869 CPP C preprocessor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
870
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
871 Use these variables to override the choices made by `configure' or to help
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
872 it to find libraries and programs with nonstandard names/locations.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
873
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
874 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
875 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
876
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
877 if test "$ac_init_help" = "recursive"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
878 # If there are subdirs, report their specific --help.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
879 ac_popdir=`pwd`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
880 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
881 test -d $ac_dir || continue
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
882 ac_builddir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
883
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
884 if test "$ac_dir" != .; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
885 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
886 # A "../" for each directory in $ac_dir_suffix.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
887 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
888 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
889 ac_dir_suffix= ac_top_builddir=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
890 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
891
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
892 case $srcdir in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
893 .) # No --srcdir option. We are building in place.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
894 ac_srcdir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
895 if test -z "$ac_top_builddir"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
896 ac_top_srcdir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
897 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
898 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
899 fi ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
900 [\\/]* | ?:[\\/]* ) # Absolute path.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
901 ac_srcdir=$srcdir$ac_dir_suffix;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
902 ac_top_srcdir=$srcdir ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
903 *) # Relative path.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
906 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
907 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
908 # absolute.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
909 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
910 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
911 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
912 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
913
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
914 cd $ac_dir
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
915 # Check for guested configure; otherwise get Cygnus style configure.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
916 if test -f $ac_srcdir/configure.gnu; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
917 echo
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
919 elif test -f $ac_srcdir/configure; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
920 echo
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
921 $SHELL $ac_srcdir/configure --help=recursive
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
922 elif test -f $ac_srcdir/configure.ac ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
923 test -f $ac_srcdir/configure.in; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
924 echo
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
925 $ac_configure --help
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
926 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
928 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
929 cd $ac_popdir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
930 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
931 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
932
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
933 test -n "$ac_init_help" && exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
934 if $ac_init_version; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
935 cat <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
936
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
937 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
938 Free Software Foundation, Inc.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
939 This configure script is free software; the Free Software Foundation
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
940 gives unlimited permission to copy, distribute and modify it.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
941 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
942 exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
943 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
944 exec 5>config.log
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
945 cat >&5 <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
946 This file contains any messages produced by compilers while
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
947 running configure, to aid debugging if configure makes a mistake.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
948
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
949 It was created by $as_me, which was
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
950 generated by GNU Autoconf 2.53. Invocation command line was
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
951
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
952 $ $0 $@
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
953
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
954 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
955 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
956 cat <<_ASUNAME
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
957 ## --------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
958 ## Platform. ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
959 ## --------- ##
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
960
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
961 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
962 uname -m = `(uname -m) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
963 uname -r = `(uname -r) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
964 uname -s = `(uname -s) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
965 uname -v = `(uname -v) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
966
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
967 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
968 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
969
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
970 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
971 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
972 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
973 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
974 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
975 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
976 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
977
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
978 _ASUNAME
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
979
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
981 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
982 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
983 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
984 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
985 echo "PATH: $as_dir"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
986 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
987
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
988 } >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
989
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
990 cat >&5 <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
991
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
992
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
993 ## ----------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
994 ## Core tests. ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
995 ## ----------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
996
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
997 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
998
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
999
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1000 # Keep a trace of the command line.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1001 # Strip out --no-create and --no-recursion so they do not pile up.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1002 # Also quote any args containing shell meta-characters.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1003 ac_configure_args=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1004 ac_sep=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1005 for ac_arg
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1006 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1007 case $ac_arg in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1008 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1009 | --no-cr | --no-c | -n ) continue ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1012 continue ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1013 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1014 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1015 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1016 case " $ac_configure_args " in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1017 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1018 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1019 ac_sep=" " ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1020 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1021 # Get rid of the leading space.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1022 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1023
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1024 # When interrupted or exit'd, cleanup temporary files, and complete
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1025 # config.log. We remove comments because anyway the quotes in there
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1026 # would cause problems or look ugly.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1027 # WARNING: Be sure not to use single quotes in there, as some shells,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1028 # such as our DU 5.0 friend, will then `close' the trap.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1029 trap 'exit_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1030 # Save into config.log some information that might help in debugging.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1031 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1032 echo
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1033 cat <<\_ASBOX
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1034 ## ---------------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1035 ## Cache variables. ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1036 ## ---------------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1037 _ASBOX
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1038 echo
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1039 # The following way of writing the cache mishandles newlines in values,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1040 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1041 (set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1042 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1043 *ac_space=\ *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1044 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1045 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1046 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1047 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1048 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1049 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1050 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1051 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1052 esac;
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1053 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1054 echo
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1055 if test -s confdefs.h; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1056 cat <<\_ASBOX
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1057 ## ----------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1058 ## confdefs.h. ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1059 ## ----------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1060 _ASBOX
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1061 echo
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1062 sed "/^$/d" confdefs.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1063 echo
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1064 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1065 test "$ac_signal" != 0 &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1066 echo "$as_me: caught signal $ac_signal"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1067 echo "$as_me: exit $exit_status"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1068 } >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1069 rm -f core core.* *.core &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1070 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1071 exit $exit_status
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1072 ' 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1073 for ac_signal in 1 2 13 15; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1074 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1075 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1076 ac_signal=0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1077
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1078 # confdefs.h avoids OS command line length limits that DEFS can exceed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1079 rm -rf conftest* confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1080 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1081 echo >confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1082
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1083 # Predefined preprocessor variables.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1084
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1085 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1086 #define PACKAGE_NAME "$PACKAGE_NAME"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1087 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1088
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1089
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1090 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1091 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1092 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1093
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1094
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1095 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1096 #define PACKAGE_VERSION "$PACKAGE_VERSION"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1097 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1098
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1099
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1100 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1101 #define PACKAGE_STRING "$PACKAGE_STRING"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1102 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1103
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1104
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1105 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1106 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1107 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1108
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1109
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1110 # Let the site file select an alternate cache file if it wants to.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1111 # Prefer explicitly selected file to automatically selected ones.
Dave Love <fx@gnu.org>
parents:
diff changeset
1112 if test -z "$CONFIG_SITE"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1113 if test "x$prefix" != xNONE; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1114 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
Dave Love <fx@gnu.org>
parents:
diff changeset
1115 else
Dave Love <fx@gnu.org>
parents:
diff changeset
1116 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
Dave Love <fx@gnu.org>
parents:
diff changeset
1117 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1118 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1119 for ac_site_file in $CONFIG_SITE; do
Dave Love <fx@gnu.org>
parents:
diff changeset
1120 if test -r "$ac_site_file"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1121 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1122 echo "$as_me: loading site script $ac_site_file" >&6;}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1123 sed 's/^/| /' "$ac_site_file" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1124 . "$ac_site_file"
Dave Love <fx@gnu.org>
parents:
diff changeset
1125 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1126 done
Dave Love <fx@gnu.org>
parents:
diff changeset
1127
Dave Love <fx@gnu.org>
parents:
diff changeset
1128 if test -r "$cache_file"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1129 # Some versions of bash will fail to source /dev/null (special
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1130 # files actually), so we avoid doing that.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1131 if test -f "$cache_file"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1132 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1133 echo "$as_me: loading cache $cache_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1134 case $cache_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1135 [\\/]* | ?:[\\/]* ) . $cache_file;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1136 *) . ./$cache_file;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1137 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1138 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1139 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1140 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1141 echo "$as_me: creating cache $cache_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1142 >$cache_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1143 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1144
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1145 # Check that the precious variables saved in the cache have kept the same
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1146 # value.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1147 ac_cache_corrupted=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1148 for ac_var in `(set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1149 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1150 eval ac_old_set=\$ac_cv_env_${ac_var}_set
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1151 eval ac_new_set=\$ac_env_${ac_var}_set
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1152 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1153 eval ac_new_val="\$ac_env_${ac_var}_value"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1154 case $ac_old_set,$ac_new_set in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1155 set,)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1156 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1157 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1158 ac_cache_corrupted=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1159 ,set)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1160 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1161 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1162 ac_cache_corrupted=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1163 ,);;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1164 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1165 if test "x$ac_old_val" != "x$ac_new_val"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1166 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1167 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1168 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1169 echo "$as_me: former value: $ac_old_val" >&2;}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1170 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1171 echo "$as_me: current value: $ac_new_val" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1172 ac_cache_corrupted=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1173 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1174 esac
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1175 # Pass precious variables to config.status.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1176 if test "$ac_new_set" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1177 case $ac_new_val in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1178 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1179 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1180 *) ac_arg=$ac_var=$ac_new_val ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1181 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1182 case " $ac_configure_args " in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1183 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1184 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1185 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1186 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1187 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1188 if $ac_cache_corrupted; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1189 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1190 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1191 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1192 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1193 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1194 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1195
Dave Love <fx@gnu.org>
parents:
diff changeset
1196 ac_ext=c
Dave Love <fx@gnu.org>
parents:
diff changeset
1197 ac_cpp='$CPP $CPPFLAGS'
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1201
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1202
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1203
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1204
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1205
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1206
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1207
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1208
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1209
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1210
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1211
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1212
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1213
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1214
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1215
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1216
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1217
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1218
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1219 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1220
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1221
41100
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1222 test "$program_prefix" != NONE &&
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1223 program_transform_name="s,^,$program_prefix,;$program_transform_name"
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1224 # Use a double $ so make ignores it.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1225 test "$program_suffix" != NONE &&
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1226 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1227 # Double any \ or $. echo might interpret backslashes.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1228 # By default was `s,x,x', remove it if useless.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1229 cat <<\_ACEOF >conftest.sed
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1230 s/[\\$]/&&/g;s/;s,x,x,$//
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1231 _ACEOF
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1232 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1233 rm conftest.sed
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1234
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1235
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1236 lispdir='${datadir}/emacs/${version}/lisp'
Dave Love <fx@gnu.org>
parents:
diff changeset
1237 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
Dave Love <fx@gnu.org>
parents:
diff changeset
1238 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
Dave Love <fx@gnu.org>
parents:
diff changeset
1239 lisppath='${locallisppath}:${lispdir}'
Dave Love <fx@gnu.org>
parents:
diff changeset
1240 etcdir='${datadir}/emacs/${version}/etc'
Dave Love <fx@gnu.org>
parents:
diff changeset
1241 archlibdir='${libexecdir}/emacs/${version}/${configuration}'
Dave Love <fx@gnu.org>
parents:
diff changeset
1242 docdir='${datadir}/emacs/${version}/etc'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1243 gamedir=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1244
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1245
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1246 # Check whether --with-game-dir or --without-game-dir was given.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1247 if test "${with_game_dir+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1248 withval="$with_game_dir"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1249 if test "$withval" = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1250 gamedir="${localstatedir}/games/emacs"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1251 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1252 if test "$withval" = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1253 gamedir=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1254 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1255 gamedir="$withval"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1256 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1257 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1258
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1259 fi;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1260
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1261 gameuser=games
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1262
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1263 # Check whether --with-game-user or --without-game-user was given.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1264 if test "${with_game_user+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1265 withval="$with_game_user"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1266 gameuser="$withval"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1267 fi;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1268
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1269
Dave Love <fx@gnu.org>
parents:
diff changeset
1270 # Check whether --with-gcc or --without-gcc was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1271 if test "${with_gcc+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1272 withval="$with_gcc"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1273
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1274 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1275
Dave Love <fx@gnu.org>
parents:
diff changeset
1276 # Check whether --with-pop or --without-pop was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1277 if test "${with_pop+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1278 withval="$with_pop"
25994
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1279 if test "$withval" = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1280 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1281 #define MAIL_USE_POP 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1282 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1283
25994
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1284 else :
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1285 fi
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1286 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1287 cat >>confdefs.h <<\_ACEOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1288 #define MAIL_USE_POP 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1289 _ACEOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1290
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1291 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1292
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1293 # Check whether --with-kerberos or --without-kerberos was given.
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1294 if test "${with_kerberos+set}" = set; then
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1295 withval="$with_kerberos"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1296 cat >>confdefs.h <<\_ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1297 #define KERBEROS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1298 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1299
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1300 fi;
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1301
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1302 # Check whether --with-kerberos5 or --without-kerberos5 was given.
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1303 if test "${with_kerberos5+set}" = set; then
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1304 withval="$with_kerberos5"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1305 if test "${with_kerberos5+set}" = set; then
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1306 if test "${with_kerberos+set}" != set; then
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1307 with_kerberos=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1308 cat >>confdefs.h <<\_ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1309 #define KERBEROS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1310 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1311
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1312 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1313 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1314 cat >>confdefs.h <<\_ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1315 #define KERBEROS5 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1316 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1317
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1318 fi;
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1319
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1320 # Check whether --with-hesiod or --without-hesiod was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1321 if test "${with_hesiod+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1322 withval="$with_hesiod"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1323 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1324 #define HESIOD 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1325 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1326
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1327 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1328
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1329
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1330 # Check whether --with-sound or --without-sound was given.
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1331 if test "${with_sound+set}" = set; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1332 withval="$with_sound"
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1333
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1334 fi;
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1335
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1336
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1337 # Check whether --with-x-toolkit or --without-x-toolkit was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1338 if test "${with_x_toolkit+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1339 withval="$with_x_toolkit"
Dave Love <fx@gnu.org>
parents:
diff changeset
1340 case "${withval}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1341 y | ye | yes ) val=athena ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1342 n | no ) val=no ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1343 l | lu | luc | luci | lucid ) val=lucid ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1344 a | at | ath | athe | athen | athena ) val=athena ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1345 m | mo | mot | moti | motif ) val=motif ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1346 * )
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1347 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid\;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1348 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1349 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1350 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1351 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1352 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1353 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1354 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1355 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1356 with_x_toolkit=$val
Dave Love <fx@gnu.org>
parents:
diff changeset
1357
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1358 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1359
Dave Love <fx@gnu.org>
parents:
diff changeset
1360 # Check whether --with-xpm or --without-xpm was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1361 if test "${with_xpm+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1362 withval="$with_xpm"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1363
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1364 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1365
Dave Love <fx@gnu.org>
parents:
diff changeset
1366 # Check whether --with-jpeg or --without-jpeg was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1367 if test "${with_jpeg+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1368 withval="$with_jpeg"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1369
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1370 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1371
Dave Love <fx@gnu.org>
parents:
diff changeset
1372 # Check whether --with-tiff or --without-tiff was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1373 if test "${with_tiff+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1374 withval="$with_tiff"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1375
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1376 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1377
Dave Love <fx@gnu.org>
parents:
diff changeset
1378 # Check whether --with-gif or --without-gif was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1379 if test "${with_gif+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1380 withval="$with_gif"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1381
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1382 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1383
Dave Love <fx@gnu.org>
parents:
diff changeset
1384 # Check whether --with-png or --without-png was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1385 if test "${with_png+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1386 withval="$with_png"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1387
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1388 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1389
Dave Love <fx@gnu.org>
parents:
diff changeset
1390 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1391 if test "${with_toolkit_scroll_bars+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1392 withval="$with_toolkit_scroll_bars"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1393
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1394 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1395
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1396 # Check whether --with-xim or --without-xim was given.
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1397 if test "${with_xim+set}" = set; then
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1398 withval="$with_xim"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1399
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1400 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1401
Dave Love <fx@gnu.org>
parents:
diff changeset
1402 #### Make srcdir absolute, if it isn't already. It's important to
31153
49294d7cfd5b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30576
diff changeset
1403 #### avoid running the path through pwd unnecessarily, since pwd can
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1404 #### give you automounter prefixes, which can go away. We do all this
Dave Love <fx@gnu.org>
parents:
diff changeset
1405 #### so Emacs can find its files when run uninstalled.
31153
49294d7cfd5b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30576
diff changeset
1406 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
49294d7cfd5b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30576
diff changeset
1407 unset CDPATH
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1408 case "${srcdir}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1409 /* ) ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1410 . )
Dave Love <fx@gnu.org>
parents:
diff changeset
1411 ## We may be able to use the $PWD environment variable to make this
Dave Love <fx@gnu.org>
parents:
diff changeset
1412 ## absolute. But sometimes PWD is inaccurate.
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1413 ## Note: we used to use ${PWD} at the end instead of `pwd`,
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1414 ## but that tested only for a well-formed and valid PWD,
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1415 ## it did not object when PWD was well-formed and valid but just wrong.
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1416 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1417 then
Dave Love <fx@gnu.org>
parents:
diff changeset
1418 srcdir="$PWD"
Dave Love <fx@gnu.org>
parents:
diff changeset
1419 else
Dave Love <fx@gnu.org>
parents:
diff changeset
1420 srcdir="`(cd ${srcdir}; pwd)`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1421 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1422 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1423 * ) srcdir="`(cd ${srcdir}; pwd)`" ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1424 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1425
Dave Love <fx@gnu.org>
parents:
diff changeset
1426 #### Check if the source directory already has a configured system in it.
Dave Love <fx@gnu.org>
parents:
diff changeset
1427 if test `pwd` != `(cd ${srcdir} && pwd)` \
Dave Love <fx@gnu.org>
parents:
diff changeset
1428 && test -f "${srcdir}/src/config.h" ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1429 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1430 as a build directory right now; it has been configured in its own
Dave Love <fx@gnu.org>
parents:
diff changeset
1431 right. To configure in another directory as well, you MUST
Dave Love <fx@gnu.org>
parents:
diff changeset
1432 use GNU make. If you do not have GNU make, then you must
Dave Love <fx@gnu.org>
parents:
diff changeset
1433 now do \`make distclean' in ${srcdir},
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1434 and then run $0 again." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1435 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1436 as a build directory right now; it has been configured in its own
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1437 right. To configure in another directory as well, you MUST
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1438 use GNU make. If you do not have GNU make, then you must
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1439 now do \`make distclean' in ${srcdir},
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1440 and then run $0 again." >&2;}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1441
Dave Love <fx@gnu.org>
parents:
diff changeset
1442 extrasub='/^VPATH[ ]*=/c\
Dave Love <fx@gnu.org>
parents:
diff changeset
1443 vpath %.c $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1444 vpath %.h $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1445 vpath %.y $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1446 vpath %.l $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1447 vpath %.s $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1448 vpath %.in $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1449 vpath %.texi $(srcdir)'
Dave Love <fx@gnu.org>
parents:
diff changeset
1450 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1451
Dave Love <fx@gnu.org>
parents:
diff changeset
1452 #### Given the configuration name, set machfile and opsysfile to the
Dave Love <fx@gnu.org>
parents:
diff changeset
1453 #### names of the m/*.h and s/*.h files we should use.
Dave Love <fx@gnu.org>
parents:
diff changeset
1454
Dave Love <fx@gnu.org>
parents:
diff changeset
1455 ### Canonicalize the configuration name.
Dave Love <fx@gnu.org>
parents:
diff changeset
1456
Dave Love <fx@gnu.org>
parents:
diff changeset
1457 ac_aux_dir=
Dave Love <fx@gnu.org>
parents:
diff changeset
1458 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
Dave Love <fx@gnu.org>
parents:
diff changeset
1459 if test -f $ac_dir/install-sh; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1460 ac_aux_dir=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
1461 ac_install_sh="$ac_aux_dir/install-sh -c"
Dave Love <fx@gnu.org>
parents:
diff changeset
1462 break
Dave Love <fx@gnu.org>
parents:
diff changeset
1463 elif test -f $ac_dir/install.sh; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1464 ac_aux_dir=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
1465 ac_install_sh="$ac_aux_dir/install.sh -c"
Dave Love <fx@gnu.org>
parents:
diff changeset
1466 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1467 elif test -f $ac_dir/shtool; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1468 ac_aux_dir=$ac_dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1469 ac_install_sh="$ac_aux_dir/shtool install -c"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1470 break
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1471 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1472 done
Dave Love <fx@gnu.org>
parents:
diff changeset
1473 if test -z "$ac_aux_dir"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1474 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1475 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1476 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1477 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1478 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1479 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1480 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1481
Dave Love <fx@gnu.org>
parents:
diff changeset
1482 # Make sure we can run config.sub.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1483 $ac_config_sub sun4 >/dev/null 2>&1 ||
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1484 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1485 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1486 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1487
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1488 echo "$as_me:$LINENO: checking build system type" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1489 echo $ECHO_N "checking build system type... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1490 if test "${ac_cv_build+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1491 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1492 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1493 ac_cv_build_alias=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1494 test -z "$ac_cv_build_alias" &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1495 ac_cv_build_alias=`$ac_config_guess`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1496 test -z "$ac_cv_build_alias" &&
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1497 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1498 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1499 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1500 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1501 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1502 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1503 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1504
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1505 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1506 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1507 echo "${ECHO_T}$ac_cv_build" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1508 build=$ac_cv_build
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1509 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1510 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1511 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1512
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1513
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1514 echo "$as_me:$LINENO: checking host system type" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1515 echo $ECHO_N "checking host system type... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1516 if test "${ac_cv_host+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1518 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1519 ac_cv_host_alias=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1520 test -z "$ac_cv_host_alias" &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1521 ac_cv_host_alias=$ac_cv_build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1522 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1523 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1524 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1525 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1526
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1527 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1528 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1529 echo "${ECHO_T}$ac_cv_host" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1530 host=$ac_cv_host
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1531 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1532 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1533 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1534
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1535
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1536 canonical=$host
40060
c1083f9349f0 *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40056
diff changeset
1537 configuration=${host_alias-$host}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1538
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1539
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1540 ### If you add support for a new configuration, add code to this
Dave Love <fx@gnu.org>
parents:
diff changeset
1541 ### switch statement to recognize your configuration name and select
Dave Love <fx@gnu.org>
parents:
diff changeset
1542 ### the appropriate operating system and machine description files.
Dave Love <fx@gnu.org>
parents:
diff changeset
1543
Dave Love <fx@gnu.org>
parents:
diff changeset
1544 ### You would hope that you could choose an m/*.h file pretty much
Dave Love <fx@gnu.org>
parents:
diff changeset
1545 ### based on the machine portion of the configuration name, and an s-
Dave Love <fx@gnu.org>
parents:
diff changeset
1546 ### file based on the operating system portion. However, it turns out
Dave Love <fx@gnu.org>
parents:
diff changeset
1547 ### that each m/*.h file is pretty manufacturer-specific - for
Dave Love <fx@gnu.org>
parents:
diff changeset
1548 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
Dave Love <fx@gnu.org>
parents:
diff changeset
1549 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
Dave Love <fx@gnu.org>
parents:
diff changeset
1550 ### machines. So we basically have to have a special case for each
Dave Love <fx@gnu.org>
parents:
diff changeset
1551 ### configuration name.
Dave Love <fx@gnu.org>
parents:
diff changeset
1552 ###
Dave Love <fx@gnu.org>
parents:
diff changeset
1553 ### As far as handling version numbers on operating systems is
Dave Love <fx@gnu.org>
parents:
diff changeset
1554 ### concerned, make sure things will fail in a fixable way. If
Dave Love <fx@gnu.org>
parents:
diff changeset
1555 ### /etc/MACHINES doesn't say anything about version numbers, be
Dave Love <fx@gnu.org>
parents:
diff changeset
1556 ### prepared to handle anything reasonably. If version numbers
Dave Love <fx@gnu.org>
parents:
diff changeset
1557 ### matter, be sure /etc/MACHINES says something about it.
Dave Love <fx@gnu.org>
parents:
diff changeset
1558 ###
Dave Love <fx@gnu.org>
parents:
diff changeset
1559 ### Eric Raymond says we should accept strings like "sysvr4" to mean
Dave Love <fx@gnu.org>
parents:
diff changeset
1560 ### "System V Release 4"; he writes, "The old convention encouraged
Dave Love <fx@gnu.org>
parents:
diff changeset
1561 ### confusion between `system' and `release' levels'."
Dave Love <fx@gnu.org>
parents:
diff changeset
1562
Dave Love <fx@gnu.org>
parents:
diff changeset
1563 machine='' opsys='' unported=no
Dave Love <fx@gnu.org>
parents:
diff changeset
1564 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1565
41675
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1566 ## FreeBSD ports
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1567 *-*-freebsd* )
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1568 opsys=freebsd
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1569 case "${canonical}" in
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1570 alpha*-*-freebsd*) machine=alpha ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1571 i[3456]86-*-freebsd*) machine=intel386 ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1572 esac
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1573 ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1574
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1575 ## NetBSD ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1576 *-*-netbsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1577 opsys=netbsd
Dave Love <fx@gnu.org>
parents:
diff changeset
1578 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1579 alpha*-*-netbsd*) machine=alpha ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1580 i[3456]86-*-netbsd*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1581 m68k-*-netbsd*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1582 # This is somewhat bogus.
Dave Love <fx@gnu.org>
parents:
diff changeset
1583 machine=hp9000s300 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1584 powerpc-apple-netbsd*) machine=macppc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1585 mips-*-netbsd*) machine=pmax ;;
27927
82d519ae67da *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27910
diff changeset
1586 mipsel-*-netbsd*) machine=pmax ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1587 ns32k-*-netbsd*) machine=ns32000 ;;
28674
33b9dd030d3b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28643
diff changeset
1588 powerpc-*-netbsd*) machine=macppc ;;
32034
259c9935f2db *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31994
diff changeset
1589 sparc*-*-netbsd*) machine=sparc ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1590 vax-*-netbsd*) machine=vax ;;
27927
82d519ae67da *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27910
diff changeset
1591 arm-*-netbsd*) machine=arm ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1592 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1593 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1594
Dave Love <fx@gnu.org>
parents:
diff changeset
1595 ## OpenBSD ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1596 *-*-openbsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1597 opsys=openbsd
Dave Love <fx@gnu.org>
parents:
diff changeset
1598 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1599 alpha*-*-openbsd*) machine=alpha ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1600 i386-*-openbsd*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1601 m68k-*-openbsd*) machine=hp9000s300 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1602 mipsel-*-openbsd*) machine=pmax ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1603 ns32k-*-openbsd*) machine=ns32000 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1604 sparc-*-openbsd*) machine=sparc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1605 vax-*-openbsd*) machine=vax ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1606 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1607 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1608
Dave Love <fx@gnu.org>
parents:
diff changeset
1609 ## Acorn RISCiX:
Dave Love <fx@gnu.org>
parents:
diff changeset
1610 arm-acorn-riscix1.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1611 machine=acorn opsys=riscix1-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1612 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1613 arm-acorn-riscix1.2* | arm-acorn-riscix )
Dave Love <fx@gnu.org>
parents:
diff changeset
1614 ## This name is riscix12 instead of riscix1.2
Dave Love <fx@gnu.org>
parents:
diff changeset
1615 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
1616 machine=acorn opsys=riscix12
Dave Love <fx@gnu.org>
parents:
diff changeset
1617 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1618
Dave Love <fx@gnu.org>
parents:
diff changeset
1619 ## BSDI ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1620 *-*-bsdi* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1621 opsys=bsdi
Dave Love <fx@gnu.org>
parents:
diff changeset
1622 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1623 i[345]86-*-bsdi*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1624 sparc-*-bsdi*) machine=sparc ;;
33740
fd29993d1f00 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33677
diff changeset
1625 powerpc-*-bsdi*) machine=macppc ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1626 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1627 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1628 *-*-bsd386* | *-*-bsdi1* ) opsys=bsd386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1629 *-*-bsdi2.0* ) opsys=bsdos2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1630 *-*-bsdi2* ) opsys=bsdos2-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1631 *-*-bsdi3* ) opsys=bsdos3 ;;
42988
5fcba75d6dd8 Recognize BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents: 42401
diff changeset
1632 *-*-bsdi[45]* ) opsys=bsdos4 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1633 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1634 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1635
Dave Love <fx@gnu.org>
parents:
diff changeset
1636 ## Alliant machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1637 ## Strictly speaking, we need the version of the alliant operating
Dave Love <fx@gnu.org>
parents:
diff changeset
1638 ## system to choose the right machine file, but currently the
Dave Love <fx@gnu.org>
parents:
diff changeset
1639 ## configuration name doesn't tell us enough to choose the right
Dave Love <fx@gnu.org>
parents:
diff changeset
1640 ## one; we need to give alliants their own operating system name to
Dave Love <fx@gnu.org>
parents:
diff changeset
1641 ## do this right. When someone cares, they can help us.
Dave Love <fx@gnu.org>
parents:
diff changeset
1642 fx80-alliant-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1643 machine=alliant4 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1644 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1645 i860-alliant-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1646 machine=alliant-2800 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1647 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1648
Dave Love <fx@gnu.org>
parents:
diff changeset
1649 ## Alpha (DEC) machines.
Dave Love <fx@gnu.org>
parents:
diff changeset
1650 alpha*-dec-osf* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1651 machine=alpha opsys=osf1
Dave Love <fx@gnu.org>
parents:
diff changeset
1652 # This is needed to find X11R6.1 libraries for certain tests.
Dave Love <fx@gnu.org>
parents:
diff changeset
1653 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
Dave Love <fx@gnu.org>
parents:
diff changeset
1654 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
34446
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1655 # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1656 # due to non-traditional preprocessing with the current compiler
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1657 # defaults. OSF 4 can also have that compiler version, and there
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1658 # seems always to have been a usable /usr/bin/cpp.
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1659 NON_GNU_CPP=/usr/bin/cpp
27883
7c90c9f169f4 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27752
diff changeset
1660 case "${canonical}" in
31994
baf314674954 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31607
diff changeset
1661 alpha*-dec-osf[5-9]*)
31229
0c280e986946 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31153
diff changeset
1662 opsys=osf5-0 ;;
27883
7c90c9f169f4 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27752
diff changeset
1663 esac
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1664 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1665
Dave Love <fx@gnu.org>
parents:
diff changeset
1666 alpha*-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1667 machine=alpha opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
1668 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1669
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1670 arm*-*-linux-gnu* )
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1671 machine=arm opsys=gnu-linux
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1672 ;;
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1673
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1674 ppc-*-linux | \
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1675 powerpc-*-linux* )
33740
fd29993d1f00 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33677
diff changeset
1676 machine=macppc opsys=gnu-linux
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1677 ;;
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1678
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1679 ## Altos 3068
Dave Love <fx@gnu.org>
parents:
diff changeset
1680 m68*-altos-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1681 machine=altos opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1682 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1683
Dave Love <fx@gnu.org>
parents:
diff changeset
1684 ## Amdahl UTS
Dave Love <fx@gnu.org>
parents:
diff changeset
1685 580-amdahl-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1686 machine=amdahl opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1687 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1688
Dave Love <fx@gnu.org>
parents:
diff changeset
1689 ## Apollo, Domain/OS
Dave Love <fx@gnu.org>
parents:
diff changeset
1690 m68*-apollo-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1691 machine=apollo opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1692 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1693
Dave Love <fx@gnu.org>
parents:
diff changeset
1694 ## AT&T 3b2, 3b5, 3b15, 3b20
Dave Love <fx@gnu.org>
parents:
diff changeset
1695 we32k-att-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1696 machine=att3b opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1697 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1698
Dave Love <fx@gnu.org>
parents:
diff changeset
1699 ## AT&T 3b1 - The Mighty Unix PC!
Dave Love <fx@gnu.org>
parents:
diff changeset
1700 m68*-att-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1701 machine=7300 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1702 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1703
Dave Love <fx@gnu.org>
parents:
diff changeset
1704 ## Bull dpx20
Dave Love <fx@gnu.org>
parents:
diff changeset
1705 rs6000-bull-bosx* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1706 machine=ibmrs6000 opsys=aix3-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1707 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1708
Dave Love <fx@gnu.org>
parents:
diff changeset
1709 ## Bull dpx2
Dave Love <fx@gnu.org>
parents:
diff changeset
1710 m68*-bull-sysv3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1711 machine=dpx2 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1712 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1713
Dave Love <fx@gnu.org>
parents:
diff changeset
1714 ## Bull sps7
Dave Love <fx@gnu.org>
parents:
diff changeset
1715 m68*-bull-sysv2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1716 machine=sps7 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1717 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1718
Dave Love <fx@gnu.org>
parents:
diff changeset
1719 ## CCI 5/32, 6/32 -- see "Tahoe".
Dave Love <fx@gnu.org>
parents:
diff changeset
1720
Dave Love <fx@gnu.org>
parents:
diff changeset
1721 ## Celerity
Dave Love <fx@gnu.org>
parents:
diff changeset
1722 ## I don't know what configuration name to use for this; config.sub
Dave Love <fx@gnu.org>
parents:
diff changeset
1723 ## doesn't seem to know anything about it. Hey, Celerity users, get
Dave Love <fx@gnu.org>
parents:
diff changeset
1724 ## in touch with us!
Dave Love <fx@gnu.org>
parents:
diff changeset
1725 celerity-celerity-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1726 machine=celerity opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1727 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1728
Dave Love <fx@gnu.org>
parents:
diff changeset
1729 ## Clipper
Dave Love <fx@gnu.org>
parents:
diff changeset
1730 ## What operating systems does this chip run that Emacs has been
Dave Love <fx@gnu.org>
parents:
diff changeset
1731 ## tested on?
Dave Love <fx@gnu.org>
parents:
diff changeset
1732 clipper-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1733 machine=clipper
Dave Love <fx@gnu.org>
parents:
diff changeset
1734 ## We'll use the catch-all code at the bottom to guess the
Dave Love <fx@gnu.org>
parents:
diff changeset
1735 ## operating system.
Dave Love <fx@gnu.org>
parents:
diff changeset
1736 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1737
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1738 ## Compaq Nonstop
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1739 mips-compaq-nonstopux* )
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1740 machine=nonstopux opsys=nonstopux
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1741 ;;
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1742
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1743 ## Convex
Dave Love <fx@gnu.org>
parents:
diff changeset
1744 *-convex-bsd* | *-convex-convexos* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1745 machine=convex opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1746 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
Dave Love <fx@gnu.org>
parents:
diff changeset
1747 NON_GNU_CPP="cc -E -P"
Dave Love <fx@gnu.org>
parents:
diff changeset
1748 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1749
Dave Love <fx@gnu.org>
parents:
diff changeset
1750 ## Cubix QBx/386
Dave Love <fx@gnu.org>
parents:
diff changeset
1751 i[3456]86-cubix-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1752 machine=intel386 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1753 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1754
Dave Love <fx@gnu.org>
parents:
diff changeset
1755 ## Cydra 5
Dave Love <fx@gnu.org>
parents:
diff changeset
1756 cydra*-cydrome-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1757 machine=cydra5 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1758 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1759
Dave Love <fx@gnu.org>
parents:
diff changeset
1760 ## Data General AViiON Machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1761 ## DG changed naming conventions with the release of 5.4.4.10, they
Dave Love <fx@gnu.org>
parents:
diff changeset
1762 ## dropped the initial 5.4 but left the intervening R. Because of the
Dave Love <fx@gnu.org>
parents:
diff changeset
1763 ## R this shouldn't conflict with older versions of the OS (which I
Dave Love <fx@gnu.org>
parents:
diff changeset
1764 ## think were named like dgux4.*). In addition, DG new AViiONs series
Dave Love <fx@gnu.org>
parents:
diff changeset
1765 ## uses either Motorola M88k or Intel Pentium CPUs.
Dave Love <fx@gnu.org>
parents:
diff changeset
1766 m88k-dg-dguxR4.* | m88k-dg-dgux4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1767 machine=aviion opsys=dgux4
Dave Love <fx@gnu.org>
parents:
diff changeset
1768 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1769 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1770 ## This name is dgux5-4-3 instead of dgux5-4r3
Dave Love <fx@gnu.org>
parents:
diff changeset
1771 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
1772 machine=aviion opsys=dgux5-4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1773 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1774 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1775 machine=aviion opsys=dgux5-4r2
Dave Love <fx@gnu.org>
parents:
diff changeset
1776 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1777 m88k-dg-dgux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1778 machine=aviion opsys=dgux
Dave Love <fx@gnu.org>
parents:
diff changeset
1779 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1780
Dave Love <fx@gnu.org>
parents:
diff changeset
1781 ## Data General AViiON Intel (x86) Machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1782 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
Dave Love <fx@gnu.org>
parents:
diff changeset
1783 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
Dave Love <fx@gnu.org>
parents:
diff changeset
1784 i[345]86-dg-dguxR4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1785 machine=aviion-intel opsys=dgux4
Dave Love <fx@gnu.org>
parents:
diff changeset
1786 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1787
Dave Love <fx@gnu.org>
parents:
diff changeset
1788 ## DECstations
Dave Love <fx@gnu.org>
parents:
diff changeset
1789 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1790 machine=pmax opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1791 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1792 mips-dec-ultrix4.[12]* | mips-dec-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1793 machine=pmax opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1794 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1795 mips-dec-ultrix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1796 machine=pmax opsys=ultrix4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1797 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1798 mips-dec-osf* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1799 machine=pmax opsys=osf1
Dave Love <fx@gnu.org>
parents:
diff changeset
1800 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1801 mips-dec-mach_bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1802 machine=pmax opsys=mach-bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1803 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1804
Dave Love <fx@gnu.org>
parents:
diff changeset
1805 ## Motorola Delta machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1806 m68k-motorola-sysv* | m68000-motorola-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1807 machine=delta opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1808 if test -z "`type gnucc | grep 'not found'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1809 then
Dave Love <fx@gnu.org>
parents:
diff changeset
1810 if test -s /etc/167config
Dave Love <fx@gnu.org>
parents:
diff changeset
1811 then CC="gnucc -m68040"
Dave Love <fx@gnu.org>
parents:
diff changeset
1812 else CC="gnucc -m68881"
Dave Love <fx@gnu.org>
parents:
diff changeset
1813 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1814 else
Dave Love <fx@gnu.org>
parents:
diff changeset
1815 if test -z "`type gcc | grep 'not found'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1816 then CC=gcc
Dave Love <fx@gnu.org>
parents:
diff changeset
1817 else CC=cc
Dave Love <fx@gnu.org>
parents:
diff changeset
1818 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1819 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1820 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1821 m88k-motorola-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1822 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
Dave Love <fx@gnu.org>
parents:
diff changeset
1823 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
Dave Love <fx@gnu.org>
parents:
diff changeset
1824 # I hope there are not other 4.0 versions for this machine
Dave Love <fx@gnu.org>
parents:
diff changeset
1825 # which really need usg5-4 instead.
Dave Love <fx@gnu.org>
parents:
diff changeset
1826 machine=delta88k opsys=usg5-4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1827 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1828 m88k-motorola-sysv* | m88k-motorola-m88kbcs* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1829 machine=delta88k opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1830 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1831
Dave Love <fx@gnu.org>
parents:
diff changeset
1832 ## Dual machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1833 m68*-dual-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1834 machine=dual opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1835 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1836 m68*-dual-uniplus* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1837 machine=dual opsys=unipl5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1838 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1839
Dave Love <fx@gnu.org>
parents:
diff changeset
1840 ## Elxsi 6400
Dave Love <fx@gnu.org>
parents:
diff changeset
1841 elxsi-elxsi-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1842 machine=elxsi opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1843 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1844
Dave Love <fx@gnu.org>
parents:
diff changeset
1845 ## Encore machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1846 ns16k-encore-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1847 machine=ns16000 opsys=umax
Dave Love <fx@gnu.org>
parents:
diff changeset
1848 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1849
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
1850 ## The GEC 63 - apparently, this port isn't really finished yet.
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
1851 # I'm sure we finished off the last of the machines, though. -- fx
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1852
Dave Love <fx@gnu.org>
parents:
diff changeset
1853 ## Gould Power Node and NP1
Dave Love <fx@gnu.org>
parents:
diff changeset
1854 pn-gould-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1855 machine=gould opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1856 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1857 pn-gould-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1858 machine=gould opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1859 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1860 np1-gould-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1861 machine=gould-np1 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1862 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1863
Dave Love <fx@gnu.org>
parents:
diff changeset
1864 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
Dave Love <fx@gnu.org>
parents:
diff changeset
1865 ## as far as Emacs is concerned).
Dave Love <fx@gnu.org>
parents:
diff changeset
1866 m88k-harris-cxux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1867 # Build needs to be different on 7.0 and later releases
Dave Love <fx@gnu.org>
parents:
diff changeset
1868 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1869 [56].[0-9] ) machine=nh4000 opsys=cxux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1870 [7].[0-9] ) machine=nh4000 opsys=cxux7 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1871 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1872 NON_GNU_CPP="/lib/cpp"
Dave Love <fx@gnu.org>
parents:
diff changeset
1873 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1874 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
Dave Love <fx@gnu.org>
parents:
diff changeset
1875 m68k-harris-cxux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1876 machine=nh3000 opsys=cxux
Dave Love <fx@gnu.org>
parents:
diff changeset
1877 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1878 ## Harris power pc NightHawk running Power UNIX (Series 6000)
Dave Love <fx@gnu.org>
parents:
diff changeset
1879 powerpc-harris-powerunix )
Dave Love <fx@gnu.org>
parents:
diff changeset
1880 machine=nh6000 opsys=powerunix
Dave Love <fx@gnu.org>
parents:
diff changeset
1881 NON_GNU_CPP="cc -Xo -E -P"
Dave Love <fx@gnu.org>
parents:
diff changeset
1882 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1883 ## SR2001/SR2201 running HI-UX/MPP
Dave Love <fx@gnu.org>
parents:
diff changeset
1884 hppa1.1-hitachi-hiuxmpp* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1885 machine=sr2k opsys=hiuxmpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1886 ;;
38811
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1887 hppa1.1-hitachi-hiuxwe2* )
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1888 machine=sr2k opsys=hiuxwe2
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1889 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1890 ## Honeywell XPS100
Dave Love <fx@gnu.org>
parents:
diff changeset
1891 xps*-honeywell-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1892 machine=xps100 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1893 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1894
Dave Love <fx@gnu.org>
parents:
diff changeset
1895 ## HP 9000 series 200 or 300
Dave Love <fx@gnu.org>
parents:
diff changeset
1896 m68*-hp-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1897 machine=hp9000s300 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1898 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1899 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
Dave Love <fx@gnu.org>
parents:
diff changeset
1900 m68*-hp-hpux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1901 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1902 ## Someone's system reports A.B8.05 for this.
Dave Love <fx@gnu.org>
parents:
diff changeset
1903 ## I wonder what other possibilities there are.
Dave Love <fx@gnu.org>
parents:
diff changeset
1904 *.B8.* ) machine=hp9000s300 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1905 *.08.* ) machine=hp9000s300 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1906 *.09.* ) machine=hp9000s300 opsys=hpux9 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1907 *.1[0-9].* ) machine=hp9000s300 opsys=hpux9shr ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1908 *) machine=hp9000s300 opsys=hpux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1909 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1910 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1911
Dave Love <fx@gnu.org>
parents:
diff changeset
1912 ## HP 9000 series 700 and 800, running HP/UX
Dave Love <fx@gnu.org>
parents:
diff changeset
1913 hppa*-hp-hpux7* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1914 machine=hp800 opsys=hpux
Dave Love <fx@gnu.org>
parents:
diff changeset
1915 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1916 hppa*-hp-hpux8* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1917 machine=hp800 opsys=hpux8
Dave Love <fx@gnu.org>
parents:
diff changeset
1918 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1919 hppa*-hp-hpux9shr* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1920 machine=hp800 opsys=hpux9shr
Dave Love <fx@gnu.org>
parents:
diff changeset
1921 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1922 hppa*-hp-hpux9* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1923 machine=hp800 opsys=hpux9
Dave Love <fx@gnu.org>
parents:
diff changeset
1924 ;;
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1925 hppa*-hp-hpux10* )
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1926 machine=hp800 opsys=hpux10
Dave Love <fx@gnu.org>
parents:
diff changeset
1927 ;;
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1928 hppa*-hp-hpux1[1-9]* )
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1929 machine=hp800 opsys=hpux11
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1930 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1931
41960
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1932 hppa*-*-linux-gnu* )
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1933 machine=hp800 opsys=gnu-linux
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1934 ;;
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1935
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1936 ## HP 9000 series 700 and 800, running HP/UX
Dave Love <fx@gnu.org>
parents:
diff changeset
1937 hppa*-hp-hpux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1938 ## Cross-compilation? Nah!
Dave Love <fx@gnu.org>
parents:
diff changeset
1939 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1940 ## Someone's system reports A.B8.05 for this.
Dave Love <fx@gnu.org>
parents:
diff changeset
1941 ## I wonder what other possibilities there are.
Dave Love <fx@gnu.org>
parents:
diff changeset
1942 *.B8.* ) machine=hp800 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1943 *.08.* ) machine=hp800 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1944 *.09.* ) machine=hp800 opsys=hpux9 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1945 *) machine=hp800 opsys=hpux10 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1946 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1947 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1948 hppa*-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1949 machine=hp800 opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
1950 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1951
Dave Love <fx@gnu.org>
parents:
diff changeset
1952 ## Orion machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1953 orion-orion-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1954 machine=orion opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1955 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1956 clipper-orion-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1957 machine=orion105 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1958 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1959
Dave Love <fx@gnu.org>
parents:
diff changeset
1960 ## IBM machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1961 i[3456]86-ibm-aix1.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1962 machine=ibmps2-aix opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1963 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1964 i[3456]86-ibm-aix1.[23]* | i[3456]86-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1965 machine=ibmps2-aix opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1966 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1967 i370-ibm-aix*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1968 machine=ibm370aix opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1969 ;;
40426
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1970 s390-*-linux-gnu)
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1971 machine=ibms390 opsys=gnu-linux
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1972 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1973 rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1974 machine=ibmrs6000 opsys=aix3-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1975 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1976 rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 )
Dave Love <fx@gnu.org>
parents:
diff changeset
1977 machine=ibmrs6000 opsys=aix3-2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
1978 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1979 rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1980 machine=ibmrs6000 opsys=aix4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1981 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1982 rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1983 machine=ibmrs6000 opsys=aix4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1984 ;;
43924
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1985 rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1* )
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1986 machine=ibmrs6000 opsys=aix4-2
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1987 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1988 rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1989 machine=ibmrs6000 opsys=aix4
Dave Love <fx@gnu.org>
parents:
diff changeset
1990 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1991 rs6000-ibm-aix4* | powerpc-ibm-aix4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1992 machine=ibmrs6000 opsys=aix4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1993 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1994 rs6000-ibm-aix* | powerpc-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1995 machine=ibmrs6000 opsys=aix3-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1996 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1997 romp-ibm-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1998 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1999 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2000 romp-ibm-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2001 machine=ibmrt opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2002 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2003 romp-ibm-aos4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2004 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2005 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2006 romp-ibm-aos4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2007 machine=ibmrt opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2008 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2009 romp-ibm-aos* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2010 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2011 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2012 romp-ibm-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2013 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2014 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2015 romp-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2016 machine=ibmrt-aix opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2017 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2018
Dave Love <fx@gnu.org>
parents:
diff changeset
2019 ## Integrated Solutions `Optimum V'
Dave Love <fx@gnu.org>
parents:
diff changeset
2020 m68*-isi-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2021 machine=isi-ov opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2022 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2023 m68*-isi-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2024 machine=isi-ov opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2025 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2026
Dave Love <fx@gnu.org>
parents:
diff changeset
2027 ## Intel 386 machines where we do care about the manufacturer
Dave Love <fx@gnu.org>
parents:
diff changeset
2028 i[3456]86-intsys-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2029 machine=is386 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2030 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2031
Dave Love <fx@gnu.org>
parents:
diff changeset
2032 ## Prime EXL
Dave Love <fx@gnu.org>
parents:
diff changeset
2033 i[3456]86-prime-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2034 machine=i386 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2035 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2036
Dave Love <fx@gnu.org>
parents:
diff changeset
2037 ## Sequent Symmetry running Dynix
Dave Love <fx@gnu.org>
parents:
diff changeset
2038 i[3456]86-sequent-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2039 machine=symmetry opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2040 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2041
Dave Love <fx@gnu.org>
parents:
diff changeset
2042 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
Dave Love <fx@gnu.org>
parents:
diff changeset
2043 i[3456]86-sequent-ptx4* | i[3456]86-sequent-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2044 machine=sequent-ptx opsys=ptx4
Dave Love <fx@gnu.org>
parents:
diff changeset
2045 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2046 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2047
Dave Love <fx@gnu.org>
parents:
diff changeset
2048 ## Sequent Symmetry running DYNIX/ptx
Dave Love <fx@gnu.org>
parents:
diff changeset
2049 ## Use the old cpp rather than the newer ANSI one.
Dave Love <fx@gnu.org>
parents:
diff changeset
2050 i[3456]86-sequent-ptx* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2051 machine=sequent-ptx opsys=ptx
Dave Love <fx@gnu.org>
parents:
diff changeset
2052 NON_GNU_CPP="/lib/cpp"
Dave Love <fx@gnu.org>
parents:
diff changeset
2053 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2054
Dave Love <fx@gnu.org>
parents:
diff changeset
2055 ## ncr machine running svr4.3.
Dave Love <fx@gnu.org>
parents:
diff changeset
2056 i[3456]86-ncr-sysv4.3 )
Dave Love <fx@gnu.org>
parents:
diff changeset
2057 machine=ncr386 opsys=usg5-4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2058 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2059
Dave Love <fx@gnu.org>
parents:
diff changeset
2060 ## Unspecified sysv on an ncr machine defaults to svr4.2.
Dave Love <fx@gnu.org>
parents:
diff changeset
2061 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
Dave Love <fx@gnu.org>
parents:
diff changeset
2062 i[3456]86-ncr-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2063 machine=ncr386 opsys=usg5-4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2064 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2065
Dave Love <fx@gnu.org>
parents:
diff changeset
2066 ## Intel Paragon OSF/1
Dave Love <fx@gnu.org>
parents:
diff changeset
2067 i860-intel-osf1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2068 machine=paragon opsys=osf1 NON_GNU_CPP=/usr/mach/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2069 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2070
Dave Love <fx@gnu.org>
parents:
diff changeset
2071 ## Intel 860
Dave Love <fx@gnu.org>
parents:
diff changeset
2072 i860-*-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2073 machine=i860 opsys=usg5-4
Dave Love <fx@gnu.org>
parents:
diff changeset
2074 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc.
Dave Love <fx@gnu.org>
parents:
diff changeset
2075 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
Dave Love <fx@gnu.org>
parents:
diff changeset
2076 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2077
28748
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
2078 ## Macintosh PowerPC
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
2079 powerpc*-*-linux-gnu* )
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
2080 machine=macppc opsys=gnu-linux
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
2081 ;;
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
2082
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2083 ## Masscomp machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2084 m68*-masscomp-rtu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2085 machine=masscomp opsys=rtu
Dave Love <fx@gnu.org>
parents:
diff changeset
2086 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2087
Dave Love <fx@gnu.org>
parents:
diff changeset
2088 ## Megatest machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2089 m68*-megatest-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2090 machine=mega68 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2091 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2092
Dave Love <fx@gnu.org>
parents:
diff changeset
2093 ## Workstations sold by MIPS
Dave Love <fx@gnu.org>
parents:
diff changeset
2094 ## This is not necessarily all workstations using the MIPS processor -
Dave Love <fx@gnu.org>
parents:
diff changeset
2095 ## Irises are produced by SGI, and DECstations by DEC.
Dave Love <fx@gnu.org>
parents:
diff changeset
2096
Dave Love <fx@gnu.org>
parents:
diff changeset
2097 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
Dave Love <fx@gnu.org>
parents:
diff changeset
2098 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
Dave Love <fx@gnu.org>
parents:
diff changeset
2099 ## it gives for choosing between the alternatives seems to be "Use
Dave Love <fx@gnu.org>
parents:
diff changeset
2100 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
Dave Love <fx@gnu.org>
parents:
diff changeset
2101 ## the BSD world." I'll assume that these are instructions for
Dave Love <fx@gnu.org>
parents:
diff changeset
2102 ## handling two odd situations, and that every other situation
Dave Love <fx@gnu.org>
parents:
diff changeset
2103 ## should use mips.h and usg5-2-2, they being listed first.
Dave Love <fx@gnu.org>
parents:
diff changeset
2104 mips-mips-usg* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2105 machine=mips4
Dave Love <fx@gnu.org>
parents:
diff changeset
2106 ## Fall through to the general code at the bottom to decide on the OS.
Dave Love <fx@gnu.org>
parents:
diff changeset
2107 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2108 mips-mips-riscos4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2109 machine=mips4 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2110 NON_GNU_CC="cc -systype bsd43"
Dave Love <fx@gnu.org>
parents:
diff changeset
2111 NON_GNU_CPP="cc -systype bsd43 -E"
Dave Love <fx@gnu.org>
parents:
diff changeset
2112 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2113 mips-mips-riscos5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2114 machine=mips4 opsys=riscos5
Dave Love <fx@gnu.org>
parents:
diff changeset
2115 NON_GNU_CC="cc -systype bsd43"
Dave Love <fx@gnu.org>
parents:
diff changeset
2116 NON_GNU_CPP="cc -systype bsd43 -E"
Dave Love <fx@gnu.org>
parents:
diff changeset
2117 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2118 mips-mips-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2119 machine=mips opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2120 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2121 mips-mips-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2122 machine=mips opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2123 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2124
Dave Love <fx@gnu.org>
parents:
diff changeset
2125 ## NeXT
Dave Love <fx@gnu.org>
parents:
diff changeset
2126 m68*-next-* | m68k-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2127 machine=m68k opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
2128 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2129
Dave Love <fx@gnu.org>
parents:
diff changeset
2130 ## The complete machine from National Semiconductor
Dave Love <fx@gnu.org>
parents:
diff changeset
2131 ns32k-ns-genix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2132 machine=ns32000 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2133 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2134
Dave Love <fx@gnu.org>
parents:
diff changeset
2135 ## NCR machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2136 m68*-ncr-sysv2* | m68*-ncr-sysvr2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2137 machine=tower32 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2138 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2139 m68*-ncr-sysv3* | m68*-ncr-sysvr3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2140 machine=tower32v3 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2141 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2142
Dave Love <fx@gnu.org>
parents:
diff changeset
2143 ## NEC EWS4800
Dave Love <fx@gnu.org>
parents:
diff changeset
2144 mips-nec-sysv4*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2145 machine=ews4800 opsys=ux4800
Dave Love <fx@gnu.org>
parents:
diff changeset
2146 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2147
Dave Love <fx@gnu.org>
parents:
diff changeset
2148 ## Nixdorf Targon 31
Dave Love <fx@gnu.org>
parents:
diff changeset
2149 m68*-nixdorf-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2150 machine=targon31 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2151 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2152
Dave Love <fx@gnu.org>
parents:
diff changeset
2153 ## Nu (TI or LMI)
Dave Love <fx@gnu.org>
parents:
diff changeset
2154 m68*-nu-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2155 machine=nu opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2156 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2157
Dave Love <fx@gnu.org>
parents:
diff changeset
2158 ## Plexus
Dave Love <fx@gnu.org>
parents:
diff changeset
2159 m68*-plexus-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2160 machine=plexus opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2161 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2162
Dave Love <fx@gnu.org>
parents:
diff changeset
2163 ## PowerPC reference platform
Dave Love <fx@gnu.org>
parents:
diff changeset
2164 powerpcle-*-solaris2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2165 machine=prep
Dave Love <fx@gnu.org>
parents:
diff changeset
2166 opsys=sol2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
2167 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2168
Dave Love <fx@gnu.org>
parents:
diff changeset
2169 ## Pyramid machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2170 ## I don't really have any idea what sort of processor the Pyramid has,
Dave Love <fx@gnu.org>
parents:
diff changeset
2171 ## so I'm assuming it is its own architecture.
Dave Love <fx@gnu.org>
parents:
diff changeset
2172 pyramid-pyramid-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2173 machine=pyramid opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2174 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2175
Dave Love <fx@gnu.org>
parents:
diff changeset
2176 ## Sequent Balance
Dave Love <fx@gnu.org>
parents:
diff changeset
2177 ns32k-sequent-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2178 machine=sequent opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2179 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2180 ns32k-sequent-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2181 machine=sequent opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2182 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2183
Dave Love <fx@gnu.org>
parents:
diff changeset
2184 ## Siemens Nixdorf
Dave Love <fx@gnu.org>
parents:
diff changeset
2185 mips-siemens-sysv* | mips-sni-sysv*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2186 machine=mips-siemens opsys=usg5-4
Dave Love <fx@gnu.org>
parents:
diff changeset
2187 NON_GNU_CC=/usr/ccs/bin/cc
Dave Love <fx@gnu.org>
parents:
diff changeset
2188 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2189 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2190
Dave Love <fx@gnu.org>
parents:
diff changeset
2191 ## Silicon Graphics machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2192 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
Dave Love <fx@gnu.org>
parents:
diff changeset
2193 m68*-sgi-iris3.5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2194 machine=irist opsys=iris3-5
Dave Love <fx@gnu.org>
parents:
diff changeset
2195 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2196 m68*-sgi-iris3.6* | m68*-sgi-iris*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2197 machine=irist opsys=iris3-6
Dave Love <fx@gnu.org>
parents:
diff changeset
2198 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2199 ## Iris 4D
Dave Love <fx@gnu.org>
parents:
diff changeset
2200 mips-sgi-irix3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2201 machine=iris4d opsys=irix3-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2202 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2203 mips-sgi-irix4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2204 machine=iris4d opsys=irix4-0
Dave Love <fx@gnu.org>
parents:
diff changeset
2205 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2206 mips-sgi-irix6.5 )
Dave Love <fx@gnu.org>
parents:
diff changeset
2207 machine=iris4d opsys=irix6-5
26502
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
2208 # Without defining _LANGUAGE_C, things get masked out in the headers
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
2209 # so that, for instance, grepping for `free' in stdlib.h fails and
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
2210 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
2211 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
2212 NON_GCC_TEST_OPTIONS="-D_LANGUAGE_C"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2213 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2214 mips-sgi-irix6* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2215 machine=iris4d opsys=irix6-0
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2216 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
26502
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
2217 # but presumably it does no harm.
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
2218 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
2219 # -32 probably isn't necessary in later v.6s -- anyone know which?
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2220 NON_GCC_TEST_OPTIONS=-32
Dave Love <fx@gnu.org>
parents:
diff changeset
2221 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2222 mips-sgi-irix5.[01]* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2223 machine=iris4d opsys=irix5-0
Dave Love <fx@gnu.org>
parents:
diff changeset
2224 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2225 mips-sgi-irix5* | mips-sgi-irix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2226 machine=iris4d opsys=irix5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2227 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2228
Dave Love <fx@gnu.org>
parents:
diff changeset
2229 ## SONY machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2230 m68*-sony-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2231 machine=news opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2232 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2233 m68*-sony-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2234 machine=news opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2235 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2236 m68*-sony-newsos3* | m68*-sony-news3*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2237 machine=news opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2238 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2239 mips-sony-bsd* | mips-sony-newsos4* | mips-sony-news4*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2240 machine=news-risc opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2241 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2242 mips-sony-newsos6* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2243 machine=news-r6 opsys=newsos6
Dave Love <fx@gnu.org>
parents:
diff changeset
2244 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2245 mips-sony-news* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2246 machine=news-risc opsys=newsos5
Dave Love <fx@gnu.org>
parents:
diff changeset
2247 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2248
Dave Love <fx@gnu.org>
parents:
diff changeset
2249 ## Stride
Dave Love <fx@gnu.org>
parents:
diff changeset
2250 m68*-stride-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2251 machine=stride opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2252 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2253
Dave Love <fx@gnu.org>
parents:
diff changeset
2254 ## Suns
Dave Love <fx@gnu.org>
parents:
diff changeset
2255 sparc-*-linux-gnu* | sparc64-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2256 machine=sparc opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2257 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2258
27949
e06c6af9d981 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27927
diff changeset
2259 *-auspex-sunos* | *-sun-sunos* | *-sun-bsd* | *-sun-solaris* \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2260 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* | powerpc*-*-solaris2* \
Dave Love <fx@gnu.org>
parents:
diff changeset
2261 | rs6000-*-solaris2*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2262 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2263 m68*-sunos1* ) machine=sun1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2264 m68*-sunos2* ) machine=sun2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2265 m68* ) machine=sun3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2266 i[3456]86-sun-sunos[34]* ) machine=sun386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2267 i[3456]86-*-* ) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2268 powerpcle* ) machine=powerpcle ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2269 powerpc* | rs6000* ) machine=ibmrs6000 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2270 sparc* ) machine=sparc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2271 * ) unported=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2272 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2273 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2274 ## The Sun386 didn't get past 4.0.
Dave Love <fx@gnu.org>
parents:
diff changeset
2275 i[3456]86-*-sunos4 ) opsys=sunos4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2276 *-sunos4.0* ) opsys=sunos4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2277 *-sunos4.1.[3-9]*noshare )
Dave Love <fx@gnu.org>
parents:
diff changeset
2278 ## This name is sunos413 instead of sunos4-1-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2279 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
2280 opsys=sunos413
Dave Love <fx@gnu.org>
parents:
diff changeset
2281 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2282 NON_GCC_TEST_OPTIONS=-Bstatic
Dave Love <fx@gnu.org>
parents:
diff changeset
2283 GCC_TEST_OPTIONS=-static
Dave Love <fx@gnu.org>
parents:
diff changeset
2284 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2285 *-sunos4.1.[3-9]* | *-sunos4shr*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2286 opsys=sunos4shr
Dave Love <fx@gnu.org>
parents:
diff changeset
2287 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2288 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2289 *-sunos4* | *-sunos )
Dave Love <fx@gnu.org>
parents:
diff changeset
2290 opsys=sunos4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
2291 NON_GCC_TEST_OPTIONS=-Bstatic
Dave Love <fx@gnu.org>
parents:
diff changeset
2292 GCC_TEST_OPTIONS=-static
Dave Love <fx@gnu.org>
parents:
diff changeset
2293 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2294 *-sunos5.3* | *-solaris2.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2295 opsys=sol2-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2296 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2297 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2298 *-sunos5.4* | *-solaris2.4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2299 opsys=sol2-4
Dave Love <fx@gnu.org>
parents:
diff changeset
2300 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2301 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2302 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2303 *-sunos5.5* | *-solaris2.5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2304 opsys=sol2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
2305 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2306 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2307 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2308 *-sunos5* | *-solaris* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2309 opsys=sol2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
2310 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2311 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2312 * ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2313 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2314 ## Watch out for a compiler that we know will not work.
Dave Love <fx@gnu.org>
parents:
diff changeset
2315 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2316 *-solaris* | *-sunos5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2317 if [ "x$CC" = x/usr/ucb/cc ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2318 ## /usr/ucb/cc doesn't work;
Dave Love <fx@gnu.org>
parents:
diff changeset
2319 ## we should find some other compiler that does work.
Dave Love <fx@gnu.org>
parents:
diff changeset
2320 unset CC
Dave Love <fx@gnu.org>
parents:
diff changeset
2321 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2322 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2323 *) ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2324 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2325 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2326 sparc-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2327 machine=sparc opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
2328 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2329
Dave Love <fx@gnu.org>
parents:
diff changeset
2330 ## Tadpole 68k
Dave Love <fx@gnu.org>
parents:
diff changeset
2331 m68*-tadpole-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2332 machine=tad68k opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2333 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2334
Dave Love <fx@gnu.org>
parents:
diff changeset
2335 ## Tahoe machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2336 tahoe-tahoe-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2337 machine=tahoe opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2338 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2339 tahoe-tahoe-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2340 machine=tahoe opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2341 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2342
Dave Love <fx@gnu.org>
parents:
diff changeset
2343 ## Tandem Integrity S2
Dave Love <fx@gnu.org>
parents:
diff changeset
2344 mips-tandem-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2345 machine=tandem-s2 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2346 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2347
Dave Love <fx@gnu.org>
parents:
diff changeset
2348 ## Tektronix XD88
Dave Love <fx@gnu.org>
parents:
diff changeset
2349 m88k-tektronix-sysv3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2350 machine=tekxd88 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2351 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2352
Dave Love <fx@gnu.org>
parents:
diff changeset
2353 ## Tektronix 16000 box (6130?)
Dave Love <fx@gnu.org>
parents:
diff changeset
2354 ns16k-tektronix-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2355 machine=ns16000 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2356 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2357 ## Tektronix 4300
Dave Love <fx@gnu.org>
parents:
diff changeset
2358 ## src/m/tek4300.h hints that this is a m68k machine.
Dave Love <fx@gnu.org>
parents:
diff changeset
2359 m68*-tektronix-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2360 machine=tek4300 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2361 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2362
Dave Love <fx@gnu.org>
parents:
diff changeset
2363 ## Titan P2 or P3
Dave Love <fx@gnu.org>
parents:
diff changeset
2364 ## We seem to have lost the machine-description file titan.h!
Dave Love <fx@gnu.org>
parents:
diff changeset
2365 titan-titan-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2366 machine=titan opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2367 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2368
Dave Love <fx@gnu.org>
parents:
diff changeset
2369 ## Ustation E30 (SS5E)
Dave Love <fx@gnu.org>
parents:
diff changeset
2370 m68*-unisys-uniplus* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2371 machine=ustation opsystem=unipl5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2372 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2373
Dave Love <fx@gnu.org>
parents:
diff changeset
2374 ## Vaxen.
Dave Love <fx@gnu.org>
parents:
diff changeset
2375 vax-dec-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2376 machine=vax
Dave Love <fx@gnu.org>
parents:
diff changeset
2377 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2378 *-bsd4.1* ) opsys=bsd4-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2379 *-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2380 *-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2381 *-sysv[01]* | *-sysvr[01]* ) opsys=usg5-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2382 *-sysv2* | *-sysvr2* ) opsys=usg5-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2383 *-vms* ) opsys=vms ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2384 * ) unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2385 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2387
Dave Love <fx@gnu.org>
parents:
diff changeset
2388 ## Whitechapel MG1
Dave Love <fx@gnu.org>
parents:
diff changeset
2389 ns16k-whitechapel-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2390 machine=mg1
Dave Love <fx@gnu.org>
parents:
diff changeset
2391 ## We don't know what sort of OS runs on these; we'll let the
Dave Love <fx@gnu.org>
parents:
diff changeset
2392 ## operating system guessing code below try.
Dave Love <fx@gnu.org>
parents:
diff changeset
2393 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2394
Dave Love <fx@gnu.org>
parents:
diff changeset
2395 ## Wicat
Dave Love <fx@gnu.org>
parents:
diff changeset
2396 m68*-wicat-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2397 machine=wicat opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2398 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2399
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2400 ## IA-64
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2401 ia64*-*-linux* )
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2402 machine=ia64 opsys=gnu-linux
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2403 ;;
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2404
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2405 ## Intel 386 machines where we don't care about the manufacturer
Dave Love <fx@gnu.org>
parents:
diff changeset
2406 i[3456]86-*-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2407 machine=intel386
Dave Love <fx@gnu.org>
parents:
diff changeset
2408 case "${canonical}" in
29654
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29388
diff changeset
2409 *-lynxos* ) opsys=lynxos ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2410 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2411 *-isc2.2* ) opsys=isc2-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2412 *-isc4.0* ) opsys=isc4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2413 *-isc4.* ) opsys=isc4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
2414 GCC_TEST_OPTIONS=-posix
Dave Love <fx@gnu.org>
parents:
diff changeset
2415 NON_GCC_TEST_OPTIONS=-Xp
Dave Love <fx@gnu.org>
parents:
diff changeset
2416 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2417 *-isc* ) opsys=isc3-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2418 *-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2419 *-esix* ) opsys=esix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2420 *-xenix* ) opsys=xenix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2421 *-linux-gnu* ) opsys=gnu-linux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2422 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2423 *-sco3.2v5* ) opsys=sco5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2424 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2425 # Prevent -belf from being passed to $CPP.
Dave Love <fx@gnu.org>
parents:
diff changeset
2426 # /lib/cpp does not accept it.
Dave Love <fx@gnu.org>
parents:
diff changeset
2427 OVERRIDE_CPPFLAGS=" "
Dave Love <fx@gnu.org>
parents:
diff changeset
2428 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2429 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2430 *-386bsd* ) opsys=386bsd ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2431 *-nextstep* ) opsys=nextstep ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2432 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
Dave Love <fx@gnu.org>
parents:
diff changeset
2433 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2434 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2435
Dave Love <fx@gnu.org>
parents:
diff changeset
2436 ## m68k Linux-based GNU system
Dave Love <fx@gnu.org>
parents:
diff changeset
2437 m68k-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2438 machine=m68k opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2439 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2440
Dave Love <fx@gnu.org>
parents:
diff changeset
2441 ## Mips Linux-based GNU system
Dave Love <fx@gnu.org>
parents:
diff changeset
2442 mips-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2443 machine=mips opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2444 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2445
Dave Love <fx@gnu.org>
parents:
diff changeset
2446 ## UXP/DS
Dave Love <fx@gnu.org>
parents:
diff changeset
2447 sparc-fujitsu-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2448 machine=sparc opsys=uxpds
Dave Love <fx@gnu.org>
parents:
diff changeset
2449 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2450 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2451 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2452
Dave Love <fx@gnu.org>
parents:
diff changeset
2453 ## UXP/V
Dave Love <fx@gnu.org>
parents:
diff changeset
2454 f301-fujitsu-uxpv4.1)
Dave Love <fx@gnu.org>
parents:
diff changeset
2455 machine=f301 opsys=uxpv
Dave Love <fx@gnu.org>
parents:
diff changeset
2456 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2457
Dave Love <fx@gnu.org>
parents:
diff changeset
2458 * )
Dave Love <fx@gnu.org>
parents:
diff changeset
2459 unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2460 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2461 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2462
Dave Love <fx@gnu.org>
parents:
diff changeset
2463 ### If the code above didn't choose an operating system, just choose
Dave Love <fx@gnu.org>
parents:
diff changeset
2464 ### an operating system based on the configuration name. You really
Dave Love <fx@gnu.org>
parents:
diff changeset
2465 ### only want to use this when you have no idea what the right
Dave Love <fx@gnu.org>
parents:
diff changeset
2466 ### operating system is; if you know what operating systems a machine
Dave Love <fx@gnu.org>
parents:
diff changeset
2467 ### runs, it's cleaner to make it explicit in the case statement
Dave Love <fx@gnu.org>
parents:
diff changeset
2468 ### above.
Dave Love <fx@gnu.org>
parents:
diff changeset
2469 if test x"${opsys}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2470 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2471 *-gnu* ) opsys=gnu ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2472 *-bsd4.[01] ) opsys=bsd4-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2473 *-bsd4.2 ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2474 *-bsd4.3 ) opsys=bsd4-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2475 *-sysv0 | *-sysvr0 ) opsys=usg5-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2476 *-sysv2 | *-sysvr2 ) opsys=usg5-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2477 *-sysv2.2 | *-sysvr2.2 ) opsys=usg5-2-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2478 *-sysv3* | *-sysvr3* ) opsys=usg5-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2479 *-sysv4.2uw* ) opsys=unixware ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2480 *-sysv4.1* | *-sysvr4.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2481 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2482 opsys=usg5-4 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2483 *-sysv4.[2-9]* | *-sysvr4.[2-9]* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2484 if [ x$NON_GNU_CPP = x ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2485 if [ -f /usr/ccs/lib/cpp ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2486 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2487 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2488 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2489 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2490 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2491 opsys=usg5-4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2492 *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2493 * )
Dave Love <fx@gnu.org>
parents:
diff changeset
2494 unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2495 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2496 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2497 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2498
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2499
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2500 if test $unported = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2501 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2502 Check \`etc/MACHINES' for recognized configuration names." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2503 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2504 Check \`etc/MACHINES' for recognized configuration names." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2505 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2506 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2507
Dave Love <fx@gnu.org>
parents:
diff changeset
2508 machfile="m/${machine}.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2509 opsysfile="s/${opsys}.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2510
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2511
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2512 #### Choose a compiler.
Dave Love <fx@gnu.org>
parents:
diff changeset
2513 test -n "$CC" && cc_specified=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2514
Dave Love <fx@gnu.org>
parents:
diff changeset
2515 # Save the value of CFLAGS that the user specified.
Dave Love <fx@gnu.org>
parents:
diff changeset
2516 SPECIFIED_CFLAGS="$CFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
2517
Dave Love <fx@gnu.org>
parents:
diff changeset
2518 case ${with_gcc} in
Dave Love <fx@gnu.org>
parents:
diff changeset
2519 "yes" ) CC="gcc" GCC=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2520 "no" ) : ${CC=cc} ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2521 * )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2522 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2523 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2524 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2528 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2530 set dummy ${ac_tool_prefix}gcc; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2531 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2533 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2535 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2536 if test -n "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2537 ac_cv_prog_CC="$CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2538 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2540 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2541 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2542 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2543 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2544 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2546 ac_cv_prog_CC="${ac_tool_prefix}gcc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2548 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2549 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2550 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2551 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2552
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2553 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2554 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2555 CC=$ac_cv_prog_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2556 if test -n "$CC"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2557 echo "$as_me:$LINENO: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2558 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2559 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2560 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2561 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2562 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2563
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2564 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2565 if test -z "$ac_cv_prog_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2566 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2567 # Extract the first word of "gcc", so it can be a program name with args.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2568 set dummy gcc; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2569 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2573 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2574 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2576 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2578 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2579 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2580 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2581 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2582 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2584 ac_cv_prog_ac_ct_CC="gcc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2586 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2587 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2588 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2589 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2590
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2591 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2592 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2594 if test -n "$ac_ct_CC"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2596 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2597 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2598 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2599 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2600 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2601
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2602 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2603 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2604 CC="$ac_cv_prog_CC"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2605 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2606
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2607 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2608 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2610 set dummy ${ac_tool_prefix}cc; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2611 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2613 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2615 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2616 if test -n "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2617 ac_cv_prog_CC="$CC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
2618 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2620 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2621 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2622 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2623 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2624 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2626 ac_cv_prog_CC="${ac_tool_prefix}cc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2628 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2629 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2630 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2631 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2632
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2633 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2634 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2635 CC=$ac_cv_prog_CC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2636 if test -n "$CC"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2637 echo "$as_me:$LINENO: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2638 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2639 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2640 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2641 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2642 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2643
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2644 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2645 if test -z "$ac_cv_prog_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2646 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2647 # Extract the first word of "cc", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2648 set dummy cc; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2649 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2653 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2654 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2656 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2658 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2659 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2660 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2661 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2662 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2664 ac_cv_prog_ac_ct_CC="cc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2666 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2667 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2668 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2669 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2670
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2671 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2672 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2674 if test -n "$ac_ct_CC"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2676 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2677 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2678 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2679 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2680 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2681
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2682 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2683 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2684 CC="$ac_cv_prog_CC"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2685 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2686
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2687 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2688 if test -z "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2689 # Extract the first word of "cc", so it can be a program name with args.
Dave Love <fx@gnu.org>
parents:
diff changeset
2690 set dummy cc; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2691 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2693 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2695 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2696 if test -n "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2697 ac_cv_prog_CC="$CC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
2698 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2699 ac_prog_rejected=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2701 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2702 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2703 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2704 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2705 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2708 ac_prog_rejected=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2709 continue
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2710 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2711 ac_cv_prog_CC="cc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2713 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2714 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2715 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2716 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2717
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2718 if test $ac_prog_rejected = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2719 # We found a bogon in the path, so make sure we never use it.
Dave Love <fx@gnu.org>
parents:
diff changeset
2720 set dummy $ac_cv_prog_CC
Dave Love <fx@gnu.org>
parents:
diff changeset
2721 shift
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2722 if test $# != 0; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2723 # We chose a different compiler from the bogus one.
Dave Love <fx@gnu.org>
parents:
diff changeset
2724 # However, it has the same basename, so the bogon will be chosen
Dave Love <fx@gnu.org>
parents:
diff changeset
2725 # first if we set CC to just the basename; use the full file name.
Dave Love <fx@gnu.org>
parents:
diff changeset
2726 shift
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2727 set dummy "$as_dir/$ac_word" ${1+"$@"}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2728 shift
Dave Love <fx@gnu.org>
parents:
diff changeset
2729 ac_cv_prog_CC="$@"
Dave Love <fx@gnu.org>
parents:
diff changeset
2730 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2731 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2732 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2733 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2734 CC=$ac_cv_prog_CC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2735 if test -n "$CC"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2736 echo "$as_me:$LINENO: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2737 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2738 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2739 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2740 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2741 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2742
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2743 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2744 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2745 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2746 for ac_prog in cl
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2747 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2750 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2752 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2753 echo $ECHO_N "(cached) $ECHO_C" >&6
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2754 else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2755 if test -n "$CC"; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2756 ac_cv_prog_CC="$CC" # Let the user override the test.
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2757 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2759 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2760 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2761 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2762 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2763 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2765 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2767 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2768 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2769 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2770 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2771
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2772 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2773 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2774 CC=$ac_cv_prog_CC
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2775 if test -n "$CC"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2776 echo "$as_me:$LINENO: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2777 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2778 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2779 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2780 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2781 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2782
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2783 test -n "$CC" && break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2784 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2785 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2786 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2787 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2788 for ac_prog in cl
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2789 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2790 # Extract the first word of "$ac_prog", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2791 set dummy $ac_prog; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2792 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2794 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2796 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2797 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2798 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2799 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2801 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2802 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2803 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2804 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2805 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2807 ac_cv_prog_ac_ct_CC="$ac_prog"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2809 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2810 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2811 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2812 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2813
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2814 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2815 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2816 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2817 if test -n "$ac_ct_CC"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2818 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2819 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2820 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2821 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2822 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2823 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2824
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2825 test -n "$ac_ct_CC" && break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2826 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2827
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2828 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2829 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2830
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2831 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2832
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2833
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2834 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2835 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2836 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2837
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2838 # Provide some information about the compiler.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2839 echo "$as_me:$LINENO:" \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2840 "checking for C compiler version" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2841 ac_compiler=`set X $ac_compile; echo $2`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2843 (eval $ac_compiler --version </dev/null >&5) 2>&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2844 ac_status=$?
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2846 (exit $ac_status); }
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2848 (eval $ac_compiler -v </dev/null >&5) 2>&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2849 ac_status=$?
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2851 (exit $ac_status); }
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2853 (eval $ac_compiler -V </dev/null >&5) 2>&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2854 ac_status=$?
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2856 (exit $ac_status); }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2857
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2858 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2859 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2860 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2861
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2862 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2863 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2864 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2865 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2866 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2867 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2868 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2869 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2870 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2871
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2872 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2873 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2874 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2875 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2876 ac_clean_files_save=$ac_clean_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2877 ac_clean_files="$ac_clean_files a.out a.exe"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2878 # Try to create an executable without -o first, disregard a.out.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2879 # It will help us diagnose broken compilers, and finding out an intuition
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2880 # of exeext.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2881 echo "$as_me:$LINENO: checking for C compiler default output" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2882 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2883 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2884 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2885 (eval $ac_link_default) 2>&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2886 ac_status=$?
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2888 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2889 # Find the output, starting from the most likely. This scheme is
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2890 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2891 # resort.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2892
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2893 # Be careful to initialize this variable, since it used to be cached.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2894 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2895 ac_cv_exeext=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2896 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2897 ls a.out conftest 2>/dev/null;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2898 ls a.* conftest.* 2>/dev/null`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2899 case $ac_file in
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2900 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2901 a.out ) # We found the default executable, but exeext='' is most
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2902 # certainly right.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2903 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2904 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2905 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2906 export ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2907 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2908 * ) break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2909 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2910 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2911 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2912 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2913 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2914 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2915 echo "$as_me: error: C compiler cannot create executables" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2916 { (exit 77); exit 77; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2917 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2918
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2919 ac_exeext=$ac_cv_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2920 echo "$as_me:$LINENO: result: $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2921 echo "${ECHO_T}$ac_file" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2922
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2923 # Check the compiler produces executables we can run. If not, either
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2924 # the compiler is broken, or we cross compile.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2925 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2926 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2927 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2928 # If not cross compiling, check that we can run a simple program.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2929 if test "$cross_compiling" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2930 if { ac_try='./$ac_file'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2932 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2933 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2935 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2936 cross_compiling=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2937 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2938 if test "$cross_compiling" = maybe; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2939 cross_compiling=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2940 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2941 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2942 If you meant to cross compile, use \`--host'." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2943 echo "$as_me: error: cannot run C compiled programs.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2944 If you meant to cross compile, use \`--host'." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2945 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2946 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2947 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2948 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2949 echo "$as_me:$LINENO: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2950 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2951
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2952 rm -f a.out a.exe conftest$ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2953 ac_clean_files=$ac_clean_files_save
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2954 # Check the compiler produces executables we can run. If not, either
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2955 # the compiler is broken, or we cross compile.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2956 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2957 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2958 echo "$as_me:$LINENO: result: $cross_compiling" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2959 echo "${ECHO_T}$cross_compiling" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2960
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2961 echo "$as_me:$LINENO: checking for suffix of executables" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2962 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2964 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2965 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2967 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2968 # If both `conftest.exe' and `conftest' are `present' (well, observable)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2969 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2970 # work properly (i.e., refer to `conftest.exe'), while it won't with
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2971 # `rm'.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2972 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2973 case $ac_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2974 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2975 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2976 export ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2977 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2978 * ) break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2979 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2980 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2981 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2982 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2983 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2984 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2985 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2986
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2987 rm -f conftest$ac_cv_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2988 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2989 echo "${ECHO_T}$ac_cv_exeext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2990
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2991 rm -f conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2992 EXEEXT=$ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2993 ac_exeext=$EXEEXT
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2994 echo "$as_me:$LINENO: checking for suffix of object files" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2995 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2996 if test "${ac_cv_objext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2997 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2998 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2999 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3000 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3001 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3002
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3003 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3004 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3005 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3006 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3007 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3008 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3009 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3010 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3011 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3012
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3013 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3014 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3015 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3016 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3017 rm -f conftest.o conftest.obj
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3019 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3020 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3022 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3023 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3024 case $ac_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3025 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3026 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3027 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3028 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3029 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3030 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3031 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3032 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3033 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3034 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3035 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3036 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3037
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3038 rm -f conftest.$ac_cv_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3039 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3040 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3041 echo "${ECHO_T}$ac_cv_objext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3042 OBJEXT=$ac_cv_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3043 ac_objext=$OBJEXT
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3044 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3045 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3046 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3048 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3049 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3050 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3051 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3052
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3053 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3054 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3055 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3056 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3057 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3058 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3059 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3060 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3061 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3062 #ifndef __GNUC__
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3063 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3064 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3065
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3066 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3067 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3068 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3069 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3070 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3072 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3073 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3075 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3076 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3078 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3079 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3081 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3082 ac_compiler_gnu=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3083 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3084 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3085 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3086 ac_compiler_gnu=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3087 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3088 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3089 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3090
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3091 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3092 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3093 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3094 GCC=`test $ac_compiler_gnu = yes && echo yes`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3095 ac_test_CFLAGS=${CFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3096 ac_save_CFLAGS=$CFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3097 CFLAGS="-g"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3098 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3099 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3100 if test "${ac_cv_prog_cc_g+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3102 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3103 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3104 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3105 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3106
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3107 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3108 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3109 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3110 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3111 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3112 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3113 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3114 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3115 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3116
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3117 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3118 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3119 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3120 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3121 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3123 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3124 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3126 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3127 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3129 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3130 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3132 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3133 ac_cv_prog_cc_g=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
3134 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3135 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3136 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3137 ac_cv_prog_cc_g=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3138 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3139 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3140 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3141 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3142 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3143 if test "$ac_test_CFLAGS" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3144 CFLAGS=$ac_save_CFLAGS
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3145 elif test $ac_cv_prog_cc_g = yes; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3146 if test "$GCC" = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3147 CFLAGS="-g -O2"
Dave Love <fx@gnu.org>
parents:
diff changeset
3148 else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3149 CFLAGS="-g"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3150 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3151 else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3152 if test "$GCC" = yes; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3153 CFLAGS="-O2"
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3154 else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3155 CFLAGS=
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3156 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3157 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3158 # Some people use a C++ compiler to compile C. Since we use `exit',
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3159 # in C++ we need to declare it. In case someone uses the same compiler
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3160 # for both compiling C and C++ we need to have the C++ compiler decide
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3161 # the declaration of exit, since it's the most demanding environment.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3162 cat >conftest.$ac_ext <<_ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3163 #ifndef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3164 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3165 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3166 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3167 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3169 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3170 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3172 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3173 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3175 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3176 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3178 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3179 for ac_declaration in \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3180 ''\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3181 '#include <stdlib.h>' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3182 'extern "C" void std::exit (int) throw (); using std::exit;' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3183 'extern "C" void std::exit (int); using std::exit;' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3184 'extern "C" void exit (int) throw ();' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3185 'extern "C" void exit (int);' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3186 'void exit (int);'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3187 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3188 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3189 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3190 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3191 #include <stdlib.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3192 $ac_declaration
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3193 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3194 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3195 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3196 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3197 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3198 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3199 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3200 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3201 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3202 exit (42);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3203 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3204 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3205 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3206 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3207 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3209 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3210 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3212 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3213 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3215 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3216 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3218 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3219 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3220 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3221 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3222 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3223 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3224 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3225 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3226 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3227 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3228 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3229 $ac_declaration
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3230 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3231 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3232 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3233 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3234 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3235 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3236 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3237 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3238 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3239 exit (42);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3240 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3241 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3242 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3243 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3244 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3246 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3247 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3249 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3250 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3252 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3253 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3255 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3256 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3257 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3258 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3259 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3260 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3261 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3262 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3263 rm -f conftest*
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3264 if test -n "$ac_declaration"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3265 echo '#ifdef __cplusplus' >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3266 echo $ac_declaration >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3267 echo '#endif' >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3268 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3269
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3270 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3271 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3272 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3273 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3274 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3275 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3276 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3280
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3281
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3282 # On Suns, sometimes $CPP names a directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
3283 if test -n "$CPP" && test -d "$CPP"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
3284 CPP=
Dave Love <fx@gnu.org>
parents:
diff changeset
3285 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3286
Dave Love <fx@gnu.org>
parents:
diff changeset
3287 #### Some systems specify a CPP to use unless we are using GCC.
Dave Love <fx@gnu.org>
parents:
diff changeset
3288 #### Now that we know whether we are using GCC, we can decide whether
Dave Love <fx@gnu.org>
parents:
diff changeset
3289 #### to use that one.
Dave Love <fx@gnu.org>
parents:
diff changeset
3290 if test "x$NON_GNU_CPP" != x && test x$GCC != xyes && test "x$CPP" = x
Dave Love <fx@gnu.org>
parents:
diff changeset
3291 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3292 CPP="$NON_GNU_CPP"
Dave Love <fx@gnu.org>
parents:
diff changeset
3293 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3294
Dave Love <fx@gnu.org>
parents:
diff changeset
3295 #### Some systems specify a CC to use unless we are using GCC.
Dave Love <fx@gnu.org>
parents:
diff changeset
3296 #### Now that we know whether we are using GCC, we can decide whether
Dave Love <fx@gnu.org>
parents:
diff changeset
3297 #### to use that one.
Dave Love <fx@gnu.org>
parents:
diff changeset
3298 if test "x$NON_GNU_CC" != x && test x$GCC != xyes &&
Dave Love <fx@gnu.org>
parents:
diff changeset
3299 test x$cc_specified != xyes
Dave Love <fx@gnu.org>
parents:
diff changeset
3300 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3301 CC="$NON_GNU_CC"
Dave Love <fx@gnu.org>
parents:
diff changeset
3302 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3303
Dave Love <fx@gnu.org>
parents:
diff changeset
3304 if test x$GCC = xyes && test "x$GCC_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3305 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3306 CC="$CC $GCC_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3307 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3308
Dave Love <fx@gnu.org>
parents:
diff changeset
3309 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3310 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3311 CC="$CC $NON_GCC_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3312 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3313
Dave Love <fx@gnu.org>
parents:
diff changeset
3314 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3315 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3316 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3317 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3318
Dave Love <fx@gnu.org>
parents:
diff changeset
3319 if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3320 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3321 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3322 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3323
Dave Love <fx@gnu.org>
parents:
diff changeset
3324 #### Some other nice autoconf tests. If you add a test here which
Dave Love <fx@gnu.org>
parents:
diff changeset
3325 #### should make an entry in src/config.h, don't forget to add an
Dave Love <fx@gnu.org>
parents:
diff changeset
3326 #### #undef clause to src/config.h.in for autoconf to modify.
Dave Love <fx@gnu.org>
parents:
diff changeset
3327
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3328 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3329 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3330 LN_S=$as_ln_s
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3331 if test "$LN_S" = "ln -s"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3332 echo "$as_me:$LINENO: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3333 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3334 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3335 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3336 echo "${ECHO_T}no, using $LN_S" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3337 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3338
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3339 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3340 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3344 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3345 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3346 # On Suns, sometimes $CPP names a directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
3347 if test -n "$CPP" && test -d "$CPP"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
3348 CPP=
Dave Love <fx@gnu.org>
parents:
diff changeset
3349 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3350 if test -z "$CPP"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3351 if test "${ac_cv_prog_CPP+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3353 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3354 # Double quotes because CPP needs to be expanded
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3355 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3356 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3357 ac_preproc_ok=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3358 for ac_c_preproc_warn_flag in '' yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3359 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3360 # Use a header file that comes with gcc, so configuring glibc
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3361 # with a fresh cross-compiler works.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3362 # On the NeXT, cc -E runs the code through the compiler's parser,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3363 # not just through cpp. "Syntax error" is here to catch this case.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3364 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3365 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3366 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
3367 #include <assert.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3368 Syntax error
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3369 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3372 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3373 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3374 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3375 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3377 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3378 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3379 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3380 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3381 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3382 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3383 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3384 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3385 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3386 if test -z "$ac_cpp_err"; then
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3387 :
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3388 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3389 echo "$as_me: failed program was:" >&5
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3390 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3391 # Broken: fails on valid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3392 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3393 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3394 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3395
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3396 # OK, works on sane cases. Now check whether non-existent headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3397 # can be detected and how.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3398 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3399 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3400 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3401 #include <ac_nonexistent.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3402 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3405 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3406 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3407 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3408 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3410 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3411 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3412 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3413 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3414 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3415 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3416 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3417 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3418 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3419 if test -z "$ac_cpp_err"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3420 # Broken: success on invalid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3421 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3422 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3423 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3424 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3425 # Passes both tests.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3426 ac_preproc_ok=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3427 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3428 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3429 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3430
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3431 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3433 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3434 if $ac_preproc_ok; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3435 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3436 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3437
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3438 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3439 ac_cv_prog_CPP=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3440
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3441 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3442 CPP=$ac_cv_prog_CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3443 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3444 ac_cv_prog_CPP=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3445 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3446 echo "$as_me:$LINENO: result: $CPP" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3447 echo "${ECHO_T}$CPP" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3448 ac_preproc_ok=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3449 for ac_c_preproc_warn_flag in '' yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3450 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3451 # Use a header file that comes with gcc, so configuring glibc
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3452 # with a fresh cross-compiler works.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3453 # On the NeXT, cc -E runs the code through the compiler's parser,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3454 # not just through cpp. "Syntax error" is here to catch this case.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3455 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3456 #line $LINENO "configure"
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3457 #include "confdefs.h"
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3458 #include <assert.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3459 Syntax error
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3460 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3463 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3464 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3465 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3466 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3468 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3469 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3470 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3471 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3472 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3473 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3474 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3475 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3476 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3477 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3478 :
Dave Love <fx@gnu.org>
parents:
diff changeset
3479 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3480 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3481 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3482 # Broken: fails on valid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3483 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3484 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3485 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3486
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3487 # OK, works on sane cases. Now check whether non-existent headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3488 # can be detected and how.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3489 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3490 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3491 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3492 #include <ac_nonexistent.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3493 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3496 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3497 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3498 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3499 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3501 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3502 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3503 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3504 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3505 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3506 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3507 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3508 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3509 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3510 if test -z "$ac_cpp_err"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3511 # Broken: success on invalid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3512 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3513 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3514 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3515 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3516 # Passes both tests.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3517 ac_preproc_ok=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3518 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3519 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3520 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3521
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3522 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3524 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3525 if $ac_preproc_ok; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3526 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3527 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3528 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3529 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3530 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3531 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3532
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3533 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3534 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3538
Dave Love <fx@gnu.org>
parents:
diff changeset
3539 # Find a good install program. We prefer a C program (faster),
Dave Love <fx@gnu.org>
parents:
diff changeset
3540 # so one script is as good as another. But avoid the broken or
Dave Love <fx@gnu.org>
parents:
diff changeset
3541 # incompatible versions:
Dave Love <fx@gnu.org>
parents:
diff changeset
3542 # SysV /etc/install, /usr/sbin/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3543 # SunOS /usr/etc/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3544 # IRIX /sbin/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3545 # AIX /bin/install
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3546 # AmigaOS /C/install, which installs bootblocks on floppy discs
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3547 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3548 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
Dave Love <fx@gnu.org>
parents:
diff changeset
3549 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
Dave Love <fx@gnu.org>
parents:
diff changeset
3550 # ./install, which can be erroneously created by make from ./install.sh.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3551 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3552 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3553 if test -z "$INSTALL"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3554 if test "${ac_cv_path_install+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3556 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3558 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3559 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3560 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3561 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3562 # Account for people who put trailing slashes in PATH elements.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3563 case $as_dir/ in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3564 ./ | .// | /cC/* | \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3565 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3566 /usr/ucb/* ) ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3567 *)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3568 # OSF1 and SCO ODT 3.0 have their own names for install.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3569 # Don't use installbsd from OSF since it installs stuff as root
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3570 # by default.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3571 for ac_prog in ginstall scoinst install; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3572 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3573 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3574 if test $ac_prog = install &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3575 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3576 # AIX install. It has an incompatible calling convention.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3577 :
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3578 elif test $ac_prog = install &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3579 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3580 # program-specific install script used by HP pwplus--don't use.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3581 :
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3582 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3584 break 3
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3585 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3586 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3587 done
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3588 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3589 ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3590 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3591 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3592
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3593
Dave Love <fx@gnu.org>
parents:
diff changeset
3594 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3595 if test "${ac_cv_path_install+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3596 INSTALL=$ac_cv_path_install
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3597 else
Dave Love <fx@gnu.org>
parents:
diff changeset
3598 # As a last resort, use the slow shell script. We don't cache a
Dave Love <fx@gnu.org>
parents:
diff changeset
3599 # path for INSTALL within a source directory, because that will
Dave Love <fx@gnu.org>
parents:
diff changeset
3600 # break other packages using the cache if that directory is
Dave Love <fx@gnu.org>
parents:
diff changeset
3601 # removed, or if the path is relative.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3602 INSTALL=$ac_install_sh
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3603 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3604 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3605 echo "$as_me:$LINENO: result: $INSTALL" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3606 echo "${ECHO_T}$INSTALL" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3607
Dave Love <fx@gnu.org>
parents:
diff changeset
3608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
Dave Love <fx@gnu.org>
parents:
diff changeset
3609 # It thinks the first close brace ends the variable substitution.
Dave Love <fx@gnu.org>
parents:
diff changeset
3610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
Dave Love <fx@gnu.org>
parents:
diff changeset
3611
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3613
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
Dave Love <fx@gnu.org>
parents:
diff changeset
3615
Dave Love <fx@gnu.org>
parents:
diff changeset
3616 for ac_prog in 'bison -y' byacc
Dave Love <fx@gnu.org>
parents:
diff changeset
3617 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3618 # Extract the first word of "$ac_prog", so it can be a program name with args.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3619 set dummy $ac_prog; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3620 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3622 if test "${ac_cv_prog_YACC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3624 else
Dave Love <fx@gnu.org>
parents:
diff changeset
3625 if test -n "$YACC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
3626 ac_cv_prog_YACC="$YACC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
3627 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3629 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3630 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3631 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3632 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3633 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3635 ac_cv_prog_YACC="$ac_prog"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3637 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3638 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3639 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3640 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3641
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3642 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3643 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3644 YACC=$ac_cv_prog_YACC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3645 if test -n "$YACC"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3646 echo "$as_me:$LINENO: result: $YACC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3647 echo "${ECHO_T}$YACC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3648 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3649 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3650 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3651 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3652
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3653 test -n "$YACC" && break
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3654 done
Dave Love <fx@gnu.org>
parents:
diff changeset
3655 test -n "$YACC" || YACC="yacc"
Dave Love <fx@gnu.org>
parents:
diff changeset
3656
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3657 if test "x$RANLIB" = x; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3658 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3659 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3660 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3661 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3663 if test "${ac_cv_prog_RANLIB+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3665 else
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3666 if test -n "$RANLIB"; then
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3667 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3668 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3670 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3671 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3672 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3673 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3674 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3676 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3678 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3679 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3680 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3681 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3682
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3683 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3684 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3685 RANLIB=$ac_cv_prog_RANLIB
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3686 if test -n "$RANLIB"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3687 echo "$as_me:$LINENO: result: $RANLIB" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3688 echo "${ECHO_T}$RANLIB" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3689 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3690 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3691 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3692 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3693
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3694 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3695 if test -z "$ac_cv_prog_RANLIB"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3696 ac_ct_RANLIB=$RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3697 # Extract the first word of "ranlib", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3698 set dummy ranlib; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3699 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3701 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3703 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3704 if test -n "$ac_ct_RANLIB"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3705 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3706 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3708 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3709 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3710 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3711 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3712 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3714 ac_cv_prog_ac_ct_RANLIB="ranlib"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3716 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3717 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3718 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3719 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3720
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3721 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3722 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3723 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3724 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3725 if test -n "$ac_ct_RANLIB"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3726 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3727 echo "${ECHO_T}$ac_ct_RANLIB" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3728 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3729 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3730 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3731 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3732
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3733 RANLIB=$ac_ct_RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3734 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3735 RANLIB="$ac_cv_prog_RANLIB"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3736 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3737
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3738 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3739
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3740
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3741
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3742
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3743 echo "$as_me:$LINENO: checking for AIX" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3744 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3745 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3746 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3747 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
3748 #ifdef _AIX
Dave Love <fx@gnu.org>
parents:
diff changeset
3749 yes
Dave Love <fx@gnu.org>
parents:
diff changeset
3750 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
3751
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3752 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
3754 egrep "yes" >/dev/null 2>&1; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3755 echo "$as_me:$LINENO: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3756 echo "${ECHO_T}yes" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3757 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3758 #define _ALL_SOURCE 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3759 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3760
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3761 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3762 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3763 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3764 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3765 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
3766
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3767
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3768
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3769 #### Extract some information from the operating system and machine files.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3770
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3771 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3772 - which libraries the lib-src programs will want, and
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3773 - whether the GNU malloc routines are usable..." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3774 echo "$as_me: checking the machine- and system-dependent files to find out
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3775 - which libraries the lib-src programs will want, and
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3776 - whether the GNU malloc routines are usable..." >&6;}
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3777
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3778 ### First figure out CFLAGS (which we use for running the compiler here)
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3779 ### and REAL_CFLAGS (which we use for real compilation).
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3780 ### The two are the same except on a few systems, where they are made
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3781 ### different to work around various lossages. For example,
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3782 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3783 ### as implying static linking.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3784
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3785 ### If the CFLAGS env var is specified, we use that value
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3786 ### instead of the default.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3787
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3788 ### It's not important that this name contain the PID; you can't run
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3789 ### two configures in the same directory and have anything work
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3790 ### anyway.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3791 tempcname="conftest.c"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3792
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3793 echo '
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3794 #include "'${srcdir}'/src/'${opsysfile}'"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3795 #include "'${srcdir}'/src/'${machfile}'"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3796 #ifndef LIBS_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3797 #define LIBS_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3798 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3799 #ifndef LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3800 #define LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3801 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3802 #ifndef C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3803 #define C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3804 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3805 #ifndef C_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3806 #define C_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3807 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3808 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3809 configure___ c_switch_system=C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3810 configure___ c_switch_machine=C_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3811
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3812 #ifndef LIB_X11_LIB
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3813 #define LIB_X11_LIB -lX11
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3814 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3815
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3816 #ifndef LIBX11_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3817 #define LIBX11_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3818 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3819
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3820 #ifndef LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3821 #define LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3822 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3823 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3824
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3825 #ifdef UNEXEC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3826 configure___ unexec=UNEXEC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3827 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3828 configure___ unexec=unexec.o
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3829 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3830
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3831 #ifdef SYSTEM_MALLOC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3832 configure___ system_malloc=yes
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3833 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3834 configure___ system_malloc=no
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3835 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3836
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3837 #ifdef USE_MMAP_FOR_BUFFERS
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3838 configure___ use_mmap_for_buffers=yes
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3839 #else
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3840 configure___ use_mmap_for_buffers=no
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3841 #endif
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3842
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3843 #ifndef C_DEBUG_SWITCH
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3844 #define C_DEBUG_SWITCH -g
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3845 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3846
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3847 #ifndef C_OPTIMIZE_SWITCH
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3848 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3849 #define C_OPTIMIZE_SWITCH -O2
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3850 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3851 #define C_OPTIMIZE_SWITCH -O
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3852 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3853 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3854
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3855 #ifndef LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3856 #define LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3857 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3858
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3859 #ifndef LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3860 #define LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3861 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3862
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3863 #ifndef LD_SWITCH_X_SITE_AUX
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3864 #define LD_SWITCH_X_SITE_AUX
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3865 #endif
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3866
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3867 configure___ ld_switch_system=LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3868 configure___ ld_switch_machine=LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3869
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3870 #ifdef THIS_IS_CONFIGURE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3871
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3872 /* Get the CFLAGS for tests in configure. */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3873 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3874 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3875 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3876 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3877 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3878
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3879 #else /* not THIS_IS_CONFIGURE */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3880
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3881 /* Get the CFLAGS for real compilation. */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3882 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3883 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3884 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3885 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3886 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3887
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3888 #endif /* not THIS_IS_CONFIGURE */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3889 ' > ${tempcname}
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3890
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3891 # The value of CPP is a quoted variable reference, so we need to do this
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3892 # to get its actual value...
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3893 CPP=`eval "echo $CPP"`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3894 eval `${CPP} -Isrc ${tempcname} \
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3895 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3896 if test "x$SPECIFIED_CFLAGS" = x; then
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3897 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3898 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3899 else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3900 REAL_CFLAGS="$CFLAGS"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3901 fi
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3902 rm ${tempcname}
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3903
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3904 ac_link="$ac_link $ld_switch_machine $ld_switch_system"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3905
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3906 ### Make sure subsequent tests use flags consistent with the build flags.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3907
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3908 if test x"${OVERRIDE_CPPFLAGS}" != x; then
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3909 CPPFLAGS="${OVERRIDE_CPPFLAGS}"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3910 else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3911 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3912 fi
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3913
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3914 # Check whether --enable-largefile or --disable-largefile was given.
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3915 if test "${enable_largefile+set}" = set; then
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3916 enableval="$enable_largefile"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3917
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3918 fi;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3919 if test "$enable_largefile" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3920
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3921 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3922 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3923 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3925 else
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3926 ac_cv_sys_largefile_CC=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3927 if test "$GCC" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3928 ac_save_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3929 while :; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3930 # IRIX 6.2 and later do not support large files by default,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3931 # so use the C compiler's -n32 option if that helps.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3932 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3933 #line $LINENO "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3934 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3935 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3936 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3938 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3939 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3940 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3942 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3943 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3944 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3945 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3946 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3947 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3948 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3949 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3950 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3951 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3952 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3953
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3954 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3955 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3956 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3957 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3958 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3960 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3961 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3963 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3964 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3966 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3967 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3969 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3970 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3971 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3972 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3973 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3974 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3975 rm -f conftest.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3976 CC="$CC -n32"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3977 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3979 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3980 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3982 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3983 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3985 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3986 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3988 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3989 ac_cv_sys_largefile_CC=' -n32'; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3990 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3991 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3992 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3993 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3994 rm -f conftest.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3995 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3996 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3997 CC=$ac_save_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3998 rm -f conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3999 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4000 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4001 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4002 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4003 if test "$ac_cv_sys_largefile_CC" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4004 CC=$CC$ac_cv_sys_largefile_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4005 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4006
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4007 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4008 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4009 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4011 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4012 while :; do
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4013 ac_cv_sys_file_offset_bits=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4014 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4015 #line $LINENO "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4016 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4017 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4018 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4019 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4020 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4021 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4022 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4023 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4024 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4025 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4026 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4027 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4028 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4029 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4030 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4031 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4032 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4033 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4034 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4035
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4036 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4037 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4038 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4039 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4040 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4042 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4043 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4045 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4046 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4048 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4049 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4051 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4052 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4053 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4054 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4055 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4056 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4057 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4058 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4059 #line $LINENO "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4060 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4061 #define _FILE_OFFSET_BITS 64
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4062 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4063 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4064 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4065 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4066 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4067 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4068 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4069 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4070 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4071 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4072 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4073 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4074 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4075 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4076 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4077 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4078 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4079 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4080
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4081 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4082 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4083 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4084 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4085 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4087 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4088 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4090 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4091 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4093 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4094 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4096 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4097 ac_cv_sys_file_offset_bits=64; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4098 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4099 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4100 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4101 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4102 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4103 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4104 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4105 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4106 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4107 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4108 if test "$ac_cv_sys_file_offset_bits" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4109
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4110 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4111 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4112 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4113
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4114 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4115 rm -f conftest*
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4116 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4117 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4118 if test "${ac_cv_sys_large_files+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4120 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4121 while :; do
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
4122 ac_cv_sys_large_files=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4123 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4124 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4125 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4126 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4127 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4128 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4129 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4130 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4131 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4132 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4133 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4134 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4135 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4136 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4137 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4138 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4139 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4140 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4141 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4142 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4143 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4144
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4145 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4146 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4147 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4148 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4149 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4151 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4152 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4154 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4155 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4157 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4158 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4160 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4161 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4162 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4163 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4164 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4165 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4166 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4167 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4168 #line $LINENO "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4169 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4170 #define _LARGE_FILES 1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4171 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4172 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4173 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4174 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4175 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4176 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4177 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4178 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4179 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4180 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4181 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4182 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4183 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4184 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4185 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4186 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4187 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4188 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4189
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4190 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4191 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4192 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4193 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4194 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4196 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4197 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4199 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4200 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4202 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4203 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4205 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4206 ac_cv_sys_large_files=1; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4207 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4208 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4209 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4210 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4211 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4212 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4213 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4214 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4215 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4216 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4217 if test "$ac_cv_sys_large_files" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4218
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4219 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4220 #define _LARGE_FILES $ac_cv_sys_large_files
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4221 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4222
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4223 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4224 rm -f conftest*
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4225 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
4226
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4227
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
4228 if test "${with_sound}" != "no"; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
4229 # Sound support for GNU/Linux and the free BSDs.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4230 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4231 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4232 if test "${ac_cv_header_stdc+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4233 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4234 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4235 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4236 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4237 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4238 #include <stdlib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4239 #include <stdarg.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4240 #include <string.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4241 #include <float.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4242
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4243 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4246 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4247 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4248 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4249 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4251 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4252 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4253 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4254 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4255 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4256 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4257 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4258 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4259 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4260 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4261 ac_cv_header_stdc=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4262 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4263 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4264 cat conftest.$ac_ext >&5
Dave Love <fx@gnu.org>
parents:
diff changeset
4265 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4266 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4267 rm -f conftest.err conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4268
Dave Love <fx@gnu.org>
parents:
diff changeset
4269 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4270 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4271 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4272 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4273 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4274 #include <string.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4275
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4276 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
4278 egrep "memchr" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4279 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4280 else
Dave Love <fx@gnu.org>
parents:
diff changeset
4281 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4282 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4283 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
4284
Dave Love <fx@gnu.org>
parents:
diff changeset
4285 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4286
Dave Love <fx@gnu.org>
parents:
diff changeset
4287 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4288 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4289 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4290 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4291 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4292 #include <stdlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4293
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4294 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
4296 egrep "free" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4297 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4298 else
Dave Love <fx@gnu.org>
parents:
diff changeset
4299 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4300 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4301 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
4302
Dave Love <fx@gnu.org>
parents:
diff changeset
4303 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4304
Dave Love <fx@gnu.org>
parents:
diff changeset
4305 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4306 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4307 if test "$cross_compiling" = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4308 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4309 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4310 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4311 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4312 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4313 #include <ctype.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4314 #if ((' ' & 0x0FF) == 0x020)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4315 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4316 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4317 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4318 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4319 || ('j' <= (c) && (c) <= 'r') \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4320 || ('s' <= (c) && (c) <= 'z'))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4321 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4322 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4323
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4324 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4325 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4326 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4327 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4328 int i;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4329 for (i = 0; i < 256; i++)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4330 if (XOR (islower (i), ISLOWER (i))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4331 || toupper (i) != TOUPPER (i))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4332 exit(2);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4333 exit (0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4334 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4335 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4336 rm -f conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4338 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4339 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4343 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4344 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4346 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4347 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4348 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4349 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4350 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4351 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4352 ( exit $ac_status )
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4353 ac_cv_header_stdc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4354 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4355 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4356 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4357 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4358 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4359 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4360 echo "${ECHO_T}$ac_cv_header_stdc" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4361 if test $ac_cv_header_stdc = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4362
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4363 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4364 #define STDC_HEADERS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4365 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4366
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4367 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4368
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4369 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4370
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4371
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4372
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4373
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4374
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4375
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4376
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4377
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4378
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4379 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4380 inttypes.h stdint.h unistd.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4381 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4383 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4387 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4388 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4389 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4390 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4391 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4392
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4393 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4394 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4395 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4397 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4398 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4400 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4401 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4403 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4404 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4406 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4407 eval "$as_ac_Header=yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4408 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4409 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4410 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4411 eval "$as_ac_Header=no"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4412 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4413 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4414 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4418 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4420 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4421
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4422 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4423
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4424 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4425
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4426
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4427
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4428
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4429
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4430 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4431 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4434 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4438 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4441 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4442 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4445 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4446 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4447 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4448 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4449 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4450 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4451 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4453 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4454 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4456 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4457 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4459 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4460 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4462 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4463 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4464 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4465 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4466 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4467 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4468 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4469 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4471 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4472
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4473 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4476 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4477 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4478 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4479 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4480 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4483 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4484 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4485 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4486 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4488 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4489 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4490 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4491 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4492 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4493 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4494 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4495 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4496 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4497 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4498 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4499 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4500 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4501 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4502 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4503 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4504 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4506 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4507
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4508 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4509 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4510 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4515 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4522 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4523 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4527 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4528 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4529 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4532
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4533 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4535 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4537 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4538
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4539 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4540
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4541 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4542
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4543 # Emulation library used on NetBSD.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4544 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4545 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4546 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4548 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4549 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4550 LIBS="-lossaudio $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4551 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4552 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4553 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4554
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4555 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4556 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4557 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4558 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4559 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4560 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4561 char _oss_ioctl ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4562 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4563 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4564 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4565 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4566 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4567 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4568 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4569 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4570 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4571 _oss_ioctl ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4572 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4573 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4574 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4575 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4576 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4578 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4579 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4581 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4582 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4584 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4585 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4587 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4588 ac_cv_lib_ossaudio__oss_ioctl=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4589 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4590 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4591 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4592 ac_cv_lib_ossaudio__oss_ioctl=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4593 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4594 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4595 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4596 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4597 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4598 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4599 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4600 LIBSOUND=-lossaudio
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4601 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4602 LIBSOUND=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4603 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4604
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4605
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4606 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4607
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4608
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4609
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4610
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4611
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4612
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4613
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4614
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4615
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4616
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4617
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4618
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4619
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4620
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4621
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4622
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4623
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4624
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4625 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4626 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4627 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4628 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4631 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4635 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4638 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4639 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4642 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4643 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4644 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4645 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4646 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4647 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4648 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4650 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4651 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4653 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4654 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4656 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4657 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4659 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4660 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4661 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4662 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4663 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4664 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4665 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4666 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4668 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4669
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4670 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4673 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4674 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4675 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4676 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4677 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4680 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4681 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4682 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4683 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4685 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4686 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4687 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4688 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4689 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4690 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4691 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4692 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4693 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4694 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4695 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4696 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4697 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4698 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4699 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4700 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4701 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4703 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4704
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4705 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4706 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4707 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4712 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4719 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4720 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4724 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4725 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4726 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4729
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4730 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4732 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4734 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4735
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4736 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4737
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4738 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4739
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4740 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4741 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4742 if test "${ac_cv_header_stdc+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4743 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4744 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4745 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4746 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4747 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4748 #include <stdlib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4749 #include <stdarg.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4750 #include <string.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4751 #include <float.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4752
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4753 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4756 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4757 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4758 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4759 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4761 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4762 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4763 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4764 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4765 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4766 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4767 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4768 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4769 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4770 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4771 ac_cv_header_stdc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4772 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4773 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4774 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4775 ac_cv_header_stdc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4776 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4777 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4778
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4779 if test $ac_cv_header_stdc = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4781 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4782 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4783 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4784 #include <string.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4785
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4786 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4788 egrep "memchr" >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4789 :
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4790 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4791 ac_cv_header_stdc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4792 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4793 rm -f conftest*
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4794
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4795 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4796
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4797 if test $ac_cv_header_stdc = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4798 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4799 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4800 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4801 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4802 #include <stdlib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4803
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4804 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4806 egrep "free" >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4807 :
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4808 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4809 ac_cv_header_stdc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4810 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4811 rm -f conftest*
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4812
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4813 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4814
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4815 if test $ac_cv_header_stdc = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4816 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4817 if test "$cross_compiling" = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4818 :
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4819 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4820 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4821 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4822 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4823 #include <ctype.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4824 #if ((' ' & 0x0FF) == 0x020)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4827 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4828 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4829 || ('j' <= (c) && (c) <= 'r') \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4830 || ('s' <= (c) && (c) <= 'z'))
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4831 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4832 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4833
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4834 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4835 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4836 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4837 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4838 int i;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4839 for (i = 0; i < 256; i++)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4840 if (XOR (islower (i), ISLOWER (i))
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4841 || toupper (i) != TOUPPER (i))
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4842 exit(2);
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4843 exit (0);
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4844 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4845 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4846 rm -f conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4848 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4849 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4853 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4854 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4856 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4857 :
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4858 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4859 echo "$as_me: program exited with status $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4860 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4861 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4862 ( exit $ac_status )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4863 ac_cv_header_stdc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4864 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4865 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4866 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4867 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4868 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4869 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4870 echo "${ECHO_T}$ac_cv_header_stdc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4871 if test $ac_cv_header_stdc = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4872
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4873 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4874 #define STDC_HEADERS 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4875 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4876
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4877 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4878
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4879 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4880 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4881 if test "${ac_cv_header_time+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4883 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4884 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4885 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4886 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4887 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4888 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4889 #include <time.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4890
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4891 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4892 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4893 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4894 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4895 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4896 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4897 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4898 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4899 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4900 if ((struct tm *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4901 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4902 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4903 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4904 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4905 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4906 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4908 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4909 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4911 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4912 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4914 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4915 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4917 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4918 ac_cv_header_time=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4919 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4920 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4921 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4922 ac_cv_header_time=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4923 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4924 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4925 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4926 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4927 echo "${ECHO_T}$ac_cv_header_time" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4928 if test $ac_cv_header_time = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4929
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4930 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4931 #define TIME_WITH_SYS_TIME 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4932 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4933
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4934 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4935
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4936 echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or unistd.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4937 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4938 if test "${ac_cv_decl_sys_siglist+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4939 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4940 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4941 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4942 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4943 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4944 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4945 #include <signal.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4946 /* NetBSD declares sys_siglist in unistd.h. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4947 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4948 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4949 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4950
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4951 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4952 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4953 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4954 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4955 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4956 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4957 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4958 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4959 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4960 char *msg = *(sys_siglist + 1);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4961 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4962 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4963 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4964 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4965 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4967 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4968 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4970 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4971 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4973 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4974 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4976 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4977 ac_cv_decl_sys_siglist=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4978 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4979 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4980 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4981 ac_cv_decl_sys_siglist=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4982 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4983 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4984 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4985 echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4986 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4987 if test $ac_cv_decl_sys_siglist = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4988
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4989 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4990 #define SYS_SIGLIST_DECLARED 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4991 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4992
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4993 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4994
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4995 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4996 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4997 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4999 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5000 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5001 #line $LINENO "configure"
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5002 #include "confdefs.h"
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5003 #include <sys/types.h>
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5004 #include <sys/wait.h>
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5005 #ifndef WEXITSTATUS
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5006 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5007 #endif
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5008 #ifndef WIFEXITED
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5009 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5010 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5011
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5012 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5013 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5014 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5015 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5016 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5017 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5018 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5019 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5020 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5021 int s;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5022 wait (&s);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5023 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5024 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5025 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5026 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5027 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5028 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5030 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5031 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5033 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5034 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5036 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5037 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5039 (exit $ac_status); }; }; then
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5040 ac_cv_header_sys_wait_h=yes
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5041 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5042 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5043 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5044 ac_cv_header_sys_wait_h=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5045 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5046 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5047 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5048 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5049 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5050 if test $ac_cv_header_sys_wait_h = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5051
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5052 cat >>confdefs.h <<\_ACEOF
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
5053 #define HAVE_SYS_WAIT_H 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5054 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5055
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5056 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5057
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5058
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5059 echo "$as_me:$LINENO: checking for struct utimbuf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5060 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5061 if test "${emacs_cv_struct_utimbuf+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5062 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5063 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5064 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5065 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5066 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5067 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
5068 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5069 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5070 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
5071 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
5072 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5073 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
5074 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5075 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
5076 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
5077 #ifdef HAVE_UTIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
5078 #include <utime.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5079 #endif
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5080 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5081 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5082 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5083 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5084 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5085 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5086 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5087 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5088 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5089 static struct utimbuf x; x.actime = x.modtime;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5090 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5091 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5092 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5093 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5094 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5096 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5097 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5099 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5100 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5102 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5103 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5105 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5106 emacs_cv_struct_utimbuf=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5107 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5108 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5109 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5110 emacs_cv_struct_utimbuf=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5111 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5112 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5113 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5114 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5115 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5116 if test $emacs_cv_struct_utimbuf = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5117 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5118 #define HAVE_STRUCT_UTIMBUF 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5119 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5120
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5121 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5122
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5123 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5124 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5125 if test "${ac_cv_type_signal+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5127 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5128 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5129 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5130 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5131 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5132 #include <signal.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5133 #ifdef signal
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5134 # undef signal
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5135 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
5136 #ifdef __cplusplus
Dave Love <fx@gnu.org>
parents:
diff changeset
5137 extern "C" void (*signal (int, void (*)(int)))(int);
Dave Love <fx@gnu.org>
parents:
diff changeset
5138 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
5139 void (*signal ()) ();
Dave Love <fx@gnu.org>
parents:
diff changeset
5140 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
5141
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5142 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5143 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5144 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5145 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5146 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5147 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5148 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5149 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5150 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5151 int i;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5152 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5153 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5154 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5155 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5156 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5158 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5159 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5161 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5162 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5164 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5165 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5167 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5168 ac_cv_type_signal=void
Dave Love <fx@gnu.org>
parents:
diff changeset
5169 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5170 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5171 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5172 ac_cv_type_signal=int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5173 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5174 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5175 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5176 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5177 echo "${ECHO_T}$ac_cv_type_signal" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5178
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5179 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5180 #define RETSIGTYPE $ac_cv_type_signal
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5181 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5182
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5183
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5184
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5185 echo "$as_me:$LINENO: checking for speed_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5186 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5187 if test "${emacs_cv_speed_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5189 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5190 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5191 #line $LINENO "configure"
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
5192 #include "confdefs.h"
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
5193 #include <termios.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5194 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5195 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5196 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5197 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5198 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5199 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5200 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5201 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5202 {
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
5203 speed_t x = 1;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5204 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5205 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5206 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5207 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5208 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5210 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5211 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5213 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5214 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5216 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5217 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5219 (exit $ac_status); }; }; then
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
5220 emacs_cv_speed_t=yes
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
5221 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5222 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5223 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5224 emacs_cv_speed_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5225 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5226 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5227 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5228 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5229 echo "${ECHO_T}$emacs_cv_speed_t" >&6
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
5230 if test $emacs_cv_speed_t = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5231 cat >>confdefs.h <<\_ACEOF
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
5232 #define HAVE_SPEED_T 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5233 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5234
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5235 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5236
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5237 echo "$as_me:$LINENO: checking for struct timeval" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5238 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5239 if test "${emacs_cv_struct_timeval+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5240 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5241 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5242 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5243 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5244 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5245 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
5246 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5247 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5248 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
5249 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
5250 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5251 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
5252 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5253 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
5254 #endif
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5255 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5256 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5257 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5258 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5259 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5260 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5261 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5262 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5263 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5264 static struct timeval x; x.tv_sec = x.tv_usec;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5265 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5266 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5267 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5268 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5269 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5271 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5272 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5274 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5275 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5277 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5278 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5280 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5281 emacs_cv_struct_timeval=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5282 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5283 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5284 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5285 emacs_cv_struct_timeval=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5286 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5287 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5288 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5289 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5290 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5291 HAVE_TIMEVAL=$emacs_cv_struct_timeval
Dave Love <fx@gnu.org>
parents:
diff changeset
5292 if test $emacs_cv_struct_timeval = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5293 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5294 #define HAVE_TIMEVAL 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5295 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5296
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5297 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5298
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5299 echo "$as_me:$LINENO: checking for struct exception" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5300 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5301 if test "${emacs_cv_struct_exception+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5303 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5304 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5305 #line $LINENO "configure"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
5306 #include "confdefs.h"
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
5307 #include <math.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5308 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5309 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5310 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5311 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5312 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5313 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5314 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5315 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5316 {
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
5317 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5318 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5319 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5320 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5321 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5322 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5324 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5325 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5327 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5328 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5330 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5331 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5333 (exit $ac_status); }; }; then
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
5334 emacs_cv_struct_exception=yes
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
5335 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5336 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5337 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5338 emacs_cv_struct_exception=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5339 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5340 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5341 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5342 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5343 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
5344 HAVE_EXCEPTION=$emacs_cv_struct_exception
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
5345 if test $emacs_cv_struct_exception != yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5346 cat >>confdefs.h <<\_ACEOF
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
5347 #define NO_MATHERR 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5348 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5349
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5350 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5351
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5352 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5353 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5354 if test "${ac_cv_struct_tm+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5355 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5356 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5357 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5358 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5359 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5360 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5361 #include <time.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5362
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5363 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5364 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5365 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5366 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5367 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5368 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5369 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5370 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5371 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5372 struct tm *tp; tp->tm_sec;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5373 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5374 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5375 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5376 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5377 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5379 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5380 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5382 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5383 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5385 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5386 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5388 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5389 ac_cv_struct_tm=time.h
Dave Love <fx@gnu.org>
parents:
diff changeset
5390 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5391 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5392 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5393 ac_cv_struct_tm=sys/time.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5394 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5395 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5396 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5397 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5398 echo "${ECHO_T}$ac_cv_struct_tm" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5399 if test $ac_cv_struct_tm = sys/time.h; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5400
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5401 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5402 #define TM_IN_SYS_TIME 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5403 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5404
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5405 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5406
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5407 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5408 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5409 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5410 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5411 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5412 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5413 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5414 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5415 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5416 #include <$ac_cv_struct_tm>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5417
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5418
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5419 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5420 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5421 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5422 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5423 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5424 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5425 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5426 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5427 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5428 static struct tm ac_aggr;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5429 if (ac_aggr.tm_zone)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5430 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5431 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5432 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5433 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5434 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5435 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5437 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5438 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5440 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5441 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5443 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5444 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5446 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5447 ac_cv_member_struct_tm_tm_zone=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5448 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5449 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5450 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5451 ac_cv_member_struct_tm_tm_zone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5452 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5453 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5454 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5455 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5456 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5457 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5458
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5459 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5460 #define HAVE_STRUCT_TM_TM_ZONE 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5461 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5462
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5463
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5464 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5465
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5466 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5467
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5468 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5469 #define HAVE_TM_ZONE 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5470 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5471
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5472 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5473 echo "$as_me:$LINENO: checking for tzname" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5474 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5475 if test "${ac_cv_var_tzname+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5476 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5477 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5478 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5479 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5480 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5481 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5482 #ifndef tzname /* For SGI. */
Dave Love <fx@gnu.org>
parents:
diff changeset
5483 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
Dave Love <fx@gnu.org>
parents:
diff changeset
5484 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5485
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5486 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5487 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5488 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5489 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5490 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5491 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5492 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5493 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5494 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5495 atoi(*tzname);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5496 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5497 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5498 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5499 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5500 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5502 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5503 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5505 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5506 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5508 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5509 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5511 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5512 ac_cv_var_tzname=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5513 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5514 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5515 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5516 ac_cv_var_tzname=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5517 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5519 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5520 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5521 echo "${ECHO_T}$ac_cv_var_tzname" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5522 if test $ac_cv_var_tzname = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5523
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5524 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5525 #define HAVE_TZNAME 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5526 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5527
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5528 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5529 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5530
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5531 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5532 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5533 if test "${emacs_cv_tm_gmtoff+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5535 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5536 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5537 #line $LINENO "configure"
26081
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
5538 #include "confdefs.h"
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
5539 #include <time.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5540 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5541 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5542 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5543 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5544 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5545 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5546 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5547 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5548 {
26081
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
5549 struct tm t; t.tm_gmtoff = 0
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5550 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5551 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5552 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5553 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5554 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5556 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5557 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5559 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5560 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5562 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5563 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5565 (exit $ac_status); }; }; then
26081
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
5566 emacs_cv_tm_gmtoff=yes
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
5567 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5568 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5569 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5570 emacs_cv_tm_gmtoff=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5571 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5573 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5574 echo "$as_me:$LINENO: result: $emacs_cv_tm_gmtoff" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5575 echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6
26081
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
5576 if test $emacs_cv_tm_gmtoff = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5577 cat >>confdefs.h <<\_ACEOF
26081
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
5578 #define HAVE_TM_GMTOFF 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5579 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5580
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5581 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5582
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5583
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5584 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5585 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5586 if test "${ac_cv_prog_cc_stdc+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5587 echo $ECHO_N "(cached) $ECHO_C" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5588 else
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5589 ac_cv_prog_cc_stdc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5590 ac_save_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5591 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5592 #line $LINENO "configure"
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5593 #include "confdefs.h"
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5594 #include <stdarg.h>
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5595 #include <stdio.h>
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5596 #include <sys/types.h>
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5597 #include <sys/stat.h>
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5599 struct buf { int x; };
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5601 static char *e (p, i)
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5602 char **p;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5603 int i;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5604 {
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5605 return p[i];
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5606 }
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5607 static char *f (char * (*g) (char **, int), char **p, ...)
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5608 {
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5609 char *s;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5610 va_list v;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5611 va_start (v,p);
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5612 s = g (p, va_arg (v,int));
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5613 va_end (v);
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5614 return s;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5615 }
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5616 int test (int i, double x);
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5617 struct s1 {int (*f) (int a);};
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5618 struct s2 {int (*f) (double a);};
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5619 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5620 int argc;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5621 char **argv;
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5622 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5623 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5624 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5625 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5626 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5627 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5628 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5629 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5630 {
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5631 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5632 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5633 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5634 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5635 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5636 # Don't try gcc -ansi; that turns off useful extensions and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5637 # breaks some systems' header files.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5638 # AIX -qlanglvl=ansi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5639 # Ultrix and OSF/1 -std1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5640 # HP-UX 10.20 and later -Ae
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5641 # HP-UX older versions -Aa -D_HPUX_SOURCE
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5642 # SVR4 -Xc -D__EXTENSIONS__
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5643 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5644 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5645 CC="$ac_save_CC $ac_arg"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5646 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5648 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5649 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5651 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5652 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5654 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5655 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5657 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5658 ac_cv_prog_cc_stdc=$ac_arg
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5659 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5660 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5661 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5662 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5663 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5664 rm -f conftest.$ac_objext
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5665 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5666 rm -f conftest.$ac_ext conftest.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5667 CC=$ac_save_CC
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5668
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5669 fi
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5670
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5671 case "x$ac_cv_prog_cc_stdc" in
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5672 x|xno)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5673 echo "$as_me:$LINENO: result: none needed" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5674 echo "${ECHO_T}none needed" >&6 ;;
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5675 *)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5676 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5677 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5678 CC="$CC $ac_cv_prog_cc_stdc" ;;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5679 esac
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5680
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5681 echo "$as_me:$LINENO: checking for function prototypes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5682 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5683 if test "$ac_cv_prog_cc_stdc" != no; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5684 echo "$as_me:$LINENO: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5685 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5686
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5687 cat >>confdefs.h <<\_ACEOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5688 #define PROTOTYPES 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5689 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5690
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5691
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5692 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5693 #define __PROTOTYPES 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5694 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5695
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5696 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5697 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5698 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5699 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5700
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5701 echo "$as_me:$LINENO: checking for working volatile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5702 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5703 if test "${ac_cv_c_volatile+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5705 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5706 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5707 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5708 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5709
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5710 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5711 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5712 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5713 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5714 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5715 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5716 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5717 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5718 {
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5719
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5720 volatile int x;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5721 int * volatile y;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5722 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5723 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5724 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5725 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5726 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5728 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5729 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5731 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5732 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5734 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5735 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5737 (exit $ac_status); }; }; then
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5738 ac_cv_c_volatile=yes
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5739 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5740 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5741 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5742 ac_cv_c_volatile=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5743 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5744 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5745 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5746 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5747 echo "${ECHO_T}$ac_cv_c_volatile" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5748 if test $ac_cv_c_volatile = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5749
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5750 cat >>confdefs.h <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5751 #define volatile
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5752 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5753
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5754 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5755
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5756 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5757 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5758 if test "${ac_cv_c_const+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5760 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5761 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5762 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5763 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5764
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5765 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5766 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5767 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5768 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5769 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5770 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5771 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5772 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5773 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5774 /* FIXME: Include the comments suggested by Paul. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5775 #ifndef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5776 /* Ultrix mips cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5777 typedef int charset[2];
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5778 const charset x;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5779 /* SunOS 4.1.1 cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5780 char const *const *ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5781 char **p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5782 /* NEC SVR4.0.2 mips cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5783 struct point {int x, y;};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5784 static struct point const zero = {0,0};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5785 /* AIX XL C 1.02.0.0 rejects this.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5786 It does not let you subtract one const X* pointer from another in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5787 an arm of an if-expression whose if-part is not a constant
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5788 expression */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5789 const char *g = "string";
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5790 ccp = &g + (g ? g-g : 0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5791 /* HPUX 7.0 cc rejects these. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5792 ++ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5793 p = (char**) ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5794 ccp = (char const *const *) p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5795 { /* SCO 3.2v4 cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5796 char *t;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5797 char const *s = 0 ? (char *) 0 : (char const *) 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5798
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5799 *t++ = 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5800 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5801 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5802 int x[] = {25, 17};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5803 const int *foo = &x[0];
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5804 ++foo;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5805 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5806 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5807 typedef const int *iptr;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5808 iptr p = 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5809 ++p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5810 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5811 { /* AIX XL C 1.02.0.0 rejects this saying
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5812 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5813 struct s { int j; const int *ap[3]; };
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5814 struct s *b; b->j = 5;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5815 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5816 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5817 const int foo = 10;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5818 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5819 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5820
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5821 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5822 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5823 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5824 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5825 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5827 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5828 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5830 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5831 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5833 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5834 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5836 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5837 ac_cv_c_const=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5838 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5839 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5840 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5841 ac_cv_c_const=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5842 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5843 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5844 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5845 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5846 echo "${ECHO_T}$ac_cv_c_const" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5847 if test $ac_cv_c_const = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5848
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5849 cat >>confdefs.h <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5850 #define const
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5851 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5852
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5853 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5854
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5855 echo "$as_me:$LINENO: checking for void * support" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5856 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5857 if test "${emacs_cv_void_star+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5859 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5860 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5861 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5862 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5863
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5864 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5865 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5866 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5867 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5868 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5869 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5870 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5871 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5872 {
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5873 void * foo;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5874 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5875 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5876 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5877 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5878 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5880 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5881 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5883 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5884 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5886 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5887 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5889 (exit $ac_status); }; }; then
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5890 emacs_cv_void_star=yes
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5891 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5892 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5893 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5894 emacs_cv_void_star=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5895 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5896 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5897 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5898 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5899 echo "${ECHO_T}$emacs_cv_void_star" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5900 if test $emacs_cv_void_star = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5901 cat >>confdefs.h <<\_ACEOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5902 #define POINTER_TYPE void
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5903 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5904
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5905 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5906 cat >>confdefs.h <<\_ACEOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5907 #define POINTER_TYPE char
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5908 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5909
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5910 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5911
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5912 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5913 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5914 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5915 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5917 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5918 cat >conftest.make <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5919 all:
Dave Love <fx@gnu.org>
parents:
diff changeset
5920 @echo 'ac_maketemp="${MAKE}"'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5921 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5922 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5923 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5924 if test -n "$ac_maketemp"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5925 eval ac_cv_prog_make_${ac_make}_set=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5926 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5927 eval ac_cv_prog_make_${ac_make}_set=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5928 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5929 rm -f conftest.make
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5930 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5931 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5932 echo "$as_me:$LINENO: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5933 echo "${ECHO_T}yes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5934 SET_MAKE=
Dave Love <fx@gnu.org>
parents:
diff changeset
5935 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5936 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5937 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5938 SET_MAKE="MAKE=${MAKE-make}"
Dave Love <fx@gnu.org>
parents:
diff changeset
5939 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5940
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5941
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5942 echo "$as_me:$LINENO: checking for long file names" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5943 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5944 if test "${ac_cv_sys_long_file_names+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5946 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5947 ac_cv_sys_long_file_names=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5948 # Test for long file names in all the places we know might matter:
Dave Love <fx@gnu.org>
parents:
diff changeset
5949 # . the current directory, where building will happen
Dave Love <fx@gnu.org>
parents:
diff changeset
5950 # $prefix/lib where we will be installing things
Dave Love <fx@gnu.org>
parents:
diff changeset
5951 # $exec_prefix/lib likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5952 # eval it to expand exec_prefix.
Dave Love <fx@gnu.org>
parents:
diff changeset
5953 # $TMPDIR if set, where it might want to write temporary files
Dave Love <fx@gnu.org>
parents:
diff changeset
5954 # if $TMPDIR is not set:
Dave Love <fx@gnu.org>
parents:
diff changeset
5955 # /tmp where it might want to write temporary files
Dave Love <fx@gnu.org>
parents:
diff changeset
5956 # /var/tmp likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5957 # /usr/tmp likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5958 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5959 ac_tmpdirs=$TMPDIR
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5960 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5961 ac_tmpdirs='/tmp /var/tmp /usr/tmp'
Dave Love <fx@gnu.org>
parents:
diff changeset
5962 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5963 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
Dave Love <fx@gnu.org>
parents:
diff changeset
5964 test -d $ac_dir || continue
Dave Love <fx@gnu.org>
parents:
diff changeset
5965 test -w $ac_dir || continue # It is less confusing to not echo anything here.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5966 ac_xdir=$ac_dir/cf$$
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5967 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5968 ac_tf1=$ac_xdir/conftest9012345
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5969 ac_tf2=$ac_xdir/conftest9012346
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5970 (echo 1 >$ac_tf1) 2>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5971 (echo 2 >$ac_tf2) 2>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5972 ac_val=`cat $ac_tf1 2>/dev/null`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5973 if test ! -f $ac_tf1 || test "$ac_val" != 1; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5974 ac_cv_sys_long_file_names=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5975 rm -rf $ac_xdir 2>/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5976 break
Dave Love <fx@gnu.org>
parents:
diff changeset
5977 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5978 rm -rf $ac_xdir 2>/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5979 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5980 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5981 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5982 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5983 if test $ac_cv_sys_long_file_names = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5984
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5985 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5986 #define HAVE_LONG_FILE_NAMES 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5987 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5988
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5989 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5990
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5991
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5992 if test "$gamedir" = no; then :
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5993 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5994 echo "$as_me:$LINENO: checking for access to game group \"$gameuser\"" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5995 echo $ECHO_N "checking for access to game group \"$gameuser\"... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5996 rm -f conf$$chown.file
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5997 touch conf$$chown.file
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5998 if chown "$gameuser" conf$$chown.file 1>/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5999 echo "$as_me:$LINENO: result: yes" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6000 echo "${ECHO_T}yes" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6001 if test "$gamedir" = "yes"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6002 gamedir="${localstatedir}/games/emacs"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6003 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6004 tgamedir=`eval "echo $gamedir"`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6005 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6006 #define HAVE_SHARED_GAME_DIR "$tgamedir"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6007 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6008
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6009 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6010 echo "$as_me:$LINENO: result: no" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6011 echo "${ECHO_T}no" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6012 gamedir=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6013 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6014 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6015 #### Choose a window system.
Dave Love <fx@gnu.org>
parents:
diff changeset
6016
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6017 echo "$as_me:$LINENO: checking for X" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6018 echo $ECHO_N "checking for X... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6019
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6020
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6021 # Check whether --with-x or --without-x was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
6022 if test "${with_x+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6023 withval="$with_x"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6024
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6025 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6026 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
Dave Love <fx@gnu.org>
parents:
diff changeset
6027 if test "x$with_x" = xno; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6028 # The user explicitly disabled X.
Dave Love <fx@gnu.org>
parents:
diff changeset
6029 have_x=disabled
Dave Love <fx@gnu.org>
parents:
diff changeset
6030 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6031 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6032 # Both variables are already set.
Dave Love <fx@gnu.org>
parents:
diff changeset
6033 have_x=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6034 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6035 if test "${ac_cv_have_x+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6036 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6037 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6038 # One or both of the vars are not set, and there is no cached value.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6039 ac_x_includes=no ac_x_libraries=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6040 rm -fr conftest.dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6041 if mkdir conftest.dir; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6042 cd conftest.dir
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6043 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6044 cat >Imakefile <<'_ACEOF'
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6045 acfindx:
Dave Love <fx@gnu.org>
parents:
diff changeset
6046 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6047 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6048 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6049 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
Dave Love <fx@gnu.org>
parents:
diff changeset
6050 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
Dave Love <fx@gnu.org>
parents:
diff changeset
6051 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
Dave Love <fx@gnu.org>
parents:
diff changeset
6052 for ac_extension in a so sl; do
Dave Love <fx@gnu.org>
parents:
diff changeset
6053 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6054 test -f $ac_im_libdir/libX11.$ac_extension; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6055 ac_im_usrlibdir=$ac_im_libdir; break
Dave Love <fx@gnu.org>
parents:
diff changeset
6056 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6057 done
Dave Love <fx@gnu.org>
parents:
diff changeset
6058 # Screen out bogus values from the imake configuration. They are
Dave Love <fx@gnu.org>
parents:
diff changeset
6059 # bogus both because they are the default anyway, and because
Dave Love <fx@gnu.org>
parents:
diff changeset
6060 # using them would break gcc on systems where it needs fixed includes.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6061 case $ac_im_incroot in
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6062 /usr/include) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6063 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6064 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6065 case $ac_im_usrlibdir in
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6066 /usr/lib | /lib) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6067 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6068 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
6069 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6070 cd ..
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6071 rm -fr conftest.dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6072 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6073
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6074 # Standard set of common directories for X headers.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6075 # Check X11 before X11Rn because it is often a symlink to the current release.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6076 ac_x_header_dirs='
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6077 /usr/X11/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6078 /usr/X11R6/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6079 /usr/X11R5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6080 /usr/X11R4/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6081
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6082 /usr/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6083 /usr/include/X11R6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6084 /usr/include/X11R5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6085 /usr/include/X11R4
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6086
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6087 /usr/local/X11/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6088 /usr/local/X11R6/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6089 /usr/local/X11R5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6090 /usr/local/X11R4/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6091
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6092 /usr/local/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6093 /usr/local/include/X11R6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6094 /usr/local/include/X11R5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6095 /usr/local/include/X11R4
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6096
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6097 /usr/X386/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6098 /usr/x386/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6099 /usr/XFree86/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6100
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6101 /usr/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6102 /usr/local/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6103 /usr/unsupported/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6104 /usr/athena/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6105 /usr/local/x11r5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6106 /usr/lpp/Xamples/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6107
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6108 /usr/openwin/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6109 /usr/openwin/share/include'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6110
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6111 if test "$ac_x_includes" = no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6112 # Guess where to find include files, by looking for Intrinsic.h.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6113 # First, try using that file with no special directory specified.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6114 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6115 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6116 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6117 #include <X11/Intrinsic.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6118 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6121 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6122 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6123 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6124 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6126 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6127 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6128 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6129 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6130 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6131 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6132 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6133 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6134 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6135 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6136 # We can compile using X headers with no special include directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
6137 ac_x_includes=
Dave Love <fx@gnu.org>
parents:
diff changeset
6138 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6139 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6140 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6141 for ac_dir in $ac_x_header_dirs; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6142 if test -r "$ac_dir/X11/Intrinsic.h"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6143 ac_x_includes=$ac_dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6144 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6145 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6146 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6147 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6148 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6149 fi # $ac_x_includes = no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6150
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6151 if test "$ac_x_libraries" = no; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6152 # Check for the libraries.
Dave Love <fx@gnu.org>
parents:
diff changeset
6153 # See if we find them without any special options.
Dave Love <fx@gnu.org>
parents:
diff changeset
6154 # Don't add to $LIBS permanently.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6155 ac_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6156 LIBS="-lXt $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6157 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6158 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6159 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6160 #include <X11/Intrinsic.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6161 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6162 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6163 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6164 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6165 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6166 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6167 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6168 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6169 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6170 XtMalloc (0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6171 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6172 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6173 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6174 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6175 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6177 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6178 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6180 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6181 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6183 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6184 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6186 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6187 LIBS=$ac_save_LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6188 # We can link X programs with no special library path.
Dave Love <fx@gnu.org>
parents:
diff changeset
6189 ac_x_libraries=
Dave Love <fx@gnu.org>
parents:
diff changeset
6190 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6191 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6192 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6193 LIBS=$ac_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6194 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6195 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6196 # Don't even attempt the hair of trying to link an X program!
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6197 for ac_extension in a so sl; do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6198 if test -r $ac_dir/libXt.$ac_extension; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6199 ac_x_libraries=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
6200 break 2
Dave Love <fx@gnu.org>
parents:
diff changeset
6201 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6202 done
Dave Love <fx@gnu.org>
parents:
diff changeset
6203 done
Dave Love <fx@gnu.org>
parents:
diff changeset
6204 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6206 fi # $ac_x_libraries = no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6207
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6208 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6209 # Didn't find X anywhere. Cache the known absence of X.
Dave Love <fx@gnu.org>
parents:
diff changeset
6210 ac_cv_have_x="have_x=no"
Dave Love <fx@gnu.org>
parents:
diff changeset
6211 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6212 # Record where we found X for the cache.
Dave Love <fx@gnu.org>
parents:
diff changeset
6213 ac_cv_have_x="have_x=yes \
Dave Love <fx@gnu.org>
parents:
diff changeset
6214 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
Dave Love <fx@gnu.org>
parents:
diff changeset
6215 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6216 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6217
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6218 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6219 eval "$ac_cv_have_x"
Dave Love <fx@gnu.org>
parents:
diff changeset
6220 fi # $with_x != no
Dave Love <fx@gnu.org>
parents:
diff changeset
6221
Dave Love <fx@gnu.org>
parents:
diff changeset
6222 if test "$have_x" != yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6223 echo "$as_me:$LINENO: result: $have_x" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6224 echo "${ECHO_T}$have_x" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6225 no_x=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6226 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6227 # If each of the values was on the command line, it overrides each guess.
Dave Love <fx@gnu.org>
parents:
diff changeset
6228 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
Dave Love <fx@gnu.org>
parents:
diff changeset
6229 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
Dave Love <fx@gnu.org>
parents:
diff changeset
6230 # Update the cache value to reflect the command line values.
Dave Love <fx@gnu.org>
parents:
diff changeset
6231 ac_cv_have_x="have_x=yes \
Dave Love <fx@gnu.org>
parents:
diff changeset
6232 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6233 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6234 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6235 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6236
Dave Love <fx@gnu.org>
parents:
diff changeset
6237 if test "$no_x" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6238 window_system=none
Dave Love <fx@gnu.org>
parents:
diff changeset
6239 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6240 window_system=x11
Dave Love <fx@gnu.org>
parents:
diff changeset
6241 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6242
Dave Love <fx@gnu.org>
parents:
diff changeset
6243 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6244 LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
6245 LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
6246 x_default_search_path=""
Dave Love <fx@gnu.org>
parents:
diff changeset
6247 for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
35666
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
6248 x_search_path="\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
6249 ${x_library}/X11/%L/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
6250 ${x_library}/X11/%l/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
6251 ${x_library}/X11/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
6252 ${x_library}/X11/%L/%T/%N%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
6253 ${x_library}/X11/%l/%T/%N%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
6254 ${x_library}/X11/%T/%N%S"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6255 if test x"${x_default_search_path}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6256 x_default_search_path=${x_search_path}
Dave Love <fx@gnu.org>
parents:
diff changeset
6257 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6258 x_default_search_path="${x_search_path}:${x_default_search_path}"
Dave Love <fx@gnu.org>
parents:
diff changeset
6259 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6260 done
Dave Love <fx@gnu.org>
parents:
diff changeset
6261 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6262 if test "${x_includes}" != NONE && test -n "${x_includes}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6263 C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
6264 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6265
Dave Love <fx@gnu.org>
parents:
diff changeset
6266 if test x"${x_includes}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6267 bitmapdir=/usr/include/X11/bitmaps
Dave Love <fx@gnu.org>
parents:
diff changeset
6268 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6269 # accumulate include directories that have X11 bitmap subdirectories
Dave Love <fx@gnu.org>
parents:
diff changeset
6270 bmd_acc="dummyval"
Dave Love <fx@gnu.org>
parents:
diff changeset
6271 for bmd in `echo ${x_includes} | sed -e "s/:/ /g"`; do
Dave Love <fx@gnu.org>
parents:
diff changeset
6272 if test -d "${bmd}/X11/bitmaps"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6273 bmd_acc="${bmd_acc}:${bmd}/X11/bitmaps"
26502
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
6274 fi
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
6275 if test -d "${bmd}/bitmaps"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6276 bmd_acc="${bmd_acc}:${bmd}/bitmaps"
Dave Love <fx@gnu.org>
parents:
diff changeset
6277 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6278 done
Dave Love <fx@gnu.org>
parents:
diff changeset
6279 if test ${bmd_acc} != "dummyval"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6280 bitmapdir=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
Dave Love <fx@gnu.org>
parents:
diff changeset
6281 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6282 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6283
Dave Love <fx@gnu.org>
parents:
diff changeset
6284 case "${window_system}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
6285 x11 )
Dave Love <fx@gnu.org>
parents:
diff changeset
6286 HAVE_X_WINDOWS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6287 HAVE_X11=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6288 case "${with_x_toolkit}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
6289 athena | lucid ) USE_X_TOOLKIT=LUCID ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6290 motif ) USE_X_TOOLKIT=MOTIF ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6291 no ) USE_X_TOOLKIT=none ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6292 * ) USE_X_TOOLKIT=maybe ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6293 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
6294 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6295 none )
Dave Love <fx@gnu.org>
parents:
diff changeset
6296 HAVE_X_WINDOWS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6297 HAVE_X11=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6298 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
6299 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6300 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
6301
Dave Love <fx@gnu.org>
parents:
diff changeset
6302 ### If we're using X11, we should use the X menu package.
Dave Love <fx@gnu.org>
parents:
diff changeset
6303 HAVE_MENUS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6304 case ${HAVE_X11} in
Dave Love <fx@gnu.org>
parents:
diff changeset
6305 yes ) HAVE_MENUS=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6306 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6307
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6308 if test "${opsys}" = "hpux9"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6309 case "${x_libraries}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
6310 *X11R4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
6311 opsysfile="s/hpux9-x11r4.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6312 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6313 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
6314 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6315
Dave Love <fx@gnu.org>
parents:
diff changeset
6316 if test "${opsys}" = "hpux9shr"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6317 case "${x_libraries}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
6318 *X11R4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
6319 opsysfile="s/hpux9shxr4.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6320 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
6321 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
6322 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6323
Dave Love <fx@gnu.org>
parents:
diff changeset
6324 ### Compute the unexec source name from the object name.
Dave Love <fx@gnu.org>
parents:
diff changeset
6325 UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
6326
Dave Love <fx@gnu.org>
parents:
diff changeset
6327 # Do the opsystem or machine files prohibit the use of the GNU malloc?
Dave Love <fx@gnu.org>
parents:
diff changeset
6328 # Assume not, until told otherwise.
Dave Love <fx@gnu.org>
parents:
diff changeset
6329 GNU_MALLOC=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6330 doug_lea_malloc=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6331 echo "$as_me:$LINENO: checking for malloc_get_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6332 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6333 if test "${ac_cv_func_malloc_get_state+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6335 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6336 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6337 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6338 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6339 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6340 which can conflict with char malloc_get_state (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6341 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
6342 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6343 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6344 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6345 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6346 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6347 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6348 char malloc_get_state ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6349 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6350
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6351 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6352 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6353 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6354 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6355 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6356 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6357 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6358 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6359 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6360 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
6361 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
6362 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
6363 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
Dave Love <fx@gnu.org>
parents:
diff changeset
6364 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
6365 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6366 f = malloc_get_state;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6367 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6368
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6369 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6370 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6371 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6372 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6373 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6375 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6376 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6378 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6379 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6381 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6382 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6384 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6385 ac_cv_func_malloc_get_state=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6386 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6387 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6388 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6389 ac_cv_func_malloc_get_state=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6390 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6392 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6393 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6394 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6395 if test $ac_cv_func_malloc_get_state = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6396 :
Dave Love <fx@gnu.org>
parents:
diff changeset
6397 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6398 doug_lea_malloc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6399 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6400
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6401 echo "$as_me:$LINENO: checking for malloc_set_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6402 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6403 if test "${ac_cv_func_malloc_set_state+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6405 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6406 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6407 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6408 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6409 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6410 which can conflict with char malloc_set_state (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6411 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
6412 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6413 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6414 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6415 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6416 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6417 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6418 char malloc_set_state ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6419 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6420
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6421 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6422 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6423 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6424 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6425 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6426 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6427 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6428 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6429 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6430 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
6431 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
6432 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
6433 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
Dave Love <fx@gnu.org>
parents:
diff changeset
6434 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
6435 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6436 f = malloc_set_state;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6437 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6438
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6439 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6440 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6441 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6442 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6443 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6445 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6446 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6448 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6449 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6451 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6452 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6454 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6455 ac_cv_func_malloc_set_state=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6456 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6457 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6458 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6459 ac_cv_func_malloc_set_state=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6460 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6462 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6463 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6464 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6465 if test $ac_cv_func_malloc_set_state = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6466 :
Dave Love <fx@gnu.org>
parents:
diff changeset
6467 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6468 doug_lea_malloc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6469 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6470
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6471 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6472 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6473 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6475 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6476 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6477 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6478 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6479 extern void (* __after_morecore_hook)();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6480 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6481 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6482 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6483 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6484 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6485 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6486 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6487 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6488 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6489 __after_morecore_hook = 0
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6490 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6491 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6492 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6493 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6494 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6496 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6497 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6499 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6500 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6502 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6503 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6505 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6506 emacs_cv_var___after_morecore_hook=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6507 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6508 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6509 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6510 emacs_cv_var___after_morecore_hook=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6511 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6513 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6514 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6515 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6516 if test $emacs_cv_var___after_morecore_hook = no; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6517 doug_lea_malloc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6518 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6519 if test "${system_malloc}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6520 GNU_MALLOC=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6521 GNU_MALLOC_reason="
Dave Love <fx@gnu.org>
parents:
diff changeset
6522 (The GNU allocators don't work with this system configuration.)"
Dave Love <fx@gnu.org>
parents:
diff changeset
6523 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6524 if test "$doug_lea_malloc" = "yes" ; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6525 if test "$GNU_MALLOC" = yes ; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6526 GNU_MALLOC_reason="
Dave Love <fx@gnu.org>
parents:
diff changeset
6527 (Using Doug Lea's new malloc from the GNU C Library.)"
Dave Love <fx@gnu.org>
parents:
diff changeset
6528 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6529 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6530 #define DOUG_LEA_MALLOC 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6531 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6532
Dave Love <fx@gnu.org>
parents:
diff changeset
6533 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6534
Dave Love <fx@gnu.org>
parents:
diff changeset
6535 if test x"${REL_ALLOC}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6536 REL_ALLOC=${GNU_MALLOC}
Dave Love <fx@gnu.org>
parents:
diff changeset
6537 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6538
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6539
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6540
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6541
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6542 for ac_header in stdlib.h unistd.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6543 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6546 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6550 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6553 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6554 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6555 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6557 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6558 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6559 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6560 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6561 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6562 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6563 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6565 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6566 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6568 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6569 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6571 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6572 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6574 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6575 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6576 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6577 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6578 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6579 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6580 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6581 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6583 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6584
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6585 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6586 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6588 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6589 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6590 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6591 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6592 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6595 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6596 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6597 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6598 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6600 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6601 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6602 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6603 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6604 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6605 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6606 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6607 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6608 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6609 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6610 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6611 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6612 echo "$as_me: failed program was:" >&5
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6613 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6614 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6615 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6616 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6618 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6619
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6620 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6621 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6622 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6627 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6634 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6635 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6638 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6639 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6640 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6641 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6644
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6645 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6647 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6649 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6650
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6651 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6652
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6653 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6654
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6655
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6656 for ac_func in getpagesize
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6657 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6659 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6661 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6663 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6664 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6665 #line $LINENO "configure"
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6666 #include "confdefs.h"
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6667 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6668 which can conflict with char $ac_func (); below. */
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6669 #include <assert.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6670 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6671 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6672 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6673 #endif
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6674 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6675 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6676 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6677 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6678
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6679 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6680 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6681 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6682 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6683 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6684 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6685 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6686 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6687 {
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6688 /* The GNU C library defines this for functions which it implements
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6689 to always fail with ENOSYS. Some functions are actually named
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6690 something starting with __ and the normal name is an alias. */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6692 choke me
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6693 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6694 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6695 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6696
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6697 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6698 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6699 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6700 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6701 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6703 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6704 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6706 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6707 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6709 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6710 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6712 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6713 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6714 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6715 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6716 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6717 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6718 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6720 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6723 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6724 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6726 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6727
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6728 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6729 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6730
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6731 echo "$as_me:$LINENO: checking for working mmap" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6732 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6733 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6734 echo $ECHO_N "(cached) $ECHO_C" >&6
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6735 else
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6736 if test "$cross_compiling" = yes; then
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6737 ac_cv_func_mmap_fixed_mapped=no
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6738 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6739 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6740 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6741 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6742 $ac_includes_default
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6743 /* malloc might have been renamed as rpl_malloc. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6744 #undef malloc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6745
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6746 /* Thanks to Mike Haertel and Jim Avera for this test.
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6747 Here is a matrix of mmap possibilities:
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6748 mmap private not fixed
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6749 mmap private fixed at somewhere currently unmapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6750 mmap private fixed at somewhere already mapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6751 mmap shared not fixed
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6752 mmap shared fixed at somewhere currently unmapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6753 mmap shared fixed at somewhere already mapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6754 For private mappings, we should verify that changes cannot be read()
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6755 back from the file, nor mmap's back from the file at a different
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6756 address. (There have been systems where private was not correctly
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6757 implemented like the infamous i386 svr4.0, and systems where the
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6758 VM page cache was not coherent with the file system buffer cache
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6759 like early versions of FreeBSD and possibly contemporary NetBSD.)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6760 For shared mappings, we should conversely verify that changes get
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6761 propagated back to all the places they're supposed to be.
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6762
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6763 Grep wants private fixed already mapped.
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6764 The main things grep needs to know about mmap are:
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6765 * does it exist and is it safe to write into the mmap'd area
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6766 * how to use it (BSD variants) */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6767
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6768 #include <fcntl.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6769 #include <sys/mman.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6770
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6771 #if !STDC_HEADERS && !HAVE_STDLIB_H
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6772 char *malloc ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6773 #endif
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6774
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6775 /* This mess was copied from the GNU getpagesize.h. */
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6776 #if !HAVE_GETPAGESIZE
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6777 /* Assume that all systems that can run configure have sys/param.h. */
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6778 # if !HAVE_SYS_PARAM_H
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6779 # define HAVE_SYS_PARAM_H 1
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6780 # endif
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6781
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6782 # ifdef _SC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6783 # define getpagesize() sysconf(_SC_PAGESIZE)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6784 # else /* no _SC_PAGESIZE */
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6785 # if HAVE_SYS_PARAM_H
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6786 # include <sys/param.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6787 # ifdef EXEC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6788 # define getpagesize() EXEC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6789 # else /* no EXEC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6790 # ifdef NBPG
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6791 # define getpagesize() NBPG * CLSIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6792 # ifndef CLSIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6793 # define CLSIZE 1
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6794 # endif /* no CLSIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6795 # else /* no NBPG */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6796 # ifdef NBPC
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6797 # define getpagesize() NBPC
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6798 # else /* no NBPC */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6799 # ifdef PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6800 # define getpagesize() PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6801 # endif /* PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6802 # endif /* no NBPC */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6803 # endif /* no NBPG */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6804 # endif /* no EXEC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6805 # else /* no HAVE_SYS_PARAM_H */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6806 # define getpagesize() 8192 /* punt totally */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6807 # endif /* no HAVE_SYS_PARAM_H */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6808 # endif /* no _SC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6809
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6810 #endif /* no HAVE_GETPAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6811
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6812 int
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6813 main ()
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6814 {
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6815 char *data, *data2, *data3;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6816 int i, pagesize;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6817 int fd;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6818
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6819 pagesize = getpagesize ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6820
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6821 /* First, make a file with some known garbage in it. */
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6822 data = (char *) malloc (pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6823 if (!data)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6824 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6825 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6826 *(data + i) = rand ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6827 umask (0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6828 fd = creat ("conftest.mmap", 0600);
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6829 if (fd < 0)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6830 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6831 if (write (fd, data, pagesize) != pagesize)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6832 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6833 close (fd);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6834
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6835 /* Next, try to mmap the file at a fixed address which already has
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6836 something else allocated at it. If we can, also make sure that
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6837 we see the same garbage. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6838 fd = open ("conftest.mmap", O_RDWR);
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6839 if (fd < 0)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6840 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6841 data2 = (char *) malloc (2 * pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6842 if (!data2)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6843 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6844 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6845 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6846 MAP_PRIVATE | MAP_FIXED, fd, 0L))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6847 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6848 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6849 if (*(data + i) != *(data2 + i))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6850 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6851
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6852 /* Finally, make sure that changes to the mapped area do not
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6853 percolate back to the file as seen by read(). (This is a bug on
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6854 some variants of i386 svr4.0.) */
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6855 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6856 *(data2 + i) = *(data2 + i) + 1;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6857 data3 = (char *) malloc (pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6858 if (!data3)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6859 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6860 if (read (fd, data3, pagesize) != pagesize)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6861 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6862 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6863 if (*(data + i) != *(data3 + i))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6864 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6865 close (fd);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6866 exit (0);
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6867 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6868 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6869 rm -f conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6871 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6872 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6876 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6877 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6879 (exit $ac_status); }; }; then
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6880 ac_cv_func_mmap_fixed_mapped=yes
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6881 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6882 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6883 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6884 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6885 ( exit $ac_status )
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6886 ac_cv_func_mmap_fixed_mapped=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6887 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6888 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6889 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6890 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6891 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6892 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6893 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6894
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6895 cat >>confdefs.h <<\_ACEOF
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6896 #define HAVE_MMAP 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6897 _ACEOF
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6898
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6899 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6900 rm -f conftest.mmap
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6901
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
6902 if test $use_mmap_for_buffers = yes; then
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
6903 REL_ALLOC=no
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6904 fi
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6905
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6906 LIBS="$libsrc_libs $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6907
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6908
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6909 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6910 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6911 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6912 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6913 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6914 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6915 LIBS="-ldnet $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6916 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6917 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6918 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6919
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6920 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6921 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6922 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6923 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6924 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6925 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6926 char dnet_ntoa ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6927 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6928 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6929 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6930 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6931 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6932 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6933 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6934 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6935 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6936 dnet_ntoa ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6937 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6938 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6939 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6940 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6941 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6943 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6944 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6946 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6947 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6949 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6950 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6952 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6953 ac_cv_lib_dnet_dnet_ntoa=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6954 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6955 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6956 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6957 ac_cv_lib_dnet_dnet_ntoa=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6958 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6960 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6961 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6962 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6963 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6964 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6965 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6966 #define HAVE_LIBDNET 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6967 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6968
Dave Love <fx@gnu.org>
parents:
diff changeset
6969 LIBS="-ldnet $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6970
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6971 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6972
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6973
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6974 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6975 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6976 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6978 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6979 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6980 LIBS="-lXbsd $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6981 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6982 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6983 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6984
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6985
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6986 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6987 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6988 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6989 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6990 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6991 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6992 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6993 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6994 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6995 main ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6996 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6997 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6998 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6999 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7000 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7002 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7003 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7005 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7006 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7008 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7009 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7011 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7012 ac_cv_lib_Xbsd_main=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7013 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7014 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7015 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7016 ac_cv_lib_Xbsd_main=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7017 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7019 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7020 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7021 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7022 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7023 if test $ac_cv_lib_Xbsd_main = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7024 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7025 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7026
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7027
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7028
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7029 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7030 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7031 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7033 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7034 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7035 LIBS="-lpthreads $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7036 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7037 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7038 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7039
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7040 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7041 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7042 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7043 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7044 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7045 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7046 char cma_open ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7047 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7048 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7049 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7050 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7051 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7052 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7053 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7054 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7055 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7056 cma_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7057 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7058 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7059 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7060 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7061 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7063 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7064 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7066 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7067 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7069 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7070 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7072 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7073 ac_cv_lib_pthreads_cma_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7074 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7075 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7076 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7077 ac_cv_lib_pthreads_cma_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7078 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7080 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7081 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7082 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7083 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7084 if test $ac_cv_lib_pthreads_cma_open = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7085 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7086 #define HAVE_LIBPTHREADS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7087 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7088
Dave Love <fx@gnu.org>
parents:
diff changeset
7089 LIBS="-lpthreads $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7090
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7091 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7092
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7093
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7094 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7095 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7096 if test -d /usr/X386/include; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7097 HAVE_XFREE386=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7098 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
Dave Love <fx@gnu.org>
parents:
diff changeset
7099 else
Dave Love <fx@gnu.org>
parents:
diff changeset
7100 HAVE_XFREE386=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7101 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7102 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7103 echo "${ECHO_T}$HAVE_XFREE386" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7104
Dave Love <fx@gnu.org>
parents:
diff changeset
7105 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
Dave Love <fx@gnu.org>
parents:
diff changeset
7106 # for the tests that follow. We set it back to REAL_CFLAGS later on.
Dave Love <fx@gnu.org>
parents:
diff changeset
7107
29990
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
7108 REAL_CPPFLAGS="$CPPFLAGS"
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
7109
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7110 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7111 DEFS="$C_SWITCH_X_SITE $DEFS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7112 LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
7113 LIBS="$LIBX $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7114 CFLAGS="$C_SWITCH_X_SITE $CFLAGS"
29990
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
7115 CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7116
Dave Love <fx@gnu.org>
parents:
diff changeset
7117 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
Dave Love <fx@gnu.org>
parents:
diff changeset
7118 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
Dave Love <fx@gnu.org>
parents:
diff changeset
7119 # but it's more convenient here to set LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
7120 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
Dave Love <fx@gnu.org>
parents:
diff changeset
7121 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7122 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
7123 export LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
7124 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7125
Dave Love <fx@gnu.org>
parents:
diff changeset
7126 if test "${opsys}" = "gnu-linux"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7127 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7128 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7129 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7130 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7131 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7132
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7133 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7134 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7135 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7136 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7137 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7138 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7139 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7140 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7141 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7142 XOpenDisplay ("foo");
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7143 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7144 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7145 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7146 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7147 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7149 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7150 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7152 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7153 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7155 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7156 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7158 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7159 xlinux_first_failure=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7160 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7161 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7162 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7163 xlinux_first_failure=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7164 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7166 if test "${xlinux_first_failure}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7167 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
7168 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
7169 OLD_CPPFLAGS="$CPPFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7170 OLD_LIBS="$LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7171 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
7172 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
7173 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
7174 LIBS="$LIBS -b i486-linuxaout"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7175 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7176 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7177 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7178
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7179 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7180 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7181 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7182 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7183 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7184 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7185 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7186 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7187 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7188 XOpenDisplay ("foo");
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7189 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7190 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7191 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7192 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7193 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7195 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7196 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7198 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7199 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7201 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7202 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7204 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7205 xlinux_second_failure=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7206 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7207 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7208 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7209 xlinux_second_failure=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7210 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7212 if test "${xlinux_second_failure}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7213 # If we get the same failure with -b, there is no use adding -b.
Dave Love <fx@gnu.org>
parents:
diff changeset
7214 # So take it out. This plays safe.
Dave Love <fx@gnu.org>
parents:
diff changeset
7215 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
7216 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
7217 CPPFLAGS="$OLD_CPPFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7218 LIBS="$OLD_LIBS"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7219 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7220 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7221 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7222 echo "$as_me:$LINENO: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7223 echo "${ECHO_T}yes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7224 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7225 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7226 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7227 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7228 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7229 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7230
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7231 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7232 # header files included from there.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7233 echo "$as_me:$LINENO: checking for Xkb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7234 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7235 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7236 #line $LINENO "configure"
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7237 #include "confdefs.h"
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7238 #include <X11/Xlib.h>
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7239 #include <X11/XKBlib.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7240 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7241 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7242 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7243 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7244 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7245 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7246 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7247 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7248 {
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7249 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7250 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7251 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7252 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7253 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7254 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7256 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7257 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7259 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7260 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7262 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7263 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7265 (exit $ac_status); }; }; then
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7266 emacs_xkb=yes
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7267 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7268 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7269 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7270 emacs_xkb=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7271 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7273 echo "$as_me:$LINENO: result: $emacs_xkb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7274 echo "${ECHO_T}$emacs_xkb" >&6
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7275 if test $emacs_xkb = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7276 cat >>confdefs.h <<\_ACEOF
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7277 #define HAVE_XKBGETKEYBOARD 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7278 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7279
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7280 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7281
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7282
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7283
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7284
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
7285
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7286 for ac_func in XrmSetDatabase XScreenResourceString \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7287 XScreenNumberOfScreen XSetWMProtocols
Dave Love <fx@gnu.org>
parents:
diff changeset
7288 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7290 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7292 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7293 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7294 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7295 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7296 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7297 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7298 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7299 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7300 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
7301 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7302 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7303 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7304 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7305 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7306 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7307 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7308 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7309
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7310 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7311 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7312 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7313 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7314 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7315 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7316 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7317 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7318 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7319 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
7320 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
7321 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
7322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
7323 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
7324 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7325 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7326 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7327
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7328 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7329 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7330 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7331 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7332 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7334 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7335 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7337 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7338 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7340 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7341 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7343 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7344 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7345 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7346 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7347 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7348 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7349 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7351 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7354 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7355 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7357 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7358
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7359 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7360 done
Dave Love <fx@gnu.org>
parents:
diff changeset
7361
Dave Love <fx@gnu.org>
parents:
diff changeset
7362 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7363
Dave Love <fx@gnu.org>
parents:
diff changeset
7364 if test "${window_system}" = "x11"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7365 echo "$as_me:$LINENO: checking X11 version 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7366 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7367 if test "${emacs_cv_x11_version_6+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7368 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7369 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7370 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7371 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7372 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7373 #include <X11/Xlib.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7374 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7375 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7376 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7377 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7378 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7379 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7380 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7381 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7382 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7383 #if XlibSpecificationRelease < 6
Dave Love <fx@gnu.org>
parents:
diff changeset
7384 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
7385 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7386
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7387 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7388 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7389 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7390 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7391 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7393 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7394 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7396 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7397 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7399 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7400 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7402 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7403 emacs_cv_x11_version_6=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7404 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7405 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7406 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7407 emacs_cv_x11_version_6=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7408 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7410 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7411
Dave Love <fx@gnu.org>
parents:
diff changeset
7412 if test $emacs_cv_x11_version_6 = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7413 echo "$as_me:$LINENO: result: 6 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7414 echo "${ECHO_T}6 or newer" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7415 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7416 #define HAVE_X11R6 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7417 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7418
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7419 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7420 echo "$as_me:$LINENO: result: before 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7421 echo "${ECHO_T}before 6" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7422 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7423 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7424
Dave Love <fx@gnu.org>
parents:
diff changeset
7425 if test "${window_system}" = "x11"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7426 echo "$as_me:$LINENO: checking X11 version 5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7427 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7428 if test "${emacs_cv_x11_version_5+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7430 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7431 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7432 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7433 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7434 #include <X11/Xlib.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7435 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7436 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7437 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7438 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7439 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7440 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7441 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7442 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7443 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7444 #if XlibSpecificationRelease < 5
Dave Love <fx@gnu.org>
parents:
diff changeset
7445 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
7446 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7447
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7448 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7449 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7450 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7451 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7452 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7454 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7455 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7457 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7458 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7460 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7461 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7463 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7464 emacs_cv_x11_version_5=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7465 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7466 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7467 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7468 emacs_cv_x11_version_5=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7469 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7471 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7472
Dave Love <fx@gnu.org>
parents:
diff changeset
7473 if test $emacs_cv_x11_version_5 = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7474 echo "$as_me:$LINENO: result: 5 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7475 echo "${ECHO_T}5 or newer" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7476 HAVE_X11R5=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7477 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7478 #define HAVE_X11R5 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7479 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7480
Dave Love <fx@gnu.org>
parents:
diff changeset
7481 else
Dave Love <fx@gnu.org>
parents:
diff changeset
7482 HAVE_X11R5=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7483 echo "$as_me:$LINENO: result: before 5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7484 echo "${ECHO_T}before 5" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7485 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7486 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7487
Dave Love <fx@gnu.org>
parents:
diff changeset
7488 if test x"${USE_X_TOOLKIT}" = xmaybe; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7489 if test x"${HAVE_X11R5}" = xyes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7490 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7491 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7492 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7493 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7494 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7495 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7496 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7497 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7498
Dave Love <fx@gnu.org>
parents:
diff changeset
7499 #include <X11/Intrinsic.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
7500 #include <X11/Xaw/Simple.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7501 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7502 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7503 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7504 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7505 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7506 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7507 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7508 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7509 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7510
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7511 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7512 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7513 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7514 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7515 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7517 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7518 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7520 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7521 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7523 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7524 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7526 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7527 emacs_cv_x11_version_5_with_xaw=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7528 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7529 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7530 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7531 emacs_cv_x11_version_5_with_xaw=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7532 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7534 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7535
Dave Love <fx@gnu.org>
parents:
diff changeset
7536 if test $emacs_cv_x11_version_5_with_xaw = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7537 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7538 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7539 USE_X_TOOLKIT=LUCID
Dave Love <fx@gnu.org>
parents:
diff changeset
7540 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7541 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7542 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7543 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
7544 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7545 else
Dave Love <fx@gnu.org>
parents:
diff changeset
7546 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
7547 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7548 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7549
Dave Love <fx@gnu.org>
parents:
diff changeset
7550 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
Dave Love <fx@gnu.org>
parents:
diff changeset
7551
Dave Love <fx@gnu.org>
parents:
diff changeset
7552 if test "${USE_X_TOOLKIT}" != "none"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7553 echo "$as_me:$LINENO: checking X11 toolkit version" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7554 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7555 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7557 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7558 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7559 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7560 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7561 #include <X11/Intrinsic.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7562 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7563 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7564 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7565 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7566 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7567 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7568 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7569 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7570 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7571 #if XtSpecificationRelease < 6
Dave Love <fx@gnu.org>
parents:
diff changeset
7572 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
7573 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7574
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7575 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7576 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7577 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7578 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7579 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7581 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7582 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7584 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7585 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7587 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7588 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7590 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7591 emacs_cv_x11_toolkit_version_6=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7592 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7593 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7594 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7595 emacs_cv_x11_toolkit_version_6=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7596 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7598 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7599
Dave Love <fx@gnu.org>
parents:
diff changeset
7600 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
Dave Love <fx@gnu.org>
parents:
diff changeset
7601 if test $emacs_cv_x11_toolkit_version_6 = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7602 echo "$as_me:$LINENO: result: 6 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7603 echo "${ECHO_T}6 or newer" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7604 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7605 #define HAVE_X11XTR6 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7606 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7607
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7608 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7609 echo "$as_me:$LINENO: result: before 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7610 echo "${ECHO_T}before 6" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7611 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7612
Dave Love <fx@gnu.org>
parents:
diff changeset
7613 OLDLIBS="$LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7614 if test x$HAVE_X11XTR6 = xyes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7615 LIBS="-lXt -lSM -lICE $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7616 else
Dave Love <fx@gnu.org>
parents:
diff changeset
7617 LIBS="-lXt $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7618 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7619
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7620 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7621 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7622 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7623 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7624 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7625 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7626 LIBS="-lXmu $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7627 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7628 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7629 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7630
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7631 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7632 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7633 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7634 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7635 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7636 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7637 char XmuConvertStandardSelection ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7638 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7639 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7640 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7641 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7642 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7643 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7644 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7645 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7646 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7647 XmuConvertStandardSelection ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7648 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7649 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7650 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7651 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7652 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7654 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7655 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7657 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7658 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7660 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7661 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7663 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7664 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7665 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7666 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7667 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7668 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7669 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7671 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7672 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7673 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7674 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7675 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7676 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7677 #define HAVE_LIBXMU 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7678 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7679
Dave Love <fx@gnu.org>
parents:
diff changeset
7680 LIBS="-lXmu $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
7681
Dave Love <fx@gnu.org>
parents:
diff changeset
7682 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7683
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7684 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS"
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7685 fi
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7686
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7687 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7688 if test "${HAVE_X11}" = "yes"; then
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7689 if test "${USE_X_TOOLKIT}" != "none"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7690
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7691 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7692 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7693 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7694 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7695 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7696 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7697 LIBS="-lXext $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7698 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7699 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7700 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7701
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7702 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7703 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7704 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7705 #endif
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7706 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7707 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7708 char XShapeQueryExtension ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7709 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7710 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7711 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7712 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7713 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7714 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7715 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7716 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7717 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7718 XShapeQueryExtension ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7719 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7720 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7721 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7722 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7723 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7725 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7726 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7728 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7729 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7731 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7732 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7734 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7735 ac_cv_lib_Xext_XShapeQueryExtension=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7736 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7737 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7738 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7739 ac_cv_lib_Xext_XShapeQueryExtension=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7740 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7742 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7743 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7744 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7745 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7746 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7747 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7748 #define HAVE_LIBXEXT 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7749 _ACEOF
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7750
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7751 LIBS="-lXext $LIBS"
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7752
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7753 fi
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7754
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7755 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7756 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7757
Dave Love <fx@gnu.org>
parents:
diff changeset
7758 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7759 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7760 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7761 if test "${emacs_cv_motif_version_2_1+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7762 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7763 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7764 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7765 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7766 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7767 #include <Xm/Xm.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7768 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7769 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7770 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7771 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7772 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7773 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7774 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7775 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7776 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7777 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
Dave Love <fx@gnu.org>
parents:
diff changeset
7778 int x = 5;
Dave Love <fx@gnu.org>
parents:
diff changeset
7779 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
7780 Motif version prior to 2.1.
Dave Love <fx@gnu.org>
parents:
diff changeset
7781 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7782 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7783 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7784 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7785 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7786 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7788 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7789 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7791 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7792 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7794 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7795 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7797 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7798 emacs_cv_motif_version_2_1=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7799 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7800 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7801 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7802 emacs_cv_motif_version_2_1=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7803 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7804 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7805 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7806 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7807 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7808 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
Dave Love <fx@gnu.org>
parents:
diff changeset
7809 if test $emacs_cv_motif_version_2_1 = yes; then
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
7810 HAVE_LIBXP=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7811 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7812 #define HAVE_MOTIF_2_1 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7813 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7814
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7815 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7816 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7817 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7819 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7820 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7821 LIBS="-lXp $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7822 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7823 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7824 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7825
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7826 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7827 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7828 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7829 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7830 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7831 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7832 char XpCreateContext ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7833 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7834 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7835 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7836 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7837 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7838 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7839 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7840 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7841 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7842 XpCreateContext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7843 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7844 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7845 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7846 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7847 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7849 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7850 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7852 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7853 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7855 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7856 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7858 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7859 ac_cv_lib_Xp_XpCreateContext=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7860 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7861 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7862 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7863 ac_cv_lib_Xp_XpCreateContext=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7864 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7866 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7867 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7868 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7869 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7870 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
7871 HAVE_LIBXP=yes
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7872 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7873
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
7874 if test ${HAVE_LIBXP} = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7875 cat >>confdefs.h <<\_ACEOF
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
7876 #define HAVE_LIBXP 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7877 _ACEOF
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
7878
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7879 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7880 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7881 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7882
Dave Love <fx@gnu.org>
parents:
diff changeset
7883 ### Is -lXaw3d available?
Dave Love <fx@gnu.org>
parents:
diff changeset
7884 HAVE_XAW3D=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7885 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7886 if test "${USE_X_TOOLKIT}" != "none"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7887 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7888 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7889 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7890 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7892 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7893 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7894 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7895 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7896 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7897 echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7898 echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7899 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7900 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7901 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7902 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7903 #include <X11/Xaw3d/Scrollbar.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7904 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7905 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7907 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7908 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7910 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7911 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7913 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7914 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7916 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7917 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7918 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7919 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7920 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7921 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7922 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7923 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7925 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7926
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7927 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7928 echo "$as_me:$LINENO: checking X11/Xaw3d/Scrollbar.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7929 echo $ECHO_N "checking X11/Xaw3d/Scrollbar.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7930 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7931 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7932 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7933 #include <X11/Xaw3d/Scrollbar.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7934 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7937 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7938 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7939 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7940 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7942 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7943 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7944 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7945 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7946 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7947 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7948 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7949 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7950 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7951 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7952 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7953 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7954 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7955 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7956 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7957 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7958 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7960 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7961
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7962 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7963 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7964 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7965 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7966 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7967 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7968 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7969 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7970 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7971 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7972 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7973 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7974 { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7975 echo "$as_me: WARNING: X11/Xaw3d/Scrollbar.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7976 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7977 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7978 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7979 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7980 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7981 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7982 ac_cv_header_X11_Xaw3d_Scrollbar_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7983 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7984 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7985 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7986
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7987 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7988 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7989 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7990 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7991 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7992 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7993 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7994 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7995 LIBS="-lXaw3d $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7996 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7997 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7998 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7999
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8000 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8001 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8002 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8003 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8004 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8005 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8006 char XawScrollbarSetThumb ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8007 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8008 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8009 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8010 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8011 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8012 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8013 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8014 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8015 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8016 XawScrollbarSetThumb ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8017 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8018 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8019 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8020 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8021 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8023 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8024 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8026 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8027 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8029 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8030 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8032 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8033 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8034 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8035 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8036 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8037 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8038 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8040 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8041 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8042 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8043 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8044 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8045 HAVE_XAW3D=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8046 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8047
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8048 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8049
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8050
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8051 if test "${HAVE_XAW3D}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8052 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8053 #define HAVE_XAW3D 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8054 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8055
Dave Love <fx@gnu.org>
parents:
diff changeset
8056 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8057 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8058 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8059
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8060
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8061 USE_TOOLKIT_SCROLL_BARS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
8062 if test "${with_toolkit_scroll_bars}" != "no"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8063 if test "${USE_X_TOOLKIT}" != "none"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8064 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8065 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8066 #define USE_TOOLKIT_SCROLL_BARS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8067 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8068
Dave Love <fx@gnu.org>
parents:
diff changeset
8069 HAVE_XAW3D=no
Dave Love <fx@gnu.org>
parents:
diff changeset
8070 USE_TOOLKIT_SCROLL_BARS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
8071 elif test "${HAVE_XAW3D}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8072 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8073 #define USE_TOOLKIT_SCROLL_BARS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8074 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8075
Dave Love <fx@gnu.org>
parents:
diff changeset
8076 USE_TOOLKIT_SCROLL_BARS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
8077 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8078 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8079 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8080
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8081
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
8082 if test "${with_xim}" != "no"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8083 cat >>confdefs.h <<\_ACEOF
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
8084 #define USE_XIM 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8085 _ACEOF
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
8086
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
8087 fi
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
8088
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8089 ### Use -lXpm if available, unless `--with-xpm=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
8090 HAVE_XPM=no
Dave Love <fx@gnu.org>
parents:
diff changeset
8091 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8092 if test "${with_xpm}" != "no"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8093 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8094 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8095 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8096 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8098 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8099 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8100 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8101 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8102 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8103 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8104 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8105 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8106 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8107 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8108 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8109 #include <X11/xpm.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8110 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8111 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8113 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8114 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8116 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8117 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8119 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8120 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8122 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8123 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8124 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8125 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8126 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8127 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8128 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8129 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8130 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8131 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8132
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8133 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8134 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8135 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8136 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8137 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8138 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8139 #include <X11/xpm.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8140 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8143 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8144 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8145 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8146 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8148 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8149 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8150 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8151 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8152 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8153 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8154 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8155 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8156 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8157 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8158 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8159 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8160 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8161 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8162 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8163 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8164 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8166 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8167
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8168 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8169 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8170 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8171 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8172 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8173 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8174 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8175 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8176 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8177 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8178 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8179 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8180 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8181 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8182 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8183 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8184 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8185 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8187 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8188 ac_cv_header_X11_xpm_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8189 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8190 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8191 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8192
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8193 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8194 if test $ac_cv_header_X11_xpm_h = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8195 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8196 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8197 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8198 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8199 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8200 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8201 LIBS="-lXpm -lX11 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8202 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8203 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8204 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8205
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8206 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8207 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8208 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8209 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8210 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8211 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8212 char XpmReadFileToPixmap ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8213 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8214 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8215 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8216 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8217 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8218 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8219 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8220 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8221 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8222 XpmReadFileToPixmap ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8223 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8224 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8225 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8226 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8227 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8229 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8230 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8232 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8233 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8235 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8236 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8238 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8239 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8240 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8241 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8242 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8243 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8244 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8246 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8247 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8248 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8249 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8250 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8251 HAVE_XPM=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8252 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8253
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8254 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8255
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8256
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8257 if test "${HAVE_XPM}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8258 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8259 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8260 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8261 #line $LINENO "configure"
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8262 #include "confdefs.h"
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8263 #include "X11/xpm.h"
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8264 #ifndef XpmReturnAllocPixels
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8265 no_return_alloc_pixels
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8266 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8267
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8268 _ACEOF
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8270 egrep "no_return_alloc_pixels" >/dev/null 2>&1; then
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8271 HAVE_XPM=no
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8272 else
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8273 HAVE_XPM=yes
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8274 fi
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8275 rm -f conftest*
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
8276
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8277
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
8278 if test "${HAVE_XPM}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8279 echo "$as_me:$LINENO: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8280 echo "${ECHO_T}yes" >&6
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
8281 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8282 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8283 echo "${ECHO_T}no" >&6
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
8284 fi
31320
298f3aff1431 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31229
diff changeset
8285 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8286 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8287
Dave Love <fx@gnu.org>
parents:
diff changeset
8288 if test "${HAVE_XPM}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8289 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8290 #define HAVE_XPM 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8291 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8292
Dave Love <fx@gnu.org>
parents:
diff changeset
8293 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8294 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8295
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8296 ### Use -ljpeg if available, unless `--with-jpeg=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
8297 HAVE_JPEG=no
Dave Love <fx@gnu.org>
parents:
diff changeset
8298 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8299 if test "${with_jpeg}" != "no"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8300 if test "${ac_cv_header_jerror_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8301 echo "$as_me:$LINENO: checking for jerror.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8302 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8303 if test "${ac_cv_header_jerror_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8304 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8305 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8306 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8307 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8308 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8309 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8310 echo "$as_me:$LINENO: checking jerror.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8311 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8312 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8313 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8314 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8315 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8316 #include <jerror.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8317 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8318 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8320 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8321 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8323 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8324 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8326 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8327 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8329 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8330 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8331 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8332 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8333 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8334 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8335 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8336 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8338 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8339
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8340 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8341 echo "$as_me:$LINENO: checking jerror.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8342 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8343 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8344 #line $LINENO "configure"
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
8345 #include "confdefs.h"
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
8346 #include <jerror.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8347 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8350 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8351 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8352 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8353 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8355 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8356 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8357 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8358 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8359 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8360 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8361 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8362 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8363 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8364 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8365 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8366 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8367 echo "$as_me: failed program was:" >&5
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
8368 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8369 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8370 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8371 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8373 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8374
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8375 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8376 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8377 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8378 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8379 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8380 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8381 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8382 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8383 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8384 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8385 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8386 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8387 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8388 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8389 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8390 echo "$as_me:$LINENO: checking for jerror.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8391 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8392 if test "${ac_cv_header_jerror_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8393 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8394 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8395 ac_cv_header_jerror_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8396 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8397 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8398 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8399
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8400 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8401 if test $ac_cv_header_jerror_h = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8402 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8403 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8404 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8405 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8406 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8407 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
8408 LIBS="-ljpeg $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8409 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8410 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8411 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8412
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8413 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8414 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8415 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8416 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8417 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8418 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8419 char jpeg_destroy_compress ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8420 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8421 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8422 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8423 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8424 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8425 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8426 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8427 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8428 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8429 jpeg_destroy_compress ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8430 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8431 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8432 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8433 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8434 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8436 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8437 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8439 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8440 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8442 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8443 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8445 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8446 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8447 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8448 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8449 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8450 ac_cv_lib_jpeg_jpeg_destroy_compress=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8451 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8453 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8454 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8455 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8456 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8457 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8458 HAVE_JPEG=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8459 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8460
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
8461 fi
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
8462
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8463
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8464 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8465
Dave Love <fx@gnu.org>
parents:
diff changeset
8466 if test "${HAVE_JPEG}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8467 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8468 #define HAVE_JPEG 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8469 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8470
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8471 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8472 #line $LINENO "configure"
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8473 #include "confdefs.h"
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8474 #include <jpeglib.h>
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8475 version=JPEG_LIB_VERSION
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8476
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8477 _ACEOF
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8479 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8480 cat >>confdefs.h <<\_ACEOF
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8481 #define HAVE_JPEG 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8482 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8483
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8484 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8485 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8486 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8487 HAVE_JPEG=no
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8488 fi
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8489 rm -f conftest*
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
8490
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8491 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8492 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8493
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8494 ### Use -lpng if available, unless `--with-png=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
8495 HAVE_PNG=no
Dave Love <fx@gnu.org>
parents:
diff changeset
8496 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8497 if test "${with_png}" != "no"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8498 if test "${ac_cv_header_png_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8499 echo "$as_me:$LINENO: checking for png.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8500 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8501 if test "${ac_cv_header_png_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8502 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8503 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8504 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8505 echo "${ECHO_T}$ac_cv_header_png_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8506 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8507 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8508 echo "$as_me:$LINENO: checking png.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8509 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8510 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8511 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8512 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8513 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8514 #include <png.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8515 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8516 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8518 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8519 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8521 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8522 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8524 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8525 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8527 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8528 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8529 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8530 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8531 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8532 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8533 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8534 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8536 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8537
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8538 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8539 echo "$as_me:$LINENO: checking png.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8540 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8541 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8542 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8543 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8544 #include <png.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8545 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8548 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8549 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8550 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8551 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8553 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8554 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8555 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8556 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8557 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8558 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8559 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8560 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8561 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8562 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8563 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8564 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8565 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8566 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8567 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8568 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8569 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8571 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8572
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8573 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8574 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8575 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8576 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8577 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8578 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8579 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8580 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8581 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8582 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8583 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8584 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8585 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8586 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8587 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8588 echo "$as_me:$LINENO: checking for png.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8589 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8590 if test "${ac_cv_header_png_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8591 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8592 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8593 ac_cv_header_png_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8594 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8595 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8596 echo "${ECHO_T}$ac_cv_header_png_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8597
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8598 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8599 if test $ac_cv_header_png_h = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8600 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8601 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8602 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8603 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8604 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8605 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
8606 LIBS="-lpng -lz -lm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8607 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8608 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8609 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8610
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8611 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8612 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8613 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8614 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8615 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8616 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8617 char png_get_channels ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8618 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8619 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8620 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8621 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8622 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8623 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8624 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8625 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8626 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8627 png_get_channels ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8628 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8629 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8630 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8631 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8632 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8634 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8635 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8637 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8638 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8640 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8641 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8643 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8644 ac_cv_lib_png_png_get_channels=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8645 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8646 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8647 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8648 ac_cv_lib_png_png_get_channels=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8649 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8651 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8652 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8653 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8654 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8655 if test $ac_cv_lib_png_png_get_channels = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8656 HAVE_PNG=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8657 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8658
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8659 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8660
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8661
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8662 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8663
Dave Love <fx@gnu.org>
parents:
diff changeset
8664 if test "${HAVE_PNG}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8665 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8666 #define HAVE_PNG 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8667 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8668
Dave Love <fx@gnu.org>
parents:
diff changeset
8669 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8670 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8671
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8672 ### Use -ltiff if available, unless `--with-tiff=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
8673 HAVE_TIFF=no
Dave Love <fx@gnu.org>
parents:
diff changeset
8674 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8675 if test "${with_tiff}" != "no"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8676 if test "${ac_cv_header_tiffio_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8677 echo "$as_me:$LINENO: checking for tiffio.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8678 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8679 if test "${ac_cv_header_tiffio_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8680 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8681 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8682 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8683 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8684 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8685 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8686 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8687 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8688 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8689 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8690 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8691 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8692 #include <tiffio.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8693 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8694 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8696 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8697 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8699 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8700 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8702 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8703 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8705 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8706 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8707 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8708 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8709 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8710 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8711 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8712 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8714 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8715
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8716 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8717 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8718 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8719 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8720 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8721 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8722 #include <tiffio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8723 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8726 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8727 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8728 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8729 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8731 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8732 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8733 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8734 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8735 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8736 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8737 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8738 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8739 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8740 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8741 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8742 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8743 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8744 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8745 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8746 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8747 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8749 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8750
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8751 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8752 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8753 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8754 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8755 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8756 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8757 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8758 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8759 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8760 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8761 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8762 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8763 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8764 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8765 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8766 echo "$as_me:$LINENO: checking for tiffio.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8767 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8768 if test "${ac_cv_header_tiffio_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8769 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8770 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8771 ac_cv_header_tiffio_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8772 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8773 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8774 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8775
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8776 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8777 if test $ac_cv_header_tiffio_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8778 tifflibs="-lz -lm"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8779 # At least one tiff package requires the jpeg library.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8780 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8781 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8782 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8783 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8784 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8785 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8786 ac_check_lib_save_LIBS=$LIBS
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8787 LIBS="-ltiff $tifflibs $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8788 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8789 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8790 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8791
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8792 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8793 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8794 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8795 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8796 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8797 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8798 char TIFFGetVersion ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8799 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8800 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8801 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8802 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8803 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8804 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8805 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8806 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8807 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8808 TIFFGetVersion ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8809 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8810 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8811 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8812 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8813 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8815 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8816 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8818 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8819 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8821 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8822 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8824 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8825 ac_cv_lib_tiff_TIFFGetVersion=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8826 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8827 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8828 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8829 ac_cv_lib_tiff_TIFFGetVersion=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8830 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8832 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8833 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8834 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8835 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8836 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8837 HAVE_TIFF=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8838 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8839
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8840 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8841
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8842
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8843 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8844
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8845 if test "${HAVE_TIFF}" = "yes"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8846 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8847 #define HAVE_TIFF 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8848 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8849
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8850 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8851 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8852
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8853 ### Use -lgif if available, unless `--with-gif=no'.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8854 HAVE_GIF=no
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8855 if test "${HAVE_X11}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8856 if test "${with_gif}" != "no"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8857 if test "${ac_cv_header_gif_lib_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8858 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8859 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8860 if test "${ac_cv_header_gif_lib_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8861 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8862 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8863 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8864 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8865 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8866 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8867 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8868 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8869 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8870 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8871 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8872 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8873 #include <gif_lib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8874 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8875 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8877 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8878 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8880 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8881 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8883 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8884 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8886 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8887 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8888 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8889 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8890 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8891 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8892 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8893 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8895 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8896
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8897 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8898 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8899 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8900 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8901 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8902 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8903 #include <gif_lib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8904 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8907 ac_status=$?
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8908 egrep -v '^ *\+' conftest.er1 >conftest.err
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8909 rm -f conftest.er1
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8910 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8912 (exit $ac_status); } >/dev/null; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8913 if test -s conftest.err; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8914 ac_cpp_err=$ac_c_preproc_warn_flag
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8915 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8916 ac_cpp_err=
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8917 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8918 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8919 ac_cpp_err=yes
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8920 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8921 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8922 ac_header_preproc=yes
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8923 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8924 echo "$as_me: failed program was:" >&5
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8925 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8926 ac_header_preproc=no
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8927 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
8928 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8930 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8931
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8932 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8933 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8934 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8935 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8936 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8937 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8938 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8939 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8940 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8941 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8942 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8943 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8944 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8945 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8946 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8947 echo "$as_me:$LINENO: checking for gif_lib.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8948 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8949 if test "${ac_cv_header_gif_lib_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8950 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8951 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8952 ac_cv_header_gif_lib_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8953 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8954 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8955 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8956
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8957 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8958 if test $ac_cv_header_gif_lib_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8959 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8960 # Earlier versions can crash Emacs.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8961 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8962 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8963 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8965 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8966 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8967 LIBS="-lungif $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8968 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8969 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8970 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8971
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8972 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8973 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8974 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8975 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8976 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8977 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8978 char EGifPutExtensionLast ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8979 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8980 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8981 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8982 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8983 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8984 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8985 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8986 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8987 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8988 EGifPutExtensionLast ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8989 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8990 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8991 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8992 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8993 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8995 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8996 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8998 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8999 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9001 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9002 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9004 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9005 ac_cv_lib_ungif_EGifPutExtensionLast=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9006 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9007 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9008 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9009 ac_cv_lib_ungif_EGifPutExtensionLast=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9010 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9012 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9013 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9014 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9015 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9016 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9017 HAVE_GIF=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9018 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9019
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9020 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9021
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9022
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9023 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9024
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9025 if test "${HAVE_GIF}" = "yes"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9026 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9027 #define HAVE_GIF 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9028 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9029
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9030 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9031 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9032
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9033 ### Use session management (-lSM -lICE) if available
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9034 HAVE_X_SM=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9035 if test "${HAVE_X11}" = "yes"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9036 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9037 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9038 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9039 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9041 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9042 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9043 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9044 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9045 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9046 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9047 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9048 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9049 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9050 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9051 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9052 #include <X11/SM/SMlib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9053 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9054 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9056 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9057 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9059 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9060 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9062 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9063 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9065 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9066 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9067 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9068 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9069 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9070 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9071 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9072 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9074 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9075
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9076 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9077 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9078 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9079 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9080 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9081 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9082 #include <X11/SM/SMlib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9083 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9086 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9087 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9088 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9089 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9091 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9092 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9093 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9094 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9095 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9096 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9097 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9098 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9099 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9100 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9101 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9102 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9103 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9104 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9105 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9106 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9107 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9109 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9110
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9111 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9112 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9113 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9114 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9115 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9116 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9117 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9118 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9119 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9120 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9121 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9122 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9123 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9124 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9125 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9126 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9127 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9128 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9129 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9130 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9131 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9132 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9133 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9134 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9135
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9136 fi
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9137 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9138 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9139 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9140 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9141 echo $ECHO_N "(cached) $ECHO_C" >&6
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9142 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9143 ac_check_lib_save_LIBS=$LIBS
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9144 LIBS="-lSM $LIBS"
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9145 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9146 #line $LINENO "configure"
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9147 #include "confdefs.h"
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9148
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9149 /* Override any gcc2 internal prototype to avoid an error. */
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9150 #ifdef __cplusplus
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9151 extern "C"
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9152 #endif
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9153 /* We use char because int might match the return type of a gcc2
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9154 builtin and then its argument prototype would still apply. */
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9155 char SmcOpenConnection ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9156 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9157 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9158 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9159 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9160 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9161 #endif
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9162 int
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9163 main ()
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9164 {
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9165 SmcOpenConnection ();
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9166 ;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9167 return 0;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9168 }
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9169 _ACEOF
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9170 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9172 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9173 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9175 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9176 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9178 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9179 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9181 (exit $ac_status); }; }; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9182 ac_cv_lib_SM_SmcOpenConnection=yes
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9183 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9184 echo "$as_me: failed program was:" >&5
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9185 cat conftest.$ac_ext >&5
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9186 ac_cv_lib_SM_SmcOpenConnection=no
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9187 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9189 LIBS=$ac_check_lib_save_LIBS
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9190 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9191 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9192 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9193 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9194 HAVE_X_SM=yes
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9195 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9196 -lICE
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9197 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9198
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9199 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9200
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9201
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9202
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9203 if test "${HAVE_X_SM}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9204 cat >>confdefs.h <<\_ACEOF
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9205 #define HAVE_X_SM 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9206 _ACEOF
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9207
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9208 case "$LIBS" in
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9209 *-lSM*) ;;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9210 *) LIBS="-lSM -lICE $LIBS" ;;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9211 esac
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9212 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9213 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
9214
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9215 # If netdb.h doesn't declare h_errno, we must declare it by hand.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9216 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9217 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9218 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9219 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9220 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9221 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9222 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9223 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
9224 #include <netdb.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9225 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9226 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9227 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9228 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9229 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9230 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9231 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9232 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9233 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9234 return h_errno;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9235 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9236 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9237 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9238 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9239 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9241 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9242 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9244 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9245 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9247 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9248 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9250 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9251 emacs_cv_netdb_declares_h_errno=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
9252 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9253 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9254 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9255 emacs_cv_netdb_declares_h_errno=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9256 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9258 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9259 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9260 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9261 if test $emacs_cv_netdb_declares_h_errno = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9262 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9263 #define HAVE_H_ERRNO 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9264 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9265
Dave Love <fx@gnu.org>
parents:
diff changeset
9266 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
9267
Dave Love <fx@gnu.org>
parents:
diff changeset
9268 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
Dave Love <fx@gnu.org>
parents:
diff changeset
9269 # for constant arguments. Useless!
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9270 echo "$as_me:$LINENO: checking for working alloca.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9271 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9272 if test "${ac_cv_working_alloca_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9274 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9275 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9276 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9277 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
9278 #include <alloca.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9279 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9280 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9281 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9282 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9283 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9284 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9285 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9286 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9287 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9288 char *p = (char *) alloca (2 * sizeof (int));
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9289 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9290 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9291 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9292 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9293 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9295 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9296 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9298 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9299 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9301 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9302 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9304 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9305 ac_cv_working_alloca_h=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9306 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9307 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9308 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9309 ac_cv_working_alloca_h=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9310 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9312 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9313 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9314 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9315 if test $ac_cv_working_alloca_h = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9316
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9317 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9318 #define HAVE_ALLOCA_H 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9319 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9320
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9321 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9322
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9323 echo "$as_me:$LINENO: checking for alloca" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9324 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9325 if test "${ac_cv_func_alloca_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9327 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9328 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9329 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9330 #include "confdefs.h"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9331 #ifdef __GNUC__
Dave Love <fx@gnu.org>
parents:
diff changeset
9332 # define alloca __builtin_alloca
Dave Love <fx@gnu.org>
parents:
diff changeset
9333 #else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9334 # ifdef _MSC_VER
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9335 # include <malloc.h>
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9336 # define alloca _alloca
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9337 # else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9338 # if HAVE_ALLOCA_H
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9339 # include <alloca.h>
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9340 # else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9341 # ifdef _AIX
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9342 #pragma alloca
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9343 # else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9344 # ifndef alloca /* predefined by HP cc +Olibcalls */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9345 char *alloca ();
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
9346 # endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9347 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
9348 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
9349 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
9350 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
9351
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9352 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9353 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9354 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9355 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9356 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9357 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9358 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9359 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9360 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9361 char *p = (char *) alloca (1);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9362 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9363 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9364 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9365 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9366 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9368 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9369 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9371 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9372 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9374 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9375 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9377 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9378 ac_cv_func_alloca_works=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
9379 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9380 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9381 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9382 ac_cv_func_alloca_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9383 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9385 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9386 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9387 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9388
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9389 if test $ac_cv_func_alloca_works = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9390
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9391 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9392 #define HAVE_ALLOCA 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9393 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9394
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9395 else
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9396 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9397 # that cause trouble. Some versions do not even contain alloca or
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9398 # contain a buggy version. If you still want to use their alloca,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9399 # use ar to extract alloca.o from them instead of compiling alloca.c.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9400
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9401 ALLOCA=alloca.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9402
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9403 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9404 #define C_ALLOCA 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9405 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9406
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9407
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9408 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9409 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9410 if test "${ac_cv_os_cray+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9411 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9412 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9413 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9414 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9415 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
9416 #if defined(CRAY) && ! defined(CRAY2)
Dave Love <fx@gnu.org>
parents:
diff changeset
9417 webecray
Dave Love <fx@gnu.org>
parents:
diff changeset
9418 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
9419 wenotbecray
Dave Love <fx@gnu.org>
parents:
diff changeset
9420 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
9421
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9422 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
9424 egrep "webecray" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
9425 ac_cv_os_cray=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
9426 else
Dave Love <fx@gnu.org>
parents:
diff changeset
9427 ac_cv_os_cray=no
Dave Love <fx@gnu.org>
parents:
diff changeset
9428 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
9429 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
9430
Dave Love <fx@gnu.org>
parents:
diff changeset
9431 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9432 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9433 echo "${ECHO_T}$ac_cv_os_cray" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9434 if test $ac_cv_os_cray = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9435 for ac_func in _getb67 GETB67 getb67; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9437 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9439 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9440 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9441 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9442 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9443 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9444 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
9445 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9446 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9447 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
9448 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9449 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9450 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9451 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9452 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9453 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9454 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9455 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9456
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9457 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9458 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9459 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9460 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9461 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9462 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9463 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9464 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9465 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9466 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
9467 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
9468 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
9469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
9470 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
9471 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9472 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9473 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9474
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9475 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9476 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9477 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9478 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9479 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9481 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9482 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9484 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9485 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9487 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9488 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9490 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9491 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9492 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9493 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9494 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9495 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9496 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9498 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9501 if test `eval echo '${'$as_ac_var'}'` = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9502
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9503 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9504 #define CRAY_STACKSEG_END $ac_func
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9505 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9506
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9507 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9508 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9509
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9510 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9511 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9512
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9513 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9514 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9515 if test "${ac_cv_c_stack_direction+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9517 else
Dave Love <fx@gnu.org>
parents:
diff changeset
9518 if test "$cross_compiling" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
9519 ac_cv_c_stack_direction=0
Dave Love <fx@gnu.org>
parents:
diff changeset
9520 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9521 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9522 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9523 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9524 int
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9525 find_stack_direction ()
Dave Love <fx@gnu.org>
parents:
diff changeset
9526 {
Dave Love <fx@gnu.org>
parents:
diff changeset
9527 static char *addr = 0;
Dave Love <fx@gnu.org>
parents:
diff changeset
9528 auto char dummy;
Dave Love <fx@gnu.org>
parents:
diff changeset
9529 if (addr == 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
9530 {
Dave Love <fx@gnu.org>
parents:
diff changeset
9531 addr = &dummy;
Dave Love <fx@gnu.org>
parents:
diff changeset
9532 return find_stack_direction ();
Dave Love <fx@gnu.org>
parents:
diff changeset
9533 }
Dave Love <fx@gnu.org>
parents:
diff changeset
9534 else
Dave Love <fx@gnu.org>
parents:
diff changeset
9535 return (&dummy > addr) ? 1 : -1;
Dave Love <fx@gnu.org>
parents:
diff changeset
9536 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9537
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9538 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9539 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9540 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9541 exit (find_stack_direction () < 0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9542 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9543 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9544 rm -f conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9546 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9547 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9551 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9552 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9554 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9555 ac_cv_c_stack_direction=1
Dave Love <fx@gnu.org>
parents:
diff changeset
9556 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9557 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9558 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9559 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9560 ( exit $ac_status )
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9561 ac_cv_c_stack_direction=-1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9562 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9563 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9564 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9565 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9566 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9567 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9568
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9569 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9570 #define STACK_DIRECTION $ac_cv_c_stack_direction
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9571 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9572
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9573
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9574 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9575
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9576
Dave Love <fx@gnu.org>
parents:
diff changeset
9577 # fmod, logb, and frexp are found in -lm on most systems.
Dave Love <fx@gnu.org>
parents:
diff changeset
9578 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9579
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9580 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9581 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9582 if test "${ac_cv_lib_m_sqrt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9584 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9585 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9586 LIBS="-lm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9587 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9588 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9589 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9590
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9591 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9592 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9593 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9594 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9595 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9596 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9597 char sqrt ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9598 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9599 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9600 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9601 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9602 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9603 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9604 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9605 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9606 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9607 sqrt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9608 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9609 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9610 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9611 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9612 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9614 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9615 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9617 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9618 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9620 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9621 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9623 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9624 ac_cv_lib_m_sqrt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9625 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9626 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9627 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9628 ac_cv_lib_m_sqrt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9629 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9631 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9632 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9634 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9635 if test $ac_cv_lib_m_sqrt = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9636 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9637 #define HAVE_LIBM 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9638 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9639
Dave Love <fx@gnu.org>
parents:
diff changeset
9640 LIBS="-lm $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
9641
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9642 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9643
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9644
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9645 # Check for mail-locking functions in a "mail" library
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9646
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9647 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9648 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9649 if test "${ac_cv_lib_mail_maillock+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9650 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9651 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9652 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9653 LIBS="-lmail $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9654 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9655 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9656 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9657
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9658 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9659 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9660 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9661 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9662 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9663 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9664 char maillock ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9665 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9666 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9667 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9668 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9669 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9670 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9671 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9672 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9673 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9674 maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9675 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9676 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9677 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9678 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9679 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9681 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9682 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9684 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9685 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9687 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9688 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9690 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9691 ac_cv_lib_mail_maillock=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9692 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9693 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9694 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9695 ac_cv_lib_mail_maillock=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9696 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9697 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9698 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9699 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9700 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9701 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9702 if test $ac_cv_lib_mail_maillock = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9703 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9704 #define HAVE_LIBMAIL 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9705 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9706
Dave Love <fx@gnu.org>
parents:
diff changeset
9707 LIBS="-lmail $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
9708
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9709 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9710
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9711
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9712 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9713 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9714 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9716 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9717 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9718 LIBS="-llockfile $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9719 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9720 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9721 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9722
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9723 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9724 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9725 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9726 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9727 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9728 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9729 char maillock ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9730 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9731 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9732 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9733 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9734 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9735 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9736 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9737 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9738 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9739 maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9740 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9741 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9742 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9743 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9744 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9746 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9747 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9749 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9750 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9752 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9753 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9755 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9756 ac_cv_lib_lockfile_maillock=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9757 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9758 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9759 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9760 ac_cv_lib_lockfile_maillock=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9761 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9763 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9764 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9765 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9766 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9767 if test $ac_cv_lib_lockfile_maillock = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9768 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9769 #define HAVE_LIBLOCKFILE 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9770 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9771
Dave Love <fx@gnu.org>
parents:
diff changeset
9772 LIBS="-llockfile $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
9773
Dave Love <fx@gnu.org>
parents:
diff changeset
9774 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
9775
Dave Love <fx@gnu.org>
parents:
diff changeset
9776 # If we have the shared liblockfile, assume we must use it for mail
Dave Love <fx@gnu.org>
parents:
diff changeset
9777 # locking (e.g. Debian). If we couldn't link against liblockfile
Dave Love <fx@gnu.org>
parents:
diff changeset
9778 # (no liblockfile.a installed), ensure that we don't need to.
Dave Love <fx@gnu.org>
parents:
diff changeset
9779 if test "$ac_cv_lib_lockfile_maillock" = no; then
Dave Love <fx@gnu.org>
parents:
diff changeset
9780 # Extract the first word of "liblockfile.so", so it can be a program name with args.
Dave Love <fx@gnu.org>
parents:
diff changeset
9781 set dummy liblockfile.so; ac_word=$2
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9782 echo "$as_me:$LINENO: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9784 if test "${ac_cv_prog_liblockfile+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9786 else
Dave Love <fx@gnu.org>
parents:
diff changeset
9787 if test -n "$liblockfile"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
9788 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
9789 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9791 for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9792 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9793 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9794 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9795 for ac_exec_ext in '' $ac_executable_extensions; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9797 ac_cv_prog_liblockfile="yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9799 break 2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9800 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9801 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9802 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9803
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9804 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
Dave Love <fx@gnu.org>
parents:
diff changeset
9805 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
9806 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9807 liblockfile=$ac_cv_prog_liblockfile
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9808 if test -n "$liblockfile"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9809 echo "$as_me:$LINENO: result: $liblockfile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9810 echo "${ECHO_T}$liblockfile" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9811 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9812 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9813 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9814 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
9815
Dave Love <fx@gnu.org>
parents:
diff changeset
9816 if test $ac_cv_prog_liblockfile = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9817 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9818 This probably means that movemail could lose mail.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9819 There may be a \`development' package to install containing liblockfile." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9820 echo "$as_me: error: Shared liblockfile found but can't link against it.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9821 This probably means that movemail could lose mail.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9822 There may be a \`development' package to install containing liblockfile." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9823 { (exit 1); exit 1; }; }
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9824 else cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9825 #define LIBMAIL -llockfile
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9826 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9827
Dave Love <fx@gnu.org>
parents:
diff changeset
9828 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
9829 else :
Dave Love <fx@gnu.org>
parents:
diff changeset
9830 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9831
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9832 for ac_func in touchlock
Dave Love <fx@gnu.org>
parents:
diff changeset
9833 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9835 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9837 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9839 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9840 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9841 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9842 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
9843 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9844 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9845 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
9846 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9847 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9848 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9849 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9850 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9851 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9852 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9853 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9854
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9855 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9856 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9857 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9858 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9859 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9860 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9861 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9862 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9863 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9864 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
9865 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
9866 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
9867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
9868 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
9869 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9870 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9871 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9872
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9873 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9874 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9875 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9876 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9877 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9879 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9880 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9882 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9883 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9885 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9886 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9888 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9889 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9890 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9891 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9892 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9893 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9894 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9895 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9896 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9899 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9900 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9902 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9903
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9904 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9905 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9906
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9907
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
9908 for ac_header in maillock.h
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9909 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9912 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9916 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9919 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9920 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9923 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9924 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9925 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9926 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9927 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9928 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9929 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9931 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9932 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9934 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9935 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9937 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9938 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9940 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9941 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9942 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9943 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9944 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9945 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9946 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9947 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9949 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9950
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9951 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9954 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9955 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9956 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9957 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9958 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9961 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9962 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9963 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9964 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9966 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9967 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9968 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9969 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9970 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9971 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9972 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9973 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9974 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9975 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9976 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9977 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9978 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
9979 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9980 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9981 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9982 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9984 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9985
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9986 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9987 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9988 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9992 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9993 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10000 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10001 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10004 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10005 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10006 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10007 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10010
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10011 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10013 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10015 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10016
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10017 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10018
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10019 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10020
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10021
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10022
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10023
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10024
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10025
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10026
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10027
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10028
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10029
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10030
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10031
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10032
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10033
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10034
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10035
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10036
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10037
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10038
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10039
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10040
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10041
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10042
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10043
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10044
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10045
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10046
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10047
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10048
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10049
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10050
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10051
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10052
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10053
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10054
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10055
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10056
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10057
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10058
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10059
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10060
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10061
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10062
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10063
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10064
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10065
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10066
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10067
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10068
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10069
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10070
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10071
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10072
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10073
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10074
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10075
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10076
44001
54ecf0606394 Manually edited to add checks for sendto, recvfrom, getsockopt, setsockopt,
Kim F. Storm <storm@cua.dk>
parents: 43924
diff changeset
10077 for ac_func in gethostname getdomainname dup2 \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10078 rename closedir mkdir rmdir sysinfo \
Dave Love <fx@gnu.org>
parents:
diff changeset
10079 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
Dave Love <fx@gnu.org>
parents:
diff changeset
10080 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
29733
6a91d938851d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29657
diff changeset
10081 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
42401
b04a7400fcb8 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 41960
diff changeset
10082 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
44001
54ecf0606394 Manually edited to add checks for sendto, recvfrom, getsockopt, setsockopt,
Kim F. Storm <storm@cua.dk>
parents: 43924
diff changeset
10083 sendto recvfrom getsockopt setsockopt getsockname getpeername \
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10084 gai_strerror mkstemp getline getdelim
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10085 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10087 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10089 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10090 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10091 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10092 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10093 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10094 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
10095 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10096 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10097 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
10098 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10099 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10100 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10101 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10102 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10103 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10104 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10105 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10106
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10107 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10108 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10109 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10110 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10111 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10112 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10113 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10114 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10115 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10116 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
10117 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
10118 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
10119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
10120 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
10121 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10122 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10123 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10124
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10125 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10126 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10127 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10128 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10129 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10131 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10132 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10134 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10135 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10137 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10138 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10140 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10141 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10142 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10143 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10144 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10145 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10146 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10148 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10151 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10152 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10154 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10155
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10156 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10157 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10158
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10159
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10160
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10161 for ac_header in sys/un.h
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10162 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10165 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10169 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10172 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10173 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10176 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10177 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10178 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10179 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10180 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10181 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10182 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10184 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10185 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10187 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10188 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10190 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10191 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10193 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10194 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10195 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10196 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10197 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10198 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10199 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10200 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10202 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10203
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10204 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10205 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10206 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10207 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10208 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10209 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10210 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10211 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10214 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10215 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10216 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10217 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10219 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10220 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10221 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10222 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10223 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10224 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10225 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10226 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10227 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10228 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10229 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10230 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10231 echo "$as_me: failed program was:" >&5
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10232 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10233 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10234 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10235 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10237 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10238
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10239 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10240 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10241 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10246 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10253 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10254 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10258 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10259 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10260 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10263
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10264 fi
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10266 cat >>confdefs.h <<_ACEOF
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10268 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10269
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10270 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10271
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10272 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10273
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10274
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10275
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10276
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10277 for ac_header in sys/time.h unistd.h
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10278 do
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10281 echo "$as_me:$LINENO: checking for $ac_header" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10284 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10285 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10288 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10289 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10290 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10292 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10293 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10294 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10295 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10296 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10297 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10298 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10300 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10301 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10303 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10304 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10306 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10307 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10309 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10310 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10311 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10312 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10313 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10314 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10315 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10316 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10318 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10319
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10320 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10323 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10324 #line $LINENO "configure"
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10325 #include "confdefs.h"
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10326 #include <$ac_header>
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10327 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10330 ac_status=$?
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10331 egrep -v '^ *\+' conftest.er1 >conftest.err
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10332 rm -f conftest.er1
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10333 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10335 (exit $ac_status); } >/dev/null; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10336 if test -s conftest.err; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10337 ac_cpp_err=$ac_c_preproc_warn_flag
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10338 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10339 ac_cpp_err=
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10340 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10341 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10342 ac_cpp_err=yes
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10343 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10344 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10345 ac_header_preproc=yes
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10346 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10347 echo "$as_me: failed program was:" >&5
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10348 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10349 ac_header_preproc=no
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10350 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
10351 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10353 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10354
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10355 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10356 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10357 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10362 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10369 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10370 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10373 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10374 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10375 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10376 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10379
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10380 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10382 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10384 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10385
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10386 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10387
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10388 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10389
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10390
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10391 for ac_func in alarm
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10392 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10394 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10396 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10398 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10399 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10400 #line $LINENO "configure"
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10401 #include "confdefs.h"
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10402 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10403 which can conflict with char $ac_func (); below. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10404 #include <assert.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10405 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10406 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10407 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10408 #endif
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10409 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10410 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10411 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10412 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10413
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10414 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10415 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10416 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10417 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10418 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10419 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10420 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10421 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10422 {
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10423 /* The GNU C library defines this for functions which it implements
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10424 to always fail with ENOSYS. Some functions are actually named
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10425 something starting with __ and the normal name is an alias. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10427 choke me
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10428 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10429 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10430 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10431
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10432 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10433 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10434 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10435 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10436 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10438 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10439 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10441 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10442 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10444 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10445 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10447 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10448 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10449 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10450 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10451 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10452 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10453 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10455 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10458 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10459 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10461 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10462
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10463 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10464 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10465
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10466 echo "$as_me:$LINENO: checking for working mktime" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10467 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10468 if test "${ac_cv_func_working_mktime+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10469 echo $ECHO_N "(cached) $ECHO_C" >&6
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10470 else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10471 if test "$cross_compiling" = yes; then
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10472 ac_cv_func_working_mktime=no
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10473 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10474 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10475 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10476 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10477 /* Test program from Paul Eggert and Tony Leneis. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10478 #if TIME_WITH_SYS_TIME
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10479 # include <sys/time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10480 # include <time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10481 #else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10482 # if HAVE_SYS_TIME_H
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10483 # include <sys/time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10484 # else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10485 # include <time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10486 # endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10487 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10488
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10489 #if HAVE_UNISTD_H
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10490 # include <unistd.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10491 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10492
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10493 #if !HAVE_ALARM
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10494 # define alarm(X) /* empty */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10495 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10496
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10497 /* Work around redefinition to rpl_putenv by other config tests. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10498 #undef putenv
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10499
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10500 static time_t time_t_max;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10501
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10502 /* Values we'll use to set the TZ environment variable. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10503 static const char *const tz_strings[] = {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10504 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10505 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10506 };
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10507 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10508
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10509 /* Fail if mktime fails to convert a date in the spring-forward gap.
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10510 Based on a problem report from Andreas Jaeger. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10511 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10512 spring_forward_gap ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10513 {
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10514 /* glibc (up to about 1998-10-07) failed this test. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10515 struct tm tm;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10516
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10517 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10518 instead of "TZ=America/Vancouver" in order to detect the bug even
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10519 on systems that don't support the Olson extension, or don't have the
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10520 full zoneinfo tables installed. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10521 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10522
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10523 tm.tm_year = 98;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10524 tm.tm_mon = 3;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10525 tm.tm_mday = 5;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10526 tm.tm_hour = 2;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10527 tm.tm_min = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10528 tm.tm_sec = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10529 tm.tm_isdst = -1;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10530 if (mktime (&tm) == (time_t)-1)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10531 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10532 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10533
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10534 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10535 mktime_test (now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10536 time_t now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10537 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10538 struct tm *lt;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10539 if ((lt = localtime (&now)) && mktime (lt) != now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10540 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10541 now = time_t_max - now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10542 if ((lt = localtime (&now)) && mktime (lt) != now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10543 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10544 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10545
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10546 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10547 irix_6_4_bug ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10548 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10549 /* Based on code from Ariel Faigon. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10550 struct tm tm;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10551 tm.tm_year = 96;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10552 tm.tm_mon = 3;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10553 tm.tm_mday = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10554 tm.tm_hour = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10555 tm.tm_min = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10556 tm.tm_sec = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10557 tm.tm_isdst = -1;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10558 mktime (&tm);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10559 if (tm.tm_mon != 2 || tm.tm_mday != 31)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10560 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10561 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10562
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10563 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10564 bigtime_test (j)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10565 int j;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10566 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10567 struct tm tm;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10568 time_t now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10569 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10570 now = mktime (&tm);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10571 if (now != (time_t) -1)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10572 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10573 struct tm *lt = localtime (&now);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10574 if (! (lt
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10575 && lt->tm_year == tm.tm_year
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10576 && lt->tm_mon == tm.tm_mon
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10577 && lt->tm_mday == tm.tm_mday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10578 && lt->tm_hour == tm.tm_hour
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10579 && lt->tm_min == tm.tm_min
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10580 && lt->tm_sec == tm.tm_sec
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10581 && lt->tm_yday == tm.tm_yday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10582 && lt->tm_wday == tm.tm_wday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10583 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10584 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10585 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10586 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10587 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10588
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10589 int
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10590 main ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10591 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10592 time_t t, delta;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10593 int i, j;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10594
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10595 /* This test makes some buggy mktime implementations loop.
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10596 Give up after 60 seconds; a mktime slower than that
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10597 isn't worth using anyway. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10598 alarm (60);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10599
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10600 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10601 continue;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10602 time_t_max--;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10603 delta = time_t_max / 997; /* a suitable prime number */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10604 for (i = 0; i < N_STRINGS; i++)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10605 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10606 if (tz_strings[i])
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10607 putenv (tz_strings[i]);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10608
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10609 for (t = 0; t <= time_t_max - delta; t += delta)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10610 mktime_test (t);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10611 mktime_test ((time_t) 60 * 60);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10612 mktime_test ((time_t) 60 * 60 * 24);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10613
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10614 for (j = 1; 0 < j; j *= 2)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10615 bigtime_test (j);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10616 bigtime_test (j - 1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10617 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10618 irix_6_4_bug ();
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10619 spring_forward_gap ();
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10620 exit (0);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10621 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10622 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10623 rm -f conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10625 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10626 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10630 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10631 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10633 (exit $ac_status); }; }; then
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10634 ac_cv_func_working_mktime=yes
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10635 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10636 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10637 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10638 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10639 ( exit $ac_status )
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10640 ac_cv_func_working_mktime=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10641 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10642 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10643 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10644 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10645 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10646 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10647 if test $ac_cv_func_working_mktime = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10648 LIBOBJS="$LIBOBJS mktime.$ac_objext"
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10649 fi
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10650
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10651 if test "$ac_cv_func_working_mktime" = no; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10652 cat >>confdefs.h <<\_ACEOF
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10653 #define BROKEN_MKTIME 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10654 _ACEOF
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10655
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10656 fi
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
10657
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10658 ac_have_func=no # yes means we've found a way to get the load average.
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10659
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10660 ac_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10661
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10662 # Check for getloadavg, but be sure not to touch the cache variable.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10663 (echo "$as_me:$LINENO: checking for getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10664 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10665 if test "${ac_cv_func_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10667 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10668 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10669 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10670 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10671 /* System header to define __stub macros and hopefully few prototypes,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10672 which can conflict with char getloadavg (); below. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10673 #include <assert.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10674 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10675 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10676 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10677 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10678 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10679 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10680 char getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10681 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10682
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10683 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10684 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10685 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10686 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10687 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10688 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10689 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10690 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10691 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10692 /* The GNU C library defines this for functions which it implements
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10693 to always fail with ENOSYS. Some functions are actually named
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10694 something starting with __ and the normal name is an alias. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10695 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10696 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10697 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10698 f = getloadavg;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10699 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10700
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10701 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10702 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10703 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10704 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10705 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10707 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10708 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10710 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10711 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10713 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10714 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10716 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10717 ac_cv_func_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10718 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10719 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10720 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10721 ac_cv_func_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10722 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10724 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10725 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10726 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10727 if test $ac_cv_func_getloadavg = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10728 exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10729 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10730 exit 1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10731 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10732 ) && ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10733
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10734 # On HPUX9, an unprivileged user can get load averages through this function.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10735
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10736 for ac_func in pstat_getdynamic
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10737 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10739 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10741 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10743 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10744 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10745 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10746 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10747 /* System header to define __stub macros and hopefully few prototypes,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10748 which can conflict with char $ac_func (); below. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10749 #include <assert.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10750 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10751 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10752 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10753 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10754 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10755 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10756 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10757 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10758
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10759 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10760 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10761 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10762 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10763 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10764 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10765 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10766 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10767 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10768 /* The GNU C library defines this for functions which it implements
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10769 to always fail with ENOSYS. Some functions are actually named
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10770 something starting with __ and the normal name is an alias. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10772 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10773 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10774 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10775 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10776
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10777 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10778 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10779 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10780 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10781 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10783 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10784 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10786 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10787 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10789 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10790 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10792 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10793 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10794 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10795 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10796 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10797 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10798 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10800 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10803 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10804 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10806 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10807
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10808 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10809 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10810
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10811
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10812 # Solaris has libkstat which does not require root.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10813
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10814 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10815 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10816 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10817 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10818 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10819 ac_check_lib_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10820 LIBS="-lkstat $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10821 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10822 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10823 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10824
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10825 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10826 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10827 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10828 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10829 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10830 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10831 char kstat_open ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10832 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10833 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10834 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10835 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10836 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10837 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10838 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10839 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10840 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10841 kstat_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10842 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10843 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10844 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10845 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10846 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10848 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10849 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10851 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10852 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10854 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10855 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10857 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10858 ac_cv_lib_kstat_kstat_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10859 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10860 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10861 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10862 ac_cv_lib_kstat_kstat_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10863 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10865 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10866 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10867 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10868 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10869 if test $ac_cv_lib_kstat_kstat_open = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10870 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10871 #define HAVE_LIBKSTAT 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10872 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10873
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10874 LIBS="-lkstat $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10875
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10876 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10877
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10878 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10879
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10880 # Some systems with -lutil have (and need) -lkvm as well, some do not.
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10881 # On Solaris, -lkvm requires nlist from -lelf, so check that first
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10882 # to get the right answer into the cache.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10883 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10884 if test $ac_have_func = no; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10885 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10886 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10887 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10889 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10890 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10891 LIBS="-lelf $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10892 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10893 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10894 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10895
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10896 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10897 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10898 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10899 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10900 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10901 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10902 char elf_begin ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10903 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10904 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10905 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10906 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10907 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10908 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10909 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10910 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10911 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10912 elf_begin ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10913 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10914 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10915 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10916 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10917 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10919 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10920 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10922 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10923 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10925 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10926 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10928 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10929 ac_cv_lib_elf_elf_begin=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10930 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10931 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10932 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10933 ac_cv_lib_elf_elf_begin=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10934 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10936 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10937 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10938 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10939 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10940 if test $ac_cv_lib_elf_elf_begin = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10941 LIBS="-lelf $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10942 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10943
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10944 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10945 if test $ac_have_func = no; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10946 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10947 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10948 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10950 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10951 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10952 LIBS="-lkvm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10953 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10954 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10955 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10956
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10957 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10958 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10959 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10960 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
10961 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10962 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10963 char kvm_open ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10964 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10965 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10966 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10967 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10968 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10969 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10970 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10971 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10972 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10973 kvm_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10974 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10975 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10976 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10977 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10978 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10980 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10981 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10983 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10984 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10986 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10987 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10989 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10990 ac_cv_lib_kvm_kvm_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10991 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10992 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10993 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10994 ac_cv_lib_kvm_kvm_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10995 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10996 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10997 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10998 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10999 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11000 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11001 if test $ac_cv_lib_kvm_kvm_open = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11002 LIBS="-lkvm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11003 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11004
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11005 # Check for the 4.4BSD definition of getloadavg.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11006 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11007 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11008 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11009 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11010 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11011 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11012 LIBS="-lutil $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11013 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11014 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11015 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11016
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11017 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11018 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11019 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11020 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11021 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11022 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11023 char getloadavg ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11024 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11025 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11026 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11027 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11028 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11029 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11030 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11031 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11032 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11033 getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11034 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11035 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11036 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11037 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11038 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11040 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11041 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11043 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11044 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11046 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11047 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11049 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11050 ac_cv_lib_util_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11051 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11052 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11053 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11054 ac_cv_lib_util_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11055 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11057 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11058 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11059 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11060 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11061 if test $ac_cv_lib_util_getloadavg = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11062 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11063 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11064
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11065 fi
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11066
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11067 if test $ac_have_func = no; then
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11068 # There is a commonly available library for RS/6000 AIX.
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11069 # Since it is not a standard part of AIX, it might be installed locally.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11070 ac_getloadavg_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11071 LIBS="-L/usr/local/lib $LIBS"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11072 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11073 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11074 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11075 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11076 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11077 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11078 LIBS="-lgetloadavg $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11079 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11080 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11081 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11082
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11083 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11084 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11085 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11086 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
11087 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11088 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11089 char getloadavg ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11090 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11091 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11092 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11093 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11094 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11095 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11096 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11097 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11098 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11099 getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11100 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11101 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11102 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11103 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11104 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11106 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11107 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11109 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11110 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11112 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11113 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11115 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11116 ac_cv_lib_getloadavg_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11117 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11118 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11119 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11120 ac_cv_lib_getloadavg_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11121 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11123 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11124 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11125 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11126 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11127 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11128 LIBS="-lgetloadavg $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11129 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11130 LIBS=$ac_getloadavg_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11131 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11132
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11133 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11134
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11135 # Make sure it is really in the library, if we think we found it,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11136 # otherwise set up the replacement function.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11137
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11138 for ac_func in getloadavg
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11139 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11141 echo "$as_me:$LINENO: checking for $ac_func" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11143 if eval "test \"\${$as_ac_var+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11144 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11145 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11146 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11147 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11148 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11149 /* System header to define __stub macros and hopefully few prototypes,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11150 which can conflict with char $ac_func (); below. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11151 #include <assert.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11152 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11153 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11154 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11155 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11156 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11157 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11158 char $ac_func ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11159 char (*f) ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11160
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11161 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11162 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11163 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11164 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11165 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11166 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11167 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11168 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11169 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11170 /* The GNU C library defines this for functions which it implements
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11171 to always fail with ENOSYS. Some functions are actually named
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11172 something starting with __ and the normal name is an alias. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11174 choke me
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11175 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11176 f = $ac_func;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11177 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11178
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11179 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11180 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11181 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11182 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11183 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11185 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11186 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11188 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11189 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11191 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11192 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11194 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11195 eval "$as_ac_var=yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11196 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11197 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11198 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11199 eval "$as_ac_var=no"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11200 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11202 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11205 if test `eval echo '${'$as_ac_var'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11206 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11208 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11209
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11210 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11211 LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11212
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11213 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11214 #define C_GETLOADAVG 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11215 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11216
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11217 # Figure out what our getloadavg.c needs.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11218 ac_have_func=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11219 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11220 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11221 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11222 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11224 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11225 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11226 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11227 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11228 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11229 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11230 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11231 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11232 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11233 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11234 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11235 #include <sys/dg_sys_info.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11236 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11237 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11239 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11240 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11242 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11243 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11245 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11246 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11248 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11249 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11250 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11251 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11252 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11253 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11254 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11255 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11257 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11258
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11259 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11260 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11261 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11262 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11263 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11264 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11265 #include <sys/dg_sys_info.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11266 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11268 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11269 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11270 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11271 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11272 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11274 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11275 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11276 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11277 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11278 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11279 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11280 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11281 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11282 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11283 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11284 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11285 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11286 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11287 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11288 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11289 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11290 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11292 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11293
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11294 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11295 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11296 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11297 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11298 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11299 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11300 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11301 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11302 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11303 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11304 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11305 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11306 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11307 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11308 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11309 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11310 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11311 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11312 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11313 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11314 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11315 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11316 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11317 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11318
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11319 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11320 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11321 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11322
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11323 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11324 #define DGUX 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11325 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11326
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11327
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11328 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11329 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11330 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11331 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11332 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11333 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11334 LIBS="-ldgc $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11335 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11336 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11337 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11338
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11339 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11340 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11341 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11342 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11343 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11344 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11345 char dg_sys_info ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11346 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11347 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11348 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11349 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11350 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11351 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11352 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11353 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11354 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11355 dg_sys_info ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11356 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11357 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11358 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11359 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11360 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11362 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11363 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11365 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11366 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11368 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11369 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11371 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11372 ac_cv_lib_dgc_dg_sys_info=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11373 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11374 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11375 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11376 ac_cv_lib_dgc_dg_sys_info=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11377 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11379 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11380 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11381 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11382 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11383 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11384 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11385 #define HAVE_LIBDGC 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11386 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11387
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11388 LIBS="-ldgc $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11389
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11390 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11391
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11392 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11393
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11394
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11395
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11396 if test "${ac_cv_header_locale_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11397 echo "$as_me:$LINENO: checking for locale.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11398 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11399 if test "${ac_cv_header_locale_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11401 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11402 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11403 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11404 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11405 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11406 echo "$as_me:$LINENO: checking locale.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11407 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11408 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11409 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11410 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11411 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11412 #include <locale.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11413 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11414 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11416 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11417 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11419 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11420 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11422 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11423 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11425 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11426 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11427 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11428 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11429 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11430 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11431 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11432 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11434 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11435
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11436 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11437 echo "$as_me:$LINENO: checking locale.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11438 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11439 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11440 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11441 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11442 #include <locale.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11443 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11446 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11447 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11448 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11449 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11451 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11452 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11453 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11454 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11455 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11456 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11457 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11458 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11459 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11460 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11461 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11462 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11463 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11464 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11465 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11466 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11467 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11469 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11470
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11471 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11472 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11473 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11474 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11475 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11476 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11477 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11478 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11479 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11480 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11481 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11482 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11483 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11484 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11485 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11486 echo "$as_me:$LINENO: checking for locale.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11487 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11488 if test "${ac_cv_header_locale_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11490 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11491 ac_cv_header_locale_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11492 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11493 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11494 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11495
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11496 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11497
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11498
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11499
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11500 for ac_func in setlocale
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11501 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11503 echo "$as_me:$LINENO: checking for $ac_func" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11505 if eval "test \"\${$as_ac_var+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11506 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11507 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11508 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11509 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11510 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11511 /* System header to define __stub macros and hopefully few prototypes,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11512 which can conflict with char $ac_func (); below. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11513 #include <assert.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11514 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11515 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11516 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11517 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11518 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11519 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11520 char $ac_func ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11521 char (*f) ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11522
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11523 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11524 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11525 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11526 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11527 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11528 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11529 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11530 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11531 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11532 /* The GNU C library defines this for functions which it implements
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11533 to always fail with ENOSYS. Some functions are actually named
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11534 something starting with __ and the normal name is an alias. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11536 choke me
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11537 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11538 f = $ac_func;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11539 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11540
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11541 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11542 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11543 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11544 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11545 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11547 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11548 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11550 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11551 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11553 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11554 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11556 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11557 eval "$as_ac_var=yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11558 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11559 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11560 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11561 eval "$as_ac_var=no"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11562 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11564 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11567 if test `eval echo '${'$as_ac_var'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11568 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11570 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11571
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11572 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11573 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11574
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11575
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11576 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11577 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11578 # Irix 4.0.5F has the header but not the library.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11579 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11580 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11581
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11582 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11583 #define SVR4 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11584 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11585
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11586 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11587
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11588 if test $ac_have_func = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11589 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11590 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11591 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11592 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11594 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11595 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11596 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11597 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11598 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11599 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11600 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11601 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11602 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11603 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11604 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11605 #include <inq_stats/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11606 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11607 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11609 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11610 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11612 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11613 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11615 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11616 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11618 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11619 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11620 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11621 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11622 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11623 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11624 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11625 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11627 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11628
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11629 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11630 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11631 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11632 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11633 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11634 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11635 #include <inq_stats/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11636 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11639 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11640 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11641 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11642 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11644 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11645 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11646 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11647 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11648 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11649 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11650 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11651 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11652 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11653 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11654 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11655 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11656 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11657 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11658 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11659 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11660 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11662 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11663
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11664 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11665 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11666 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11667 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11668 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11669 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11670 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11671 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11672 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11673 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11674 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11675 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11676 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11677 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11678 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11679 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11680 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11681 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11683 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11684 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11685 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11686 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11687 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11688
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11689 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11690 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11691 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11692
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11693 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11694 #define UMAX 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11695 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11696
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11697
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11698 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11699 #define UMAX4_3 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11700 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11701
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11702 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11703
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11704
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11705 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11706
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11707 if test $ac_have_func = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11708 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11709 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11710 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11711 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11712 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11713 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11714 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11715 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11716 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11717 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11718 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11719 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11720 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11721 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11722 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11723 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11724 #include <sys/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11725 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11726 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11728 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11729 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11731 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11732 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11734 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11735 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11737 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11738 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11739 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11740 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11741 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11742 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11743 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11744 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11746 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11747
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11748 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11749 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11750 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11751 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11752 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11753 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11754 #include <sys/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11755 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11758 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11759 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11760 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11761 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11763 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11764 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11765 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11766 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11767 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11768 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11769 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11770 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11771 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11772 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11773 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11774 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11775 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11776 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11777 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11778 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11779 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11781 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11782
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11783 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11784 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11785 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11786 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11787 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11788 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11789 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11790 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11791 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11792 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11793 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11794 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11795 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11796 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11797 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11798 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11799 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11800 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11802 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11803 ac_cv_header_sys_cpustats_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11804 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11805 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11806 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11807
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11808 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11809 if test $ac_cv_header_sys_cpustats_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11810 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11811 #define UMAX 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11812 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11813
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11814 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11815
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11816
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11817 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11818
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11819 if test $ac_have_func = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11820
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11821 for ac_header in mach/mach.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11822 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11825 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11829 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11832 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11833 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11836 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11837 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11838 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11839 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11840 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11841 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11842 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11844 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11845 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11847 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11848 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11850 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11851 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11853 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11854 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11855 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11856 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11857 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11858 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11859 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11860 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11862 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11863
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11864 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11867 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11868 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11869 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11870 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11871 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11874 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11875 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11876 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11877 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11879 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11880 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11881 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11882 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11883 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11884 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11885 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11886 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11887 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11888 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11889 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11890 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11891 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11892 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11893 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11894 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11895 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11897 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11898
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11899 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11900 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11901 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11906 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11913 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11914 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11918 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11919 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11920 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11923
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11924 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11926 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11928 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11929
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11930 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11931
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11932 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11933
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11934 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11935
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11936
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11937 for ac_header in nlist.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11938 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11941 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11945 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11948 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11949 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11952 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11953 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11954 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11955 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11956 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11957 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11958 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11960 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11961 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11963 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11964 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11966 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11967 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11969 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11970 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11971 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11972 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11973 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11974 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11975 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11976 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11978 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11979
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11980 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11983 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11984 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11985 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11986 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11987 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11990 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11991 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11992 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11993 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11995 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11996 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11997 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11998 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11999 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12000 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12001 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12002 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12003 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12004 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12005 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12006 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12007 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12008 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12009 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12010 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12011 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12013 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12014
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12015 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12016 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12017 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12022 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12029 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12030 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12034 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12035 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12036 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12039
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12040 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12042 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12044 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12045 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12046 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12047 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12049 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12050 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12051 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12052 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12053 #include <nlist.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12054
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12055 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12056 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12057 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12058 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12059 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12060 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12061 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12062 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12063 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12064 static struct nlist ac_aggr;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12065 if (ac_aggr.n_un.n_name)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12066 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12067 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12068 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12069 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12070 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12071 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12073 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12074 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12076 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12077 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12079 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12080 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12082 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12083 ac_cv_member_struct_nlist_n_un_n_name=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12084 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12085 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12086 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12087 ac_cv_member_struct_nlist_n_un_n_name=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12088 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12089 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12090 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12091 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12092 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12093 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12094
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12095 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12096 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12097 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12098
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12099
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12100 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12101 #define NLIST_NAME_UNION 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12102 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12103
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12104 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12105
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12106
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12107 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12108
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12109 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12110
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12111 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12112 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12113
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12114
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12115 # Some definitions of getloadavg require that the program be installed setgid.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12116 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12117 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12118 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12120 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12121 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12122 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12123 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12124 #include "$srcdir/getloadavg.c"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12125 #ifdef LDAV_PRIVILEGED
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12126 Yowza Am I SETGID yet
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12127 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12128 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12130 egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12131 ac_cv_func_getloadavg_setgid=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12132 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12133 ac_cv_func_getloadavg_setgid=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12134 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12135 rm -f conftest*
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12136
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12137 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12138 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12139 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12140 if test $ac_cv_func_getloadavg_setgid = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12141 NEED_SETGID=true
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12142
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12143 cat >>confdefs.h <<\_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12144 #define GETLOADAVG_PRIVILEGED 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12145 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12146
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12147 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12148 NEED_SETGID=false
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12149 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12150
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12151 if test $ac_cv_func_getloadavg_setgid = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12152 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12153 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12154 if test "${ac_cv_group_kmem+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12156 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12157 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12158 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12159 # If we got an error (system does not support symlinks), try without -L.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12160 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12161 ac_cv_group_kmem=`echo $ac_ls_output \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12162 | sed -ne 's/[ ][ ]*/ /g;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12163 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12164 / /s/.* //;p;'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12165
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12166 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12167 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12168 echo "${ECHO_T}$ac_cv_group_kmem" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12169 KMEM_GROUP=$ac_cv_group_kmem
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12170 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12171 if test "x$ac_save_LIBS" = x; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12172 GETLOADAVG_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12173 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12174 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12175 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12176 LIBS=$ac_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12177
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12178
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12179
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12180 ac_have_func=no # yes means we've found a way to get the load average.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12181
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12182 ac_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12183
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12184 # Check for getloadavg, but be sure not to touch the cache variable.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12185 (echo "$as_me:$LINENO: checking for getloadavg" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12186 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12187 if test "${ac_cv_func_getloadavg+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12189 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12190 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12191 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12192 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12193 /* System header to define __stub macros and hopefully few prototypes,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12194 which can conflict with char getloadavg (); below. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12195 #include <assert.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12196 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12197 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12198 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12199 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12200 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12201 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12202 char getloadavg ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12203 char (*f) ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12204
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12205 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12206 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12207 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12208 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12209 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12210 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12211 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12212 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12213 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12214 /* The GNU C library defines this for functions which it implements
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12215 to always fail with ENOSYS. Some functions are actually named
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12216 something starting with __ and the normal name is an alias. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12217 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12218 choke me
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12219 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12220 f = getloadavg;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12221 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12222
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12223 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12224 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12225 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12226 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12227 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12229 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12230 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12232 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12233 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12235 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12236 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12238 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12239 ac_cv_func_getloadavg=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12240 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12241 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12242 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12243 ac_cv_func_getloadavg=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12244 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12246 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12247 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12248 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12249 if test $ac_cv_func_getloadavg = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12250 exit 0
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12251 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12252 exit 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12253 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12254 ) && ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12255
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12256 # On HPUX9, an unprivileged user can get load averages through this function.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12257
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12258 for ac_func in pstat_getdynamic
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12259 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12261 echo "$as_me:$LINENO: checking for $ac_func" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12263 if eval "test \"\${$as_ac_var+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12264 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12265 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12266 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12267 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12268 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12269 /* System header to define __stub macros and hopefully few prototypes,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12270 which can conflict with char $ac_func (); below. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12271 #include <assert.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12272 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12273 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12274 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12275 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12276 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12277 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12278 char $ac_func ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12279 char (*f) ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12280
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12281 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12282 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12283 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12284 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12285 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12286 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12287 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12288 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12289 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12290 /* The GNU C library defines this for functions which it implements
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12291 to always fail with ENOSYS. Some functions are actually named
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12292 something starting with __ and the normal name is an alias. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12294 choke me
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12295 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12296 f = $ac_func;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12297 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12298
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12299 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12300 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12301 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12302 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12303 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12305 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12306 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12308 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12309 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12311 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12312 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12314 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12315 eval "$as_ac_var=yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12316 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12317 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12318 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12319 eval "$as_ac_var=no"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12320 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12322 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12325 if test `eval echo '${'$as_ac_var'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12326 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12328 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12329
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12330 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12331 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12332
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12333
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12334 # Solaris has libkstat which does not require root.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12335
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12336 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12337 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12338 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12340 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12341 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12342 LIBS="-lkstat $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12343 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12344 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12345 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12346
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12347 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12348 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12349 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12350 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12351 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12352 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12353 char kstat_open ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12354 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12355 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12356 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12357 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12358 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12359 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12360 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12361 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12362 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12363 kstat_open ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12364 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12365 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12366 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12367 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12368 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12370 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12371 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12373 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12374 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12376 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12377 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12379 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12380 ac_cv_lib_kstat_kstat_open=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12381 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12382 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12383 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12384 ac_cv_lib_kstat_kstat_open=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12385 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12387 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12388 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12389 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12390 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12391 if test $ac_cv_lib_kstat_kstat_open = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12392 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12393 #define HAVE_LIBKSTAT 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12394 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12395
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12396 LIBS="-lkstat $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12397
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12398 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12399
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12400 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12401
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12402 # Some systems with -lutil have (and need) -lkvm as well, some do not.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12403 # On Solaris, -lkvm requires nlist from -lelf, so check that first
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12404 # to get the right answer into the cache.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12405 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12406 if test $ac_have_func = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12407 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12408 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12409 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12411 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12412 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12413 LIBS="-lelf $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12414 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12415 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12416 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12417
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12418 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12419 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12420 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12421 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12422 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12423 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12424 char elf_begin ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12425 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12426 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12427 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12428 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12429 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12430 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12431 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12432 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12433 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12434 elf_begin ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12435 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12436 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12437 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12438 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12439 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12441 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12442 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12444 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12445 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12447 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12448 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12450 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12451 ac_cv_lib_elf_elf_begin=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12452 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12453 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12454 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12455 ac_cv_lib_elf_elf_begin=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12456 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12458 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12459 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12460 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12461 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12462 if test $ac_cv_lib_elf_elf_begin = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12463 LIBS="-lelf $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12464 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12465
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12466 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12467 if test $ac_have_func = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12468 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12469 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12470 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12472 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12473 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12474 LIBS="-lkvm $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12475 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12476 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12477 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12478
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12479 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12480 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12481 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12482 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12483 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12484 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12485 char kvm_open ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12486 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12487 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12488 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12489 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12490 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12491 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12492 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12493 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12494 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12495 kvm_open ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12496 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12497 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12498 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12499 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12500 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12502 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12503 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12505 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12506 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12508 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12509 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12511 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12512 ac_cv_lib_kvm_kvm_open=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12513 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12514 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12515 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12516 ac_cv_lib_kvm_kvm_open=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12517 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12519 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12520 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12521 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12522 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12523 if test $ac_cv_lib_kvm_kvm_open = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12524 LIBS="-lkvm $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12525 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12526
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12527 # Check for the 4.4BSD definition of getloadavg.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12528 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12529 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12530 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12532 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12533 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12534 LIBS="-lutil $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12535 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12536 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12537 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12538
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12539 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12540 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12541 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12542 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12543 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12544 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12545 char getloadavg ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12546 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12547 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12548 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12549 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12550 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12551 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12552 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12553 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12554 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12555 getloadavg ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12556 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12557 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12558 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12559 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12560 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12562 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12563 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12565 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12566 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12568 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12569 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12571 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12572 ac_cv_lib_util_getloadavg=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12573 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12574 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12575 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12576 ac_cv_lib_util_getloadavg=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12577 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12579 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12580 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12581 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12582 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12583 if test $ac_cv_lib_util_getloadavg = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12584 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12585 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12586
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12587 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12588
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12589 if test $ac_have_func = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12590 # There is a commonly available library for RS/6000 AIX.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12591 # Since it is not a standard part of AIX, it might be installed locally.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12592 ac_getloadavg_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12593 LIBS="-L/usr/local/lib $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12594 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12595 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12596 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12598 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12599 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12600 LIBS="-lgetloadavg $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12601 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12602 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12603 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12604
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12605 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12606 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12607 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12608 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12609 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12610 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12611 char getloadavg ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12612 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12613 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12614 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12615 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12616 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12617 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12618 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12619 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12620 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12621 getloadavg ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12622 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12623 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12624 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12625 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12626 rm -f conftest.$ac_objext conftest$ac_exeext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12628 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12629 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12631 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12632 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12634 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12635 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12637 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12638 ac_cv_lib_getloadavg_getloadavg=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12639 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12640 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12641 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12642 ac_cv_lib_getloadavg_getloadavg=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12643 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12645 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12646 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12647 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12648 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12649 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12650 LIBS="-lgetloadavg $LIBS"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12651 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12652 LIBS=$ac_getloadavg_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12653 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12654
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12655 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12656
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12657 # Make sure it is really in the library, if we think we found it,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12658 # otherwise set up the replacement function.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12659
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12660 for ac_func in getloadavg
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12661 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12663 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12665 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12667 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12668 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12669 #line $LINENO "configure"
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12670 #include "confdefs.h"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12671 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12672 which can conflict with char $ac_func (); below. */
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12673 #include <assert.h>
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12674 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12675 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12676 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12677 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12678 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12679 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12680 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12681 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12682
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12683 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12684 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12685 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12686 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12687 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12688 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12689 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12690 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12691 {
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12692 /* The GNU C library defines this for functions which it implements
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12693 to always fail with ENOSYS. Some functions are actually named
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12694 something starting with __ and the normal name is an alias. */
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12696 choke me
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12697 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12698 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12699 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12700
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12701 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12702 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12703 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12704 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12705 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12707 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12708 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12710 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12711 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12713 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12714 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12716 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12717 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12718 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12719 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12720 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12721 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12722 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12724 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12727 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12728 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12730 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12731
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12732 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12733 LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12734
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12735 cat >>confdefs.h <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12736 #define C_GETLOADAVG 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12737 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12738
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12739 # Figure out what our getloadavg.c needs.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12740 ac_have_func=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12741 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12742 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12743 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12744 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12745 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12746 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12747 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12748 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12749 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12750 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12751 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12752 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12753 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12754 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12755 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12756 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12757 #include <sys/dg_sys_info.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12758 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12759 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12761 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12762 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12764 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12765 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12767 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12768 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12770 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12771 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12772 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12773 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12774 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12775 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12776 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12777 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12779 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12780
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12781 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12782 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12783 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12784 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12785 #line $LINENO "configure"
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12786 #include "confdefs.h"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12787 #include <sys/dg_sys_info.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12788 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12791 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12792 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12793 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12794 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12796 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12797 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12798 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12799 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12800 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12801 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12802 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12803 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12804 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12805 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12806 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12807 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12808 echo "$as_me: failed program was:" >&5
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12809 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12810 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12811 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12812 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12814 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12815
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12816 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12817 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12818 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12819 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12820 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12821 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12822 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12823 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12824 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12825 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12826 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12827 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12828 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12829 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12830 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12831 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12832 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12833 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12835 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12836 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12837 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12838 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12839 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12840
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12841 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12842 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12843 ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12844
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12845 cat >>confdefs.h <<\_ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12846 #define DGUX 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12847 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12848
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12849
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12850 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12851 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12852 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12854 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12855 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12856 LIBS="-ldgc $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12857 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12858 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12859 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12860
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12861 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12862 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12863 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12864 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12865 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12866 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12867 char dg_sys_info ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12868 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12869 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12870 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12871 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12872 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12873 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12874 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12875 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12876 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12877 dg_sys_info ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12878 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12879 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12880 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12881 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12882 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12884 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12885 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12887 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12888 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12890 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12891 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12893 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12894 ac_cv_lib_dgc_dg_sys_info=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12895 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12896 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12897 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12898 ac_cv_lib_dgc_dg_sys_info=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12899 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12901 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12902 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12903 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12904 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12905 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12906 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12907 #define HAVE_LIBDGC 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12908 _ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12909
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12910 LIBS="-ldgc $LIBS"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
12911
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12912 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12913
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12914 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12915
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12916
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12917
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12918 if test "${ac_cv_header_locale_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12919 echo "$as_me:$LINENO: checking for locale.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12920 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12921 if test "${ac_cv_header_locale_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12923 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12924 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12925 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12926 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12927 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12928 echo "$as_me:$LINENO: checking locale.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12929 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12930 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12931 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12932 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12933 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12934 #include <locale.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12935 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12936 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12938 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12939 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12941 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12942 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12944 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12945 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12947 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12948 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12949 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12950 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12951 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12952 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12953 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12954 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12956 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12957
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12958 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12959 echo "$as_me:$LINENO: checking locale.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12960 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12961 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12962 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12963 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12964 #include <locale.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12965 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12968 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12969 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12970 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12971 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12973 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12974 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12975 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12976 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12977 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12978 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12979 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12980 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12981 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12982 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12983 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12984 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12985 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12986 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12987 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12988 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12989 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12991 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12992
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12993 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12994 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12995 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12996 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12997 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12998 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12999 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13000 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13001 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13002 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13003 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13004 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13005 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13006 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13007 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13008 echo "$as_me:$LINENO: checking for locale.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13009 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13010 if test "${ac_cv_header_locale_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13012 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13013 ac_cv_header_locale_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13014 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13015 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13016 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13017
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13018 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13019
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13020
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13021
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13022 for ac_func in setlocale
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13023 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13025 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13027 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13029 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13030 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13031 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13032 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13033 /* System header to define __stub macros and hopefully few prototypes,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13034 which can conflict with char $ac_func (); below. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13035 #include <assert.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13036 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13037 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13038 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13039 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13040 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13041 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13042 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13043 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13044
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13045 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13046 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13047 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13048 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13049 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13050 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13051 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13052 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13053 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13054 /* The GNU C library defines this for functions which it implements
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13055 to always fail with ENOSYS. Some functions are actually named
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13056 something starting with __ and the normal name is an alias. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13058 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13059 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13060 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13061 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13062
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13063 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13064 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13065 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13066 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13067 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13069 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13070 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13072 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13073 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13075 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13076 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13078 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13079 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13080 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13081 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13082 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13083 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13084 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13085 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13086 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13089 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13090 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13092 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13093
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13094 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13095 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13096
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13097
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13098 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13099 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13100 # Irix 4.0.5F has the header but not the library.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13101 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13102 ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13103
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13104 cat >>confdefs.h <<\_ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13105 #define SVR4 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13106 _ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13107
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13108 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13109
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13110 if test $ac_have_func = no; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13111 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13112 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13113 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13114 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13116 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13117 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13118 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13119 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13120 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13121 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13122 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13123 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13124 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13125 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13126 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13127 #include <inq_stats/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13128 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13129 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13131 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13132 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13134 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13135 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13137 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13138 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13140 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13141 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13142 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13143 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13144 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13145 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13146 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13147 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13149 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13150
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13151 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13152 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13153 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13154 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13155 #line $LINENO "configure"
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13156 #include "confdefs.h"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13157 #include <inq_stats/cpustats.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13158 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13161 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13162 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13163 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13164 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13166 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13167 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13168 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13169 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13170 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13171 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13172 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13173 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13174 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13175 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13176 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13177 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13178 echo "$as_me: failed program was:" >&5
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13179 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13180 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13181 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13182 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13184 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13185
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13186 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13187 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13188 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13189 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13190 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13191 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13192 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13193 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13194 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13195 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13196 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13197 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13198 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13199 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13200 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13201 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13202 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13203 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13204 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13205 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13206 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13207 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13208 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13209 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13210
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13211 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13212 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13213 ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13214
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13215 cat >>confdefs.h <<\_ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13216 #define UMAX 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13217 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13218
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13219
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13220 cat >>confdefs.h <<\_ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13221 #define UMAX4_3 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13222 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13223
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13224 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13225
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13226
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13227 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13228
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13229 if test $ac_have_func = no; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13230 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13231 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13232 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13233 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13235 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13236 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13237 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13238 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13239 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13240 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13241 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13242 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13243 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13244 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13245 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13246 #include <sys/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13247 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13248 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13250 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13251 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13253 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13254 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13256 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13257 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13259 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13260 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13261 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13262 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13263 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13264 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13265 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13266 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13268 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13269
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13270 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13271 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13272 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13273 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13274 #line $LINENO "configure"
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13275 #include "confdefs.h"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13276 #include <sys/cpustats.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13277 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13280 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13281 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13282 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13283 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13285 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13286 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13287 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13288 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13289 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13290 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13291 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13292 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13293 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13294 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13295 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13296 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13297 echo "$as_me: failed program was:" >&5
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13298 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13299 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13300 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13301 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13303 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13304
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13305 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13306 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13307 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13308 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13309 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13310 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13311 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13312 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13313 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13314 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13315 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13316 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13317 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13318 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13319 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13320 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13321 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13322 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13323 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13324 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13325 ac_cv_header_sys_cpustats_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13326 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13327 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13328 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13329
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13330 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13331 if test $ac_cv_header_sys_cpustats_h = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13332 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13333 #define UMAX 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13334 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13335
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13336 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13337
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13338
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13339 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13340
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13341 if test $ac_have_func = no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13342
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13343 for ac_header in mach/mach.h
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13344 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13347 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13351 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13354 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13355 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13358 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13359 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13360 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13361 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13362 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13363 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13364 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13366 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13367 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13369 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13370 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13372 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13373 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13375 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13376 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13377 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13378 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13379 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13380 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13381 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13382 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13384 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13385
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13386 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13389 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13390 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13391 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13392 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13393 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13396 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13397 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13398 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13399 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13401 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13402 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13403 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13404 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13405 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13406 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13407 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13408 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13409 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13410 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13411 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13412 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13413 echo "$as_me: failed program was:" >&5
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13414 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13415 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13416 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13417 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13419 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13420
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13421 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13422 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13423 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13427 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13428 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13435 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13436 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13440 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13441 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13442 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13445
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13446 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13448 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13450 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13451
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13452 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13453
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13454 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13455
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13456 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13457
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13458
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13459 for ac_header in nlist.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13460 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13463 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13466 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13467 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13470 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13471 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13472 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13473 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13474 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13475 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13476 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13477 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13478 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13479 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13480 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13482 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13483 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13485 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13486 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13488 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13489 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13491 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13492 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13493 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13494 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13495 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13496 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13497 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13498 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13500 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13501
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13502 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13503 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13505 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13506 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13507 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13508 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13509 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13512 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13513 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13514 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13515 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13517 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13518 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13519 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13520 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13521 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13522 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13523 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13524 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13525 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13526 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13527 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13528 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13529 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13530 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13531 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13532 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13533 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13535 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13536
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13537 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13538 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13539 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13544 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13551 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13552 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13555 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13556 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13557 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13558 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13561
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13562 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13564 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13566 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13567 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13568 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13569 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13571 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13572 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13573 #line $LINENO "configure"
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13574 #include "confdefs.h"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13575 #include <nlist.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13576
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13577 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13578 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13579 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13580 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13581 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13582 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13583 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13584 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13585 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13586 static struct nlist ac_aggr;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13587 if (ac_aggr.n_un.n_name)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13588 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13589 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13590 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13591 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13592 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13593 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13595 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13596 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13598 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13599 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13601 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13602 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13604 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13605 ac_cv_member_struct_nlist_n_un_n_name=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13606 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13607 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13608 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13609 ac_cv_member_struct_nlist_n_un_n_name=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13610 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13611 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13612 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13613 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13614 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13615 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13616
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13617 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13618 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13619 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13620
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13621
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13622 cat >>confdefs.h <<\_ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13623 #define NLIST_NAME_UNION 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13624 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13625
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13626 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13627
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13628
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13629 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13630
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13631 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13632
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13633 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13634 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13635
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13636
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13637 # Some definitions of getloadavg require that the program be installed setgid.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13638 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13639 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13640 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13642 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13643 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13644 #line $LINENO "configure"
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13645 #include "confdefs.h"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13646 #include "$srcdir/getloadavg.c"
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13647 #ifdef LDAV_PRIVILEGED
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13648 Yowza Am I SETGID yet
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13649 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13650 _ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13652 egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13653 ac_cv_func_getloadavg_setgid=yes
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13654 else
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13655 ac_cv_func_getloadavg_setgid=no
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13656 fi
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13657 rm -f conftest*
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13658
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13659 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13660 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13661 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13662 if test $ac_cv_func_getloadavg_setgid = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13663 NEED_SETGID=true
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13664
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13665 cat >>confdefs.h <<\_ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13666 #define GETLOADAVG_PRIVILEGED 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13667 _ACEOF
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13668
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13669 else
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13670 NEED_SETGID=false
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13671 fi
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13672
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13673 if test $ac_cv_func_getloadavg_setgid = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13674 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13675 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13676 if test "${ac_cv_group_kmem+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13678 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13679 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13680 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13681 # If we got an error (system does not support symlinks), try without -L.
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13682 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13683 ac_cv_group_kmem=`echo $ac_ls_output \
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13684 | sed -ne 's/[ ][ ]*/ /g;
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13685 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13686 / /s/.* //;p;'`
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13687
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13688 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13689 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13690 echo "${ECHO_T}$ac_cv_group_kmem" >&6
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13691 KMEM_GROUP=$ac_cv_group_kmem
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
13692 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13693 if test "x$ac_save_LIBS" = x; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13694 GETLOADAVG_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13695 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13696 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13697 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13698 LIBS=$ac_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13699
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13700
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13701
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13702 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13703 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13704 if test "${ac_cv_sys_largefile_source+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13706 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13707 while :; do
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13708 ac_cv_sys_largefile_source=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13709 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13710 #line $LINENO "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13711 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13712 #include <stdio.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13713 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13714 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13715 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13716 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13717 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13718 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13719 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13720 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13721 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13722 return !fseeko;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13723 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13724 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13725 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13726 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13727 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13729 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13730 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13732 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13733 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13735 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13736 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13738 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13739 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13740 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13741 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13742 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13743 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13744 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13745 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13746 #line $LINENO "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13747 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13748 #define _LARGEFILE_SOURCE 1
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13749 #include <stdio.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13750 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13751 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13752 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13753 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13754 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13755 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13756 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13757 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13758 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13759 return !fseeko;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13760 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13761 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13762 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13763 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13764 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13766 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13767 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13769 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13770 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13772 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13773 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13775 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13776 ac_cv_sys_largefile_source=1; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13777 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13778 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13779 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13780 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13781 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13782 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13783 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13784 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13785 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13786 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13787 if test "$ac_cv_sys_largefile_source" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13788
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13789 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13790 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13791 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13792
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13793 fi
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13794 rm -f conftest*
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13795
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13796 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13797 # in glibc 2.1.3, but that breaks too many other things.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13798 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13799 echo "$as_me:$LINENO: checking for fseeko" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13800 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13801 if test "${ac_cv_func_fseeko+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13803 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13804 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13805 #line $LINENO "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13806 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13807 #include <stdio.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13808 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13809 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13810 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13811 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13812 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13813 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13814 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13815 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13816 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13817 return fseeko && fseeko (stdin, 0, 0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13818 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13819 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13820 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13821 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13822 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13824 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13825 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13827 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13828 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13830 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13831 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13833 (exit $ac_status); }; }; then
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13834 ac_cv_func_fseeko=yes
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13835 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13836 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13837 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13838 ac_cv_func_fseeko=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13839 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13841 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13842 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13843 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13844 if test $ac_cv_func_fseeko = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13845
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13846 cat >>confdefs.h <<\_ACEOF
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13847 #define HAVE_FSEEKO 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13848 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13849
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13850 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13851
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13852
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13853 # UNIX98 PTYs.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13854
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
13855 for ac_func in grantpt
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13856 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13858 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13860 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13862 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13863 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13864 #line $LINENO "configure"
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13865 #include "confdefs.h"
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13866 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13867 which can conflict with char $ac_func (); below. */
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13868 #include <assert.h>
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13869 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13870 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13871 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13872 #endif
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13873 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13874 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13875 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13876 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13877
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13878 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13879 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13880 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13881 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13882 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13883 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13884 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13885 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13886 {
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13887 /* The GNU C library defines this for functions which it implements
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13888 to always fail with ENOSYS. Some functions are actually named
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13889 something starting with __ and the normal name is an alias. */
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13891 choke me
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13892 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13893 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13894 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13895
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13896 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13897 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13898 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13899 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13900 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13902 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13903 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13905 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13906 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13908 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13909 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13911 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13912 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13913 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13914 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13915 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13916 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13917 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13918 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13919 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13922 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13923 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13925 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13926
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13927 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13928 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13929
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13930
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13931 # PTY-related GNU extensions.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13932
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13933 for ac_func in getpt
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13934 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13936 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13938 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13939 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13940 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13941 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13942 #line $LINENO "configure"
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13943 #include "confdefs.h"
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13944 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13945 which can conflict with char $ac_func (); below. */
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13946 #include <assert.h>
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13947 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13948 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13949 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13950 #endif
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13951 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13952 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13953 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13954 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13955
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13956 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13957 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13958 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13959 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13960 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13961 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13962 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13963 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13964 {
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13965 /* The GNU C library defines this for functions which it implements
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13966 to always fail with ENOSYS. Some functions are actually named
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13967 something starting with __ and the normal name is an alias. */
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13969 choke me
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
13970 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13971 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13972 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13973
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13974 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13975 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13976 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13977 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13978 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13980 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13981 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13983 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13984 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13986 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13987 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13989 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13990 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13991 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13992 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13993 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13994 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13995 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13996 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13997 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14000 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14001 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14003 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14004
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14005 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14006 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14007
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
14008
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
14009 # Check this now, so that we will NOT find the above functions in ncurses.
Dave Love <fx@gnu.org>
parents:
diff changeset
14010 # That is because we have not set up to link ncurses in lib-src.
Dave Love <fx@gnu.org>
parents:
diff changeset
14011 # It's better to believe a function is not available
Dave Love <fx@gnu.org>
parents:
diff changeset
14012 # than to expect to find it in ncurses.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14013
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14014 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14015 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14016 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14018 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14019 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
14020 LIBS="-lncurses $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14021 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14022 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14023 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14024
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
14025 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14026 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14027 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14028 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
14029 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14030 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14031 char tparm ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14032 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14033 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14034 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14035 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14036 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14037 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14038 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14039 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14040 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14041 tparm ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14042 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14043 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14044 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14045 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14046 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14048 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14049 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14051 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14052 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14054 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14055 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14057 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14058 ac_cv_lib_ncurses_tparm=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14059 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14060 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14061 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14062 ac_cv_lib_ncurses_tparm=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14063 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14065 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14066 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14067 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14068 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14069 if test $ac_cv_lib_ncurses_tparm = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14070 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14071 #define HAVE_LIBNCURSES 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14072 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
14073
Dave Love <fx@gnu.org>
parents:
diff changeset
14074 LIBS="-lncurses $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
14075
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14076 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
14077
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14078
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14079 # Do we need the Hesiod library to provide the support routines?
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14080 if test "$with_hesiod" = yes ; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14081 # Don't set $LIBS here -- see comments above.
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14082 resolv=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14083 echo "$as_me:$LINENO: checking for res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14084 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14085 if test "${ac_cv_func_res_send+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14087 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14088 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14089 #line $LINENO "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14090 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14091 /* System header to define __stub macros and hopefully few prototypes,
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14092 which can conflict with char res_send (); below. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14093 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14094 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14095 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14096 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14097 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14098 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14099 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14100 char res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14101 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14102
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14103 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14104 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14105 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14106 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14107 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14108 #endif
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14109 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14110 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14111 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14112 /* The GNU C library defines this for functions which it implements
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14113 to always fail with ENOSYS. Some functions are actually named
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14114 something starting with __ and the normal name is an alias. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14115 #if defined (__stub_res_send) || defined (__stub___res_send)
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14116 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14117 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14118 f = res_send;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14119 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14120
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14121 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14122 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14123 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14124 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14125 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14127 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14128 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14130 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14131 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14133 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14134 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14136 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14137 ac_cv_func_res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14138 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14139 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14140 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14141 ac_cv_func_res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14142 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14144 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14145 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14146 echo "${ECHO_T}$ac_cv_func_res_send" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14147 if test $ac_cv_func_res_send = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14148 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14149 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14150 echo "$as_me:$LINENO: checking for __res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14151 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14152 if test "${ac_cv_func___res_send+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14154 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14155 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14156 #line $LINENO "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14157 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14158 /* System header to define __stub macros and hopefully few prototypes,
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14159 which can conflict with char __res_send (); below. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14160 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14161 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14162 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14163 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14164 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14165 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14166 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14167 char __res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14168 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14169
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14170 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14171 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14172 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14173 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14174 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14175 #endif
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14176 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14177 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14178 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14179 /* The GNU C library defines this for functions which it implements
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14180 to always fail with ENOSYS. Some functions are actually named
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14181 something starting with __ and the normal name is an alias. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14182 #if defined (__stub___res_send) || defined (__stub_____res_send)
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14183 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14184 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14185 f = __res_send;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14186 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14187
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14188 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14189 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14190 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14191 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14192 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14194 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14195 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14197 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14198 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14200 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14201 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14203 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14204 ac_cv_func___res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14205 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14206 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14207 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14208 ac_cv_func___res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14209 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14210 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14211 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14212 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14213 echo "${ECHO_T}$ac_cv_func___res_send" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14214 if test $ac_cv_func___res_send = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14215 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14216 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14217 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14218 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14219 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14221 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14222 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14223 LIBS="-lresolv $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14224 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14225 #line $LINENO "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14226 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14227
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14228 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14229 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14230 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14231 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14232 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14233 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14234 char res_send ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14235 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14236 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14237 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14238 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14239 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14240 #endif
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14241 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14242 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14243 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14244 res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14245 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14246 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14247 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14248 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14249 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14251 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14252 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14254 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14255 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14257 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14258 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14260 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14261 ac_cv_lib_resolv_res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14262 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14263 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14264 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14265 ac_cv_lib_resolv_res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14266 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14268 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14269 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14270 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14271 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14272 if test $ac_cv_lib_resolv_res_send = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14273 resolv=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14274 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14275 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14276 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14277 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14279 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14280 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14281 LIBS="-lresolv $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14282 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14283 #line $LINENO "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14284 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14285
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14286 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14287 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14288 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14289 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14290 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14291 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14292 char __res_send ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14293 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14294 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14295 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14296 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14297 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14298 #endif
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14299 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14300 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14301 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14302 __res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14303 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14304 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14305 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14306 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14307 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14309 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14310 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14312 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14313 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14315 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14316 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14318 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14319 ac_cv_lib_resolv___res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14320 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14321 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14322 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14323 ac_cv_lib_resolv___res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14324 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14326 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14327 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14328 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14329 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14330 if test $ac_cv_lib_resolv___res_send = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14331 resolv=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14332 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14333
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14334 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14335
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14336 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14337
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14338 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14339
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14340 if test "$resolv" = yes ; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14341 RESOLVLIB=-lresolv
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14342 cat >>confdefs.h <<\_ACEOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14343 #define HAVE_LIBRESOLV 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14344 _ACEOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14345
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14346 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14347 RESOLVLIB=
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14348 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14349 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14350 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14351 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14353 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14354 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14355 #line $LINENO "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14356 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14357 /* System header to define __stub macros and hopefully few prototypes,
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14358 which can conflict with char hes_getmailhost (); below. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14359 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14360 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14361 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14362 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14363 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14364 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14365 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14366 char hes_getmailhost ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14367 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14368
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14369 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14370 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14371 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14372 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14373 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14374 #endif
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14375 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14376 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14377 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14378 /* The GNU C library defines this for functions which it implements
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14379 to always fail with ENOSYS. Some functions are actually named
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14380 something starting with __ and the normal name is an alias. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14381 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14382 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14383 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14384 f = hes_getmailhost;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14385 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14386
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14387 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14388 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14389 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14390 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14391 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14393 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14394 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14396 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14397 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14399 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14400 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14402 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14403 ac_cv_func_hes_getmailhost=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14404 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14405 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14406 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14407 ac_cv_func_hes_getmailhost=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14408 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14410 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14411 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14412 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14413 if test $ac_cv_func_hes_getmailhost = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14414 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14415 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14416 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14417 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14418 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14420 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14421 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14422 LIBS="-lhesiod $RESOLVLIB $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14423 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14424 #line $LINENO "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14425 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14426
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14427 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14428 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14429 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14430 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14431 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14432 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14433 char hes_getmailhost ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14434 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14435 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14436 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14437 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14438 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14439 #endif
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14440 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14441 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14442 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14443 hes_getmailhost ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14444 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14445 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14446 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14447 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14448 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14450 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14451 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14453 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14454 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14456 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14457 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14459 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14460 ac_cv_lib_hesiod_hes_getmailhost=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14461 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14462 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14463 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14464 ac_cv_lib_hesiod_hes_getmailhost=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14465 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14467 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14468 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14469 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14470 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14471 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14472 cat >>confdefs.h <<\_ACEOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14473 #define HAVE_LIBHESIOD 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14474 _ACEOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14475
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14476 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14477 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14478 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14479
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14480 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14481
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14482 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
14483
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14484 # These tell us which Kerberos-related libraries to use.
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14485 if test "${with_kerberos+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14486
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14487 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14488 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14489 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14491 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14492 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14493 LIBS="-lcom_err $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14494 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14495 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14496 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14497
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14498 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14499 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14500 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14501 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14502 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14503 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14504 char com_err ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14505 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14506 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14507 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14508 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14509 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14510 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14511 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14512 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14513 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14514 com_err ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14515 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14516 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14517 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14518 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14519 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14521 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14522 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14524 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14525 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14527 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14528 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14530 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14531 ac_cv_lib_com_err_com_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14532 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14533 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14534 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14535 ac_cv_lib_com_err_com_err=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14536 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14538 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14539 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14540 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14541 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14542 if test $ac_cv_lib_com_err_com_err = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14543 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14544 #define HAVE_LIBCOM_ERR 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14545 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14546
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14547 LIBS="-lcom_err $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14548
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14549 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14550
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14551
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14552 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14553 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14554 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14556 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14557 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14558 LIBS="-lk5crypto $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14559 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14560 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14561 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14562
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14563 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14564 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14565 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14566 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14567 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14568 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14569 char mit_des_cbc_encrypt ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14570 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14571 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14572 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14573 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14574 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14575 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14576 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14577 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14578 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14579 mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14580 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14581 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14582 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14583 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14584 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14586 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14587 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14589 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14590 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14592 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14593 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14595 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14596 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14597 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14598 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14599 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14600 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14601 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14603 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14604 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14605 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14606 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14607 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14608 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14609 #define HAVE_LIBK5CRYPTO 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14610 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14611
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14612 LIBS="-lk5crypto $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14613
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14614 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14615
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14616
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14617 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14618 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14619 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14621 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14622 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14623 LIBS="-lcrypto $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14624 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14625 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14626 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14627
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14628 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14629 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14630 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14631 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14632 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14633 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14634 char mit_des_cbc_encrypt ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14635 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14636 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14637 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14638 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14639 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14640 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14641 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14642 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14643 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14644 mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14645 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14646 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14647 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14648 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14649 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14651 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14652 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14654 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14655 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14657 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14658 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14660 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14661 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14662 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14663 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14664 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14665 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14666 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14668 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14669 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14670 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14671 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14672 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14673 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14674 #define HAVE_LIBCRYPTO 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14675 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14676
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14677 LIBS="-lcrypto $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14678
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14679 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14680
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14681
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14682 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14683 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14684 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14686 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14687 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14688 LIBS="-lkrb5 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14689 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14690 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14691 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14692
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14693 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14694 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14695 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14696 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14697 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14698 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14699 char krb5_init_context ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14700 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14701 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14702 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14703 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14704 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14705 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14706 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14707 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14708 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14709 krb5_init_context ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14710 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14711 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14712 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14713 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14714 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14716 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14717 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14719 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14720 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14722 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14723 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14725 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14726 ac_cv_lib_krb5_krb5_init_context=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14727 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14728 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14729 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14730 ac_cv_lib_krb5_krb5_init_context=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14731 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14733 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14734 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14735 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14736 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14737 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14738 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14739 #define HAVE_LIBKRB5 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14740 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14741
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14742 LIBS="-lkrb5 $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14743
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14744 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14745
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14746 if test "${with_kerberos5+set}" != set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14747
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14748 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14749 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14750 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14752 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14753 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14754 LIBS="-ldes425 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14755 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14756 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14757 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14758
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14759 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14760 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14761 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14762 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14763 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14764 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14765 char des_cbc_encrypt ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14766 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14767 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14768 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14769 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14770 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14771 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14772 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14773 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14774 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14775 des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14776 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14777 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14778 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14779 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14780 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14782 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14783 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14785 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14786 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14788 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14789 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14791 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14792 ac_cv_lib_des425_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14793 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14794 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14795 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14796 ac_cv_lib_des425_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14797 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14799 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14800 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14801 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14802 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14803 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14804 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14805 #define HAVE_LIBDES425 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14806 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14807
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14808 LIBS="-ldes425 $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14809
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14810 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14811
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14812 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14813 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14814 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14816 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14817 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14818 LIBS="-ldes $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14819 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14820 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14821 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14822
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14823 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14824 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14825 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14826 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14827 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14828 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14829 char des_cbc_encrypt ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14830 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14831 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14832 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14833 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14834 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14835 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14836 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14837 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14838 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14839 des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14840 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14841 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14842 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14843 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14844 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14846 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14847 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14849 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14850 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14852 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14853 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14855 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14856 ac_cv_lib_des_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14857 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14858 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14859 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14860 ac_cv_lib_des_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14861 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14863 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14864 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14865 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14866 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14867 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14868 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14869 #define HAVE_LIBDES 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14870 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14871
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14872 LIBS="-ldes $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14873
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14874 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14875
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14876 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14877
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14878
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14879 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14880 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14881 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14883 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14884 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14885 LIBS="-lkrb4 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14886 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14887 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14888 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14889
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14890 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14891 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14892 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14893 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14894 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14895 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14896 char krb_get_cred ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14897 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14898 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14899 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14900 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14901 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14902 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14903 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14904 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14905 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14906 krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14907 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14908 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14909 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14910 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14911 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14913 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14914 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14916 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14917 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14919 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14920 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14922 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14923 ac_cv_lib_krb4_krb_get_cred=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14924 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14925 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14926 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14927 ac_cv_lib_krb4_krb_get_cred=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14928 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14930 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14931 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14932 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14933 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14934 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14935 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14936 #define HAVE_LIBKRB4 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14937 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14938
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14939 LIBS="-lkrb4 $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14940
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14941 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14942
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14943 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14944 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14945 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14947 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14948 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14949 LIBS="-lkrb $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14950 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14951 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14952 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14953
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14954 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14955 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14956 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14957 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
14958 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14959 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14960 char krb_get_cred ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14961 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14962 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14963 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14964 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14965 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14966 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14967 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14968 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14969 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14970 krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14971 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14972 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14973 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14974 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14975 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14977 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14978 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14980 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14981 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14983 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14984 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14986 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14987 ac_cv_lib_krb_krb_get_cred=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14988 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14989 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14990 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14991 ac_cv_lib_krb_krb_get_cred=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14992 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14994 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14995 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14996 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14997 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
14998 if test $ac_cv_lib_krb_krb_get_cred = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
14999 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15000 #define HAVE_LIBKRB 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15001 _ACEOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15002
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15003 LIBS="-lkrb $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15004
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15005 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15006
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15007 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15008
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15009 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15010
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15011 if test "${with_kerberos5+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15012
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15013 for ac_header in krb5.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15014 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15017 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15021 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15024 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15025 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15026 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15028 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15029 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15030 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15031 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15032 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15033 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15034 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15036 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15037 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15039 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15040 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15042 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15043 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15045 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15046 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15047 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15048 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15049 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15050 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15051 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15052 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15054 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15055
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15056 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15059 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15060 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15061 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15062 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15063 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15066 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15067 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15068 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15069 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15071 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15072 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15073 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15074 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15075 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15076 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15077 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15078 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15079 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15080 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15081 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15082 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15083 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15084 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15085 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15086 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15087 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15089 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15090
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15091 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15092 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15093 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15098 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15105 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15106 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15110 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15111 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15112 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15115
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15116 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15118 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15120 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15121
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15122 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15123
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15124 done
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15125
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15126 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15127
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15128 for ac_header in des.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15129 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15132 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15136 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15139 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15140 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15143 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15144 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15145 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15146 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15147 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15148 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15149 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15151 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15152 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15154 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15155 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15157 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15158 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15160 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15161 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15162 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15163 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15164 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15165 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15166 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15167 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15169 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15170
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15171 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15174 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15175 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15176 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15177 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15178 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15181 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15182 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15183 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15184 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15186 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15187 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15188 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15189 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15190 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15191 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15192 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15193 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15194 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15195 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15196 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15197 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15198 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15199 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15200 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15201 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15202 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15204 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15205
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15206 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15207 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15208 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15213 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15220 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15221 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15225 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15226 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15227 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15230
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15231 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15233 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15235 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15236
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15237 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15238
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15239 for ac_header in kerberosIV/des.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15240 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15243 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15247 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15250 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15251 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15252 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15253 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15254 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15255 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15256 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15257 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15258 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15259 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15260 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15262 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15263 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15265 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15266 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15268 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15269 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15271 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15272 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15273 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15274 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15275 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15276 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15277 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15278 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15280 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15281
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15282 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15285 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15286 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15287 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15288 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15289 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15292 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15293 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15294 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15295 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15297 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15298 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15299 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15300 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15301 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15302 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15303 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15304 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15305 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15306 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15307 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15308 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15309 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15310 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15311 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15312 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15313 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15315 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15316
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15317 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15318 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15319 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15324 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15325 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15326 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15327 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15328 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15331 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15332 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15336 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15337 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15338 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15341
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15342 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15344 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15346 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15347
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15348 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15349
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15350 for ac_header in kerberos/des.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15351 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15354 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15357 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15358 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15361 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15362 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15365 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15366 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15367 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15368 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15369 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15370 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15371 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15373 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15374 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15376 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15377 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15379 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15380 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15382 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15383 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15384 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15385 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15386 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15387 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15388 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15389 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15391 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15392
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15393 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15396 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15397 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15398 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15399 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15400 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15403 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15404 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15405 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15406 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15408 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15409 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15410 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15411 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15412 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15413 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15414 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15415 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15416 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15417 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15418 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15419 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15420 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15421 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15422 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15423 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15424 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15426 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15427
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15428 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15429 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15430 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15435 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15442 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15443 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15447 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15448 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15449 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15452
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15453 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15455 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15457 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15458
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15459 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15460
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15461 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15462
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15463 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15464
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15465 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15466
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15467 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15468
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15469 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15470
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15471
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15472 for ac_header in krb.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15473 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15476 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15479 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15480 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15483 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15484 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15487 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15488 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15489 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15490 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15491 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15492 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15493 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15495 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15496 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15498 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15499 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15501 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15502 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15504 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15505 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15506 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15507 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15508 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15509 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15510 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15511 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15512 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15513 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15514
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15515 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15516 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15517 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15518 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15519 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15520 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15521 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15522 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15525 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15526 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15527 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15528 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15530 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15531 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15532 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15533 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15534 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15535 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15536 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15537 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15538 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15539 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15540 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15541 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15542 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15543 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15544 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15545 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15546 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15548 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15549
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15550 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15551 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15552 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15557 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15564 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15565 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15569 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15570 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15571 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15574
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15575 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15577 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15579 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15580
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15581 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15582
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15583 for ac_header in kerberosIV/krb.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15584 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15587 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15591 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15594 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15595 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15596 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15598 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15599 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15600 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15601 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15602 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15603 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15604 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15606 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15607 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15609 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15610 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15612 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15613 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15615 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15616 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15617 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15618 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15619 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15620 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15621 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15622 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15624 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15625
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15626 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15629 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15630 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15631 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15632 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15633 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15636 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15637 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15638 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15639 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15641 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15642 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15643 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15644 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15645 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15646 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15647 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15648 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15649 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15650 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15651 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15652 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15653 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15654 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15655 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15656 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15657 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15659 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15660
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15661 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15662 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15663 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15668 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15675 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15676 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15680 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15681 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15682 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15685
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15686 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15688 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15690 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15691
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15692 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15693
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15694 for ac_header in kerberos/krb.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15695 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15698 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15701 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15702 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15705 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15706 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15709 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15710 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15711 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15712 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15713 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15714 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15715 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15717 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15718 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15720 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15721 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15723 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15724 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15726 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15727 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15728 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15729 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15730 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15731 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15732 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15733 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15735 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15736
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15737 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15740 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15741 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15742 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15743 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15744 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15747 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15748 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15749 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15750 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15752 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15753 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15754 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15755 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15756 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15757 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15758 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15759 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15760 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15761 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15762 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15763 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15764 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15765 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15766 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15767 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15768 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15770 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15771
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15772 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15773 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15774 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15779 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15786 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15787 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15791 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15792 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15793 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15796
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15797 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15799 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15801 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15802
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15803 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15804
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15805 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15806
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15807 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15808
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15809 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15810
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15811 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15812
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15813 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15814
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15815 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15816
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15817 for ac_header in com_err.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15818 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15821 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15825 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15828 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15829 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15832 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15833 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15834 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15835 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15836 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15837 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15838 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15840 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15841 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15843 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15844 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15846 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15847 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15849 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15850 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15851 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15852 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15853 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15854 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15855 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15856 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15858 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15859
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15860 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15863 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15864 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15865 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15866 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15867 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15870 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15871 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15872 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15873 cat conftest.err >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15875 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15876 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15877 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15878 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15879 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15880 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15881 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15882 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15883 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15884 if test -z "$ac_cpp_err"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15885 ac_header_preproc=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15886 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15887 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15888 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15889 ac_header_preproc=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15890 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15891 rm -f conftest.err conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15893 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15894
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15895 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15896 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15897 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15902 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15909 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15910 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15913 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15914 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15915 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15916 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15919
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15920 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15922 cat >>confdefs.h <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15924 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15925
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15926 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15927
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15928 done
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15929
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15930 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
15931
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
15932 # Solaris requires -lintl if you want strerror (which calls dgettext)
Dave Love <fx@gnu.org>
parents:
diff changeset
15933 # to return localized messages.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15934
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15935 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15936 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15937 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15938 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15939 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15940 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
15941 LIBS="-lintl $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15942 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15943 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15944 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15945
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
15946 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15947 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15948 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15949 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
15950 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15951 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15952 char dgettext ();
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15953 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15954 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15955 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15956 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15957 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15958 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15959 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15960 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15961 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15962 dgettext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15963 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15964 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15965 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15966 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15967 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15969 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15970 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15972 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15973 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15975 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15976 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15978 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15979 ac_cv_lib_intl_dgettext=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15980 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15981 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15982 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15983 ac_cv_lib_intl_dgettext=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15984 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15986 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15987 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15988 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15989 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15990 if test $ac_cv_lib_intl_dgettext = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15991 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15992 #define HAVE_LIBINTL 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15993 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
15994
Dave Love <fx@gnu.org>
parents:
diff changeset
15995 LIBS="-lintl $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
15996
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15997 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
15998
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
15999
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16000 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16001 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16002 if test "${emacs_cv_localtime_cache+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16003 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16004 else
Dave Love <fx@gnu.org>
parents:
diff changeset
16005 if test x$ac_cv_func_tzset = xyes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
16006 if test "$cross_compiling" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
16007 # If we have tzset, assume the worst when cross-compiling.
Dave Love <fx@gnu.org>
parents:
diff changeset
16008 emacs_cv_localtime_cache=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
16009 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16010 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16011 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16012 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
16013 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
16014 extern char **environ;
Dave Love <fx@gnu.org>
parents:
diff changeset
16015 unset_TZ ()
Dave Love <fx@gnu.org>
parents:
diff changeset
16016 {
Dave Love <fx@gnu.org>
parents:
diff changeset
16017 char **from, **to;
Dave Love <fx@gnu.org>
parents:
diff changeset
16018 for (to = from = environ; (*to = *from); from++)
Dave Love <fx@gnu.org>
parents:
diff changeset
16019 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
Dave Love <fx@gnu.org>
parents:
diff changeset
16020 to++;
Dave Love <fx@gnu.org>
parents:
diff changeset
16021 }
Dave Love <fx@gnu.org>
parents:
diff changeset
16022 char TZ_GMT0[] = "TZ=GMT0";
Dave Love <fx@gnu.org>
parents:
diff changeset
16023 char TZ_PST8[] = "TZ=PST8";
Dave Love <fx@gnu.org>
parents:
diff changeset
16024 main()
Dave Love <fx@gnu.org>
parents:
diff changeset
16025 {
Dave Love <fx@gnu.org>
parents:
diff changeset
16026 time_t now = time ((time_t *) 0);
Dave Love <fx@gnu.org>
parents:
diff changeset
16027 int hour_GMT0, hour_unset;
Dave Love <fx@gnu.org>
parents:
diff changeset
16028 if (putenv (TZ_GMT0) != 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
16029 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
16030 hour_GMT0 = localtime (&now)->tm_hour;
Dave Love <fx@gnu.org>
parents:
diff changeset
16031 unset_TZ ();
Dave Love <fx@gnu.org>
parents:
diff changeset
16032 hour_unset = localtime (&now)->tm_hour;
Dave Love <fx@gnu.org>
parents:
diff changeset
16033 if (putenv (TZ_PST8) != 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
16034 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
16035 if (localtime (&now)->tm_hour == hour_GMT0)
Dave Love <fx@gnu.org>
parents:
diff changeset
16036 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
16037 unset_TZ ();
Dave Love <fx@gnu.org>
parents:
diff changeset
16038 if (localtime (&now)->tm_hour != hour_unset)
Dave Love <fx@gnu.org>
parents:
diff changeset
16039 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
16040 exit (0);
Dave Love <fx@gnu.org>
parents:
diff changeset
16041 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16042 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16043 rm -f conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16045 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16046 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16050 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16051 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16053 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16054 emacs_cv_localtime_cache=no
Dave Love <fx@gnu.org>
parents:
diff changeset
16055 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16056 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16057 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16058 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16059 ( exit $ac_status )
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16060 emacs_cv_localtime_cache=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16061 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16062 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16063 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16064 else
Dave Love <fx@gnu.org>
parents:
diff changeset
16065 # If we lack tzset, report that localtime does not cache TZ,
Dave Love <fx@gnu.org>
parents:
diff changeset
16066 # since we can't invalidate the cache if we don't have tzset.
Dave Love <fx@gnu.org>
parents:
diff changeset
16067 emacs_cv_localtime_cache=no
Dave Love <fx@gnu.org>
parents:
diff changeset
16068 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16069 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16070 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16071 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16072 if test $emacs_cv_localtime_cache = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16073 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16074 #define LOCALTIME_CACHE 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16075 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16076
Dave Love <fx@gnu.org>
parents:
diff changeset
16077 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16078
Dave Love <fx@gnu.org>
parents:
diff changeset
16079 if test "x$HAVE_TIMEVAL" = xyes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16080
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16081 for ac_func in gettimeofday
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16082 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16084 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16086 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16088 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16089 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16090 #line $LINENO "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16091 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16092 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16093 which can conflict with char $ac_func (); below. */
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16094 #include <assert.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16095 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16096 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16097 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16098 #endif
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16099 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16100 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16101 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16102 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16103
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16104 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16105 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16106 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16107 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16108 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16109 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16110 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16111 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16112 {
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16113 /* The GNU C library defines this for functions which it implements
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16114 to always fail with ENOSYS. Some functions are actually named
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16115 something starting with __ and the normal name is an alias. */
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16117 choke me
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16118 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16119 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16120 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16121
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16122 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16123 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16124 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16125 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16126 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16128 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16129 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16131 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16132 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16134 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16135 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16137 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16138 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16139 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16140 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16141 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16142 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16143 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16145 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16148 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16149 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16151 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16152
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16153 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16154 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16155
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16156 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16157 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16158 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16159 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16160 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16161 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16162 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16163 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
16164
Dave Love <fx@gnu.org>
parents:
diff changeset
16165 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
16166 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
16167 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
16168 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
16169 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
16170 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
16171 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
16172 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
16173 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
16174 #endif
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16175 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16176 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16177 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16178 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16179 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16180 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16181 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16182 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16183 {
29733
6a91d938851d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29657
diff changeset
16184 struct timeval time;
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16185 gettimeofday (&time, 0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16186 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16187 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16188 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16189 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16190 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16192 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16193 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16195 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16196 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16198 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16199 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16201 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16202 emacs_cv_gettimeofday_two_arguments=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
16203 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16204 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16205 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16206 emacs_cv_gettimeofday_two_arguments=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16207 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16208 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16209 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16210 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16211 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16212 if test $emacs_cv_gettimeofday_two_arguments = no; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16213 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16214 #define GETTIMEOFDAY_ONE_ARGUMENT 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16215 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16216
Dave Love <fx@gnu.org>
parents:
diff changeset
16217 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16218 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16219
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16220 if test "$ac_cv_func_gettimeofday" = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16221 echo "$as_me:$LINENO: checking for struct timezone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16222 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16223 if test "${emacs_cv_struct_timezone+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16225 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16226 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16227 #line $LINENO "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16228 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16229 #include <sys/time.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16230 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16231 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16232 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16233 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16234 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16235 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16236 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16237 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16238 {
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16239 struct timezone tz;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16240 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16241 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16242 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16243 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16244 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16246 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16247 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16249 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16250 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16252 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16253 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16255 (exit $ac_status); }; }; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16256 if test "$cross_compiling" = yes; then
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16257 emacs_cv_struct_timezone=yes
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16258 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16259 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16260 #line $LINENO "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16261 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16262
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16263 #ifdef TIME_WITH_SYS_TIME
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16264 #include <sys/time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16265 #include <time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16266 #else
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16267 #ifdef HAVE_SYS_TIME_H
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16268 #include <sys/time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16269 #else
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16270 #include <time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16271 #endif
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16272 #endif
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16273 main () {
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16274 struct timeval time;
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16275 struct timezone dummy;
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16276 exit (gettimeofday (&time, &dummy));
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16277 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16278 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16279 rm -f conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16281 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16282 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16286 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16287 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16289 (exit $ac_status); }; }; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16290 emacs_cv_struct_timezone=yes
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16291 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16292 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16293 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16294 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16295 ( exit $ac_status )
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16296 emacs_cv_struct_timezone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16297 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16298 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16299 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16300 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16301 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16302 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16303 emacs_cv_struct_timezone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16304 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16305 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16306 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16307 echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16308 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16309 fi
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
16310
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16311 ok_so_far=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16312 echo "$as_me:$LINENO: checking for socket" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16313 echo $ECHO_N "checking for socket... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16314 if test "${ac_cv_func_socket+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16316 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16317 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16318 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16319 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
16320 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16321 which can conflict with char socket (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16322 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
16323 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16324 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16325 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16326 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16327 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16328 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16329 char socket ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16330 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16331
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16332 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16333 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16334 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16335 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16336 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16337 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16338 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16339 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16340 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16341 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
16342 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
16343 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
16344 #if defined (__stub_socket) || defined (__stub___socket)
Dave Love <fx@gnu.org>
parents:
diff changeset
16345 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
16346 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16347 f = socket;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16348 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16349
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16350 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16351 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16352 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16353 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16354 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16356 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16357 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16359 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16360 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16362 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16363 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16365 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16366 ac_cv_func_socket=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16367 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16368 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16369 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16370 ac_cv_func_socket=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16371 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16373 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16374 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16375 echo "${ECHO_T}$ac_cv_func_socket" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16376 if test $ac_cv_func_socket = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16377 :
Dave Love <fx@gnu.org>
parents:
diff changeset
16378 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16379 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16380 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16381
Dave Love <fx@gnu.org>
parents:
diff changeset
16382 if test $ok_so_far = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16383 if test "${ac_cv_header_netinet_in_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16384 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16385 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16386 if test "${ac_cv_header_netinet_in_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16388 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16389 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16390 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16391 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16392 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16393 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16394 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16395 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16396 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16397 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16398 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16399 #include <netinet/in.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16400 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16401 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16403 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16404 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16406 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16407 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16409 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16410 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16412 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16413 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16414 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16415 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16416 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16417 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16418 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16419 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16421 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16422
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16423 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16424 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16425 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16426 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16427 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16428 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
16429 #include <netinet/in.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16430 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16433 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16434 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16435 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16436 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16438 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16439 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16440 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16441 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16442 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16443 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16444 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16445 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16446 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16447 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16448 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16449 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16450 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16451 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16452 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16453 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16454 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16456 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16457
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16458 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16459 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16460 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16461 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16462 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16463 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16464 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16465 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16466 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16467 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16468 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16469 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16470 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16471 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16472 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16473 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16474 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16475 if test "${ac_cv_header_netinet_in_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16476 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16477 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16478 ac_cv_header_netinet_in_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16479 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16480 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16481 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16482
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16483 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16484 if test $ac_cv_header_netinet_in_h = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16485 :
Dave Love <fx@gnu.org>
parents:
diff changeset
16486 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16487 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16488 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16489
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16490
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16491 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16492 if test $ok_so_far = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16493 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16494 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16495 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16496 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16498 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16499 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16500 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16501 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16502 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16503 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16504 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16505 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16506 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16507 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16508 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16509 #include <arpa/inet.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16510 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16511 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16513 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16514 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16516 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16517 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16519 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16520 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16522 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16523 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16524 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16525 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16526 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16527 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16528 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16529 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16531 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16532
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16533 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16534 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16535 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16536 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16537 #line $LINENO "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16538 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
16539 #include <arpa/inet.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16540 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16543 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16544 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16545 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16546 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16548 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16549 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16550 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16551 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16552 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16553 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16554 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16555 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16556 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16557 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16558 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16559 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16560 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16561 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16562 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16563 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16564 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16566 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16567
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16568 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16569 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16570 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16571 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16572 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16573 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16574 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16575 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16576 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16577 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16578 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16579 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16580 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16581 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16582 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16583 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16584 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16585 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16586 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16587 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16588 ac_cv_header_arpa_inet_h=$ac_header_preproc
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16589 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16590 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16591 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16592
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16593 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16594 if test $ac_cv_header_arpa_inet_h = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16595 :
Dave Love <fx@gnu.org>
parents:
diff changeset
16596 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16597 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16598 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16599
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16600
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16601 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16602 if test $ok_so_far = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16603 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16604 #define HAVE_INET_SOCKETS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16605 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16606
Dave Love <fx@gnu.org>
parents:
diff changeset
16607 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
16608
Dave Love <fx@gnu.org>
parents:
diff changeset
16609 if test -f /usr/lpp/X11/bin/smt.exp; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16610 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
16611 #define HAVE_AIX_SMT_EXP 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16612 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16613
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16614 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16615
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16616 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16617 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
16618 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16619 echo "$as_me:$LINENO: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16620 echo "${ECHO_T}yes" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16621 cat >>confdefs.h <<\_ACEOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
16622 #define HAVE_DEV_PTMX 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16623 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16624
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16625 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16626 echo "$as_me:$LINENO: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16627 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16628 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16629
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16630 echo "$as_me:$LINENO: checking for pid_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16631 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16632 if test "${ac_cv_type_pid_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16634 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16635 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16636 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16637 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16638 $ac_includes_default
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16639 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16640 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16641 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16642 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16643 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16644 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16645 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16646 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16647 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16648 if ((pid_t *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16649 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16650 if (sizeof (pid_t))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16651 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16652 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16653 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16654 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16655 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16656 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16658 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16659 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16661 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16662 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16664 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16665 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16667 (exit $ac_status); }; }; then
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16668 ac_cv_type_pid_t=yes
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16669 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16670 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16671 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16672 ac_cv_type_pid_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16673 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16674 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16675 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16676 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16677 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16678 if test $ac_cv_type_pid_t = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16679 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16680 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16681
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16682 cat >>confdefs.h <<_ACEOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16683 #define pid_t int
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16684 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16685
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16686 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16687
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16688
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16689
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16690 for ac_header in unistd.h vfork.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16691 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16694 echo "$as_me:$LINENO: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16698 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16701 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16702 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16705 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16706 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16707 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16708 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16709 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16710 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16711 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16713 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16714 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16716 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16717 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16719 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16720 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16722 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16723 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16724 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16725 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16726 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16727 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16728 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16729 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16731 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16732
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16733 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16736 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16737 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16738 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16739 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16740 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16743 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16744 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16745 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16746 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16748 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16749 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16750 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16751 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16752 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16753 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16754 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16755 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16756 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16757 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16758 ac_header_preproc=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16759 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16760 echo "$as_me: failed program was:" >&5
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16761 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16762 ac_header_preproc=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16763 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16764 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16766 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16767
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16768 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16769 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16770 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16775 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16782 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16783 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16787 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16788 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16789 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16792
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16793 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16795 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16797 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16798
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16799 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16800
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16801 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16802
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16803
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16804
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16805 for ac_func in fork vfork
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16806 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16808 echo "$as_me:$LINENO: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16810 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16812 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16813 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16814 #line $LINENO "configure"
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16815 #include "confdefs.h"
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16816 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16817 which can conflict with char $ac_func (); below. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16818 #include <assert.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16819 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16820 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16821 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16822 #endif
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16823 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16824 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16825 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16826 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16827
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16828 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16829 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16830 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16831 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16832 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16833 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16834 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16835 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16836 {
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16837 /* The GNU C library defines this for functions which it implements
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16838 to always fail with ENOSYS. Some functions are actually named
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16839 something starting with __ and the normal name is an alias. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16841 choke me
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16842 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16843 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16844 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16845
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16846 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16847 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16848 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16849 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16850 rm -f conftest.$ac_objext conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16852 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16853 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16855 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16856 { ac_try='test -s conftest$ac_exeext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16858 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16859 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16861 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16862 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16863 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16864 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16865 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16866 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16867 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16869 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16872 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16873 cat >>confdefs.h <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16875 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16876
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16877 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16878 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16879
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16880 ac_cv_func_fork_works=$ac_cv_func_fork
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16881 if test "x$ac_cv_func_fork" = xyes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16882 echo "$as_me:$LINENO: checking for working fork" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16883 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16884 if test "${ac_cv_func_fork_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16886 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16887 if test "$cross_compiling" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16888 ac_cv_func_fork_works=cross
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16889 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16890 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16891 /* By Ruediger Kuhlmann. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16892 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16893 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16894 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16895 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16896 /* Some systems only have a dummy stub for fork() */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16897 int main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16898 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16899 if (fork() < 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16900 exit (1);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16901 exit (0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16902 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16903 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16904 rm -f conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16906 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16907 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16911 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16912 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16914 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16915 ac_cv_func_fork_works=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16916 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16917 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16918 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16919 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16920 ( exit $ac_status )
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16921 ac_cv_func_fork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16922 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16923 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16924 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16925 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16926 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16927 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16928
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16929 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16930 if test "x$ac_cv_func_fork_works" = xcross; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16931 case $host in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16932 *-*-amigaos* | *-*-msdosdjgpp*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16933 # Override, as these systems have only a dummy fork() stub
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16934 ac_cv_func_fork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16935 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16936 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16937 ac_cv_func_fork_works=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16938 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16939 esac
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16940 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16941 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16942 fi
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16943 ac_cv_func_vfork_works=$ac_cv_func_vfork
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16944 if test "x$ac_cv_func_vfork" = xyes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16945 echo "$as_me:$LINENO: checking for working vfork" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16946 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16947 if test "${ac_cv_func_vfork_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16949 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16950 if test "$cross_compiling" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16951 ac_cv_func_vfork_works=cross
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16952 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16953 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
16954 #line $LINENO "configure"
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16955 #include "confdefs.h"
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16956 /* Thanks to Paul Eggert for this test. */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16957 #include <stdio.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16958 #include <sys/types.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16959 #include <sys/stat.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16960 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16961 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16962 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16963 #if HAVE_VFORK_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16964 # include <vfork.h>
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16965 #endif
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16966 /* On some sparc systems, changes by the child to local and incoming
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16967 argument registers are propagated back to the parent. The compiler
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16968 is told about this with #include <vfork.h>, but some compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16969 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16970 static variable whose address is put into a register that is
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16971 clobbered by the vfork. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16972 static
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16973 #ifdef __cplusplus
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16974 sparc_address_test (int arg)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16975 # else
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16976 sparc_address_test (arg) int arg;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16977 #endif
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16978 {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16979 static pid_t child;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16980 if (!child) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16981 child = vfork ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16982 if (child < 0) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16983 perror ("vfork");
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16984 _exit(2);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16985 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16986 if (!child) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16987 arg = getpid();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16988 write(-1, "", 0);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16989 _exit (arg);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16990 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16991 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16992 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16993
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16994 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16995 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
16996 {
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16997 pid_t parent = getpid ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16998 pid_t child;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
16999
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17000 sparc_address_test ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17001
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17002 child = vfork ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17003
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17004 if (child == 0) {
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17005 /* Here is another test for sparc vfork register problems. This
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17006 test uses lots of local variables, at least as many local
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17007 variables as main has allocated so far including compiler
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17008 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17009 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17010 reuse the register of parent for one of the local variables,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17011 since it will think that parent can't possibly be used any more
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17012 in this routine. Assigning to the local variable will thus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17013 munge parent in the parent process. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17014 pid_t
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17015 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17016 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17017 /* Convince the compiler that p..p7 are live; otherwise, it might
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17018 use the same hardware register for all 8 local variables. */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17019 if (p != p1 || p != p2 || p != p3 || p != p4
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17020 || p != p5 || p != p6 || p != p7)
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17021 _exit(1);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17022
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17023 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17024 from child file descriptors. If the child closes a descriptor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17025 before it execs or exits, this munges the parent's descriptor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17026 as well. Test for this by closing stdout in the child. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17027 _exit(close(fileno(stdout)) != 0);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17028 } else {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17029 int status;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17030 struct stat st;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17031
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17032 while (wait(&status) != child)
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17033 ;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17034 exit(
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17035 /* Was there some problem with vforking? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17036 child < 0
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17037
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17038 /* Did the child fail? (This shouldn't happen.) */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17039 || status
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17040
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17041 /* Did the vfork/compiler bug occur? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17042 || parent != getpid()
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17043
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17044 /* Did the file descriptor bug occur? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17045 || fstat(fileno(stdout), &st) != 0
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17046 );
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17047 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17048 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17049 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17050 rm -f conftest$ac_exeext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17052 (eval $ac_link) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17053 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17055 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17057 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17058 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17060 (exit $ac_status); }; }; then
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17061 ac_cv_func_vfork_works=yes
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17062 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17063 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17064 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17065 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17066 ( exit $ac_status )
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17067 ac_cv_func_vfork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17068 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17069 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17070 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17071 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17072 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17073 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17074
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17075 fi;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17076 if test "x$ac_cv_func_fork_works" = xcross; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17077 ac_cv_func_vfork_works=ac_cv_func_vfork
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17078 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17079 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17080 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17081
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17082 if test "x$ac_cv_func_vfork_works" = xyes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17083
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17084 cat >>confdefs.h <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17085 #define HAVE_WORKING_VFORK 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17086 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17087
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17088 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17089
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17090 cat >>confdefs.h <<\_ACEOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17091 #define vfork fork
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17092 _ACEOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17093
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17094 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17095 if test "x$ac_cv_func_fork_works" = xyes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17096
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17097 cat >>confdefs.h <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17098 #define HAVE_WORKING_FORK 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17099 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17100
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17101 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17102
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
17103
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
17104 # Fixme: This should be replaced when we have autoconf 2.14.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17105 echo "$as_me:$LINENO: checking for size_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17106 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17107 if test "${ac_cv_type_size_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17109 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17110 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17111 #line $LINENO "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17112 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17113 $ac_includes_default
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17114 #ifdef F77_DUMMY_MAIN
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17115 # ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17116 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17117 # endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17118 int F77_DUMMY_MAIN() { return 1; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17119 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17120 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17121 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17122 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17123 if ((size_t *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17124 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17125 if (sizeof (size_t))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17126 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17127 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17128 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17129 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17130 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17131 rm -f conftest.$ac_objext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17133 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17134 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17136 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17137 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17139 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17140 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17142 (exit $ac_status); }; }; then
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
17143 ac_cv_type_size_t=yes
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
17144 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17145 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17146 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17147 ac_cv_type_size_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17148 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17149 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17150 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17151 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17152 echo "${ECHO_T}$ac_cv_type_size_t" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17153 if test $ac_cv_type_size_t = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17154 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17155 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17156
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17157 cat >>confdefs.h <<_ACEOF
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
17158 #define size_t unsigned
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17159 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17160
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17161 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17162
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
17163
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17164 # Set up the CFLAGS for real compilation, so we can substitute it.
Dave Love <fx@gnu.org>
parents:
diff changeset
17165 CFLAGS="$REAL_CFLAGS"
29990
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
17166 CPPFLAGS="$REAL_CPPFLAGS"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17167
Dave Love <fx@gnu.org>
parents:
diff changeset
17168 #### Find out which version of Emacs this is.
Dave Love <fx@gnu.org>
parents:
diff changeset
17169 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
Dave Love <fx@gnu.org>
parents:
diff changeset
17170 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
Dave Love <fx@gnu.org>
parents:
diff changeset
17171 if test x"${version}" = x; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17172 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17173 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17174 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17175 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17176
Dave Love <fx@gnu.org>
parents:
diff changeset
17177 ### Specify what sort of things we'll be editing into Makefile and config.h.
Dave Love <fx@gnu.org>
parents:
diff changeset
17178 ### Use configuration here uncanonicalized to avoid exceeding size limits.
Dave Love <fx@gnu.org>
parents:
diff changeset
17179
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17180
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17181
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17182
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17183
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17184
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17185
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17186
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17187
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17188
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17189
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17190
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17191
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17192
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17193
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17194
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17195
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17196
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17197
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17198
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17199
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17200
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17201
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17202
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17203
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17204
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17205
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17206
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17207
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17208
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17209
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17210
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17211
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17212 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17213 #define EMACS_CONFIGURATION "${canonical}"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17214 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17215
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17216 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17217 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17218 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17219
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17220 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17221 #define config_machfile "${machfile}"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17222 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17223
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17224 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17225 #define config_opsysfile "${opsysfile}"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17226 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17227
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17228 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17229 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17230 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17231
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17232 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17233 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17234 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17235
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17236 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17237 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17238 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17239
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17240 cat >>confdefs.h <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17241 #define UNEXEC_SRC ${UNEXEC_SRC}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17242 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17243
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17244
Dave Love <fx@gnu.org>
parents:
diff changeset
17245 if test "${HAVE_X_WINDOWS}" = "yes" ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17246 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17247 #define HAVE_X_WINDOWS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17248 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17249
Dave Love <fx@gnu.org>
parents:
diff changeset
17250 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17251 if test "${USE_X_TOOLKIT}" != "none" ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17252 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17253 #define USE_X_TOOLKIT 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17254 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17255
Dave Love <fx@gnu.org>
parents:
diff changeset
17256 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17257 if test "${HAVE_X11}" = "yes" ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17258 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17259 #define HAVE_X11 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17260 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17261
Dave Love <fx@gnu.org>
parents:
diff changeset
17262 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17263 if test "${HAVE_XFREE386}" = "yes" ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17264 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17265 #define HAVE_XFREE386 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17266 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17267
Dave Love <fx@gnu.org>
parents:
diff changeset
17268 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17269 if test "${HAVE_MENUS}" = "yes" ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17270 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17271 #define HAVE_MENUS 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17272 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17273
Dave Love <fx@gnu.org>
parents:
diff changeset
17274 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17275 if test "${GNU_MALLOC}" = "yes" ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17276 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17277 #define GNU_MALLOC 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17278 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17279
Dave Love <fx@gnu.org>
parents:
diff changeset
17280 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17281 if test "${REL_ALLOC}" = "yes" ; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17282 cat >>confdefs.h <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17283 #define REL_ALLOC 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17284 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17285
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17286 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17287
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17288
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17289 for ac_header in nlist.h
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17290 do
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17293 echo "$as_me:$LINENO: checking for $ac_header" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17297 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17300 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17301 # Is the header compilable?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17304 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17305 #line $LINENO "configure"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17306 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17307 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17308 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17309 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17310 rm -f conftest.$ac_objext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17312 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17313 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17315 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17316 { ac_try='test -s conftest.$ac_objext'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17318 (eval $ac_try) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17319 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17321 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17322 ac_header_compiler=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17323 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17324 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17325 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17326 ac_header_compiler=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17327 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17328 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17330 echo "${ECHO_T}$ac_header_compiler" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17331
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17332 # Is the header present?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17335 cat >conftest.$ac_ext <<_ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17336 #line $LINENO "configure"
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17337 #include "confdefs.h"
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17338 #include <$ac_header>
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17339 _ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17342 ac_status=$?
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17343 egrep -v '^ *\+' conftest.er1 >conftest.err
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17344 rm -f conftest.er1
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17345 cat conftest.err >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17347 (exit $ac_status); } >/dev/null; then
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17348 if test -s conftest.err; then
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17349 ac_cpp_err=$ac_c_preproc_warn_flag
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17350 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17351 ac_cpp_err=
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17352 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17353 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17354 ac_cpp_err=yes
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17355 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17356 if test -z "$ac_cpp_err"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17357 ac_header_preproc=yes
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17358 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17359 echo "$as_me: failed program was:" >&5
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17360 cat conftest.$ac_ext >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17361 ac_header_preproc=no
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17362 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17363 rm -f conftest.err conftest.$ac_ext
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17365 echo "${ECHO_T}$ac_header_preproc" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17366
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17367 # So? What about this header?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17368 case $ac_header_compiler:$ac_header_preproc in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17369 yes:no )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17374 no:yes )
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17375 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17377 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17381 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17382 echo "$as_me:$LINENO: checking for $ac_header" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17386 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17387 eval "$as_ac_Header=$ac_header_preproc"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17388 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17391
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17392 fi
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17394 cat >>confdefs.h <<_ACEOF
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17396 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17397
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17398 cat >>confdefs.h <<\_ACEOF
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17399 #define NLIST_STRUCT 1
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17400 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17401
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17402 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17403
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17404 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17405
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
17406
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17407 #### Report on what we decided to do.
Dave Love <fx@gnu.org>
parents:
diff changeset
17408 echo "
Dave Love <fx@gnu.org>
parents:
diff changeset
17409 Configured for \`${canonical}'.
Dave Love <fx@gnu.org>
parents:
diff changeset
17410
Dave Love <fx@gnu.org>
parents:
diff changeset
17411 Where should the build process find the source code? ${srcdir}
Dave Love <fx@gnu.org>
parents:
diff changeset
17412 What operating system and machine description files should Emacs use?
Dave Love <fx@gnu.org>
parents:
diff changeset
17413 \`${opsysfile}' and \`${machfile}'
Dave Love <fx@gnu.org>
parents:
diff changeset
17414 What compiler should emacs be built with? ${CC} ${CFLAGS}
Dave Love <fx@gnu.org>
parents:
diff changeset
17415 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
17416 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
17417 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17418 What window system should Emacs use? ${window_system}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17419 What toolkit should Emacs use? ${USE_X_TOOLKIT}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17420 Should Emacs use a shared game state directory? ${gamedir}"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17421
Dave Love <fx@gnu.org>
parents:
diff changeset
17422 if test -n "${x_includes}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
17423 echo " Where do we find X Windows header files? ${x_includes}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17424 else
Dave Love <fx@gnu.org>
parents:
diff changeset
17425 echo " Where do we find X Windows header files? Standard dirs"
Dave Love <fx@gnu.org>
parents:
diff changeset
17426 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17427 if test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
17428 echo " Where do we find X Windows libraries? ${x_libraries}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17429 else
Dave Love <fx@gnu.org>
parents:
diff changeset
17430 echo " Where do we find X Windows libraries? Standard dirs"
Dave Love <fx@gnu.org>
parents:
diff changeset
17431 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17432
Dave Love <fx@gnu.org>
parents:
diff changeset
17433 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17434 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17435 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17436 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17437 echo " Does Emacs use -lungif? ${HAVE_GIF}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17438 echo " Does Emacs use -lpng? ${HAVE_PNG}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17439 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
Dave Love <fx@gnu.org>
parents:
diff changeset
17440 echo
Dave Love <fx@gnu.org>
parents:
diff changeset
17441
Dave Love <fx@gnu.org>
parents:
diff changeset
17442 # Remove any trailing slashes in these variables.
Dave Love <fx@gnu.org>
parents:
diff changeset
17443 test "${prefix}" != NONE &&
Dave Love <fx@gnu.org>
parents:
diff changeset
17444 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
Dave Love <fx@gnu.org>
parents:
diff changeset
17445 test "${exec_prefix}" != NONE &&
Dave Love <fx@gnu.org>
parents:
diff changeset
17446 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
Dave Love <fx@gnu.org>
parents:
diff changeset
17447
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17448 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17449 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17450 ## from Makefile.c can correctly provide the arg `-traditional' to the
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17451 ## C preprocessor.
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17452
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17453 cat >conftest.$ac_ext <<_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17454 #line $LINENO "configure"
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17455 #include "confdefs.h"
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17456 yes..yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17457 _ACEOF
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17459 egrep "yes..yes" >/dev/null 2>&1; then
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17460 CPP_NEED_TRADITIONAL=no
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17461 else
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17462 CPP_NEED_TRADITIONAL=yes
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17463 fi
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17464 rm -f conftest*
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
17465
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17466
41431
33fd5b0cc93e Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 41148
diff changeset
17467 ac_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"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17468 ac_config_commands="$ac_config_commands default"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17469 cat >confcache <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17470 # This file is a shell script that caches the results of configure
Dave Love <fx@gnu.org>
parents:
diff changeset
17471 # tests run on this system so they can be shared between configure
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17472 # scripts and configure runs, see configure's option --config-cache.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17473 # It is not useful on other systems. If it contains results you don't
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17474 # want to keep, you may remove or edit it.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17475 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17476 # config.status only pays attention to the cache file if you give it
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17477 # the --recheck option to rerun configure.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17478 #
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17479 # `ac_cv_env_foo' variables (set or unset) will be overriden when
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17481 # following values.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17482
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17483 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17484
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17485 # The following way of writing the cache mishandles newlines in values,
Dave Love <fx@gnu.org>
parents:
diff changeset
17486 # but we know of no workaround that is simple, portable, and efficient.
Dave Love <fx@gnu.org>
parents:
diff changeset
17487 # So, don't put newlines in cache variables' values.
Dave Love <fx@gnu.org>
parents:
diff changeset
17488 # Ultrix sh set writes to stderr and can't be redirected directly,
Dave Love <fx@gnu.org>
parents:
diff changeset
17489 # and sets the high bit in the cache file unless we assign to the vars.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17490 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17491 (set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17492 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17493 *ac_space=\ *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17494 # `set' does not quote correctly, so add quotes (double-quote
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17495 # substitution turns \\\\ into \\, and sed turns \\ into \).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17496 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17497 "s/'/'\\\\''/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17499 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17500 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17501 # `set' quotes correctly as required by POSIX, so do not add quotes.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17502 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17503 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17504 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17505 esac;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17506 } |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17507 sed '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17508 t clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17509 : clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17510 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17511 t end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17512 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17513 : end' >>confcache
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17514 if cmp -s $cache_file confcache; then :; else
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17515 if test -w $cache_file; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17516 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17517 cat confcache >$cache_file
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17518 else
Dave Love <fx@gnu.org>
parents:
diff changeset
17519 echo "not updating unwritable cache $cache_file"
Dave Love <fx@gnu.org>
parents:
diff changeset
17520 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17521 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
17522 rm -f confcache
Dave Love <fx@gnu.org>
parents:
diff changeset
17523
Dave Love <fx@gnu.org>
parents:
diff changeset
17524 test "x$prefix" = xNONE && prefix=$ac_default_prefix
Dave Love <fx@gnu.org>
parents:
diff changeset
17525 # Let make expand exec_prefix.
Dave Love <fx@gnu.org>
parents:
diff changeset
17526 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
Dave Love <fx@gnu.org>
parents:
diff changeset
17527
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17528 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17529 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17530 # trailing colons and then remove the whole line if VPATH becomes empty
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17531 # (actually we leave an empty line to preserve line numbers).
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17532 if test "x$srcdir" = x.; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17533 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17534 s/:*\$(srcdir):*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17535 s/:*\${srcdir}:*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17536 s/:*@srcdir@:*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17537 s/^\([^=]*=[ ]*\):*/\1/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17538 s/:*$//;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17539 s/^[^=]*=[ ]*$//;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17540 }'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17541 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17542
Dave Love <fx@gnu.org>
parents:
diff changeset
17543 DEFS=-DHAVE_CONFIG_H
Dave Love <fx@gnu.org>
parents:
diff changeset
17544
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17545
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17546 : ${CONFIG_STATUS=./config.status}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17547 ac_clean_files_save=$ac_clean_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17548 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17549 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17550 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17551 cat >$CONFIG_STATUS <<_ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17552 #! $SHELL
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17553 # Generated by $as_me.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17554 # Run this file to recreate the current configuration.
Dave Love <fx@gnu.org>
parents:
diff changeset
17555 # Compiler output produced by configure, useful for debugging
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17556 # configure, is in config.log if it exists.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17557
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17558 debug=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17559 SHELL=\${CONFIG_SHELL-$SHELL}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17560 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17561
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17562 cat >>$CONFIG_STATUS <<\_ACEOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17563
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17564 ## --------------------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17565 ## M4sh Initialization. ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17566 ## --------------------- ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17567
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17568 # Be Bourne compatible
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17569 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17570 emulate sh
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17571 NULLCMD=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17572 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17573 set -o posix
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17574 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17575
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17576 # NLS nuisances.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17577 # Support unset when possible.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17578 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17579 as_unset=unset
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17580 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17581 as_unset=false
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17582 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17583
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17584 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17585 { $as_unset LANG || test "${LANG+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17586 { LANG=C; export LANG; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17587 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17588 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17589 { LC_ALL=C; export LC_ALL; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17590 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17591 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17592 { LC_TIME=C; export LC_TIME; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17593 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17594 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17595 { LC_CTYPE=C; export LC_CTYPE; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17596 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17597 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17598 { LANGUAGE=C; export LANGUAGE; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17599 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17600 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17601 { LC_COLLATE=C; export LC_COLLATE; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17602 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17603 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17604 { LC_NUMERIC=C; export LC_NUMERIC; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17605 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17606 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17607 { LC_MESSAGES=C; export LC_MESSAGES; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17608
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17609
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17610 # Name of the executable.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17611 as_me=`(basename "$0") 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17612 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17613 X"$0" : 'X\(//\)$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17614 X"$0" : 'X\(/\)$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17615 . : '\(.\)' 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17616 echo X/"$0" |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17617 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17618 /^X\/\(\/\/\)$/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17619 /^X\/\(\/\).*/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17620 s/.*/./; q'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17621
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17622 # PATH needs CR, and LINENO needs CR and PATH.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17623 # Avoid depending upon Character Ranges.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17624 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17625 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17626 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17627 as_cr_digits='0123456789'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17628 as_cr_alnum=$as_cr_Letters$as_cr_digits
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17629
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17630 # The user is always right.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17631 if test "${PATH_SEPARATOR+set}" != set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17632 echo "#! /bin/sh" >conftest.sh
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17633 echo "exit 0" >>conftest.sh
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17634 chmod +x conftest.sh
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17635 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17636 PATH_SEPARATOR=';'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17637 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17638 PATH_SEPARATOR=:
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17639 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17640 rm -f conftest.sh
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17641 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17642
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17643
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17644 as_lineno_1=$LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17645 as_lineno_2=$LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17646 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17647 test "x$as_lineno_1" != "x$as_lineno_2" &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17648 test "x$as_lineno_3" = "x$as_lineno_2" || {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17649 # Find who we are. Look in the path if we contain no path at all
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17650 # relative or not.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17651 case $0 in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17652 *[\\/]* ) as_myself=$0 ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17653 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17654 for as_dir in $PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17655 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17656 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17657 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17658 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17659 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17660
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17661 ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17662 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17663 # We did not find ourselves, most probably we were run as `sh COMMAND'
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17664 # in which case we are not to be found in the path.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17665 if test "x$as_myself" = x; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17666 as_myself=$0
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17667 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17668 if test ! -f "$as_myself"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17669 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17670 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17671 { (exit 1); exit 1; }; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17672 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17673 case $CONFIG_SHELL in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17674 '')
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17676 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17677 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17678 IFS=$as_save_IFS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17679 test -z "$as_dir" && as_dir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17680 for as_base in sh bash ksh sh5; do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17681 case $as_dir in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17682 /*)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17683 if ("$as_dir/$as_base" -c '
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17684 as_lineno_1=$LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17685 as_lineno_2=$LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17686 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17687 test "x$as_lineno_1" != "x$as_lineno_2" &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17688 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17689 CONFIG_SHELL=$as_dir/$as_base
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17690 export CONFIG_SHELL
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17691 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17692 fi;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17693 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17694 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17695 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17696 ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17697 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17698
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17699 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17700 # uniformly replaced by the line number. The first 'sed' inserts a
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17701 # line-number line before each line; the second 'sed' does the real
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17702 # work. The second script uses 'N' to pair each line-number line
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17703 # with the numbered line, and appends trailing '-' during
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17704 # substitution so that $LINENO is not a special case at line end.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17705 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17706 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17707 sed '=' <$as_myself |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17708 sed '
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17709 N
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17710 s,$,-,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17711 : loop
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17712 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17713 t loop
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17714 s,-$,,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17715 s,^['$as_cr_digits']*\n,,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17716 ' >$as_me.lineno &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17717 chmod +x $as_me.lineno ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17718 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17719 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17720 { (exit 1); exit 1; }; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17721
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17722 # Don't try to exec as it changes $[0], causing all sort of problems
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17723 # (the dirname of $[0] is not the place where we might find the
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17724 # original and so on. Autoconf is especially sensible to this).
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17725 . ./$as_me.lineno
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17726 # Exit status is that of the last command.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17727 exit
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17728 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17729
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17730
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17731 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17732 *c*,-n*) ECHO_N= ECHO_C='
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17733 ' ECHO_T=' ' ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17734 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17735 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17736 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17737
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17738 if expr a : '\(a\)' >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17739 as_expr=expr
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17740 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17741 as_expr=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17742 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17743
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17744 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17745 echo >conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17746 if ln -s conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17747 # We could just check for DJGPP; but this test a) works b) is more generic
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17748 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17749 if test -f conf$$.exe; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17750 # Don't use ln at all; we don't have any links
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17751 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17752 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17753 as_ln_s='ln -s'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17754 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17755 elif ln conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17756 as_ln_s=ln
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17757 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17758 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17759 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17760 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17761
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17762 as_executable_p="test -f"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17763
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17764 # Sed expression to map a string onto a valid CPP name.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17765 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17766
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17767 # Sed expression to map a string onto a valid variable name.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17768 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17769
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17770
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17771 # IFS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17772 # We need space, tab and new line, in precisely that order.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17773 as_nl='
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17774 '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17775 IFS=" $as_nl"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17776
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17777 # CDPATH.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17778 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17779
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17780 exec 6>&1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17781
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17782 # Open the log real soon, to keep \$[0] and so on meaningful, and to
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17783 # report actual input values of CONFIG_FILES etc. instead of their
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17784 # values after options handling. Logging --version etc. is OK.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17785 exec 5>>config.log
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17786 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17787 echo
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17788 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17789 ## Running $as_me. ##
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17790 _ASBOX
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17791 } >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17792 cat >&5 <<_CSEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17793
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17794 This file was extended by $as_me, which was
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17795 generated by GNU Autoconf 2.53. Invocation command line was
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17796
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17797 CONFIG_FILES = $CONFIG_FILES
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17798 CONFIG_HEADERS = $CONFIG_HEADERS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17799 CONFIG_LINKS = $CONFIG_LINKS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17800 CONFIG_COMMANDS = $CONFIG_COMMANDS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17801 $ $0 $@
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17802
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17803 _CSEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17804 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17805 echo >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17806 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17807
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17808 # Files that config.status was made for.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17809 if test -n "$ac_config_files"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17810 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17811 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17812
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17813 if test -n "$ac_config_headers"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17814 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17815 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17816
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17817 if test -n "$ac_config_links"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17818 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17819 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17820
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17821 if test -n "$ac_config_commands"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17822 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17823 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17824
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17825 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17826
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17827 ac_cs_usage="\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17828 \`$as_me' instantiates files from templates according to the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17829 current configuration.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17830
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17831 Usage: $0 [OPTIONS] [FILE]...
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17832
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17833 -h, --help print this help, then exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17834 -V, --version print version number, then exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17835 -d, --debug don't remove temporary files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17836 --recheck update $as_me by reconfiguring in the same conditions
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17837 --file=FILE[:TEMPLATE]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17838 instantiate the configuration file FILE
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17839 --header=FILE[:TEMPLATE]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17840 instantiate the configuration header FILE
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17841
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17842 Configuration files:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17843 $config_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17844
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17845 Configuration headers:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17846 $config_headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17847
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17848 Configuration commands:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17849 $config_commands
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17850
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17851 Report bugs to <bug-autoconf@gnu.org>."
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17852 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17853
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17854 cat >>$CONFIG_STATUS <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17855 ac_cs_version="\\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17856 config.status
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17857 configured by $0, generated by GNU Autoconf 2.53,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17858 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17859
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17860 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17861 Free Software Foundation, Inc.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17862 This config.status script is free software; the Free Software Foundation
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17863 gives unlimited permission to copy, distribute and modify it."
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17864 srcdir=$srcdir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17865 INSTALL="$INSTALL"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17866 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17867
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17868 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17869 # If no file are specified by the user, then we need to provide default
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17870 # value. By we need to know if files were specified by the user.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17871 ac_need_defaults=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17872 while test $# != 0
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17873 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17874 case $1 in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17875 --*=*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17876 ac_option=`expr "x$1" : 'x\([^=]*\)='`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17877 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17878 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17879 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17880 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17881 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17882 -*);;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17883 *) # This is not an option, so the user has probably given explicit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17884 # arguments.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17885 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17886 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17887
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17888 case $1 in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17889 # Handling of the options.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17890 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17891 cat >>$CONFIG_STATUS <<_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17892 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17893 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17894 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17895 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17896 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17897 --version | --vers* | -V )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17898 echo "$ac_cs_version"; exit 0 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17899 --he | --h)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17900 # Conflict between --help and --header
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17901 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17902 Try \`$0 --help' for more information." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17903 echo "$as_me: error: ambiguous option: $1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17904 Try \`$0 --help' for more information." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17905 { (exit 1); exit 1; }; };;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17906 --help | --hel | -h )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17907 echo "$ac_cs_usage"; exit 0 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17908 --debug | --d* | -d )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17909 debug=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17910 --file | --fil | --fi | --f )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17911 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17912 CONFIG_FILES="$CONFIG_FILES $1"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17913 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17914 --header | --heade | --head | --hea )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17915 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17916 CONFIG_HEADERS="$CONFIG_HEADERS $1"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17917 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17918
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17919 # This is an error.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17920 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17921 Try \`$0 --help' for more information." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17922 echo "$as_me: error: unrecognized option: $1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17923 Try \`$0 --help' for more information." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17924 { (exit 1); exit 1; }; } ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17925
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17926 *) ac_config_targets="$ac_config_targets $1" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17927
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17928 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17929 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17930 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17931
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17932 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17933
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17934 cat >>$CONFIG_STATUS <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17935 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17936 # INIT-COMMANDS section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17937 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17938
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17939 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17940
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17941 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17942
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17943
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17944
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17945 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17946 for ac_config_target in $ac_config_targets
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17947 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17948 case "$ac_config_target" in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17949 # Handling of arguments.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17950 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17951 "lib-src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17952 "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17953 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17954 "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17955 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17956 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
40893
2778a25ac830 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 40777
diff changeset
17957 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
41431
33fd5b0cc93e Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 41148
diff changeset
17958 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17959 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17960 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17961 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
17962 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17963 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17964 { (exit 1); exit 1; }; };;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
17965 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
17966 done
Dave Love <fx@gnu.org>
parents:
diff changeset
17967
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17968 # If the user did not use the arguments to specify the items to instantiate,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17969 # then the envvar interface is used. Set only those that are not.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17970 # We use the long form for the default assignment because of an extremely
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17971 # bizarre bug on SunOS 4.1.3.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17972 if $ac_need_defaults; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17973 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17974 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17975 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17976 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17977
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17978 # Create a temporary directory, and hook for its removal unless debugging.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17979 $debug ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17980 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17981 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17982 trap '{ (exit 1); exit 1; }' 1 2 13 15
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17983 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17984
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17985 # Create a (secure) tmp directory for tmp files.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17986 : ${TMPDIR=/tmp}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17987 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17988 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17989 test -n "$tmp" && test -d "$tmp"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17990 } ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17991 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17992 tmp=$TMPDIR/cs$$-$RANDOM
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17993 (umask 077 && mkdir $tmp)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17994 } ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17995 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17996 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17997 { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17998 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
17999
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18000 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18001
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18002 cat >>$CONFIG_STATUS <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18003
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18004 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18005 # CONFIG_FILES section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18006 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18007
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18008 # No need to generate the scripts if there are no CONFIG_FILES.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18009 # This happens for instance when ./config.status config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18010 if test -n "\$CONFIG_FILES"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18011 # Protect against being on the right side of a sed subst in config.status.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18012 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18013 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18014 s,@SHELL@,$SHELL,;t t
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18015 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18016 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18017 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18018 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18019 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18020 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18021 s,@exec_prefix@,$exec_prefix,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18022 s,@prefix@,$prefix,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18023 s,@program_transform_name@,$program_transform_name,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18024 s,@bindir@,$bindir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18025 s,@sbindir@,$sbindir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18026 s,@libexecdir@,$libexecdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18027 s,@datadir@,$datadir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18028 s,@sysconfdir@,$sysconfdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18029 s,@sharedstatedir@,$sharedstatedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18030 s,@localstatedir@,$localstatedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18031 s,@libdir@,$libdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18032 s,@includedir@,$includedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18033 s,@oldincludedir@,$oldincludedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18034 s,@infodir@,$infodir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18035 s,@mandir@,$mandir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18036 s,@build_alias@,$build_alias,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18037 s,@host_alias@,$host_alias,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18038 s,@target_alias@,$target_alias,;t t
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18039 s,@DEFS@,$DEFS,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18040 s,@ECHO_C@,$ECHO_C,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18041 s,@ECHO_N@,$ECHO_N,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18042 s,@ECHO_T@,$ECHO_T,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18043 s,@LIBS@,$LIBS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18044 s,@build@,$build,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18045 s,@build_cpu@,$build_cpu,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18046 s,@build_vendor@,$build_vendor,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18047 s,@build_os@,$build_os,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18048 s,@host@,$host,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18049 s,@host_cpu@,$host_cpu,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18050 s,@host_vendor@,$host_vendor,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18051 s,@host_os@,$host_os,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18052 s,@CC@,$CC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18053 s,@CFLAGS@,$CFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18054 s,@LDFLAGS@,$LDFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18055 s,@CPPFLAGS@,$CPPFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18056 s,@ac_ct_CC@,$ac_ct_CC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18057 s,@EXEEXT@,$EXEEXT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18058 s,@OBJEXT@,$OBJEXT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18059 s,@LN_S@,$LN_S,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18060 s,@CPP@,$CPP,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18061 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18062 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18063 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18064 s,@YACC@,$YACC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18065 s,@RANLIB@,$RANLIB,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18066 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18067 s,@LIBSOUND@,$LIBSOUND,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18068 s,@SET_MAKE@,$SET_MAKE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18069 s,@ALLOCA@,$ALLOCA,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18070 s,@liblockfile@,$liblockfile,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18071 s,@LIBOBJS@,$LIBOBJS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18072 s,@NEED_SETGID@,$NEED_SETGID,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18073 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18074 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18075 s,@version@,$version,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18076 s,@configuration@,$configuration,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18077 s,@canonical@,$canonical,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18078 s,@srcdir@,$srcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18079 s,@lispdir@,$lispdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18080 s,@locallisppath@,$locallisppath,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18081 s,@lisppath@,$lisppath,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18082 s,@x_default_search_path@,$x_default_search_path,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18083 s,@etcdir@,$etcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18084 s,@archlibdir@,$archlibdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18085 s,@docdir@,$docdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18086 s,@bitmapdir@,$bitmapdir,;t t
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18087 s,@gamedir@,$gamedir,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18088 s,@gameuser@,$gameuser,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18089 s,@c_switch_system@,$c_switch_system,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18090 s,@c_switch_machine@,$c_switch_machine,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18091 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18092 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18093 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18094 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18095 s,@machfile@,$machfile,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18096 s,@opsysfile@,$opsysfile,;t t
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18097 CEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18098
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18099 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18100
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18101 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18102 # Split the substitutions into bite-sized pieces for seds with
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18103 # small command number limits, like on Digital OSF/1 and HP-UX.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18104 ac_max_sed_lines=48
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18105 ac_sed_frag=1 # Number of current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18106 ac_beg=1 # First line for current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18107 ac_end=$ac_max_sed_lines # Line after last line for current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18108 ac_more_lines=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18109 ac_sed_cmds=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18110 while $ac_more_lines; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18111 if test $ac_beg -gt 1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18112 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18113 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18114 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18115 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18116 if test ! -s $tmp/subs.frag; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18117 ac_more_lines=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18118 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18119 # The purpose of the label and of the branching condition is to
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18120 # speed up the sed processing (if there are no `@' at all, there
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18121 # is no need to browse any of the substitutions).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18122 # These are the two extra sed commands mentioned above.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18123 (echo ':t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18124 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18125 if test -z "$ac_sed_cmds"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18126 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18127 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18128 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18129 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18130 ac_sed_frag=`expr $ac_sed_frag + 1`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18131 ac_beg=$ac_end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18132 ac_end=`expr $ac_end + $ac_max_sed_lines`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18133 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18134 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18135 if test -z "$ac_sed_cmds"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18136 ac_sed_cmds=cat
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18137 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18138 fi # test -n "$CONFIG_FILES"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18139
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18140 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18141 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18142 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18143 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18144 case $ac_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18145 - | *:- | *:-:* ) # input from stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18146 cat >$tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18147 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18148 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18149 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18150 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18151 * ) ac_file_in=$ac_file.in ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18152 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
18153
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18154 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18155 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18156 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18157 X"$ac_file" : 'X\(//\)[^/]' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18158 X"$ac_file" : 'X\(//\)$' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18159 X"$ac_file" : 'X\(/\)' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18160 . : '\(.\)' 2>/dev/null ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18161 echo X"$ac_file" |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18163 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18164 /^X\(\/\/\)$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18165 /^X\(\/\).*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18166 s/.*/./; q'`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18167 { case "$ac_dir" in
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18168 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18169 *) as_incr_dir=.;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18170 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18171 as_dummy="$ac_dir"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18172 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18173 case $as_mkdir_dir in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18174 # Skip DOS drivespec
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18175 ?:) as_incr_dir=$as_mkdir_dir ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18176 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18177 as_incr_dir=$as_incr_dir/$as_mkdir_dir
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18178 test -d "$as_incr_dir" ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18179 mkdir "$as_incr_dir" ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18180 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18181 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18182 { (exit 1); exit 1; }; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18183 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18184 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18185 done; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18186
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18187 ac_builddir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18188
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18189 if test "$ac_dir" != .; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18190 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18191 # A "../" for each directory in $ac_dir_suffix.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18192 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18193 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18194 ac_dir_suffix= ac_top_builddir=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18195 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18196
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18197 case $srcdir in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18198 .) # No --srcdir option. We are building in place.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18199 ac_srcdir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18200 if test -z "$ac_top_builddir"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18201 ac_top_srcdir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18202 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18203 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18204 fi ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18205 [\\/]* | ?:[\\/]* ) # Absolute path.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18206 ac_srcdir=$srcdir$ac_dir_suffix;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18207 ac_top_srcdir=$srcdir ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18208 *) # Relative path.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18209 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18210 ac_top_srcdir=$ac_top_builddir$srcdir ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18211 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18212 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18213 # absolute.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18214 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18215 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18216 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18217 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18218
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18219
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18220 case $INSTALL in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18221 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18222 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18223 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
18224
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18225 if test x"$ac_file" != x-; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18226 { echo "$as_me:$LINENO: creating $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18227 echo "$as_me: creating $ac_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18228 rm -f "$ac_file"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18229 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18230 # Let's still pretend it is `configure' which instantiates (i.e., don't
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18231 # use $as_me), people would be surprised to read:
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18232 # /* config.h. Generated by config.status. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18233 if test x"$ac_file" = x-; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18234 configure_input=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18235 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18236 configure_input="$ac_file. "
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18237 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18238 configure_input=$configure_input"Generated from `echo $ac_file_in |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18239 sed 's,.*/,,'` by configure."
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18240
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18241 # First look for the input files in the build tree, otherwise in the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18242 # src tree.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18243 ac_file_inputs=`IFS=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18244 for f in $ac_file_in; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18245 case $f in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18246 -) echo $tmp/stdin ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18247 [\\/$]*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18248 # Absolute (can't be DOS-style, as IFS=:)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18249 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18250 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18251 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18252 echo $f;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18253 *) # Relative
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18254 if test -f "$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18255 # Build tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18256 echo $f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18257 elif test -f "$srcdir/$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18258 # Source tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18259 echo $srcdir/$f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18260 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18261 # /dev/null tree
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18262 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18263 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18264 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18265 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18266 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18267 done` || { (exit 1); exit 1; }
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18268 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18269 cat >>$CONFIG_STATUS <<_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18270 sed "$ac_vpsub
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18271 $extrasub
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18272 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18273 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18274 :t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18275 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18276 s,@configure_input@,$configure_input,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18277 s,@srcdir@,$ac_srcdir,;t t
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18278 s,@abs_srcdir@,$ac_abs_srcdir,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18279 s,@top_srcdir@,$ac_top_srcdir,;t t
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18280 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18281 s,@builddir@,$ac_builddir,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18282 s,@abs_builddir@,$ac_abs_builddir,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18283 s,@top_builddir@,$ac_top_builddir,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18284 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18285 s,@INSTALL@,$ac_INSTALL,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18286 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18287 rm -f $tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18288 if test x"$ac_file" != x-; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18289 mv $tmp/out $ac_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18290 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18291 cat $tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18292 rm -f $tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18293 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18294
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18295 done
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18296 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18297 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18298
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18299 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18300 # CONFIG_HEADER section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18301 #
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18302
Dave Love <fx@gnu.org>
parents:
diff changeset
18303 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
Dave Love <fx@gnu.org>
parents:
diff changeset
18304 # NAME is the cpp macro being defined and VALUE is the value it is being given.
Dave Love <fx@gnu.org>
parents:
diff changeset
18305 #
Dave Love <fx@gnu.org>
parents:
diff changeset
18306 # ac_d sets the value in "#define NAME VALUE" lines.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18307 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18308 ac_dB='[ ].*$,\1#\2'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18309 ac_dC=' '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18310 ac_dD=',;t'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18311 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18312 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18313 ac_uB='$,\1#\2define\3'
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18314 ac_uC=' '
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18315 ac_uD=',;t'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18316
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18317 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18318 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18319 case $ac_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18320 - | *:- | *:-:* ) # input from stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18321 cat >$tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18322 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18323 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18324 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18325 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18326 * ) ac_file_in=$ac_file.in ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18327 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
18328
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18329 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18330 echo "$as_me: creating $ac_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18331
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18332 # First look for the input files in the build tree, otherwise in the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18333 # src tree.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18334 ac_file_inputs=`IFS=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18335 for f in $ac_file_in; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18336 case $f in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18337 -) echo $tmp/stdin ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18338 [\\/$]*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18339 # Absolute (can't be DOS-style, as IFS=:)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18340 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18341 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18342 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18343 echo $f;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18344 *) # Relative
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18345 if test -f "$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18346 # Build tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18347 echo $f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18348 elif test -f "$srcdir/$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18349 # Source tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18350 echo $srcdir/$f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18351 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18352 # /dev/null tree
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18353 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18354 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18355 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18356 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18357 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18358 done` || { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18359 # Remove the trailing spaces.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18360 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18361
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18362 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18363
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18364 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18365 # `conftest.undefs', that substitutes the proper values into
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18366 # config.h.in to produce config.h. The first handles `#define'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18367 # templates, and the second `#undef' templates.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18368 # And first: Protect against being on the right side of a sed subst in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18369 # config.status. Protect against being in an unquoted here document
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18370 # in config.status.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18371 rm -f conftest.defines conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18372 # Using a here document instead of a string reduces the quoting nightmare.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18373 # Putting comments in sed scripts is not portable.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18374 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18375 # `end' is used to avoid that the second main sed command (meant for
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18376 # 0-ary CPP macros) applies to n-ary macro definitions.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18377 # See the Autoconf documentation for `clear'.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18378 cat >confdef2sed.sed <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18379 s/[\\&,]/\\&/g
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18380 s,[\\$`],\\&,g
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18381 t clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18382 : clear
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18383 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18384 t end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18385 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18386 : end
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18387 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18388 # If some macros were called several times there might be several times
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18389 # the same #defines, which is useless. Nevertheless, we may not want to
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18390 # sort them, since we want the *last* AC-DEFINE to be honored.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18391 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18392 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18393 rm -f confdef2sed.sed
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18394
Dave Love <fx@gnu.org>
parents:
diff changeset
18395 # This sed command replaces #undef with comments. This is necessary, for
Dave Love <fx@gnu.org>
parents:
diff changeset
18396 # example, in the case of _POSIX_SOURCE, which is predefined and required
Dave Love <fx@gnu.org>
parents:
diff changeset
18397 # on some systems where configure will not decide to define it.
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18398 cat >>conftest.undefs <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18399 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18400 _ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18401
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18402 # Break up conftest.defines because some shells have a limit on the size
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18403 # of here documents, and old seds have small limits too (100 cmds).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18404 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18405 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18406 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18407 echo ' :' >>$CONFIG_STATUS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18408 rm -f conftest.tail
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18409 while grep . conftest.defines >/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18410 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18411 # Write a limited-size here document to $tmp/defines.sed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18412 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18413 # Speed up: don't consider the non `#define' lines.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18414 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18415 # Work around the forget-to-reset-the-flag bug.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18416 echo 't clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18417 echo ': clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18418 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18419 echo 'CEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18420 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18421 rm -f $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18422 mv $tmp/out $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18423 ' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18424 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18425 rm -f conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18426 mv conftest.tail conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18427 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18428 rm -f conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18429 echo ' fi # egrep' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18430 echo >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18431
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18432 # Break up conftest.undefs because some shells have a limit on the size
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18433 # of here documents, and old seds have small limits too (100 cmds).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18434 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18435 rm -f conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18436 while grep . conftest.undefs >/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18437 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18438 # Write a limited-size here document to $tmp/undefs.sed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18439 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18440 # Speed up: don't consider the non `#undef'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18441 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18442 # Work around the forget-to-reset-the-flag bug.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18443 echo 't clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18444 echo ': clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18445 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18446 echo 'CEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18447 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18448 rm -f $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18449 mv $tmp/out $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18450 ' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18451 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18452 rm -f conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18453 mv conftest.tail conftest.undefs
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18454 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18455 rm -f conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18456
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18457 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18458 # Let's still pretend it is `configure' which instantiates (i.e., don't
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18459 # use $as_me), people would be surprised to read:
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18460 # /* config.h. Generated by config.status. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18461 if test x"$ac_file" = x-; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18462 echo "/* Generated by configure. */" >$tmp/config.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18463 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18464 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18465 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18466 cat $tmp/in >>$tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18467 rm -f $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18468 if test x"$ac_file" != x-; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18469 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18470 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18471 echo "$as_me: $ac_file is unchanged" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18472 else
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18473 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18474 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18475 X"$ac_file" : 'X\(//\)[^/]' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18476 X"$ac_file" : 'X\(//\)$' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18477 X"$ac_file" : 'X\(/\)' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18478 . : '\(.\)' 2>/dev/null ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18479 echo X"$ac_file" |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18481 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18482 /^X\(\/\/\)$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18483 /^X\(\/\).*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18484 s/.*/./; q'`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18485 { case "$ac_dir" in
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18486 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18487 *) as_incr_dir=.;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18488 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18489 as_dummy="$ac_dir"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18490 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18491 case $as_mkdir_dir in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18492 # Skip DOS drivespec
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18493 ?:) as_incr_dir=$as_mkdir_dir ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18494 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18495 as_incr_dir=$as_incr_dir/$as_mkdir_dir
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18496 test -d "$as_incr_dir" ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18497 mkdir "$as_incr_dir" ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18498 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18499 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18500 { (exit 1); exit 1; }; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18501 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18502 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18503 done; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18504
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18505 rm -f $ac_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18506 mv $tmp/config.h $ac_file
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18507 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18508 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18509 cat $tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18510 rm -f $tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18511 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18512 done
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18513 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18514 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18515
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18516 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18517 # CONFIG_COMMANDS section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18518 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18519 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18520 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18521 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18522 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18523 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18524 X"$ac_dest" : 'X\(//\)[^/]' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18525 X"$ac_dest" : 'X\(//\)$' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18526 X"$ac_dest" : 'X\(/\)' \| \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18527 . : '\(.\)' 2>/dev/null ||
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18528 echo X"$ac_dest" |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18530 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18531 /^X\(\/\/\)$/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18532 /^X\(\/\).*/{ s//\1/; q; }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18533 s/.*/./; q'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18534 ac_builddir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18535
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18536 if test "$ac_dir" != .; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18537 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18538 # A "../" for each directory in $ac_dir_suffix.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18539 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18540 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18541 ac_dir_suffix= ac_top_builddir=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18542 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18543
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18544 case $srcdir in
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18545 .) # No --srcdir option. We are building in place.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18546 ac_srcdir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18547 if test -z "$ac_top_builddir"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18548 ac_top_srcdir=.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18549 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18550 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18551 fi ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18552 [\\/]* | ?:[\\/]* ) # Absolute path.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18553 ac_srcdir=$srcdir$ac_dir_suffix;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18554 ac_top_srcdir=$srcdir ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18555 *) # Relative path.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18556 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18557 ac_top_srcdir=$ac_top_builddir$srcdir ;;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18558 esac
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18559 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18560 # absolute.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18561 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18562 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18563 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18564 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18565
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18566
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18567 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18568 echo "$as_me: executing $ac_dest commands" >&6;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18569 case $ac_dest in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18570 default )
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18571
Dave Love <fx@gnu.org>
parents:
diff changeset
18572 ### Make the necessary directories, if they don't exist.
Dave Love <fx@gnu.org>
parents:
diff changeset
18573 for dir in etc lisp ; do
Dave Love <fx@gnu.org>
parents:
diff changeset
18574 test -d ${dir} || mkdir ${dir}
Dave Love <fx@gnu.org>
parents:
diff changeset
18575 done
Dave Love <fx@gnu.org>
parents:
diff changeset
18576
Dave Love <fx@gnu.org>
parents:
diff changeset
18577 # Build src/Makefile from ${srcdir}/src/Makefile.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18578 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18579 # This must be done after src/config.h is built, since we rely on that file.
Dave Love <fx@gnu.org>
parents:
diff changeset
18580
Dave Love <fx@gnu.org>
parents:
diff changeset
18581 # Now get this: Some word that is part of the ${srcdir} directory name
Dave Love <fx@gnu.org>
parents:
diff changeset
18582 # or the ${configuration} value might, just might, happen to be an
Dave Love <fx@gnu.org>
parents:
diff changeset
18583 # identifier like `sun4' or `i386' or something, and be predefined by
Dave Love <fx@gnu.org>
parents:
diff changeset
18584 # the C preprocessor to some helpful value like 1, or maybe the empty
Dave Love <fx@gnu.org>
parents:
diff changeset
18585 # string. Needless to say consequent macro substitutions are less
Dave Love <fx@gnu.org>
parents:
diff changeset
18586 # than conducive to the makefile finding the correct directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
18587 undefs="`echo $top_srcdir $configuration $canonical |
Dave Love <fx@gnu.org>
parents:
diff changeset
18588 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
Dave Love <fx@gnu.org>
parents:
diff changeset
18589 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
Dave Love <fx@gnu.org>
parents:
diff changeset
18590 `"
Dave Love <fx@gnu.org>
parents:
diff changeset
18591
Dave Love <fx@gnu.org>
parents:
diff changeset
18592 echo creating src/epaths.h
40256
561bc8b0392f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40060
diff changeset
18593 ${MAKE-make} epaths-force
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18594
33652
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
18595 # As of 2000-11-19, newest development versions of GNU cpp preprocess
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
18596 # `..' to `. .' unless invoked with -traditional
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
18597
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
18598 if test "x$GCC" = xyes && test "x$CPP_NEED_TRADITIONAL" = xyes; then
33652
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
18599 CPPFLAGS="$CPPFLAGS -traditional"
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
18600 fi
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
18601
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18602 echo creating lib-src/Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
18603 ( cd lib-src
Dave Love <fx@gnu.org>
parents:
diff changeset
18604 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18605 sed -e '/start of cpp stuff/q' \
Dave Love <fx@gnu.org>
parents:
diff changeset
18606 < Makefile.c > junk1.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18607 sed -e '1,/start of cpp stuff/d'\
39239
246f0728f1d7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 38811
diff changeset
18608 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18609 < Makefile.c > junk.c
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18610 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18611 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18612 cat junk1.c junk2.c > Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
18613 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18614 chmod 444 Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
18615 mv -f Makefile.new Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
18616 )
Dave Love <fx@gnu.org>
parents:
diff changeset
18617
Dave Love <fx@gnu.org>
parents:
diff changeset
18618 echo creating src/Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
18619 ( cd src
Dave Love <fx@gnu.org>
parents:
diff changeset
18620 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18621 sed -e '/start of cpp stuff/q' \
Dave Love <fx@gnu.org>
parents:
diff changeset
18622 < Makefile.c > junk1.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18623 sed -e '1,/start of cpp stuff/d'\
39239
246f0728f1d7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 38811
diff changeset
18624 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18625 < Makefile.c > junk.c
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18626 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18627 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18628 cat junk1.c junk2.c > Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
18629 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
18630 chmod 444 Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
18631 mv -f Makefile.new Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
18632 )
Dave Love <fx@gnu.org>
parents:
diff changeset
18633
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18634 if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18635 echo creating src/.gdbinit
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18636 echo source $srcdir/src/.gdbinit > src/.gdbinit
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18637 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
18638
Dave Love <fx@gnu.org>
parents:
diff changeset
18639 # This is how we know whether to re-run configure in certain cases.
Dave Love <fx@gnu.org>
parents:
diff changeset
18640 touch src/config.stamp
Dave Love <fx@gnu.org>
parents:
diff changeset
18641
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18642 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18643 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18644 done
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18645 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18646
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18647 cat >>$CONFIG_STATUS <<\_ACEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18648
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18649 { (exit 0); exit 0; }
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18650 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
18651 chmod +x $CONFIG_STATUS
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18652 ac_clean_files=$ac_clean_files_save
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18653
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18654
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18655 # configure is writing to config.log, and then calls config.status.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18656 # config.status does its own redirection, appending to config.log.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18657 # Unfortunately, on DOS this fails, as config.log is still kept open
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18658 # by configure, so config.status won't be able to write to it; its
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18659 # output is simply discarded. So we exec the FD to /dev/null,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18660 # effectively closing config.log, so it can be properly (re)opened and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18661 # appended to by config.status. When coming back to configure, we
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18662 # need to make the FD available again.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18663 if test "$no_create" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18664 ac_cs_success=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18665 exec 5>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18666 $SHELL $CONFIG_STATUS || ac_cs_success=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18667 exec 5>>config.log
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18668 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18669 # would make configure fail if this is the last instruction.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18670 $ac_cs_success || { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18671 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
18672
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
18673