0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.61.
|
|
2 |
# Generated by GNU Autoconf 2.65.
|
|
3 |
#
|
3 | 4 |
#
|
4 | 5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
5 | |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
6 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
7 |
# Inc.
|
|
8 |
#
|
|
9 |
#
|
6 | 10 |
# This configure script is free software; the Free Software Foundation
|
7 | 11 |
# gives unlimited permission to copy, distribute and modify it.
|
8 | |
## --------------------- ##
|
9 | |
## M4sh Initialization. ##
|
10 | |
## --------------------- ##
|
|
12 |
## -------------------- ##
|
|
13 |
## M4sh Initialization. ##
|
|
14 |
## -------------------- ##
|
11 | 15 |
|
12 | 16 |
# Be more Bourne compatible
|
13 | 17 |
DUALCASE=1; export DUALCASE # for MKS sh
|
14 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
18 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
15 | 19 |
emulate sh
|
16 | 20 |
NULLCMD=:
|
17 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
21 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
18 | 22 |
# is contrary to our usage. Disable this feature.
|
19 | 23 |
alias -g '${1+"$@"}'='"$@"'
|
20 | 24 |
setopt NO_GLOB_SUBST
|
21 | 25 |
else
|
22 | |
case `(set -o) 2>/dev/null` in
|
23 | |
*posix*) set -o posix ;;
|
|
26 |
case `(set -o) 2>/dev/null` in #(
|
|
27 |
*posix*) :
|
|
28 |
set -o posix ;; #(
|
|
29 |
*) :
|
|
30 |
;;
|
24 | 31 |
esac
|
25 | |
|
26 | |
fi
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
# PATH needs CR
|
32 | |
# Avoid depending upon Character Ranges.
|
33 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
34 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
35 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
36 | |
as_cr_digits='0123456789'
|
37 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
32 |
fi
|
|
33 |
|
|
34 |
|
|
35 |
as_nl='
|
|
36 |
'
|
|
37 |
export as_nl
|
|
38 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
39 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
40 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
42 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
43 |
# but without wasting forks for bash or zsh.
|
|
44 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
45 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
46 |
as_echo='print -r --'
|
|
47 |
as_echo_n='print -rn --'
|
|
48 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
49 |
as_echo='printf %s\n'
|
|
50 |
as_echo_n='printf %s'
|
|
51 |
else
|
|
52 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
53 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
54 |
as_echo_n='/usr/ucb/echo -n'
|
|
55 |
else
|
|
56 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
57 |
as_echo_n_body='eval
|
|
58 |
arg=$1;
|
|
59 |
case $arg in #(
|
|
60 |
*"$as_nl"*)
|
|
61 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
62 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
63 |
esac;
|
|
64 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
65 |
'
|
|
66 |
export as_echo_n_body
|
|
67 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
68 |
fi
|
|
69 |
export as_echo_body
|
|
70 |
as_echo='sh -c $as_echo_body as_echo'
|
|
71 |
fi
|
38 | 72 |
|
39 | 73 |
# The user is always right.
|
40 | 74 |
if test "${PATH_SEPARATOR+set}" != set; then
|
41 | |
echo "#! /bin/sh" >conf$$.sh
|
42 | |
echo "exit 0" >>conf$$.sh
|
43 | |
chmod +x conf$$.sh
|
44 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
45 | |
PATH_SEPARATOR=';'
|
46 | |
else
|
47 | |
PATH_SEPARATOR=:
|
48 | |
fi
|
49 | |
rm -f conf$$.sh
|
50 | |
fi
|
51 | |
|
52 | |
# Support unset when possible.
|
53 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
54 | |
as_unset=unset
|
55 | |
else
|
56 | |
as_unset=false
|
|
75 |
PATH_SEPARATOR=:
|
|
76 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
77 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
78 |
PATH_SEPARATOR=';'
|
|
79 |
}
|
57 | 80 |
fi
|
58 | 81 |
|
59 | 82 |
|
|
62 | 85 |
# there to prevent editors from complaining about space-tab.
|
63 | 86 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
64 | 87 |
# splitting by setting IFS to empty value.)
|
65 | |
as_nl='
|
66 | |
'
|
67 | 88 |
IFS=" "" $as_nl"
|
68 | 89 |
|
69 | 90 |
# Find who we are. Look in the path if we contain no directory separator.
|
70 | |
case $0 in
|
|
91 |
case $0 in #((
|
71 | 92 |
*[\\/]* ) as_myself=$0 ;;
|
72 | 93 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
73 | 94 |
for as_dir in $PATH
|
74 | 95 |
do
|
75 | 96 |
IFS=$as_save_IFS
|
76 | 97 |
test -z "$as_dir" && as_dir=.
|
77 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
78 | |
done
|
|
98 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
99 |
done
|
79 | 100 |
IFS=$as_save_IFS
|
80 | 101 |
|
81 | 102 |
;;
|
|
86 | 107 |
as_myself=$0
|
87 | 108 |
fi
|
88 | 109 |
if test ! -f "$as_myself"; then
|
89 | |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
90 | |
{ (exit 1); exit 1; }
|
91 | |
fi
|
92 | |
|
93 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
94 | |
for as_var in ENV MAIL MAILPATH
|
95 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
110 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
111 |
exit 1
|
|
112 |
fi
|
|
113 |
|
|
114 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
115 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
116 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
117 |
# trigger a bug in pdksh 5.2.14.
|
|
118 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
119 |
do eval test x\${$as_var+set} = xset \
|
|
120 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
96 | 121 |
done
|
97 | 122 |
PS1='$ '
|
98 | 123 |
PS2='> '
|
99 | 124 |
PS4='+ '
|
100 | 125 |
|
101 | 126 |
# NLS nuisances.
|
102 | |
for as_var in \
|
103 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
104 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
105 | |
LC_TELEPHONE LC_TIME
|
|
127 |
LC_ALL=C
|
|
128 |
export LC_ALL
|
|
129 |
LANGUAGE=C
|
|
130 |
export LANGUAGE
|
|
131 |
|
|
132 |
# CDPATH.
|
|
133 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
134 |
|
|
135 |
if test "x$CONFIG_SHELL" = x; then
|
|
136 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
137 |
emulate sh
|
|
138 |
NULLCMD=:
|
|
139 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
140 |
# is contrary to our usage. Disable this feature.
|
|
141 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
142 |
setopt NO_GLOB_SUBST
|
|
143 |
else
|
|
144 |
case \`(set -o) 2>/dev/null\` in #(
|
|
145 |
*posix*) :
|
|
146 |
set -o posix ;; #(
|
|
147 |
*) :
|
|
148 |
;;
|
|
149 |
esac
|
|
150 |
fi
|
|
151 |
"
|
|
152 |
as_required="as_fn_return () { (exit \$1); }
|
|
153 |
as_fn_success () { as_fn_return 0; }
|
|
154 |
as_fn_failure () { as_fn_return 1; }
|
|
155 |
as_fn_ret_success () { return 0; }
|
|
156 |
as_fn_ret_failure () { return 1; }
|
|
157 |
|
|
158 |
exitcode=0
|
|
159 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
160 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
161 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
162 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
163 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
164 |
|
|
165 |
else
|
|
166 |
exitcode=1; echo positional parameters were not saved.
|
|
167 |
fi
|
|
168 |
test x\$exitcode = x0 || exit 1"
|
|
169 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
170 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
171 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
172 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
173 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
174 |
if (eval "$as_required") 2>/dev/null; then :
|
|
175 |
as_have_required=yes
|
|
176 |
else
|
|
177 |
as_have_required=no
|
|
178 |
fi
|
|
179 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
180 |
|
|
181 |
else
|
|
182 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
183 |
as_found=false
|
|
184 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
106 | 185 |
do
|
107 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
108 | |
eval $as_var=C; export $as_var
|
|
186 |
IFS=$as_save_IFS
|
|
187 |
test -z "$as_dir" && as_dir=.
|
|
188 |
as_found=:
|
|
189 |
case $as_dir in #(
|
|
190 |
/*)
|
|
191 |
for as_base in sh bash ksh sh5; do
|
|
192 |
# Try only shells that exist, to save several forks.
|
|
193 |
as_shell=$as_dir/$as_base
|
|
194 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
195 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
196 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
197 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
198 |
break 2
|
|
199 |
fi
|
|
200 |
fi
|
|
201 |
done;;
|
|
202 |
esac
|
|
203 |
as_found=false
|
|
204 |
done
|
|
205 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
206 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
207 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
208 |
fi; }
|
|
209 |
IFS=$as_save_IFS
|
|
210 |
|
|
211 |
|
|
212 |
if test "x$CONFIG_SHELL" != x; then :
|
|
213 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
214 |
# neutralization value for shells without unset; and this also
|
|
215 |
# works around shells that cannot unset nonexistent variables.
|
|
216 |
BASH_ENV=/dev/null
|
|
217 |
ENV=/dev/null
|
|
218 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
219 |
export CONFIG_SHELL
|
|
220 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
221 |
fi
|
|
222 |
|
|
223 |
if test x$as_have_required = xno; then :
|
|
224 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
225 |
$as_echo "$0: the shells that I found on your system."
|
|
226 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
227 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
228 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
109 | 229 |
else
|
110 | |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
111 | |
fi
|
112 | |
done
|
113 | |
|
114 | |
# Required to use basename.
|
|
230 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
|
231 |
$0: including any error possibly output before this
|
|
232 |
$0: message. Then install a modern shell, or manually run
|
|
233 |
$0: the script under such a shell if you do have one."
|
|
234 |
fi
|
|
235 |
exit 1
|
|
236 |
fi
|
|
237 |
fi
|
|
238 |
fi
|
|
239 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
240 |
export SHELL
|
|
241 |
# Unset more variables known to interfere with behavior of common tools.
|
|
242 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
243 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
244 |
|
|
245 |
## --------------------- ##
|
|
246 |
## M4sh Shell Functions. ##
|
|
247 |
## --------------------- ##
|
|
248 |
# as_fn_unset VAR
|
|
249 |
# ---------------
|
|
250 |
# Portably unset VAR.
|
|
251 |
as_fn_unset ()
|
|
252 |
{
|
|
253 |
{ eval $1=; unset $1;}
|
|
254 |
}
|
|
255 |
as_unset=as_fn_unset
|
|
256 |
|
|
257 |
# as_fn_set_status STATUS
|
|
258 |
# -----------------------
|
|
259 |
# Set $? to STATUS, without forking.
|
|
260 |
as_fn_set_status ()
|
|
261 |
{
|
|
262 |
return $1
|
|
263 |
} # as_fn_set_status
|
|
264 |
|
|
265 |
# as_fn_exit STATUS
|
|
266 |
# -----------------
|
|
267 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
268 |
as_fn_exit ()
|
|
269 |
{
|
|
270 |
set +e
|
|
271 |
as_fn_set_status $1
|
|
272 |
exit $1
|
|
273 |
} # as_fn_exit
|
|
274 |
|
|
275 |
# as_fn_mkdir_p
|
|
276 |
# -------------
|
|
277 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
278 |
as_fn_mkdir_p ()
|
|
279 |
{
|
|
280 |
|
|
281 |
case $as_dir in #(
|
|
282 |
-*) as_dir=./$as_dir;;
|
|
283 |
esac
|
|
284 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
285 |
as_dirs=
|
|
286 |
while :; do
|
|
287 |
case $as_dir in #(
|
|
288 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
289 |
*) as_qdir=$as_dir;;
|
|
290 |
esac
|
|
291 |
as_dirs="'$as_qdir' $as_dirs"
|
|
292 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
293 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
294 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
295 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
296 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
297 |
$as_echo X"$as_dir" |
|
|
298 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
299 |
s//\1/
|
|
300 |
q
|
|
301 |
}
|
|
302 |
/^X\(\/\/\)[^/].*/{
|
|
303 |
s//\1/
|
|
304 |
q
|
|
305 |
}
|
|
306 |
/^X\(\/\/\)$/{
|
|
307 |
s//\1/
|
|
308 |
q
|
|
309 |
}
|
|
310 |
/^X\(\/\).*/{
|
|
311 |
s//\1/
|
|
312 |
q
|
|
313 |
}
|
|
314 |
s/.*/./; q'`
|
|
315 |
test -d "$as_dir" && break
|
|
316 |
done
|
|
317 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
318 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
319 |
|
|
320 |
|
|
321 |
} # as_fn_mkdir_p
|
|
322 |
# as_fn_append VAR VALUE
|
|
323 |
# ----------------------
|
|
324 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
325 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
326 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
327 |
# implementations.
|
|
328 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
329 |
eval 'as_fn_append ()
|
|
330 |
{
|
|
331 |
eval $1+=\$2
|
|
332 |
}'
|
|
333 |
else
|
|
334 |
as_fn_append ()
|
|
335 |
{
|
|
336 |
eval $1=\$$1\$2
|
|
337 |
}
|
|
338 |
fi # as_fn_append
|
|
339 |
|
|
340 |
# as_fn_arith ARG...
|
|
341 |
# ------------------
|
|
342 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
343 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
344 |
# must be portable across $(()) and expr.
|
|
345 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
346 |
eval 'as_fn_arith ()
|
|
347 |
{
|
|
348 |
as_val=$(( $* ))
|
|
349 |
}'
|
|
350 |
else
|
|
351 |
as_fn_arith ()
|
|
352 |
{
|
|
353 |
as_val=`expr "$@" || test $? -eq 1`
|
|
354 |
}
|
|
355 |
fi # as_fn_arith
|
|
356 |
|
|
357 |
|
|
358 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
359 |
# ---------------------------------
|
|
360 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
361 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
362 |
# script with status $?, using 1 if that was 0.
|
|
363 |
as_fn_error ()
|
|
364 |
{
|
|
365 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
366 |
if test "$3"; then
|
|
367 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
368 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
369 |
fi
|
|
370 |
$as_echo "$as_me: error: $1" >&2
|
|
371 |
as_fn_exit $as_status
|
|
372 |
} # as_fn_error
|
|
373 |
|
115 | 374 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
116 | 375 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
117 | 376 |
as_expr=expr
|
|
125 | 384 |
as_basename=false
|
126 | 385 |
fi
|
127 | 386 |
|
128 | |
|
129 | |
# Name of the executable.
|
|
387 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
388 |
as_dirname=dirname
|
|
389 |
else
|
|
390 |
as_dirname=false
|
|
391 |
fi
|
|
392 |
|
130 | 393 |
as_me=`$as_basename -- "$0" ||
|
131 | 394 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
132 | 395 |
X"$0" : 'X\(//\)$' \| \
|
133 | 396 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
134 | |
echo X/"$0" |
|
|
397 |
$as_echo X/"$0" |
|
135 | 398 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
136 | 399 |
s//\1/
|
137 | 400 |
q
|
|
146 | 409 |
}
|
147 | 410 |
s/.*/./; q'`
|
148 | 411 |
|
149 | |
# CDPATH.
|
150 | |
$as_unset CDPATH
|
151 | |
|
152 | |
|
153 | |
if test "x$CONFIG_SHELL" = x; then
|
154 | |
if (eval ":") 2>/dev/null; then
|
155 | |
as_have_required=yes
|
156 | |
else
|
157 | |
as_have_required=no
|
158 | |
fi
|
159 | |
|
160 | |
if test $as_have_required = yes && (eval ":
|
161 | |
(as_func_return () {
|
162 | |
(exit \$1)
|
163 | |
}
|
164 | |
as_func_success () {
|
165 | |
as_func_return 0
|
166 | |
}
|
167 | |
as_func_failure () {
|
168 | |
as_func_return 1
|
169 | |
}
|
170 | |
as_func_ret_success () {
|
171 | |
return 0
|
172 | |
}
|
173 | |
as_func_ret_failure () {
|
174 | |
return 1
|
175 | |
}
|
176 | |
|
177 | |
exitcode=0
|
178 | |
if as_func_success; then
|
179 | |
:
|
180 | |
else
|
181 | |
exitcode=1
|
182 | |
echo as_func_success failed.
|
183 | |
fi
|
184 | |
|
185 | |
if as_func_failure; then
|
186 | |
exitcode=1
|
187 | |
echo as_func_failure succeeded.
|
188 | |
fi
|
189 | |
|
190 | |
if as_func_ret_success; then
|
191 | |
:
|
192 | |
else
|
193 | |
exitcode=1
|
194 | |
echo as_func_ret_success failed.
|
195 | |
fi
|
196 | |
|
197 | |
if as_func_ret_failure; then
|
198 | |
exitcode=1
|
199 | |
echo as_func_ret_failure succeeded.
|
200 | |
fi
|
201 | |
|
202 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
203 | |
:
|
204 | |
else
|
205 | |
exitcode=1
|
206 | |
echo positional parameters were not saved.
|
207 | |
fi
|
208 | |
|
209 | |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
210 | |
|
211 | |
(
|
212 | |
as_lineno_1=\$LINENO
|
213 | |
as_lineno_2=\$LINENO
|
214 | |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
215 | |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
216 | |
") 2> /dev/null; then
|
217 | |
:
|
218 | |
else
|
219 | |
as_candidate_shells=
|
220 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
221 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
222 | |
do
|
223 | |
IFS=$as_save_IFS
|
224 | |
test -z "$as_dir" && as_dir=.
|
225 | |
case $as_dir in
|
226 | |
/*)
|
227 | |
for as_base in sh bash ksh sh5; do
|
228 | |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
229 | |
done;;
|
230 | |
esac
|
231 | |
done
|
232 | |
IFS=$as_save_IFS
|
233 | |
|
234 | |
|
235 | |
for as_shell in $as_candidate_shells $SHELL; do
|
236 | |
# Try only shells that exist, to save several forks.
|
237 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
238 | |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
239 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
240 | |
emulate sh
|
241 | |
NULLCMD=:
|
242 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
243 | |
# is contrary to our usage. Disable this feature.
|
244 | |
alias -g '${1+"$@"}'='"$@"'
|
245 | |
setopt NO_GLOB_SUBST
|
246 | |
else
|
247 | |
case `(set -o) 2>/dev/null` in
|
248 | |
*posix*) set -o posix ;;
|
249 | |
esac
|
250 | |
|
251 | |
fi
|
252 | |
|
253 | |
|
254 | |
:
|
255 | |
_ASEOF
|
256 | |
}; then
|
257 | |
CONFIG_SHELL=$as_shell
|
258 | |
as_have_required=yes
|
259 | |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
260 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
261 | |
emulate sh
|
262 | |
NULLCMD=:
|
263 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
264 | |
# is contrary to our usage. Disable this feature.
|
265 | |
alias -g '${1+"$@"}'='"$@"'
|
266 | |
setopt NO_GLOB_SUBST
|
267 | |
else
|
268 | |
case `(set -o) 2>/dev/null` in
|
269 | |
*posix*) set -o posix ;;
|
270 | |
esac
|
271 | |
|
272 | |
fi
|
273 | |
|
274 | |
|
275 | |
:
|
276 | |
(as_func_return () {
|
277 | |
(exit $1)
|
278 | |
}
|
279 | |
as_func_success () {
|
280 | |
as_func_return 0
|
281 | |
}
|
282 | |
as_func_failure () {
|
283 | |
as_func_return 1
|
284 | |
}
|
285 | |
as_func_ret_success () {
|
286 | |
return 0
|
287 | |
}
|
288 | |
as_func_ret_failure () {
|
289 | |
return 1
|
290 | |
}
|
291 | |
|
292 | |
exitcode=0
|
293 | |
if as_func_success; then
|
294 | |
:
|
295 | |
else
|
296 | |
exitcode=1
|
297 | |
echo as_func_success failed.
|
298 | |
fi
|
299 | |
|
300 | |
if as_func_failure; then
|
301 | |
exitcode=1
|
302 | |
echo as_func_failure succeeded.
|
303 | |
fi
|
304 | |
|
305 | |
if as_func_ret_success; then
|
306 | |
:
|
307 | |
else
|
308 | |
exitcode=1
|
309 | |
echo as_func_ret_success failed.
|
310 | |
fi
|
311 | |
|
312 | |
if as_func_ret_failure; then
|
313 | |
exitcode=1
|
314 | |
echo as_func_ret_failure succeeded.
|
315 | |
fi
|
316 | |
|
317 | |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
318 | |
:
|
319 | |
else
|
320 | |
exitcode=1
|
321 | |
echo positional parameters were not saved.
|
322 | |
fi
|
323 | |
|
324 | |
test $exitcode = 0) || { (exit 1); exit 1; }
|
325 | |
|
326 | |
(
|
327 | |
as_lineno_1=$LINENO
|
328 | |
as_lineno_2=$LINENO
|
329 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
330 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
331 | |
|
332 | |
_ASEOF
|
333 | |
}; then
|
334 | |
break
|
335 | |
fi
|
336 | |
|
337 | |
fi
|
338 | |
|
339 | |
done
|
340 | |
|
341 | |
if test "x$CONFIG_SHELL" != x; then
|
342 | |
for as_var in BASH_ENV ENV
|
343 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
344 | |
done
|
345 | |
export CONFIG_SHELL
|
346 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
347 | |
fi
|
348 | |
|
349 | |
|
350 | |
if test $as_have_required = no; then
|
351 | |
echo This script requires a shell more modern than all the
|
352 | |
echo shells that I found on your system. Please install a
|
353 | |
echo modern shell, or manually run the script under such a
|
354 | |
echo shell if you do have one.
|
355 | |
{ (exit 1); exit 1; }
|
356 | |
fi
|
357 | |
|
358 | |
|
359 | |
fi
|
360 | |
|
361 | |
fi
|
362 | |
|
363 | |
|
364 | |
|
365 | |
(eval "as_func_return () {
|
366 | |
(exit \$1)
|
367 | |
}
|
368 | |
as_func_success () {
|
369 | |
as_func_return 0
|
370 | |
}
|
371 | |
as_func_failure () {
|
372 | |
as_func_return 1
|
373 | |
}
|
374 | |
as_func_ret_success () {
|
375 | |
return 0
|
376 | |
}
|
377 | |
as_func_ret_failure () {
|
378 | |
return 1
|
379 | |
}
|
380 | |
|
381 | |
exitcode=0
|
382 | |
if as_func_success; then
|
383 | |
:
|
384 | |
else
|
385 | |
exitcode=1
|
386 | |
echo as_func_success failed.
|
387 | |
fi
|
388 | |
|
389 | |
if as_func_failure; then
|
390 | |
exitcode=1
|
391 | |
echo as_func_failure succeeded.
|
392 | |
fi
|
393 | |
|
394 | |
if as_func_ret_success; then
|
395 | |
:
|
396 | |
else
|
397 | |
exitcode=1
|
398 | |
echo as_func_ret_success failed.
|
399 | |
fi
|
400 | |
|
401 | |
if as_func_ret_failure; then
|
402 | |
exitcode=1
|
403 | |
echo as_func_ret_failure succeeded.
|
404 | |
fi
|
405 | |
|
406 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
407 | |
:
|
408 | |
else
|
409 | |
exitcode=1
|
410 | |
echo positional parameters were not saved.
|
411 | |
fi
|
412 | |
|
413 | |
test \$exitcode = 0") || {
|
414 | |
echo No shell found that supports shell functions.
|
415 | |
echo Please tell autoconf@gnu.org about your system,
|
416 | |
echo including any error possibly output before this
|
417 | |
echo message
|
418 | |
}
|
419 | |
|
420 | |
|
421 | |
|
422 | |
as_lineno_1=$LINENO
|
423 | |
as_lineno_2=$LINENO
|
424 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
425 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
426 | |
|
427 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
428 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
429 | |
# line-number line after each line using $LINENO; the second 'sed'
|
430 | |
# does the real work. The second script uses 'N' to pair each
|
431 | |
# line-number line with the line containing $LINENO, and appends
|
432 | |
# trailing '-' during substitution so that $LINENO is not a special
|
433 | |
# case at line end.
|
434 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
435 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
436 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
412 |
# Avoid depending upon Character Ranges.
|
|
413 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
414 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
415 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
416 |
as_cr_digits='0123456789'
|
|
417 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
418 |
|
|
419 |
|
|
420 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
421 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
422 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
423 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
424 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
437 | 425 |
sed -n '
|
438 | 426 |
p
|
439 | 427 |
/[$]LINENO/=
|
|
450 | 438 |
s/-\n.*//
|
451 | 439 |
' >$as_me.lineno &&
|
452 | 440 |
chmod +x "$as_me.lineno" ||
|
453 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
454 | |
{ (exit 1); exit 1; }; }
|
|
441 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
455 | 442 |
|
456 | 443 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
457 | 444 |
# (the dirname of $[0] is not the place where we might find the
|
|
461 | 448 |
exit
|
462 | 449 |
}
|
463 | 450 |
|
464 | |
|
465 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
466 | |
as_dirname=dirname
|
467 | |
else
|
468 | |
as_dirname=false
|
469 | |
fi
|
470 | |
|
471 | 451 |
ECHO_C= ECHO_N= ECHO_T=
|
472 | |
case `echo -n x` in
|
|
452 |
case `echo -n x` in #(((((
|
473 | 453 |
-n*)
|
474 | |
case `echo 'x\c'` in
|
|
454 |
case `echo 'xy\c'` in
|
475 | 455 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
476 | |
*) ECHO_C='\c';;
|
|
456 |
xy) ECHO_C='\c';;
|
|
457 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
458 |
ECHO_T=' ';;
|
477 | 459 |
esac;;
|
478 | 460 |
*)
|
479 | 461 |
ECHO_N='-n';;
|
480 | 462 |
esac
|
481 | 463 |
|
482 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
483 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
484 | |
as_expr=expr
|
485 | |
else
|
486 | |
as_expr=false
|
487 | |
fi
|
488 | |
|
489 | 464 |
rm -f conf$$ conf$$.exe conf$$.file
|
490 | 465 |
if test -d conf$$.dir; then
|
491 | 466 |
rm -f conf$$.dir/conf$$.file
|
492 | 467 |
else
|
493 | 468 |
rm -f conf$$.dir
|
494 | |
mkdir conf$$.dir
|
495 | |
fi
|
496 | |
echo >conf$$.file
|
497 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
498 | |
as_ln_s='ln -s'
|
499 | |
# ... but there are two gotchas:
|
500 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
501 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
502 | |
# In both cases, we have to default to `cp -p'.
|
503 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
469 |
mkdir conf$$.dir 2>/dev/null
|
|
470 |
fi
|
|
471 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
472 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
473 |
as_ln_s='ln -s'
|
|
474 |
# ... but there are two gotchas:
|
|
475 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
476 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
477 |
# In both cases, we have to default to `cp -p'.
|
|
478 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
479 |
as_ln_s='cp -p'
|
|
480 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
481 |
as_ln_s=ln
|
|
482 |
else
|
504 | 483 |
as_ln_s='cp -p'
|
505 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
506 | |
as_ln_s=ln
|
|
484 |
fi
|
507 | 485 |
else
|
508 | 486 |
as_ln_s='cp -p'
|
509 | 487 |
fi
|
|
511 | 489 |
rmdir conf$$.dir 2>/dev/null
|
512 | 490 |
|
513 | 491 |
if mkdir -p . 2>/dev/null; then
|
514 | |
as_mkdir_p=:
|
|
492 |
as_mkdir_p='mkdir -p "$as_dir"'
|
515 | 493 |
else
|
516 | 494 |
test -d ./-p && rmdir ./-p
|
517 | 495 |
as_mkdir_p=false
|
|
528 | 506 |
as_test_x='
|
529 | 507 |
eval sh -c '\''
|
530 | 508 |
if test -d "$1"; then
|
531 | |
test -d "$1/.";
|
|
509 |
test -d "$1/.";
|
532 | 510 |
else
|
533 | |
case $1 in
|
534 | |
-*)set "./$1";;
|
|
511 |
case $1 in #(
|
|
512 |
-*)set "./$1";;
|
535 | 513 |
esac;
|
536 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
514 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
537 | 515 |
???[sx]*):;;*)false;;esac;fi
|
538 | 516 |
'\'' sh
|
539 | 517 |
'
|
|
547 | 525 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
548 | 526 |
|
549 | 527 |
|
550 | |
|
551 | |
exec 7<&0 </dev/null 6>&1
|
|
528 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
529 |
exec 6>&1
|
552 | 530 |
|
553 | 531 |
# Name of the host.
|
554 | 532 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
566 | 544 |
subdirs=
|
567 | 545 |
MFLAGS=
|
568 | 546 |
MAKEFLAGS=
|
569 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
570 | 547 |
|
571 | 548 |
# Identity of this package.
|
572 | 549 |
PACKAGE_NAME=
|
|
574 | 551 |
PACKAGE_VERSION=
|
575 | 552 |
PACKAGE_STRING=
|
576 | 553 |
PACKAGE_BUGREPORT=
|
|
554 |
PACKAGE_URL=
|
577 | 555 |
|
578 | 556 |
ac_unique_file="Makefile.am"
|
579 | 557 |
# Factoring default headers for most tests.
|
|
612 | 590 |
# include <unistd.h>
|
613 | 591 |
#endif"
|
614 | 592 |
|
615 | |
ac_subst_vars='SHELL
|
|
593 |
ac_header_list=
|
|
594 |
ac_subst_vars='LTLIBOBJS
|
|
595 |
LIBOBJS
|
|
596 |
appname
|
|
597 |
win32_inst_script
|
|
598 |
arch_flag
|
|
599 |
win32_deps
|
|
600 |
locdir_flag
|
|
601 |
hi_dir
|
|
602 |
inst_dir
|
|
603 |
hi_inst_flag
|
|
604 |
inst_flag
|
|
605 |
netdebug_flag
|
|
606 |
sdlnet_lib_flag
|
|
607 |
sdlnet_flag
|
|
608 |
network_flag
|
|
609 |
doc_dir
|
|
610 |
mixer_flag
|
|
611 |
audio_flag
|
|
612 |
warp_flag
|
|
613 |
SDL_LIBS
|
|
614 |
SDL_CFLAGS
|
|
615 |
SDL_CONFIG
|
|
616 |
POSUB
|
|
617 |
LTLIBINTL
|
|
618 |
LIBINTL
|
|
619 |
INTLLIBS
|
|
620 |
INTL_LIBTOOL_SUFFIX_PREFIX
|
|
621 |
INTLOBJS
|
|
622 |
GENCAT
|
|
623 |
INSTOBJEXT
|
|
624 |
DATADIRNAME
|
|
625 |
CATOBJEXT
|
|
626 |
USE_INCLUDED_LIBINTL
|
|
627 |
BUILD_INCLUDED_LIBINTL
|
|
628 |
INTLBISON
|
|
629 |
LTLIBICONV
|
|
630 |
LIBICONV
|
|
631 |
HAVE_WPRINTF
|
|
632 |
HAVE_SNPRINTF
|
|
633 |
HAVE_ASPRINTF
|
|
634 |
HAVE_POSIX_PRINTF
|
|
635 |
GLIBC21
|
|
636 |
ALLOCA
|
|
637 |
RANLIB
|
|
638 |
MSGMERGE
|
|
639 |
XGETTEXT
|
|
640 |
GMSGFMT
|
|
641 |
MSGFMT
|
|
642 |
USE_NLS
|
|
643 |
MKINSTALLDIRS
|
|
644 |
am__fastdepCC_FALSE
|
|
645 |
am__fastdepCC_TRUE
|
|
646 |
CCDEPMODE
|
|
647 |
AMDEPBACKSLASH
|
|
648 |
AMDEP_FALSE
|
|
649 |
AMDEP_TRUE
|
|
650 |
am__quote
|
|
651 |
am__include
|
|
652 |
DEPDIR
|
|
653 |
am__untar
|
|
654 |
am__tar
|
|
655 |
AMTAR
|
|
656 |
am__leading_dot
|
|
657 |
SET_MAKE
|
|
658 |
AWK
|
|
659 |
mkdir_p
|
|
660 |
INSTALL_STRIP_PROGRAM
|
|
661 |
STRIP
|
|
662 |
install_sh
|
|
663 |
MAKEINFO
|
|
664 |
AUTOHEADER
|
|
665 |
AUTOMAKE
|
|
666 |
AUTOCONF
|
|
667 |
ACLOCAL
|
|
668 |
VERSION
|
|
669 |
PACKAGE
|
|
670 |
CYGPATH_W
|
|
671 |
INSTALL_DATA
|
|
672 |
INSTALL_SCRIPT
|
|
673 |
INSTALL_PROGRAM
|
|
674 |
EGREP
|
|
675 |
GREP
|
|
676 |
CPP
|
|
677 |
OBJEXT
|
|
678 |
EXEEXT
|
|
679 |
ac_ct_CC
|
|
680 |
CPPFLAGS
|
|
681 |
LDFLAGS
|
|
682 |
CFLAGS
|
|
683 |
CC
|
|
684 |
target_os
|
|
685 |
target_vendor
|
|
686 |
target_cpu
|
|
687 |
target
|
|
688 |
host_os
|
|
689 |
host_vendor
|
|
690 |
host_cpu
|
|
691 |
host
|
|
692 |
build_os
|
|
693 |
build_vendor
|
|
694 |
build_cpu
|
|
695 |
build
|
|
696 |
target_alias
|
|
697 |
host_alias
|
|
698 |
build_alias
|
|
699 |
LIBS
|
|
700 |
ECHO_T
|
|
701 |
ECHO_N
|
|
702 |
ECHO_C
|
|
703 |
DEFS
|
|
704 |
mandir
|
|
705 |
localedir
|
|
706 |
libdir
|
|
707 |
psdir
|
|
708 |
pdfdir
|
|
709 |
dvidir
|
|
710 |
htmldir
|
|
711 |
infodir
|
|
712 |
docdir
|
|
713 |
oldincludedir
|
|
714 |
includedir
|
|
715 |
localstatedir
|
|
716 |
sharedstatedir
|
|
717 |
sysconfdir
|
|
718 |
datadir
|
|
719 |
datarootdir
|
|
720 |
libexecdir
|
|
721 |
sbindir
|
|
722 |
bindir
|
|
723 |
program_transform_name
|
|
724 |
prefix
|
|
725 |
exec_prefix
|
|
726 |
PACKAGE_URL
|
|
727 |
PACKAGE_BUGREPORT
|
|
728 |
PACKAGE_STRING
|
|
729 |
PACKAGE_VERSION
|
|
730 |
PACKAGE_TARNAME
|
|
731 |
PACKAGE_NAME
|
616 | 732 |
PATH_SEPARATOR
|
617 | |
PACKAGE_NAME
|
618 | |
PACKAGE_TARNAME
|
619 | |
PACKAGE_VERSION
|
620 | |
PACKAGE_STRING
|
621 | |
PACKAGE_BUGREPORT
|
622 | |
exec_prefix
|
623 | |
prefix
|
624 | |
program_transform_name
|
625 | |
bindir
|
626 | |
sbindir
|
627 | |
libexecdir
|
628 | |
datarootdir
|
629 | |
datadir
|
630 | |
sysconfdir
|
631 | |
sharedstatedir
|
632 | |
localstatedir
|
633 | |
includedir
|
634 | |
oldincludedir
|
635 | |
docdir
|
636 | |
infodir
|
637 | |
htmldir
|
638 | |
dvidir
|
639 | |
pdfdir
|
640 | |
psdir
|
641 | |
libdir
|
642 | |
localedir
|
643 | |
mandir
|
644 | |
DEFS
|
645 | |
ECHO_C
|
646 | |
ECHO_N
|
647 | |
ECHO_T
|
648 | |
LIBS
|
649 | |
build_alias
|
650 | |
host_alias
|
651 | |
target_alias
|
652 | |
build
|
653 | |
build_cpu
|
654 | |
build_vendor
|
655 | |
build_os
|
656 | |
host
|
657 | |
host_cpu
|
658 | |
host_vendor
|
659 | |
host_os
|
660 | |
target
|
661 | |
target_cpu
|
662 | |
target_vendor
|
663 | |
target_os
|
664 | |
CC
|
665 | |
CFLAGS
|
666 | |
LDFLAGS
|
667 | |
CPPFLAGS
|
668 | |
ac_ct_CC
|
669 | |
EXEEXT
|
670 | |
OBJEXT
|
671 | |
CPP
|
672 | |
GREP
|
673 | |
EGREP
|
674 | |
INSTALL_PROGRAM
|
675 | |
INSTALL_SCRIPT
|
676 | |
INSTALL_DATA
|
677 | |
CYGPATH_W
|
678 | |
PACKAGE
|
679 | |
VERSION
|
680 | |
ACLOCAL
|
681 | |
AUTOCONF
|
682 | |
AUTOMAKE
|
683 | |
AUTOHEADER
|
684 | |
MAKEINFO
|
685 | |
install_sh
|
686 | |
STRIP
|
687 | |
INSTALL_STRIP_PROGRAM
|
688 | |
mkdir_p
|
689 | |
AWK
|
690 | |
SET_MAKE
|
691 | |
am__leading_dot
|
692 | |
AMTAR
|
693 | |
am__tar
|
694 | |
am__untar
|
695 | |
DEPDIR
|
696 | |
am__include
|
697 | |
am__quote
|
698 | |
AMDEP_TRUE
|
699 | |
AMDEP_FALSE
|
700 | |
AMDEPBACKSLASH
|
701 | |
CCDEPMODE
|
702 | |
am__fastdepCC_TRUE
|
703 | |
am__fastdepCC_FALSE
|
704 | |
MKINSTALLDIRS
|
705 | |
USE_NLS
|
706 | |
MSGFMT
|
707 | |
GMSGFMT
|
708 | |
XGETTEXT
|
709 | |
MSGMERGE
|
710 | |
RANLIB
|
711 | |
ALLOCA
|
712 | |
GLIBC21
|
713 | |
HAVE_POSIX_PRINTF
|
714 | |
HAVE_ASPRINTF
|
715 | |
HAVE_SNPRINTF
|
716 | |
HAVE_WPRINTF
|
717 | |
LIBICONV
|
718 | |
LTLIBICONV
|
719 | |
INTLBISON
|
720 | |
BUILD_INCLUDED_LIBINTL
|
721 | |
USE_INCLUDED_LIBINTL
|
722 | |
CATOBJEXT
|
723 | |
DATADIRNAME
|
724 | |
INSTOBJEXT
|
725 | |
GENCAT
|
726 | |
INTLOBJS
|
727 | |
INTL_LIBTOOL_SUFFIX_PREFIX
|
728 | |
INTLLIBS
|
729 | |
LIBINTL
|
730 | |
LTLIBINTL
|
731 | |
POSUB
|
732 | |
SDL_CONFIG
|
733 | |
SDL_CFLAGS
|
734 | |
SDL_LIBS
|
735 | |
warp_flag
|
736 | |
audio_flag
|
737 | |
mixer_flag
|
738 | |
doc_dir
|
739 | |
network_flag
|
740 | |
sdlnet_flag
|
741 | |
sdlnet_lib_flag
|
742 | |
netdebug_flag
|
743 | |
inst_flag
|
744 | |
hi_inst_flag
|
745 | |
inst_dir
|
746 | |
hi_dir
|
747 | |
locdir_flag
|
748 | |
win32_deps
|
749 | |
arch_flag
|
750 | |
win32_inst_script
|
751 | |
appname
|
752 | |
LIBOBJS
|
753 | |
LTLIBOBJS'
|
|
733 |
SHELL'
|
754 | 734 |
ac_subst_files=''
|
|
735 |
ac_user_opts='
|
|
736 |
enable_option_checking
|
|
737 |
enable_dependency_tracking
|
|
738 |
enable_nls
|
|
739 |
with_gnu_ld
|
|
740 |
enable_rpath
|
|
741 |
with_libiconv_prefix
|
|
742 |
with_included_gettext
|
|
743 |
with_libintl_prefix
|
|
744 |
with_sdl_prefix
|
|
745 |
with_sdl_exec_prefix
|
|
746 |
enable_sdltest
|
|
747 |
enable_warp
|
|
748 |
enable_audio
|
|
749 |
with_docdir
|
|
750 |
enable_network
|
|
751 |
enable_sdl_net
|
|
752 |
enable_netdebug
|
|
753 |
enable_install
|
|
754 |
'
|
755 | 755 |
ac_precious_vars='build_alias
|
756 | 756 |
host_alias
|
757 | 757 |
target_alias
|
|
766 | 766 |
# Initialize some variables set by options.
|
767 | 767 |
ac_init_help=
|
768 | 768 |
ac_init_version=false
|
|
769 |
ac_unrecognized_opts=
|
|
770 |
ac_unrecognized_sep=
|
769 | 771 |
# The variables have the same names as the options, with
|
770 | 772 |
# dashes changed to underlines.
|
771 | 773 |
cache_file=/dev/null
|
|
864 | 866 |
datarootdir=$ac_optarg ;;
|
865 | 867 |
|
866 | 868 |
-disable-* | --disable-*)
|
867 | |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
869 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
868 | 870 |
# Reject names that are not valid shell variable names.
|
869 | |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
870 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
871 | |
{ (exit 1); exit 1; }; }
|
872 | |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
873 | |
eval enable_$ac_feature=no ;;
|
|
871 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
872 |
as_fn_error "invalid feature name: $ac_useropt"
|
|
873 |
ac_useropt_orig=$ac_useropt
|
|
874 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
875 |
case $ac_user_opts in
|
|
876 |
*"
|
|
877 |
"enable_$ac_useropt"
|
|
878 |
"*) ;;
|
|
879 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
|
880 |
ac_unrecognized_sep=', ';;
|
|
881 |
esac
|
|
882 |
eval enable_$ac_useropt=no ;;
|
874 | 883 |
|
875 | 884 |
-docdir | --docdir | --docdi | --doc | --do)
|
876 | 885 |
ac_prev=docdir ;;
|
|
883 | 892 |
dvidir=$ac_optarg ;;
|
884 | 893 |
|
885 | 894 |
-enable-* | --enable-*)
|
886 | |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
895 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
887 | 896 |
# Reject names that are not valid shell variable names.
|
888 | |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
889 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
890 | |
{ (exit 1); exit 1; }; }
|
891 | |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
892 | |
eval enable_$ac_feature=\$ac_optarg ;;
|
|
897 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
898 |
as_fn_error "invalid feature name: $ac_useropt"
|
|
899 |
ac_useropt_orig=$ac_useropt
|
|
900 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
901 |
case $ac_user_opts in
|
|
902 |
*"
|
|
903 |
"enable_$ac_useropt"
|
|
904 |
"*) ;;
|
|
905 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
|
906 |
ac_unrecognized_sep=', ';;
|
|
907 |
esac
|
|
908 |
eval enable_$ac_useropt=\$ac_optarg ;;
|
893 | 909 |
|
894 | 910 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
895 | 911 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
1080 | 1096 |
ac_init_version=: ;;
|
1081 | 1097 |
|
1082 | 1098 |
-with-* | --with-*)
|
1083 | |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
1099 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1084 | 1100 |
# Reject names that are not valid shell variable names.
|
1085 | |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1086 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1087 | |
{ (exit 1); exit 1; }; }
|
1088 | |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1089 | |
eval with_$ac_package=\$ac_optarg ;;
|
|
1101 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1102 |
as_fn_error "invalid package name: $ac_useropt"
|
|
1103 |
ac_useropt_orig=$ac_useropt
|
|
1104 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1105 |
case $ac_user_opts in
|
|
1106 |
*"
|
|
1107 |
"with_$ac_useropt"
|
|
1108 |
"*) ;;
|
|
1109 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
|
1110 |
ac_unrecognized_sep=', ';;
|
|
1111 |
esac
|
|
1112 |
eval with_$ac_useropt=\$ac_optarg ;;
|
1090 | 1113 |
|
1091 | 1114 |
-without-* | --without-*)
|
1092 | |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
1115 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1093 | 1116 |
# Reject names that are not valid shell variable names.
|
1094 | |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1095 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1096 | |
{ (exit 1); exit 1; }; }
|
1097 | |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1098 | |
eval with_$ac_package=no ;;
|
|
1117 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1118 |
as_fn_error "invalid package name: $ac_useropt"
|
|
1119 |
ac_useropt_orig=$ac_useropt
|
|
1120 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1121 |
case $ac_user_opts in
|
|
1122 |
*"
|
|
1123 |
"with_$ac_useropt"
|
|
1124 |
"*) ;;
|
|
1125 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
|
1126 |
ac_unrecognized_sep=', ';;
|
|
1127 |
esac
|
|
1128 |
eval with_$ac_useropt=no ;;
|
1099 | 1129 |
|
1100 | 1130 |
--x)
|
1101 | 1131 |
# Obsolete; use --with-x.
|
|
1115 | 1145 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1116 | 1146 |
x_libraries=$ac_optarg ;;
|
1117 | 1147 |
|
1118 | |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
1119 | |
Try \`$0 --help' for more information." >&2
|
1120 | |
{ (exit 1); exit 1; }; }
|
|
1148 |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
|
1149 |
Try \`$0 --help' for more information."
|
1121 | 1150 |
;;
|
1122 | 1151 |
|
1123 | 1152 |
*=*)
|
1124 | 1153 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1125 | 1154 |
# Reject names that are not valid shell variable names.
|
1126 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1127 | |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1128 | |
{ (exit 1); exit 1; }; }
|
|
1155 |
case $ac_envvar in #(
|
|
1156 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1157 |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
|
1158 |
esac
|
1129 | 1159 |
eval $ac_envvar=\$ac_optarg
|
1130 | 1160 |
export $ac_envvar ;;
|
1131 | 1161 |
|
1132 | 1162 |
*)
|
1133 | 1163 |
# FIXME: should be removed in autoconf 3.0.
|
1134 | |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1164 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1135 | 1165 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1136 | |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1166 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1137 | 1167 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
1138 | 1168 |
;;
|
1139 | 1169 |
|
|
1142 | 1172 |
|
1143 | 1173 |
if test -n "$ac_prev"; then
|
1144 | 1174 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1145 | |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
1146 | |
{ (exit 1); exit 1; }; }
|
1147 | |
fi
|
1148 | |
|
1149 | |
# Be sure to have absolute directory names.
|
|
1175 |
as_fn_error "missing argument to $ac_option"
|
|
1176 |
fi
|
|
1177 |
|
|
1178 |
if test -n "$ac_unrecognized_opts"; then
|
|
1179 |
case $enable_option_checking in
|
|
1180 |
no) ;;
|
|
1181 |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
|
1182 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1183 |
esac
|
|
1184 |
fi
|
|
1185 |
|
|
1186 |
# Check all directory arguments for consistency.
|
1150 | 1187 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1151 | 1188 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1152 | 1189 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1153 | 1190 |
libdir localedir mandir
|
1154 | 1191 |
do
|
1155 | 1192 |
eval ac_val=\$$ac_var
|
|
1193 |
# Remove trailing slashes.
|
|
1194 |
case $ac_val in
|
|
1195 |
*/ )
|
|
1196 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
|
1197 |
eval $ac_var=\$ac_val;;
|
|
1198 |
esac
|
|
1199 |
# Be sure to have absolute directory names.
|
1156 | 1200 |
case $ac_val in
|
1157 | 1201 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1158 | 1202 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1159 | 1203 |
esac
|
1160 | |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1161 | |
{ (exit 1); exit 1; }; }
|
|
1204 |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1162 | 1205 |
done
|
1163 | 1206 |
|
1164 | 1207 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1172 | 1215 |
if test "x$host_alias" != x; then
|
1173 | 1216 |
if test "x$build_alias" = x; then
|
1174 | 1217 |
cross_compiling=maybe
|
1175 | |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|
1218 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1176 | 1219 |
If a cross compiler is detected then cross compile mode will be used." >&2
|
1177 | 1220 |
elif test "x$build_alias" != "x$host_alias"; then
|
1178 | 1221 |
cross_compiling=yes
|
|
1188 | 1231 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1189 | 1232 |
ac_ls_di=`ls -di .` &&
|
1190 | 1233 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1191 | |
{ echo "$as_me: error: Working directory cannot be determined" >&2
|
1192 | |
{ (exit 1); exit 1; }; }
|
|
1234 |
as_fn_error "working directory cannot be determined"
|
1193 | 1235 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1194 | |
{ echo "$as_me: error: pwd does not report name of working directory" >&2
|
1195 | |
{ (exit 1); exit 1; }; }
|
|
1236 |
as_fn_error "pwd does not report name of working directory"
|
1196 | 1237 |
|
1197 | 1238 |
|
1198 | 1239 |
# Find the source files, if location was not specified.
|
1199 | 1240 |
if test -z "$srcdir"; then
|
1200 | 1241 |
ac_srcdir_defaulted=yes
|
1201 | 1242 |
# Try the directory containing this script, then the parent directory.
|
1202 | |
ac_confdir=`$as_dirname -- "$0" ||
|
1203 | |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1204 | |
X"$0" : 'X\(//\)[^/]' \| \
|
1205 | |
X"$0" : 'X\(//\)$' \| \
|
1206 | |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
1207 | |
echo X"$0" |
|
|
1243 |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
|
1244 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
1245 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
|
1246 |
X"$as_myself" : 'X\(//\)$' \| \
|
|
1247 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1248 |
$as_echo X"$as_myself" |
|
1208 | 1249 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1209 | 1250 |
s//\1/
|
1210 | 1251 |
q
|
|
1231 | 1272 |
fi
|
1232 | 1273 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1233 | 1274 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1234 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1235 | |
{ (exit 1); exit 1; }; }
|
|
1275 |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1236 | 1276 |
fi
|
1237 | 1277 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1238 | 1278 |
ac_abs_confdir=`(
|
1239 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
1240 | |
{ (exit 1); exit 1; }; }
|
|
1279 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1241 | 1280 |
pwd)`
|
1242 | 1281 |
# When building in place, set srcdir=.
|
1243 | 1282 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1285 | 1324 |
|
1286 | 1325 |
Installation directories:
|
1287 | 1326 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1288 | |
[$ac_default_prefix]
|
|
1327 |
[$ac_default_prefix]
|
1289 | 1328 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1290 | |
[PREFIX]
|
|
1329 |
[PREFIX]
|
1291 | 1330 |
|
1292 | 1331 |
By default, \`make install' will install all the files in
|
1293 | 1332 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1297 | 1336 |
For better control, use the options below.
|
1298 | 1337 |
|
1299 | 1338 |
Fine tuning of the installation directories:
|
1300 | |
--bindir=DIR user executables [EPREFIX/bin]
|
1301 | |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1302 | |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1303 | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1304 | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1305 | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1306 | |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1307 | |
--includedir=DIR C header files [PREFIX/include]
|
1308 | |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1309 | |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1310 | |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1311 | |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1312 | |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1313 | |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1314 | |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
1315 | |
--htmldir=DIR html documentation [DOCDIR]
|
1316 | |
--dvidir=DIR dvi documentation [DOCDIR]
|
1317 | |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1318 | |
--psdir=DIR ps documentation [DOCDIR]
|
|
1339 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
1340 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1341 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1342 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1343 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1344 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1345 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1346 |
--includedir=DIR C header files [PREFIX/include]
|
|
1347 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1348 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1349 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1350 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1351 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1352 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1353 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
1354 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1355 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1356 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1357 |
--psdir=DIR ps documentation [DOCDIR]
|
1319 | 1358 |
_ACEOF
|
1320 | 1359 |
|
1321 | 1360 |
cat <<\_ACEOF
|
|
1337 | 1376 |
cat <<\_ACEOF
|
1338 | 1377 |
|
1339 | 1378 |
Optional Features:
|
|
1379 |
--disable-option-checking ignore unrecognized --enable/--with options
|
1340 | 1380 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1341 | 1381 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1342 | 1382 |
--disable-dependency-tracking speeds up one-time build
|
|
1370 | 1410 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1371 | 1411 |
nonstandard directory <lib dir>
|
1372 | 1412 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1373 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1413 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1374 | 1414 |
you have headers in a nonstandard directory <include dir>
|
1375 | 1415 |
CPP C preprocessor
|
1376 | 1416 |
|
1377 | 1417 |
Use these variables to override the choices made by `configure' or to help
|
1378 | 1418 |
it to find libraries and programs with nonstandard names/locations.
|
1379 | 1419 |
|
|
1420 |
Report bugs to the package provider.
|
1380 | 1421 |
_ACEOF
|
1381 | 1422 |
ac_status=$?
|
1382 | 1423 |
fi
|
|
1384 | 1425 |
if test "$ac_init_help" = "recursive"; then
|
1385 | 1426 |
# If there are subdirs, report their specific --help.
|
1386 | 1427 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1387 | |
test -d "$ac_dir" || continue
|
|
1428 |
test -d "$ac_dir" ||
|
|
1429 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
|
1430 |
continue
|
1388 | 1431 |
ac_builddir=.
|
1389 | 1432 |
|
1390 | 1433 |
case "$ac_dir" in
|
1391 | 1434 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1392 | 1435 |
*)
|
1393 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
1436 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1394 | 1437 |
# A ".." for each directory in $ac_dir_suffix.
|
1395 | |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
1438 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1396 | 1439 |
case $ac_top_builddir_sub in
|
1397 | 1440 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1398 | 1441 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1428 | 1471 |
echo &&
|
1429 | 1472 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1430 | 1473 |
else
|
1431 | |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1474 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1432 | 1475 |
fi || ac_status=$?
|
1433 | 1476 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1434 | 1477 |
done
|
|
1438 | 1481 |
if $ac_init_version; then
|
1439 | 1482 |
cat <<\_ACEOF
|
1440 | 1483 |
configure
|
1441 | |
generated by GNU Autoconf 2.61
|
1442 | |
|
1443 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1444 | |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
1484 |
generated by GNU Autoconf 2.65
|
|
1485 |
|
|
1486 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
1445 | 1487 |
This configure script is free software; the Free Software Foundation
|
1446 | 1488 |
gives unlimited permission to copy, distribute and modify it.
|
1447 | 1489 |
_ACEOF
|
1448 | 1490 |
exit
|
1449 | 1491 |
fi
|
|
1492 |
|
|
1493 |
## ------------------------ ##
|
|
1494 |
## Autoconf initialization. ##
|
|
1495 |
## ------------------------ ##
|
|
1496 |
|
|
1497 |
# ac_fn_c_try_compile LINENO
|
|
1498 |
# --------------------------
|
|
1499 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1500 |
ac_fn_c_try_compile ()
|
|
1501 |
{
|
|
1502 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1503 |
rm -f conftest.$ac_objext
|
|
1504 |
if { { ac_try="$ac_compile"
|
|
1505 |
case "(($ac_try" in
|
|
1506 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1507 |
*) ac_try_echo=$ac_try;;
|
|
1508 |
esac
|
|
1509 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1510 |
$as_echo "$ac_try_echo"; } >&5
|
|
1511 |
(eval "$ac_compile") 2>conftest.err
|
|
1512 |
ac_status=$?
|
|
1513 |
if test -s conftest.err; then
|
|
1514 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1515 |
cat conftest.er1 >&5
|
|
1516 |
mv -f conftest.er1 conftest.err
|
|
1517 |
fi
|
|
1518 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1519 |
test $ac_status = 0; } && {
|
|
1520 |
test -z "$ac_c_werror_flag" ||
|
|
1521 |
test ! -s conftest.err
|
|
1522 |
} && test -s conftest.$ac_objext; then :
|
|
1523 |
ac_retval=0
|
|
1524 |
else
|
|
1525 |
$as_echo "$as_me: failed program was:" >&5
|
|
1526 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1527 |
|
|
1528 |
ac_retval=1
|
|
1529 |
fi
|
|
1530 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1531 |
as_fn_set_status $ac_retval
|
|
1532 |
|
|
1533 |
} # ac_fn_c_try_compile
|
|
1534 |
|
|
1535 |
# ac_fn_c_try_cpp LINENO
|
|
1536 |
# ----------------------
|
|
1537 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1538 |
ac_fn_c_try_cpp ()
|
|
1539 |
{
|
|
1540 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1541 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1542 |
case "(($ac_try" in
|
|
1543 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1544 |
*) ac_try_echo=$ac_try;;
|
|
1545 |
esac
|
|
1546 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1547 |
$as_echo "$ac_try_echo"; } >&5
|
|
1548 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1549 |
ac_status=$?
|
|
1550 |
if test -s conftest.err; then
|
|
1551 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1552 |
cat conftest.er1 >&5
|
|
1553 |
mv -f conftest.er1 conftest.err
|
|
1554 |
fi
|
|
1555 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1556 |
test $ac_status = 0; } >/dev/null && {
|
|
1557 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1558 |
test ! -s conftest.err
|
|
1559 |
}; then :
|
|
1560 |
ac_retval=0
|
|
1561 |
else
|
|
1562 |
$as_echo "$as_me: failed program was:" >&5
|
|
1563 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1564 |
|
|
1565 |
ac_retval=1
|
|
1566 |
fi
|
|
1567 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1568 |
as_fn_set_status $ac_retval
|
|
1569 |
|
|
1570 |
} # ac_fn_c_try_cpp
|
|
1571 |
|
|
1572 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1573 |
# -------------------------------------------------------
|
|
1574 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1575 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1576 |
# accordingly.
|
|
1577 |
ac_fn_c_check_header_mongrel ()
|
|
1578 |
{
|
|
1579 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1580 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1582 |
$as_echo_n "checking for $2... " >&6; }
|
|
1583 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1584 |
$as_echo_n "(cached) " >&6
|
|
1585 |
fi
|
|
1586 |
eval ac_res=\$$3
|
|
1587 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1588 |
$as_echo "$ac_res" >&6; }
|
|
1589 |
else
|
|
1590 |
# Is the header compilable?
|
|
1591 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1592 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1593 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1594 |
/* end confdefs.h. */
|
|
1595 |
$4
|
|
1596 |
#include <$2>
|
|
1597 |
_ACEOF
|
|
1598 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1599 |
ac_header_compiler=yes
|
|
1600 |
else
|
|
1601 |
ac_header_compiler=no
|
|
1602 |
fi
|
|
1603 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1604 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1605 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1606 |
|
|
1607 |
# Is the header present?
|
|
1608 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1609 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1610 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1611 |
/* end confdefs.h. */
|
|
1612 |
#include <$2>
|
|
1613 |
_ACEOF
|
|
1614 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1615 |
ac_header_preproc=yes
|
|
1616 |
else
|
|
1617 |
ac_header_preproc=no
|
|
1618 |
fi
|
|
1619 |
rm -f conftest.err conftest.$ac_ext
|
|
1620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1621 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1622 |
|
|
1623 |
# So? What about this header?
|
|
1624 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1625 |
yes:no: )
|
|
1626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1627 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1629 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1630 |
;;
|
|
1631 |
no:yes:* )
|
|
1632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1633 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1635 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1637 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1638 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1639 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1640 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1641 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1642 |
;;
|
|
1643 |
esac
|
|
1644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1645 |
$as_echo_n "checking for $2... " >&6; }
|
|
1646 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1647 |
$as_echo_n "(cached) " >&6
|
|
1648 |
else
|
|
1649 |
eval "$3=\$ac_header_compiler"
|
|
1650 |
fi
|
|
1651 |
eval ac_res=\$$3
|
|
1652 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1653 |
$as_echo "$ac_res" >&6; }
|
|
1654 |
fi
|
|
1655 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1656 |
|
|
1657 |
} # ac_fn_c_check_header_mongrel
|
|
1658 |
|
|
1659 |
# ac_fn_c_try_run LINENO
|
|
1660 |
# ----------------------
|
|
1661 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1662 |
# that executables *can* be run.
|
|
1663 |
ac_fn_c_try_run ()
|
|
1664 |
{
|
|
1665 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1666 |
if { { ac_try="$ac_link"
|
|
1667 |
case "(($ac_try" in
|
|
1668 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1669 |
*) ac_try_echo=$ac_try;;
|
|
1670 |
esac
|
|
1671 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1672 |
$as_echo "$ac_try_echo"; } >&5
|
|
1673 |
(eval "$ac_link") 2>&5
|
|
1674 |
ac_status=$?
|
|
1675 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1676 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1677 |
{ { case "(($ac_try" in
|
|
1678 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1679 |
*) ac_try_echo=$ac_try;;
|
|
1680 |
esac
|
|
1681 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1682 |
$as_echo "$ac_try_echo"; } >&5
|
|
1683 |
(eval "$ac_try") 2>&5
|
|
1684 |
ac_status=$?
|
|
1685 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1686 |
test $ac_status = 0; }; }; then :
|
|
1687 |
ac_retval=0
|
|
1688 |
else
|
|
1689 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1690 |
$as_echo "$as_me: failed program was:" >&5
|
|
1691 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1692 |
|
|
1693 |
ac_retval=$ac_status
|
|
1694 |
fi
|
|
1695 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1696 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1697 |
as_fn_set_status $ac_retval
|
|
1698 |
|
|
1699 |
} # ac_fn_c_try_run
|
|
1700 |
|
|
1701 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1702 |
# -------------------------------------------------------
|
|
1703 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1704 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1705 |
ac_fn_c_check_header_compile ()
|
|
1706 |
{
|
|
1707 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1708 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1709 |
$as_echo_n "checking for $2... " >&6; }
|
|
1710 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1711 |
$as_echo_n "(cached) " >&6
|
|
1712 |
else
|
|
1713 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1714 |
/* end confdefs.h. */
|
|
1715 |
$4
|
|
1716 |
#include <$2>
|
|
1717 |
_ACEOF
|
|
1718 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1719 |
eval "$3=yes"
|
|
1720 |
else
|
|
1721 |
eval "$3=no"
|
|
1722 |
fi
|
|
1723 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1724 |
fi
|
|
1725 |
eval ac_res=\$$3
|
|
1726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1727 |
$as_echo "$ac_res" >&6; }
|
|
1728 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1729 |
|
|
1730 |
} # ac_fn_c_check_header_compile
|
|
1731 |
|
|
1732 |
# ac_fn_c_try_link LINENO
|
|
1733 |
# -----------------------
|
|
1734 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1735 |
ac_fn_c_try_link ()
|
|
1736 |
{
|
|
1737 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1738 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1739 |
if { { ac_try="$ac_link"
|
|
1740 |
case "(($ac_try" in
|
|
1741 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1742 |
*) ac_try_echo=$ac_try;;
|
|
1743 |
esac
|
|
1744 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1745 |
$as_echo "$ac_try_echo"; } >&5
|
|
1746 |
(eval "$ac_link") 2>conftest.err
|
|
1747 |
ac_status=$?
|
|
1748 |
if test -s conftest.err; then
|
|
1749 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1750 |
cat conftest.er1 >&5
|
|
1751 |
mv -f conftest.er1 conftest.err
|
|
1752 |
fi
|
|
1753 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1754 |
test $ac_status = 0; } && {
|
|
1755 |
test -z "$ac_c_werror_flag" ||
|
|
1756 |
test ! -s conftest.err
|
|
1757 |
} && test -s conftest$ac_exeext && {
|
|
1758 |
test "$cross_compiling" = yes ||
|
|
1759 |
$as_test_x conftest$ac_exeext
|
|
1760 |
}; then :
|
|
1761 |
ac_retval=0
|
|
1762 |
else
|
|
1763 |
$as_echo "$as_me: failed program was:" >&5
|
|
1764 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1765 |
|
|
1766 |
ac_retval=1
|
|
1767 |
fi
|
|
1768 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1769 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1770 |
# interfere with the next link command; also delete a directory that is
|
|
1771 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1772 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1773 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1774 |
as_fn_set_status $ac_retval
|
|
1775 |
|
|
1776 |
} # ac_fn_c_try_link
|
|
1777 |
|
|
1778 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
|
1779 |
# -------------------------------------------
|
|
1780 |
# Tests whether TYPE exists after having included INCLUDES, setting cache
|
|
1781 |
# variable VAR accordingly.
|
|
1782 |
ac_fn_c_check_type ()
|
|
1783 |
{
|
|
1784 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1785 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1786 |
$as_echo_n "checking for $2... " >&6; }
|
|
1787 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1788 |
$as_echo_n "(cached) " >&6
|
|
1789 |
else
|
|
1790 |
eval "$3=no"
|
|
1791 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1792 |
/* end confdefs.h. */
|
|
1793 |
$4
|
|
1794 |
int
|
|
1795 |
main ()
|
|
1796 |
{
|
|
1797 |
if (sizeof ($2))
|
|
1798 |
return 0;
|
|
1799 |
;
|
|
1800 |
return 0;
|
|
1801 |
}
|
|
1802 |
_ACEOF
|
|
1803 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1804 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1805 |
/* end confdefs.h. */
|
|
1806 |
$4
|
|
1807 |
int
|
|
1808 |
main ()
|
|
1809 |
{
|
|
1810 |
if (sizeof (($2)))
|
|
1811 |
return 0;
|
|
1812 |
;
|
|
1813 |
return 0;
|
|
1814 |
}
|
|
1815 |
_ACEOF
|
|
1816 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1817 |
|
|
1818 |
else
|
|
1819 |
eval "$3=yes"
|
|
1820 |
fi
|
|
1821 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1822 |
fi
|
|
1823 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1824 |
fi
|
|
1825 |
eval ac_res=\$$3
|
|
1826 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1827 |
$as_echo "$ac_res" >&6; }
|
|
1828 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1829 |
|
|
1830 |
} # ac_fn_c_check_type
|
|
1831 |
|
|
1832 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1833 |
# ----------------------------------
|
|
1834 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1835 |
ac_fn_c_check_func ()
|
|
1836 |
{
|
|
1837 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1838 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1839 |
$as_echo_n "checking for $2... " >&6; }
|
|
1840 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1841 |
$as_echo_n "(cached) " >&6
|
|
1842 |
else
|
|
1843 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1844 |
/* end confdefs.h. */
|
|
1845 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1846 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1847 |
#define $2 innocuous_$2
|
|
1848 |
|
|
1849 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1850 |
which can conflict with char $2 (); below.
|
|
1851 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1852 |
<limits.h> exists even on freestanding compilers. */
|
|
1853 |
|
|
1854 |
#ifdef __STDC__
|
|
1855 |
# include <limits.h>
|
|
1856 |
#else
|
|
1857 |
# include <assert.h>
|
|
1858 |
#endif
|
|
1859 |
|
|
1860 |
#undef $2
|
|
1861 |
|
|
1862 |
/* Override any GCC internal prototype to avoid an error.
|
|
1863 |
Use char because int might match the return type of a GCC
|
|
1864 |
builtin and then its argument prototype would still apply. */
|
|
1865 |
#ifdef __cplusplus
|
|
1866 |
extern "C"
|
|
1867 |
#endif
|
|
1868 |
char $2 ();
|
|
1869 |
/* The GNU C library defines this for functions which it implements
|
|
1870 |
to always fail with ENOSYS. Some functions are actually named
|
|
1871 |
something starting with __ and the normal name is an alias. */
|
|
1872 |
#if defined __stub_$2 || defined __stub___$2
|
|
1873 |
choke me
|
|
1874 |
#endif
|
|
1875 |
|
|
1876 |
int
|
|
1877 |
main ()
|
|
1878 |
{
|
|
1879 |
return $2 ();
|
|
1880 |
;
|
|
1881 |
return 0;
|
|
1882 |
}
|
|
1883 |
_ACEOF
|
|
1884 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
1885 |
eval "$3=yes"
|
|
1886 |
else
|
|
1887 |
eval "$3=no"
|
|
1888 |
fi
|
|
1889 |
rm -f core conftest.err conftest.$ac_objext \
|
|
1890 |
conftest$ac_exeext conftest.$ac_ext
|
|
1891 |
fi
|
|
1892 |
eval ac_res=\$$3
|
|
1893 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1894 |
$as_echo "$ac_res" >&6; }
|
|
1895 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1896 |
|
|
1897 |
} # ac_fn_c_check_func
|
|
1898 |
|
|
1899 |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
|
|
1900 |
# --------------------------------------------
|
|
1901 |
# Tries to find the compile-time value of EXPR in a program that includes
|
|
1902 |
# INCLUDES, setting VAR accordingly. Returns whether the value could be
|
|
1903 |
# computed
|
|
1904 |
ac_fn_c_compute_int ()
|
|
1905 |
{
|
|
1906 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1907 |
if test "$cross_compiling" = yes; then
|
|
1908 |
# Depending upon the size, compute the lo and hi bounds.
|
|
1909 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1910 |
/* end confdefs.h. */
|
|
1911 |
$4
|
|
1912 |
int
|
|
1913 |
main ()
|
|
1914 |
{
|
|
1915 |
static int test_array [1 - 2 * !(($2) >= 0)];
|
|
1916 |
test_array [0] = 0
|
|
1917 |
|
|
1918 |
;
|
|
1919 |
return 0;
|
|
1920 |
}
|
|
1921 |
_ACEOF
|
|
1922 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1923 |
ac_lo=0 ac_mid=0
|
|
1924 |
while :; do
|
|
1925 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1926 |
/* end confdefs.h. */
|
|
1927 |
$4
|
|
1928 |
int
|
|
1929 |
main ()
|
|
1930 |
{
|
|
1931 |
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
|
1932 |
test_array [0] = 0
|
|
1933 |
|
|
1934 |
;
|
|
1935 |
return 0;
|
|
1936 |
}
|
|
1937 |
_ACEOF
|
|
1938 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1939 |
ac_hi=$ac_mid; break
|
|
1940 |
else
|
|
1941 |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
|
|
1942 |
if test $ac_lo -le $ac_mid; then
|
|
1943 |
ac_lo= ac_hi=
|
|
1944 |
break
|
|
1945 |
fi
|
|
1946 |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
|
|
1947 |
fi
|
|
1948 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1949 |
done
|
|
1950 |
else
|
|
1951 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1952 |
/* end confdefs.h. */
|
|
1953 |
$4
|
|
1954 |
int
|
|
1955 |
main ()
|
|
1956 |
{
|
|
1957 |
static int test_array [1 - 2 * !(($2) < 0)];
|
|
1958 |
test_array [0] = 0
|
|
1959 |
|
|
1960 |
;
|
|
1961 |
return 0;
|
|
1962 |
}
|
|
1963 |
_ACEOF
|
|
1964 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1965 |
ac_hi=-1 ac_mid=-1
|
|
1966 |
while :; do
|
|
1967 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1968 |
/* end confdefs.h. */
|
|
1969 |
$4
|
|
1970 |
int
|
|
1971 |
main ()
|
|
1972 |
{
|
|
1973 |
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
|
|
1974 |
test_array [0] = 0
|
|
1975 |
|
|
1976 |
;
|
|
1977 |
return 0;
|
|
1978 |
}
|
|
1979 |
_ACEOF
|
|
1980 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1981 |
ac_lo=$ac_mid; break
|
|
1982 |
else
|
|
1983 |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
|
|
1984 |
if test $ac_mid -le $ac_hi; then
|
|
1985 |
ac_lo= ac_hi=
|
|
1986 |
break
|
|
1987 |
fi
|
|
1988 |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
|
|
1989 |
fi
|
|
1990 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1991 |
done
|
|
1992 |
else
|
|
1993 |
ac_lo= ac_hi=
|
|
1994 |
fi
|
|
1995 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1996 |
fi
|
|
1997 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1998 |
# Binary search between lo and hi bounds.
|
|
1999 |
while test "x$ac_lo" != "x$ac_hi"; do
|
|
2000 |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
|
|
2001 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2002 |
/* end confdefs.h. */
|
|
2003 |
$4
|
|
2004 |
int
|
|
2005 |
main ()
|
|
2006 |
{
|
|
2007 |
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
|
2008 |
test_array [0] = 0
|
|
2009 |
|
|
2010 |
;
|
|
2011 |
return 0;
|
|
2012 |
}
|
|
2013 |
_ACEOF
|
|
2014 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2015 |
ac_hi=$ac_mid
|
|
2016 |
else
|
|
2017 |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
|
|
2018 |
fi
|
|
2019 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2020 |
done
|
|
2021 |
case $ac_lo in #((
|
|
2022 |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
|
|
2023 |
'') ac_retval=1 ;;
|
|
2024 |
esac
|
|
2025 |
else
|
|
2026 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2027 |
/* end confdefs.h. */
|
|
2028 |
$4
|
|
2029 |
static long int longval () { return $2; }
|
|
2030 |
static unsigned long int ulongval () { return $2; }
|
|
2031 |
#include <stdio.h>
|
|
2032 |
#include <stdlib.h>
|
|
2033 |
int
|
|
2034 |
main ()
|
|
2035 |
{
|
|
2036 |
|
|
2037 |
FILE *f = fopen ("conftest.val", "w");
|
|
2038 |
if (! f)
|
|
2039 |
return 1;
|
|
2040 |
if (($2) < 0)
|
|
2041 |
{
|
|
2042 |
long int i = longval ();
|
|
2043 |
if (i != ($2))
|
|
2044 |
return 1;
|
|
2045 |
fprintf (f, "%ld", i);
|
|
2046 |
}
|
|
2047 |
else
|
|
2048 |
{
|
|
2049 |
unsigned long int i = ulongval ();
|
|
2050 |
if (i != ($2))
|
|
2051 |
return 1;
|
|
2052 |
fprintf (f, "%lu", i);
|
|
2053 |
}
|
|
2054 |
/* Do not output a trailing newline, as this causes \r\n confusion
|
|
2055 |
on some platforms. */
|
|
2056 |
return ferror (f) || fclose (f) != 0;
|
|
2057 |
|
|
2058 |
;
|
|
2059 |
return 0;
|
|
2060 |
}
|
|
2061 |
_ACEOF
|
|
2062 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
2063 |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
|
|
2064 |
else
|
|
2065 |
ac_retval=1
|
|
2066 |
fi
|
|
2067 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
2068 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
2069 |
rm -f conftest.val
|
|
2070 |
|
|
2071 |
fi
|
|
2072 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2073 |
as_fn_set_status $ac_retval
|
|
2074 |
|
|
2075 |
} # ac_fn_c_compute_int
|
1450 | 2076 |
cat >config.log <<_ACEOF
|
1451 | 2077 |
This file contains any messages produced by compilers while
|
1452 | 2078 |
running configure, to aid debugging if configure makes a mistake.
|
1453 | 2079 |
|
1454 | 2080 |
It was created by $as_me, which was
|
1455 | |
generated by GNU Autoconf 2.61. Invocation command line was
|
|
2081 |
generated by GNU Autoconf 2.65. Invocation command line was
|
1456 | 2082 |
|
1457 | 2083 |
$ $0 $@
|
1458 | 2084 |
|
|
1488 | 2114 |
do
|
1489 | 2115 |
IFS=$as_save_IFS
|
1490 | 2116 |
test -z "$as_dir" && as_dir=.
|
1491 | |
echo "PATH: $as_dir"
|
1492 | |
done
|
|
2117 |
$as_echo "PATH: $as_dir"
|
|
2118 |
done
|
1493 | 2119 |
IFS=$as_save_IFS
|
1494 | 2120 |
|
1495 | 2121 |
} >&5
|
|
1523 | 2149 |
| -silent | --silent | --silen | --sile | --sil)
|
1524 | 2150 |
continue ;;
|
1525 | 2151 |
*\'*)
|
1526 | |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2152 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1527 | 2153 |
esac
|
1528 | 2154 |
case $ac_pass in
|
1529 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
2155 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1530 | 2156 |
2)
|
1531 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
2157 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1532 | 2158 |
if test $ac_must_keep_next = true; then
|
1533 | 2159 |
ac_must_keep_next=false # Got value, back to normal.
|
1534 | 2160 |
else
|
|
1544 | 2170 |
-* ) ac_must_keep_next=true ;;
|
1545 | 2171 |
esac
|
1546 | 2172 |
fi
|
1547 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
2173 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1548 | 2174 |
;;
|
1549 | 2175 |
esac
|
1550 | 2176 |
done
|
1551 | 2177 |
done
|
1552 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1553 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
2178 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
2179 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1554 | 2180 |
|
1555 | 2181 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1556 | 2182 |
# config.log. We remove comments because anyway the quotes in there
|
|
1575 | 2201 |
case $ac_val in #(
|
1576 | 2202 |
*${as_nl}*)
|
1577 | 2203 |
case $ac_var in #(
|
1578 | |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
1579 | |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
2204 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2205 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1580 | 2206 |
esac
|
1581 | 2207 |
case $ac_var in #(
|
1582 | 2208 |
_ | IFS | as_nl) ;; #(
|
1583 | |
*) $as_unset $ac_var ;;
|
|
2209 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
2210 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1584 | 2211 |
esac ;;
|
1585 | 2212 |
esac
|
1586 | 2213 |
done
|
|
1609 | 2236 |
do
|
1610 | 2237 |
eval ac_val=\$$ac_var
|
1611 | 2238 |
case $ac_val in
|
1612 | |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2239 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1613 | 2240 |
esac
|
1614 | |
echo "$ac_var='\''$ac_val'\''"
|
|
2241 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1615 | 2242 |
done | sort
|
1616 | 2243 |
echo
|
1617 | 2244 |
|
|
1626 | 2253 |
do
|
1627 | 2254 |
eval ac_val=\$$ac_var
|
1628 | 2255 |
case $ac_val in
|
1629 | |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2256 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1630 | 2257 |
esac
|
1631 | |
echo "$ac_var='\''$ac_val'\''"
|
|
2258 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1632 | 2259 |
done | sort
|
1633 | 2260 |
echo
|
1634 | 2261 |
fi
|
|
1644 | 2271 |
echo
|
1645 | 2272 |
fi
|
1646 | 2273 |
test "$ac_signal" != 0 &&
|
1647 | |
echo "$as_me: caught signal $ac_signal"
|
1648 | |
echo "$as_me: exit $exit_status"
|
|
2274 |
$as_echo "$as_me: caught signal $ac_signal"
|
|
2275 |
$as_echo "$as_me: exit $exit_status"
|
1649 | 2276 |
} >&5
|
1650 | 2277 |
rm -f core *.core core.conftest.* &&
|
1651 | 2278 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1652 | 2279 |
exit $exit_status
|
1653 | 2280 |
' 0
|
1654 | 2281 |
for ac_signal in 1 2 13 15; do
|
1655 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
2282 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1656 | 2283 |
done
|
1657 | 2284 |
ac_signal=0
|
1658 | 2285 |
|
1659 | 2286 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1660 | 2287 |
rm -f -r conftest* confdefs.h
|
1661 | 2288 |
|
|
2289 |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2290 |
|
1662 | 2291 |
# Predefined preprocessor variables.
|
1663 | 2292 |
|
1664 | 2293 |
cat >>confdefs.h <<_ACEOF
|
1665 | 2294 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1666 | 2295 |
_ACEOF
|
1667 | 2296 |
|
1668 | |
|
1669 | 2297 |
cat >>confdefs.h <<_ACEOF
|
1670 | 2298 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1671 | 2299 |
_ACEOF
|
1672 | 2300 |
|
1673 | |
|
1674 | 2301 |
cat >>confdefs.h <<_ACEOF
|
1675 | 2302 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1676 | 2303 |
_ACEOF
|
1677 | 2304 |
|
1678 | |
|
1679 | 2305 |
cat >>confdefs.h <<_ACEOF
|
1680 | 2306 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1681 | 2307 |
_ACEOF
|
1682 | 2308 |
|
1683 | |
|
1684 | 2309 |
cat >>confdefs.h <<_ACEOF
|
1685 | 2310 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1686 | 2311 |
_ACEOF
|
1687 | 2312 |
|
|
2313 |
cat >>confdefs.h <<_ACEOF
|
|
2314 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
2315 |
_ACEOF
|
|
2316 |
|
1688 | 2317 |
|
1689 | 2318 |
# Let the site file select an alternate cache file if it wants to.
|
1690 | |
# Prefer explicitly selected file to automatically selected ones.
|
|
2319 |
# Prefer an explicitly selected file to automatically selected ones.
|
|
2320 |
ac_site_file1=NONE
|
|
2321 |
ac_site_file2=NONE
|
1691 | 2322 |
if test -n "$CONFIG_SITE"; then
|
1692 | |
set x "$CONFIG_SITE"
|
|
2323 |
ac_site_file1=$CONFIG_SITE
|
1693 | 2324 |
elif test "x$prefix" != xNONE; then
|
1694 | |
set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
1695 | |
else
|
1696 | |
set x "$ac_default_prefix/share/config.site" \
|
1697 | |
"$ac_default_prefix/etc/config.site"
|
1698 | |
fi
|
1699 | |
shift
|
1700 | |
for ac_site_file
|
|
2325 |
ac_site_file1=$prefix/share/config.site
|
|
2326 |
ac_site_file2=$prefix/etc/config.site
|
|
2327 |
else
|
|
2328 |
ac_site_file1=$ac_default_prefix/share/config.site
|
|
2329 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
|
2330 |
fi
|
|
2331 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1701 | 2332 |
do
|
1702 | |
if test -r "$ac_site_file"; then
|
1703 | |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1704 | |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
2333 |
test "x$ac_site_file" = xNONE && continue
|
|
2334 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2335 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
2336 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1705 | 2337 |
sed 's/^/| /' "$ac_site_file" >&5
|
1706 | 2338 |
. "$ac_site_file"
|
1707 | 2339 |
fi
|
1708 | 2340 |
done
|
1709 | 2341 |
|
1710 | 2342 |
if test -r "$cache_file"; then
|
1711 | |
# Some versions of bash will fail to source /dev/null (special
|
1712 | |
# files actually), so we avoid doing that.
|
1713 | |
if test -f "$cache_file"; then
|
1714 | |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1715 | |
echo "$as_me: loading cache $cache_file" >&6;}
|
|
2343 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2344 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2345 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
2346 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
2347 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1716 | 2348 |
case $cache_file in
|
1717 | 2349 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
1718 | 2350 |
*) . "./$cache_file";;
|
1719 | 2351 |
esac
|
1720 | 2352 |
fi
|
1721 | 2353 |
else
|
1722 | |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1723 | |
echo "$as_me: creating cache $cache_file" >&6;}
|
|
2354 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
2355 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1724 | 2356 |
>$cache_file
|
1725 | 2357 |
fi
|
1726 | 2358 |
|
|
2359 |
as_fn_append ac_header_list " stdlib.h"
|
|
2360 |
as_fn_append ac_header_list " unistd.h"
|
|
2361 |
as_fn_append ac_header_list " sys/param.h"
|
1727 | 2362 |
# Check that the precious variables saved in the cache have kept the same
|
1728 | 2363 |
# value.
|
1729 | 2364 |
ac_cache_corrupted=false
|
|
1734 | 2369 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1735 | 2370 |
case $ac_old_set,$ac_new_set in
|
1736 | 2371 |
set,)
|
1737 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1738 | |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
2372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2373 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1739 | 2374 |
ac_cache_corrupted=: ;;
|
1740 | 2375 |
,set)
|
1741 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1742 | |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
2376 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
2377 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1743 | 2378 |
ac_cache_corrupted=: ;;
|
1744 | 2379 |
,);;
|
1745 | 2380 |
*)
|
1746 | 2381 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1747 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1748 | |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1749 | |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1750 | |
echo "$as_me: former value: $ac_old_val" >&2;}
|
1751 | |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1752 | |
echo "$as_me: current value: $ac_new_val" >&2;}
|
1753 | |
ac_cache_corrupted=:
|
|
2382 |
# differences in whitespace do not lead to failure.
|
|
2383 |
ac_old_val_w=`echo x $ac_old_val`
|
|
2384 |
ac_new_val_w=`echo x $ac_new_val`
|
|
2385 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
|
2386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2387 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
2388 |
ac_cache_corrupted=:
|
|
2389 |
else
|
|
2390 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2391 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
2392 |
eval $ac_var=\$ac_old_val
|
|
2393 |
fi
|
|
2394 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
2395 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
2396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
2397 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1754 | 2398 |
fi;;
|
1755 | 2399 |
esac
|
1756 | 2400 |
# Pass precious variables to config.status.
|
1757 | 2401 |
if test "$ac_new_set" = set; then
|
1758 | 2402 |
case $ac_new_val in
|
1759 | |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2403 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1760 | 2404 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1761 | 2405 |
esac
|
1762 | 2406 |
case " $ac_configure_args " in
|
1763 | 2407 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1764 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2408 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1765 | 2409 |
esac
|
1766 | 2410 |
fi
|
1767 | 2411 |
done
|
1768 | 2412 |
if $ac_cache_corrupted; then
|
1769 | |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1770 | |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1771 | |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1772 | |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1773 | |
{ (exit 1); exit 1; }; }
|
1774 | |
fi
|
1775 | |
|
1776 | |
|
1777 | |
|
1778 | |
|
1779 | |
|
1780 | |
|
1781 | |
|
1782 | |
|
1783 | |
|
1784 | |
|
1785 | |
|
1786 | |
|
1787 | |
|
1788 | |
|
1789 | |
|
1790 | |
|
|
2413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2414 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2415 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
2416 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
2417 |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2418 |
fi
|
|
2419 |
## -------------------- ##
|
|
2420 |
## Main body of script. ##
|
|
2421 |
## -------------------- ##
|
1791 | 2422 |
|
1792 | 2423 |
ac_ext=c
|
1793 | 2424 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1799 | 2430 |
|
1800 | 2431 |
ac_aux_dir=
|
1801 | 2432 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
1802 | |
if test -f "$ac_dir/install-sh"; then
|
1803 | |
ac_aux_dir=$ac_dir
|
1804 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1805 | |
break
|
1806 | |
elif test -f "$ac_dir/install.sh"; then
|
1807 | |
ac_aux_dir=$ac_dir
|
1808 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1809 | |
break
|
1810 | |
elif test -f "$ac_dir/shtool"; then
|
1811 | |
ac_aux_dir=$ac_dir
|
1812 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1813 | |
break
|
1814 | |
fi
|
|
2433 |
for ac_t in install-sh install.sh shtool; do
|
|
2434 |
if test -f "$ac_dir/$ac_t"; then
|
|
2435 |
ac_aux_dir=$ac_dir
|
|
2436 |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
|
2437 |
break 2
|
|
2438 |
fi
|
|
2439 |
done
|
1815 | 2440 |
done
|
1816 | 2441 |
if test -z "$ac_aux_dir"; then
|
1817 | |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
1818 | |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1819 | |
{ (exit 1); exit 1; }; }
|
|
2442 |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1820 | 2443 |
fi
|
1821 | 2444 |
|
1822 | 2445 |
# These three variables are undocumented and unsupported,
|
|
1830 | 2453 |
|
1831 | 2454 |
# Make sure we can run config.sub.
|
1832 | 2455 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
1833 | |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
1834 | |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
1835 | |
{ (exit 1); exit 1; }; }
|
1836 | |
|
1837 | |
{ echo "$as_me:$LINENO: checking build system type" >&5
|
1838 | |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
1839 | |
if test "${ac_cv_build+set}" = set; then
|
1840 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2456 |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
|
2457 |
|
|
2458 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|
2459 |
$as_echo_n "checking build system type... " >&6; }
|
|
2460 |
if test "${ac_cv_build+set}" = set; then :
|
|
2461 |
$as_echo_n "(cached) " >&6
|
1841 | 2462 |
else
|
1842 | 2463 |
ac_build_alias=$build_alias
|
1843 | 2464 |
test "x$ac_build_alias" = x &&
|
1844 | 2465 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
1845 | 2466 |
test "x$ac_build_alias" = x &&
|
1846 | |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
1847 | |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
1848 | |
{ (exit 1); exit 1; }; }
|
|
2467 |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
|
1849 | 2468 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
1850 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
1851 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
1852 | |
{ (exit 1); exit 1; }; }
|
1853 | |
|
1854 | |
fi
|
1855 | |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
1856 | |
echo "${ECHO_T}$ac_cv_build" >&6; }
|
|
2469 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
|
2470 |
|
|
2471 |
fi
|
|
2472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|
2473 |
$as_echo "$ac_cv_build" >&6; }
|
1857 | 2474 |
case $ac_cv_build in
|
1858 | 2475 |
*-*-*) ;;
|
1859 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
1860 | |
echo "$as_me: error: invalid value of canonical build" >&2;}
|
1861 | |
{ (exit 1); exit 1; }; };;
|
|
2476 |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
|
1862 | 2477 |
esac
|
1863 | 2478 |
build=$ac_cv_build
|
1864 | 2479 |
ac_save_IFS=$IFS; IFS='-'
|
|
1874 | 2489 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
1875 | 2490 |
|
1876 | 2491 |
|
1877 | |
{ echo "$as_me:$LINENO: checking host system type" >&5
|
1878 | |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
1879 | |
if test "${ac_cv_host+set}" = set; then
|
1880 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2492 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|
2493 |
$as_echo_n "checking host system type... " >&6; }
|
|
2494 |
if test "${ac_cv_host+set}" = set; then :
|
|
2495 |
$as_echo_n "(cached) " >&6
|
1881 | 2496 |
else
|
1882 | 2497 |
if test "x$host_alias" = x; then
|
1883 | 2498 |
ac_cv_host=$ac_cv_build
|
1884 | 2499 |
else
|
1885 | 2500 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
1886 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
1887 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
1888 | |
{ (exit 1); exit 1; }; }
|
1889 | |
fi
|
1890 | |
|
1891 | |
fi
|
1892 | |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
1893 | |
echo "${ECHO_T}$ac_cv_host" >&6; }
|
|
2501 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
|
2502 |
fi
|
|
2503 |
|
|
2504 |
fi
|
|
2505 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|
2506 |
$as_echo "$ac_cv_host" >&6; }
|
1894 | 2507 |
case $ac_cv_host in
|
1895 | 2508 |
*-*-*) ;;
|
1896 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
1897 | |
echo "$as_me: error: invalid value of canonical host" >&2;}
|
1898 | |
{ (exit 1); exit 1; }; };;
|
|
2509 |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
|
1899 | 2510 |
esac
|
1900 | 2511 |
host=$ac_cv_host
|
1901 | 2512 |
ac_save_IFS=$IFS; IFS='-'
|
|
1911 | 2522 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
1912 | 2523 |
|
1913 | 2524 |
|
1914 | |
{ echo "$as_me:$LINENO: checking target system type" >&5
|
1915 | |
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
|
1916 | |
if test "${ac_cv_target+set}" = set; then
|
1917 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2525 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
|
2526 |
$as_echo_n "checking target system type... " >&6; }
|
|
2527 |
if test "${ac_cv_target+set}" = set; then :
|
|
2528 |
$as_echo_n "(cached) " >&6
|
1918 | 2529 |
else
|
1919 | 2530 |
if test "x$target_alias" = x; then
|
1920 | 2531 |
ac_cv_target=$ac_cv_host
|
1921 | 2532 |
else
|
1922 | 2533 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
1923 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
1924 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
1925 | |
{ (exit 1); exit 1; }; }
|
1926 | |
fi
|
1927 | |
|
1928 | |
fi
|
1929 | |
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
1930 | |
echo "${ECHO_T}$ac_cv_target" >&6; }
|
|
2534 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
|
2535 |
fi
|
|
2536 |
|
|
2537 |
fi
|
|
2538 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
|
2539 |
$as_echo "$ac_cv_target" >&6; }
|
1931 | 2540 |
case $ac_cv_target in
|
1932 | 2541 |
*-*-*) ;;
|
1933 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
1934 | |
echo "$as_me: error: invalid value of canonical target" >&2;}
|
1935 | |
{ (exit 1); exit 1; }; };;
|
|
2542 |
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
|
1936 | 2543 |
esac
|
1937 | 2544 |
target=$ac_cv_target
|
1938 | 2545 |
ac_save_IFS=$IFS; IFS='-'
|
|
1955 | 2562 |
NONENONEs,x,x, &&
|
1956 | 2563 |
program_prefix=${target_alias}-
|
1957 | 2564 |
|
1958 | |
|
1959 | |
cat >>confdefs.h <<\_ACEOF
|
1960 | |
#define _GNU_SOURCE 1
|
1961 | |
_ACEOF
|
1962 | |
|
1963 | |
|
1964 | 2565 |
ac_ext=c
|
1965 | 2566 |
ac_cpp='$CPP $CPPFLAGS'
|
1966 | 2567 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
1969 | 2570 |
if test -n "$ac_tool_prefix"; then
|
1970 | 2571 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1971 | 2572 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1972 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1973 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1974 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
1975 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2574 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2575 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2576 |
$as_echo_n "(cached) " >&6
|
1976 | 2577 |
else
|
1977 | 2578 |
if test -n "$CC"; then
|
1978 | 2579 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1982 | 2583 |
do
|
1983 | 2584 |
IFS=$as_save_IFS
|
1984 | 2585 |
test -z "$as_dir" && as_dir=.
|
1985 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2586 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1986 | 2587 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1987 | 2588 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1988 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2589 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1989 | 2590 |
break 2
|
1990 | 2591 |
fi
|
1991 | 2592 |
done
|
1992 | |
done
|
|
2593 |
done
|
1993 | 2594 |
IFS=$as_save_IFS
|
1994 | 2595 |
|
1995 | 2596 |
fi
|
1996 | 2597 |
fi
|
1997 | 2598 |
CC=$ac_cv_prog_CC
|
1998 | 2599 |
if test -n "$CC"; then
|
1999 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2000 | |
echo "${ECHO_T}$CC" >&6; }
|
2001 | |
else
|
2002 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2003 | |
echo "${ECHO_T}no" >&6; }
|
|
2600 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2601 |
$as_echo "$CC" >&6; }
|
|
2602 |
else
|
|
2603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2604 |
$as_echo "no" >&6; }
|
2004 | 2605 |
fi
|
2005 | 2606 |
|
2006 | 2607 |
|
|
2009 | 2610 |
ac_ct_CC=$CC
|
2010 | 2611 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2011 | 2612 |
set dummy gcc; ac_word=$2
|
2012 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2013 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2014 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2015 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2613 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2614 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2615 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
2616 |
$as_echo_n "(cached) " >&6
|
2016 | 2617 |
else
|
2017 | 2618 |
if test -n "$ac_ct_CC"; then
|
2018 | 2619 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2022 | 2623 |
do
|
2023 | 2624 |
IFS=$as_save_IFS
|
2024 | 2625 |
test -z "$as_dir" && as_dir=.
|
2025 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2626 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2026 | 2627 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2027 | 2628 |
ac_cv_prog_ac_ct_CC="gcc"
|
2028 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2629 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2029 | 2630 |
break 2
|
2030 | 2631 |
fi
|
2031 | 2632 |
done
|
2032 | |
done
|
|
2633 |
done
|
2033 | 2634 |
IFS=$as_save_IFS
|
2034 | 2635 |
|
2035 | 2636 |
fi
|
2036 | 2637 |
fi
|
2037 | 2638 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2038 | 2639 |
if test -n "$ac_ct_CC"; then
|
2039 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2040 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
2041 | |
else
|
2042 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2043 | |
echo "${ECHO_T}no" >&6; }
|
|
2640 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
2641 |
$as_echo "$ac_ct_CC" >&6; }
|
|
2642 |
else
|
|
2643 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2644 |
$as_echo "no" >&6; }
|
2044 | 2645 |
fi
|
2045 | 2646 |
|
2046 | 2647 |
if test "x$ac_ct_CC" = x; then
|
|
2048 | 2649 |
else
|
2049 | 2650 |
case $cross_compiling:$ac_tool_warned in
|
2050 | 2651 |
yes:)
|
2051 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2052 | |
whose name does not start with the host triplet. If you think this
|
2053 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2054 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2055 | |
whose name does not start with the host triplet. If you think this
|
2056 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2652 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2653 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2057 | 2654 |
ac_tool_warned=yes ;;
|
2058 | 2655 |
esac
|
2059 | 2656 |
CC=$ac_ct_CC
|
|
2066 | 2663 |
if test -n "$ac_tool_prefix"; then
|
2067 | 2664 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2068 | 2665 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2069 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2070 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2071 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2072 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2667 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2668 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2669 |
$as_echo_n "(cached) " >&6
|
2073 | 2670 |
else
|
2074 | 2671 |
if test -n "$CC"; then
|
2075 | 2672 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2079 | 2676 |
do
|
2080 | 2677 |
IFS=$as_save_IFS
|
2081 | 2678 |
test -z "$as_dir" && as_dir=.
|
2082 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2679 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2083 | 2680 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2084 | 2681 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2085 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2682 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2086 | 2683 |
break 2
|
2087 | 2684 |
fi
|
2088 | 2685 |
done
|
2089 | |
done
|
|
2686 |
done
|
2090 | 2687 |
IFS=$as_save_IFS
|
2091 | 2688 |
|
2092 | 2689 |
fi
|
2093 | 2690 |
fi
|
2094 | 2691 |
CC=$ac_cv_prog_CC
|
2095 | 2692 |
if test -n "$CC"; then
|
2096 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2097 | |
echo "${ECHO_T}$CC" >&6; }
|
2098 | |
else
|
2099 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2100 | |
echo "${ECHO_T}no" >&6; }
|
|
2693 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2694 |
$as_echo "$CC" >&6; }
|
|
2695 |
else
|
|
2696 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2697 |
$as_echo "no" >&6; }
|
2101 | 2698 |
fi
|
2102 | 2699 |
|
2103 | 2700 |
|
|
2106 | 2703 |
if test -z "$CC"; then
|
2107 | 2704 |
# Extract the first word of "cc", so it can be a program name with args.
|
2108 | 2705 |
set dummy cc; ac_word=$2
|
2109 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2110 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2111 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2112 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2706 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2707 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2708 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2709 |
$as_echo_n "(cached) " >&6
|
2113 | 2710 |
else
|
2114 | 2711 |
if test -n "$CC"; then
|
2115 | 2712 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2120 | 2717 |
do
|
2121 | 2718 |
IFS=$as_save_IFS
|
2122 | 2719 |
test -z "$as_dir" && as_dir=.
|
2123 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2720 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2124 | 2721 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2125 | 2722 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2126 | 2723 |
ac_prog_rejected=yes
|
2127 | 2724 |
continue
|
2128 | 2725 |
fi
|
2129 | 2726 |
ac_cv_prog_CC="cc"
|
2130 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2727 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2131 | 2728 |
break 2
|
2132 | 2729 |
fi
|
2133 | 2730 |
done
|
2134 | |
done
|
|
2731 |
done
|
2135 | 2732 |
IFS=$as_save_IFS
|
2136 | 2733 |
|
2137 | 2734 |
if test $ac_prog_rejected = yes; then
|
|
2150 | 2747 |
fi
|
2151 | 2748 |
CC=$ac_cv_prog_CC
|
2152 | 2749 |
if test -n "$CC"; then
|
2153 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2154 | |
echo "${ECHO_T}$CC" >&6; }
|
2155 | |
else
|
2156 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2157 | |
echo "${ECHO_T}no" >&6; }
|
|
2750 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2751 |
$as_echo "$CC" >&6; }
|
|
2752 |
else
|
|
2753 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2754 |
$as_echo "no" >&6; }
|
2158 | 2755 |
fi
|
2159 | 2756 |
|
2160 | 2757 |
|
|
2165 | 2762 |
do
|
2166 | 2763 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2167 | 2764 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2168 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2169 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2170 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2171 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2765 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2766 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2767 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2768 |
$as_echo_n "(cached) " >&6
|
2172 | 2769 |
else
|
2173 | 2770 |
if test -n "$CC"; then
|
2174 | 2771 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2178 | 2775 |
do
|
2179 | 2776 |
IFS=$as_save_IFS
|
2180 | 2777 |
test -z "$as_dir" && as_dir=.
|
2181 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2778 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2182 | 2779 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2183 | 2780 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2184 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2781 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2185 | 2782 |
break 2
|
2186 | 2783 |
fi
|
2187 | 2784 |
done
|
2188 | |
done
|
|
2785 |
done
|
2189 | 2786 |
IFS=$as_save_IFS
|
2190 | 2787 |
|
2191 | 2788 |
fi
|
2192 | 2789 |
fi
|
2193 | 2790 |
CC=$ac_cv_prog_CC
|
2194 | 2791 |
if test -n "$CC"; then
|
2195 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2196 | |
echo "${ECHO_T}$CC" >&6; }
|
2197 | |
else
|
2198 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2199 | |
echo "${ECHO_T}no" >&6; }
|
|
2792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2793 |
$as_echo "$CC" >&6; }
|
|
2794 |
else
|
|
2795 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2796 |
$as_echo "no" >&6; }
|
2200 | 2797 |
fi
|
2201 | 2798 |
|
2202 | 2799 |
|
|
2209 | 2806 |
do
|
2210 | 2807 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2211 | 2808 |
set dummy $ac_prog; ac_word=$2
|
2212 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2213 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2214 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2215 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2809 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2810 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2811 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
2812 |
$as_echo_n "(cached) " >&6
|
2216 | 2813 |
else
|
2217 | 2814 |
if test -n "$ac_ct_CC"; then
|
2218 | 2815 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2222 | 2819 |
do
|
2223 | 2820 |
IFS=$as_save_IFS
|
2224 | 2821 |
test -z "$as_dir" && as_dir=.
|
2225 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2822 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2226 | 2823 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2227 | 2824 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2228 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2825 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2229 | 2826 |
break 2
|
2230 | 2827 |
fi
|
2231 | 2828 |
done
|
2232 | |
done
|
|
2829 |
done
|
2233 | 2830 |
IFS=$as_save_IFS
|
2234 | 2831 |
|
2235 | 2832 |
fi
|
2236 | 2833 |
fi
|
2237 | 2834 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2238 | 2835 |
if test -n "$ac_ct_CC"; then
|
2239 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2240 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
2241 | |
else
|
2242 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2243 | |
echo "${ECHO_T}no" >&6; }
|
|
2836 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
2837 |
$as_echo "$ac_ct_CC" >&6; }
|
|
2838 |
else
|
|
2839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2840 |
$as_echo "no" >&6; }
|
2244 | 2841 |
fi
|
2245 | 2842 |
|
2246 | 2843 |
|
|
2252 | 2849 |
else
|
2253 | 2850 |
case $cross_compiling:$ac_tool_warned in
|
2254 | 2851 |
yes:)
|
2255 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2256 | |
whose name does not start with the host triplet. If you think this
|
2257 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2258 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2259 | |
whose name does not start with the host triplet. If you think this
|
2260 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2852 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2853 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2261 | 2854 |
ac_tool_warned=yes ;;
|
2262 | 2855 |
esac
|
2263 | 2856 |
CC=$ac_ct_CC
|
|
2267 | 2860 |
fi
|
2268 | 2861 |
|
2269 | 2862 |
|
2270 | |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2271 | |
See \`config.log' for more details." >&5
|
2272 | |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2273 | |
See \`config.log' for more details." >&2;}
|
2274 | |
{ (exit 1); exit 1; }; }
|
|
2863 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2864 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2865 |
as_fn_error "no acceptable C compiler found in \$PATH
|
|
2866 |
See \`config.log' for more details." "$LINENO" 5; }
|
2275 | 2867 |
|
2276 | 2868 |
# Provide some information about the compiler.
|
2277 | |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
2278 | |
ac_compiler=`set X $ac_compile; echo $2`
|
2279 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
2869 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
2870 |
set X $ac_compile
|
|
2871 |
ac_compiler=$2
|
|
2872 |
for ac_option in --version -v -V -qversion; do
|
|
2873 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2280 | 2874 |
case "(($ac_try" in
|
2281 | 2875 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2282 | 2876 |
*) ac_try_echo=$ac_try;;
|
2283 | 2877 |
esac
|
2284 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2285 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
2878 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2879 |
$as_echo "$ac_try_echo"; } >&5
|
|
2880 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2286 | 2881 |
ac_status=$?
|
2287 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2288 | |
(exit $ac_status); }
|
2289 | |
{ (ac_try="$ac_compiler -v >&5"
|
|
2882 |
if test -s conftest.err; then
|
|
2883 |
sed '10a\
|
|
2884 |
... rest of stderr output deleted ...
|
|
2885 |
10q' conftest.err >conftest.er1
|
|
2886 |
cat conftest.er1 >&5
|
|
2887 |
fi
|
|
2888 |
rm -f conftest.er1 conftest.err
|
|
2889 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2890 |
test $ac_status = 0; }
|
|
2891 |
done
|
|
2892 |
|
|
2893 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2894 |
/* end confdefs.h. */
|
|
2895 |
|
|
2896 |
int
|
|
2897 |
main ()
|
|
2898 |
{
|
|
2899 |
|
|
2900 |
;
|
|
2901 |
return 0;
|
|
2902 |
}
|
|
2903 |
_ACEOF
|
|
2904 |
ac_clean_files_save=$ac_clean_files
|
|
2905 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
|
2906 |
# Try to create an executable without -o first, disregard a.out.
|
|
2907 |
# It will help us diagnose broken compilers, and finding out an intuition
|
|
2908 |
# of exeext.
|
|
2909 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
2910 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
|
2911 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
2912 |
|
|
2913 |
# The possible output files:
|
|
2914 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
2915 |
|
|
2916 |
ac_rmfiles=
|
|
2917 |
for ac_file in $ac_files
|
|
2918 |
do
|
|
2919 |
case $ac_file in
|
|
2920 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
|
2921 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
|
2922 |
esac
|
|
2923 |
done
|
|
2924 |
rm -f $ac_rmfiles
|
|
2925 |
|
|
2926 |
if { { ac_try="$ac_link_default"
|
2290 | 2927 |
case "(($ac_try" in
|
2291 | 2928 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2292 | 2929 |
*) ac_try_echo=$ac_try;;
|
2293 | 2930 |
esac
|
2294 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2295 | |
(eval "$ac_compiler -v >&5") 2>&5
|
2296 | |
ac_status=$?
|
2297 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2298 | |
(exit $ac_status); }
|
2299 | |
{ (ac_try="$ac_compiler -V >&5"
|
2300 | |
case "(($ac_try" in
|
2301 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2302 | |
*) ac_try_echo=$ac_try;;
|
2303 | |
esac
|
2304 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2305 | |
(eval "$ac_compiler -V >&5") 2>&5
|
2306 | |
ac_status=$?
|
2307 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2308 | |
(exit $ac_status); }
|
2309 | |
|
2310 | |
cat >conftest.$ac_ext <<_ACEOF
|
2311 | |
/* confdefs.h. */
|
2312 | |
_ACEOF
|
2313 | |
cat confdefs.h >>conftest.$ac_ext
|
2314 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2315 | |
/* end confdefs.h. */
|
2316 | |
|
2317 | |
int
|
2318 | |
main ()
|
2319 | |
{
|
2320 | |
|
2321 | |
;
|
2322 | |
return 0;
|
2323 | |
}
|
2324 | |
_ACEOF
|
2325 | |
ac_clean_files_save=$ac_clean_files
|
2326 | |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
2327 | |
# Try to create an executable without -o first, disregard a.out.
|
2328 | |
# It will help us diagnose broken compilers, and finding out an intuition
|
2329 | |
# of exeext.
|
2330 | |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2331 | |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
2332 | |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2333 | |
#
|
2334 | |
# List of possible output files, starting from the most likely.
|
2335 | |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
2336 | |
# only as a last resort. b.out is created by i960 compilers.
|
2337 | |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
2338 | |
#
|
2339 | |
# The IRIX 6 linker writes into existing files which may not be
|
2340 | |
# executable, retaining their permissions. Remove them first so a
|
2341 | |
# subsequent execution test works.
|
2342 | |
ac_rmfiles=
|
2343 | |
for ac_file in $ac_files
|
2344 | |
do
|
2345 | |
case $ac_file in
|
2346 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
2347 | |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
2348 | |
esac
|
2349 | |
done
|
2350 | |
rm -f $ac_rmfiles
|
2351 | |
|
2352 | |
if { (ac_try="$ac_link_default"
|
2353 | |
case "(($ac_try" in
|
2354 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2355 | |
*) ac_try_echo=$ac_try;;
|
2356 | |
esac
|
2357 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2931 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2932 |
$as_echo "$ac_try_echo"; } >&5
|
2358 | 2933 |
(eval "$ac_link_default") 2>&5
|
2359 | 2934 |
ac_status=$?
|
2360 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2361 | |
(exit $ac_status); }; then
|
|
2935 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2936 |
test $ac_status = 0; }; then :
|
2362 | 2937 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2363 | 2938 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2364 | 2939 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2368 | 2943 |
do
|
2369 | 2944 |
test -f "$ac_file" || continue
|
2370 | 2945 |
case $ac_file in
|
2371 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
|
2946 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
2372 | 2947 |
;;
|
2373 | 2948 |
[ab].out )
|
2374 | 2949 |
# We found the default executable, but exeext='' is most
|
2375 | 2950 |
# certainly right.
|
2376 | 2951 |
break;;
|
2377 | 2952 |
*.* )
|
2378 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2953 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2379 | 2954 |
then :; else
|
2380 | 2955 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2381 | 2956 |
fi
|
|
2394 | 2969 |
else
|
2395 | 2970 |
ac_file=''
|
2396 | 2971 |
fi
|
2397 | |
|
2398 | |
{ echo "$as_me:$LINENO: result: $ac_file" >&5
|
2399 | |
echo "${ECHO_T}$ac_file" >&6; }
|
2400 | |
if test -z "$ac_file"; then
|
2401 | |
echo "$as_me: failed program was:" >&5
|
|
2972 |
if test -z "$ac_file"; then :
|
|
2973 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2974 |
$as_echo "no" >&6; }
|
|
2975 |
$as_echo "$as_me: failed program was:" >&5
|
2402 | 2976 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2403 | 2977 |
|
2404 | |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2405 | |
See \`config.log' for more details." >&5
|
2406 | |
echo "$as_me: error: C compiler cannot create executables
|
2407 | |
See \`config.log' for more details." >&2;}
|
2408 | |
{ (exit 77); exit 77; }; }
|
2409 | |
fi
|
2410 | |
|
|
2978 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2979 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2980 |
{ as_fn_set_status 77
|
|
2981 |
as_fn_error "C compiler cannot create executables
|
|
2982 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
|
2983 |
else
|
|
2984 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2985 |
$as_echo "yes" >&6; }
|
|
2986 |
fi
|
|
2987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
2988 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
2989 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
2990 |
$as_echo "$ac_file" >&6; }
|
2411 | 2991 |
ac_exeext=$ac_cv_exeext
|
2412 | 2992 |
|
2413 | |
# Check that the compiler produces executables we can run. If not, either
|
2414 | |
# the compiler is broken, or we cross compile.
|
2415 | |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2416 | |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
2417 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2418 | |
# If not cross compiling, check that we can run a simple program.
|
2419 | |
if test "$cross_compiling" != yes; then
|
2420 | |
if { ac_try='./$ac_file'
|
2421 | |
{ (case "(($ac_try" in
|
2422 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2423 | |
*) ac_try_echo=$ac_try;;
|
2424 | |
esac
|
2425 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2426 | |
(eval "$ac_try") 2>&5
|
2427 | |
ac_status=$?
|
2428 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2429 | |
(exit $ac_status); }; }; then
|
2430 | |
cross_compiling=no
|
2431 | |
else
|
2432 | |
if test "$cross_compiling" = maybe; then
|
2433 | |
cross_compiling=yes
|
2434 | |
else
|
2435 | |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
2436 | |
If you meant to cross compile, use \`--host'.
|
2437 | |
See \`config.log' for more details." >&5
|
2438 | |
echo "$as_me: error: cannot run C compiled programs.
|
2439 | |
If you meant to cross compile, use \`--host'.
|
2440 | |
See \`config.log' for more details." >&2;}
|
2441 | |
{ (exit 1); exit 1; }; }
|
2442 | |
fi
|
2443 | |
fi
|
2444 | |
fi
|
2445 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2446 | |
echo "${ECHO_T}yes" >&6; }
|
2447 | |
|
2448 | |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
|
2993 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2449 | 2994 |
ac_clean_files=$ac_clean_files_save
|
2450 | |
# Check that the compiler produces executables we can run. If not, either
|
2451 | |
# the compiler is broken, or we cross compile.
|
2452 | |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2453 | |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
2454 | |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2455 | |
echo "${ECHO_T}$cross_compiling" >&6; }
|
2456 | |
|
2457 | |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
2458 | |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
2459 | |
if { (ac_try="$ac_link"
|
|
2995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
2996 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
2997 |
if { { ac_try="$ac_link"
|
2460 | 2998 |
case "(($ac_try" in
|
2461 | 2999 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2462 | 3000 |
*) ac_try_echo=$ac_try;;
|
2463 | 3001 |
esac
|
2464 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3002 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3003 |
$as_echo "$ac_try_echo"; } >&5
|
2465 | 3004 |
(eval "$ac_link") 2>&5
|
2466 | 3005 |
ac_status=$?
|
2467 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2468 | |
(exit $ac_status); }; then
|
|
3006 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3007 |
test $ac_status = 0; }; then :
|
2469 | 3008 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2470 | 3009 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2471 | 3010 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2473 | 3012 |
for ac_file in conftest.exe conftest conftest.*; do
|
2474 | 3013 |
test -f "$ac_file" || continue
|
2475 | 3014 |
case $ac_file in
|
2476 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
3015 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
2477 | 3016 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2478 | 3017 |
break;;
|
2479 | 3018 |
* ) break;;
|
2480 | 3019 |
esac
|
2481 | 3020 |
done
|
2482 | 3021 |
else
|
2483 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2484 | |
See \`config.log' for more details." >&5
|
2485 | |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2486 | |
See \`config.log' for more details." >&2;}
|
2487 | |
{ (exit 1); exit 1; }; }
|
2488 | |
fi
|
2489 | |
|
2490 | |
rm -f conftest$ac_cv_exeext
|
2491 | |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
2492 | |
echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
|
3022 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3023 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3024 |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
|
3025 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3026 |
fi
|
|
3027 |
rm -f conftest conftest$ac_cv_exeext
|
|
3028 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
3029 |
$as_echo "$ac_cv_exeext" >&6; }
|
2493 | 3030 |
|
2494 | 3031 |
rm -f conftest.$ac_ext
|
2495 | 3032 |
EXEEXT=$ac_cv_exeext
|
2496 | 3033 |
ac_exeext=$EXEEXT
|
2497 | |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
2498 | |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
2499 | |
if test "${ac_cv_objext+set}" = set; then
|
2500 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2501 | |
else
|
2502 | |
cat >conftest.$ac_ext <<_ACEOF
|
2503 | |
/* confdefs.h. */
|
2504 | |
_ACEOF
|
2505 | |
cat confdefs.h >>conftest.$ac_ext
|
2506 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3034 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2507 | 3035 |
/* end confdefs.h. */
|
2508 | |
|
|
3036 |
#include <stdio.h>
|
2509 | 3037 |
int
|
2510 | 3038 |
main ()
|
2511 | 3039 |
{
|
|
3040 |
FILE *f = fopen ("conftest.out", "w");
|
|
3041 |
return ferror (f) || fclose (f) != 0;
|
2512 | 3042 |
|
2513 | 3043 |
;
|
2514 | 3044 |
return 0;
|
2515 | 3045 |
}
|
2516 | 3046 |
_ACEOF
|
2517 | |
rm -f conftest.o conftest.obj
|
2518 | |
if { (ac_try="$ac_compile"
|
|
3047 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
3048 |
# Check that the compiler produces executables we can run. If not, either
|
|
3049 |
# the compiler is broken, or we cross compile.
|
|
3050 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
3051 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
3052 |
if test "$cross_compiling" != yes; then
|
|
3053 |
{ { ac_try="$ac_link"
|
2519 | 3054 |
case "(($ac_try" in
|
2520 | 3055 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2521 | 3056 |
*) ac_try_echo=$ac_try;;
|
2522 | 3057 |
esac
|
2523 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3058 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3059 |
$as_echo "$ac_try_echo"; } >&5
|
|
3060 |
(eval "$ac_link") 2>&5
|
|
3061 |
ac_status=$?
|
|
3062 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3063 |
test $ac_status = 0; }
|
|
3064 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
3065 |
{ { case "(($ac_try" in
|
|
3066 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3067 |
*) ac_try_echo=$ac_try;;
|
|
3068 |
esac
|
|
3069 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3070 |
$as_echo "$ac_try_echo"; } >&5
|
|
3071 |
(eval "$ac_try") 2>&5
|
|
3072 |
ac_status=$?
|
|
3073 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3074 |
test $ac_status = 0; }; }; then
|
|
3075 |
cross_compiling=no
|
|
3076 |
else
|
|
3077 |
if test "$cross_compiling" = maybe; then
|
|
3078 |
cross_compiling=yes
|
|
3079 |
else
|
|
3080 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3081 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3082 |
as_fn_error "cannot run C compiled programs.
|
|
3083 |
If you meant to cross compile, use \`--host'.
|
|
3084 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3085 |
fi
|
|
3086 |
fi
|
|
3087 |
fi
|
|
3088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
3089 |
$as_echo "$cross_compiling" >&6; }
|
|
3090 |
|
|
3091 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
3092 |
ac_clean_files=$ac_clean_files_save
|
|
3093 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
3094 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
3095 |
if test "${ac_cv_objext+set}" = set; then :
|
|
3096 |
$as_echo_n "(cached) " >&6
|
|
3097 |
else
|
|
3098 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3099 |
/* end confdefs.h. */
|
|
3100 |
|
|
3101 |
int
|
|
3102 |
main ()
|
|
3103 |
{
|
|
3104 |
|
|
3105 |
;
|
|
3106 |
return 0;
|
|
3107 |
}
|
|
3108 |
_ACEOF
|
|
3109 |
rm -f conftest.o conftest.obj
|
|
3110 |
if { { ac_try="$ac_compile"
|
|
3111 |
case "(($ac_try" in
|
|
3112 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3113 |
*) ac_try_echo=$ac_try;;
|
|
3114 |
esac
|
|
3115 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3116 |
$as_echo "$ac_try_echo"; } >&5
|
2524 | 3117 |
(eval "$ac_compile") 2>&5
|
2525 | 3118 |
ac_status=$?
|
2526 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2527 | |
(exit $ac_status); }; then
|
|
3119 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3120 |
test $ac_status = 0; }; then :
|
2528 | 3121 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2529 | 3122 |
test -f "$ac_file" || continue;
|
2530 | 3123 |
case $ac_file in
|
2531 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
|
3124 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
2532 | 3125 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2533 | 3126 |
break;;
|
2534 | 3127 |
esac
|
2535 | 3128 |
done
|
2536 | 3129 |
else
|
2537 | |
echo "$as_me: failed program was:" >&5
|
|
3130 |
$as_echo "$as_me: failed program was:" >&5
|
2538 | 3131 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2539 | 3132 |
|
2540 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2541 | |
See \`config.log' for more details." >&5
|
2542 | |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2543 | |
See \`config.log' for more details." >&2;}
|
2544 | |
{ (exit 1); exit 1; }; }
|
2545 | |
fi
|
2546 | |
|
|
3133 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3134 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3135 |
as_fn_error "cannot compute suffix of object files: cannot compile
|
|
3136 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3137 |
fi
|
2547 | 3138 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2548 | 3139 |
fi
|
2549 | |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
2550 | |
echo "${ECHO_T}$ac_cv_objext" >&6; }
|
|
3140 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
3141 |
$as_echo "$ac_cv_objext" >&6; }
|
2551 | 3142 |
OBJEXT=$ac_cv_objext
|
2552 | 3143 |
ac_objext=$OBJEXT
|
2553 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
2554 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
2555 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2556 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2557 | |
else
|
2558 | |
cat >conftest.$ac_ext <<_ACEOF
|
2559 | |
/* confdefs.h. */
|
2560 | |
_ACEOF
|
2561 | |
cat confdefs.h >>conftest.$ac_ext
|
2562 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3144 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
|
3145 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
3146 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
|
3147 |
$as_echo_n "(cached) " >&6
|
|
3148 |
else
|
|
3149 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2563 | 3150 |
/* end confdefs.h. */
|
2564 | 3151 |
|
2565 | 3152 |
int
|
|
2573 | 3160 |
return 0;
|
2574 | 3161 |
}
|
2575 | 3162 |
_ACEOF
|
2576 | |
rm -f conftest.$ac_objext
|
2577 | |
if { (ac_try="$ac_compile"
|
2578 | |
case "(($ac_try" in
|
2579 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2580 | |
*) ac_try_echo=$ac_try;;
|
2581 | |
esac
|
2582 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2583 | |
(eval "$ac_compile") 2>conftest.er1
|
2584 | |
ac_status=$?
|
2585 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2586 | |
rm -f conftest.er1
|
2587 | |
cat conftest.err >&5
|
2588 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2589 | |
(exit $ac_status); } && {
|
2590 | |
test -z "$ac_c_werror_flag" ||
|
2591 | |
test ! -s conftest.err
|
2592 | |
} && test -s conftest.$ac_objext; then
|
|
3163 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2593 | 3164 |
ac_compiler_gnu=yes
|
2594 | 3165 |
else
|
2595 | |
echo "$as_me: failed program was:" >&5
|
2596 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2597 | |
|
2598 | |
ac_compiler_gnu=no
|
2599 | |
fi
|
2600 | |
|
|
3166 |
ac_compiler_gnu=no
|
|
3167 |
fi
|
2601 | 3168 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2602 | 3169 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2603 | 3170 |
|
2604 | 3171 |
fi
|
2605 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
2606 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
2607 | |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
3172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
3173 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
3174 |
if test $ac_compiler_gnu = yes; then
|
|
3175 |
GCC=yes
|
|
3176 |
else
|
|
3177 |
GCC=
|
|
3178 |
fi
|
2608 | 3179 |
ac_test_CFLAGS=${CFLAGS+set}
|
2609 | 3180 |
ac_save_CFLAGS=$CFLAGS
|
2610 | |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
2611 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
2612 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2613 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3181 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
3182 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
3183 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
|
3184 |
$as_echo_n "(cached) " >&6
|
2614 | 3185 |
else
|
2615 | 3186 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
2616 | 3187 |
ac_c_werror_flag=yes
|
2617 | 3188 |
ac_cv_prog_cc_g=no
|
2618 | 3189 |
CFLAGS="-g"
|
2619 | |
cat >conftest.$ac_ext <<_ACEOF
|
2620 | |
/* confdefs.h. */
|
2621 | |
_ACEOF
|
2622 | |
cat confdefs.h >>conftest.$ac_ext
|
2623 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3190 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2624 | 3191 |
/* end confdefs.h. */
|
2625 | 3192 |
|
2626 | 3193 |
int
|
|
2631 | 3198 |
return 0;
|
2632 | 3199 |
}
|
2633 | 3200 |
_ACEOF
|
2634 | |
rm -f conftest.$ac_objext
|
2635 | |
if { (ac_try="$ac_compile"
|
2636 | |
case "(($ac_try" in
|
2637 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2638 | |
*) ac_try_echo=$ac_try;;
|
2639 | |
esac
|
2640 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2641 | |
(eval "$ac_compile") 2>conftest.er1
|
2642 | |
ac_status=$?
|
2643 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2644 | |
rm -f conftest.er1
|
2645 | |
cat conftest.err >&5
|
2646 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2647 | |
(exit $ac_status); } && {
|
2648 | |
test -z "$ac_c_werror_flag" ||
|
2649 | |
test ! -s conftest.err
|
2650 | |
} && test -s conftest.$ac_objext; then
|
|
3201 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2651 | 3202 |
ac_cv_prog_cc_g=yes
|
2652 | 3203 |
else
|
2653 | |
echo "$as_me: failed program was:" >&5
|
2654 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2655 | |
|
2656 | |
CFLAGS=""
|
2657 | |
cat >conftest.$ac_ext <<_ACEOF
|
2658 | |
/* confdefs.h. */
|
2659 | |
_ACEOF
|
2660 | |
cat confdefs.h >>conftest.$ac_ext
|
2661 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3204 |
CFLAGS=""
|
|
3205 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2662 | 3206 |
/* end confdefs.h. */
|
2663 | 3207 |
|
2664 | 3208 |
int
|
|
2669 | 3213 |
return 0;
|
2670 | 3214 |
}
|
2671 | 3215 |
_ACEOF
|
2672 | |
rm -f conftest.$ac_objext
|
2673 | |
if { (ac_try="$ac_compile"
|
2674 | |
case "(($ac_try" in
|
2675 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2676 | |
*) ac_try_echo=$ac_try;;
|
2677 | |
esac
|
2678 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2679 | |
(eval "$ac_compile") 2>conftest.er1
|
2680 | |
ac_status=$?
|
2681 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2682 | |
rm -f conftest.er1
|
2683 | |
cat conftest.err >&5
|
2684 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2685 | |
(exit $ac_status); } && {
|
2686 | |
test -z "$ac_c_werror_flag" ||
|
2687 | |
test ! -s conftest.err
|
2688 | |
} && test -s conftest.$ac_objext; then
|
2689 | |
:
|
2690 | |
else
|
2691 | |
echo "$as_me: failed program was:" >&5
|
2692 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2693 | |
|
2694 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3216 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3217 |
|
|
3218 |
else
|
|
3219 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
2695 | 3220 |
CFLAGS="-g"
|
2696 | |
cat >conftest.$ac_ext <<_ACEOF
|
2697 | |
/* confdefs.h. */
|
2698 | |
_ACEOF
|
2699 | |
cat confdefs.h >>conftest.$ac_ext
|
2700 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3221 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2701 | 3222 |
/* end confdefs.h. */
|
2702 | 3223 |
|
2703 | 3224 |
int
|
|
2708 | 3229 |
return 0;
|
2709 | 3230 |
}
|
2710 | 3231 |
_ACEOF
|
2711 | |
rm -f conftest.$ac_objext
|
2712 | |
if { (ac_try="$ac_compile"
|
2713 | |
case "(($ac_try" in
|
2714 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2715 | |
*) ac_try_echo=$ac_try;;
|
2716 | |
esac
|
2717 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2718 | |
(eval "$ac_compile") 2>conftest.er1
|
2719 | |
ac_status=$?
|
2720 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2721 | |
rm -f conftest.er1
|
2722 | |
cat conftest.err >&5
|
2723 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2724 | |
(exit $ac_status); } && {
|
2725 | |
test -z "$ac_c_werror_flag" ||
|
2726 | |
test ! -s conftest.err
|
2727 | |
} && test -s conftest.$ac_objext; then
|
|
3232 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2728 | 3233 |
ac_cv_prog_cc_g=yes
|
2729 | |
else
|
2730 | |
echo "$as_me: failed program was:" >&5
|
2731 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2732 | |
|
2733 | |
|
2734 | |
fi
|
2735 | |
|
|
3234 |
fi
|
2736 | 3235 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2737 | 3236 |
fi
|
2738 | |
|
2739 | 3237 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2740 | 3238 |
fi
|
2741 | |
|
2742 | 3239 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2743 | 3240 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
2744 | 3241 |
fi
|
2745 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
2746 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
|
3242 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
3243 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
2747 | 3244 |
if test "$ac_test_CFLAGS" = set; then
|
2748 | 3245 |
CFLAGS=$ac_save_CFLAGS
|
2749 | 3246 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
2759 | 3256 |
CFLAGS=
|
2760 | 3257 |
fi
|
2761 | 3258 |
fi
|
2762 | |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
2763 | |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
2764 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
2765 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
3260 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
3261 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
|
3262 |
$as_echo_n "(cached) " >&6
|
2766 | 3263 |
else
|
2767 | 3264 |
ac_cv_prog_cc_c89=no
|
2768 | 3265 |
ac_save_CC=$CC
|
2769 | |
cat >conftest.$ac_ext <<_ACEOF
|
2770 | |
/* confdefs.h. */
|
2771 | |
_ACEOF
|
2772 | |
cat confdefs.h >>conftest.$ac_ext
|
2773 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3266 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2774 | 3267 |
/* end confdefs.h. */
|
2775 | 3268 |
#include <stdarg.h>
|
2776 | 3269 |
#include <stdio.h>
|
|
2827 | 3320 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2828 | 3321 |
do
|
2829 | 3322 |
CC="$ac_save_CC $ac_arg"
|
2830 | |
rm -f conftest.$ac_objext
|
2831 | |
if { (ac_try="$ac_compile"
|
2832 | |
case "(($ac_try" in
|
2833 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2834 | |
*) ac_try_echo=$ac_try;;
|
2835 | |
esac
|
2836 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2837 | |
(eval "$ac_compile") 2>conftest.er1
|
2838 | |
ac_status=$?
|
2839 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2840 | |
rm -f conftest.er1
|
2841 | |
cat conftest.err >&5
|
2842 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2843 | |
(exit $ac_status); } && {
|
2844 | |
test -z "$ac_c_werror_flag" ||
|
2845 | |
test ! -s conftest.err
|
2846 | |
} && test -s conftest.$ac_objext; then
|
|
3323 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2847 | 3324 |
ac_cv_prog_cc_c89=$ac_arg
|
2848 | |
else
|
2849 | |
echo "$as_me: failed program was:" >&5
|
2850 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2851 | |
|
2852 | |
|
2853 | |
fi
|
2854 | |
|
|
3325 |
fi
|
2855 | 3326 |
rm -f core conftest.err conftest.$ac_objext
|
2856 | 3327 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
2857 | 3328 |
done
|
|
2862 | 3333 |
# AC_CACHE_VAL
|
2863 | 3334 |
case "x$ac_cv_prog_cc_c89" in
|
2864 | 3335 |
x)
|
2865 | |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
2866 | |
echo "${ECHO_T}none needed" >&6; } ;;
|
|
3336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
3337 |
$as_echo "none needed" >&6; } ;;
|
2867 | 3338 |
xno)
|
2868 | |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
2869 | |
echo "${ECHO_T}unsupported" >&6; } ;;
|
|
3339 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
3340 |
$as_echo "unsupported" >&6; } ;;
|
2870 | 3341 |
*)
|
2871 | 3342 |
CC="$CC $ac_cv_prog_cc_c89"
|
2872 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
2873 | |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
3343 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
3344 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
2874 | 3345 |
esac
|
2875 | |
|
|
3346 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3347 |
|
|
3348 |
fi
|
2876 | 3349 |
|
2877 | 3350 |
ac_ext=c
|
2878 | 3351 |
ac_cpp='$CPP $CPPFLAGS'
|
|
2886 | 3359 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2887 | 3360 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2888 | 3361 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2889 | |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
2890 | |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
|
3362 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
|
3363 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
2891 | 3364 |
# On Suns, sometimes $CPP names a directory.
|
2892 | 3365 |
if test -n "$CPP" && test -d "$CPP"; then
|
2893 | 3366 |
CPP=
|
2894 | 3367 |
fi
|
2895 | 3368 |
if test -z "$CPP"; then
|
2896 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
2897 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3369 |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
|
3370 |
$as_echo_n "(cached) " >&6
|
2898 | 3371 |
else
|
2899 | 3372 |
# Double quotes because CPP needs to be expanded
|
2900 | 3373 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
2908 | 3381 |
# <limits.h> exists even on freestanding compilers.
|
2909 | 3382 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2910 | 3383 |
# not just through cpp. "Syntax error" is here to catch this case.
|
2911 | |
cat >conftest.$ac_ext <<_ACEOF
|
2912 | |
/* confdefs.h. */
|
2913 | |
_ACEOF
|
2914 | |
cat confdefs.h >>conftest.$ac_ext
|
2915 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3384 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2916 | 3385 |
/* end confdefs.h. */
|
2917 | 3386 |
#ifdef __STDC__
|
2918 | 3387 |
# include <limits.h>
|
|
2921 | 3390 |
#endif
|
2922 | 3391 |
Syntax error
|
2923 | 3392 |
_ACEOF
|
2924 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
2925 | |
case "(($ac_try" in
|
2926 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2927 | |
*) ac_try_echo=$ac_try;;
|
2928 | |
esac
|
2929 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2930 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2931 | |
ac_status=$?
|
2932 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2933 | |
rm -f conftest.er1
|
2934 | |
cat conftest.err >&5
|
2935 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2936 | |
(exit $ac_status); } >/dev/null && {
|
2937 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
2938 | |
test ! -s conftest.err
|
2939 | |
}; then
|
2940 | |
:
|
2941 | |
else
|
2942 | |
echo "$as_me: failed program was:" >&5
|
2943 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2944 | |
|
|
3393 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
3394 |
|
|
3395 |
else
|
2945 | 3396 |
# Broken: fails on valid input.
|
2946 | 3397 |
continue
|
2947 | 3398 |
fi
|
2948 | |
|
2949 | 3399 |
rm -f conftest.err conftest.$ac_ext
|
2950 | 3400 |
|
2951 | 3401 |
# OK, works on sane cases. Now check whether nonexistent headers
|
2952 | 3402 |
# can be detected and how.
|
2953 | |
cat >conftest.$ac_ext <<_ACEOF
|
2954 | |
/* confdefs.h. */
|
2955 | |
_ACEOF
|
2956 | |
cat confdefs.h >>conftest.$ac_ext
|
2957 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3403 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2958 | 3404 |
/* end confdefs.h. */
|
2959 | 3405 |
#include <ac_nonexistent.h>
|
2960 | 3406 |
_ACEOF
|
2961 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
2962 | |
case "(($ac_try" in
|
2963 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2964 | |
*) ac_try_echo=$ac_try;;
|
2965 | |
esac
|
2966 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2967 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2968 | |
ac_status=$?
|
2969 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2970 | |
rm -f conftest.er1
|
2971 | |
cat conftest.err >&5
|
2972 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2973 | |
(exit $ac_status); } >/dev/null && {
|
2974 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
2975 | |
test ! -s conftest.err
|
2976 | |
}; then
|
|
3407 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
2977 | 3408 |
# Broken: success on invalid input.
|
2978 | 3409 |
continue
|
2979 | 3410 |
else
|
2980 | |
echo "$as_me: failed program was:" >&5
|
2981 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2982 | |
|
2983 | 3411 |
# Passes both tests.
|
2984 | 3412 |
ac_preproc_ok=:
|
2985 | 3413 |
break
|
2986 | 3414 |
fi
|
2987 | |
|
2988 | 3415 |
rm -f conftest.err conftest.$ac_ext
|
2989 | 3416 |
|
2990 | 3417 |
done
|
2991 | 3418 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2992 | 3419 |
rm -f conftest.err conftest.$ac_ext
|
2993 | |
if $ac_preproc_ok; then
|
|
3420 |
if $ac_preproc_ok; then :
|
2994 | 3421 |
break
|
2995 | 3422 |
fi
|
2996 | 3423 |
|
|
3002 | 3429 |
else
|
3003 | 3430 |
ac_cv_prog_CPP=$CPP
|
3004 | 3431 |
fi
|
3005 | |
{ echo "$as_me:$LINENO: result: $CPP" >&5
|
3006 | |
echo "${ECHO_T}$CPP" >&6; }
|
|
3432 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
|
3433 |
$as_echo "$CPP" >&6; }
|
3007 | 3434 |
ac_preproc_ok=false
|
3008 | 3435 |
for ac_c_preproc_warn_flag in '' yes
|
3009 | 3436 |
do
|
|
3013 | 3440 |
# <limits.h> exists even on freestanding compilers.
|
3014 | 3441 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3015 | 3442 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3016 | |
cat >conftest.$ac_ext <<_ACEOF
|
3017 | |
/* confdefs.h. */
|
3018 | |
_ACEOF
|
3019 | |
cat confdefs.h >>conftest.$ac_ext
|
3020 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3443 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3021 | 3444 |
/* end confdefs.h. */
|
3022 | 3445 |
#ifdef __STDC__
|
3023 | 3446 |
# include <limits.h>
|
|
3026 | 3449 |
#endif
|
3027 | 3450 |
Syntax error
|
3028 | 3451 |
_ACEOF
|
3029 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3030 | |
case "(($ac_try" in
|
3031 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3032 | |
*) ac_try_echo=$ac_try;;
|
3033 | |
esac
|
3034 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3035 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3036 | |
ac_status=$?
|
3037 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3038 | |
rm -f conftest.er1
|
3039 | |
cat conftest.err >&5
|
3040 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3041 | |
(exit $ac_status); } >/dev/null && {
|
3042 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3043 | |
test ! -s conftest.err
|
3044 | |
}; then
|
3045 | |
:
|
3046 | |
else
|
3047 | |
echo "$as_me: failed program was:" >&5
|
3048 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3049 | |
|
|
3452 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
3453 |
|
|
3454 |
else
|
3050 | 3455 |
# Broken: fails on valid input.
|
3051 | 3456 |
continue
|
3052 | 3457 |
fi
|
3053 | |
|
3054 | 3458 |
rm -f conftest.err conftest.$ac_ext
|
3055 | 3459 |
|
3056 | 3460 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3057 | 3461 |
# can be detected and how.
|
3058 | |
cat >conftest.$ac_ext <<_ACEOF
|
3059 | |
/* confdefs.h. */
|
3060 | |
_ACEOF
|
3061 | |
cat confdefs.h >>conftest.$ac_ext
|
3062 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3462 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3063 | 3463 |
/* end confdefs.h. */
|
3064 | 3464 |
#include <ac_nonexistent.h>
|
3065 | 3465 |
_ACEOF
|
3066 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3067 | |
case "(($ac_try" in
|
3068 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3069 | |
*) ac_try_echo=$ac_try;;
|
3070 | |
esac
|
3071 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3072 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3073 | |
ac_status=$?
|
3074 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3075 | |
rm -f conftest.er1
|
3076 | |
cat conftest.err >&5
|
3077 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3078 | |
(exit $ac_status); } >/dev/null && {
|
3079 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3080 | |
test ! -s conftest.err
|
3081 | |
}; then
|
|
3466 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3082 | 3467 |
# Broken: success on invalid input.
|
3083 | 3468 |
continue
|
3084 | 3469 |
else
|
3085 | |
echo "$as_me: failed program was:" >&5
|
3086 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3087 | |
|
3088 | 3470 |
# Passes both tests.
|
3089 | 3471 |
ac_preproc_ok=:
|
3090 | 3472 |
break
|
3091 | 3473 |
fi
|
3092 | |
|
3093 | 3474 |
rm -f conftest.err conftest.$ac_ext
|
3094 | 3475 |
|
3095 | 3476 |
done
|
3096 | 3477 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3097 | 3478 |
rm -f conftest.err conftest.$ac_ext
|
3098 | |
if $ac_preproc_ok; then
|
3099 | |
:
|
3100 | |
else
|
3101 | |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
3102 | |
See \`config.log' for more details." >&5
|
3103 | |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
3104 | |
See \`config.log' for more details." >&2;}
|
3105 | |
{ (exit 1); exit 1; }; }
|
|
3479 |
if $ac_preproc_ok; then :
|
|
3480 |
|
|
3481 |
else
|
|
3482 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3483 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3484 |
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
|
3485 |
See \`config.log' for more details." "$LINENO" 5; }
|
3106 | 3486 |
fi
|
3107 | 3487 |
|
3108 | 3488 |
ac_ext=c
|
|
3112 | 3492 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3113 | 3493 |
|
3114 | 3494 |
|
3115 | |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
3116 | |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
3117 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
3118 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3119 | |
else
|
3120 | |
# Extract the first word of "grep ggrep" to use in msg output
|
3121 | |
if test -z "$GREP"; then
|
3122 | |
set dummy grep ggrep; ac_prog_name=$2
|
3123 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
3124 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3125 | |
else
|
|
3495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
|
3496 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
|
3497 |
if test "${ac_cv_path_GREP+set}" = set; then :
|
|
3498 |
$as_echo_n "(cached) " >&6
|
|
3499 |
else
|
|
3500 |
if test -z "$GREP"; then
|
3126 | 3501 |
ac_path_GREP_found=false
|
3127 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3128 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3502 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3503 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3129 | 3504 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3130 | 3505 |
do
|
3131 | 3506 |
IFS=$as_save_IFS
|
3132 | 3507 |
test -z "$as_dir" && as_dir=.
|
3133 | |
for ac_prog in grep ggrep; do
|
3134 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3135 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
3136 | |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
3137 | |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
3508 |
for ac_prog in grep ggrep; do
|
|
3509 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3510 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3511 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
3512 |
# Check for GNU ac_path_GREP and select it if it is found.
|
3138 | 3513 |
# Check for GNU $ac_path_GREP
|
3139 | 3514 |
case `"$ac_path_GREP" --version 2>&1` in
|
3140 | 3515 |
*GNU*)
|
3141 | 3516 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
3142 | 3517 |
*)
|
3143 | 3518 |
ac_count=0
|
3144 | |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
3519 |
$as_echo_n 0123456789 >"conftest.in"
|
3145 | 3520 |
while :
|
3146 | 3521 |
do
|
3147 | 3522 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3148 | 3523 |
mv "conftest.tmp" "conftest.in"
|
3149 | 3524 |
cp "conftest.in" "conftest.nl"
|
3150 | |
echo 'GREP' >> "conftest.nl"
|
|
3525 |
$as_echo 'GREP' >> "conftest.nl"
|
3151 | 3526 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3152 | 3527 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3153 | |
ac_count=`expr $ac_count + 1`
|
|
3528 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3154 | 3529 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
3155 | 3530 |
# Best one so far, save it but keep looking for a better one
|
3156 | 3531 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
3162 | 3537 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3163 | 3538 |
esac
|
3164 | 3539 |
|
3165 | |
|
3166 | |
$ac_path_GREP_found && break 3
|
|
3540 |
$ac_path_GREP_found && break 3
|
|
3541 |
done
|
3167 | 3542 |
done
|
3168 | |
done
|
3169 | |
|
3170 | |
done
|
|
3543 |
done
|
3171 | 3544 |
IFS=$as_save_IFS
|
3172 | |
|
3173 | |
|
3174 | |
fi
|
3175 | |
|
3176 | |
GREP="$ac_cv_path_GREP"
|
3177 | |
if test -z "$GREP"; then
|
3178 | |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3179 | |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3180 | |
{ (exit 1); exit 1; }; }
|
3181 | |
fi
|
3182 | |
|
|
3545 |
if test -z "$ac_cv_path_GREP"; then
|
|
3546 |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
3547 |
fi
|
3183 | 3548 |
else
|
3184 | 3549 |
ac_cv_path_GREP=$GREP
|
3185 | 3550 |
fi
|
3186 | 3551 |
|
3187 | |
|
3188 | |
fi
|
3189 | |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
3190 | |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
3552 |
fi
|
|
3553 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
|
3554 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
3191 | 3555 |
GREP="$ac_cv_path_GREP"
|
3192 | 3556 |
|
3193 | 3557 |
|
3194 | |
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
3195 | |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
3196 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3197 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
3559 |
$as_echo_n "checking for egrep... " >&6; }
|
|
3560 |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
|
3561 |
$as_echo_n "(cached) " >&6
|
3198 | 3562 |
else
|
3199 | 3563 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
3200 | 3564 |
then ac_cv_path_EGREP="$GREP -E"
|
3201 | 3565 |
else
|
3202 | |
# Extract the first word of "egrep" to use in msg output
|
3203 | |
if test -z "$EGREP"; then
|
3204 | |
set dummy egrep; ac_prog_name=$2
|
3205 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3206 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3207 | |
else
|
|
3566 |
if test -z "$EGREP"; then
|
3208 | 3567 |
ac_path_EGREP_found=false
|
3209 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3210 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3568 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3569 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3211 | 3570 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3212 | 3571 |
do
|
3213 | 3572 |
IFS=$as_save_IFS
|
3214 | 3573 |
test -z "$as_dir" && as_dir=.
|
3215 | |
for ac_prog in egrep; do
|
3216 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3217 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
3218 | |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
3219 | |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
3574 |
for ac_prog in egrep; do
|
|
3575 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3576 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3577 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
3578 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
3220 | 3579 |
# Check for GNU $ac_path_EGREP
|
3221 | 3580 |
case `"$ac_path_EGREP" --version 2>&1` in
|
3222 | 3581 |
*GNU*)
|
3223 | 3582 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
3224 | 3583 |
*)
|
3225 | 3584 |
ac_count=0
|
3226 | |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
3585 |
$as_echo_n 0123456789 >"conftest.in"
|
3227 | 3586 |
while :
|
3228 | 3587 |
do
|
3229 | 3588 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3230 | 3589 |
mv "conftest.tmp" "conftest.in"
|
3231 | 3590 |
cp "conftest.in" "conftest.nl"
|
3232 | |
echo 'EGREP' >> "conftest.nl"
|
|
3591 |
$as_echo 'EGREP' >> "conftest.nl"
|
3233 | 3592 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3234 | 3593 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3235 | |
ac_count=`expr $ac_count + 1`
|
|
3594 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3236 | 3595 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
3237 | 3596 |
# Best one so far, save it but keep looking for a better one
|
3238 | 3597 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
3244 | 3603 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3245 | 3604 |
esac
|
3246 | 3605 |
|
3247 | |
|
3248 | |
$ac_path_EGREP_found && break 3
|
|
3606 |
$ac_path_EGREP_found && break 3
|
|
3607 |
done
|
3249 | 3608 |
done
|
3250 | |
done
|
3251 | |
|
3252 | |
done
|
|
3609 |
done
|
3253 | 3610 |
IFS=$as_save_IFS
|
3254 | |
|
3255 | |
|
3256 | |
fi
|
3257 | |
|
3258 | |
EGREP="$ac_cv_path_EGREP"
|
3259 | |
if test -z "$EGREP"; then
|
3260 | |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3261 | |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3262 | |
{ (exit 1); exit 1; }; }
|
3263 | |
fi
|
3264 | |
|
|
3611 |
if test -z "$ac_cv_path_EGREP"; then
|
|
3612 |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
3613 |
fi
|
3265 | 3614 |
else
|
3266 | 3615 |
ac_cv_path_EGREP=$EGREP
|
3267 | 3616 |
fi
|
3268 | 3617 |
|
3269 | |
|
3270 | 3618 |
fi
|
3271 | 3619 |
fi
|
3272 | |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
3273 | |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
3620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
3621 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
3274 | 3622 |
EGREP="$ac_cv_path_EGREP"
|
3275 | 3623 |
|
3276 | 3624 |
|
3277 | |
|
3278 | |
{ echo "$as_me:$LINENO: checking for AIX" >&5
|
3279 | |
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
|
3280 | |
cat >conftest.$ac_ext <<_ACEOF
|
3281 | |
/* confdefs.h. */
|
3282 | |
_ACEOF
|
3283 | |
cat confdefs.h >>conftest.$ac_ext
|
3284 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3285 | |
/* end confdefs.h. */
|
3286 | |
#ifdef _AIX
|
3287 | |
yes
|
3288 | |
#endif
|
3289 | |
|
3290 | |
_ACEOF
|
3291 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3292 | |
$EGREP "yes" >/dev/null 2>&1; then
|
3293 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
3294 | |
echo "${ECHO_T}yes" >&6; }
|
3295 | |
cat >>confdefs.h <<\_ACEOF
|
3296 | |
#define _ALL_SOURCE 1
|
3297 | |
_ACEOF
|
3298 | |
|
3299 | |
else
|
3300 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
3301 | |
echo "${ECHO_T}no" >&6; }
|
3302 | |
fi
|
3303 | |
rm -f conftest*
|
3304 | |
|
3305 | |
|
3306 | |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
3307 | |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
3308 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
3309 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3310 | |
else
|
3311 | |
cat >conftest.$ac_ext <<_ACEOF
|
3312 | |
/* confdefs.h. */
|
3313 | |
_ACEOF
|
3314 | |
cat confdefs.h >>conftest.$ac_ext
|
3315 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3625 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
|
3626 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
|
3627 |
if test "${ac_cv_header_stdc+set}" = set; then :
|
|
3628 |
$as_echo_n "(cached) " >&6
|
|
3629 |
else
|
|
3630 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3316 | 3631 |
/* end confdefs.h. */
|
3317 | 3632 |
#include <stdlib.h>
|
3318 | 3633 |
#include <stdarg.h>
|
|
3327 | 3642 |
return 0;
|
3328 | 3643 |
}
|
3329 | 3644 |
_ACEOF
|
3330 | |
rm -f conftest.$ac_objext
|
3331 | |
if { (ac_try="$ac_compile"
|
3332 | |
case "(($ac_try" in
|
3333 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3334 | |
*) ac_try_echo=$ac_try;;
|
3335 | |
esac
|
3336 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3337 | |
(eval "$ac_compile") 2>conftest.er1
|
3338 | |
ac_status=$?
|
3339 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3340 | |
rm -f conftest.er1
|
3341 | |
cat conftest.err >&5
|
3342 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3343 | |
(exit $ac_status); } && {
|
3344 | |
test -z "$ac_c_werror_flag" ||
|
3345 | |
test ! -s conftest.err
|
3346 | |
} && test -s conftest.$ac_objext; then
|
|
3645 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3347 | 3646 |
ac_cv_header_stdc=yes
|
3348 | 3647 |
else
|
3349 | |
echo "$as_me: failed program was:" >&5
|
3350 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3351 | |
|
3352 | |
ac_cv_header_stdc=no
|
3353 | |
fi
|
3354 | |
|
|
3648 |
ac_cv_header_stdc=no
|
|
3649 |
fi
|
3355 | 3650 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3356 | 3651 |
|
3357 | 3652 |
if test $ac_cv_header_stdc = yes; then
|
3358 | 3653 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
3359 | |
cat >conftest.$ac_ext <<_ACEOF
|
3360 | |
/* confdefs.h. */
|
3361 | |
_ACEOF
|
3362 | |
cat confdefs.h >>conftest.$ac_ext
|
3363 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3654 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3364 | 3655 |
/* end confdefs.h. */
|
3365 | 3656 |
#include <string.h>
|
3366 | 3657 |
|
3367 | 3658 |
_ACEOF
|
3368 | 3659 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3369 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
3370 | |
:
|
|
3660 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
3661 |
|
3371 | 3662 |
else
|
3372 | 3663 |
ac_cv_header_stdc=no
|
3373 | 3664 |
fi
|
|
3377 | 3668 |
|
3378 | 3669 |
if test $ac_cv_header_stdc = yes; then
|
3379 | 3670 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
3380 | |
cat >conftest.$ac_ext <<_ACEOF
|
3381 | |
/* confdefs.h. */
|
3382 | |
_ACEOF
|
3383 | |
cat confdefs.h >>conftest.$ac_ext
|
3384 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3671 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3385 | 3672 |
/* end confdefs.h. */
|
3386 | 3673 |
#include <stdlib.h>
|
3387 | 3674 |
|
3388 | 3675 |
_ACEOF
|
3389 | 3676 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3390 | |
$EGREP "free" >/dev/null 2>&1; then
|
3391 | |
:
|
|
3677 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
3678 |
|
3392 | 3679 |
else
|
3393 | 3680 |
ac_cv_header_stdc=no
|
3394 | 3681 |
fi
|
|
3398 | 3685 |
|
3399 | 3686 |
if test $ac_cv_header_stdc = yes; then
|
3400 | 3687 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
3401 | |
if test "$cross_compiling" = yes; then
|
|
3688 |
if test "$cross_compiling" = yes; then :
|
3402 | 3689 |
:
|
3403 | 3690 |
else
|
3404 | |
cat >conftest.$ac_ext <<_ACEOF
|
3405 | |
/* confdefs.h. */
|
3406 | |
_ACEOF
|
3407 | |
cat confdefs.h >>conftest.$ac_ext
|
3408 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3691 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3409 | 3692 |
/* end confdefs.h. */
|
3410 | 3693 |
#include <ctype.h>
|
3411 | 3694 |
#include <stdlib.h>
|
|
3432 | 3715 |
return 0;
|
3433 | 3716 |
}
|
3434 | 3717 |
_ACEOF
|
3435 | |
rm -f conftest$ac_exeext
|
3436 | |
if { (ac_try="$ac_link"
|
3437 | |
case "(($ac_try" in
|
3438 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3439 | |
*) ac_try_echo=$ac_try;;
|
3440 | |
esac
|
3441 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3442 | |
(eval "$ac_link") 2>&5
|
3443 | |
ac_status=$?
|
3444 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3445 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3446 | |
{ (case "(($ac_try" in
|
3447 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3448 | |
*) ac_try_echo=$ac_try;;
|
3449 | |
esac
|
3450 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3451 | |
(eval "$ac_try") 2>&5
|
3452 | |
ac_status=$?
|
3453 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3454 | |
(exit $ac_status); }; }; then
|
3455 | |
:
|
3456 | |
else
|
3457 | |
echo "$as_me: program exited with status $ac_status" >&5
|
3458 | |
echo "$as_me: failed program was:" >&5
|
3459 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3460 | |
|
3461 | |
( exit $ac_status )
|
3462 | |
ac_cv_header_stdc=no
|
3463 | |
fi
|
3464 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3465 | |
fi
|
3466 | |
|
3467 | |
|
3468 | |
fi
|
3469 | |
fi
|
3470 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
3471 | |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
|
3718 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
3719 |
|
|
3720 |
else
|
|
3721 |
ac_cv_header_stdc=no
|
|
3722 |
fi
|
|
3723 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
3724 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
3725 |
fi
|
|
3726 |
|
|
3727 |
fi
|
|
3728 |
fi
|
|
3729 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
|
3730 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
3472 | 3731 |
if test $ac_cv_header_stdc = yes; then
|
3473 | 3732 |
|
3474 | |
cat >>confdefs.h <<\_ACEOF
|
3475 | |
#define STDC_HEADERS 1
|
3476 | |
_ACEOF
|
|
3733 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
3477 | 3734 |
|
3478 | 3735 |
fi
|
3479 | 3736 |
|
3480 | 3737 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
3481 | |
|
3482 | |
|
3483 | |
|
3484 | |
|
3485 | |
|
3486 | |
|
3487 | |
|
3488 | |
|
3489 | |
|
3490 | 3738 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
3491 | 3739 |
inttypes.h stdint.h unistd.h
|
3492 | |
do
|
3493 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3494 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3495 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
3496 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3497 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3498 | |
else
|
3499 | |
cat >conftest.$ac_ext <<_ACEOF
|
3500 | |
/* confdefs.h. */
|
3501 | |
_ACEOF
|
3502 | |
cat confdefs.h >>conftest.$ac_ext
|
3503 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3504 | |
/* end confdefs.h. */
|
3505 | |
$ac_includes_default
|
3506 | |
|
3507 | |
#include <$ac_header>
|
3508 | |
_ACEOF
|
3509 | |
rm -f conftest.$ac_objext
|
3510 | |
if { (ac_try="$ac_compile"
|
3511 | |
case "(($ac_try" in
|
3512 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3513 | |
*) ac_try_echo=$ac_try;;
|
3514 | |
esac
|
3515 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3516 | |
(eval "$ac_compile") 2>conftest.er1
|
3517 | |
ac_status=$?
|
3518 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3519 | |
rm -f conftest.er1
|
3520 | |
cat conftest.err >&5
|
3521 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3522 | |
(exit $ac_status); } && {
|
3523 | |
test -z "$ac_c_werror_flag" ||
|
3524 | |
test ! -s conftest.err
|
3525 | |
} && test -s conftest.$ac_objext; then
|
3526 | |
eval "$as_ac_Header=yes"
|
3527 | |
else
|
3528 | |
echo "$as_me: failed program was:" >&5
|
3529 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3530 | |
|
3531 | |
eval "$as_ac_Header=no"
|
3532 | |
fi
|
3533 | |
|
3534 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3535 | |
fi
|
3536 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
3537 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3538 | |
echo "${ECHO_T}$ac_res" >&6; }
|
3539 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
3740 |
do :
|
|
3741 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
3742 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
3743 |
"
|
|
3744 |
eval as_val=\$$as_ac_Header
|
|
3745 |
if test "x$as_val" = x""yes; then :
|
3540 | 3746 |
cat >>confdefs.h <<_ACEOF
|
3541 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
3747 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3542 | 3748 |
_ACEOF
|
3543 | 3749 |
|
3544 | 3750 |
fi
|
|
3546 | 3752 |
done
|
3547 | 3753 |
|
3548 | 3754 |
|
3549 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3550 | |
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
3551 | |
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
|
3552 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3553 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3554 | |
fi
|
3555 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
3556 | |
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
|
3557 | |
else
|
3558 | |
# Is the header compilable?
|
3559 | |
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
3560 | |
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
|
3561 | |
cat >conftest.$ac_ext <<_ACEOF
|
3562 | |
/* confdefs.h. */
|
3563 | |
_ACEOF
|
3564 | |
cat confdefs.h >>conftest.$ac_ext
|
3565 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3566 | |
/* end confdefs.h. */
|
3567 | |
$ac_includes_default
|
3568 | |
#include <minix/config.h>
|
3569 | |
_ACEOF
|
3570 | |
rm -f conftest.$ac_objext
|
3571 | |
if { (ac_try="$ac_compile"
|
3572 | |
case "(($ac_try" in
|
3573 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3574 | |
*) ac_try_echo=$ac_try;;
|
3575 | |
esac
|
3576 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3577 | |
(eval "$ac_compile") 2>conftest.er1
|
3578 | |
ac_status=$?
|
3579 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3580 | |
rm -f conftest.er1
|
3581 | |
cat conftest.err >&5
|
3582 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3583 | |
(exit $ac_status); } && {
|
3584 | |
test -z "$ac_c_werror_flag" ||
|
3585 | |
test ! -s conftest.err
|
3586 | |
} && test -s conftest.$ac_objext; then
|
3587 | |
ac_header_compiler=yes
|
3588 | |
else
|
3589 | |
echo "$as_me: failed program was:" >&5
|
3590 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3591 | |
|
3592 | |
ac_header_compiler=no
|
3593 | |
fi
|
3594 | |
|
3595 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3596 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3597 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
3598 | |
|
3599 | |
# Is the header present?
|
3600 | |
{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
3601 | |
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
|
3602 | |
cat >conftest.$ac_ext <<_ACEOF
|
3603 | |
/* confdefs.h. */
|
3604 | |
_ACEOF
|
3605 | |
cat confdefs.h >>conftest.$ac_ext
|
3606 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3607 | |
/* end confdefs.h. */
|
3608 | |
#include <minix/config.h>
|
3609 | |
_ACEOF
|
3610 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3611 | |
case "(($ac_try" in
|
3612 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3613 | |
*) ac_try_echo=$ac_try;;
|
3614 | |
esac
|
3615 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3616 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3617 | |
ac_status=$?
|
3618 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3619 | |
rm -f conftest.er1
|
3620 | |
cat conftest.err >&5
|
3621 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3622 | |
(exit $ac_status); } >/dev/null && {
|
3623 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3624 | |
test ! -s conftest.err
|
3625 | |
}; then
|
3626 | |
ac_header_preproc=yes
|
3627 | |
else
|
3628 | |
echo "$as_me: failed program was:" >&5
|
3629 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3630 | |
|
3631 | |
ac_header_preproc=no
|
3632 | |
fi
|
3633 | |
|
3634 | |
rm -f conftest.err conftest.$ac_ext
|
3635 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
3636 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
3637 | |
|
3638 | |
# So? What about this header?
|
3639 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
3640 | |
yes:no: )
|
3641 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
3642 | |
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
3643 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
3644 | |
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
3645 | |
ac_header_preproc=yes
|
3646 | |
;;
|
3647 | |
no:yes:* )
|
3648 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
3649 | |
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
3650 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
3651 | |
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
3652 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
3653 | |
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
3654 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
3655 | |
echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
3656 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
3657 | |
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
3658 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
3659 | |
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
3660 | |
|
3661 | |
;;
|
3662 | |
esac
|
3663 | |
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
3664 | |
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
|
3665 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3666 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3667 | |
else
|
3668 | |
ac_cv_header_minix_config_h=$ac_header_preproc
|
3669 | |
fi
|
3670 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
3671 | |
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
|
3672 | |
|
3673 | |
fi
|
3674 | |
if test $ac_cv_header_minix_config_h = yes; then
|
|
3755 |
|
|
3756 |
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
|
3757 |
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
|
3675 | 3758 |
MINIX=yes
|
3676 | 3759 |
else
|
3677 | 3760 |
MINIX=
|
3678 | 3761 |
fi
|
3679 | 3762 |
|
3680 | 3763 |
|
3681 | |
if test "$MINIX" = yes; then
|
3682 | |
|
3683 | |
cat >>confdefs.h <<\_ACEOF
|
3684 | |
#define _POSIX_SOURCE 1
|
3685 | |
_ACEOF
|
3686 | |
|
3687 | |
|
3688 | |
cat >>confdefs.h <<\_ACEOF
|
3689 | |
#define _POSIX_1_SOURCE 2
|
3690 | |
_ACEOF
|
3691 | |
|
3692 | |
|
3693 | |
cat >>confdefs.h <<\_ACEOF
|
3694 | |
#define _MINIX 1
|
3695 | |
_ACEOF
|
3696 | |
|
3697 | |
fi
|
3698 | |
|
3699 | |
|
3700 | |
|
3701 | |
|
3702 | |
|
3703 | |
|
3704 | |
|
3705 | |
|
3706 | |
|
3707 | |
|
3708 | |
|
3709 | |
{ echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
|
3710 | |
echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
|
3711 | |
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
|
3712 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3713 | |
else
|
3714 | |
cat >conftest.$ac_ext <<_ACEOF
|
3715 | |
/* confdefs.h. */
|
3716 | |
_ACEOF
|
3717 | |
cat confdefs.h >>conftest.$ac_ext
|
3718 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3764 |
if test "$MINIX" = yes; then
|
|
3765 |
|
|
3766 |
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
|
3767 |
|
|
3768 |
|
|
3769 |
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
|
3770 |
|
|
3771 |
|
|
3772 |
$as_echo "#define _MINIX 1" >>confdefs.h
|
|
3773 |
|
|
3774 |
fi
|
|
3775 |
|
|
3776 |
|
|
3777 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
|
3778 |
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
|
3779 |
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
|
|
3780 |
$as_echo_n "(cached) " >&6
|
|
3781 |
else
|
|
3782 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3719 | 3783 |
/* end confdefs.h. */
|
3720 | 3784 |
|
3721 | 3785 |
# define __EXTENSIONS__ 1
|
|
3728 | 3792 |
return 0;
|
3729 | 3793 |
}
|
3730 | 3794 |
_ACEOF
|
3731 | |
rm -f conftest.$ac_objext
|
3732 | |
if { (ac_try="$ac_compile"
|
3733 | |
case "(($ac_try" in
|
3734 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3735 | |
*) ac_try_echo=$ac_try;;
|
3736 | |
esac
|
3737 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3738 | |
(eval "$ac_compile") 2>conftest.er1
|
3739 | |
ac_status=$?
|
3740 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3741 | |
rm -f conftest.er1
|
3742 | |
cat conftest.err >&5
|
3743 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3744 | |
(exit $ac_status); } && {
|
3745 | |
test -z "$ac_c_werror_flag" ||
|
3746 | |
test ! -s conftest.err
|
3747 | |
} && test -s conftest.$ac_objext; then
|
|
3795 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3748 | 3796 |
ac_cv_safe_to_define___extensions__=yes
|
3749 | 3797 |
else
|
3750 | |
echo "$as_me: failed program was:" >&5
|
3751 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3752 | |
|
3753 | |
ac_cv_safe_to_define___extensions__=no
|
3754 | |
fi
|
3755 | |
|
|
3798 |
ac_cv_safe_to_define___extensions__=no
|
|
3799 |
fi
|
3756 | 3800 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3757 | 3801 |
fi
|
3758 | |
{ echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
|
3759 | |
echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
|
|
3802 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
|
3803 |
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
3760 | 3804 |
test $ac_cv_safe_to_define___extensions__ = yes &&
|
3761 | |
cat >>confdefs.h <<\_ACEOF
|
3762 | |
#define __EXTENSIONS__ 1
|
3763 | |
_ACEOF
|
3764 | |
|
3765 | |
cat >>confdefs.h <<\_ACEOF
|
3766 | |
#define _POSIX_PTHREAD_SEMANTICS 1
|
3767 | |
_ACEOF
|
3768 | |
|
3769 | |
cat >>confdefs.h <<\_ACEOF
|
3770 | |
#define _TANDEM_SOURCE 1
|
3771 | |
_ACEOF
|
|
3805 |
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
|
3806 |
|
|
3807 |
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
|
3808 |
|
|
3809 |
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
|
3810 |
|
|
3811 |
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
|
3812 |
|
|
3813 |
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
3772 | 3814 |
|
3773 | 3815 |
|
3774 | 3816 |
|
|
3789 | 3831 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
3790 | 3832 |
# OS/2's system install, which has a completely different semantic
|
3791 | 3833 |
# ./install, which can be erroneously created by make from ./install.sh.
|
3792 | |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
3793 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
|
3834 |
# Reject install programs that cannot install multiple files.
|
|
3835 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
3836 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
3794 | 3837 |
if test -z "$INSTALL"; then
|
3795 | |
if test "${ac_cv_path_install+set}" = set; then
|
3796 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3838 |
if test "${ac_cv_path_install+set}" = set; then :
|
|
3839 |
$as_echo_n "(cached) " >&6
|
3797 | 3840 |
else
|
3798 | 3841 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3799 | 3842 |
for as_dir in $PATH
|
3800 | 3843 |
do
|
3801 | 3844 |
IFS=$as_save_IFS
|
3802 | 3845 |
test -z "$as_dir" && as_dir=.
|
3803 | |
# Account for people who put trailing slashes in PATH elements.
|
3804 | |
case $as_dir/ in
|
3805 | |
./ | .// | /cC/* | \
|
|
3846 |
# Account for people who put trailing slashes in PATH elements.
|
|
3847 |
case $as_dir/ in #((
|
|
3848 |
./ | .// | /[cC]/* | \
|
3806 | 3849 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
3807 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
3850 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
3808 | 3851 |
/usr/ucb/* ) ;;
|
3809 | 3852 |
*)
|
3810 | 3853 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
3822 | 3865 |
# program-specific install script used by HP pwplus--don't use.
|
3823 | 3866 |
:
|
3824 | 3867 |
else
|
3825 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
3826 | |
break 3
|
|
3868 |
rm -rf conftest.one conftest.two conftest.dir
|
|
3869 |
echo one > conftest.one
|
|
3870 |
echo two > conftest.two
|
|
3871 |
mkdir conftest.dir
|
|
3872 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
3873 |
test -s conftest.one && test -s conftest.two &&
|
|
3874 |
test -s conftest.dir/conftest.one &&
|
|
3875 |
test -s conftest.dir/conftest.two
|
|
3876 |
then
|
|
3877 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
3878 |
break 3
|
|
3879 |
fi
|
3827 | 3880 |
fi
|
3828 | 3881 |
fi
|
3829 | 3882 |
done
|
3830 | 3883 |
done
|
3831 | 3884 |
;;
|
3832 | 3885 |
esac
|
3833 | |
done
|
|
3886 |
|
|
3887 |
done
|
3834 | 3888 |
IFS=$as_save_IFS
|
3835 | 3889 |
|
|
3890 |
rm -rf conftest.one conftest.two conftest.dir
|
3836 | 3891 |
|
3837 | 3892 |
fi
|
3838 | 3893 |
if test "${ac_cv_path_install+set}" = set; then
|
|
3845 | 3900 |
INSTALL=$ac_install_sh
|
3846 | 3901 |
fi
|
3847 | 3902 |
fi
|
3848 | |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
3849 | |
echo "${ECHO_T}$INSTALL" >&6; }
|
|
3903 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
3904 |
$as_echo "$INSTALL" >&6; }
|
3850 | 3905 |
|
3851 | 3906 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
3852 | 3907 |
# It thinks the first close brace ends the variable substitution.
|
|
3856 | 3911 |
|
3857 | 3912 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
3858 | 3913 |
|
3859 | |
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
3860 | |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
|
|
3914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
3915 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
3861 | 3916 |
# Just in case
|
3862 | 3917 |
sleep 1
|
3863 | 3918 |
echo timestamp > conftest.file
|
|
3880 | 3935 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
3881 | 3936 |
# broken ls alias from the environment. This has actually
|
3882 | 3937 |
# happened. Such a system could not be considered "sane".
|
3883 | |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
3884 | |
alias in your environment" >&5
|
3885 | |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
3886 | |
alias in your environment" >&2;}
|
3887 | |
{ (exit 1); exit 1; }; }
|
|
3938 |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
|
3939 |
alias in your environment" "$LINENO" 5
|
3888 | 3940 |
fi
|
3889 | 3941 |
|
3890 | 3942 |
test "$2" = conftest.file
|
|
3893 | 3945 |
# Ok.
|
3894 | 3946 |
:
|
3895 | 3947 |
else
|
3896 | |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
3897 | |
Check your system clock" >&5
|
3898 | |
echo "$as_me: error: newly created file is older than distributed files!
|
3899 | |
Check your system clock" >&2;}
|
3900 | |
{ (exit 1); exit 1; }; }
|
3901 | |
fi
|
3902 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
3903 | |
echo "${ECHO_T}yes" >&6; }
|
|
3948 |
as_fn_error "newly created file is older than distributed files!
|
|
3949 |
Check your system clock" "$LINENO" 5
|
|
3950 |
fi
|
|
3951 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3952 |
$as_echo "yes" >&6; }
|
3904 | 3953 |
test "$program_prefix" != NONE &&
|
3905 | 3954 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
3906 | 3955 |
# Use a double $ so make ignores it.
|
3907 | 3956 |
test "$program_suffix" != NONE &&
|
3908 | 3957 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
3909 | |
# Double any \ or $. echo might interpret backslashes.
|
|
3958 |
# Double any \ or $.
|
3910 | 3959 |
# By default was `s,x,x', remove it if useless.
|
3911 | |
cat <<\_ACEOF >conftest.sed
|
3912 | |
s/[\\$]/&&/g;s/;s,x,x,$//
|
3913 | |
_ACEOF
|
3914 | |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
3915 | |
rm -f conftest.sed
|
|
3960 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
|
3961 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
3916 | 3962 |
|
3917 | 3963 |
# expand $ac_aux_dir to an absolute path
|
3918 | 3964 |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
3923 | 3969 |
am_missing_run="$MISSING --run "
|
3924 | 3970 |
else
|
3925 | 3971 |
am_missing_run=
|
3926 | |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
3927 | |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
3972 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
|
3973 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
3928 | 3974 |
fi
|
3929 | 3975 |
|
3930 | 3976 |
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
|
3964 | 4010 |
do
|
3965 | 4011 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3966 | 4012 |
set dummy $ac_prog; ac_word=$2
|
3967 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3968 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
3969 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
3970 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4013 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4014 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4015 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
|
4016 |
$as_echo_n "(cached) " >&6
|
3971 | 4017 |
else
|
3972 | 4018 |
if test -n "$AWK"; then
|
3973 | 4019 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
3977 | 4023 |
do
|
3978 | 4024 |
IFS=$as_save_IFS
|
3979 | 4025 |
test -z "$as_dir" && as_dir=.
|
3980 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4026 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3981 | 4027 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3982 | 4028 |
ac_cv_prog_AWK="$ac_prog"
|
3983 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4029 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3984 | 4030 |
break 2
|
3985 | 4031 |
fi
|
3986 | 4032 |
done
|
3987 | |
done
|
|
4033 |
done
|
3988 | 4034 |
IFS=$as_save_IFS
|
3989 | 4035 |
|
3990 | 4036 |
fi
|
3991 | 4037 |
fi
|
3992 | 4038 |
AWK=$ac_cv_prog_AWK
|
3993 | 4039 |
if test -n "$AWK"; then
|
3994 | |
{ echo "$as_me:$LINENO: result: $AWK" >&5
|
3995 | |
echo "${ECHO_T}$AWK" >&6; }
|
3996 | |
else
|
3997 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
3998 | |
echo "${ECHO_T}no" >&6; }
|
|
4040 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
4041 |
$as_echo "$AWK" >&6; }
|
|
4042 |
else
|
|
4043 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4044 |
$as_echo "no" >&6; }
|
3999 | 4045 |
fi
|
4000 | 4046 |
|
4001 | 4047 |
|
4002 | 4048 |
test -n "$AWK" && break
|
4003 | 4049 |
done
|
4004 | 4050 |
|
4005 | |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
4006 | |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
4007 | |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
4008 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
4009 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4051 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
4052 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
4053 |
set x ${MAKE-make}
|
|
4054 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
4055 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
4056 |
$as_echo_n "(cached) " >&6
|
4010 | 4057 |
else
|
4011 | 4058 |
cat >conftest.make <<\_ACEOF
|
4012 | 4059 |
SHELL = /bin/sh
|
|
4023 | 4070 |
rm -f conftest.make
|
4024 | 4071 |
fi
|
4025 | 4072 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
4026 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
4027 | |
echo "${ECHO_T}yes" >&6; }
|
|
4073 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
4074 |
$as_echo "yes" >&6; }
|
4028 | 4075 |
SET_MAKE=
|
4029 | 4076 |
else
|
4030 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4031 | |
echo "${ECHO_T}no" >&6; }
|
|
4077 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4078 |
$as_echo "no" >&6; }
|
4032 | 4079 |
SET_MAKE="MAKE=${MAKE-make}"
|
4033 | 4080 |
fi
|
4034 | 4081 |
|
|
4053 | 4100 |
.PHONY: am__doit
|
4054 | 4101 |
END
|
4055 | 4102 |
# If we don't find an include directive, just comment out the code.
|
4056 | |
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
4057 | |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
|
|
4103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
|
4104 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
4058 | 4105 |
am__include="#"
|
4059 | 4106 |
am__quote=
|
4060 | 4107 |
_am_result=none
|
|
4081 | 4128 |
fi
|
4082 | 4129 |
|
4083 | 4130 |
|
4084 | |
{ echo "$as_me:$LINENO: result: $_am_result" >&5
|
4085 | |
echo "${ECHO_T}$_am_result" >&6; }
|
|
4131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
|
4132 |
$as_echo "$_am_result" >&6; }
|
4086 | 4133 |
rm -f confinc confmf
|
4087 | 4134 |
|
4088 | 4135 |
# Check whether --enable-dependency-tracking was given.
|
4089 | |
if test "${enable_dependency_tracking+set}" = set; then
|
|
4136 |
if test "${enable_dependency_tracking+set}" = set; then :
|
4090 | 4137 |
enableval=$enable_dependency_tracking;
|
4091 | 4138 |
fi
|
4092 | 4139 |
|
|
4109 | 4156 |
# test to see if srcdir already configured
|
4110 | 4157 |
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
4111 | 4158 |
test -f $srcdir/config.status; then
|
4112 | |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
4113 | |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
4114 | |
{ (exit 1); exit 1; }; }
|
|
4159 |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
4115 | 4160 |
fi
|
4116 | 4161 |
|
4117 | 4162 |
# test whether we have cygpath
|
|
4126 | 4171 |
|
4127 | 4172 |
# Define the identity of the package.
|
4128 | 4173 |
PACKAGE=lbreakout2
|
4129 | |
VERSION=2.6
|
|
4174 |
VERSION=2.6.1
|
4130 | 4175 |
|
4131 | 4176 |
|
4132 | 4177 |
cat >>confdefs.h <<_ACEOF
|
|
4164 | 4209 |
if test -n "$ac_tool_prefix"; then
|
4165 | 4210 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
4166 | 4211 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
4167 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4168 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4169 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
4170 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4213 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4214 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
|
4215 |
$as_echo_n "(cached) " >&6
|
4171 | 4216 |
else
|
4172 | 4217 |
if test -n "$STRIP"; then
|
4173 | 4218 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
4177 | 4222 |
do
|
4178 | 4223 |
IFS=$as_save_IFS
|
4179 | 4224 |
test -z "$as_dir" && as_dir=.
|
4180 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4225 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4181 | 4226 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4182 | 4227 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
4183 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4228 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4184 | 4229 |
break 2
|
4185 | 4230 |
fi
|
4186 | 4231 |
done
|
4187 | |
done
|
|
4232 |
done
|
4188 | 4233 |
IFS=$as_save_IFS
|
4189 | 4234 |
|
4190 | 4235 |
fi
|
4191 | 4236 |
fi
|
4192 | 4237 |
STRIP=$ac_cv_prog_STRIP
|
4193 | 4238 |
if test -n "$STRIP"; then
|
4194 | |
{ echo "$as_me:$LINENO: result: $STRIP" >&5
|
4195 | |
echo "${ECHO_T}$STRIP" >&6; }
|
4196 | |
else
|
4197 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4198 | |
echo "${ECHO_T}no" >&6; }
|
|
4239 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
4240 |
$as_echo "$STRIP" >&6; }
|
|
4241 |
else
|
|
4242 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4243 |
$as_echo "no" >&6; }
|
4199 | 4244 |
fi
|
4200 | 4245 |
|
4201 | 4246 |
|
|
4204 | 4249 |
ac_ct_STRIP=$STRIP
|
4205 | 4250 |
# Extract the first word of "strip", so it can be a program name with args.
|
4206 | 4251 |
set dummy strip; ac_word=$2
|
4207 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4208 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4209 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
4210 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4252 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4253 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4254 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
|
4255 |
$as_echo_n "(cached) " >&6
|
4211 | 4256 |
else
|
4212 | 4257 |
if test -n "$ac_ct_STRIP"; then
|
4213 | 4258 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
4217 | 4262 |
do
|
4218 | 4263 |
IFS=$as_save_IFS
|
4219 | 4264 |
test -z "$as_dir" && as_dir=.
|
4220 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4265 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4221 | 4266 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4222 | 4267 |
ac_cv_prog_ac_ct_STRIP="strip"
|
4223 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4268 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4224 | 4269 |
break 2
|
4225 | 4270 |
fi
|
4226 | 4271 |
done
|
4227 | |
done
|
|
4272 |
done
|
4228 | 4273 |
IFS=$as_save_IFS
|
4229 | 4274 |
|
4230 | 4275 |
fi
|
4231 | 4276 |
fi
|
4232 | 4277 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
4233 | 4278 |
if test -n "$ac_ct_STRIP"; then
|
4234 | |
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
4235 | |
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
|
4236 | |
else
|
4237 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4238 | |
echo "${ECHO_T}no" >&6; }
|
|
4279 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
4280 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
4281 |
else
|
|
4282 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4283 |
$as_echo "no" >&6; }
|
4239 | 4284 |
fi
|
4240 | 4285 |
|
4241 | 4286 |
if test "x$ac_ct_STRIP" = x; then
|
|
4243 | 4288 |
else
|
4244 | 4289 |
case $cross_compiling:$ac_tool_warned in
|
4245 | 4290 |
yes:)
|
4246 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
4247 | |
whose name does not start with the host triplet. If you think this
|
4248 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
4249 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
4250 | |
whose name does not start with the host triplet. If you think this
|
4251 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
4291 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4292 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4252 | 4293 |
ac_tool_warned=yes ;;
|
4253 | 4294 |
esac
|
4254 | 4295 |
STRIP=$ac_ct_STRIP
|
|
4273 | 4314 |
|
4274 | 4315 |
depcc="$CC" am_compiler_list=
|
4275 | 4316 |
|
4276 | |
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
4277 | |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
|
4278 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
4279 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
4318 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
4319 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
|
4320 |
$as_echo_n "(cached) " >&6
|
4280 | 4321 |
else
|
4281 | 4322 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4282 | 4323 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
4363 | 4404 |
fi
|
4364 | 4405 |
|
4365 | 4406 |
fi
|
4366 | |
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
4367 | |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
4407 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
4408 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
4368 | 4409 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
4369 | 4410 |
|
4370 | 4411 |
|
|
4396 | 4437 |
|
4397 | 4438 |
|
4398 | 4439 |
|
4399 | |
{ echo "$as_me:$LINENO: checking whether NLS is requested" >&5
|
4400 | |
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
|
|
4440 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
|
|
4441 |
$as_echo_n "checking whether NLS is requested... " >&6; }
|
4401 | 4442 |
# Check whether --enable-nls was given.
|
4402 | |
if test "${enable_nls+set}" = set; then
|
|
4443 |
if test "${enable_nls+set}" = set; then :
|
4403 | 4444 |
enableval=$enable_nls; USE_NLS=$enableval
|
4404 | 4445 |
else
|
4405 | 4446 |
USE_NLS=yes
|
4406 | 4447 |
fi
|
4407 | 4448 |
|
4408 | |
{ echo "$as_me:$LINENO: result: $USE_NLS" >&5
|
4409 | |
echo "${ECHO_T}$USE_NLS" >&6; }
|
|
4449 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
|
|
4450 |
$as_echo "$USE_NLS" >&6; }
|
4410 | 4451 |
|
4411 | 4452 |
|
4412 | 4453 |
|
|
4443 | 4484 |
|
4444 | 4485 |
# Extract the first word of "msgfmt", so it can be a program name with args.
|
4445 | 4486 |
set dummy msgfmt; ac_word=$2
|
4446 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4447 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4448 | |
if test "${ac_cv_path_MSGFMT+set}" = set; then
|
4449 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4487 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4488 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4489 |
if test "${ac_cv_path_MSGFMT+set}" = set; then :
|
|
4490 |
$as_echo_n "(cached) " >&6
|
4450 | 4491 |
else
|
4451 | 4492 |
case "$MSGFMT" in
|
4452 | 4493 |
[\\/]* | ?:[\\/]*)
|
|
4474 | 4515 |
fi
|
4475 | 4516 |
MSGFMT="$ac_cv_path_MSGFMT"
|
4476 | 4517 |
if test "$MSGFMT" != ":"; then
|
4477 | |
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
|
4478 | |
echo "${ECHO_T}$MSGFMT" >&6; }
|
4479 | |
else
|
4480 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4481 | |
echo "${ECHO_T}no" >&6; }
|
|
4518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
|
|
4519 |
$as_echo "$MSGFMT" >&6; }
|
|
4520 |
else
|
|
4521 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4522 |
$as_echo "no" >&6; }
|
4482 | 4523 |
fi
|
4483 | 4524 |
|
4484 | 4525 |
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
4485 | 4526 |
set dummy gmsgfmt; ac_word=$2
|
4486 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4487 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4488 | |
if test "${ac_cv_path_GMSGFMT+set}" = set; then
|
4489 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4527 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4528 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4529 |
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
|
|
4530 |
$as_echo_n "(cached) " >&6
|
4490 | 4531 |
else
|
4491 | 4532 |
case $GMSGFMT in
|
4492 | 4533 |
[\\/]* | ?:[\\/]*)
|
|
4498 | 4539 |
do
|
4499 | 4540 |
IFS=$as_save_IFS
|
4500 | 4541 |
test -z "$as_dir" && as_dir=.
|
4501 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4542 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4502 | 4543 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4503 | 4544 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
|
4504 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4545 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4505 | 4546 |
break 2
|
4506 | 4547 |
fi
|
4507 | 4548 |
done
|
4508 | |
done
|
|
4549 |
done
|
4509 | 4550 |
IFS=$as_save_IFS
|
4510 | 4551 |
|
4511 | 4552 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
|
|
4514 | 4555 |
fi
|
4515 | 4556 |
GMSGFMT=$ac_cv_path_GMSGFMT
|
4516 | 4557 |
if test -n "$GMSGFMT"; then
|
4517 | |
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
|
4518 | |
echo "${ECHO_T}$GMSGFMT" >&6; }
|
4519 | |
else
|
4520 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4521 | |
echo "${ECHO_T}no" >&6; }
|
|
4558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
|
|
4559 |
$as_echo "$GMSGFMT" >&6; }
|
|
4560 |
else
|
|
4561 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4562 |
$as_echo "no" >&6; }
|
4522 | 4563 |
fi
|
4523 | 4564 |
|
4524 | 4565 |
|
|
4554 | 4595 |
|
4555 | 4596 |
# Extract the first word of "xgettext", so it can be a program name with args.
|
4556 | 4597 |
set dummy xgettext; ac_word=$2
|
4557 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4558 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4559 | |
if test "${ac_cv_path_XGETTEXT+set}" = set; then
|
4560 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4599 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4600 |
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
|
|
4601 |
$as_echo_n "(cached) " >&6
|
4561 | 4602 |
else
|
4562 | 4603 |
case "$XGETTEXT" in
|
4563 | 4604 |
[\\/]* | ?:[\\/]*)
|
|
4585 | 4626 |
fi
|
4586 | 4627 |
XGETTEXT="$ac_cv_path_XGETTEXT"
|
4587 | 4628 |
if test "$XGETTEXT" != ":"; then
|
4588 | |
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
|
4589 | |
echo "${ECHO_T}$XGETTEXT" >&6; }
|
4590 | |
else
|
4591 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4592 | |
echo "${ECHO_T}no" >&6; }
|
|
4629 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
|
|
4630 |
$as_echo "$XGETTEXT" >&6; }
|
|
4631 |
else
|
|
4632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4633 |
$as_echo "no" >&6; }
|
4593 | 4634 |
fi
|
4594 | 4635 |
|
4595 | 4636 |
rm -f messages.po
|
|
4625 | 4666 |
|
4626 | 4667 |
# Extract the first word of "msgmerge", so it can be a program name with args.
|
4627 | 4668 |
set dummy msgmerge; ac_word=$2
|
4628 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4629 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4630 | |
if test "${ac_cv_path_MSGMERGE+set}" = set; then
|
4631 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4669 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4670 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4671 |
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
|
|
4672 |
$as_echo_n "(cached) " >&6
|
4632 | 4673 |
else
|
4633 | 4674 |
case "$MSGMERGE" in
|
4634 | 4675 |
[\\/]* | ?:[\\/]*)
|
|
4655 | 4696 |
fi
|
4656 | 4697 |
MSGMERGE="$ac_cv_path_MSGMERGE"
|
4657 | 4698 |
if test "$MSGMERGE" != ":"; then
|
4658 | |
{ echo "$as_me:$LINENO: result: $MSGMERGE" >&5
|
4659 | |
echo "${ECHO_T}$MSGMERGE" >&6; }
|
4660 | |
else
|
4661 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4662 | |
echo "${ECHO_T}no" >&6; }
|
|
4699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
|
|
4700 |
$as_echo "$MSGMERGE" >&6; }
|
|
4701 |
else
|
|
4702 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4703 |
$as_echo "no" >&6; }
|
4663 | 4704 |
fi
|
4664 | 4705 |
|
4665 | 4706 |
|
|
4669 | 4710 |
: ;
|
4670 | 4711 |
else
|
4671 | 4712 |
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
|
4672 | |
{ echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
|
4673 | |
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
|
|
4713 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
|
|
4714 |
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
|
4674 | 4715 |
GMSGFMT=":"
|
4675 | 4716 |
fi
|
4676 | 4717 |
fi
|
|
4680 | 4721 |
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
|
4681 | 4722 |
: ;
|
4682 | 4723 |
else
|
4683 | |
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
|
4684 | |
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
|
|
4724 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
|
|
4725 |
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
|
4685 | 4726 |
XGETTEXT=":"
|
4686 | 4727 |
fi
|
4687 | 4728 |
rm -f messages.po
|
|
4693 | 4734 |
if test -n "$ac_tool_prefix"; then
|
4694 | 4735 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
4695 | 4736 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
4696 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4697 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4698 | |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
4699 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4738 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4739 |
if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
|
4740 |
$as_echo_n "(cached) " >&6
|
4700 | 4741 |
else
|
4701 | 4742 |
if test -n "$RANLIB"; then
|
4702 | 4743 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
4706 | 4747 |
do
|
4707 | 4748 |
IFS=$as_save_IFS
|
4708 | 4749 |
test -z "$as_dir" && as_dir=.
|
4709 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4750 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4710 | 4751 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4711 | 4752 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
4712 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4753 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4713 | 4754 |
break 2
|
4714 | 4755 |
fi
|
4715 | 4756 |
done
|
4716 | |
done
|
|
4757 |
done
|
4717 | 4758 |
IFS=$as_save_IFS
|
4718 | 4759 |
|
4719 | 4760 |
fi
|
4720 | 4761 |
fi
|
4721 | 4762 |
RANLIB=$ac_cv_prog_RANLIB
|
4722 | 4763 |
if test -n "$RANLIB"; then
|
4723 | |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
|
4724 | |
echo "${ECHO_T}$RANLIB" >&6; }
|
4725 | |
else
|
4726 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4727 | |
echo "${ECHO_T}no" >&6; }
|
|
4764 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|
4765 |
$as_echo "$RANLIB" >&6; }
|
|
4766 |
else
|
|
4767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4768 |
$as_echo "no" >&6; }
|
4728 | 4769 |
fi
|
4729 | 4770 |
|
4730 | 4771 |
|
|
4733 | 4774 |
ac_ct_RANLIB=$RANLIB
|
4734 | 4775 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
4735 | 4776 |
set dummy ranlib; ac_word=$2
|
4736 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4737 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4738 | |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
4739 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4777 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4778 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4779 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
|
4780 |
$as_echo_n "(cached) " >&6
|
4740 | 4781 |
else
|
4741 | 4782 |
if test -n "$ac_ct_RANLIB"; then
|
4742 | 4783 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
4746 | 4787 |
do
|
4747 | 4788 |
IFS=$as_save_IFS
|
4748 | 4789 |
test -z "$as_dir" && as_dir=.
|
4749 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4790 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4750 | 4791 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4751 | 4792 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
4752 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4793 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4753 | 4794 |
break 2
|
4754 | 4795 |
fi
|
4755 | 4796 |
done
|
4756 | |
done
|
|
4797 |
done
|
4757 | 4798 |
IFS=$as_save_IFS
|
4758 | 4799 |
|
4759 | 4800 |
fi
|
4760 | 4801 |
fi
|
4761 | 4802 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
4762 | 4803 |
if test -n "$ac_ct_RANLIB"; then
|
4763 | |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
4764 | |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
4765 | |
else
|
4766 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4767 | |
echo "${ECHO_T}no" >&6; }
|
|
4804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|
4805 |
$as_echo "$ac_ct_RANLIB" >&6; }
|
|
4806 |
else
|
|
4807 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4808 |
$as_echo "no" >&6; }
|
4768 | 4809 |
fi
|
4769 | 4810 |
|
4770 | 4811 |
if test "x$ac_ct_RANLIB" = x; then
|
|
4772 | 4813 |
else
|
4773 | 4814 |
case $cross_compiling:$ac_tool_warned in
|
4774 | 4815 |
yes:)
|
4775 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
4776 | |
whose name does not start with the host triplet. If you think this
|
4777 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
4778 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
4779 | |
whose name does not start with the host triplet. If you think this
|
4780 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
4816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4817 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4781 | 4818 |
ac_tool_warned=yes ;;
|
4782 | 4819 |
esac
|
4783 | 4820 |
RANLIB=$ac_ct_RANLIB
|
|
4787 | 4824 |
fi
|
4788 | 4825 |
|
4789 | 4826 |
|
4790 | |
{ echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
|
4791 | |
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
|
4792 | |
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
|
4793 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4827 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
|
|
4828 |
$as_echo_n "checking for strerror in -lcposix... " >&6; }
|
|
4829 |
if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
|
|
4830 |
$as_echo_n "(cached) " >&6
|
4794 | 4831 |
else
|
4795 | 4832 |
ac_check_lib_save_LIBS=$LIBS
|
4796 | 4833 |
LIBS="-lcposix $LIBS"
|
4797 | |
cat >conftest.$ac_ext <<_ACEOF
|
4798 | |
/* confdefs.h. */
|
4799 | |
_ACEOF
|
4800 | |
cat confdefs.h >>conftest.$ac_ext
|
4801 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4834 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4802 | 4835 |
/* end confdefs.h. */
|
4803 | 4836 |
|
4804 | 4837 |
/* Override any GCC internal prototype to avoid an error.
|
|
4816 | 4849 |
return 0;
|
4817 | 4850 |
}
|
4818 | 4851 |
_ACEOF
|
4819 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4820 | |
if { (ac_try="$ac_link"
|
4821 | |
case "(($ac_try" in
|
4822 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4823 | |
*) ac_try_echo=$ac_try;;
|
4824 | |
esac
|
4825 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4826 | |
(eval "$ac_link") 2>conftest.er1
|
4827 | |
ac_status=$?
|
4828 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4829 | |
rm -f conftest.er1
|
4830 | |
cat conftest.err >&5
|
4831 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4832 | |
(exit $ac_status); } && {
|
4833 | |
test -z "$ac_c_werror_flag" ||
|
4834 | |
test ! -s conftest.err
|
4835 | |
} && test -s conftest$ac_exeext &&
|
4836 | |
$as_test_x conftest$ac_exeext; then
|
|
4852 |
if ac_fn_c_try_link "$LINENO"; then :
|
4837 | 4853 |
ac_cv_lib_cposix_strerror=yes
|
4838 | 4854 |
else
|
4839 | |
echo "$as_me: failed program was:" >&5
|
4840 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4841 | |
|
4842 | |
ac_cv_lib_cposix_strerror=no
|
4843 | |
fi
|
4844 | |
|
4845 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4846 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4855 |
ac_cv_lib_cposix_strerror=no
|
|
4856 |
fi
|
|
4857 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4858 |
conftest$ac_exeext conftest.$ac_ext
|
4847 | 4859 |
LIBS=$ac_check_lib_save_LIBS
|
4848 | 4860 |
fi
|
4849 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
|
4850 | |
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
|
4851 | |
if test $ac_cv_lib_cposix_strerror = yes; then
|
|
4861 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
|
|
4862 |
$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
|
|
4863 |
if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
|
4852 | 4864 |
LIBS="$LIBS -lcposix"
|
4853 | 4865 |
fi
|
4854 | 4866 |
|
4855 | 4867 |
|
4856 | 4868 |
|
4857 | |
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
4858 | |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
|
4859 | |
if test "${ac_cv_c_const+set}" = set; then
|
4860 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4861 | |
else
|
4862 | |
cat >conftest.$ac_ext <<_ACEOF
|
4863 | |
/* confdefs.h. */
|
4864 | |
_ACEOF
|
4865 | |
cat confdefs.h >>conftest.$ac_ext
|
4866 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4869 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
|
4870 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
|
4871 |
if test "${ac_cv_c_const+set}" = set; then :
|
|
4872 |
$as_echo_n "(cached) " >&6
|
|
4873 |
else
|
|
4874 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4867 | 4875 |
/* end confdefs.h. */
|
4868 | 4876 |
|
4869 | 4877 |
int
|
|
4923 | 4931 |
return 0;
|
4924 | 4932 |
}
|
4925 | 4933 |
_ACEOF
|
4926 | |
rm -f conftest.$ac_objext
|
4927 | |
if { (ac_try="$ac_compile"
|
4928 | |
case "(($ac_try" in
|
4929 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4930 | |
*) ac_try_echo=$ac_try;;
|
4931 | |
esac
|
4932 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4933 | |
(eval "$ac_compile") 2>conftest.er1
|
4934 | |
ac_status=$?
|
4935 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4936 | |
rm -f conftest.er1
|
4937 | |
cat conftest.err >&5
|
4938 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4939 | |
(exit $ac_status); } && {
|
4940 | |
test -z "$ac_c_werror_flag" ||
|
4941 | |
test ! -s conftest.err
|
4942 | |
} && test -s conftest.$ac_objext; then
|
|
4934 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4943 | 4935 |
ac_cv_c_const=yes
|
4944 | 4936 |
else
|
4945 | |
echo "$as_me: failed program was:" >&5
|
4946 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4947 | |
|
4948 | |
ac_cv_c_const=no
|
4949 | |
fi
|
4950 | |
|
|
4937 |
ac_cv_c_const=no
|
|
4938 |
fi
|
4951 | 4939 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4952 | 4940 |
fi
|
4953 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
4954 | |
echo "${ECHO_T}$ac_cv_c_const" >&6; }
|
|
4941 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
|
4942 |
$as_echo "$ac_cv_c_const" >&6; }
|
4955 | 4943 |
if test $ac_cv_c_const = no; then
|
4956 | 4944 |
|
4957 | |
cat >>confdefs.h <<\_ACEOF
|
4958 | |
#define const
|
4959 | |
_ACEOF
|
4960 | |
|
4961 | |
fi
|
4962 | |
|
4963 | |
|
4964 | |
{ echo "$as_me:$LINENO: checking for signed" >&5
|
4965 | |
echo $ECHO_N "checking for signed... $ECHO_C" >&6; }
|
4966 | |
if test "${bh_cv_c_signed+set}" = set; then
|
4967 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4968 | |
else
|
4969 | |
cat >conftest.$ac_ext <<_ACEOF
|
4970 | |
/* confdefs.h. */
|
4971 | |
_ACEOF
|
4972 | |
cat confdefs.h >>conftest.$ac_ext
|
4973 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4945 |
$as_echo "#define const /**/" >>confdefs.h
|
|
4946 |
|
|
4947 |
fi
|
|
4948 |
|
|
4949 |
|
|
4950 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed" >&5
|
|
4951 |
$as_echo_n "checking for signed... " >&6; }
|
|
4952 |
if test "${bh_cv_c_signed+set}" = set; then :
|
|
4953 |
$as_echo_n "(cached) " >&6
|
|
4954 |
else
|
|
4955 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4974 | 4956 |
/* end confdefs.h. */
|
4975 | 4957 |
|
4976 | 4958 |
int
|
|
4981 | 4963 |
return 0;
|
4982 | 4964 |
}
|
4983 | 4965 |
_ACEOF
|
4984 | |
rm -f conftest.$ac_objext
|
4985 | |
if { (ac_try="$ac_compile"
|
4986 | |
case "(($ac_try" in
|
4987 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4988 | |
*) ac_try_echo=$ac_try;;
|
4989 | |
esac
|
4990 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4991 | |
(eval "$ac_compile") 2>conftest.er1
|
4992 | |
ac_status=$?
|
4993 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4994 | |
rm -f conftest.er1
|
4995 | |
cat conftest.err >&5
|
4996 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4997 | |
(exit $ac_status); } && {
|
4998 | |
test -z "$ac_c_werror_flag" ||
|
4999 | |
test ! -s conftest.err
|
5000 | |
} && test -s conftest.$ac_objext; then
|
|
4966 |
if ac_fn_c_try_compile "$LINENO"; then :
|
5001 | 4967 |
bh_cv_c_signed=yes
|
5002 | 4968 |
else
|
5003 | |
echo "$as_me: failed program was:" >&5
|
5004 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5005 | |
|
5006 | |
bh_cv_c_signed=no
|
5007 | |
fi
|
5008 | |
|
|
4969 |
bh_cv_c_signed=no
|
|
4970 |
fi
|
5009 | 4971 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5010 | 4972 |
fi
|
5011 | |
{ echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
|
5012 | |
echo "${ECHO_T}$bh_cv_c_signed" >&6; }
|
|
4973 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bh_cv_c_signed" >&5
|
|
4974 |
$as_echo "$bh_cv_c_signed" >&6; }
|
5013 | 4975 |
if test $bh_cv_c_signed = no; then
|
5014 | 4976 |
|
5015 | |
cat >>confdefs.h <<\_ACEOF
|
5016 | |
#define signed
|
5017 | |
_ACEOF
|
5018 | |
|
5019 | |
fi
|
5020 | |
|
5021 | |
{ echo "$as_me:$LINENO: checking for inline" >&5
|
5022 | |
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
|
5023 | |
if test "${ac_cv_c_inline+set}" = set; then
|
5024 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4977 |
$as_echo "#define signed /**/" >>confdefs.h
|
|
4978 |
|
|
4979 |
fi
|
|
4980 |
|
|
4981 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
|
|
4982 |
$as_echo_n "checking for inline... " >&6; }
|
|
4983 |
if test "${ac_cv_c_inline+set}" = set; then :
|
|
4984 |
$as_echo_n "(cached) " >&6
|
5025 | 4985 |
else
|
5026 | 4986 |
ac_cv_c_inline=no
|
5027 | 4987 |
for ac_kw in inline __inline__ __inline; do
|
5028 | |
cat >conftest.$ac_ext <<_ACEOF
|
5029 | |
/* confdefs.h. */
|
5030 | |
_ACEOF
|
5031 | |
cat confdefs.h >>conftest.$ac_ext
|
5032 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4988 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5033 | 4989 |
/* end confdefs.h. */
|
5034 | 4990 |
#ifndef __cplusplus
|
5035 | 4991 |
typedef int foo_t;
|
|
5038 | 4994 |
#endif
|
5039 | 4995 |
|
5040 | 4996 |
_ACEOF
|
5041 | |
rm -f conftest.$ac_objext
|
5042 | |
if { (ac_try="$ac_compile"
|
5043 | |
case "(($ac_try" in
|
5044 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5045 | |
*) ac_try_echo=$ac_try;;
|
5046 | |
esac
|
5047 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5048 | |
(eval "$ac_compile") 2>conftest.er1
|
5049 | |
ac_status=$?
|
5050 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5051 | |
rm -f conftest.er1
|
5052 | |
cat conftest.err >&5
|
5053 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5054 | |
(exit $ac_status); } && {
|
5055 | |
test -z "$ac_c_werror_flag" ||
|
5056 | |
test ! -s conftest.err
|
5057 | |
} && test -s conftest.$ac_objext; then
|
|
4997 |
if ac_fn_c_try_compile "$LINENO"; then :
|
5058 | 4998 |
ac_cv_c_inline=$ac_kw
|
5059 | |
else
|
5060 | |
echo "$as_me: failed program was:" >&5
|
5061 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5062 | |
|
5063 | |
|
5064 | |
fi
|
5065 | |
|
|
4999 |
fi
|
5066 | 5000 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5067 | 5001 |
test "$ac_cv_c_inline" != no && break
|
5068 | 5002 |
done
|
5069 | 5003 |
|
5070 | 5004 |
fi
|
5071 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
|
5072 | |
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
|
5073 | |
|
|
5005 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
|
|
5006 |
$as_echo "$ac_cv_c_inline" >&6; }
|
5074 | 5007 |
|
5075 | 5008 |
case $ac_cv_c_inline in
|
5076 | 5009 |
inline | yes) ;;
|
|
5087 | 5020 |
;;
|
5088 | 5021 |
esac
|
5089 | 5022 |
|
5090 | |
{ echo "$as_me:$LINENO: checking for off_t" >&5
|
5091 | |
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
|
5092 | |
if test "${ac_cv_type_off_t+set}" = set; then
|
5093 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5094 | |
else
|
5095 | |
cat >conftest.$ac_ext <<_ACEOF
|
5096 | |
/* confdefs.h. */
|
5097 | |
_ACEOF
|
5098 | |
cat confdefs.h >>conftest.$ac_ext
|
5099 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5100 | |
/* end confdefs.h. */
|
5101 | |
$ac_includes_default
|
5102 | |
typedef off_t ac__type_new_;
|
5103 | |
int
|
5104 | |
main ()
|
5105 | |
{
|
5106 | |
if ((ac__type_new_ *) 0)
|
5107 | |
return 0;
|
5108 | |
if (sizeof (ac__type_new_))
|
5109 | |
return 0;
|
5110 | |
;
|
5111 | |
return 0;
|
5112 | |
}
|
5113 | |
_ACEOF
|
5114 | |
rm -f conftest.$ac_objext
|
5115 | |
if { (ac_try="$ac_compile"
|
5116 | |
case "(($ac_try" in
|
5117 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5118 | |
*) ac_try_echo=$ac_try;;
|
5119 | |
esac
|
5120 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5121 | |
(eval "$ac_compile") 2>conftest.er1
|
5122 | |
ac_status=$?
|
5123 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5124 | |
rm -f conftest.er1
|
5125 | |
cat conftest.err >&5
|
5126 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5127 | |
(exit $ac_status); } && {
|
5128 | |
test -z "$ac_c_werror_flag" ||
|
5129 | |
test ! -s conftest.err
|
5130 | |
} && test -s conftest.$ac_objext; then
|
5131 | |
ac_cv_type_off_t=yes
|
5132 | |
else
|
5133 | |
echo "$as_me: failed program was:" >&5
|
5134 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5135 | |
|
5136 | |
ac_cv_type_off_t=no
|
5137 | |
fi
|
5138 | |
|
5139 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5140 | |
fi
|
5141 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
5142 | |
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
|
5143 | |
if test $ac_cv_type_off_t = yes; then
|
5144 | |
:
|
|
5023 |
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
|
5024 |
if test "x$ac_cv_type_off_t" = x""yes; then :
|
|
5025 |
|
5145 | 5026 |
else
|
5146 | 5027 |
|
5147 | 5028 |
cat >>confdefs.h <<_ACEOF
|
|
5150 | 5031 |
|
5151 | 5032 |
fi
|
5152 | 5033 |
|
5153 | |
{ echo "$as_me:$LINENO: checking for size_t" >&5
|
5154 | |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
|
5155 | |
if test "${ac_cv_type_size_t+set}" = set; then
|
5156 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5157 | |
else
|
5158 | |
cat >conftest.$ac_ext <<_ACEOF
|
5159 | |
/* confdefs.h. */
|
5160 | |
_ACEOF
|
5161 | |
cat confdefs.h >>conftest.$ac_ext
|
5162 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5163 | |
/* end confdefs.h. */
|
5164 | |
$ac_includes_default
|
5165 | |
typedef size_t ac__type_new_;
|
5166 | |
int
|
5167 | |
main ()
|
5168 | |
{
|
5169 | |
if ((ac__type_new_ *) 0)
|
5170 | |
return 0;
|
5171 | |
if (sizeof (ac__type_new_))
|
5172 | |
return 0;
|
5173 | |
;
|
5174 | |
return 0;
|
5175 | |
}
|
5176 | |
_ACEOF
|
5177 | |
rm -f conftest.$ac_objext
|
5178 | |
if { (ac_try="$ac_compile"
|
5179 | |
case "(($ac_try" in
|
5180 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5181 | |
*) ac_try_echo=$ac_try;;
|
5182 | |
esac
|
5183 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5184 | |
(eval "$ac_compile") 2>conftest.er1
|
5185 | |
ac_status=$?
|
5186 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5187 | |
rm -f conftest.er1
|
5188 | |
cat conftest.err >&5
|
5189 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5190 | |
(exit $ac_status); } && {
|
5191 | |
test -z "$ac_c_werror_flag" ||
|
5192 | |
test ! -s conftest.err
|
5193 | |
} && test -s conftest.$ac_objext; then
|
5194 | |
ac_cv_type_size_t=yes
|
5195 | |
else
|
5196 | |
echo "$as_me: failed program was:" >&5
|
5197 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5198 | |
|
5199 | |
ac_cv_type_size_t=no
|
5200 | |
fi
|
5201 | |
|
5202 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5203 | |
fi
|
5204 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
5205 | |
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
|
5206 | |
if test $ac_cv_type_size_t = yes; then
|
5207 | |
:
|
|
5034 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
|
5035 |
if test "x$ac_cv_type_size_t" = x""yes; then :
|
|
5036 |
|
5208 | 5037 |
else
|
5209 | 5038 |
|
5210 | 5039 |
cat >>confdefs.h <<_ACEOF
|
|
5214 | 5043 |
fi
|
5215 | 5044 |
|
5216 | 5045 |
|
5217 | |
{ echo "$as_me:$LINENO: checking for long long" >&5
|
5218 | |
echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
|
5219 | |
if test "${ac_cv_type_long_long+set}" = set; then
|
5220 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5221 | |
else
|
5222 | |
cat >conftest.$ac_ext <<_ACEOF
|
5223 | |
/* confdefs.h. */
|
5224 | |
_ACEOF
|
5225 | |
cat confdefs.h >>conftest.$ac_ext
|
5226 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5046 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
|
|
5047 |
$as_echo_n "checking for long long... " >&6; }
|
|
5048 |
if test "${ac_cv_type_long_long+set}" = set; then :
|
|
5049 |
$as_echo_n "(cached) " >&6
|
|
5050 |
else
|
|
5051 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5227 | 5052 |
/* end confdefs.h. */
|
5228 | 5053 |
long long ll = 1LL; int i = 63;
|
5229 | 5054 |
int
|
|
5235 | 5060 |
return 0;
|
5236 | 5061 |
}
|
5237 | 5062 |
_ACEOF
|
5238 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5239 | |
if { (ac_try="$ac_link"
|
5240 | |
case "(($ac_try" in
|
5241 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5242 | |
*) ac_try_echo=$ac_try;;
|
5243 | |
esac
|
5244 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5245 | |
(eval "$ac_link") 2>conftest.er1
|
5246 | |
ac_status=$?
|
5247 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5248 | |
rm -f conftest.er1
|
5249 | |
cat conftest.err >&5
|
5250 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5251 | |
(exit $ac_status); } && {
|
5252 | |
test -z "$ac_c_werror_flag" ||
|
5253 | |
test ! -s conftest.err
|
5254 | |
} && test -s conftest$ac_exeext &&
|
5255 | |
$as_test_x conftest$ac_exeext; then
|
|
5063 |
if ac_fn_c_try_link "$LINENO"; then :
|
5256 | 5064 |
ac_cv_type_long_long=yes
|
5257 | 5065 |
else
|
5258 | |
echo "$as_me: failed program was:" >&5
|
5259 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5260 | |
|
5261 | |
ac_cv_type_long_long=no
|
5262 | |
fi
|
5263 | |
|
5264 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5265 | |
conftest$ac_exeext conftest.$ac_ext
|
5266 | |
fi
|
5267 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
|
5268 | |
echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
|
|
5066 |
ac_cv_type_long_long=no
|
|
5067 |
fi
|
|
5068 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5069 |
conftest$ac_exeext conftest.$ac_ext
|
|
5070 |
fi
|
|
5071 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long" >&5
|
|
5072 |
$as_echo "$ac_cv_type_long_long" >&6; }
|
5269 | 5073 |
if test $ac_cv_type_long_long = yes; then
|
5270 | 5074 |
|
5271 | |
cat >>confdefs.h <<\_ACEOF
|
5272 | |
#define HAVE_LONG_LONG 1
|
5273 | |
_ACEOF
|
5274 | |
|
5275 | |
fi
|
5276 | |
|
5277 | |
|
5278 | |
{ echo "$as_me:$LINENO: checking for long double" >&5
|
5279 | |
echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
|
5280 | |
if test "${gt_cv_c_long_double+set}" = set; then
|
5281 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5075 |
$as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
|
|
5076 |
|
|
5077 |
fi
|
|
5078 |
|
|
5079 |
|
|
5080 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
|
|
5081 |
$as_echo_n "checking for long double... " >&6; }
|
|
5082 |
if test "${gt_cv_c_long_double+set}" = set; then :
|
|
5083 |
$as_echo_n "(cached) " >&6
|
5282 | 5084 |
else
|
5283 | 5085 |
if test "$GCC" = yes; then
|
5284 | 5086 |
gt_cv_c_long_double=yes
|
5285 | 5087 |
else
|
5286 | |
cat >conftest.$ac_ext <<_ACEOF
|
5287 | |
/* confdefs.h. */
|
5288 | |
_ACEOF
|
5289 | |
cat confdefs.h >>conftest.$ac_ext
|
5290 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5088 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5291 | 5089 |
/* end confdefs.h. */
|
5292 | 5090 |
|
5293 | 5091 |
/* The Stardent Vistra knows sizeof(long double), but does not support it. */
|
|
5303 | 5101 |
return 0;
|
5304 | 5102 |
}
|
5305 | 5103 |
_ACEOF
|
5306 | |
rm -f conftest.$ac_objext
|
5307 | |
if { (ac_try="$ac_compile"
|
5308 | |
case "(($ac_try" in
|
5309 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5310 | |
*) ac_try_echo=$ac_try;;
|
5311 | |
esac
|
5312 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5313 | |
(eval "$ac_compile") 2>conftest.er1
|
5314 | |
ac_status=$?
|
5315 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5316 | |
rm -f conftest.er1
|
5317 | |
cat conftest.err >&5
|
5318 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5319 | |
(exit $ac_status); } && {
|
5320 | |
test -z "$ac_c_werror_flag" ||
|
5321 | |
test ! -s conftest.err
|
5322 | |
} && test -s conftest.$ac_objext; then
|
|
5104 |
if ac_fn_c_try_compile "$LINENO"; then :
|
5323 | 5105 |
gt_cv_c_long_double=yes
|
5324 | 5106 |
else
|
5325 | |
echo "$as_me: failed program was:" >&5
|
5326 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5327 | |
|
5328 | |
gt_cv_c_long_double=no
|
5329 | |
fi
|
5330 | |
|
|
5107 |
gt_cv_c_long_double=no
|
|
5108 |
fi
|
5331 | 5109 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5332 | 5110 |
fi
|
5333 | 5111 |
fi
|
5334 | |
{ echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
|
5335 | |
echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
|
|
5112 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
|
|
5113 |
$as_echo "$gt_cv_c_long_double" >&6; }
|
5336 | 5114 |
if test $gt_cv_c_long_double = yes; then
|
5337 | 5115 |
|
5338 | |
cat >>confdefs.h <<\_ACEOF
|
5339 | |
#define HAVE_LONG_DOUBLE 1
|
5340 | |
_ACEOF
|
5341 | |
|
5342 | |
fi
|
5343 | |
|
5344 | |
|
5345 | |
{ echo "$as_me:$LINENO: checking for wchar_t" >&5
|
5346 | |
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
|
5347 | |
if test "${gt_cv_c_wchar_t+set}" = set; then
|
5348 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5349 | |
else
|
5350 | |
cat >conftest.$ac_ext <<_ACEOF
|
5351 | |
/* confdefs.h. */
|
5352 | |
_ACEOF
|
5353 | |
cat confdefs.h >>conftest.$ac_ext
|
5354 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5116 |
$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
|
|
5117 |
|
|
5118 |
fi
|
|
5119 |
|
|
5120 |
|
|
5121 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
|
|
5122 |
$as_echo_n "checking for wchar_t... " >&6; }
|
|
5123 |
if test "${gt_cv_c_wchar_t+set}" = set; then :
|
|
5124 |
$as_echo_n "(cached) " >&6
|
|
5125 |
else
|
|
5126 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5355 | 5127 |
/* end confdefs.h. */
|
5356 | 5128 |
#include <stddef.h>
|
5357 | 5129 |
wchar_t foo = (wchar_t)'\0';
|
|
5363 | 5135 |
return 0;
|
5364 | 5136 |
}
|
5365 | 5137 |
_ACEOF
|
5366 | |
rm -f conftest.$ac_objext
|
5367 | |
if { (ac_try="$ac_compile"
|
5368 | |
case "(($ac_try" in
|
5369 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5370 | |
*) ac_try_echo=$ac_try;;
|
5371 | |
esac
|
5372 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5373 | |
(eval "$ac_compile") 2>conftest.er1
|
5374 | |
ac_status=$?
|
5375 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5376 | |
rm -f conftest.er1
|
5377 | |
cat conftest.err >&5
|
5378 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5379 | |
(exit $ac_status); } && {
|
5380 | |
test -z "$ac_c_werror_flag" ||
|
5381 | |
test ! -s conftest.err
|
5382 | |
} && test -s conftest.$ac_objext; then
|
|
5138 |
if ac_fn_c_try_compile "$LINENO"; then :
|
5383 | 5139 |
gt_cv_c_wchar_t=yes
|
5384 | 5140 |
else
|
5385 | |
echo "$as_me: failed program was:" >&5
|
5386 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5387 | |
|
5388 | |
gt_cv_c_wchar_t=no
|
5389 | |
fi
|
5390 | |
|
|
5141 |
gt_cv_c_wchar_t=no
|
|
5142 |
fi
|
5391 | 5143 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5392 | 5144 |
fi
|
5393 | |
{ echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
|
5394 | |
echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
|
|
5145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
|
|
5146 |
$as_echo "$gt_cv_c_wchar_t" >&6; }
|
5395 | 5147 |
if test $gt_cv_c_wchar_t = yes; then
|
5396 | 5148 |
|
5397 | |
cat >>confdefs.h <<\_ACEOF
|
5398 | |
#define HAVE_WCHAR_T 1
|
5399 | |
_ACEOF
|
5400 | |
|
5401 | |
fi
|
5402 | |
|
5403 | |
|
5404 | |
{ echo "$as_me:$LINENO: checking for wint_t" >&5
|
5405 | |
echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
|
5406 | |
if test "${gt_cv_c_wint_t+set}" = set; then
|
5407 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5408 | |
else
|
5409 | |
cat >conftest.$ac_ext <<_ACEOF
|
5410 | |
/* confdefs.h. */
|
5411 | |
_ACEOF
|
5412 | |
cat confdefs.h >>conftest.$ac_ext
|
5413 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5149 |
$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
|
|
5150 |
|
|
5151 |
fi
|
|
5152 |
|
|
5153 |
|
|
5154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
|
|
5155 |
$as_echo_n "checking for wint_t... " >&6; }
|
|
5156 |
if test "${gt_cv_c_wint_t+set}" = set; then :
|
|
5157 |
$as_echo_n "(cached) " >&6
|
|
5158 |
else
|
|
5159 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5414 | 5160 |
/* end confdefs.h. */
|
5415 | 5161 |
#include <wchar.h>
|
5416 | 5162 |
wint_t foo = (wchar_t)'\0';
|
|
5422 | 5168 |
return 0;
|
5423 | 5169 |
}
|
5424 | 5170 |
_ACEOF
|
5425 | |
rm -f conftest.$ac_objext
|
5426 | |
if { (ac_try="$ac_compile"
|
5427 | |
case "(($ac_try" in
|
5428 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5429 | |
*) ac_try_echo=$ac_try;;
|
5430 | |
esac
|
5431 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5432 | |
(eval "$ac_compile") 2>conftest.er1
|
5433 | |
ac_status=$?
|
5434 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5435 | |
rm -f conftest.er1
|
5436 | |
cat conftest.err >&5
|
5437 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5438 | |
(exit $ac_status); } && {
|
5439 | |
test -z "$ac_c_werror_flag" ||
|
5440 | |
test ! -s conftest.err
|
5441 | |
} && test -s conftest.$ac_objext; then
|
|
5171 |
if ac_fn_c_try_compile "$LINENO"; then :
|
5442 | 5172 |
gt_cv_c_wint_t=yes
|
5443 | 5173 |
else
|
5444 | |
echo "$as_me: failed program was:" >&5
|
5445 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5446 | |
|
5447 | |
gt_cv_c_wint_t=no
|
5448 | |
fi
|
5449 | |
|
|
5174 |
gt_cv_c_wint_t=no
|
|
5175 |
fi
|
5450 | 5176 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5451 | 5177 |
fi
|
5452 | |
{ echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
|
5453 | |
echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
|
|
5178 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
|
|
5179 |
$as_echo "$gt_cv_c_wint_t" >&6; }
|
5454 | 5180 |
if test $gt_cv_c_wint_t = yes; then
|
5455 | 5181 |
|
5456 | |
cat >>confdefs.h <<\_ACEOF
|
5457 | |
#define HAVE_WINT_T 1
|
5458 | |
_ACEOF
|
5459 | |
|
5460 | |
fi
|
5461 | |
|
5462 | |
|
5463 | |
{ echo "$as_me:$LINENO: checking for inttypes.h" >&5
|
5464 | |
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
|
5465 | |
if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
|
5466 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5467 | |
else
|
5468 | |
cat >conftest.$ac_ext <<_ACEOF
|
5469 | |
/* confdefs.h. */
|
5470 | |
_ACEOF
|
5471 | |
cat confdefs.h >>conftest.$ac_ext
|
5472 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5182 |
$as_echo "#define HAVE_WINT_T 1" >>confdefs.h
|
|
5183 |
|
|
5184 |
fi
|
|
5185 |
|
|
5186 |
|
|
5187 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
|
|
5188 |
$as_echo_n "checking for inttypes.h... " >&6; }
|
|
5189 |
if test "${jm_ac_cv_header_inttypes_h+set}" = set; then :
|
|
5190 |
$as_echo_n "(cached) " >&6
|
|
5191 |
else
|
|
5192 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5473 | 5193 |
/* end confdefs.h. */
|
5474 | 5194 |
#include <sys/types.h>
|
5475 | 5195 |
#include <inttypes.h>
|
|
5481 | 5201 |
return 0;
|
5482 | 5202 |
}
|
5483 | 5203 |
_ACEOF
|
5484 | |
rm -f conftest.$ac_objext
|
5485 | |
if { (ac_try="$ac_compile"
|
5486 | |
case "(($ac_try" in
|
5487 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5488 | |
*) ac_try_echo=$ac_try;;
|
5489 | |
esac
|
5490 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5491 | |
(eval "$ac_compile") 2>conftest.er1
|
5492 | |
ac_status=$?
|
5493 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5494 | |
rm -f conftest.er1
|
5495 | |
cat conftest.err >&5
|
5496 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5497 | |
(exit $ac_status); } && {
|
5498 | |
test -z "$ac_c_werror_flag" ||
|
5499 | |
test ! -s conftest.err
|
5500 | |
} && test -s conftest.$ac_objext; then
|
|
5204 |
if ac_fn_c_try_compile "$LINENO"; then :
|
5501 | 5205 |
jm_ac_cv_header_inttypes_h=yes
|
5502 | 5206 |
else
|
5503 | |
echo "$as_me: failed program was:" >&5
|
5504 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5505 | |
|
5506 | |
jm_ac_cv_header_inttypes_h=no
|
5507 | |
fi
|
5508 | |
|
|
5207 |
jm_ac_cv_header_inttypes_h=no
|
|
5208 |
fi
|
5509 | 5209 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5510 | 5210 |
fi
|
5511 | |
{ echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
|
5512 | |
echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6; }
|
|
5211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
|
|
5212 |
$as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
|
5513 | 5213 |
if test $jm_ac_cv_header_inttypes_h = yes; then
|
5514 | 5214 |
|
5515 | 5215 |
cat >>confdefs.h <<_ACEOF
|
|
5519 | 5219 |
fi
|
5520 | 5220 |
|
5521 | 5221 |
|
5522 | |
{ echo "$as_me:$LINENO: checking for stdint.h" >&5
|
5523 | |
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
|
5524 | |
if test "${jm_ac_cv_header_stdint_h+set}" = set; then
|
5525 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5526 | |
else
|
5527 | |
cat >conftest.$ac_ext <<_ACEOF
|
5528 | |
/* confdefs.h. */
|
5529 | |
_ACEOF
|
5530 | |
cat confdefs.h >>conftest.$ac_ext
|
5531 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5222 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
|
|
5223 |
$as_echo_n "checking for stdint.h... " >&6; }
|
|
5224 |
if test "${jm_ac_cv_header_stdint_h+set}" = set; then :
|
|
5225 |
$as_echo_n "(cached) " >&6
|
|
5226 |
else
|
|
5227 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5532 | 5228 |
/* end confdefs.h. */
|
5533 | 5229 |
#include <sys/types.h>
|
5534 | 5230 |
#include <stdint.h>
|
|
5540 | 5236 |
return 0;
|
5541 | 5237 |
}
|
5542 | 5238 |
_ACEOF
|
5543 | |
rm -f conftest.$ac_objext
|
5544 | |
if { (ac_try="$ac_compile"
|
5545 | |
case "(($ac_try" in
|
5546 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5547 | |
*) ac_try_echo=$ac_try;;
|
5548 | |
esac
|
5549 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5550 | |
(eval "$ac_compile") 2>conftest.er1
|
5551 | |
ac_status=$?
|
5552 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5553 | |
rm -f conftest.er1
|
5554 | |
cat conftest.err >&5
|
5555 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5556 | |
(exit $ac_status); } && {
|
5557 | |
test -z "$ac_c_werror_flag" ||
|
5558 | |
test ! -s conftest.err
|
5559 | |
} && test -s conftest.$ac_objext; then
|
|
5239 |
if ac_fn_c_try_compile "$LINENO"; then :
|
5560 | 5240 |
jm_ac_cv_header_stdint_h=yes
|
5561 | 5241 |
else
|
5562 | |
echo "$as_me: failed program was:" >&5
|
5563 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5564 | |
|
5565 | |
jm_ac_cv_header_stdint_h=no
|
5566 | |
fi
|
5567 | |
|
|
5242 |
jm_ac_cv_header_stdint_h=no
|
|
5243 |
fi
|
5568 | 5244 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5569 | 5245 |
fi
|
5570 | |
{ echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
|
5571 | |
echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6; }
|
|
5246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
|
|
5247 |
$as_echo "$jm_ac_cv_header_stdint_h" >&6; }
|
5572 | 5248 |
if test $jm_ac_cv_header_stdint_h = yes; then
|
5573 | 5249 |
|
5574 | 5250 |
cat >>confdefs.h <<_ACEOF
|
|
5580 | 5256 |
|
5581 | 5257 |
|
5582 | 5258 |
|
5583 | |
{ echo "$as_me:$LINENO: checking for intmax_t" >&5
|
5584 | |
echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
|
5585 | |
if test "${gt_cv_c_intmax_t+set}" = set; then
|
5586 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5587 | |
else
|
5588 | |
cat >conftest.$ac_ext <<_ACEOF
|
5589 | |
/* confdefs.h. */
|
5590 | |
_ACEOF
|
5591 | |
cat confdefs.h >>conftest.$ac_ext
|
5592 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
|
|
5260 |
$as_echo_n "checking for intmax_t... " >&6; }
|
|
5261 |
if test "${gt_cv_c_intmax_t+set}" = set; then :
|
|
5262 |
$as_echo_n "(cached) " >&6
|
|
5263 |
else
|
|
5264 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5593 | 5265 |
/* end confdefs.h. */
|
5594 | 5266 |
|
5595 | 5267 |
#include <stddef.h>
|
|
5609 | 5281 |
return 0;
|
5610 | 5282 |
}
|
5611 | 5283 |
_ACEOF
|
5612 | |
rm -f conftest.$ac_objext
|
5613 | |
if { (ac_try="$ac_compile"
|
5614 | |
case "(($ac_try" in
|
5615 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5616 | |
*) ac_try_echo=$ac_try;;
|
5617 | |
esac
|
5618 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5619 | |
(eval "$ac_compile") 2>conftest.er1
|
5620 | |
ac_status=$?
|
5621 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5622 | |
rm -f conftest.er1
|
5623 | |
cat conftest.err >&5
|
5624 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5625 | |
(exit $ac_status); } && {
|
5626 | |
test -z "$ac_c_werror_flag" ||
|
5627 | |
test ! -s conftest.err
|
5628 | |
} && test -s conftest.$ac_objext; then
|
|
5284 |
if ac_fn_c_try_compile "$LINENO"; then :
|
5629 | 5285 |
gt_cv_c_intmax_t=yes
|
5630 | 5286 |
else
|
5631 | |
echo "$as_me: failed program was:" >&5
|
5632 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5633 | |
|
5634 | |
gt_cv_c_intmax_t=no
|
5635 | |
fi
|
5636 | |
|
|
5287 |
gt_cv_c_intmax_t=no
|
|
5288 |
fi
|
5637 | 5289 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5638 | 5290 |
fi
|
5639 | |
{ echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
|
5640 | |
echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
|
|
5291 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
|
|
5292 |
$as_echo "$gt_cv_c_intmax_t" >&6; }
|
5641 | 5293 |
if test $gt_cv_c_intmax_t = yes; then
|
5642 | 5294 |
|
5643 | |
cat >>confdefs.h <<\_ACEOF
|
5644 | |
#define HAVE_INTMAX_T 1
|
5645 | |
_ACEOF
|
5646 | |
|
5647 | |
fi
|
5648 | |
|
5649 | |
|
5650 | |
|
5651 | |
{ echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
|
5652 | |
echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
|
5653 | |
if test "${gt_cv_func_printf_posix+set}" = set; then
|
5654 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5655 | |
else
|
5656 | |
|
5657 | |
if test "$cross_compiling" = yes; then
|
5658 | |
|
5659 | |
cat >conftest.$ac_ext <<_ACEOF
|
5660 | |
/* confdefs.h. */
|
5661 | |
_ACEOF
|
5662 | |
cat confdefs.h >>conftest.$ac_ext
|
5663 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5295 |
$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
|
|
5296 |
|
|
5297 |
fi
|
|
5298 |
|
|
5299 |
|
|
5300 |
|
|
5301 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
|
|
5302 |
$as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
|
|
5303 |
if test "${gt_cv_func_printf_posix+set}" = set; then :
|
|
5304 |
$as_echo_n "(cached) " >&6
|
|
5305 |
else
|
|
5306 |
|
|
5307 |
if test "$cross_compiling" = yes; then :
|
|
5308 |
|
|
5309 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5664 | 5310 |
/* end confdefs.h. */
|
5665 | 5311 |
|
5666 | 5312 |
#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
|
|
5669 | 5315 |
|
5670 | 5316 |
_ACEOF
|
5671 | 5317 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5672 | |
$EGREP "notposix" >/dev/null 2>&1; then
|
|
5318 |
$EGREP "notposix" >/dev/null 2>&1; then :
|
5673 | 5319 |
gt_cv_func_printf_posix="guessing no"
|
5674 | 5320 |
else
|
5675 | 5321 |
gt_cv_func_printf_posix="guessing yes"
|
|
5678 | 5324 |
|
5679 | 5325 |
|
5680 | 5326 |
else
|
5681 | |
cat >conftest.$ac_ext <<_ACEOF
|
5682 | |
/* confdefs.h. */
|
5683 | |
_ACEOF
|
5684 | |
cat confdefs.h >>conftest.$ac_ext
|
5685 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5327 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5686 | 5328 |
/* end confdefs.h. */
|
5687 | 5329 |
|
5688 | 5330 |
#include <stdio.h>
|
|
5697 | 5339 |
return (strcmp (buf, "55 33") != 0);
|
5698 | 5340 |
}
|
5699 | 5341 |
_ACEOF
|
5700 | |
rm -f conftest$ac_exeext
|
5701 | |
if { (ac_try="$ac_link"
|
5702 | |
case "(($ac_try" in
|
5703 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5704 | |
*) ac_try_echo=$ac_try;;
|
5705 | |
esac
|
5706 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5707 | |
(eval "$ac_link") 2>&5
|
5708 | |
ac_status=$?
|
5709 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5710 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5711 | |
{ (case "(($ac_try" in
|
5712 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5713 | |
*) ac_try_echo=$ac_try;;
|
5714 | |
esac
|
5715 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5716 | |
(eval "$ac_try") 2>&5
|
5717 | |
ac_status=$?
|
5718 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5719 | |
(exit $ac_status); }; }; then
|
|
5342 |
if ac_fn_c_try_run "$LINENO"; then :
|
5720 | 5343 |
gt_cv_func_printf_posix=yes
|
5721 | 5344 |
else
|
5722 | |
echo "$as_me: program exited with status $ac_status" >&5
|
5723 | |
echo "$as_me: failed program was:" >&5
|
5724 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5725 | |
|
5726 | |
( exit $ac_status )
|
5727 | |
gt_cv_func_printf_posix=no
|
5728 | |
fi
|
5729 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5730 | |
fi
|
5731 | |
|
5732 | |
|
5733 | |
|
5734 | |
fi
|
5735 | |
{ echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
|
5736 | |
echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
|
|
5345 |
gt_cv_func_printf_posix=no
|
|
5346 |
fi
|
|
5347 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
5348 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5349 |
fi
|
|
5350 |
|
|
5351 |
|
|
5352 |
fi
|
|
5353 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
|
|
5354 |
$as_echo "$gt_cv_func_printf_posix" >&6; }
|
5737 | 5355 |
case $gt_cv_func_printf_posix in
|
5738 | 5356 |
*yes)
|
5739 | 5357 |
|
5740 | |
cat >>confdefs.h <<\_ACEOF
|
5741 | |
#define HAVE_POSIX_PRINTF 1
|
5742 | |
_ACEOF
|
|
5358 |
$as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
|
5743 | 5359 |
|
5744 | 5360 |
;;
|
5745 | 5361 |
esac
|
5746 | 5362 |
|
5747 | 5363 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
5748 | 5364 |
# for constant arguments. Useless!
|
5749 | |
{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
5750 | |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
|
5751 | |
if test "${ac_cv_working_alloca_h+set}" = set; then
|
5752 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5753 | |
else
|
5754 | |
cat >conftest.$ac_ext <<_ACEOF
|
5755 | |
/* confdefs.h. */
|
5756 | |
_ACEOF
|
5757 | |
cat confdefs.h >>conftest.$ac_ext
|
5758 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5365 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
|
5366 |
$as_echo_n "checking for working alloca.h... " >&6; }
|
|
5367 |
if test "${ac_cv_working_alloca_h+set}" = set; then :
|
|
5368 |
$as_echo_n "(cached) " >&6
|
|
5369 |
else
|
|
5370 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5759 | 5371 |
/* end confdefs.h. */
|
5760 | 5372 |
#include <alloca.h>
|
5761 | 5373 |
int
|
|
5767 | 5379 |
return 0;
|
5768 | 5380 |
}
|
5769 | 5381 |
_ACEOF
|
5770 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5771 | |
if { (ac_try="$ac_link"
|
5772 | |
case "(($ac_try" in
|
5773 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5774 | |
*) ac_try_echo=$ac_try;;
|
5775 | |
esac
|
5776 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5777 | |
(eval "$ac_link") 2>conftest.er1
|
5778 | |
ac_status=$?
|
5779 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5780 | |
rm -f conftest.er1
|
5781 | |
cat conftest.err >&5
|
5782 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5783 | |
(exit $ac_status); } && {
|
5784 | |
test -z "$ac_c_werror_flag" ||
|
5785 | |
test ! -s conftest.err
|
5786 | |
} && test -s conftest$ac_exeext &&
|
5787 | |
$as_test_x conftest$ac_exeext; then
|
|
5382 |
if ac_fn_c_try_link "$LINENO"; then :
|
5788 | 5383 |
ac_cv_working_alloca_h=yes
|
5789 | 5384 |
else
|
5790 | |
echo "$as_me: failed program was:" >&5
|
5791 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5792 | |
|
5793 | |
ac_cv_working_alloca_h=no
|
5794 | |
fi
|
5795 | |
|
5796 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5797 | |
conftest$ac_exeext conftest.$ac_ext
|
5798 | |
fi
|
5799 | |
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
5800 | |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
|
|
5385 |
ac_cv_working_alloca_h=no
|
|
5386 |
fi
|
|
5387 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5388 |
conftest$ac_exeext conftest.$ac_ext
|
|
5389 |
fi
|
|
5390 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
|
5391 |
$as_echo "$ac_cv_working_alloca_h" >&6; }
|
5801 | 5392 |
if test $ac_cv_working_alloca_h = yes; then
|
5802 | 5393 |
|
5803 | |
cat >>confdefs.h <<\_ACEOF
|
5804 | |
#define HAVE_ALLOCA_H 1
|
5805 | |
_ACEOF
|
5806 | |
|
5807 | |
fi
|
5808 | |
|
5809 | |
{ echo "$as_me:$LINENO: checking for alloca" >&5
|
5810 | |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
|
5811 | |
if test "${ac_cv_func_alloca_works+set}" = set; then
|
5812 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5813 | |
else
|
5814 | |
cat >conftest.$ac_ext <<_ACEOF
|
5815 | |
/* confdefs.h. */
|
5816 | |
_ACEOF
|
5817 | |
cat confdefs.h >>conftest.$ac_ext
|
5818 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5394 |
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
|
5395 |
|
|
5396 |
fi
|
|
5397 |
|
|
5398 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
|
5399 |
$as_echo_n "checking for alloca... " >&6; }
|
|
5400 |
if test "${ac_cv_func_alloca_works+set}" = set; then :
|
|
5401 |
$as_echo_n "(cached) " >&6
|
|
5402 |
else
|
|
5403 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5819 | 5404 |
/* end confdefs.h. */
|
5820 | 5405 |
#ifdef __GNUC__
|
5821 | 5406 |
# define alloca __builtin_alloca
|
|
5847 | 5432 |
return 0;
|
5848 | 5433 |
}
|
5849 | 5434 |
_ACEOF
|
5850 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5851 | |
if { (ac_try="$ac_link"
|
5852 | |
case "(($ac_try" in
|
5853 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5854 | |
*) ac_try_echo=$ac_try;;
|
5855 | |
esac
|
5856 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5857 | |
(eval "$ac_link") 2>conftest.er1
|
5858 | |
ac_status=$?
|
5859 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5860 | |
rm -f conftest.er1
|
5861 | |
cat conftest.err >&5
|
5862 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5863 | |
(exit $ac_status); } && {
|
5864 | |
test -z "$ac_c_werror_flag" ||
|
5865 | |
test ! -s conftest.err
|
5866 | |
} && test -s conftest$ac_exeext &&
|
5867 | |
$as_test_x conftest$ac_exeext; then
|
|
5435 |
if ac_fn_c_try_link "$LINENO"; then :
|
5868 | 5436 |
ac_cv_func_alloca_works=yes
|
5869 | 5437 |
else
|
5870 | |
echo "$as_me: failed program was:" >&5
|
5871 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5872 | |
|
5873 | |
ac_cv_func_alloca_works=no
|
5874 | |
fi
|
5875 | |
|
5876 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5877 | |
conftest$ac_exeext conftest.$ac_ext
|
5878 | |
fi
|
5879 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
5880 | |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
|
|
5438 |
ac_cv_func_alloca_works=no
|
|
5439 |
fi
|
|
5440 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5441 |
conftest$ac_exeext conftest.$ac_ext
|
|
5442 |
fi
|
|
5443 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
|
5444 |
$as_echo "$ac_cv_func_alloca_works" >&6; }
|
5881 | 5445 |
|
5882 | 5446 |
if test $ac_cv_func_alloca_works = yes; then
|
5883 | 5447 |
|
5884 | |
cat >>confdefs.h <<\_ACEOF
|
5885 | |
#define HAVE_ALLOCA 1
|
5886 | |
_ACEOF
|
|
5448 |
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
5887 | 5449 |
|
5888 | 5450 |
else
|
5889 | 5451 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
|
5893 | 5455 |
|
5894 | 5456 |
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
5895 | 5457 |
|
5896 | |
cat >>confdefs.h <<\_ACEOF
|
5897 | |
#define C_ALLOCA 1
|
5898 | |
_ACEOF
|
5899 | |
|
5900 | |
|
5901 | |
{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
5902 | |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
|
5903 | |
if test "${ac_cv_os_cray+set}" = set; then
|
5904 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5905 | |
else
|
5906 | |
cat >conftest.$ac_ext <<_ACEOF
|
5907 | |
/* confdefs.h. */
|
5908 | |
_ACEOF
|
5909 | |
cat confdefs.h >>conftest.$ac_ext
|
5910 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5458 |
$as_echo "#define C_ALLOCA 1" >>confdefs.h
|
|
5459 |
|
|
5460 |
|
|
5461 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
|
5462 |
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
|
5463 |
if test "${ac_cv_os_cray+set}" = set; then :
|
|
5464 |
$as_echo_n "(cached) " >&6
|
|
5465 |
else
|
|
5466 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5911 | 5467 |
/* end confdefs.h. */
|
5912 | 5468 |
#if defined CRAY && ! defined CRAY2
|
5913 | 5469 |
webecray
|
|
5917 | 5473 |
|
5918 | 5474 |
_ACEOF
|
5919 | 5475 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5920 | |
$EGREP "webecray" >/dev/null 2>&1; then
|
|
5476 |
$EGREP "webecray" >/dev/null 2>&1; then :
|
5921 | 5477 |
ac_cv_os_cray=yes
|
5922 | 5478 |
else
|
5923 | 5479 |
ac_cv_os_cray=no
|
|
5925 | 5481 |
rm -f conftest*
|
5926 | 5482 |
|
5927 | 5483 |
fi
|
5928 | |
{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
5929 | |
echo "${ECHO_T}$ac_cv_os_cray" >&6; }
|
|
5484 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
|
5485 |
$as_echo "$ac_cv_os_cray" >&6; }
|
5930 | 5486 |
if test $ac_cv_os_cray = yes; then
|
5931 | 5487 |
for ac_func in _getb67 GETB67 getb67; do
|
5932 | |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
5933 | |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
5934 | |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
5935 | |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
5936 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5937 | |
else
|
5938 | |
cat >conftest.$ac_ext <<_ACEOF
|
5939 | |
/* confdefs.h. */
|
5940 | |
_ACEOF
|
5941 | |
cat confdefs.h >>conftest.$ac_ext
|
5942 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5943 | |
/* end confdefs.h. */
|
5944 | |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
5945 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
5946 | |
#define $ac_func innocuous_$ac_func
|
5947 | |
|
5948 | |
/* System header to define __stub macros and hopefully few prototypes,
|
5949 | |
which can conflict with char $ac_func (); below.
|
5950 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5951 | |
<limits.h> exists even on freestanding compilers. */
|
5952 | |
|
5953 | |
#ifdef __STDC__
|
5954 | |
# include <limits.h>
|
5955 | |
#else
|
5956 | |
# include <assert.h>
|
5957 | |
#endif
|
5958 | |
|
5959 | |
#undef $ac_func
|
5960 | |
|
5961 | |
/* Override any GCC internal prototype to avoid an error.
|
5962 | |
Use char because int might match the return type of a GCC
|
5963 | |
builtin and then its argument prototype would still apply. */
|
5964 | |
#ifdef __cplusplus
|
5965 | |
extern "C"
|
5966 | |
#endif
|
5967 | |
char $ac_func ();
|
5968 | |
/* The GNU C library defines this for functions which it implements
|
5969 | |
to always fail with ENOSYS. Some functions are actually named
|
5970 | |
something starting with __ and the normal name is an alias. */
|
5971 | |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
5972 | |
choke me
|
5973 | |
#endif
|
5974 | |
|
5975 | |
int
|
5976 | |
main ()
|
5977 | |
{
|
5978 | |
return $ac_func ();
|
5979 | |
;
|
5980 | |
return 0;
|
5981 | |
}
|
5982 | |
_ACEOF
|
5983 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5984 | |
if { (ac_try="$ac_link"
|
5985 | |
case "(($ac_try" in
|
5986 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5987 | |
*) ac_try_echo=$ac_try;;
|
5988 | |
esac
|
5989 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5990 | |
(eval "$ac_link") 2>conftest.er1
|
5991 | |
ac_status=$?
|
5992 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5993 | |
rm -f conftest.er1
|
5994 | |
cat conftest.err >&5
|
5995 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5996 | |
(exit $ac_status); } && {
|
5997 | |
test -z "$ac_c_werror_flag" ||
|
5998 | |
test ! -s conftest.err
|
5999 | |
} && test -s conftest$ac_exeext &&
|
6000 | |
$as_test_x conftest$ac_exeext; then
|
6001 | |
eval "$as_ac_var=yes"
|
6002 | |
else
|
6003 | |
echo "$as_me: failed program was:" >&5
|
6004 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6005 | |
|
6006 | |
eval "$as_ac_var=no"
|
6007 | |
fi
|
6008 | |
|
6009 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6010 | |
conftest$ac_exeext conftest.$ac_ext
|
6011 | |
fi
|
6012 | |
ac_res=`eval echo '${'$as_ac_var'}'`
|
6013 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
6014 | |
echo "${ECHO_T}$ac_res" >&6; }
|
6015 | |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
5488 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
5489 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
5490 |
eval as_val=\$$as_ac_var
|
|
5491 |
if test "x$as_val" = x""yes; then :
|
6016 | 5492 |
|
6017 | 5493 |
cat >>confdefs.h <<_ACEOF
|
6018 | 5494 |
#define CRAY_STACKSEG_END $ac_func
|
|
6024 | 5500 |
done
|
6025 | 5501 |
fi
|
6026 | 5502 |
|
6027 | |
{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
6028 | |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
|
6029 | |
if test "${ac_cv_c_stack_direction+set}" = set; then
|
6030 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6031 | |
else
|
6032 | |
if test "$cross_compiling" = yes; then
|
|
5503 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
|
5504 |
$as_echo_n "checking stack direction for C alloca... " >&6; }
|
|
5505 |
if test "${ac_cv_c_stack_direction+set}" = set; then :
|
|
5506 |
$as_echo_n "(cached) " >&6
|
|
5507 |
else
|
|
5508 |
if test "$cross_compiling" = yes; then :
|
6033 | 5509 |
ac_cv_c_stack_direction=0
|
6034 | 5510 |
else
|
6035 | |
cat >conftest.$ac_ext <<_ACEOF
|
6036 | |
/* confdefs.h. */
|
6037 | |
_ACEOF
|
6038 | |
cat confdefs.h >>conftest.$ac_ext
|
6039 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5511 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6040 | 5512 |
/* end confdefs.h. */
|
6041 | 5513 |
$ac_includes_default
|
6042 | 5514 |
int
|
|
6059 | 5531 |
return find_stack_direction () < 0;
|
6060 | 5532 |
}
|
6061 | 5533 |
_ACEOF
|
6062 | |
rm -f conftest$ac_exeext
|
6063 | |
if { (ac_try="$ac_link"
|
6064 | |
case "(($ac_try" in
|
6065 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6066 | |
*) ac_try_echo=$ac_try;;
|
6067 | |
esac
|
6068 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6069 | |
(eval "$ac_link") 2>&5
|
6070 | |
ac_status=$?
|
6071 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6072 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
6073 | |
{ (case "(($ac_try" in
|
6074 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6075 | |
*) ac_try_echo=$ac_try;;
|
6076 | |
esac
|
6077 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6078 | |
(eval "$ac_try") 2>&5
|
6079 | |
ac_status=$?
|
6080 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6081 | |
(exit $ac_status); }; }; then
|
|
5534 |
if ac_fn_c_try_run "$LINENO"; then :
|
6082 | 5535 |
ac_cv_c_stack_direction=1
|
6083 | 5536 |
else
|
6084 | |
echo "$as_me: program exited with status $ac_status" >&5
|
6085 | |
echo "$as_me: failed program was:" >&5
|
6086 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6087 | |
|
6088 | |
( exit $ac_status )
|
6089 | |
ac_cv_c_stack_direction=-1
|
6090 | |
fi
|
6091 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
6092 | |
fi
|
6093 | |
|
6094 | |
|
6095 | |
fi
|
6096 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
6097 | |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
|
6098 | |
|
|
5537 |
ac_cv_c_stack_direction=-1
|
|
5538 |
fi
|
|
5539 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
5540 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5541 |
fi
|
|
5542 |
|
|
5543 |
fi
|
|
5544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
|
5545 |
$as_echo "$ac_cv_c_stack_direction" >&6; }
|
6099 | 5546 |
cat >>confdefs.h <<_ACEOF
|
6100 | 5547 |
#define STACK_DIRECTION $ac_cv_c_stack_direction
|
6101 | 5548 |
_ACEOF
|
|
6105 | 5552 |
|
6106 | 5553 |
|
6107 | 5554 |
|
6108 | |
for ac_header in stdlib.h unistd.h
|
6109 | |
do
|
6110 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6111 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
6112 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
6113 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
6114 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
6115 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6116 | |
fi
|
6117 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
6118 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
6119 | |
echo "${ECHO_T}$ac_res" >&6; }
|
6120 | |
else
|
6121 | |
# Is the header compilable?
|
6122 | |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
6123 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
6124 | |
cat >conftest.$ac_ext <<_ACEOF
|
6125 | |
/* confdefs.h. */
|
6126 | |
_ACEOF
|
6127 | |
cat confdefs.h >>conftest.$ac_ext
|
6128 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6129 | |
/* end confdefs.h. */
|
6130 | |
$ac_includes_default
|
6131 | |
#include <$ac_header>
|
6132 | |
_ACEOF
|
6133 | |
rm -f conftest.$ac_objext
|
6134 | |
if { (ac_try="$ac_compile"
|
6135 | |
case "(($ac_try" in
|
6136 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6137 | |
*) ac_try_echo=$ac_try;;
|
6138 | |
esac
|
6139 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6140 | |
(eval "$ac_compile") 2>conftest.er1
|
6141 | |
ac_status=$?
|
6142 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6143 | |
rm -f conftest.er1
|
6144 | |
cat conftest.err >&5
|
6145 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6146 | |
(exit $ac_status); } && {
|
6147 | |
test -z "$ac_c_werror_flag" ||
|
6148 | |
test ! -s conftest.err
|
6149 | |
} && test -s conftest.$ac_objext; then
|
6150 | |
ac_header_compiler=yes
|
6151 | |
else
|
6152 | |
echo "$as_me: failed program was:" >&5
|
6153 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6154 | |
|
6155 | |
ac_header_compiler=no
|
6156 | |
fi
|
6157 | |
|
6158 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6159 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
6160 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
6161 | |
|
6162 | |
# Is the header present?
|
6163 | |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
6164 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
6165 | |
cat >conftest.$ac_ext <<_ACEOF
|
6166 | |
/* confdefs.h. */
|
6167 | |
_ACEOF
|
6168 | |
cat confdefs.h >>conftest.$ac_ext
|
6169 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6170 | |
/* end confdefs.h. */
|
6171 | |
#include <$ac_header>
|
6172 | |
_ACEOF
|
6173 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
6174 | |
case "(($ac_try" in
|
6175 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6176 | |
*) ac_try_echo=$ac_try;;
|
6177 | |
esac
|
6178 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6179 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
6180 | |
ac_status=$?
|
6181 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6182 | |
rm -f conftest.er1
|
6183 | |
cat conftest.err >&5
|
6184 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6185 | |
(exit $ac_status); } >/dev/null && {
|
6186 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
6187 | |
test ! -s conftest.err
|
6188 | |
}; then
|
6189 | |
ac_header_preproc=yes
|
6190 | |
else
|
6191 | |
echo "$as_me: failed program was:" >&5
|
6192 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6193 | |
|
6194 | |
ac_header_preproc=no
|
6195 | |
fi
|
6196 | |
|
6197 | |
rm -f conftest.err conftest.$ac_ext
|
6198 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
6199 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
6200 | |
|
6201 | |
# So? What about this header?
|
6202 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
6203 | |
yes:no: )
|
6204 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
6205 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
6206 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
6207 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
6208 | |
ac_header_preproc=yes
|
6209 | |
;;
|
6210 | |
no:yes:* )
|
6211 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
6212 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
6213 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
6214 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
6215 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
6216 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
6217 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
6218 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
6219 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
6220 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
6221 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
6222 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
6223 | |
|
6224 | |
;;
|
6225 | |
esac
|
6226 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
6227 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
6228 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
6229 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6230 | |
else
|
6231 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
6232 | |
fi
|
6233 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
6234 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
6235 | |
echo "${ECHO_T}$ac_res" >&6; }
|
6236 | |
|
6237 | |
fi
|
6238 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
5555 |
|
|
5556 |
for ac_header in $ac_header_list
|
|
5557 |
do :
|
|
5558 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
5559 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
5560 |
"
|
|
5561 |
eval as_val=\$$as_ac_Header
|
|
5562 |
if test "x$as_val" = x""yes; then :
|
6239 | 5563 |
cat >>confdefs.h <<_ACEOF
|
6240 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
5564 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
6241 | 5565 |
_ACEOF
|
6242 | 5566 |
|
6243 | 5567 |
fi
|
|
6245 | 5569 |
done
|
6246 | 5570 |
|
6247 | 5571 |
|
|
5572 |
|
|
5573 |
|
|
5574 |
|
|
5575 |
|
|
5576 |
|
|
5577 |
|
6248 | 5578 |
for ac_func in getpagesize
|
6249 | |
do
|
6250 | |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6251 | |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
6252 | |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
6253 | |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
6254 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6255 | |
else
|
6256 | |
cat >conftest.$ac_ext <<_ACEOF
|
6257 | |
/* confdefs.h. */
|
6258 | |
_ACEOF
|
6259 | |
cat confdefs.h >>conftest.$ac_ext
|
6260 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6261 | |
/* end confdefs.h. */
|
6262 | |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
6263 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
6264 | |
#define $ac_func innocuous_$ac_func
|
6265 | |
|
6266 | |
/* System header to define __stub macros and hopefully few prototypes,
|
6267 | |
which can conflict with char $ac_func (); below.
|
6268 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
6269 | |
<limits.h> exists even on freestanding compilers. */
|
6270 | |
|
6271 | |
#ifdef __STDC__
|
6272 | |
# include <limits.h>
|
6273 | |
#else
|
6274 | |
# include <assert.h>
|
6275 | |
#endif
|
6276 | |
|
6277 | |
#undef $ac_func
|
6278 | |
|
6279 | |
/* Override any GCC internal prototype to avoid an error.
|
6280 | |
Use char because int might match the return type of a GCC
|
6281 | |
builtin and then its argument prototype would still apply. */
|
6282 | |
#ifdef __cplusplus
|
6283 | |
extern "C"
|
6284 | |
#endif
|
6285 | |
char $ac_func ();
|
6286 | |
/* The GNU C library defines this for functions which it implements
|
6287 | |
to always fail with ENOSYS. Some functions are actually named
|
6288 | |
something starting with __ and the normal name is an alias. */
|
6289 | |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
6290 | |
choke me
|
6291 | |
#endif
|
6292 | |
|
6293 | |
int
|
6294 | |
main ()
|
6295 | |
{
|
6296 | |
return $ac_func ();
|
6297 | |
;
|
6298 | |
return 0;
|
6299 | |
}
|
6300 | |
_ACEOF
|
6301 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6302 | |
if { (ac_try="$ac_link"
|
6303 | |
case "(($ac_try" in
|
6304 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6305 | |
*) ac_try_echo=$ac_try;;
|
6306 | |
esac
|
6307 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6308 | |
(eval "$ac_link") 2>conftest.er1
|
6309 | |
ac_status=$?
|
6310 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6311 | |
rm -f conftest.er1
|
6312 | |
cat conftest.err >&5
|
6313 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6314 | |
(exit $ac_status); } && {
|
6315 | |
test -z "$ac_c_werror_flag" ||
|
6316 | |
test ! -s conftest.err
|
6317 | |
} && test -s conftest$ac_exeext &&
|
6318 | |
$as_test_x conftest$ac_exeext; then
|
6319 | |
eval "$as_ac_var=yes"
|
6320 | |
else
|
6321 | |
echo "$as_me: failed program was:" >&5
|
6322 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6323 | |
|
6324 | |
eval "$as_ac_var=no"
|
6325 | |
fi
|
6326 | |
|
6327 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6328 | |
conftest$ac_exeext conftest.$ac_ext
|
6329 | |
fi
|
6330 | |
ac_res=`eval echo '${'$as_ac_var'}'`
|
6331 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
6332 | |
echo "${ECHO_T}$ac_res" >&6; }
|
6333 | |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
5579 |
do :
|
|
5580 |
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
|
|
5581 |
if test "x$ac_cv_func_getpagesize" = x""yes; then :
|
6334 | 5582 |
cat >>confdefs.h <<_ACEOF
|
6335 | |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
5583 |
#define HAVE_GETPAGESIZE 1
|
6336 | 5584 |
_ACEOF
|
6337 | 5585 |
|
6338 | 5586 |
fi
|
6339 | 5587 |
done
|
6340 | 5588 |
|
6341 | |
{ echo "$as_me:$LINENO: checking for working mmap" >&5
|
6342 | |
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
|
6343 | |
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
|
6344 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6345 | |
else
|
6346 | |
if test "$cross_compiling" = yes; then
|
|
5589 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
|
|
5590 |
$as_echo_n "checking for working mmap... " >&6; }
|
|
5591 |
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
|
|
5592 |
$as_echo_n "(cached) " >&6
|
|
5593 |
else
|
|
5594 |
if test "$cross_compiling" = yes; then :
|
6347 | 5595 |
ac_cv_func_mmap_fixed_mapped=no
|
6348 | 5596 |
else
|
6349 | |
cat >conftest.$ac_ext <<_ACEOF
|
6350 | |
/* confdefs.h. */
|
6351 | |
_ACEOF
|
6352 | |
cat confdefs.h >>conftest.$ac_ext
|
6353 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5597 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6354 | 5598 |
/* end confdefs.h. */
|
6355 | 5599 |
$ac_includes_default
|
6356 | 5600 |
/* malloc might have been renamed as rpl_malloc. */
|
|
6387 | 5631 |
|
6388 | 5632 |
/* This mess was copied from the GNU getpagesize.h. */
|
6389 | 5633 |
#ifndef HAVE_GETPAGESIZE
|
6390 | |
/* Assume that all systems that can run configure have sys/param.h. */
|
6391 | |
# ifndef HAVE_SYS_PARAM_H
|
6392 | |
# define HAVE_SYS_PARAM_H 1
|
6393 | |
# endif
|
6394 | |
|
6395 | 5634 |
# ifdef _SC_PAGESIZE
|
6396 | 5635 |
# define getpagesize() sysconf(_SC_PAGESIZE)
|
6397 | 5636 |
# else /* no _SC_PAGESIZE */
|
|
6426 | 5665 |
main ()
|
6427 | 5666 |
{
|
6428 | 5667 |
char *data, *data2, *data3;
|
|
5668 |
const char *cdata2;
|
6429 | 5669 |
int i, pagesize;
|
6430 | |
int fd;
|
|
5670 |
int fd, fd2;
|
6431 | 5671 |
|
6432 | 5672 |
pagesize = getpagesize ();
|
6433 | 5673 |
|
|
6440 | 5680 |
umask (0);
|
6441 | 5681 |
fd = creat ("conftest.mmap", 0600);
|
6442 | 5682 |
if (fd < 0)
|
6443 | |
return 1;
|
|
5683 |
return 2;
|
6444 | 5684 |
if (write (fd, data, pagesize) != pagesize)
|
6445 | |
return 1;
|
|
5685 |
return 3;
|
6446 | 5686 |
close (fd);
|
|
5687 |
|
|
5688 |
/* Next, check that the tail of a page is zero-filled. File must have
|
|
5689 |
non-zero length, otherwise we risk SIGBUS for entire page. */
|
|
5690 |
fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
|
|
5691 |
if (fd2 < 0)
|
|
5692 |
return 4;
|
|
5693 |
cdata2 = "";
|
|
5694 |
if (write (fd2, cdata2, 1) != 1)
|
|
5695 |
return 5;
|
|
5696 |
data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
|
|
5697 |
if (data2 == MAP_FAILED)
|
|
5698 |
return 6;
|
|
5699 |
for (i = 0; i < pagesize; ++i)
|
|
5700 |
if (*(data2 + i))
|
|
5701 |
return 7;
|
|
5702 |
close (fd2);
|
|
5703 |
if (munmap (data2, pagesize))
|
|
5704 |
return 8;
|
6447 | 5705 |
|
6448 | 5706 |
/* Next, try to mmap the file at a fixed address which already has
|
6449 | 5707 |
something else allocated at it. If we can, also make sure that
|
6450 | 5708 |
we see the same garbage. */
|
6451 | 5709 |
fd = open ("conftest.mmap", O_RDWR);
|
6452 | 5710 |
if (fd < 0)
|
6453 | |
return 1;
|
6454 | |
data2 = (char *) malloc (2 * pagesize);
|
6455 | |
if (!data2)
|
6456 | |
return 1;
|
6457 | |
data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
|
|
5711 |
return 9;
|
6458 | 5712 |
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
|
6459 | 5713 |
MAP_PRIVATE | MAP_FIXED, fd, 0L))
|
6460 | |
return 1;
|
|
5714 |
return 10;
|
6461 | 5715 |
for (i = 0; i < pagesize; ++i)
|
6462 | 5716 |
if (*(data + i) != *(data2 + i))
|
6463 | |
return 1;
|
|
5717 |
return 11;
|
6464 | 5718 |
|
6465 | 5719 |
/* Finally, make sure that changes to the mapped area do not
|
6466 | 5720 |
percolate back to the file as seen by read(). (This is a bug on
|
|
6469 | 5723 |
*(data2 + i) = *(data2 + i) + 1;
|
6470 | 5724 |
data3 = (char *) malloc (pagesize);
|
6471 | 5725 |
if (!data3)
|
6472 | |
return 1;
|
|
5726 |
return 12;
|
6473 | 5727 |
if (read (fd, data3, pagesize) != pagesize)
|
6474 | |
return 1;
|
|
5728 |
return 13;
|
6475 | 5729 |
for (i = 0; i < pagesize; ++i)
|
6476 | 5730 |
if (*(data + i) != *(data3 + i))
|
6477 | |
return 1;
|
|
5731 |
return 14;
|
6478 | 5732 |
close (fd);
|
6479 | 5733 |
return 0;
|
6480 | 5734 |
}
|
6481 | 5735 |
_ACEOF
|
6482 | |
rm -f conftest$ac_exeext
|
6483 | |
if { (ac_try="$ac_link"
|
6484 | |
case "(($ac_try" in
|
6485 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6486 | |
*) ac_try_echo=$ac_try;;
|
6487 | |
esac
|
6488 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6489 | |
(eval "$ac_link") 2>&5
|
6490 | |
ac_status=$?
|
6491 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6492 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
6493 | |
{ (case "(($ac_try" in
|
6494 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6495 | |
*) ac_try_echo=$ac_try;;
|
6496 | |
esac
|
6497 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6498 | |
(eval "$ac_try") 2>&5
|
6499 | |
ac_status=$?
|
6500 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6501 | |
(exit $ac_status); }; }; then
|
|
5736 |
if ac_fn_c_try_run "$LINENO"; then :
|
6502 | 5737 |
ac_cv_func_mmap_fixed_mapped=yes
|
6503 | 5738 |
else
|
6504 | |
echo "$as_me: program exited with status $ac_status" >&5
|
6505 | |
echo "$as_me: failed program was:" >&5
|
6506 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6507 | |
|
6508 | |
( exit $ac_status )
|
6509 | |
ac_cv_func_mmap_fixed_mapped=no
|
6510 | |
fi
|
6511 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
6512 | |
fi
|
6513 | |
|
6514 | |
|
6515 | |
fi
|
6516 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
|
6517 | |
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
|
|
5739 |
ac_cv_func_mmap_fixed_mapped=no
|
|
5740 |
fi
|
|
5741 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
5742 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5743 |
fi
|
|
5744 |
|
|
5745 |
fi
|
|
5746 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
|
|
5747 |
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
|
6518 | 5748 |
if test $ac_cv_func_mmap_fixed_mapped = yes; then
|
6519 | 5749 |
|
6520 | |
cat >>confdefs.h <<\_ACEOF
|
6521 | |
#define HAVE_MMAP 1
|
6522 | |
_ACEOF
|
6523 | |
|
6524 | |
fi
|
6525 | |
rm -f conftest.mmap
|
6526 | |
|
6527 | |
|
6528 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
|
6529 | |
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
|
6530 | |
if test "${ac_cv_gnu_library_2_1+set}" = set; then
|
6531 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6532 | |
else
|
6533 | |
cat >conftest.$ac_ext <<_ACEOF
|
6534 | |
/* confdefs.h. */
|
6535 | |
_ACEOF
|
6536 | |
cat confdefs.h >>conftest.$ac_ext
|
6537 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5750 |
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
|
|
5751 |
|
|
5752 |
fi
|
|
5753 |
rm -f conftest.mmap conftest.txt
|
|
5754 |
|
|
5755 |
|
|
5756 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
|
|
5757 |
$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
|
|
5758 |
if test "${ac_cv_gnu_library_2_1+set}" = set; then :
|
|
5759 |
$as_echo_n "(cached) " >&6
|
|
5760 |
else
|
|
5761 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6538 | 5762 |
/* end confdefs.h. */
|
6539 | 5763 |
|
6540 | 5764 |
#include <features.h>
|
|
6546 | 5770 |
|
6547 | 5771 |
_ACEOF
|
6548 | 5772 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
6549 | |
$EGREP "Lucky GNU user" >/dev/null 2>&1; then
|
|
5773 |
$EGREP "Lucky GNU user" >/dev/null 2>&1; then :
|
6550 | 5774 |
ac_cv_gnu_library_2_1=yes
|
6551 | 5775 |
else
|
6552 | 5776 |
ac_cv_gnu_library_2_1=no
|
|
6556 | 5780 |
|
6557 | 5781 |
|
6558 | 5782 |
fi
|
6559 | |
{ echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
|
6560 | |
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
|
|
5783 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
|
|
5784 |
$as_echo "$ac_cv_gnu_library_2_1" >&6; }
|
6561 | 5785 |
|
6562 | 5786 |
GLIBC21="$ac_cv_gnu_library_2_1"
|
6563 | 5787 |
|
6564 | 5788 |
|
6565 | 5789 |
|
6566 | 5790 |
|
6567 | |
{ echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
|
6568 | |
echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6; }
|
6569 | |
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
|
6570 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6571 | |
else
|
6572 | |
|
6573 | |
if test "$cross_compiling" = yes; then
|
|
5791 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
|
|
5792 |
$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
|
|
5793 |
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
|
|
5794 |
$as_echo_n "(cached) " >&6
|
|
5795 |
else
|
|
5796 |
|
|
5797 |
if test "$cross_compiling" = yes; then :
|
6574 | 5798 |
|
6575 | 5799 |
# Guess based on the CPU.
|
6576 | 5800 |
case "$host_cpu" in
|
|
6581 | 5805 |
esac
|
6582 | 5806 |
|
6583 | 5807 |
else
|
6584 | |
cat >conftest.$ac_ext <<_ACEOF
|
6585 | |
/* confdefs.h. */
|
6586 | |
_ACEOF
|
6587 | |
cat confdefs.h >>conftest.$ac_ext
|
6588 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5808 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6589 | 5809 |
/* end confdefs.h. */
|
6590 | 5810 |
|
6591 | 5811 |
#include <stdlib.h>
|
|
6625 | 5845 |
}
|
6626 | 5846 |
|
6627 | 5847 |
_ACEOF
|
6628 | |
rm -f conftest$ac_exeext
|
6629 | |
if { (ac_try="$ac_link"
|
6630 | |
case "(($ac_try" in
|
6631 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6632 | |
*) ac_try_echo=$ac_try;;
|
6633 | |
esac
|
6634 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6635 | |
(eval "$ac_link") 2>&5
|
6636 | |
ac_status=$?
|
6637 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6638 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
6639 | |
{ (case "(($ac_try" in
|
6640 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6641 | |
*) ac_try_echo=$ac_try;;
|
6642 | |
esac
|
6643 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6644 | |
(eval "$ac_try") 2>&5
|
6645 | |
ac_status=$?
|
6646 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6647 | |
(exit $ac_status); }; }; then
|
|
5848 |
if ac_fn_c_try_run "$LINENO"; then :
|
6648 | 5849 |
gt_cv_int_divbyzero_sigfpe=yes
|
6649 | 5850 |
else
|
6650 | |
echo "$as_me: program exited with status $ac_status" >&5
|
6651 | |
echo "$as_me: failed program was:" >&5
|
6652 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6653 | |
|
6654 | |
( exit $ac_status )
|
6655 | |
gt_cv_int_divbyzero_sigfpe=no
|
6656 | |
fi
|
6657 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
6658 | |
fi
|
6659 | |
|
6660 | |
|
6661 | |
|
6662 | |
fi
|
6663 | |
{ echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
|
6664 | |
echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6; }
|
|
5851 |
gt_cv_int_divbyzero_sigfpe=no
|
|
5852 |
fi
|
|
5853 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
5854 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5855 |
fi
|
|
5856 |
|
|
5857 |
|
|
5858 |
fi
|
|
5859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
|
|
5860 |
$as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
|
6665 | 5861 |
case "$gt_cv_int_divbyzero_sigfpe" in
|
6666 | 5862 |
*yes) value=1;;
|
6667 | 5863 |
*) value=0;;
|
|
6673 | 5869 |
|
6674 | 5870 |
|
6675 | 5871 |
|
6676 | |
{ echo "$as_me:$LINENO: checking for unsigned long long" >&5
|
6677 | |
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
|
6678 | |
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
|
6679 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6680 | |
else
|
6681 | |
cat >conftest.$ac_ext <<_ACEOF
|
6682 | |
/* confdefs.h. */
|
6683 | |
_ACEOF
|
6684 | |
cat confdefs.h >>conftest.$ac_ext
|
6685 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5872 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
|
|
5873 |
$as_echo_n "checking for unsigned long long... " >&6; }
|
|
5874 |
if test "${ac_cv_type_unsigned_long_long+set}" = set; then :
|
|
5875 |
$as_echo_n "(cached) " >&6
|
|
5876 |
else
|
|
5877 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6686 | 5878 |
/* end confdefs.h. */
|
6687 | 5879 |
unsigned long long ull = 1ULL; int i = 63;
|
6688 | 5880 |
int
|
|
6694 | 5886 |
return 0;
|
6695 | 5887 |
}
|
6696 | 5888 |
_ACEOF
|
6697 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6698 | |
if { (ac_try="$ac_link"
|
6699 | |
case "(($ac_try" in
|
6700 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6701 | |
*) ac_try_echo=$ac_try;;
|
6702 | |
esac
|
6703 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6704 | |
(eval "$ac_link") 2>conftest.er1
|
6705 | |
ac_status=$?
|
6706 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6707 | |
rm -f conftest.er1
|
6708 | |
cat conftest.err >&5
|
6709 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6710 | |
(exit $ac_status); } && {
|
6711 | |
test -z "$ac_c_werror_flag" ||
|
6712 | |
test ! -s conftest.err
|
6713 | |
} && test -s conftest$ac_exeext &&
|
6714 | |
$as_test_x conftest$ac_exeext; then
|
|
5889 |
if ac_fn_c_try_link "$LINENO"; then :
|
6715 | 5890 |
ac_cv_type_unsigned_long_long=yes
|
6716 | 5891 |
else
|
6717 | |
echo "$as_me: failed program was:" >&5
|
6718 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6719 | |
|
6720 | |
ac_cv_type_unsigned_long_long=no
|
6721 | |
fi
|
6722 | |
|
6723 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6724 | |
conftest$ac_exeext conftest.$ac_ext
|
6725 | |
fi
|
6726 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
|
6727 | |
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
|
|
5892 |
ac_cv_type_unsigned_long_long=no
|
|
5893 |
fi
|
|
5894 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5895 |
conftest$ac_exeext conftest.$ac_ext
|
|
5896 |
fi
|
|
5897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
|
|
5898 |
$as_echo "$ac_cv_type_unsigned_long_long" >&6; }
|
6728 | 5899 |
if test $ac_cv_type_unsigned_long_long = yes; then
|
6729 | 5900 |
|
6730 | |
cat >>confdefs.h <<\_ACEOF
|
6731 | |
#define HAVE_UNSIGNED_LONG_LONG 1
|
6732 | |
_ACEOF
|
|
5901 |
$as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
|
6733 | 5902 |
|
6734 | 5903 |
fi
|
6735 | 5904 |
|
|
6748 | 5917 |
|
6749 | 5918 |
else
|
6750 | 5919 |
|
6751 | |
cat >>confdefs.h <<\_ACEOF
|
6752 | |
#define HAVE_UINTMAX_T 1
|
6753 | |
_ACEOF
|
6754 | |
|
6755 | |
fi
|
6756 | |
|
6757 | |
|
6758 | |
{ echo "$as_me:$LINENO: checking for inttypes.h" >&5
|
6759 | |
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
|
6760 | |
if test "${gt_cv_header_inttypes_h+set}" = set; then
|
6761 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6762 | |
else
|
6763 | |
|
6764 | |
cat >conftest.$ac_ext <<_ACEOF
|
6765 | |
/* confdefs.h. */
|
6766 | |
_ACEOF
|
6767 | |
cat confdefs.h >>conftest.$ac_ext
|
6768 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5920 |
$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
|
|
5921 |
|
|
5922 |
fi
|
|
5923 |
|
|
5924 |
|
|
5925 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
|
|
5926 |
$as_echo_n "checking for inttypes.h... " >&6; }
|
|
5927 |
if test "${gt_cv_header_inttypes_h+set}" = set; then :
|
|
5928 |
$as_echo_n "(cached) " >&6
|
|
5929 |
else
|
|
5930 |
|
|
5931 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6769 | 5932 |
/* end confdefs.h. */
|
6770 | 5933 |
#include <sys/types.h>
|
6771 | 5934 |
#include <inttypes.h>
|
|
6777 | 5940 |
return 0;
|
6778 | 5941 |
}
|
6779 | 5942 |
_ACEOF
|
6780 | |
rm -f conftest.$ac_objext
|
6781 | |
if { (ac_try="$ac_compile"
|
6782 | |
case "(($ac_try" in
|
6783 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6784 | |
*) ac_try_echo=$ac_try;;
|
6785 | |
esac
|
6786 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6787 | |
(eval "$ac_compile") 2>conftest.er1
|
6788 | |
ac_status=$?
|
6789 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6790 | |
rm -f conftest.er1
|
6791 | |
cat conftest.err >&5
|
6792 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6793 | |
(exit $ac_status); } && {
|
6794 | |
test -z "$ac_c_werror_flag" ||
|
6795 | |
test ! -s conftest.err
|
6796 | |
} && test -s conftest.$ac_objext; then
|
|
5943 |
if ac_fn_c_try_compile "$LINENO"; then :
|
6797 | 5944 |
gt_cv_header_inttypes_h=yes
|
6798 | 5945 |
else
|
6799 | |
echo "$as_me: failed program was:" >&5
|
6800 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6801 | |
|
6802 | |
gt_cv_header_inttypes_h=no
|
6803 | |
fi
|
6804 | |
|
|
5946 |
gt_cv_header_inttypes_h=no
|
|
5947 |
fi
|
6805 | 5948 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6806 | 5949 |
|
6807 | 5950 |
fi
|
6808 | |
{ echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
|
6809 | |
echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6; }
|
|
5951 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
|
|
5952 |
$as_echo "$gt_cv_header_inttypes_h" >&6; }
|
6810 | 5953 |
if test $gt_cv_header_inttypes_h = yes; then
|
6811 | 5954 |
|
6812 | 5955 |
cat >>confdefs.h <<_ACEOF
|
|
6818 | 5961 |
|
6819 | 5962 |
|
6820 | 5963 |
if test $gt_cv_header_inttypes_h = yes; then
|
6821 | |
{ echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
|
6822 | |
echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6; }
|
6823 | |
if test "${gt_cv_inttypes_pri_broken+set}" = set; then
|
6824 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6825 | |
else
|
6826 | |
|
6827 | |
cat >conftest.$ac_ext <<_ACEOF
|
6828 | |
/* confdefs.h. */
|
6829 | |
_ACEOF
|
6830 | |
cat confdefs.h >>conftest.$ac_ext
|
6831 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5964 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
|
|
5965 |
$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
|
|
5966 |
if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
|
|
5967 |
$as_echo_n "(cached) " >&6
|
|
5968 |
else
|
|
5969 |
|
|
5970 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6832 | 5971 |
/* end confdefs.h. */
|
6833 | 5972 |
#include <inttypes.h>
|
6834 | 5973 |
#ifdef PRId32
|
|
6843 | 5982 |
return 0;
|
6844 | 5983 |
}
|
6845 | 5984 |
_ACEOF
|
6846 | |
rm -f conftest.$ac_objext
|
6847 | |
if { (ac_try="$ac_compile"
|
6848 | |
case "(($ac_try" in
|
6849 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6850 | |
*) ac_try_echo=$ac_try;;
|
6851 | |
esac
|
6852 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6853 | |
(eval "$ac_compile") 2>conftest.er1
|
6854 | |
ac_status=$?
|
6855 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6856 | |
rm -f conftest.er1
|
6857 | |
cat conftest.err >&5
|
6858 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6859 | |
(exit $ac_status); } && {
|
6860 | |
test -z "$ac_c_werror_flag" ||
|
6861 | |
test ! -s conftest.err
|
6862 | |
} && test -s conftest.$ac_objext; then
|
|
5985 |
if ac_fn_c_try_compile "$LINENO"; then :
|
6863 | 5986 |
gt_cv_inttypes_pri_broken=no
|
6864 | 5987 |
else
|
6865 | |
echo "$as_me: failed program was:" >&5
|
6866 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6867 | |
|
6868 | |
gt_cv_inttypes_pri_broken=yes
|
6869 | |
fi
|
6870 | |
|
|
5988 |
gt_cv_inttypes_pri_broken=yes
|
|
5989 |
fi
|
6871 | 5990 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6872 | 5991 |
|
6873 | 5992 |
fi
|
6874 | |
{ echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
|
6875 | |
echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6; }
|
|
5993 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
|
|
5994 |
$as_echo "$gt_cv_inttypes_pri_broken" >&6; }
|
6876 | 5995 |
fi
|
6877 | 5996 |
if test "$gt_cv_inttypes_pri_broken" = yes; then
|
6878 | 5997 |
|
|
6883 | 6002 |
fi
|
6884 | 6003 |
|
6885 | 6004 |
|
6886 | |
|
6887 | |
for ac_header in stdint.h
|
6888 | |
do
|
6889 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6890 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
6891 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
6892 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
6893 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
6894 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6895 | |
fi
|
6896 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
6897 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
6898 | |
echo "${ECHO_T}$ac_res" >&6; }
|
6899 | |
else
|
6900 | |
# Is the header compilable?
|
6901 | |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
6902 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
6903 | |
cat >conftest.$ac_ext <<_ACEOF
|
6904 | |
/* confdefs.h. */
|
6905 | |
_ACEOF
|
6906 | |
cat confdefs.h >>conftest.$ac_ext
|
6907 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6908 | |
/* end confdefs.h. */
|
6909 | |
$ac_includes_default
|
6910 | |
#include <$ac_header>
|
6911 | |
_ACEOF
|
6912 | |
rm -f conftest.$ac_objext
|
6913 | |
if { (ac_try="$ac_compile"
|
6914 | |
case "(($ac_try" in
|
6915 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6916 | |
*) ac_try_echo=$ac_try;;
|
6917 | |
esac
|
6918 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6919 | |
(eval "$ac_compile") 2>conftest.er1
|
6920 | |
ac_status=$?
|
6921 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6922 | |
rm -f conftest.er1
|
6923 | |
cat conftest.err >&5
|
6924 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6925 | |
(exit $ac_status); } && {
|
6926 | |
test -z "$ac_c_werror_flag" ||
|
6927 | |
test ! -s conftest.err
|
6928 | |
} && test -s conftest.$ac_objext; then
|
6929 | |
ac_header_compiler=yes
|
6930 | |
else
|
6931 | |
echo "$as_me: failed program was:" >&5
|
6932 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6933 | |
|
6934 | |
ac_header_compiler=no
|
6935 | |
fi
|
6936 | |
|
6937 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6938 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
6939 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
6940 | |
|
6941 | |
# Is the header present?
|
6942 | |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
6943 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
6944 | |
cat >conftest.$ac_ext <<_ACEOF
|
6945 | |
/* confdefs.h. */
|
6946 | |
_ACEOF
|
6947 | |
cat confdefs.h >>conftest.$ac_ext
|
6948 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6949 | |
/* end confdefs.h. */
|
6950 | |
#include <$ac_header>
|
6951 | |
_ACEOF
|
6952 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
6953 | |
case "(($ac_try" in
|
6954 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6955 | |
*) ac_try_echo=$ac_try;;
|
6956 | |
esac
|
6957 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6958 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
6959 | |
ac_status=$?
|
6960 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6961 | |
rm -f conftest.er1
|
6962 | |
cat conftest.err >&5
|
6963 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6964 | |
(exit $ac_status); } >/dev/null && {
|
6965 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
6966 | |
test ! -s conftest.err
|
6967 | |
}; then
|
6968 | |
ac_header_preproc=yes
|
6969 | |
else
|
6970 | |
echo "$as_me: failed program was:" >&5
|
6971 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6972 | |
|
6973 | |
ac_header_preproc=no
|
6974 | |
fi
|
6975 | |
|
6976 | |
rm -f conftest.err conftest.$ac_ext
|
6977 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
6978 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
6979 | |
|
6980 | |
# So? What about this header?
|
6981 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
6982 | |
yes:no: )
|
6983 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
6984 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
6985 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
6986 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
6987 | |
ac_header_preproc=yes
|
6988 | |
;;
|
6989 | |
no:yes:* )
|
6990 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
6991 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
6992 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
6993 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
6994 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
6995 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
6996 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
6997 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
6998 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
6999 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
7000 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
7001 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
7002 | |
|
7003 | |
;;
|
7004 | |
esac
|
7005 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
7006 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
7007 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
7008 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7009 | |
else
|
7010 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
7011 | |
fi
|
7012 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
7013 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
7014 | |
echo "${ECHO_T}$ac_res" >&6; }
|
7015 | |
|
7016 | |
fi
|
7017 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
6005 |
for ac_header in stdint.h
|
|
6006 |
do :
|
|
6007 |
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
|
|
6008 |
if test "x$ac_cv_header_stdint_h" = x""yes; then :
|
7018 | 6009 |
cat >>confdefs.h <<_ACEOF
|
7019 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6010 |
#define HAVE_STDINT_H 1
|
7020 | 6011 |
_ACEOF
|
7021 | 6012 |
|
7022 | 6013 |
fi
|
7023 | 6014 |
|
7024 | 6015 |
done
|
7025 | 6016 |
|
7026 | |
{ echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
|
7027 | |
echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
|
|
6017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
|
|
6018 |
$as_echo_n "checking for SIZE_MAX... " >&6; }
|
7028 | 6019 |
result=
|
7029 | |
cat >conftest.$ac_ext <<_ACEOF
|
7030 | |
/* confdefs.h. */
|
7031 | |
_ACEOF
|
7032 | |
cat confdefs.h >>conftest.$ac_ext
|
7033 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6020 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7034 | 6021 |
/* end confdefs.h. */
|
7035 | 6022 |
|
7036 | 6023 |
#include <limits.h>
|
|
7043 | 6030 |
|
7044 | 6031 |
_ACEOF
|
7045 | 6032 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
7046 | |
$EGREP "Found it" >/dev/null 2>&1; then
|
|
6033 |
$EGREP "Found it" >/dev/null 2>&1; then :
|
7047 | 6034 |
result=yes
|
7048 | 6035 |
fi
|
7049 | 6036 |
rm -f conftest*
|
7050 | 6037 |
|
7051 | 6038 |
if test -z "$result"; then
|
7052 | |
if test "$cross_compiling" = yes; then
|
7053 | |
# Depending upon the size, compute the lo and hi bounds.
|
7054 | |
cat >conftest.$ac_ext <<_ACEOF
|
7055 | |
/* confdefs.h. */
|
7056 | |
_ACEOF
|
7057 | |
cat confdefs.h >>conftest.$ac_ext
|
7058 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7059 | |
/* end confdefs.h. */
|
7060 | |
#include <stddef.h>
|
7061 | |
int
|
7062 | |
main ()
|
7063 | |
{
|
7064 | |
static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
|
7065 | |
test_array [0] = 0
|
7066 | |
|
7067 | |
;
|
7068 | |
return 0;
|
7069 | |
}
|
7070 | |
_ACEOF
|
7071 | |
rm -f conftest.$ac_objext
|
7072 | |
if { (ac_try="$ac_compile"
|
7073 | |
case "(($ac_try" in
|
7074 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7075 | |
*) ac_try_echo=$ac_try;;
|
7076 | |
esac
|
7077 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7078 | |
(eval "$ac_compile") 2>conftest.er1
|
7079 | |
ac_status=$?
|
7080 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7081 | |
rm -f conftest.er1
|
7082 | |
cat conftest.err >&5
|
7083 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7084 | |
(exit $ac_status); } && {
|
7085 | |
test -z "$ac_c_werror_flag" ||
|
7086 | |
test ! -s conftest.err
|
7087 | |
} && test -s conftest.$ac_objext; then
|
7088 | |
ac_lo=0 ac_mid=0
|
7089 | |
while :; do
|
7090 | |
cat >conftest.$ac_ext <<_ACEOF
|
7091 | |
/* confdefs.h. */
|
7092 | |
_ACEOF
|
7093 | |
cat confdefs.h >>conftest.$ac_ext
|
7094 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7095 | |
/* end confdefs.h. */
|
7096 | |
#include <stddef.h>
|
7097 | |
int
|
7098 | |
main ()
|
7099 | |
{
|
7100 | |
static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
|
7101 | |
test_array [0] = 0
|
7102 | |
|
7103 | |
;
|
7104 | |
return 0;
|
7105 | |
}
|
7106 | |
_ACEOF
|
7107 | |
rm -f conftest.$ac_objext
|
7108 | |
if { (ac_try="$ac_compile"
|
7109 | |
case "(($ac_try" in
|
7110 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7111 | |
*) ac_try_echo=$ac_try;;
|
7112 | |
esac
|
7113 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7114 | |
(eval "$ac_compile") 2>conftest.er1
|
7115 | |
ac_status=$?
|
7116 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7117 | |
rm -f conftest.er1
|
7118 | |
cat conftest.err >&5
|
7119 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7120 | |
(exit $ac_status); } && {
|
7121 | |
test -z "$ac_c_werror_flag" ||
|
7122 | |
test ! -s conftest.err
|
7123 | |
} && test -s conftest.$ac_objext; then
|
7124 | |
ac_hi=$ac_mid; break
|
7125 | |
else
|
7126 | |
echo "$as_me: failed program was:" >&5
|
7127 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7128 | |
|
7129 | |
ac_lo=`expr $ac_mid + 1`
|
7130 | |
if test $ac_lo -le $ac_mid; then
|
7131 | |
ac_lo= ac_hi=
|
7132 | |
break
|
7133 | |
fi
|
7134 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
7135 | |
fi
|
7136 | |
|
7137 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7138 | |
done
|
7139 | |
else
|
7140 | |
echo "$as_me: failed program was:" >&5
|
7141 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7142 | |
|
7143 | |
cat >conftest.$ac_ext <<_ACEOF
|
7144 | |
/* confdefs.h. */
|
7145 | |
_ACEOF
|
7146 | |
cat confdefs.h >>conftest.$ac_ext
|
7147 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7148 | |
/* end confdefs.h. */
|
7149 | |
#include <stddef.h>
|
7150 | |
int
|
7151 | |
main ()
|
7152 | |
{
|
7153 | |
static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
|
7154 | |
test_array [0] = 0
|
7155 | |
|
7156 | |
;
|
7157 | |
return 0;
|
7158 | |
}
|
7159 | |
_ACEOF
|
7160 | |
rm -f conftest.$ac_objext
|
7161 | |
if { (ac_try="$ac_compile"
|
7162 | |
case "(($ac_try" in
|
7163 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7164 | |
*) ac_try_echo=$ac_try;;
|
7165 | |
esac
|
7166 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7167 | |
(eval "$ac_compile") 2>conftest.er1
|
7168 | |
ac_status=$?
|
7169 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7170 | |
rm -f conftest.er1
|
7171 | |
cat conftest.err >&5
|
7172 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7173 | |
(exit $ac_status); } && {
|
7174 | |
test -z "$ac_c_werror_flag" ||
|
7175 | |
test ! -s conftest.err
|
7176 | |
} && test -s conftest.$ac_objext; then
|
7177 | |
ac_hi=-1 ac_mid=-1
|
7178 | |
while :; do
|
7179 | |
cat >conftest.$ac_ext <<_ACEOF
|
7180 | |
/* confdefs.h. */
|
7181 | |
_ACEOF
|
7182 | |
cat confdefs.h >>conftest.$ac_ext
|
7183 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7184 | |
/* end confdefs.h. */
|
7185 | |
#include <stddef.h>
|
7186 | |
int
|
7187 | |
main ()
|
7188 | |
{
|
7189 | |
static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
|
7190 | |
test_array [0] = 0
|
7191 | |
|
7192 | |
;
|
7193 | |
return 0;
|
7194 | |
}
|
7195 | |
_ACEOF
|
7196 | |
rm -f conftest.$ac_objext
|
7197 | |
if { (ac_try="$ac_compile"
|
7198 | |
case "(($ac_try" in
|
7199 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7200 | |
*) ac_try_echo=$ac_try;;
|
7201 | |
esac
|
7202 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7203 | |
(eval "$ac_compile") 2>conftest.er1
|
7204 | |
ac_status=$?
|
7205 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7206 | |
rm -f conftest.er1
|
7207 | |
cat conftest.err >&5
|
7208 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7209 | |
(exit $ac_status); } && {
|
7210 | |
test -z "$ac_c_werror_flag" ||
|
7211 | |
test ! -s conftest.err
|
7212 | |
} && test -s conftest.$ac_objext; then
|
7213 | |
ac_lo=$ac_mid; break
|
7214 | |
else
|
7215 | |
echo "$as_me: failed program was:" >&5
|
7216 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7217 | |
|
7218 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
7219 | |
if test $ac_mid -le $ac_hi; then
|
7220 | |
ac_lo= ac_hi=
|
7221 | |
break
|
7222 | |
fi
|
7223 | |
ac_mid=`expr 2 '*' $ac_mid`
|
7224 | |
fi
|
7225 | |
|
7226 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7227 | |
done
|
7228 | |
else
|
7229 | |
echo "$as_me: failed program was:" >&5
|
7230 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7231 | |
|
7232 | |
ac_lo= ac_hi=
|
7233 | |
fi
|
7234 | |
|
7235 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7236 | |
fi
|
7237 | |
|
7238 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7239 | |
# Binary search between lo and hi bounds.
|
7240 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
7241 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
7242 | |
cat >conftest.$ac_ext <<_ACEOF
|
7243 | |
/* confdefs.h. */
|
7244 | |
_ACEOF
|
7245 | |
cat confdefs.h >>conftest.$ac_ext
|
7246 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7247 | |
/* end confdefs.h. */
|
7248 | |
#include <stddef.h>
|
7249 | |
int
|
7250 | |
main ()
|
7251 | |
{
|
7252 | |
static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
|
7253 | |
test_array [0] = 0
|
7254 | |
|
7255 | |
;
|
7256 | |
return 0;
|
7257 | |
}
|
7258 | |
_ACEOF
|
7259 | |
rm -f conftest.$ac_objext
|
7260 | |
if { (ac_try="$ac_compile"
|
7261 | |
case "(($ac_try" in
|
7262 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7263 | |
*) ac_try_echo=$ac_try;;
|
7264 | |
esac
|
7265 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7266 | |
(eval "$ac_compile") 2>conftest.er1
|
7267 | |
ac_status=$?
|
7268 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7269 | |
rm -f conftest.er1
|
7270 | |
cat conftest.err >&5
|
7271 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7272 | |
(exit $ac_status); } && {
|
7273 | |
test -z "$ac_c_werror_flag" ||
|
7274 | |
test ! -s conftest.err
|
7275 | |
} && test -s conftest.$ac_objext; then
|
7276 | |
ac_hi=$ac_mid
|
7277 | |
else
|
7278 | |
echo "$as_me: failed program was:" >&5
|
7279 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7280 | |
|
7281 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
7282 | |
fi
|
7283 | |
|
7284 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7285 | |
done
|
7286 | |
case $ac_lo in
|
7287 | |
?*) res_hi=$ac_lo;;
|
7288 | |
'') result=? ;;
|
7289 | |
esac
|
7290 | |
else
|
7291 | |
cat >conftest.$ac_ext <<_ACEOF
|
7292 | |
/* confdefs.h. */
|
7293 | |
_ACEOF
|
7294 | |
cat confdefs.h >>conftest.$ac_ext
|
7295 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7296 | |
/* end confdefs.h. */
|
7297 | |
#include <stddef.h>
|
7298 | |
static long int longval () { return ~(size_t)0 / 10; }
|
7299 | |
static unsigned long int ulongval () { return ~(size_t)0 / 10; }
|
7300 | |
#include <stdio.h>
|
7301 | |
#include <stdlib.h>
|
7302 | |
int
|
7303 | |
main ()
|
7304 | |
{
|
7305 | |
|
7306 | |
FILE *f = fopen ("conftest.val", "w");
|
7307 | |
if (! f)
|
7308 | |
return 1;
|
7309 | |
if ((~(size_t)0 / 10) < 0)
|
7310 | |
{
|
7311 | |
long int i = longval ();
|
7312 | |
if (i != (~(size_t)0 / 10))
|
7313 | |
return 1;
|
7314 | |
fprintf (f, "%ld\n", i);
|
7315 | |
}
|
7316 | |
else
|
7317 | |
{
|
7318 | |
unsigned long int i = ulongval ();
|
7319 | |
if (i != (~(size_t)0 / 10))
|
7320 | |
return 1;
|
7321 | |
fprintf (f, "%lu\n", i);
|
7322 | |
}
|
7323 | |
return ferror (f) || fclose (f) != 0;
|
7324 | |
|
7325 | |
;
|
7326 | |
return 0;
|
7327 | |
}
|
7328 | |
_ACEOF
|
7329 | |
rm -f conftest$ac_exeext
|
7330 | |
if { (ac_try="$ac_link"
|
7331 | |
case "(($ac_try" in
|
7332 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7333 | |
*) ac_try_echo=$ac_try;;
|
7334 | |
esac
|
7335 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7336 | |
(eval "$ac_link") 2>&5
|
7337 | |
ac_status=$?
|
7338 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7339 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
7340 | |
{ (case "(($ac_try" in
|
7341 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7342 | |
*) ac_try_echo=$ac_try;;
|
7343 | |
esac
|
7344 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7345 | |
(eval "$ac_try") 2>&5
|
7346 | |
ac_status=$?
|
7347 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7348 | |
(exit $ac_status); }; }; then
|
7349 | |
res_hi=`cat conftest.val`
|
7350 | |
else
|
7351 | |
echo "$as_me: program exited with status $ac_status" >&5
|
7352 | |
echo "$as_me: failed program was:" >&5
|
7353 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7354 | |
|
7355 | |
( exit $ac_status )
|
7356 | |
result=?
|
7357 | |
fi
|
7358 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
7359 | |
fi
|
7360 | |
rm -f conftest.val
|
7361 | |
|
7362 | |
if test "$cross_compiling" = yes; then
|
7363 | |
# Depending upon the size, compute the lo and hi bounds.
|
7364 | |
cat >conftest.$ac_ext <<_ACEOF
|
7365 | |
/* confdefs.h. */
|
7366 | |
_ACEOF
|
7367 | |
cat confdefs.h >>conftest.$ac_ext
|
7368 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7369 | |
/* end confdefs.h. */
|
7370 | |
#include <stddef.h>
|
7371 | |
int
|
7372 | |
main ()
|
7373 | |
{
|
7374 | |
static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
|
7375 | |
test_array [0] = 0
|
7376 | |
|
7377 | |
;
|
7378 | |
return 0;
|
7379 | |
}
|
7380 | |
_ACEOF
|
7381 | |
rm -f conftest.$ac_objext
|
7382 | |
if { (ac_try="$ac_compile"
|
7383 | |
case "(($ac_try" in
|
7384 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7385 | |
*) ac_try_echo=$ac_try;;
|
7386 | |
esac
|
7387 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7388 | |
(eval "$ac_compile") 2>conftest.er1
|
7389 | |
ac_status=$?
|
7390 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7391 | |
rm -f conftest.er1
|
7392 | |
cat conftest.err >&5
|
7393 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7394 | |
(exit $ac_status); } && {
|
7395 | |
test -z "$ac_c_werror_flag" ||
|
7396 | |
test ! -s conftest.err
|
7397 | |
} && test -s conftest.$ac_objext; then
|
7398 | |
ac_lo=0 ac_mid=0
|
7399 | |
while :; do
|
7400 | |
cat >conftest.$ac_ext <<_ACEOF
|
7401 | |
/* confdefs.h. */
|
7402 | |
_ACEOF
|
7403 | |
cat confdefs.h >>conftest.$ac_ext
|
7404 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7405 | |
/* end confdefs.h. */
|
7406 | |
#include <stddef.h>
|
7407 | |
int
|
7408 | |
main ()
|
7409 | |
{
|
7410 | |
static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
|
7411 | |
test_array [0] = 0
|
7412 | |
|
7413 | |
;
|
7414 | |
return 0;
|
7415 | |
}
|
7416 | |
_ACEOF
|
7417 | |
rm -f conftest.$ac_objext
|
7418 | |
if { (ac_try="$ac_compile"
|
7419 | |
case "(($ac_try" in
|
7420 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7421 | |
*) ac_try_echo=$ac_try;;
|
7422 | |
esac
|
7423 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7424 | |
(eval "$ac_compile") 2>conftest.er1
|
7425 | |
ac_status=$?
|
7426 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7427 | |
rm -f conftest.er1
|
7428 | |
cat conftest.err >&5
|
7429 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7430 | |
(exit $ac_status); } && {
|
7431 | |
test -z "$ac_c_werror_flag" ||
|
7432 | |
test ! -s conftest.err
|
7433 | |
} && test -s conftest.$ac_objext; then
|
7434 | |
ac_hi=$ac_mid; break
|
7435 | |
else
|
7436 | |
echo "$as_me: failed program was:" >&5
|
7437 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7438 | |
|
7439 | |
ac_lo=`expr $ac_mid + 1`
|
7440 | |
if test $ac_lo -le $ac_mid; then
|
7441 | |
ac_lo= ac_hi=
|
7442 | |
break
|
7443 | |
fi
|
7444 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
7445 | |
fi
|
7446 | |
|
7447 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7448 | |
done
|
7449 | |
else
|
7450 | |
echo "$as_me: failed program was:" >&5
|
7451 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7452 | |
|
7453 | |
cat >conftest.$ac_ext <<_ACEOF
|
7454 | |
/* confdefs.h. */
|
7455 | |
_ACEOF
|
7456 | |
cat confdefs.h >>conftest.$ac_ext
|
7457 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7458 | |
/* end confdefs.h. */
|
7459 | |
#include <stddef.h>
|
7460 | |
int
|
7461 | |
main ()
|
7462 | |
{
|
7463 | |
static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
|
7464 | |
test_array [0] = 0
|
7465 | |
|
7466 | |
;
|
7467 | |
return 0;
|
7468 | |
}
|
7469 | |
_ACEOF
|
7470 | |
rm -f conftest.$ac_objext
|
7471 | |
if { (ac_try="$ac_compile"
|
7472 | |
case "(($ac_try" in
|
7473 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7474 | |
*) ac_try_echo=$ac_try;;
|
7475 | |
esac
|
7476 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7477 | |
(eval "$ac_compile") 2>conftest.er1
|
7478 | |
ac_status=$?
|
7479 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7480 | |
rm -f conftest.er1
|
7481 | |
cat conftest.err >&5
|
7482 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7483 | |
(exit $ac_status); } && {
|
7484 | |
test -z "$ac_c_werror_flag" ||
|
7485 | |
test ! -s conftest.err
|
7486 | |
} && test -s conftest.$ac_objext; then
|
7487 | |
ac_hi=-1 ac_mid=-1
|
7488 | |
while :; do
|
7489 | |
cat >conftest.$ac_ext <<_ACEOF
|
7490 | |
/* confdefs.h. */
|
7491 | |
_ACEOF
|
7492 | |
cat confdefs.h >>conftest.$ac_ext
|
7493 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7494 | |
/* end confdefs.h. */
|
7495 | |
#include <stddef.h>
|
7496 | |
int
|
7497 | |
main ()
|
7498 | |
{
|
7499 | |
static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
|
7500 | |
test_array [0] = 0
|
7501 | |
|
7502 | |
;
|
7503 | |
return 0;
|
7504 | |
}
|
7505 | |
_ACEOF
|
7506 | |
rm -f conftest.$ac_objext
|
7507 | |
if { (ac_try="$ac_compile"
|
7508 | |
case "(($ac_try" in
|
7509 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7510 | |
*) ac_try_echo=$ac_try;;
|
7511 | |
esac
|
7512 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7513 | |
(eval "$ac_compile") 2>conftest.er1
|
7514 | |
ac_status=$?
|
7515 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7516 | |
rm -f conftest.er1
|
7517 | |
cat conftest.err >&5
|
7518 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7519 | |
(exit $ac_status); } && {
|
7520 | |
test -z "$ac_c_werror_flag" ||
|
7521 | |
test ! -s conftest.err
|
7522 | |
} && test -s conftest.$ac_objext; then
|
7523 | |
ac_lo=$ac_mid; break
|
7524 | |
else
|
7525 | |
echo "$as_me: failed program was:" >&5
|
7526 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7527 | |
|
7528 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
7529 | |
if test $ac_mid -le $ac_hi; then
|
7530 | |
ac_lo= ac_hi=
|
7531 | |
break
|
7532 | |
fi
|
7533 | |
ac_mid=`expr 2 '*' $ac_mid`
|
7534 | |
fi
|
7535 | |
|
7536 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7537 | |
done
|
7538 | |
else
|
7539 | |
echo "$as_me: failed program was:" >&5
|
7540 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7541 | |
|
7542 | |
ac_lo= ac_hi=
|
7543 | |
fi
|
7544 | |
|
7545 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7546 | |
fi
|
7547 | |
|
7548 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7549 | |
# Binary search between lo and hi bounds.
|
7550 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
7551 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
7552 | |
cat >conftest.$ac_ext <<_ACEOF
|
7553 | |
/* confdefs.h. */
|
7554 | |
_ACEOF
|
7555 | |
cat confdefs.h >>conftest.$ac_ext
|
7556 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7557 | |
/* end confdefs.h. */
|
7558 | |
#include <stddef.h>
|
7559 | |
int
|
7560 | |
main ()
|
7561 | |
{
|
7562 | |
static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
|
7563 | |
test_array [0] = 0
|
7564 | |
|
7565 | |
;
|
7566 | |
return 0;
|
7567 | |
}
|
7568 | |
_ACEOF
|
7569 | |
rm -f conftest.$ac_objext
|
7570 | |
if { (ac_try="$ac_compile"
|
7571 | |
case "(($ac_try" in
|
7572 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7573 | |
*) ac_try_echo=$ac_try;;
|
7574 | |
esac
|
7575 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7576 | |
(eval "$ac_compile") 2>conftest.er1
|
7577 | |
ac_status=$?
|
7578 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7579 | |
rm -f conftest.er1
|
7580 | |
cat conftest.err >&5
|
7581 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7582 | |
(exit $ac_status); } && {
|
7583 | |
test -z "$ac_c_werror_flag" ||
|
7584 | |
test ! -s conftest.err
|
7585 | |
} && test -s conftest.$ac_objext; then
|
7586 | |
ac_hi=$ac_mid
|
7587 | |
else
|
7588 | |
echo "$as_me: failed program was:" >&5
|
7589 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7590 | |
|
7591 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
7592 | |
fi
|
7593 | |
|
7594 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7595 | |
done
|
7596 | |
case $ac_lo in
|
7597 | |
?*) res_lo=$ac_lo;;
|
7598 | |
'') result=? ;;
|
7599 | |
esac
|
7600 | |
else
|
7601 | |
cat >conftest.$ac_ext <<_ACEOF
|
7602 | |
/* confdefs.h. */
|
7603 | |
_ACEOF
|
7604 | |
cat confdefs.h >>conftest.$ac_ext
|
7605 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7606 | |
/* end confdefs.h. */
|
7607 | |
#include <stddef.h>
|
7608 | |
static long int longval () { return ~(size_t)0 % 10; }
|
7609 | |
static unsigned long int ulongval () { return ~(size_t)0 % 10; }
|
7610 | |
#include <stdio.h>
|
7611 | |
#include <stdlib.h>
|
7612 | |
int
|
7613 | |
main ()
|
7614 | |
{
|
7615 | |
|
7616 | |
FILE *f = fopen ("conftest.val", "w");
|
7617 | |
if (! f)
|
7618 | |
return 1;
|
7619 | |
if ((~(size_t)0 % 10) < 0)
|
7620 | |
{
|
7621 | |
long int i = longval ();
|
7622 | |
if (i != (~(size_t)0 % 10))
|
7623 | |
return 1;
|
7624 | |
fprintf (f, "%ld\n", i);
|
7625 | |
}
|
7626 | |
else
|
7627 | |
{
|
7628 | |
unsigned long int i = ulongval ();
|
7629 | |
if (i != (~(size_t)0 % 10))
|
7630 | |
return 1;
|
7631 | |
fprintf (f, "%lu\n", i);
|
7632 | |
}
|
7633 | |
return ferror (f) || fclose (f) != 0;
|
7634 | |
|
7635 | |
;
|
7636 | |
return 0;
|
7637 | |
}
|
7638 | |
_ACEOF
|
7639 | |
rm -f conftest$ac_exeext
|
7640 | |
if { (ac_try="$ac_link"
|
7641 | |
case "(($ac_try" in
|
7642 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7643 | |
*) ac_try_echo=$ac_try;;
|
7644 | |
esac
|
7645 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7646 | |
(eval "$ac_link") 2>&5
|
7647 | |
ac_status=$?
|
7648 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7649 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
7650 | |
{ (case "(($ac_try" in
|
7651 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7652 | |
*) ac_try_echo=$ac_try;;
|
7653 | |
esac
|
7654 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7655 | |
(eval "$ac_try") 2>&5
|
7656 | |
ac_status=$?
|
7657 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7658 | |
(exit $ac_status); }; }; then
|
7659 | |
res_lo=`cat conftest.val`
|
7660 | |
else
|
7661 | |
echo "$as_me: program exited with status $ac_status" >&5
|
7662 | |
echo "$as_me: failed program was:" >&5
|
7663 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7664 | |
|
7665 | |
( exit $ac_status )
|
7666 | |
result=?
|
7667 | |
fi
|
7668 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
7669 | |
fi
|
7670 | |
rm -f conftest.val
|
7671 | |
|
7672 | |
if test "$cross_compiling" = yes; then
|
7673 | |
# Depending upon the size, compute the lo and hi bounds.
|
7674 | |
cat >conftest.$ac_ext <<_ACEOF
|
7675 | |
/* confdefs.h. */
|
7676 | |
_ACEOF
|
7677 | |
cat confdefs.h >>conftest.$ac_ext
|
7678 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7679 | |
/* end confdefs.h. */
|
7680 | |
#include <stddef.h>
|
7681 | |
int
|
7682 | |
main ()
|
7683 | |
{
|
7684 | |
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
|
7685 | |
test_array [0] = 0
|
7686 | |
|
7687 | |
;
|
7688 | |
return 0;
|
7689 | |
}
|
7690 | |
_ACEOF
|
7691 | |
rm -f conftest.$ac_objext
|
7692 | |
if { (ac_try="$ac_compile"
|
7693 | |
case "(($ac_try" in
|
7694 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7695 | |
*) ac_try_echo=$ac_try;;
|
7696 | |
esac
|
7697 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7698 | |
(eval "$ac_compile") 2>conftest.er1
|
7699 | |
ac_status=$?
|
7700 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7701 | |
rm -f conftest.er1
|
7702 | |
cat conftest.err >&5
|
7703 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7704 | |
(exit $ac_status); } && {
|
7705 | |
test -z "$ac_c_werror_flag" ||
|
7706 | |
test ! -s conftest.err
|
7707 | |
} && test -s conftest.$ac_objext; then
|
7708 | |
ac_lo=0 ac_mid=0
|
7709 | |
while :; do
|
7710 | |
cat >conftest.$ac_ext <<_ACEOF
|
7711 | |
/* confdefs.h. */
|
7712 | |
_ACEOF
|
7713 | |
cat confdefs.h >>conftest.$ac_ext
|
7714 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7715 | |
/* end confdefs.h. */
|
7716 | |
#include <stddef.h>
|
7717 | |
int
|
7718 | |
main ()
|
7719 | |
{
|
7720 | |
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
|
7721 | |
test_array [0] = 0
|
7722 | |
|
7723 | |
;
|
7724 | |
return 0;
|
7725 | |
}
|
7726 | |
_ACEOF
|
7727 | |
rm -f conftest.$ac_objext
|
7728 | |
if { (ac_try="$ac_compile"
|
7729 | |
case "(($ac_try" in
|
7730 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7731 | |
*) ac_try_echo=$ac_try;;
|
7732 | |
esac
|
7733 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7734 | |
(eval "$ac_compile") 2>conftest.er1
|
7735 | |
ac_status=$?
|
7736 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7737 | |
rm -f conftest.er1
|
7738 | |
cat conftest.err >&5
|
7739 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7740 | |
(exit $ac_status); } && {
|
7741 | |
test -z "$ac_c_werror_flag" ||
|
7742 | |
test ! -s conftest.err
|
7743 | |
} && test -s conftest.$ac_objext; then
|
7744 | |
ac_hi=$ac_mid; break
|
7745 | |
else
|
7746 | |
echo "$as_me: failed program was:" >&5
|
7747 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7748 | |
|
7749 | |
ac_lo=`expr $ac_mid + 1`
|
7750 | |
if test $ac_lo -le $ac_mid; then
|
7751 | |
ac_lo= ac_hi=
|
7752 | |
break
|
7753 | |
fi
|
7754 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
7755 | |
fi
|
7756 | |
|
7757 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7758 | |
done
|
7759 | |
else
|
7760 | |
echo "$as_me: failed program was:" >&5
|
7761 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7762 | |
|
7763 | |
cat >conftest.$ac_ext <<_ACEOF
|
7764 | |
/* confdefs.h. */
|
7765 | |
_ACEOF
|
7766 | |
cat confdefs.h >>conftest.$ac_ext
|
7767 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7768 | |
/* end confdefs.h. */
|
7769 | |
#include <stddef.h>
|
7770 | |
int
|
7771 | |
main ()
|
7772 | |
{
|
7773 | |
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
|
7774 | |
test_array [0] = 0
|
7775 | |
|
7776 | |
;
|
7777 | |
return 0;
|
7778 | |
}
|
7779 | |
_ACEOF
|
7780 | |
rm -f conftest.$ac_objext
|
7781 | |
if { (ac_try="$ac_compile"
|
7782 | |
case "(($ac_try" in
|
7783 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7784 | |
*) ac_try_echo=$ac_try;;
|
7785 | |
esac
|
7786 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7787 | |
(eval "$ac_compile") 2>conftest.er1
|
7788 | |
ac_status=$?
|
7789 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7790 | |
rm -f conftest.er1
|
7791 | |
cat conftest.err >&5
|
7792 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7793 | |
(exit $ac_status); } && {
|
7794 | |
test -z "$ac_c_werror_flag" ||
|
7795 | |
test ! -s conftest.err
|
7796 | |
} && test -s conftest.$ac_objext; then
|
7797 | |
ac_hi=-1 ac_mid=-1
|
7798 | |
while :; do
|
7799 | |
cat >conftest.$ac_ext <<_ACEOF
|
7800 | |
/* confdefs.h. */
|
7801 | |
_ACEOF
|
7802 | |
cat confdefs.h >>conftest.$ac_ext
|
7803 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7804 | |
/* end confdefs.h. */
|
7805 | |
#include <stddef.h>
|
7806 | |
int
|
7807 | |
main ()
|
7808 | |
{
|
7809 | |
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
|
7810 | |
test_array [0] = 0
|
7811 | |
|
7812 | |
;
|
7813 | |
return 0;
|
7814 | |
}
|
7815 | |
_ACEOF
|
7816 | |
rm -f conftest.$ac_objext
|
7817 | |
if { (ac_try="$ac_compile"
|
7818 | |
case "(($ac_try" in
|
7819 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7820 | |
*) ac_try_echo=$ac_try;;
|
7821 | |
esac
|
7822 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7823 | |
(eval "$ac_compile") 2>conftest.er1
|
7824 | |
ac_status=$?
|
7825 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7826 | |
rm -f conftest.er1
|
7827 | |
cat conftest.err >&5
|
7828 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7829 | |
(exit $ac_status); } && {
|
7830 | |
test -z "$ac_c_werror_flag" ||
|
7831 | |
test ! -s conftest.err
|
7832 | |
} && test -s conftest.$ac_objext; then
|
7833 | |
ac_lo=$ac_mid; break
|
7834 | |
else
|
7835 | |
echo "$as_me: failed program was:" >&5
|
7836 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7837 | |
|
7838 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
7839 | |
if test $ac_mid -le $ac_hi; then
|
7840 | |
ac_lo= ac_hi=
|
7841 | |
break
|
7842 | |
fi
|
7843 | |
ac_mid=`expr 2 '*' $ac_mid`
|
7844 | |
fi
|
7845 | |
|
7846 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7847 | |
done
|
7848 | |
else
|
7849 | |
echo "$as_me: failed program was:" >&5
|
7850 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7851 | |
|
7852 | |
ac_lo= ac_hi=
|
7853 | |
fi
|
7854 | |
|
7855 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7856 | |
fi
|
7857 | |
|
7858 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7859 | |
# Binary search between lo and hi bounds.
|
7860 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
7861 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
7862 | |
cat >conftest.$ac_ext <<_ACEOF
|
7863 | |
/* confdefs.h. */
|
7864 | |
_ACEOF
|
7865 | |
cat confdefs.h >>conftest.$ac_ext
|
7866 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7867 | |
/* end confdefs.h. */
|
7868 | |
#include <stddef.h>
|
7869 | |
int
|
7870 | |
main ()
|
7871 | |
{
|
7872 | |
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
|
7873 | |
test_array [0] = 0
|
7874 | |
|
7875 | |
;
|
7876 | |
return 0;
|
7877 | |
}
|
7878 | |
_ACEOF
|
7879 | |
rm -f conftest.$ac_objext
|
7880 | |
if { (ac_try="$ac_compile"
|
7881 | |
case "(($ac_try" in
|
7882 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7883 | |
*) ac_try_echo=$ac_try;;
|
7884 | |
esac
|
7885 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7886 | |
(eval "$ac_compile") 2>conftest.er1
|
7887 | |
ac_status=$?
|
7888 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7889 | |
rm -f conftest.er1
|
7890 | |
cat conftest.err >&5
|
7891 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7892 | |
(exit $ac_status); } && {
|
7893 | |
test -z "$ac_c_werror_flag" ||
|
7894 | |
test ! -s conftest.err
|
7895 | |
} && test -s conftest.$ac_objext; then
|
7896 | |
ac_hi=$ac_mid
|
7897 | |
else
|
7898 | |
echo "$as_me: failed program was:" >&5
|
7899 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7900 | |
|
7901 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
7902 | |
fi
|
7903 | |
|
7904 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7905 | |
done
|
7906 | |
case $ac_lo in
|
7907 | |
?*) fits_in_uint=$ac_lo;;
|
7908 | |
'') result=? ;;
|
7909 | |
esac
|
7910 | |
else
|
7911 | |
cat >conftest.$ac_ext <<_ACEOF
|
7912 | |
/* confdefs.h. */
|
7913 | |
_ACEOF
|
7914 | |
cat confdefs.h >>conftest.$ac_ext
|
7915 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7916 | |
/* end confdefs.h. */
|
7917 | |
#include <stddef.h>
|
7918 | |
static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
|
7919 | |
static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
|
7920 | |
#include <stdio.h>
|
7921 | |
#include <stdlib.h>
|
7922 | |
int
|
7923 | |
main ()
|
7924 | |
{
|
7925 | |
|
7926 | |
FILE *f = fopen ("conftest.val", "w");
|
7927 | |
if (! f)
|
7928 | |
return 1;
|
7929 | |
if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
|
7930 | |
{
|
7931 | |
long int i = longval ();
|
7932 | |
if (i != (sizeof (size_t) <= sizeof (unsigned int)))
|
7933 | |
return 1;
|
7934 | |
fprintf (f, "%ld\n", i);
|
7935 | |
}
|
7936 | |
else
|
7937 | |
{
|
7938 | |
unsigned long int i = ulongval ();
|
7939 | |
if (i != (sizeof (size_t) <= sizeof (unsigned int)))
|
7940 | |
return 1;
|
7941 | |
fprintf (f, "%lu\n", i);
|
7942 | |
}
|
7943 | |
return ferror (f) || fclose (f) != 0;
|
7944 | |
|
7945 | |
;
|
7946 | |
return 0;
|
7947 | |
}
|
7948 | |
_ACEOF
|
7949 | |
rm -f conftest$ac_exeext
|
7950 | |
if { (ac_try="$ac_link"
|
7951 | |
case "(($ac_try" in
|
7952 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7953 | |
*) ac_try_echo=$ac_try;;
|
7954 | |
esac
|
7955 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7956 | |
(eval "$ac_link") 2>&5
|
7957 | |
ac_status=$?
|
7958 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7959 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
7960 | |
{ (case "(($ac_try" in
|
7961 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7962 | |
*) ac_try_echo=$ac_try;;
|
7963 | |
esac
|
7964 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7965 | |
(eval "$ac_try") 2>&5
|
7966 | |
ac_status=$?
|
7967 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7968 | |
(exit $ac_status); }; }; then
|
7969 | |
fits_in_uint=`cat conftest.val`
|
7970 | |
else
|
7971 | |
echo "$as_me: program exited with status $ac_status" >&5
|
7972 | |
echo "$as_me: failed program was:" >&5
|
7973 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7974 | |
|
7975 | |
( exit $ac_status )
|
7976 | |
result=?
|
7977 | |
fi
|
7978 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
7979 | |
fi
|
7980 | |
rm -f conftest.val
|
|
6039 |
if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi" "#include <stddef.h>"; then :
|
|
6040 |
|
|
6041 |
else
|
|
6042 |
result=?
|
|
6043 |
fi
|
|
6044 |
|
|
6045 |
|
|
6046 |
if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo" "#include <stddef.h>"; then :
|
|
6047 |
|
|
6048 |
else
|
|
6049 |
result=?
|
|
6050 |
fi
|
|
6051 |
|
|
6052 |
|
|
6053 |
if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
|
|
6054 |
|
|
6055 |
else
|
|
6056 |
result=?
|
|
6057 |
fi
|
|
6058 |
|
7981 | 6059 |
|
7982 | 6060 |
if test "$fits_in_uint" = 1; then
|
7983 | |
cat >conftest.$ac_ext <<_ACEOF
|
7984 | |
/* confdefs.h. */
|
7985 | |
_ACEOF
|
7986 | |
cat confdefs.h >>conftest.$ac_ext
|
7987 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6061 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7988 | 6062 |
/* end confdefs.h. */
|
7989 | 6063 |
#include <stddef.h>
|
7990 | 6064 |
extern size_t foo;
|
|
7998 | 6072 |
return 0;
|
7999 | 6073 |
}
|
8000 | 6074 |
_ACEOF
|
8001 | |
rm -f conftest.$ac_objext
|
8002 | |
if { (ac_try="$ac_compile"
|
8003 | |
case "(($ac_try" in
|
8004 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8005 | |
*) ac_try_echo=$ac_try;;
|
8006 | |
esac
|
8007 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8008 | |
(eval "$ac_compile") 2>conftest.er1
|
8009 | |
ac_status=$?
|
8010 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8011 | |
rm -f conftest.er1
|
8012 | |
cat conftest.err >&5
|
8013 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8014 | |
(exit $ac_status); } && {
|
8015 | |
test -z "$ac_c_werror_flag" ||
|
8016 | |
test ! -s conftest.err
|
8017 | |
} && test -s conftest.$ac_objext; then
|
|
6075 |
if ac_fn_c_try_compile "$LINENO"; then :
|
8018 | 6076 |
fits_in_uint=0
|
8019 | |
else
|
8020 | |
echo "$as_me: failed program was:" >&5
|
8021 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8022 | |
|
8023 | |
|
8024 | |
fi
|
8025 | |
|
|
6077 |
fi
|
8026 | 6078 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8027 | 6079 |
fi
|
8028 | 6080 |
if test -z "$result"; then
|
|
8035 | 6087 |
result='~(size_t)0'
|
8036 | 6088 |
fi
|
8037 | 6089 |
fi
|
8038 | |
{ echo "$as_me:$LINENO: result: $result" >&5
|
8039 | |
echo "${ECHO_T}$result" >&6; }
|
|
6090 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
|
|
6091 |
$as_echo "$result" >&6; }
|
8040 | 6092 |
if test "$result" != yes; then
|
8041 | 6093 |
|
8042 | 6094 |
cat >>confdefs.h <<_ACEOF
|
|
8047 | 6099 |
|
8048 | 6100 |
|
8049 | 6101 |
|
8050 | |
|
8051 | |
for ac_header in stdint.h
|
8052 | |
do
|
8053 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
8054 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
8055 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
8056 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
8057 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
8058 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8059 | |
fi
|
8060 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
8061 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
8062 | |
echo "${ECHO_T}$ac_res" >&6; }
|
8063 | |
else
|
8064 | |
# Is the header compilable?
|
8065 | |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
8066 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
8067 | |
cat >conftest.$ac_ext <<_ACEOF
|
8068 | |
/* confdefs.h. */
|
8069 | |
_ACEOF
|
8070 | |
cat confdefs.h >>conftest.$ac_ext
|
8071 | |
cat >>conftest.$ac_ext <<_ACEOF
|
8072 | |
/* end confdefs.h. */
|
8073 | |
$ac_includes_default
|
8074 | |
#include <$ac_header>
|
8075 | |
_ACEOF
|
8076 | |
rm -f conftest.$ac_objext
|
8077 | |
if { (ac_try="$ac_compile"
|
8078 | |
case "(($ac_try" in
|
8079 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8080 | |
*) ac_try_echo=$ac_try;;
|
8081 | |
esac
|
8082 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8083 | |
(eval "$ac_compile") 2>conftest.er1
|
8084 | |
ac_status=$?
|
8085 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8086 | |
rm -f conftest.er1
|
8087 | |
cat conftest.err >&5
|
8088 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8089 | |
(exit $ac_status); } && {
|
8090 | |
test -z "$ac_c_werror_flag" ||
|
8091 | |
test ! -s conftest.err
|
8092 | |
} && test -s conftest.$ac_objext; then
|
8093 | |
ac_header_compiler=yes
|
8094 | |
else
|
8095 | |
echo "$as_me: failed program was:" >&5
|
8096 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8097 | |
|
8098 | |
ac_header_compiler=no
|
8099 | |
fi
|
8100 | |
|
8101 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8102 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
8103 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
8104 | |
|
8105 | |
# Is the header present?
|
8106 | |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
8107 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
8108 | |
cat >conftest.$ac_ext <<_ACEOF
|
8109 | |
/* confdefs.h. */
|
8110 | |
_ACEOF
|
8111 | |
cat confdefs.h >>conftest.$ac_ext
|
8112 | |
cat >>conftest.$ac_ext <<_ACEOF
|
8113 | |
/* end confdefs.h. */
|
8114 | |
#include <$ac_header>
|
8115 | |
_ACEOF
|
8116 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
8117 | |
case "(($ac_try" in
|
8118 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8119 | |
*) ac_try_echo=$ac_try;;
|
8120 | |
esac
|
8121 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8122 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
8123 | |
ac_status=$?
|
8124 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8125 | |
rm -f conftest.er1
|
8126 | |
cat conftest.err >&5
|
8127 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8128 | |
(exit $ac_status); } >/dev/null && {
|
8129 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
8130 | |
test ! -s conftest.err
|
8131 | |
}; then
|
8132 | |
ac_header_preproc=yes
|
8133 | |
else
|
8134 | |
echo "$as_me: failed program was:" >&5
|
8135 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8136 | |
|
8137 | |
ac_header_preproc=no
|
8138 | |
fi
|
8139 | |
|
8140 | |
rm -f conftest.err conftest.$ac_ext
|
8141 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
8142 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
8143 | |
|
8144 | |
# So? What about this header?
|
8145 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
8146 | |
yes:no: )
|
8147 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
8148 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
8149 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
8150 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
8151 | |
ac_header_preproc=yes
|
8152 | |
;;
|
8153 | |
no:yes:* )
|
8154 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
8155 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
8156 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
8157 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
8158 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
8159 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
8160 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
8161 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
8162 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
8163 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
8164 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
8165 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
8166 | |
|
8167 | |
;;
|
8168 | |
esac
|
8169 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
8170 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
8171 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
8172 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8173 | |
else
|
8174 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
8175 | |
fi
|
8176 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
8177 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
8178 | |
echo "${ECHO_T}$ac_res" >&6; }
|
8179 | |
|
8180 | |
fi
|
8181 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
6102 |
for ac_header in stdint.h
|
|
6103 |
do :
|
|
6104 |
ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
|
|
6105 |
if test "x$ac_cv_header_stdint_h" = x""yes; then :
|
8182 | 6106 |
cat >>confdefs.h <<_ACEOF
|
8183 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6107 |
#define HAVE_STDINT_H 1
|
8184 | 6108 |
_ACEOF
|
8185 | 6109 |
|
8186 | 6110 |
fi
|
|
8206 | 6130 |
|
8207 | 6131 |
|
8208 | 6132 |
# Check whether --with-gnu-ld was given.
|
8209 | |
if test "${with_gnu_ld+set}" = set; then
|
|
6133 |
if test "${with_gnu_ld+set}" = set; then :
|
8210 | 6134 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
8211 | 6135 |
else
|
8212 | 6136 |
with_gnu_ld=no
|
|
8228 | 6152 |
ac_prog=ld
|
8229 | 6153 |
if test "$GCC" = yes; then
|
8230 | 6154 |
# Check if gcc -print-prog-name=ld gives a path.
|
8231 | |
{ echo "$as_me:$LINENO: checking for ld used by GCC" >&5
|
8232 | |
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
|
|
6155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
|
|
6156 |
$as_echo_n "checking for ld used by GCC... " >&6; }
|
8233 | 6157 |
case $host in
|
8234 | 6158 |
*-*-mingw*)
|
8235 | 6159 |
# gcc leaves a trailing carriage return which upsets mingw
|
|
8258 | 6182 |
;;
|
8259 | 6183 |
esac
|
8260 | 6184 |
elif test "$with_gnu_ld" = yes; then
|
8261 | |
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
|
8262 | |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
|
8263 | |
else
|
8264 | |
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
8265 | |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
|
8266 | |
fi
|
8267 | |
if test "${acl_cv_path_LD+set}" = set; then
|
8268 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6185 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
|
6186 |
$as_echo_n "checking for GNU ld... " >&6; }
|
|
6187 |
else
|
|
6188 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
|
6189 |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
|
6190 |
fi
|
|
6191 |
if test "${acl_cv_path_LD+set}" = set; then :
|
|
6192 |
$as_echo_n "(cached) " >&6
|
8269 | 6193 |
else
|
8270 | 6194 |
if test -z "$LD"; then
|
8271 | 6195 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
|
8292 | 6216 |
|
8293 | 6217 |
LD="$acl_cv_path_LD"
|
8294 | 6218 |
if test -n "$LD"; then
|
8295 | |
{ echo "$as_me:$LINENO: result: $LD" >&5
|
8296 | |
echo "${ECHO_T}$LD" >&6; }
|
8297 | |
else
|
8298 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
8299 | |
echo "${ECHO_T}no" >&6; }
|
8300 | |
fi
|
8301 | |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
8302 | |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
8303 | |
{ (exit 1); exit 1; }; }
|
8304 | |
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
8305 | |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
|
8306 | |
if test "${acl_cv_prog_gnu_ld+set}" = set; then
|
8307 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
|
6220 |
$as_echo "$LD" >&6; }
|
|
6221 |
else
|
|
6222 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6223 |
$as_echo "no" >&6; }
|
|
6224 |
fi
|
|
6225 |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
|
|
6226 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
|
6227 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
|
6228 |
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
|
|
6229 |
$as_echo_n "(cached) " >&6
|
8308 | 6230 |
else
|
8309 | 6231 |
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
8310 | 6232 |
case `$LD -v 2>&1 </dev/null` in
|
|
8314 | 6236 |
acl_cv_prog_gnu_ld=no ;;
|
8315 | 6237 |
esac
|
8316 | 6238 |
fi
|
8317 | |
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
|
8318 | |
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
|
|
6239 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
|
|
6240 |
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
|
8319 | 6241 |
with_gnu_ld=$acl_cv_prog_gnu_ld
|
8320 | 6242 |
|
8321 | 6243 |
|
8322 | 6244 |
|
8323 | |
{ echo "$as_me:$LINENO: checking for shared library run path origin" >&5
|
8324 | |
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
|
8325 | |
if test "${acl_cv_rpath+set}" = set; then
|
8326 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
|
|
6246 |
$as_echo_n "checking for shared library run path origin... " >&6; }
|
|
6247 |
if test "${acl_cv_rpath+set}" = set; then :
|
|
6248 |
$as_echo_n "(cached) " >&6
|
8327 | 6249 |
else
|
8328 | 6250 |
|
8329 | 6251 |
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
|
|
8333 | 6255 |
acl_cv_rpath=done
|
8334 | 6256 |
|
8335 | 6257 |
fi
|
8336 | |
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
|
8337 | |
echo "${ECHO_T}$acl_cv_rpath" >&6; }
|
|
6258 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
|
|
6259 |
$as_echo "$acl_cv_rpath" >&6; }
|
8338 | 6260 |
wl="$acl_cv_wl"
|
8339 | 6261 |
libext="$acl_cv_libext"
|
8340 | 6262 |
shlibext="$acl_cv_shlibext"
|
|
8343 | 6265 |
hardcode_direct="$acl_cv_hardcode_direct"
|
8344 | 6266 |
hardcode_minus_L="$acl_cv_hardcode_minus_L"
|
8345 | 6267 |
# Check whether --enable-rpath was given.
|
8346 | |
if test "${enable_rpath+set}" = set; then
|
|
6268 |
if test "${enable_rpath+set}" = set; then :
|
8347 | 6269 |
enableval=$enable_rpath; :
|
8348 | 6270 |
else
|
8349 | 6271 |
enable_rpath=yes
|
|
8371 | 6293 |
|
8372 | 6294 |
|
8373 | 6295 |
# Check whether --with-libiconv-prefix was given.
|
8374 | |
if test "${with_libiconv_prefix+set}" = set; then
|
|
6296 |
if test "${with_libiconv_prefix+set}" = set; then :
|
8375 | 6297 |
withval=$with_libiconv_prefix;
|
8376 | 6298 |
if test "X$withval" = "Xno"; then
|
8377 | 6299 |
use_additional=no
|
|
8739 | 6661 |
|
8740 | 6662 |
|
8741 | 6663 |
|
8742 | |
{ echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
|
8743 | |
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
|
8744 | |
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
|
8745 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8746 | |
else
|
8747 | |
cat >conftest.$ac_ext <<_ACEOF
|
8748 | |
/* confdefs.h. */
|
8749 | |
_ACEOF
|
8750 | |
cat confdefs.h >>conftest.$ac_ext
|
8751 | |
cat >>conftest.$ac_ext <<_ACEOF
|
8752 | |
/* end confdefs.h. */
|
8753 | |
$ac_includes_default
|
8754 | |
typedef ptrdiff_t ac__type_new_;
|
8755 | |
int
|
8756 | |
main ()
|
8757 | |
{
|
8758 | |
if ((ac__type_new_ *) 0)
|
8759 | |
return 0;
|
8760 | |
if (sizeof (ac__type_new_))
|
8761 | |
return 0;
|
8762 | |
;
|
8763 | |
return 0;
|
8764 | |
}
|
8765 | |
_ACEOF
|
8766 | |
rm -f conftest.$ac_objext
|
8767 | |
if { (ac_try="$ac_compile"
|
8768 | |
case "(($ac_try" in
|
8769 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8770 | |
*) ac_try_echo=$ac_try;;
|
8771 | |
esac
|
8772 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8773 | |
(eval "$ac_compile") 2>conftest.er1
|
8774 | |
ac_status=$?
|
8775 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8776 | |
rm -f conftest.er1
|
8777 | |
cat conftest.err >&5
|
8778 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8779 | |
(exit $ac_status); } && {
|
8780 | |
test -z "$ac_c_werror_flag" ||
|
8781 | |
test ! -s conftest.err
|
8782 | |
} && test -s conftest.$ac_objext; then
|
8783 | |
ac_cv_type_ptrdiff_t=yes
|
8784 | |
else
|
8785 | |
echo "$as_me: failed program was:" >&5
|
8786 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8787 | |
|
8788 | |
ac_cv_type_ptrdiff_t=no
|
8789 | |
fi
|
8790 | |
|
8791 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8792 | |
fi
|
8793 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
|
8794 | |
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
|
8795 | |
if test $ac_cv_type_ptrdiff_t = yes; then
|
8796 | |
:
|
8797 | |
else
|
8798 | |
|
8799 | |
cat >>confdefs.h <<\_ACEOF
|
8800 | |
#define ptrdiff_t long
|
8801 | |
_ACEOF
|
8802 | |
|
8803 | |
|
8804 | |
fi
|
8805 | |
|
8806 | |
|
8807 | |
|
8808 | |
|
8809 | |
|
8810 | |
|
8811 | |
|
8812 | |
|
8813 | |
|
8814 | |
|
8815 | |
|
8816 | |
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
|
|
6664 |
ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
|
|
6665 |
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
|
|
6666 |
|
|
6667 |
else
|
|
6668 |
|
|
6669 |
$as_echo "#define ptrdiff_t long" >>confdefs.h
|
|
6670 |
|
|
6671 |
|
|
6672 |
fi
|
|
6673 |
|
|
6674 |
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
|
8817 | 6675 |
stdlib.h string.h unistd.h sys/param.h
|
8818 | |
do
|
8819 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
8820 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
8821 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
8822 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
8823 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
8824 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8825 | |
fi
|
8826 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
8827 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
8828 | |
echo "${ECHO_T}$ac_res" >&6; }
|
8829 | |
else
|
8830 | |
# Is the header compilable?
|
8831 | |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
8832 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
8833 | |
cat >conftest.$ac_ext <<_ACEOF
|
8834 | |
/* confdefs.h. */
|
8835 | |
_ACEOF
|
8836 | |
cat confdefs.h >>conftest.$ac_ext
|
8837 | |
cat >>conftest.$ac_ext <<_ACEOF
|
8838 | |
/* end confdefs.h. */
|
8839 | |
$ac_includes_default
|
8840 | |
#include <$ac_header>
|
8841 | |
_ACEOF
|
8842 | |
rm -f conftest.$ac_objext
|
8843 | |
if { (ac_try="$ac_compile"
|
8844 | |
case "(($ac_try" in
|
8845 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8846 | |
*) ac_try_echo=$ac_try;;
|
8847 | |
esac
|
8848 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8849 | |
(eval "$ac_compile") 2>conftest.er1
|
8850 | |
ac_status=$?
|
8851 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8852 | |
rm -f conftest.er1
|
8853 | |
cat conftest.err >&5
|
8854 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8855 | |
(exit $ac_status); } && {
|
8856 | |
test -z "$ac_c_werror_flag" ||
|
8857 | |
test ! -s conftest.err
|
8858 | |
} && test -s conftest.$ac_objext; then
|
8859 | |
ac_header_compiler=yes
|
8860 | |
else
|
8861 | |
echo "$as_me: failed program was:" >&5
|
8862 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8863 | |
|
8864 | |
ac_header_compiler=no
|
8865 | |
fi
|
8866 | |
|
8867 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8868 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
8869 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
8870 | |
|
8871 | |
# Is the header present?
|
8872 | |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
8873 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
8874 | |
cat >conftest.$ac_ext <<_ACEOF
|
8875 | |
/* confdefs.h. */
|
8876 | |
_ACEOF
|
8877 | |
cat confdefs.h >>conftest.$ac_ext
|
8878 | |
cat >>conftest.$ac_ext <<_ACEOF
|
8879 | |
/* end confdefs.h. */
|
8880 | |
#include <$ac_header>
|
8881 | |
_ACEOF
|
8882 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
8883 | |
case "(($ac_try" in
|
8884 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8885 | |
*) ac_try_echo=$ac_try;;
|
8886 | |
esac
|
8887 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8888 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
8889 | |
ac_status=$?
|
8890 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8891 | |
rm -f conftest.er1
|
8892 | |
cat conftest.err >&5
|
8893 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8894 | |
(exit $ac_status); } >/dev/null && {
|
8895 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
8896 | |
test ! -s conftest.err
|
8897 | |
}; then
|
8898 | |
ac_header_preproc=yes
|
8899 | |
else
|
8900 | |
echo "$as_me: failed program was:" >&5
|
8901 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8902 | |
|
8903 | |
ac_header_preproc=no
|
8904 | |
fi
|
8905 | |
|
8906 | |
rm -f conftest.err conftest.$ac_ext
|
8907 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
8908 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
8909 | |
|
8910 | |
# So? What about this header?
|
8911 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
8912 | |
yes:no: )
|
8913 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
8914 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
8915 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
8916 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
8917 | |
ac_header_preproc=yes
|
8918 | |
;;
|
8919 | |
no:yes:* )
|
8920 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
8921 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
8922 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
8923 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
8924 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
8925 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
8926 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
8927 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
8928 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
8929 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
8930 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
8931 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
8932 | |
|
8933 | |
;;
|
8934 | |
esac
|
8935 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
8936 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
8937 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
8938 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8939 | |
else
|
8940 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
8941 | |
fi
|
8942 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
8943 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
8944 | |
echo "${ECHO_T}$ac_res" >&6; }
|
8945 | |
|
8946 | |
fi
|
8947 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
6676 |
do :
|
|
6677 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
6678 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
6679 |
eval as_val=\$$as_ac_Header
|
|
6680 |
if test "x$as_val" = x""yes; then :
|
8948 | 6681 |
cat >>confdefs.h <<_ACEOF
|
8949 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6682 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
8950 | 6683 |
_ACEOF
|
8951 | 6684 |
|
8952 | 6685 |
fi
|
8953 | 6686 |
|
8954 | 6687 |
done
|
8955 | 6688 |
|
8956 | |
|
8957 | |
|
8958 | |
|
8959 | |
|
8960 | |
|
8961 | |
|
8962 | |
|
8963 | |
|
8964 | |
|
8965 | |
|
8966 | |
|
8967 | |
|
8968 | |
|
8969 | |
|
8970 | |
|
8971 | |
|
8972 | |
|
8973 | |
|
8974 | |
|
8975 | |
|
8976 | |
|
8977 | |
|
8978 | |
|
8979 | |
for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
|
|
6689 |
for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
|
8980 | 6690 |
mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
|
8981 | 6691 |
strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
|
8982 | 6692 |
__fsetlocking
|
8983 | |
do
|
8984 | |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
8985 | |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
8986 | |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
8987 | |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
8988 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8989 | |
else
|
8990 | |
cat >conftest.$ac_ext <<_ACEOF
|
8991 | |
/* confdefs.h. */
|
8992 | |
_ACEOF
|
8993 | |
cat confdefs.h >>conftest.$ac_ext
|
8994 | |
cat >>conftest.$ac_ext <<_ACEOF
|
8995 | |
/* end confdefs.h. */
|
8996 | |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
8997 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
8998 | |
#define $ac_func innocuous_$ac_func
|
8999 | |
|
9000 | |
/* System header to define __stub macros and hopefully few prototypes,
|
9001 | |
which can conflict with char $ac_func (); below.
|
9002 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
9003 | |
<limits.h> exists even on freestanding compilers. */
|
9004 | |
|
9005 | |
#ifdef __STDC__
|
9006 | |
# include <limits.h>
|
9007 | |
#else
|
9008 | |
# include <assert.h>
|
9009 | |
#endif
|
9010 | |
|
9011 | |
#undef $ac_func
|
9012 | |
|
9013 | |
/* Override any GCC internal prototype to avoid an error.
|
9014 | |
Use char because int might match the return type of a GCC
|
9015 | |
builtin and then its argument prototype would still apply. */
|
9016 | |
#ifdef __cplusplus
|
9017 | |
extern "C"
|
9018 | |
#endif
|
9019 | |
char $ac_func ();
|
9020 | |
/* The GNU C library defines this for functions which it implements
|
9021 | |
to always fail with ENOSYS. Some functions are actually named
|
9022 | |
something starting with __ and the normal name is an alias. */
|
9023 | |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
9024 | |
choke me
|
9025 | |
#endif
|
9026 | |
|
9027 | |
int
|
9028 | |
main ()
|
9029 | |
{
|
9030 | |
return $ac_func ();
|
9031 | |
;
|
9032 | |
return 0;
|
9033 | |
}
|
9034 | |
_ACEOF
|
9035 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9036 | |
if { (ac_try="$ac_link"
|
9037 | |
case "(($ac_try" in
|
9038 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9039 | |
*) ac_try_echo=$ac_try;;
|
9040 | |
esac
|
9041 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9042 | |
(eval "$ac_link") 2>conftest.er1
|
9043 | |
ac_status=$?
|
9044 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9045 | |
rm -f conftest.er1
|
9046 | |
cat conftest.err >&5
|
9047 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9048 | |
(exit $ac_status); } && {
|
9049 | |
test -z "$ac_c_werror_flag" ||
|
9050 | |
test ! -s conftest.err
|
9051 | |
} && test -s conftest$ac_exeext &&
|
9052 | |
$as_test_x conftest$ac_exeext; then
|
9053 | |
eval "$as_ac_var=yes"
|
9054 | |
else
|
9055 | |
echo "$as_me: failed program was:" >&5
|
9056 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9057 | |
|
9058 | |
eval "$as_ac_var=no"
|
9059 | |
fi
|
9060 | |
|
9061 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9062 | |
conftest$ac_exeext conftest.$ac_ext
|
9063 | |
fi
|
9064 | |
ac_res=`eval echo '${'$as_ac_var'}'`
|
9065 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
9066 | |
echo "${ECHO_T}$ac_res" >&6; }
|
9067 | |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
6693 |
do :
|
|
6694 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
6695 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
6696 |
eval as_val=\$$as_ac_var
|
|
6697 |
if test "x$as_val" = x""yes; then :
|
9068 | 6698 |
cat >>confdefs.h <<_ACEOF
|
9069 | |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
6699 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
9070 | 6700 |
_ACEOF
|
9071 | 6701 |
|
9072 | 6702 |
fi
|
|
9074 | 6704 |
|
9075 | 6705 |
|
9076 | 6706 |
|
9077 | |
{ echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
|
9078 | |
echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
|
9079 | |
if test "${ac_cv_have_decl__snprintf+set}" = set; then
|
9080 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9081 | |
else
|
9082 | |
cat >conftest.$ac_ext <<_ACEOF
|
9083 | |
/* confdefs.h. */
|
9084 | |
_ACEOF
|
9085 | |
cat confdefs.h >>conftest.$ac_ext
|
9086 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
|
|
6708 |
$as_echo_n "checking whether _snprintf is declared... " >&6; }
|
|
6709 |
if test "${ac_cv_have_decl__snprintf+set}" = set; then :
|
|
6710 |
$as_echo_n "(cached) " >&6
|
|
6711 |
else
|
|
6712 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9087 | 6713 |
/* end confdefs.h. */
|
9088 | 6714 |
#include <stdio.h>
|
9089 | 6715 |
int
|
|
9098 | 6724 |
return 0;
|
9099 | 6725 |
}
|
9100 | 6726 |
_ACEOF
|
9101 | |
rm -f conftest.$ac_objext
|
9102 | |
if { (ac_try="$ac_compile"
|
9103 | |
case "(($ac_try" in
|
9104 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9105 | |
*) ac_try_echo=$ac_try;;
|
9106 | |
esac
|
9107 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9108 | |
(eval "$ac_compile") 2>conftest.er1
|
9109 | |
ac_status=$?
|
9110 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9111 | |
rm -f conftest.er1
|
9112 | |
cat conftest.err >&5
|
9113 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9114 | |
(exit $ac_status); } && {
|
9115 | |
test -z "$ac_c_werror_flag" ||
|
9116 | |
test ! -s conftest.err
|
9117 | |
} && test -s conftest.$ac_objext; then
|
|
6727 |
if ac_fn_c_try_compile "$LINENO"; then :
|
9118 | 6728 |
ac_cv_have_decl__snprintf=yes
|
9119 | 6729 |
else
|
9120 | |
echo "$as_me: failed program was:" >&5
|
9121 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9122 | |
|
9123 | |
ac_cv_have_decl__snprintf=no
|
9124 | |
fi
|
9125 | |
|
|
6730 |
ac_cv_have_decl__snprintf=no
|
|
6731 |
fi
|
9126 | 6732 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
9127 | 6733 |
fi
|
9128 | |
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
|
9129 | |
echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
|
|
6734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
|
|
6735 |
$as_echo "$ac_cv_have_decl__snprintf" >&6; }
|
9130 | 6736 |
if test $ac_cv_have_decl__snprintf = yes; then
|
9131 | 6737 |
gt_value=1
|
9132 | 6738 |
else
|
|
9139 | 6745 |
|
9140 | 6746 |
|
9141 | 6747 |
|
9142 | |
{ echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
|
9143 | |
echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; }
|
9144 | |
if test "${ac_cv_have_decl__snwprintf+set}" = set; then
|
9145 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9146 | |
else
|
9147 | |
cat >conftest.$ac_ext <<_ACEOF
|
9148 | |
/* confdefs.h. */
|
9149 | |
_ACEOF
|
9150 | |
cat confdefs.h >>conftest.$ac_ext
|
9151 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
|
|
6749 |
$as_echo_n "checking whether _snwprintf is declared... " >&6; }
|
|
6750 |
if test "${ac_cv_have_decl__snwprintf+set}" = set; then :
|
|
6751 |
$as_echo_n "(cached) " >&6
|
|
6752 |
else
|
|
6753 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9152 | 6754 |
/* end confdefs.h. */
|
9153 | 6755 |
#include <stdio.h>
|
9154 | 6756 |
int
|
|
9163 | 6765 |
return 0;
|
9164 | 6766 |
}
|
9165 | 6767 |
_ACEOF
|
9166 | |
rm -f conftest.$ac_objext
|
9167 | |
if { (ac_try="$ac_compile"
|
9168 | |
case "(($ac_try" in
|
9169 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9170 | |
*) ac_try_echo=$ac_try;;
|
9171 | |
esac
|
9172 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9173 | |
(eval "$ac_compile") 2>conftest.er1
|
9174 | |
ac_status=$?
|
9175 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9176 | |
rm -f conftest.er1
|
9177 | |
cat conftest.err >&5
|
9178 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9179 | |
(exit $ac_status); } && {
|
9180 | |
test -z "$ac_c_werror_flag" ||
|
9181 | |
test ! -s conftest.err
|
9182 | |
} && test -s conftest.$ac_objext; then
|
|
6768 |
if ac_fn_c_try_compile "$LINENO"; then :
|
9183 | 6769 |
ac_cv_have_decl__snwprintf=yes
|
9184 | 6770 |
else
|
9185 | |
echo "$as_me: failed program was:" >&5
|
9186 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9187 | |
|
9188 | |
ac_cv_have_decl__snwprintf=no
|
9189 | |
fi
|
9190 | |
|
|
6771 |
ac_cv_have_decl__snwprintf=no
|
|
6772 |
fi
|
9191 | 6773 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
9192 | 6774 |
fi
|
9193 | |
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
|
9194 | |
echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6; }
|
|
6775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
|
|
6776 |
$as_echo "$ac_cv_have_decl__snwprintf" >&6; }
|
9195 | 6777 |
if test $ac_cv_have_decl__snwprintf = yes; then
|
9196 | 6778 |
gt_value=1
|
9197 | 6779 |
else
|
|
9205 | 6787 |
|
9206 | 6788 |
|
9207 | 6789 |
|
9208 | |
{ echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
|
9209 | |
echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; }
|
9210 | |
if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
|
9211 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9212 | |
else
|
9213 | |
cat >conftest.$ac_ext <<_ACEOF
|
9214 | |
/* confdefs.h. */
|
9215 | |
_ACEOF
|
9216 | |
cat confdefs.h >>conftest.$ac_ext
|
9217 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6790 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
|
|
6791 |
$as_echo_n "checking whether feof_unlocked is declared... " >&6; }
|
|
6792 |
if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then :
|
|
6793 |
$as_echo_n "(cached) " >&6
|
|
6794 |
else
|
|
6795 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9218 | 6796 |
/* end confdefs.h. */
|
9219 | 6797 |
#include <stdio.h>
|
9220 | 6798 |
int
|
|
9229 | 6807 |
return 0;
|
9230 | 6808 |
}
|
9231 | 6809 |
_ACEOF
|
9232 | |
rm -f conftest.$ac_objext
|
9233 | |
if { (ac_try="$ac_compile"
|
9234 | |
case "(($ac_try" in
|
9235 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9236 | |
*) ac_try_echo=$ac_try;;
|
9237 | |
esac
|
9238 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9239 | |
(eval "$ac_compile") 2>conftest.er1
|
9240 | |
ac_status=$?
|
9241 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9242 | |
rm -f conftest.er1
|
9243 | |
cat conftest.err >&5
|
9244 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9245 | |
(exit $ac_status); } && {
|
9246 | |
test -z "$ac_c_werror_flag" ||
|
9247 | |
test ! -s conftest.err
|
9248 | |
} && test -s conftest.$ac_objext; then
|
|
6810 |
if ac_fn_c_try_compile "$LINENO"; then :
|
9249 | 6811 |
ac_cv_have_decl_feof_unlocked=yes
|
9250 | 6812 |
else
|
9251 | |
echo "$as_me: failed program was:" >&5
|
9252 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9253 | |
|
9254 | |
ac_cv_have_decl_feof_unlocked=no
|
9255 | |
fi
|
9256 | |
|
|
6813 |
ac_cv_have_decl_feof_unlocked=no
|
|
6814 |
fi
|
9257 | 6815 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
9258 | 6816 |
fi
|
9259 | |
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
|
9260 | |
echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6; }
|
|
6817 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
|
|
6818 |
$as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
|
9261 | 6819 |
if test $ac_cv_have_decl_feof_unlocked = yes; then
|
9262 | 6820 |
gt_value=1
|
9263 | 6821 |
else
|
|
9270 | 6828 |
|
9271 | 6829 |
|
9272 | 6830 |
|
9273 | |
{ echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
|
9274 | |
echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; }
|
9275 | |
if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
|
9276 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9277 | |
else
|
9278 | |
cat >conftest.$ac_ext <<_ACEOF
|
9279 | |
/* confdefs.h. */
|
9280 | |
_ACEOF
|
9281 | |
cat confdefs.h >>conftest.$ac_ext
|
9282 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
|
|
6832 |
$as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
|
|
6833 |
if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then :
|
|
6834 |
$as_echo_n "(cached) " >&6
|
|
6835 |
else
|
|
6836 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9283 | 6837 |
/* end confdefs.h. */
|
9284 | 6838 |
#include <stdio.h>
|
9285 | 6839 |
int
|
|
9294 | 6848 |
return 0;
|
9295 | 6849 |
}
|
9296 | 6850 |
_ACEOF
|
9297 | |
rm -f conftest.$ac_objext
|
9298 | |
if { (ac_try="$ac_compile"
|
9299 | |
case "(($ac_try" in
|
9300 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9301 | |
*) ac_try_echo=$ac_try;;
|
9302 | |
esac
|
9303 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9304 | |
(eval "$ac_compile") 2>conftest.er1
|
9305 | |
ac_status=$?
|
9306 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9307 | |
rm -f conftest.er1
|
9308 | |
cat conftest.err >&5
|
9309 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9310 | |
(exit $ac_status); } && {
|
9311 | |
test -z "$ac_c_werror_flag" ||
|
9312 | |
test ! -s conftest.err
|
9313 | |
} && test -s conftest.$ac_objext; then
|
|
6851 |
if ac_fn_c_try_compile "$LINENO"; then :
|
9314 | 6852 |
ac_cv_have_decl_fgets_unlocked=yes
|
9315 | 6853 |
else
|
9316 | |
echo "$as_me: failed program was:" >&5
|
9317 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9318 | |
|
9319 | |
ac_cv_have_decl_fgets_unlocked=no
|
9320 | |
fi
|
9321 | |
|
|
6854 |
ac_cv_have_decl_fgets_unlocked=no
|
|
6855 |
fi
|
9322 | 6856 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
9323 | 6857 |
fi
|
9324 | |
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
|
9325 | |
echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6; }
|
|
6858 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
|
|
6859 |
$as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
|
9326 | 6860 |
if test $ac_cv_have_decl_fgets_unlocked = yes; then
|
9327 | 6861 |
gt_value=1
|
9328 | 6862 |
else
|
|
9335 | 6869 |
|
9336 | 6870 |
|
9337 | 6871 |
|
9338 | |
{ echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
|
9339 | |
echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
|
9340 | |
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
|
9341 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9342 | |
else
|
9343 | |
cat >conftest.$ac_ext <<_ACEOF
|
9344 | |
/* confdefs.h. */
|
9345 | |
_ACEOF
|
9346 | |
cat confdefs.h >>conftest.$ac_ext
|
9347 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6872 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
|
|
6873 |
$as_echo_n "checking whether getc_unlocked is declared... " >&6; }
|
|
6874 |
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then :
|
|
6875 |
$as_echo_n "(cached) " >&6
|
|
6876 |
else
|
|
6877 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9348 | 6878 |
/* end confdefs.h. */
|
9349 | 6879 |
#include <stdio.h>
|
9350 | 6880 |
int
|
|
9359 | 6889 |
return 0;
|
9360 | 6890 |
}
|
9361 | 6891 |
_ACEOF
|
9362 | |
rm -f conftest.$ac_objext
|
9363 | |
if { (ac_try="$ac_compile"
|
9364 | |
case "(($ac_try" in
|
9365 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9366 | |
*) ac_try_echo=$ac_try;;
|
9367 | |
esac
|
9368 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9369 | |
(eval "$ac_compile") 2>conftest.er1
|
9370 | |
ac_status=$?
|
9371 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9372 | |
rm -f conftest.er1
|
9373 | |
cat conftest.err >&5
|
9374 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9375 | |
(exit $ac_status); } && {
|
9376 | |
test -z "$ac_c_werror_flag" ||
|
9377 | |
test ! -s conftest.err
|
9378 | |
} && test -s conftest.$ac_objext; then
|
|
6892 |
if ac_fn_c_try_compile "$LINENO"; then :
|
9379 | 6893 |
ac_cv_have_decl_getc_unlocked=yes
|
9380 | 6894 |
else
|
9381 | |
echo "$as_me: failed program was:" >&5
|
9382 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9383 | |
|
9384 | |
ac_cv_have_decl_getc_unlocked=no
|
9385 | |
fi
|
9386 | |
|
|
6895 |
ac_cv_have_decl_getc_unlocked=no
|
|
6896 |
fi
|
9387 | 6897 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
9388 | 6898 |
fi
|
9389 | |
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
|
9390 | |
echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
|
|
6899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
|
|
6900 |
$as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
|
9391 | 6901 |
if test $ac_cv_have_decl_getc_unlocked = yes; then
|
9392 | 6902 |
gt_value=1
|
9393 | 6903 |
else
|
|
9454 | 6964 |
done
|
9455 | 6965 |
|
9456 | 6966 |
|
9457 | |
{ echo "$as_me:$LINENO: checking for iconv" >&5
|
9458 | |
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
|
9459 | |
if test "${am_cv_func_iconv+set}" = set; then
|
9460 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6967 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
|
|
6968 |
$as_echo_n "checking for iconv... " >&6; }
|
|
6969 |
if test "${am_cv_func_iconv+set}" = set; then :
|
|
6970 |
$as_echo_n "(cached) " >&6
|
9461 | 6971 |
else
|
9462 | 6972 |
|
9463 | 6973 |
am_cv_func_iconv="no, consider installing GNU libiconv"
|
9464 | 6974 |
am_cv_lib_iconv=no
|
9465 | |
cat >conftest.$ac_ext <<_ACEOF
|
9466 | |
/* confdefs.h. */
|
9467 | |
_ACEOF
|
9468 | |
cat confdefs.h >>conftest.$ac_ext
|
9469 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6975 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9470 | 6976 |
/* end confdefs.h. */
|
9471 | 6977 |
#include <stdlib.h>
|
9472 | 6978 |
#include <iconv.h>
|
|
9480 | 6986 |
return 0;
|
9481 | 6987 |
}
|
9482 | 6988 |
_ACEOF
|
9483 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9484 | |
if { (ac_try="$ac_link"
|
9485 | |
case "(($ac_try" in
|
9486 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9487 | |
*) ac_try_echo=$ac_try;;
|
9488 | |
esac
|
9489 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9490 | |
(eval "$ac_link") 2>conftest.er1
|
9491 | |
ac_status=$?
|
9492 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9493 | |
rm -f conftest.er1
|
9494 | |
cat conftest.err >&5
|
9495 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9496 | |
(exit $ac_status); } && {
|
9497 | |
test -z "$ac_c_werror_flag" ||
|
9498 | |
test ! -s conftest.err
|
9499 | |
} && test -s conftest$ac_exeext &&
|
9500 | |
$as_test_x conftest$ac_exeext; then
|
|
6989 |
if ac_fn_c_try_link "$LINENO"; then :
|
9501 | 6990 |
am_cv_func_iconv=yes
|
9502 | |
else
|
9503 | |
echo "$as_me: failed program was:" >&5
|
9504 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9505 | |
|
9506 | |
|
9507 | |
fi
|
9508 | |
|
9509 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9510 | |
conftest$ac_exeext conftest.$ac_ext
|
|
6991 |
fi
|
|
6992 |
rm -f core conftest.err conftest.$ac_objext \
|
|
6993 |
conftest$ac_exeext conftest.$ac_ext
|
9511 | 6994 |
if test "$am_cv_func_iconv" != yes; then
|
9512 | 6995 |
am_save_LIBS="$LIBS"
|
9513 | 6996 |
LIBS="$LIBS $LIBICONV"
|
9514 | |
cat >conftest.$ac_ext <<_ACEOF
|
9515 | |
/* confdefs.h. */
|
9516 | |
_ACEOF
|
9517 | |
cat confdefs.h >>conftest.$ac_ext
|
9518 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6997 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9519 | 6998 |
/* end confdefs.h. */
|
9520 | 6999 |
#include <stdlib.h>
|
9521 | 7000 |
#include <iconv.h>
|
|
9529 | 7008 |
return 0;
|
9530 | 7009 |
}
|
9531 | 7010 |
_ACEOF
|
9532 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9533 | |
if { (ac_try="$ac_link"
|
9534 | |
case "(($ac_try" in
|
9535 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9536 | |
*) ac_try_echo=$ac_try;;
|
9537 | |
esac
|
9538 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9539 | |
(eval "$ac_link") 2>conftest.er1
|
9540 | |
ac_status=$?
|
9541 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9542 | |
rm -f conftest.er1
|
9543 | |
cat conftest.err >&5
|
9544 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9545 | |
(exit $ac_status); } && {
|
9546 | |
test -z "$ac_c_werror_flag" ||
|
9547 | |
test ! -s conftest.err
|
9548 | |
} && test -s conftest$ac_exeext &&
|
9549 | |
$as_test_x conftest$ac_exeext; then
|
|
7011 |
if ac_fn_c_try_link "$LINENO"; then :
|
9550 | 7012 |
am_cv_lib_iconv=yes
|
9551 | 7013 |
am_cv_func_iconv=yes
|
9552 | |
else
|
9553 | |
echo "$as_me: failed program was:" >&5
|
9554 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9555 | |
|
9556 | |
|
9557 | |
fi
|
9558 | |
|
9559 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9560 | |
conftest$ac_exeext conftest.$ac_ext
|
|
7014 |
fi
|
|
7015 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7016 |
conftest$ac_exeext conftest.$ac_ext
|
9561 | 7017 |
LIBS="$am_save_LIBS"
|
9562 | 7018 |
fi
|
9563 | 7019 |
|
9564 | 7020 |
fi
|
9565 | |
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
|
9566 | |
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
|
|
7021 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
|
|
7022 |
$as_echo "$am_cv_func_iconv" >&6; }
|
9567 | 7023 |
if test "$am_cv_func_iconv" = yes; then
|
9568 | 7024 |
|
9569 | |
cat >>confdefs.h <<\_ACEOF
|
9570 | |
#define HAVE_ICONV 1
|
9571 | |
_ACEOF
|
|
7025 |
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
|
9572 | 7026 |
|
9573 | 7027 |
fi
|
9574 | 7028 |
if test "$am_cv_lib_iconv" = yes; then
|
9575 | |
{ echo "$as_me:$LINENO: checking how to link with libiconv" >&5
|
9576 | |
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
|
9577 | |
{ echo "$as_me:$LINENO: result: $LIBICONV" >&5
|
9578 | |
echo "${ECHO_T}$LIBICONV" >&6; }
|
|
7029 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
|
|
7030 |
$as_echo_n "checking how to link with libiconv... " >&6; }
|
|
7031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
|
|
7032 |
$as_echo "$LIBICONV" >&6; }
|
9579 | 7033 |
else
|
9580 | 7034 |
CPPFLAGS="$am_save_CPPFLAGS"
|
9581 | 7035 |
LIBICONV=
|
|
9585 | 7039 |
|
9586 | 7040 |
|
9587 | 7041 |
if test "$am_cv_func_iconv" = yes; then
|
9588 | |
{ echo "$as_me:$LINENO: checking for iconv declaration" >&5
|
9589 | |
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
|
9590 | |
if test "${am_cv_proto_iconv+set}" = set; then
|
9591 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9592 | |
else
|
9593 | |
|
9594 | |
cat >conftest.$ac_ext <<_ACEOF
|
9595 | |
/* confdefs.h. */
|
9596 | |
_ACEOF
|
9597 | |
cat confdefs.h >>conftest.$ac_ext
|
9598 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7042 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
|
|
7043 |
$as_echo_n "checking for iconv declaration... " >&6; }
|
|
7044 |
if test "${am_cv_proto_iconv+set}" = set; then :
|
|
7045 |
$as_echo_n "(cached) " >&6
|
|
7046 |
else
|
|
7047 |
|
|
7048 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9599 | 7049 |
/* end confdefs.h. */
|
9600 | 7050 |
|
9601 | 7051 |
#include <stdlib.h>
|
|
9618 | 7068 |
return 0;
|
9619 | 7069 |
}
|
9620 | 7070 |
_ACEOF
|
9621 | |
rm -f conftest.$ac_objext
|
9622 | |
if { (ac_try="$ac_compile"
|
9623 | |
case "(($ac_try" in
|
9624 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9625 | |
*) ac_try_echo=$ac_try;;
|
9626 | |
esac
|
9627 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9628 | |
(eval "$ac_compile") 2>conftest.er1
|
9629 | |
ac_status=$?
|
9630 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9631 | |
rm -f conftest.er1
|
9632 | |
cat conftest.err >&5
|
9633 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9634 | |
(exit $ac_status); } && {
|
9635 | |
test -z "$ac_c_werror_flag" ||
|
9636 | |
test ! -s conftest.err
|
9637 | |
} && test -s conftest.$ac_objext; then
|
|
7071 |
if ac_fn_c_try_compile "$LINENO"; then :
|
9638 | 7072 |
am_cv_proto_iconv_arg1=""
|
9639 | 7073 |
else
|
9640 | |
echo "$as_me: failed program was:" >&5
|
9641 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9642 | |
|
9643 | |
am_cv_proto_iconv_arg1="const"
|
9644 | |
fi
|
9645 | |
|
|
7074 |
am_cv_proto_iconv_arg1="const"
|
|
7075 |
fi
|
9646 | 7076 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
9647 | 7077 |
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
|
9648 | 7078 |
fi
|
9649 | 7079 |
|
9650 | 7080 |
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
|
9651 | |
{ echo "$as_me:$LINENO: result: ${ac_t:-
|
|
7081 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
|
9652 | 7082 |
}$am_cv_proto_iconv" >&5
|
9653 | |
echo "${ECHO_T}${ac_t:-
|
|
7083 |
$as_echo "${ac_t:-
|
9654 | 7084 |
}$am_cv_proto_iconv" >&6; }
|
9655 | 7085 |
|
9656 | 7086 |
cat >>confdefs.h <<_ACEOF
|
|
9660 | 7090 |
fi
|
9661 | 7091 |
|
9662 | 7092 |
|
9663 | |
{ echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
|
9664 | |
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
|
9665 | |
if test "${am_cv_langinfo_codeset+set}" = set; then
|
9666 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9667 | |
else
|
9668 | |
cat >conftest.$ac_ext <<_ACEOF
|
9669 | |
/* confdefs.h. */
|
9670 | |
_ACEOF
|
9671 | |
cat confdefs.h >>conftest.$ac_ext
|
9672 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7093 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
|
|
7094 |
$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
|
|
7095 |
if test "${am_cv_langinfo_codeset+set}" = set; then :
|
|
7096 |
$as_echo_n "(cached) " >&6
|
|
7097 |
else
|
|
7098 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9673 | 7099 |
/* end confdefs.h. */
|
9674 | 7100 |
#include <langinfo.h>
|
9675 | 7101 |
int
|
|
9680 | 7106 |
return 0;
|
9681 | 7107 |
}
|
9682 | 7108 |
_ACEOF
|
9683 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9684 | |
if { (ac_try="$ac_link"
|
9685 | |
case "(($ac_try" in
|
9686 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9687 | |
*) ac_try_echo=$ac_try;;
|
9688 | |
esac
|
9689 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9690 | |
(eval "$ac_link") 2>conftest.er1
|
9691 | |
ac_status=$?
|
9692 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9693 | |
rm -f conftest.er1
|
9694 | |
cat conftest.err >&5
|
9695 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9696 | |
(exit $ac_status); } && {
|
9697 | |
test -z "$ac_c_werror_flag" ||
|
9698 | |
test ! -s conftest.err
|
9699 | |
} && test -s conftest$ac_exeext &&
|
9700 | |
$as_test_x conftest$ac_exeext; then
|
|
7109 |
if ac_fn_c_try_link "$LINENO"; then :
|
9701 | 7110 |
am_cv_langinfo_codeset=yes
|
9702 | 7111 |
else
|
9703 | |
echo "$as_me: failed program was:" >&5
|
9704 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9705 | |
|
9706 | |
am_cv_langinfo_codeset=no
|
9707 | |
fi
|
9708 | |
|
9709 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9710 | |
conftest$ac_exeext conftest.$ac_ext
|
9711 | |
|
9712 | |
fi
|
9713 | |
{ echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
|
9714 | |
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
|
|
7112 |
am_cv_langinfo_codeset=no
|
|
7113 |
fi
|
|
7114 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7115 |
conftest$ac_exeext conftest.$ac_ext
|
|
7116 |
|
|
7117 |
fi
|
|
7118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
|
|
7119 |
$as_echo "$am_cv_langinfo_codeset" >&6; }
|
9715 | 7120 |
if test $am_cv_langinfo_codeset = yes; then
|
9716 | 7121 |
|
9717 | |
cat >>confdefs.h <<\_ACEOF
|
9718 | |
#define HAVE_LANGINFO_CODESET 1
|
9719 | |
_ACEOF
|
|
7122 |
$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
|
9720 | 7123 |
|
9721 | 7124 |
fi
|
9722 | 7125 |
|
9723 | 7126 |
if test $ac_cv_header_locale_h = yes; then
|
9724 | 7127 |
|
9725 | |
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
|
9726 | |
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
|
9727 | |
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
|
9728 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9729 | |
else
|
9730 | |
cat >conftest.$ac_ext <<_ACEOF
|
9731 | |
/* confdefs.h. */
|
9732 | |
_ACEOF
|
9733 | |
cat confdefs.h >>conftest.$ac_ext
|
9734 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7128 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
|
|
7129 |
$as_echo_n "checking for LC_MESSAGES... " >&6; }
|
|
7130 |
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
|
|
7131 |
$as_echo_n "(cached) " >&6
|
|
7132 |
else
|
|
7133 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9735 | 7134 |
/* end confdefs.h. */
|
9736 | 7135 |
#include <locale.h>
|
9737 | 7136 |
int
|
|
9742 | 7141 |
return 0;
|
9743 | 7142 |
}
|
9744 | 7143 |
_ACEOF
|
9745 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9746 | |
if { (ac_try="$ac_link"
|
9747 | |
case "(($ac_try" in
|
9748 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9749 | |
*) ac_try_echo=$ac_try;;
|
9750 | |
esac
|
9751 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9752 | |
(eval "$ac_link") 2>conftest.er1
|
9753 | |
ac_status=$?
|
9754 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9755 | |
rm -f conftest.er1
|
9756 | |
cat conftest.err >&5
|
9757 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9758 | |
(exit $ac_status); } && {
|
9759 | |
test -z "$ac_c_werror_flag" ||
|
9760 | |
test ! -s conftest.err
|
9761 | |
} && test -s conftest$ac_exeext &&
|
9762 | |
$as_test_x conftest$ac_exeext; then
|
|
7144 |
if ac_fn_c_try_link "$LINENO"; then :
|
9763 | 7145 |
am_cv_val_LC_MESSAGES=yes
|
9764 | 7146 |
else
|
9765 | |
echo "$as_me: failed program was:" >&5
|
9766 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9767 | |
|
9768 | |
am_cv_val_LC_MESSAGES=no
|
9769 | |
fi
|
9770 | |
|
9771 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9772 | |
conftest$ac_exeext conftest.$ac_ext
|
9773 | |
fi
|
9774 | |
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
|
9775 | |
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
|
|
7147 |
am_cv_val_LC_MESSAGES=no
|
|
7148 |
fi
|
|
7149 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7150 |
conftest$ac_exeext conftest.$ac_ext
|
|
7151 |
fi
|
|
7152 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
|
|
7153 |
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
|
9776 | 7154 |
if test $am_cv_val_LC_MESSAGES = yes; then
|
9777 | 7155 |
|
9778 | |
cat >>confdefs.h <<\_ACEOF
|
9779 | |
#define HAVE_LC_MESSAGES 1
|
9780 | |
_ACEOF
|
|
7156 |
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
|
9781 | 7157 |
|
9782 | 7158 |
fi
|
9783 | 7159 |
|
|
9787 | 7163 |
do
|
9788 | 7164 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
9789 | 7165 |
set dummy $ac_prog; ac_word=$2
|
9790 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
9791 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
9792 | |
if test "${ac_cv_prog_INTLBISON+set}" = set; then
|
9793 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7166 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7167 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
7168 |
if test "${ac_cv_prog_INTLBISON+set}" = set; then :
|
|
7169 |
$as_echo_n "(cached) " >&6
|
9794 | 7170 |
else
|
9795 | 7171 |
if test -n "$INTLBISON"; then
|
9796 | 7172 |
ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
|
|
9800 | 7176 |
do
|
9801 | 7177 |
IFS=$as_save_IFS
|
9802 | 7178 |
test -z "$as_dir" && as_dir=.
|
9803 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7179 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
9804 | 7180 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
9805 | 7181 |
ac_cv_prog_INTLBISON="$ac_prog"
|
9806 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7182 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
9807 | 7183 |
break 2
|
9808 | 7184 |
fi
|
9809 | 7185 |
done
|
9810 | |
done
|
|
7186 |
done
|
9811 | 7187 |
IFS=$as_save_IFS
|
9812 | 7188 |
|
9813 | 7189 |
fi
|
9814 | 7190 |
fi
|
9815 | 7191 |
INTLBISON=$ac_cv_prog_INTLBISON
|
9816 | 7192 |
if test -n "$INTLBISON"; then
|
9817 | |
{ echo "$as_me:$LINENO: result: $INTLBISON" >&5
|
9818 | |
echo "${ECHO_T}$INTLBISON" >&6; }
|
9819 | |
else
|
9820 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
9821 | |
echo "${ECHO_T}no" >&6; }
|
|
7193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
|
|
7194 |
$as_echo "$INTLBISON" >&6; }
|
|
7195 |
else
|
|
7196 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7197 |
$as_echo "no" >&6; }
|
9822 | 7198 |
fi
|
9823 | 7199 |
|
9824 | 7200 |
|
|
9828 | 7204 |
if test -z "$INTLBISON"; then
|
9829 | 7205 |
ac_verc_fail=yes
|
9830 | 7206 |
else
|
9831 | |
{ echo "$as_me:$LINENO: checking version of bison" >&5
|
9832 | |
echo $ECHO_N "checking version of bison... $ECHO_C" >&6; }
|
|
7207 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
|
|
7208 |
$as_echo_n "checking version of bison... " >&6; }
|
9833 | 7209 |
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
9834 | 7210 |
case $ac_prog_version in
|
9835 | 7211 |
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
|
9837 | 7213 |
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
9838 | 7214 |
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
9839 | 7215 |
esac
|
9840 | |
{ echo "$as_me:$LINENO: result: $ac_prog_version" >&5
|
9841 | |
echo "${ECHO_T}$ac_prog_version" >&6; }
|
|
7216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
|
|
7217 |
$as_echo "$ac_prog_version" >&6; }
|
9842 | 7218 |
fi
|
9843 | 7219 |
if test $ac_verc_fail = yes; then
|
9844 | 7220 |
INTLBISON=:
|
|
9859 | 7235 |
|
9860 | 7236 |
|
9861 | 7237 |
|
9862 | |
{ echo "$as_me:$LINENO: checking whether NLS is requested" >&5
|
9863 | |
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
|
|
7238 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
|
|
7239 |
$as_echo_n "checking whether NLS is requested... " >&6; }
|
9864 | 7240 |
# Check whether --enable-nls was given.
|
9865 | |
if test "${enable_nls+set}" = set; then
|
|
7241 |
if test "${enable_nls+set}" = set; then :
|
9866 | 7242 |
enableval=$enable_nls; USE_NLS=$enableval
|
9867 | 7243 |
else
|
9868 | 7244 |
USE_NLS=yes
|
9869 | 7245 |
fi
|
9870 | 7246 |
|
9871 | |
{ echo "$as_me:$LINENO: result: $USE_NLS" >&5
|
9872 | |
echo "${ECHO_T}$USE_NLS" >&6; }
|
|
7247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
|
|
7248 |
$as_echo "$USE_NLS" >&6; }
|
9873 | 7249 |
|
9874 | 7250 |
|
9875 | 7251 |
|
|
9884 | 7260 |
if test "$USE_NLS" = "yes"; then
|
9885 | 7261 |
gt_use_preinstalled_gnugettext=no
|
9886 | 7262 |
|
9887 | |
{ echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
|
9888 | |
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
|
|
7263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
|
|
7264 |
$as_echo_n "checking whether included gettext is requested... " >&6; }
|
9889 | 7265 |
|
9890 | 7266 |
# Check whether --with-included-gettext was given.
|
9891 | |
if test "${with_included_gettext+set}" = set; then
|
|
7267 |
if test "${with_included_gettext+set}" = set; then :
|
9892 | 7268 |
withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
|
9893 | 7269 |
else
|
9894 | 7270 |
nls_cv_force_use_gnu_gettext=no
|
9895 | 7271 |
fi
|
9896 | 7272 |
|
9897 | |
{ echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
|
9898 | |
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
|
|
7273 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
|
|
7274 |
$as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
|
9899 | 7275 |
|
9900 | 7276 |
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
|
9901 | 7277 |
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
|
|
9905 | 7281 |
|
9906 | 7282 |
|
9907 | 7283 |
|
9908 | |
{ echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
|
9909 | |
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
|
9910 | |
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
|
9911 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9912 | |
else
|
9913 | |
cat >conftest.$ac_ext <<_ACEOF
|
9914 | |
/* confdefs.h. */
|
9915 | |
_ACEOF
|
9916 | |
cat confdefs.h >>conftest.$ac_ext
|
9917 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7284 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
|
|
7285 |
$as_echo_n "checking for GNU gettext in libc... " >&6; }
|
|
7286 |
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
|
|
7287 |
$as_echo_n "(cached) " >&6
|
|
7288 |
else
|
|
7289 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9918 | 7290 |
/* end confdefs.h. */
|
9919 | 7291 |
#include <libintl.h>
|
9920 | 7292 |
extern int _nl_msg_cat_cntr;
|
|
9928 | 7300 |
return 0;
|
9929 | 7301 |
}
|
9930 | 7302 |
_ACEOF
|
9931 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9932 | |
if { (ac_try="$ac_link"
|
9933 | |
case "(($ac_try" in
|
9934 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9935 | |
*) ac_try_echo=$ac_try;;
|
9936 | |
esac
|
9937 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9938 | |
(eval "$ac_link") 2>conftest.er1
|
9939 | |
ac_status=$?
|
9940 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9941 | |
rm -f conftest.er1
|
9942 | |
cat conftest.err >&5
|
9943 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9944 | |
(exit $ac_status); } && {
|
9945 | |
test -z "$ac_c_werror_flag" ||
|
9946 | |
test ! -s conftest.err
|
9947 | |
} && test -s conftest$ac_exeext &&
|
9948 | |
$as_test_x conftest$ac_exeext; then
|
|
7303 |
if ac_fn_c_try_link "$LINENO"; then :
|
9949 | 7304 |
gt_cv_func_gnugettext1_libc=yes
|
9950 | 7305 |
else
|
9951 | |
echo "$as_me: failed program was:" >&5
|
9952 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9953 | |
|
9954 | |
gt_cv_func_gnugettext1_libc=no
|
9955 | |
fi
|
9956 | |
|
9957 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9958 | |
conftest$ac_exeext conftest.$ac_ext
|
9959 | |
fi
|
9960 | |
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
|
9961 | |
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; }
|
|
7306 |
gt_cv_func_gnugettext1_libc=no
|
|
7307 |
fi
|
|
7308 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7309 |
conftest$ac_exeext conftest.$ac_ext
|
|
7310 |
fi
|
|
7311 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
|
|
7312 |
$as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
|
9962 | 7313 |
|
9963 | 7314 |
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
|
9964 | 7315 |
|
|
9979 | 7330 |
|
9980 | 7331 |
|
9981 | 7332 |
# Check whether --with-libintl-prefix was given.
|
9982 | |
if test "${with_libintl_prefix+set}" = set; then
|
|
7333 |
if test "${with_libintl_prefix+set}" = set; then :
|
9983 | 7334 |
withval=$with_libintl_prefix;
|
9984 | 7335 |
if test "X$withval" = "Xno"; then
|
9985 | 7336 |
use_additional=no
|
|
10340 | 7691 |
done
|
10341 | 7692 |
fi
|
10342 | 7693 |
|
10343 | |
{ echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
|
10344 | |
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
|
10345 | |
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
|
10346 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
|
|
7695 |
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
|
|
7696 |
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
|
|
7697 |
$as_echo_n "(cached) " >&6
|
10347 | 7698 |
else
|
10348 | 7699 |
gt_save_CPPFLAGS="$CPPFLAGS"
|
10349 | 7700 |
CPPFLAGS="$CPPFLAGS $INCINTL"
|
10350 | 7701 |
gt_save_LIBS="$LIBS"
|
10351 | 7702 |
LIBS="$LIBS $LIBINTL"
|
10352 | |
cat >conftest.$ac_ext <<_ACEOF
|
10353 | |
/* confdefs.h. */
|
10354 | |
_ACEOF
|
10355 | |
cat confdefs.h >>conftest.$ac_ext
|
10356 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7703 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10357 | 7704 |
/* end confdefs.h. */
|
10358 | 7705 |
#include <libintl.h>
|
10359 | 7706 |
extern int _nl_msg_cat_cntr;
|
|
10371 | 7718 |
return 0;
|
10372 | 7719 |
}
|
10373 | 7720 |
_ACEOF
|
10374 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
10375 | |
if { (ac_try="$ac_link"
|
10376 | |
case "(($ac_try" in
|
10377 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10378 | |
*) ac_try_echo=$ac_try;;
|
10379 | |
esac
|
10380 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
10381 | |
(eval "$ac_link") 2>conftest.er1
|
10382 | |
ac_status=$?
|
10383 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
10384 | |
rm -f conftest.er1
|
10385 | |
cat conftest.err >&5
|
10386 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10387 | |
(exit $ac_status); } && {
|
10388 | |
test -z "$ac_c_werror_flag" ||
|
10389 | |
test ! -s conftest.err
|
10390 | |
} && test -s conftest$ac_exeext &&
|
10391 | |
$as_test_x conftest$ac_exeext; then
|
|
7721 |
if ac_fn_c_try_link "$LINENO"; then :
|
10392 | 7722 |
gt_cv_func_gnugettext1_libintl=yes
|
10393 | 7723 |
else
|
10394 | |
echo "$as_me: failed program was:" >&5
|
10395 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
10396 | |
|
10397 | |
gt_cv_func_gnugettext1_libintl=no
|
10398 | |
fi
|
10399 | |
|
10400 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
10401 | |
conftest$ac_exeext conftest.$ac_ext
|
|
7724 |
gt_cv_func_gnugettext1_libintl=no
|
|
7725 |
fi
|
|
7726 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7727 |
conftest$ac_exeext conftest.$ac_ext
|
10402 | 7728 |
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
|
10403 | 7729 |
LIBS="$LIBS $LIBICONV"
|
10404 | |
cat >conftest.$ac_ext <<_ACEOF
|
10405 | |
/* confdefs.h. */
|
10406 | |
_ACEOF
|
10407 | |
cat confdefs.h >>conftest.$ac_ext
|
10408 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7730 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10409 | 7731 |
/* end confdefs.h. */
|
10410 | 7732 |
#include <libintl.h>
|
10411 | 7733 |
extern int _nl_msg_cat_cntr;
|
|
10423 | 7745 |
return 0;
|
10424 | 7746 |
}
|
10425 | 7747 |
_ACEOF
|
10426 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
10427 | |
if { (ac_try="$ac_link"
|
10428 | |
case "(($ac_try" in
|
10429 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10430 | |
*) ac_try_echo=$ac_try;;
|
10431 | |
esac
|
10432 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
10433 | |
(eval "$ac_link") 2>conftest.er1
|
10434 | |
ac_status=$?
|
10435 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
10436 | |
rm -f conftest.er1
|
10437 | |
cat conftest.err >&5
|
10438 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10439 | |
(exit $ac_status); } && {
|
10440 | |
test -z "$ac_c_werror_flag" ||
|
10441 | |
test ! -s conftest.err
|
10442 | |
} && test -s conftest$ac_exeext &&
|
10443 | |
$as_test_x conftest$ac_exeext; then
|
|
7748 |
if ac_fn_c_try_link "$LINENO"; then :
|
10444 | 7749 |
LIBINTL="$LIBINTL $LIBICONV"
|
10445 | 7750 |
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
|
10446 | 7751 |
gt_cv_func_gnugettext1_libintl=yes
|
10447 | 7752 |
|
10448 | |
else
|
10449 | |
echo "$as_me: failed program was:" >&5
|
10450 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
10451 | |
|
10452 | |
|
10453 | |
fi
|
10454 | |
|
10455 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
10456 | |
conftest$ac_exeext conftest.$ac_ext
|
|
7753 |
fi
|
|
7754 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7755 |
conftest$ac_exeext conftest.$ac_ext
|
10457 | 7756 |
fi
|
10458 | 7757 |
CPPFLAGS="$gt_save_CPPFLAGS"
|
10459 | 7758 |
LIBS="$gt_save_LIBS"
|
10460 | 7759 |
fi
|
10461 | |
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
|
10462 | |
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; }
|
|
7760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
|
|
7761 |
$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
|
10463 | 7762 |
fi
|
10464 | 7763 |
|
10465 | 7764 |
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
|
|
10496 | 7795 |
if test "$gt_use_preinstalled_gnugettext" = "yes" \
|
10497 | 7796 |
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
|
10498 | 7797 |
|
10499 | |
cat >>confdefs.h <<\_ACEOF
|
10500 | |
#define ENABLE_NLS 1
|
10501 | |
_ACEOF
|
|
7798 |
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
|
10502 | 7799 |
|
10503 | 7800 |
else
|
10504 | 7801 |
USE_NLS=no
|
10505 | 7802 |
fi
|
10506 | 7803 |
fi
|
10507 | 7804 |
|
10508 | |
{ echo "$as_me:$LINENO: checking whether to use NLS" >&5
|
10509 | |
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
|
10510 | |
{ echo "$as_me:$LINENO: result: $USE_NLS" >&5
|
10511 | |
echo "${ECHO_T}$USE_NLS" >&6; }
|
|
7805 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
|
|
7806 |
$as_echo_n "checking whether to use NLS... " >&6; }
|
|
7807 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
|
|
7808 |
$as_echo "$USE_NLS" >&6; }
|
10512 | 7809 |
if test "$USE_NLS" = "yes"; then
|
10513 | |
{ echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
|
10514 | |
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
|
|
7810 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
|
|
7811 |
$as_echo_n "checking where the gettext function comes from... " >&6; }
|
10515 | 7812 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
|
10516 | 7813 |
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
|
10517 | 7814 |
gt_source="external libintl"
|
|
10521 | 7818 |
else
|
10522 | 7819 |
gt_source="included intl directory"
|
10523 | 7820 |
fi
|
10524 | |
{ echo "$as_me:$LINENO: result: $gt_source" >&5
|
10525 | |
echo "${ECHO_T}$gt_source" >&6; }
|
|
7821 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
|
|
7822 |
$as_echo "$gt_source" >&6; }
|
10526 | 7823 |
fi
|
10527 | 7824 |
|
10528 | 7825 |
if test "$USE_NLS" = "yes"; then
|
10529 | 7826 |
|
10530 | 7827 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
|
10531 | 7828 |
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
|
10532 | |
{ echo "$as_me:$LINENO: checking how to link with libintl" >&5
|
10533 | |
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
|
10534 | |
{ echo "$as_me:$LINENO: result: $LIBINTL" >&5
|
10535 | |
echo "${ECHO_T}$LIBINTL" >&6; }
|
|
7829 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
|
|
7830 |
$as_echo_n "checking how to link with libintl... " >&6; }
|
|
7831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
|
|
7832 |
$as_echo "$LIBINTL" >&6; }
|
10536 | 7833 |
|
10537 | 7834 |
for element in $INCINTL; do
|
10538 | 7835 |
haveit=
|
|
10559 | 7856 |
fi
|
10560 | 7857 |
|
10561 | 7858 |
|
10562 | |
cat >>confdefs.h <<\_ACEOF
|
10563 | |
#define HAVE_GETTEXT 1
|
10564 | |
_ACEOF
|
10565 | |
|
10566 | |
|
10567 | |
cat >>confdefs.h <<\_ACEOF
|
10568 | |
#define HAVE_DCGETTEXT 1
|
10569 | |
_ACEOF
|
|
7859 |
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
|
|
7860 |
|
|
7861 |
|
|
7862 |
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
|
10570 | 7863 |
|
10571 | 7864 |
fi
|
10572 | 7865 |
|
|
10618 | 7911 |
if test -n "$ac_tool_prefix"; then
|
10619 | 7912 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
10620 | 7913 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
10621 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
10622 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
10623 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
10624 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7915 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
7916 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
7917 |
$as_echo_n "(cached) " >&6
|
10625 | 7918 |
else
|
10626 | 7919 |
if test -n "$CC"; then
|
10627 | 7920 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
10631 | 7924 |
do
|
10632 | 7925 |
IFS=$as_save_IFS
|
10633 | 7926 |
test -z "$as_dir" && as_dir=.
|
10634 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7927 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10635 | 7928 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10636 | 7929 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
10637 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7930 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10638 | 7931 |
break 2
|
10639 | 7932 |
fi
|
10640 | 7933 |
done
|
10641 | |
done
|
|
7934 |
done
|
10642 | 7935 |
IFS=$as_save_IFS
|
10643 | 7936 |
|
10644 | 7937 |
fi
|
10645 | 7938 |
fi
|
10646 | 7939 |
CC=$ac_cv_prog_CC
|
10647 | 7940 |
if test -n "$CC"; then
|
10648 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
10649 | |
echo "${ECHO_T}$CC" >&6; }
|
10650 | |
else
|
10651 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
10652 | |
echo "${ECHO_T}no" >&6; }
|
|
7941 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
7942 |
$as_echo "$CC" >&6; }
|
|
7943 |
else
|
|
7944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7945 |
$as_echo "no" >&6; }
|
10653 | 7946 |
fi
|
10654 | 7947 |
|
10655 | 7948 |
|
|
10658 | 7951 |
ac_ct_CC=$CC
|
10659 | 7952 |
# Extract the first word of "gcc", so it can be a program name with args.
|
10660 | 7953 |
set dummy gcc; ac_word=$2
|
10661 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
10662 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
10663 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
10664 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7954 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
7955 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
7956 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
7957 |
$as_echo_n "(cached) " >&6
|
10665 | 7958 |
else
|
10666 | 7959 |
if test -n "$ac_ct_CC"; then
|
10667 | 7960 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
10671 | 7964 |
do
|
10672 | 7965 |
IFS=$as_save_IFS
|
10673 | 7966 |
test -z "$as_dir" && as_dir=.
|
10674 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7967 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10675 | 7968 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10676 | 7969 |
ac_cv_prog_ac_ct_CC="gcc"
|
10677 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7970 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10678 | 7971 |
break 2
|
10679 | 7972 |
fi
|
10680 | 7973 |
done
|
10681 | |
done
|
|
7974 |
done
|
10682 | 7975 |
IFS=$as_save_IFS
|
10683 | 7976 |
|
10684 | 7977 |
fi
|
10685 | 7978 |
fi
|
10686 | 7979 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
10687 | 7980 |
if test -n "$ac_ct_CC"; then
|
10688 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
10689 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
10690 | |
else
|
10691 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
10692 | |
echo "${ECHO_T}no" >&6; }
|
|
7981 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
7982 |
$as_echo "$ac_ct_CC" >&6; }
|
|
7983 |
else
|
|
7984 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
7985 |
$as_echo "no" >&6; }
|
10693 | 7986 |
fi
|
10694 | 7987 |
|
10695 | 7988 |
if test "x$ac_ct_CC" = x; then
|
|
10697 | 7990 |
else
|
10698 | 7991 |
case $cross_compiling:$ac_tool_warned in
|
10699 | 7992 |
yes:)
|
10700 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
10701 | |
whose name does not start with the host triplet. If you think this
|
10702 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
10703 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
10704 | |
whose name does not start with the host triplet. If you think this
|
10705 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
7993 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7994 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
10706 | 7995 |
ac_tool_warned=yes ;;
|
10707 | 7996 |
esac
|
10708 | 7997 |
CC=$ac_ct_CC
|
|
10715 | 8004 |
if test -n "$ac_tool_prefix"; then
|
10716 | 8005 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
10717 | 8006 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
10718 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
10719 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
10720 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
10721 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8007 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8008 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
8009 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
8010 |
$as_echo_n "(cached) " >&6
|
10722 | 8011 |
else
|
10723 | 8012 |
if test -n "$CC"; then
|
10724 | 8013 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
10728 | 8017 |
do
|
10729 | 8018 |
IFS=$as_save_IFS
|
10730 | 8019 |
test -z "$as_dir" && as_dir=.
|
10731 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
8020 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10732 | 8021 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10733 | 8022 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
10734 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8023 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10735 | 8024 |
break 2
|
10736 | 8025 |
fi
|
10737 | 8026 |
done
|
10738 | |
done
|
|
8027 |
done
|
10739 | 8028 |
IFS=$as_save_IFS
|
10740 | 8029 |
|
10741 | 8030 |
fi
|
10742 | 8031 |
fi
|
10743 | 8032 |
CC=$ac_cv_prog_CC
|
10744 | 8033 |
if test -n "$CC"; then
|
10745 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
10746 | |
echo "${ECHO_T}$CC" >&6; }
|
10747 | |
else
|
10748 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
10749 | |
echo "${ECHO_T}no" >&6; }
|
|
8034 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
8035 |
$as_echo "$CC" >&6; }
|
|
8036 |
else
|
|
8037 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8038 |
$as_echo "no" >&6; }
|
10750 | 8039 |
fi
|
10751 | 8040 |
|
10752 | 8041 |
|
|
10755 | 8044 |
if test -z "$CC"; then
|
10756 | 8045 |
# Extract the first word of "cc", so it can be a program name with args.
|
10757 | 8046 |
set dummy cc; ac_word=$2
|
10758 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
10759 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
10760 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
10761 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8047 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8048 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
8049 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
8050 |
$as_echo_n "(cached) " >&6
|
10762 | 8051 |
else
|
10763 | 8052 |
if test -n "$CC"; then
|
10764 | 8053 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
10769 | 8058 |
do
|
10770 | 8059 |
IFS=$as_save_IFS
|
10771 | 8060 |
test -z "$as_dir" && as_dir=.
|
10772 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
8061 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10773 | 8062 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10774 | 8063 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
10775 | 8064 |
ac_prog_rejected=yes
|
10776 | 8065 |
continue
|
10777 | 8066 |
fi
|
10778 | 8067 |
ac_cv_prog_CC="cc"
|
10779 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8068 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10780 | 8069 |
break 2
|
10781 | 8070 |
fi
|
10782 | 8071 |
done
|
10783 | |
done
|
|
8072 |
done
|
10784 | 8073 |
IFS=$as_save_IFS
|
10785 | 8074 |
|
10786 | 8075 |
if test $ac_prog_rejected = yes; then
|
|
10799 | 8088 |
fi
|
10800 | 8089 |
CC=$ac_cv_prog_CC
|
10801 | 8090 |
if test -n "$CC"; then
|
10802 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
10803 | |
echo "${ECHO_T}$CC" >&6; }
|
10804 | |
else
|
10805 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
10806 | |
echo "${ECHO_T}no" >&6; }
|
|
8091 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
8092 |
$as_echo "$CC" >&6; }
|
|
8093 |
else
|
|
8094 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8095 |
$as_echo "no" >&6; }
|
10807 | 8096 |
fi
|
10808 | 8097 |
|
10809 | 8098 |
|
|
10814 | 8103 |
do
|
10815 | 8104 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
10816 | 8105 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
10817 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
10818 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
10819 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
10820 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8106 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8107 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
8108 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
8109 |
$as_echo_n "(cached) " >&6
|
10821 | 8110 |
else
|
10822 | 8111 |
if test -n "$CC"; then
|
10823 | 8112 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
10827 | 8116 |
do
|
10828 | 8117 |
IFS=$as_save_IFS
|
10829 | 8118 |
test -z "$as_dir" && as_dir=.
|
10830 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
8119 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10831 | 8120 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10832 | 8121 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
10833 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8122 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10834 | 8123 |
break 2
|
10835 | 8124 |
fi
|
10836 | 8125 |
done
|
10837 | |
done
|
|
8126 |
done
|
10838 | 8127 |
IFS=$as_save_IFS
|
10839 | 8128 |
|
10840 | 8129 |
fi
|
10841 | 8130 |
fi
|
10842 | 8131 |
CC=$ac_cv_prog_CC
|
10843 | 8132 |
if test -n "$CC"; then
|
10844 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
10845 | |
echo "${ECHO_T}$CC" >&6; }
|
10846 | |
else
|
10847 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
10848 | |
echo "${ECHO_T}no" >&6; }
|
|
8133 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
8134 |
$as_echo "$CC" >&6; }
|
|
8135 |
else
|
|
8136 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8137 |
$as_echo "no" >&6; }
|
10849 | 8138 |
fi
|
10850 | 8139 |
|
10851 | 8140 |
|
|
10858 | 8147 |
do
|
10859 | 8148 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
10860 | 8149 |
set dummy $ac_prog; ac_word=$2
|
10861 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
10862 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
10863 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
10864 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8150 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8151 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
8152 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
8153 |
$as_echo_n "(cached) " >&6
|
10865 | 8154 |
else
|
10866 | 8155 |
if test -n "$ac_ct_CC"; then
|
10867 | 8156 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
10871 | 8160 |
do
|
10872 | 8161 |
IFS=$as_save_IFS
|
10873 | 8162 |
test -z "$as_dir" && as_dir=.
|
10874 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
8163 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
10875 | 8164 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
10876 | 8165 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
10877 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8166 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
10878 | 8167 |
break 2
|
10879 | 8168 |
fi
|
10880 | 8169 |
done
|
10881 | |
done
|
|
8170 |
done
|
10882 | 8171 |
IFS=$as_save_IFS
|
10883 | 8172 |
|
10884 | 8173 |
fi
|
10885 | 8174 |
fi
|
10886 | 8175 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
10887 | 8176 |
if test -n "$ac_ct_CC"; then
|
10888 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
10889 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
10890 | |
else
|
10891 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
10892 | |
echo "${ECHO_T}no" >&6; }
|
|
8177 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
8178 |
$as_echo "$ac_ct_CC" >&6; }
|
|
8179 |
else
|
|
8180 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8181 |
$as_echo "no" >&6; }
|
10893 | 8182 |
fi
|
10894 | 8183 |
|
10895 | 8184 |
|
|
10901 | 8190 |
else
|
10902 | 8191 |
case $cross_compiling:$ac_tool_warned in
|
10903 | 8192 |
yes:)
|
10904 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
10905 | |
whose name does not start with the host triplet. If you think this
|
10906 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
10907 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
10908 | |
whose name does not start with the host triplet. If you think this
|
10909 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
8193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8194 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
10910 | 8195 |
ac_tool_warned=yes ;;
|
10911 | 8196 |
esac
|
10912 | 8197 |
CC=$ac_ct_CC
|
|
10916 | 8201 |
fi
|
10917 | 8202 |
|
10918 | 8203 |
|
10919 | |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
10920 | |
See \`config.log' for more details." >&5
|
10921 | |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
10922 | |
See \`config.log' for more details." >&2;}
|
10923 | |
{ (exit 1); exit 1; }; }
|
|
8204 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
8205 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
8206 |
as_fn_error "no acceptable C compiler found in \$PATH
|
|
8207 |
See \`config.log' for more details." "$LINENO" 5; }
|
10924 | 8208 |
|
10925 | 8209 |
# Provide some information about the compiler.
|
10926 | |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
10927 | |
ac_compiler=`set X $ac_compile; echo $2`
|
10928 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
8210 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
8211 |
set X $ac_compile
|
|
8212 |
ac_compiler=$2
|
|
8213 |
for ac_option in --version -v -V -qversion; do
|
|
8214 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
10929 | 8215 |
case "(($ac_try" in
|
10930 | 8216 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10931 | 8217 |
*) ac_try_echo=$ac_try;;
|
10932 | 8218 |
esac
|
10933 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
10934 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
8219 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
8220 |
$as_echo "$ac_try_echo"; } >&5
|
|
8221 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
10935 | 8222 |
ac_status=$?
|
10936 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10937 | |
(exit $ac_status); }
|
10938 | |
{ (ac_try="$ac_compiler -v >&5"
|
10939 | |
case "(($ac_try" in
|
10940 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10941 | |
*) ac_try_echo=$ac_try;;
|
10942 | |
esac
|
10943 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
10944 | |
(eval "$ac_compiler -v >&5") 2>&5
|
10945 | |
ac_status=$?
|
10946 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10947 | |
(exit $ac_status); }
|
10948 | |
{ (ac_try="$ac_compiler -V >&5"
|
10949 | |
case "(($ac_try" in
|
10950 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10951 | |
*) ac_try_echo=$ac_try;;
|
10952 | |
esac
|
10953 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
10954 | |
(eval "$ac_compiler -V >&5") 2>&5
|
10955 | |
ac_status=$?
|
10956 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10957 | |
(exit $ac_status); }
|
10958 | |
|
10959 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
10960 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
10961 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
10962 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
10963 | |
else
|
10964 | |
cat >conftest.$ac_ext <<_ACEOF
|
10965 | |
/* confdefs.h. */
|
10966 | |
_ACEOF
|
10967 | |
cat confdefs.h >>conftest.$ac_ext
|
10968 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8223 |
if test -s conftest.err; then
|
|
8224 |
sed '10a\
|
|
8225 |
... rest of stderr output deleted ...
|
|
8226 |
10q' conftest.err >conftest.er1
|
|
8227 |
cat conftest.er1 >&5
|
|
8228 |
fi
|
|
8229 |
rm -f conftest.er1 conftest.err
|
|
8230 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8231 |
test $ac_status = 0; }
|
|
8232 |
done
|
|
8233 |
|
|
8234 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
|
8235 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
8236 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
|
8237 |
$as_echo_n "(cached) " >&6
|
|
8238 |
else
|
|
8239 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10969 | 8240 |
/* end confdefs.h. */
|
10970 | 8241 |
|
10971 | 8242 |
int
|
|
10979 | 8250 |
return 0;
|
10980 | 8251 |
}
|
10981 | 8252 |
_ACEOF
|
10982 | |
rm -f conftest.$ac_objext
|
10983 | |
if { (ac_try="$ac_compile"
|
10984 | |
case "(($ac_try" in
|
10985 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10986 | |
*) ac_try_echo=$ac_try;;
|
10987 | |
esac
|
10988 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
10989 | |
(eval "$ac_compile") 2>conftest.er1
|
10990 | |
ac_status=$?
|
10991 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
10992 | |
rm -f conftest.er1
|
10993 | |
cat conftest.err >&5
|
10994 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10995 | |
(exit $ac_status); } && {
|
10996 | |
test -z "$ac_c_werror_flag" ||
|
10997 | |
test ! -s conftest.err
|
10998 | |
} && test -s conftest.$ac_objext; then
|
|
8253 |
if ac_fn_c_try_compile "$LINENO"; then :
|
10999 | 8254 |
ac_compiler_gnu=yes
|
11000 | 8255 |
else
|
11001 | |
echo "$as_me: failed program was:" >&5
|
11002 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11003 | |
|
11004 | |
ac_compiler_gnu=no
|
11005 | |
fi
|
11006 | |
|
|
8256 |
ac_compiler_gnu=no
|
|
8257 |
fi
|
11007 | 8258 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
11008 | 8259 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
11009 | 8260 |
|
11010 | 8261 |
fi
|
11011 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
11012 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
11013 | |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
8262 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
8263 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
8264 |
if test $ac_compiler_gnu = yes; then
|
|
8265 |
GCC=yes
|
|
8266 |
else
|
|
8267 |
GCC=
|
|
8268 |
fi
|
11014 | 8269 |
ac_test_CFLAGS=${CFLAGS+set}
|
11015 | 8270 |
ac_save_CFLAGS=$CFLAGS
|
11016 | |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
11017 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
11018 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
11019 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8271 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
8272 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
8273 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
|
8274 |
$as_echo_n "(cached) " >&6
|
11020 | 8275 |
else
|
11021 | 8276 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
11022 | 8277 |
ac_c_werror_flag=yes
|
11023 | 8278 |
ac_cv_prog_cc_g=no
|
11024 | 8279 |
CFLAGS="-g"
|
11025 | |
cat >conftest.$ac_ext <<_ACEOF
|
11026 | |
/* confdefs.h. */
|
11027 | |
_ACEOF
|
11028 | |
cat confdefs.h >>conftest.$ac_ext
|
11029 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8280 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11030 | 8281 |
/* end confdefs.h. */
|
11031 | 8282 |
|
11032 | 8283 |
int
|
|
11037 | 8288 |
return 0;
|
11038 | 8289 |
}
|
11039 | 8290 |
_ACEOF
|
11040 | |
rm -f conftest.$ac_objext
|
11041 | |
if { (ac_try="$ac_compile"
|
11042 | |
case "(($ac_try" in
|
11043 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11044 | |
*) ac_try_echo=$ac_try;;
|
11045 | |
esac
|
11046 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11047 | |
(eval "$ac_compile") 2>conftest.er1
|
11048 | |
ac_status=$?
|
11049 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11050 | |
rm -f conftest.er1
|
11051 | |
cat conftest.err >&5
|
11052 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11053 | |
(exit $ac_status); } && {
|
11054 | |
test -z "$ac_c_werror_flag" ||
|
11055 | |
test ! -s conftest.err
|
11056 | |
} && test -s conftest.$ac_objext; then
|
|
8291 |
if ac_fn_c_try_compile "$LINENO"; then :
|
11057 | 8292 |
ac_cv_prog_cc_g=yes
|
11058 | 8293 |
else
|
11059 | |
echo "$as_me: failed program was:" >&5
|
11060 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11061 | |
|
11062 | |
CFLAGS=""
|
11063 | |
cat >conftest.$ac_ext <<_ACEOF
|
11064 | |
/* confdefs.h. */
|
11065 | |
_ACEOF
|
11066 | |
cat confdefs.h >>conftest.$ac_ext
|
11067 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8294 |
CFLAGS=""
|
|
8295 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11068 | 8296 |
/* end confdefs.h. */
|
11069 | 8297 |
|
11070 | 8298 |
int
|
|
11075 | 8303 |
return 0;
|
11076 | 8304 |
}
|
11077 | 8305 |
_ACEOF
|
11078 | |
rm -f conftest.$ac_objext
|
11079 | |
if { (ac_try="$ac_compile"
|
11080 | |
case "(($ac_try" in
|
11081 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11082 | |
*) ac_try_echo=$ac_try;;
|
11083 | |
esac
|
11084 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11085 | |
(eval "$ac_compile") 2>conftest.er1
|
11086 | |
ac_status=$?
|
11087 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11088 | |
rm -f conftest.er1
|
11089 | |
cat conftest.err >&5
|
11090 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11091 | |
(exit $ac_status); } && {
|
11092 | |
test -z "$ac_c_werror_flag" ||
|
11093 | |
test ! -s conftest.err
|
11094 | |
} && test -s conftest.$ac_objext; then
|
11095 | |
:
|
11096 | |
else
|
11097 | |
echo "$as_me: failed program was:" >&5
|
11098 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11099 | |
|
11100 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
8306 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
8307 |
|
|
8308 |
else
|
|
8309 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
11101 | 8310 |
CFLAGS="-g"
|
11102 | |
cat >conftest.$ac_ext <<_ACEOF
|
11103 | |
/* confdefs.h. */
|
11104 | |
_ACEOF
|
11105 | |
cat confdefs.h >>conftest.$ac_ext
|
11106 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8311 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11107 | 8312 |
/* end confdefs.h. */
|
11108 | 8313 |
|
11109 | 8314 |
int
|
|
11114 | 8319 |
return 0;
|
11115 | 8320 |
}
|
11116 | 8321 |
_ACEOF
|
11117 | |
rm -f conftest.$ac_objext
|
11118 | |
if { (ac_try="$ac_compile"
|
11119 | |
case "(($ac_try" in
|
11120 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11121 | |
*) ac_try_echo=$ac_try;;
|
11122 | |
esac
|
11123 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11124 | |
(eval "$ac_compile") 2>conftest.er1
|
11125 | |
ac_status=$?
|
11126 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11127 | |
rm -f conftest.er1
|
11128 | |
cat conftest.err >&5
|
11129 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11130 | |
(exit $ac_status); } && {
|
11131 | |
test -z "$ac_c_werror_flag" ||
|
11132 | |
test ! -s conftest.err
|
11133 | |
} && test -s conftest.$ac_objext; then
|
|
8322 |
if ac_fn_c_try_compile "$LINENO"; then :
|
11134 | 8323 |
ac_cv_prog_cc_g=yes
|
11135 | |
else
|
11136 | |
echo "$as_me: failed program was:" >&5
|
11137 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11138 | |
|
11139 | |
|
11140 | |
fi
|
11141 | |
|
|
8324 |
fi
|
11142 | 8325 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
11143 | 8326 |
fi
|
11144 | |
|
11145 | 8327 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
11146 | 8328 |
fi
|
11147 | |
|
11148 | 8329 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
11149 | 8330 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
11150 | 8331 |
fi
|
11151 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
11152 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
|
8332 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
8333 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
11153 | 8334 |
if test "$ac_test_CFLAGS" = set; then
|
11154 | 8335 |
CFLAGS=$ac_save_CFLAGS
|
11155 | 8336 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
11165 | 8346 |
CFLAGS=
|
11166 | 8347 |
fi
|
11167 | 8348 |
fi
|
11168 | |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
11169 | |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
11170 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
11171 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8349 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
8350 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
8351 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
|
8352 |
$as_echo_n "(cached) " >&6
|
11172 | 8353 |
else
|
11173 | 8354 |
ac_cv_prog_cc_c89=no
|
11174 | 8355 |
ac_save_CC=$CC
|
11175 | |
cat >conftest.$ac_ext <<_ACEOF
|
11176 | |
/* confdefs.h. */
|
11177 | |
_ACEOF
|
11178 | |
cat confdefs.h >>conftest.$ac_ext
|
11179 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8356 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11180 | 8357 |
/* end confdefs.h. */
|
11181 | 8358 |
#include <stdarg.h>
|
11182 | 8359 |
#include <stdio.h>
|
|
11233 | 8410 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
11234 | 8411 |
do
|
11235 | 8412 |
CC="$ac_save_CC $ac_arg"
|
11236 | |
rm -f conftest.$ac_objext
|
11237 | |
if { (ac_try="$ac_compile"
|
11238 | |
case "(($ac_try" in
|
11239 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11240 | |
*) ac_try_echo=$ac_try;;
|
11241 | |
esac
|
11242 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11243 | |
(eval "$ac_compile") 2>conftest.er1
|
11244 | |
ac_status=$?
|
11245 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11246 | |
rm -f conftest.er1
|
11247 | |
cat conftest.err >&5
|
11248 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11249 | |
(exit $ac_status); } && {
|
11250 | |
test -z "$ac_c_werror_flag" ||
|
11251 | |
test ! -s conftest.err
|
11252 | |
} && test -s conftest.$ac_objext; then
|
|
8413 |
if ac_fn_c_try_compile "$LINENO"; then :
|
11253 | 8414 |
ac_cv_prog_cc_c89=$ac_arg
|
11254 | |
else
|
11255 | |
echo "$as_me: failed program was:" >&5
|
11256 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11257 | |
|
11258 | |
|
11259 | |
fi
|
11260 | |
|
|
8415 |
fi
|
11261 | 8416 |
rm -f core conftest.err conftest.$ac_objext
|
11262 | 8417 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
11263 | 8418 |
done
|
|
11268 | 8423 |
# AC_CACHE_VAL
|
11269 | 8424 |
case "x$ac_cv_prog_cc_c89" in
|
11270 | 8425 |
x)
|
11271 | |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
11272 | |
echo "${ECHO_T}none needed" >&6; } ;;
|
|
8426 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
8427 |
$as_echo "none needed" >&6; } ;;
|
11273 | 8428 |
xno)
|
11274 | |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
11275 | |
echo "${ECHO_T}unsupported" >&6; } ;;
|
|
8429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
8430 |
$as_echo "unsupported" >&6; } ;;
|
11276 | 8431 |
*)
|
11277 | 8432 |
CC="$CC $ac_cv_prog_cc_c89"
|
11278 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
11279 | |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
8433 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
8434 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
11280 | 8435 |
esac
|
11281 | |
|
|
8436 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
8437 |
|
|
8438 |
fi
|
11282 | 8439 |
|
11283 | 8440 |
ac_ext=c
|
11284 | 8441 |
ac_cpp='$CPP $CPPFLAGS'
|
|
11289 | 8446 |
if test -n "$ac_tool_prefix"; then
|
11290 | 8447 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
11291 | 8448 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
11292 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
11293 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
11294 | |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
11295 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8449 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8450 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
8451 |
if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
|
8452 |
$as_echo_n "(cached) " >&6
|
11296 | 8453 |
else
|
11297 | 8454 |
if test -n "$RANLIB"; then
|
11298 | 8455 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
11302 | 8459 |
do
|
11303 | 8460 |
IFS=$as_save_IFS
|
11304 | 8461 |
test -z "$as_dir" && as_dir=.
|
11305 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
8462 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
11306 | 8463 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
11307 | 8464 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
11308 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8465 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
11309 | 8466 |
break 2
|
11310 | 8467 |
fi
|
11311 | 8468 |
done
|
11312 | |
done
|
|
8469 |
done
|
11313 | 8470 |
IFS=$as_save_IFS
|
11314 | 8471 |
|
11315 | 8472 |
fi
|
11316 | 8473 |
fi
|
11317 | 8474 |
RANLIB=$ac_cv_prog_RANLIB
|
11318 | 8475 |
if test -n "$RANLIB"; then
|
11319 | |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
|
11320 | |
echo "${ECHO_T}$RANLIB" >&6; }
|
11321 | |
else
|
11322 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
11323 | |
echo "${ECHO_T}no" >&6; }
|
|
8476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|
8477 |
$as_echo "$RANLIB" >&6; }
|
|
8478 |
else
|
|
8479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8480 |
$as_echo "no" >&6; }
|
11324 | 8481 |
fi
|
11325 | 8482 |
|
11326 | 8483 |
|
|
11329 | 8486 |
ac_ct_RANLIB=$RANLIB
|
11330 | 8487 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
11331 | 8488 |
set dummy ranlib; ac_word=$2
|
11332 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
11333 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
11334 | |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
11335 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8489 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8490 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
8491 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
|
8492 |
$as_echo_n "(cached) " >&6
|
11336 | 8493 |
else
|
11337 | 8494 |
if test -n "$ac_ct_RANLIB"; then
|
11338 | 8495 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
11342 | 8499 |
do
|
11343 | 8500 |
IFS=$as_save_IFS
|
11344 | 8501 |
test -z "$as_dir" && as_dir=.
|
11345 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
8502 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
11346 | 8503 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
11347 | 8504 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
11348 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8505 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
11349 | 8506 |
break 2
|
11350 | 8507 |
fi
|
11351 | 8508 |
done
|
11352 | |
done
|
|
8509 |
done
|
11353 | 8510 |
IFS=$as_save_IFS
|
11354 | 8511 |
|
11355 | 8512 |
fi
|
11356 | 8513 |
fi
|
11357 | 8514 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
11358 | 8515 |
if test -n "$ac_ct_RANLIB"; then
|
11359 | |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
11360 | |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
11361 | |
else
|
11362 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
11363 | |
echo "${ECHO_T}no" >&6; }
|
|
8516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|
8517 |
$as_echo "$ac_ct_RANLIB" >&6; }
|
|
8518 |
else
|
|
8519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8520 |
$as_echo "no" >&6; }
|
11364 | 8521 |
fi
|
11365 | 8522 |
|
11366 | 8523 |
if test "x$ac_ct_RANLIB" = x; then
|
|
11368 | 8525 |
else
|
11369 | 8526 |
case $cross_compiling:$ac_tool_warned in
|
11370 | 8527 |
yes:)
|
11371 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
11372 | |
whose name does not start with the host triplet. If you think this
|
11373 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
11374 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
11375 | |
whose name does not start with the host triplet. If you think this
|
11376 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
8528 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
8529 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
11377 | 8530 |
ac_tool_warned=yes ;;
|
11378 | 8531 |
esac
|
11379 | 8532 |
RANLIB=$ac_ct_RANLIB
|
|
11384 | 8537 |
|
11385 | 8538 |
|
11386 | 8539 |
|
11387 | |
|
11388 | |
{ echo "$as_me:$LINENO: checking for main in -lm" >&5
|
11389 | |
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
|
11390 | |
if test "${ac_cv_lib_m_main+set}" = set; then
|
11391 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8540 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
|
8541 |
$as_echo_n "checking for main in -lm... " >&6; }
|
|
8542 |
if test "${ac_cv_lib_m_main+set}" = set; then :
|
|
8543 |
$as_echo_n "(cached) " >&6
|
11392 | 8544 |
else
|
11393 | 8545 |
ac_check_lib_save_LIBS=$LIBS
|
11394 | 8546 |
LIBS="-lm $LIBS"
|
11395 | |
cat >conftest.$ac_ext <<_ACEOF
|
11396 | |
/* confdefs.h. */
|
11397 | |
_ACEOF
|
11398 | |
cat confdefs.h >>conftest.$ac_ext
|
11399 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8547 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11400 | 8548 |
/* end confdefs.h. */
|
11401 | 8549 |
|
11402 | 8550 |
|
|
11408 | 8556 |
return 0;
|
11409 | 8557 |
}
|
11410 | 8558 |
_ACEOF
|
11411 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11412 | |
if { (ac_try="$ac_link"
|
11413 | |
case "(($ac_try" in
|
11414 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11415 | |
*) ac_try_echo=$ac_try;;
|
11416 | |
esac
|
11417 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11418 | |
(eval "$ac_link") 2>conftest.er1
|
11419 | |
ac_status=$?
|
11420 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11421 | |
rm -f conftest.er1
|
11422 | |
cat conftest.err >&5
|
11423 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11424 | |
(exit $ac_status); } && {
|
11425 | |
test -z "$ac_c_werror_flag" ||
|
11426 | |
test ! -s conftest.err
|
11427 | |
} && test -s conftest$ac_exeext &&
|
11428 | |
$as_test_x conftest$ac_exeext; then
|
|
8559 |
if ac_fn_c_try_link "$LINENO"; then :
|
11429 | 8560 |
ac_cv_lib_m_main=yes
|
11430 | 8561 |
else
|
11431 | |
echo "$as_me: failed program was:" >&5
|
11432 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11433 | |
|
11434 | |
ac_cv_lib_m_main=no
|
11435 | |
fi
|
11436 | |
|
11437 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11438 | |
conftest$ac_exeext conftest.$ac_ext
|
|
8562 |
ac_cv_lib_m_main=no
|
|
8563 |
fi
|
|
8564 |
rm -f core conftest.err conftest.$ac_objext \
|
|
8565 |
conftest$ac_exeext conftest.$ac_ext
|
11439 | 8566 |
LIBS=$ac_check_lib_save_LIBS
|
11440 | 8567 |
fi
|
11441 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
|
11442 | |
echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
|
11443 | |
if test $ac_cv_lib_m_main = yes; then
|
|
8568 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
|
|
8569 |
$as_echo "$ac_cv_lib_m_main" >&6; }
|
|
8570 |
if test "x$ac_cv_lib_m_main" = x""yes; then :
|
11444 | 8571 |
cat >>confdefs.h <<_ACEOF
|
11445 | 8572 |
#define HAVE_LIBM 1
|
11446 | 8573 |
_ACEOF
|
|
11448 | 8575 |
LIBS="-lm $LIBS"
|
11449 | 8576 |
|
11450 | 8577 |
else
|
11451 | |
{ { echo "$as_me:$LINENO: error: lib math is needed" >&5
|
11452 | |
echo "$as_me: error: lib math is needed" >&2;}
|
11453 | |
{ (exit 1); exit 1; }; }
|
11454 | |
fi
|
11455 | |
|
11456 | |
|
11457 | |
{ echo "$as_me:$LINENO: checking for main in -lz" >&5
|
11458 | |
echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; }
|
11459 | |
if test "${ac_cv_lib_z_main+set}" = set; then
|
11460 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8578 |
as_fn_error "lib math is needed" "$LINENO" 5
|
|
8579 |
fi
|
|
8580 |
|
|
8581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
|
|
8582 |
$as_echo_n "checking for main in -lz... " >&6; }
|
|
8583 |
if test "${ac_cv_lib_z_main+set}" = set; then :
|
|
8584 |
$as_echo_n "(cached) " >&6
|
11461 | 8585 |
else
|
11462 | 8586 |
ac_check_lib_save_LIBS=$LIBS
|
11463 | 8587 |
LIBS="-lz $LIBS"
|
11464 | |
cat >conftest.$ac_ext <<_ACEOF
|
11465 | |
/* confdefs.h. */
|
11466 | |
_ACEOF
|
11467 | |
cat confdefs.h >>conftest.$ac_ext
|
11468 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8588 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11469 | 8589 |
/* end confdefs.h. */
|
11470 | 8590 |
|
11471 | 8591 |
|
|
11477 | 8597 |
return 0;
|
11478 | 8598 |
}
|
11479 | 8599 |
_ACEOF
|
11480 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11481 | |
if { (ac_try="$ac_link"
|
11482 | |
case "(($ac_try" in
|
11483 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11484 | |
*) ac_try_echo=$ac_try;;
|
11485 | |
esac
|
11486 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11487 | |
(eval "$ac_link") 2>conftest.er1
|
11488 | |
ac_status=$?
|
11489 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11490 | |
rm -f conftest.er1
|
11491 | |
cat conftest.err >&5
|
11492 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11493 | |
(exit $ac_status); } && {
|
11494 | |
test -z "$ac_c_werror_flag" ||
|
11495 | |
test ! -s conftest.err
|
11496 | |
} && test -s conftest$ac_exeext &&
|
11497 | |
$as_test_x conftest$ac_exeext; then
|
|
8600 |
if ac_fn_c_try_link "$LINENO"; then :
|
11498 | 8601 |
ac_cv_lib_z_main=yes
|
11499 | 8602 |
else
|
11500 | |
echo "$as_me: failed program was:" >&5
|
11501 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11502 | |
|
11503 | |
ac_cv_lib_z_main=no
|
11504 | |
fi
|
11505 | |
|
11506 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11507 | |
conftest$ac_exeext conftest.$ac_ext
|
|
8603 |
ac_cv_lib_z_main=no
|
|
8604 |
fi
|
|
8605 |
rm -f core conftest.err conftest.$ac_objext \
|
|
8606 |
conftest$ac_exeext conftest.$ac_ext
|
11508 | 8607 |
LIBS=$ac_check_lib_save_LIBS
|
11509 | 8608 |
fi
|
11510 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
|
11511 | |
echo "${ECHO_T}$ac_cv_lib_z_main" >&6; }
|
11512 | |
if test $ac_cv_lib_z_main = yes; then
|
|
8609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5
|
|
8610 |
$as_echo "$ac_cv_lib_z_main" >&6; }
|
|
8611 |
if test "x$ac_cv_lib_z_main" = x""yes; then :
|
11513 | 8612 |
cat >>confdefs.h <<_ACEOF
|
11514 | 8613 |
#define HAVE_LIBZ 1
|
11515 | 8614 |
_ACEOF
|
|
11517 | 8616 |
LIBS="-lz $LIBS"
|
11518 | 8617 |
|
11519 | 8618 |
else
|
11520 | |
{ { echo "$as_me:$LINENO: error: libz is needed" >&5
|
11521 | |
echo "$as_me: error: libz is needed" >&2;}
|
11522 | |
{ (exit 1); exit 1; }; }
|
11523 | |
fi
|
11524 | |
|
11525 | |
|
11526 | |
{ echo "$as_me:$LINENO: checking for main in -lpng" >&5
|
11527 | |
echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; }
|
11528 | |
if test "${ac_cv_lib_png_main+set}" = set; then
|
11529 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8619 |
as_fn_error "libz is needed" "$LINENO" 5
|
|
8620 |
fi
|
|
8621 |
|
|
8622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng" >&5
|
|
8623 |
$as_echo_n "checking for main in -lpng... " >&6; }
|
|
8624 |
if test "${ac_cv_lib_png_main+set}" = set; then :
|
|
8625 |
$as_echo_n "(cached) " >&6
|
11530 | 8626 |
else
|
11531 | 8627 |
ac_check_lib_save_LIBS=$LIBS
|
11532 | 8628 |
LIBS="-lpng $LIBS"
|
11533 | |
cat >conftest.$ac_ext <<_ACEOF
|
11534 | |
/* confdefs.h. */
|
11535 | |
_ACEOF
|
11536 | |
cat confdefs.h >>conftest.$ac_ext
|
11537 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8629 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11538 | 8630 |
/* end confdefs.h. */
|
11539 | 8631 |
|
11540 | 8632 |
|
|
11546 | 8638 |
return 0;
|
11547 | 8639 |
}
|
11548 | 8640 |
_ACEOF
|
11549 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11550 | |
if { (ac_try="$ac_link"
|
11551 | |
case "(($ac_try" in
|
11552 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11553 | |
*) ac_try_echo=$ac_try;;
|
11554 | |
esac
|
11555 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11556 | |
(eval "$ac_link") 2>conftest.er1
|
11557 | |
ac_status=$?
|
11558 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11559 | |
rm -f conftest.er1
|
11560 | |
cat conftest.err >&5
|
11561 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11562 | |
(exit $ac_status); } && {
|
11563 | |
test -z "$ac_c_werror_flag" ||
|
11564 | |
test ! -s conftest.err
|
11565 | |
} && test -s conftest$ac_exeext &&
|
11566 | |
$as_test_x conftest$ac_exeext; then
|
|
8641 |
if ac_fn_c_try_link "$LINENO"; then :
|
11567 | 8642 |
ac_cv_lib_png_main=yes
|
11568 | 8643 |
else
|
11569 | |
echo "$as_me: failed program was:" >&5
|
11570 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11571 | |
|
11572 | |
ac_cv_lib_png_main=no
|
11573 | |
fi
|
11574 | |
|
11575 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11576 | |
conftest$ac_exeext conftest.$ac_ext
|
|
8644 |
ac_cv_lib_png_main=no
|
|
8645 |
fi
|
|
8646 |
rm -f core conftest.err conftest.$ac_objext \
|
|
8647 |
conftest$ac_exeext conftest.$ac_ext
|
11577 | 8648 |
LIBS=$ac_check_lib_save_LIBS
|
11578 | 8649 |
fi
|
11579 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
|
11580 | |
echo "${ECHO_T}$ac_cv_lib_png_main" >&6; }
|
11581 | |
if test $ac_cv_lib_png_main = yes; then
|
|
8650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_main" >&5
|
|
8651 |
$as_echo "$ac_cv_lib_png_main" >&6; }
|
|
8652 |
if test "x$ac_cv_lib_png_main" = x""yes; then :
|
11582 | 8653 |
cat >>confdefs.h <<_ACEOF
|
11583 | 8654 |
#define HAVE_LIBPNG 1
|
11584 | 8655 |
_ACEOF
|
|
11586 | 8657 |
LIBS="-lpng $LIBS"
|
11587 | 8658 |
|
11588 | 8659 |
else
|
11589 | |
{ { echo "$as_me:$LINENO: error: libpng is needed" >&5
|
11590 | |
echo "$as_me: error: libpng is needed" >&2;}
|
11591 | |
{ (exit 1); exit 1; }; }
|
|
8660 |
as_fn_error "libpng is needed" "$LINENO" 5
|
11592 | 8661 |
fi
|
11593 | 8662 |
|
11594 | 8663 |
|
11595 | 8664 |
|
11596 | 8665 |
# Check whether --with-sdl-prefix was given.
|
11597 | |
if test "${with_sdl_prefix+set}" = set; then
|
|
8666 |
if test "${with_sdl_prefix+set}" = set; then :
|
11598 | 8667 |
withval=$with_sdl_prefix; sdl_prefix="$withval"
|
11599 | 8668 |
else
|
11600 | 8669 |
sdl_prefix=""
|
|
11602 | 8671 |
|
11603 | 8672 |
|
11604 | 8673 |
# Check whether --with-sdl-exec-prefix was given.
|
11605 | |
if test "${with_sdl_exec_prefix+set}" = set; then
|
|
8674 |
if test "${with_sdl_exec_prefix+set}" = set; then :
|
11606 | 8675 |
withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
|
11607 | 8676 |
else
|
11608 | 8677 |
sdl_exec_prefix=""
|
11609 | 8678 |
fi
|
11610 | 8679 |
|
11611 | 8680 |
# Check whether --enable-sdltest was given.
|
11612 | |
if test "${enable_sdltest+set}" = set; then
|
|
8681 |
if test "${enable_sdltest+set}" = set; then :
|
11613 | 8682 |
enableval=$enable_sdltest;
|
11614 | 8683 |
else
|
11615 | 8684 |
enable_sdltest=yes
|
|
11633 | 8702 |
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
|
11634 | 8703 |
# Extract the first word of "sdl-config", so it can be a program name with args.
|
11635 | 8704 |
set dummy sdl-config; ac_word=$2
|
11636 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
11637 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
11638 | |
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
|
11639 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8705 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
8706 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
8707 |
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
|
|
8708 |
$as_echo_n "(cached) " >&6
|
11640 | 8709 |
else
|
11641 | 8710 |
case $SDL_CONFIG in
|
11642 | 8711 |
[\\/]* | ?:[\\/]*)
|
|
11648 | 8717 |
do
|
11649 | 8718 |
IFS=$as_save_IFS
|
11650 | 8719 |
test -z "$as_dir" && as_dir=.
|
11651 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
8720 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
11652 | 8721 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
11653 | 8722 |
ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
11654 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
8723 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
11655 | 8724 |
break 2
|
11656 | 8725 |
fi
|
11657 | 8726 |
done
|
11658 | |
done
|
|
8727 |
done
|
11659 | 8728 |
IFS=$as_save_IFS
|
11660 | 8729 |
|
11661 | 8730 |
test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
|
|
11664 | 8733 |
fi
|
11665 | 8734 |
SDL_CONFIG=$ac_cv_path_SDL_CONFIG
|
11666 | 8735 |
if test -n "$SDL_CONFIG"; then
|
11667 | |
{ echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
|
11668 | |
echo "${ECHO_T}$SDL_CONFIG" >&6; }
|
11669 | |
else
|
11670 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
11671 | |
echo "${ECHO_T}no" >&6; }
|
|
8736 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
|
|
8737 |
$as_echo "$SDL_CONFIG" >&6; }
|
|
8738 |
else
|
|
8739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8740 |
$as_echo "no" >&6; }
|
11672 | 8741 |
fi
|
11673 | 8742 |
|
11674 | 8743 |
|
11675 | 8744 |
min_sdl_version=1.2.0
|
11676 | |
{ echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
|
11677 | |
echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
|
|
8745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
|
|
8746 |
$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
|
11678 | 8747 |
no_sdl=""
|
11679 | 8748 |
if test "$SDL_CONFIG" = "no" ; then
|
11680 | 8749 |
no_sdl=yes
|
|
11694 | 8763 |
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
11695 | 8764 |
LIBS="$LIBS $SDL_LIBS"
|
11696 | 8765 |
rm -f conf.sdltest
|
11697 | |
if test "$cross_compiling" = yes; then
|
|
8766 |
if test "$cross_compiling" = yes; then :
|
11698 | 8767 |
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
11699 | 8768 |
else
|
11700 | |
cat >conftest.$ac_ext <<_ACEOF
|
11701 | |
/* confdefs.h. */
|
11702 | |
_ACEOF
|
11703 | |
cat confdefs.h >>conftest.$ac_ext
|
11704 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8769 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11705 | 8770 |
/* end confdefs.h. */
|
11706 | 8771 |
|
11707 | 8772 |
#include <stdio.h>
|
|
11762 | 8827 |
|
11763 | 8828 |
|
11764 | 8829 |
_ACEOF
|
11765 | |
rm -f conftest$ac_exeext
|
11766 | |
if { (ac_try="$ac_link"
|
11767 | |
case "(($ac_try" in
|
11768 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11769 | |
*) ac_try_echo=$ac_try;;
|
11770 | |
esac
|
11771 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11772 | |
(eval "$ac_link") 2>&5
|
11773 | |
ac_status=$?
|
11774 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11775 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
11776 | |
{ (case "(($ac_try" in
|
11777 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11778 | |
*) ac_try_echo=$ac_try;;
|
11779 | |
esac
|
11780 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11781 | |
(eval "$ac_try") 2>&5
|
11782 | |
ac_status=$?
|
11783 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11784 | |
(exit $ac_status); }; }; then
|
11785 | |
:
|
11786 | |
else
|
11787 | |
echo "$as_me: program exited with status $ac_status" >&5
|
11788 | |
echo "$as_me: failed program was:" >&5
|
11789 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11790 | |
|
11791 | |
( exit $ac_status )
|
11792 | |
no_sdl=yes
|
11793 | |
fi
|
11794 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
11795 | |
fi
|
11796 | |
|
|
8830 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
8831 |
|
|
8832 |
else
|
|
8833 |
no_sdl=yes
|
|
8834 |
fi
|
|
8835 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
8836 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
8837 |
fi
|
11797 | 8838 |
|
11798 | 8839 |
CFLAGS="$ac_save_CFLAGS"
|
11799 | 8840 |
LIBS="$ac_save_LIBS"
|
11800 | 8841 |
fi
|
11801 | 8842 |
fi
|
11802 | 8843 |
if test "x$no_sdl" = x ; then
|
11803 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
11804 | |
echo "${ECHO_T}yes" >&6; }
|
|
8844 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
8845 |
$as_echo "yes" >&6; }
|
11805 | 8846 |
:
|
11806 | 8847 |
else
|
11807 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
11808 | |
echo "${ECHO_T}no" >&6; }
|
|
8848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
8849 |
$as_echo "no" >&6; }
|
11809 | 8850 |
if test "$SDL_CONFIG" = "no" ; then
|
11810 | 8851 |
echo "*** The sdl-config script installed by SDL could not be found"
|
11811 | 8852 |
echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
|
|
11818 | 8859 |
echo "*** Could not run SDL test program, checking why..."
|
11819 | 8860 |
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
11820 | 8861 |
LIBS="$LIBS $SDL_LIBS"
|
11821 | |
cat >conftest.$ac_ext <<_ACEOF
|
11822 | |
/* confdefs.h. */
|
11823 | |
_ACEOF
|
11824 | |
cat confdefs.h >>conftest.$ac_ext
|
11825 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8862 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11826 | 8863 |
/* end confdefs.h. */
|
11827 | 8864 |
|
11828 | 8865 |
#include <stdio.h>
|
|
11841 | 8878 |
return 0;
|
11842 | 8879 |
}
|
11843 | 8880 |
_ACEOF
|
11844 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11845 | |
if { (ac_try="$ac_link"
|
11846 | |
case "(($ac_try" in
|
11847 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11848 | |
*) ac_try_echo=$ac_try;;
|
11849 | |
esac
|
11850 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11851 | |
(eval "$ac_link") 2>conftest.er1
|
11852 | |
ac_status=$?
|
11853 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11854 | |
rm -f conftest.er1
|
11855 | |
cat conftest.err >&5
|
11856 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11857 | |
(exit $ac_status); } && {
|
11858 | |
test -z "$ac_c_werror_flag" ||
|
11859 | |
test ! -s conftest.err
|
11860 | |
} && test -s conftest$ac_exeext &&
|
11861 | |
$as_test_x conftest$ac_exeext; then
|
|
8881 |
if ac_fn_c_try_link "$LINENO"; then :
|
11862 | 8882 |
echo "*** The test program compiled, but did not run. This usually means"
|
11863 | 8883 |
echo "*** that the run-time linker is not finding SDL or finding the wrong"
|
11864 | 8884 |
echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
|
|
11869 | 8889 |
echo "*** If you have an old version installed, it is best to remove it, although"
|
11870 | 8890 |
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
11871 | 8891 |
else
|
11872 | |
echo "$as_me: failed program was:" >&5
|
11873 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11874 | |
|
11875 | |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
|
8892 |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
11876 | 8893 |
echo "*** exact error that occured. This usually means SDL was incorrectly installed"
|
11877 | 8894 |
echo "*** or that you have moved SDL since it was installed. In the latter case, you"
|
11878 | 8895 |
echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
|
11879 | 8896 |
fi
|
11880 | |
|
11881 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11882 | |
conftest$ac_exeext conftest.$ac_ext
|
|
8897 |
rm -f core conftest.err conftest.$ac_objext \
|
|
8898 |
conftest$ac_exeext conftest.$ac_ext
|
11883 | 8899 |
CFLAGS="$ac_save_CFLAGS"
|
11884 | 8900 |
LIBS="$ac_save_LIBS"
|
11885 | 8901 |
fi
|
11886 | 8902 |
fi
|
11887 | 8903 |
SDL_CFLAGS=""
|
11888 | 8904 |
SDL_LIBS=""
|
11889 | |
{ { echo "$as_me:$LINENO: error: lib SDL is needed" >&5
|
11890 | |
echo "$as_me: error: lib SDL is needed" >&2;}
|
11891 | |
{ (exit 1); exit 1; }; }
|
|
8905 |
as_fn_error "lib SDL is needed" "$LINENO" 5
|
11892 | 8906 |
fi
|
11893 | 8907 |
|
11894 | 8908 |
|
|
11899 | 8913 |
|
11900 | 8914 |
warp_flag=""
|
11901 | 8915 |
# Check whether --enable-warp was given.
|
11902 | |
if test "${enable_warp+set}" = set; then
|
|
8916 |
if test "${enable_warp+set}" = set; then :
|
11903 | 8917 |
enableval=$enable_warp; warp_flag="-DMOUSE_WARP"
|
11904 | 8918 |
fi
|
11905 | 8919 |
|
|
11908 | 8922 |
audio_flag="-DAUDIO_ENABLED"
|
11909 | 8923 |
mixer_flag="-lSDL_mixer"
|
11910 | 8924 |
# Check whether --enable-audio was given.
|
11911 | |
if test "${enable_audio+set}" = set; then
|
|
8925 |
if test "${enable_audio+set}" = set; then :
|
11912 | 8926 |
enableval=$enable_audio; audio_flag=""; mixer_flag=""
|
11913 | 8927 |
fi
|
11914 | 8928 |
|
11915 | 8929 |
|
11916 | |
{ echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5
|
11917 | |
echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6; }
|
11918 | |
if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then
|
11919 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8930 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5
|
|
8931 |
$as_echo_n "checking for main in -lSDL_mixer... " >&6; }
|
|
8932 |
if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then :
|
|
8933 |
$as_echo_n "(cached) " >&6
|
11920 | 8934 |
else
|
11921 | 8935 |
ac_check_lib_save_LIBS=$LIBS
|
11922 | 8936 |
LIBS="-lSDL_mixer $LIBS"
|
11923 | |
cat >conftest.$ac_ext <<_ACEOF
|
11924 | |
/* confdefs.h. */
|
11925 | |
_ACEOF
|
11926 | |
cat confdefs.h >>conftest.$ac_ext
|
11927 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8937 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11928 | 8938 |
/* end confdefs.h. */
|
11929 | 8939 |
|
11930 | 8940 |
|
|
11936 | 8946 |
return 0;
|
11937 | 8947 |
}
|
11938 | 8948 |
_ACEOF
|
11939 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11940 | |
if { (ac_try="$ac_link"
|
11941 | |
case "(($ac_try" in
|
11942 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11943 | |
*) ac_try_echo=$ac_try;;
|
11944 | |
esac
|
11945 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11946 | |
(eval "$ac_link") 2>conftest.er1
|
11947 | |
ac_status=$?
|
11948 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11949 | |
rm -f conftest.er1
|
11950 | |
cat conftest.err >&5
|
11951 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11952 | |
(exit $ac_status); } && {
|
11953 | |
test -z "$ac_c_werror_flag" ||
|
11954 | |
test ! -s conftest.err
|
11955 | |
} && test -s conftest$ac_exeext &&
|
11956 | |
$as_test_x conftest$ac_exeext; then
|
|
8949 |
if ac_fn_c_try_link "$LINENO"; then :
|
11957 | 8950 |
ac_cv_lib_SDL_mixer_main=yes
|
11958 | 8951 |
else
|
11959 | |
echo "$as_me: failed program was:" >&5
|
11960 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11961 | |
|
11962 | |
ac_cv_lib_SDL_mixer_main=no
|
11963 | |
fi
|
11964 | |
|
11965 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11966 | |
conftest$ac_exeext conftest.$ac_ext
|
|
8952 |
ac_cv_lib_SDL_mixer_main=no
|
|
8953 |
fi
|
|
8954 |
rm -f core conftest.err conftest.$ac_objext \
|
|
8955 |
conftest$ac_exeext conftest.$ac_ext
|
11967 | 8956 |
LIBS=$ac_check_lib_save_LIBS
|
11968 | 8957 |
fi
|
11969 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
|
11970 | |
echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6; }
|
11971 | |
if test $ac_cv_lib_SDL_mixer_main = yes; then
|
11972 | |
{ echo "$as_me:$LINENO: result: \"SDL_Mixer found\"" >&5
|
11973 | |
echo "${ECHO_T}\"SDL_Mixer found\"" >&6; }
|
11974 | |
else
|
11975 | |
{ echo "$as_me:$LINENO: result: \"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&5
|
11976 | |
echo "${ECHO_T}\"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&6; }; audio_flag=""; mixer_flag=""
|
|
8958 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_main" >&5
|
|
8959 |
$as_echo "$ac_cv_lib_SDL_mixer_main" >&6; }
|
|
8960 |
if test "x$ac_cv_lib_SDL_mixer_main" = x""yes; then :
|
|
8961 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_Mixer found\"" >&5
|
|
8962 |
$as_echo "\"SDL_Mixer found\"" >&6; }
|
|
8963 |
else
|
|
8964 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&5
|
|
8965 |
$as_echo "\"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&6; }; audio_flag=""; mixer_flag=""
|
11977 | 8966 |
fi
|
11978 | 8967 |
|
11979 | 8968 |
|
|
11983 | 8972 |
doc_dir="/usr/doc"
|
11984 | 8973 |
|
11985 | 8974 |
# Check whether --with-docdir was given.
|
11986 | |
if test "${with_docdir+set}" = set; then
|
|
8975 |
if test "${with_docdir+set}" = set; then :
|
11987 | 8976 |
withval=$with_docdir; doc_dir="$withval"
|
11988 | 8977 |
fi
|
11989 | 8978 |
|
|
11991 | 8980 |
|
11992 | 8981 |
network_flag="-DNETWORK_ENABLED"
|
11993 | 8982 |
# Check whether --enable-network was given.
|
11994 | |
if test "${enable_network+set}" = set; then
|
|
8983 |
if test "${enable_network+set}" = set; then :
|
11995 | 8984 |
enableval=$enable_network; network_flag=""
|
11996 | 8985 |
fi
|
11997 | 8986 |
|
|
12000 | 8989 |
sdlnet_flag=""
|
12001 | 8990 |
sdlnet_lib_flag=""
|
12002 | 8991 |
# Check whether --enable-sdl-net was given.
|
12003 | |
if test "${enable_sdl_net+set}" = set; then
|
|
8992 |
if test "${enable_sdl_net+set}" = set; then :
|
12004 | 8993 |
enableval=$enable_sdl_net; sdlnet_flag="-DSDL_NET_ENABLED"; sdlnet_lib_flag="-lSDL_net"
|
12005 | 8994 |
fi
|
12006 | 8995 |
|
12007 | 8996 |
|
12008 | 8997 |
|
12009 | 8998 |
if test "$sdlnet_flag" == "-DSDL_NET_ENABLED" ; then
|
12010 | |
{ echo "$as_me:$LINENO: checking for main in -lSDL_net" >&5
|
12011 | |
echo $ECHO_N "checking for main in -lSDL_net... $ECHO_C" >&6; }
|
12012 | |
if test "${ac_cv_lib_SDL_net_main+set}" = set; then
|
12013 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8999 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_net" >&5
|
|
9000 |
$as_echo_n "checking for main in -lSDL_net... " >&6; }
|
|
9001 |
if test "${ac_cv_lib_SDL_net_main+set}" = set; then :
|
|
9002 |
$as_echo_n "(cached) " >&6
|
12014 | 9003 |
else
|
12015 | 9004 |
ac_check_lib_save_LIBS=$LIBS
|
12016 | 9005 |
LIBS="-lSDL_net $LIBS"
|
12017 | |
cat >conftest.$ac_ext <<_ACEOF
|
12018 | |
/* confdefs.h. */
|
12019 | |
_ACEOF
|
12020 | |
cat confdefs.h >>conftest.$ac_ext
|
12021 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9006 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
12022 | 9007 |
/* end confdefs.h. */
|
12023 | 9008 |
|
12024 | 9009 |
|
|
12030 | 9015 |
return 0;
|
12031 | 9016 |
}
|
12032 | 9017 |
_ACEOF
|
12033 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12034 | |
if { (ac_try="$ac_link"
|
12035 | |
case "(($ac_try" in
|
12036 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
12037 | |
*) ac_try_echo=$ac_try;;
|
12038 | |
esac
|
12039 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
12040 | |
(eval "$ac_link") 2>conftest.er1
|
12041 | |
ac_status=$?
|
12042 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
12043 | |
rm -f conftest.er1
|
12044 | |
cat conftest.err >&5
|
12045 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12046 | |
(exit $ac_status); } && {
|
12047 | |
test -z "$ac_c_werror_flag" ||
|
12048 | |
test ! -s conftest.err
|
12049 | |
} && test -s conftest$ac_exeext &&
|
12050 | |
$as_test_x conftest$ac_exeext; then
|
|
9018 |
if ac_fn_c_try_link "$LINENO"; then :
|
12051 | 9019 |
ac_cv_lib_SDL_net_main=yes
|
12052 | 9020 |
else
|
12053 | |
echo "$as_me: failed program was:" >&5
|
12054 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
12055 | |
|
12056 | |
ac_cv_lib_SDL_net_main=no
|
12057 | |
fi
|
12058 | |
|
12059 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12060 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9021 |
ac_cv_lib_SDL_net_main=no
|
|
9022 |
fi
|
|
9023 |
rm -f core conftest.err conftest.$ac_objext \
|
|
9024 |
conftest$ac_exeext conftest.$ac_ext
|
12061 | 9025 |
LIBS=$ac_check_lib_save_LIBS
|
12062 | 9026 |
fi
|
12063 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_net_main" >&5
|
12064 | |
echo "${ECHO_T}$ac_cv_lib_SDL_net_main" >&6; }
|
12065 | |
if test $ac_cv_lib_SDL_net_main = yes; then
|
12066 | |
{ echo "$as_me:$LINENO: result: \"SDL_net found\"" >&5
|
12067 | |
echo "${ECHO_T}\"SDL_net found\"" >&6; }
|
12068 | |
else
|
12069 | |
{ echo "$as_me:$LINENO: result: \"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&5
|
12070 | |
echo "${ECHO_T}\"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&6; }; sdlnet_flag=""; sdlnet_lib_flag=""; network_flag=""
|
|
9027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_net_main" >&5
|
|
9028 |
$as_echo "$ac_cv_lib_SDL_net_main" >&6; }
|
|
9029 |
if test "x$ac_cv_lib_SDL_net_main" = x""yes; then :
|
|
9030 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_net found\"" >&5
|
|
9031 |
$as_echo "\"SDL_net found\"" >&6; }
|
|
9032 |
else
|
|
9033 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&5
|
|
9034 |
$as_echo "\"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&6; }; sdlnet_flag=""; sdlnet_lib_flag=""; network_flag=""
|
12071 | 9035 |
fi
|
12072 | 9036 |
|
12073 | 9037 |
fi
|
12074 | 9038 |
|
12075 | 9039 |
netdebug_flag=""
|
12076 | 9040 |
# Check whether --enable-netdebug was given.
|
12077 | |
if test "${enable_netdebug+set}" = set; then
|
|
9041 |
if test "${enable_netdebug+set}" = set; then :
|
12078 | 9042 |
enableval=$enable_netdebug; netdebug_flag="-DNET_DEBUG_MSG"
|
12079 | 9043 |
fi
|
12080 | 9044 |
|
|
12087 | 9051 |
hi_dir=$localstatedir
|
12088 | 9052 |
|
12089 | 9053 |
# Check whether --enable-install was given.
|
12090 | |
if test "${enable_install+set}" = set; then
|
|
9054 |
if test "${enable_install+set}" = set; then :
|
12091 | 9055 |
enableval=$enable_install; inst_dir="." hi_dir="."
|
12092 | 9056 |
locdir_flag="-DLOCALEDIR=\\\"../dict\\\""
|
12093 | 9057 |
rm -rf dict; mkdir dict
|
|
12129 | 9093 |
do
|
12130 | 9094 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
12131 | 9095 |
set dummy $ac_prog; ac_word=$2
|
12132 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
12133 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
12134 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
12135 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9096 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
9097 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
9098 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
|
9099 |
$as_echo_n "(cached) " >&6
|
12136 | 9100 |
else
|
12137 | 9101 |
if test -n "$AWK"; then
|
12138 | 9102 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
12142 | 9106 |
do
|
12143 | 9107 |
IFS=$as_save_IFS
|
12144 | 9108 |
test -z "$as_dir" && as_dir=.
|
12145 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
9109 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
12146 | 9110 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
12147 | 9111 |
ac_cv_prog_AWK="$ac_prog"
|
12148 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
9112 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
12149 | 9113 |
break 2
|
12150 | 9114 |
fi
|
12151 | 9115 |
done
|
12152 | |
done
|
|
9116 |
done
|
12153 | 9117 |
IFS=$as_save_IFS
|
12154 | 9118 |
|
12155 | 9119 |
fi
|
12156 | 9120 |
fi
|
12157 | 9121 |
AWK=$ac_cv_prog_AWK
|
12158 | 9122 |
if test -n "$AWK"; then
|
12159 | |
{ echo "$as_me:$LINENO: result: $AWK" >&5
|
12160 | |
echo "${ECHO_T}$AWK" >&6; }
|
12161 | |
else
|
12162 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
12163 | |
echo "${ECHO_T}no" >&6; }
|
|
9123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
9124 |
$as_echo "$AWK" >&6; }
|
|
9125 |
else
|
|
9126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9127 |
$as_echo "no" >&6; }
|
12164 | 9128 |
fi
|
12165 | 9129 |
|
12166 | 9130 |
|
|
12202 | 9166 |
case $ac_val in #(
|
12203 | 9167 |
*${as_nl}*)
|
12204 | 9168 |
case $ac_var in #(
|
12205 | |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
12206 | |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
9169 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
9170 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
12207 | 9171 |
esac
|
12208 | 9172 |
case $ac_var in #(
|
12209 | 9173 |
_ | IFS | as_nl) ;; #(
|
12210 | |
*) $as_unset $ac_var ;;
|
|
9174 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
9175 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
12211 | 9176 |
esac ;;
|
12212 | 9177 |
esac
|
12213 | 9178 |
done
|
|
12215 | 9180 |
(set) 2>&1 |
|
12216 | 9181 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
12217 | 9182 |
*${as_nl}ac_space=\ *)
|
12218 | |
# `set' does not quote correctly, so add quotes (double-quote
|
12219 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
9183 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
9184 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
12220 | 9185 |
sed -n \
|
12221 | 9186 |
"s/'/'\\\\''/g;
|
12222 | 9187 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
12239 | 9204 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
12240 | 9205 |
if test -w "$cache_file"; then
|
12241 | 9206 |
test "x$cache_file" != "x/dev/null" &&
|
12242 | |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
12243 | |
echo "$as_me: updating cache $cache_file" >&6;}
|
|
9207 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
9208 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
12244 | 9209 |
cat confcache >$cache_file
|
12245 | 9210 |
else
|
12246 | |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
12247 | |
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
9211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
9212 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
12248 | 9213 |
fi
|
12249 | 9214 |
fi
|
12250 | 9215 |
rm -f confcache
|
|
12260 | 9225 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
12261 | 9226 |
# 1. Remove the extension, and $U if already installed.
|
12262 | 9227 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
12263 | |
ac_i=`echo "$ac_i" | sed "$ac_script"`
|
|
9228 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
12264 | 9229 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
12265 | 9230 |
# will be set to the directory where LIBOBJS objects are built.
|
12266 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
12267 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
9231 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
9232 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
12268 | 9233 |
done
|
12269 | 9234 |
LIBOBJS=$ac_libobjs
|
12270 | 9235 |
|
|
12272 | 9237 |
|
12273 | 9238 |
|
12274 | 9239 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
12275 | |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
12276 | |
Usually this means the macro was only invoked conditionally." >&5
|
12277 | |
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
12278 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
12279 | |
{ (exit 1); exit 1; }; }
|
|
9240 |
as_fn_error "conditional \"AMDEP\" was never defined.
|
|
9241 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
12280 | 9242 |
fi
|
12281 | 9243 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
12282 | |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
12283 | |
Usually this means the macro was only invoked conditionally." >&5
|
12284 | |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
12285 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
12286 | |
{ (exit 1); exit 1; }; }
|
|
9244 |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
|
9245 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
12287 | 9246 |
fi
|
12288 | 9247 |
|
12289 | 9248 |
: ${CONFIG_STATUS=./config.status}
|
|
9249 |
ac_write_fail=0
|
12290 | 9250 |
ac_clean_files_save=$ac_clean_files
|
12291 | 9251 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
12292 | |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
12293 | |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
12294 | |
cat >$CONFIG_STATUS <<_ACEOF
|
|
9252 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
9253 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
9254 |
as_write_fail=0
|
|
9255 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
12295 | 9256 |
#! $SHELL
|
12296 | 9257 |
# Generated by $as_me.
|
12297 | 9258 |
# Run this file to recreate the current configuration.
|
|
12301 | 9262 |
debug=false
|
12302 | 9263 |
ac_cs_recheck=false
|
12303 | 9264 |
ac_cs_silent=false
|
|
9265 |
|
12304 | 9266 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
12305 | |
_ACEOF
|
12306 | |
|
12307 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
12308 | |
## --------------------- ##
|
12309 | |
## M4sh Initialization. ##
|
12310 | |
## --------------------- ##
|
|
9267 |
export SHELL
|
|
9268 |
_ASEOF
|
|
9269 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
9270 |
## -------------------- ##
|
|
9271 |
## M4sh Initialization. ##
|
|
9272 |
## -------------------- ##
|
12311 | 9273 |
|
12312 | 9274 |
# Be more Bourne compatible
|
12313 | 9275 |
DUALCASE=1; export DUALCASE # for MKS sh
|
12314 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
9276 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
12315 | 9277 |
emulate sh
|
12316 | 9278 |
NULLCMD=:
|
12317 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
9279 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
12318 | 9280 |
# is contrary to our usage. Disable this feature.
|
12319 | 9281 |
alias -g '${1+"$@"}'='"$@"'
|
12320 | 9282 |
setopt NO_GLOB_SUBST
|
12321 | 9283 |
else
|
12322 | |
case `(set -o) 2>/dev/null` in
|
12323 | |
*posix*) set -o posix ;;
|
|
9284 |
case `(set -o) 2>/dev/null` in #(
|
|
9285 |
*posix*) :
|
|
9286 |
set -o posix ;; #(
|
|
9287 |
*) :
|
|
9288 |
;;
|
12324 | 9289 |
esac
|
12325 | |
|
12326 | |
fi
|
12327 | |
|
12328 | |
|
12329 | |
|
12330 | |
|
12331 | |
# PATH needs CR
|
12332 | |
# Avoid depending upon Character Ranges.
|
12333 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
12334 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
12335 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
12336 | |
as_cr_digits='0123456789'
|
12337 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
9290 |
fi
|
|
9291 |
|
|
9292 |
|
|
9293 |
as_nl='
|
|
9294 |
'
|
|
9295 |
export as_nl
|
|
9296 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
9297 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
9298 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
9299 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
9300 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
9301 |
# but without wasting forks for bash or zsh.
|
|
9302 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
9303 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
9304 |
as_echo='print -r --'
|
|
9305 |
as_echo_n='print -rn --'
|
|
9306 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
9307 |
as_echo='printf %s\n'
|
|
9308 |
as_echo_n='printf %s'
|
|
9309 |
else
|
|
9310 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
9311 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
9312 |
as_echo_n='/usr/ucb/echo -n'
|
|
9313 |
else
|
|
9314 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
9315 |
as_echo_n_body='eval
|
|
9316 |
arg=$1;
|
|
9317 |
case $arg in #(
|
|
9318 |
*"$as_nl"*)
|
|
9319 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
9320 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
9321 |
esac;
|
|
9322 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
9323 |
'
|
|
9324 |
export as_echo_n_body
|
|
9325 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
9326 |
fi
|
|
9327 |
export as_echo_body
|
|
9328 |
as_echo='sh -c $as_echo_body as_echo'
|
|
9329 |
fi
|
12338 | 9330 |
|
12339 | 9331 |
# The user is always right.
|
12340 | 9332 |
if test "${PATH_SEPARATOR+set}" != set; then
|
12341 | |
echo "#! /bin/sh" >conf$$.sh
|
12342 | |
echo "exit 0" >>conf$$.sh
|
12343 | |
chmod +x conf$$.sh
|
12344 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
12345 | |
PATH_SEPARATOR=';'
|
12346 | |
else
|
12347 | |
PATH_SEPARATOR=:
|
12348 | |
fi
|
12349 | |
rm -f conf$$.sh
|
12350 | |
fi
|
12351 | |
|
12352 | |
# Support unset when possible.
|
12353 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
12354 | |
as_unset=unset
|
12355 | |
else
|
12356 | |
as_unset=false
|
|
9333 |
PATH_SEPARATOR=:
|
|
9334 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
9335 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
9336 |
PATH_SEPARATOR=';'
|
|
9337 |
}
|
12357 | 9338 |
fi
|
12358 | 9339 |
|
12359 | 9340 |
|
|
12362 | 9343 |
# there to prevent editors from complaining about space-tab.
|
12363 | 9344 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
12364 | 9345 |
# splitting by setting IFS to empty value.)
|
12365 | |
as_nl='
|
12366 | |
'
|
12367 | 9346 |
IFS=" "" $as_nl"
|
12368 | 9347 |
|
12369 | 9348 |
# Find who we are. Look in the path if we contain no directory separator.
|
12370 | |
case $0 in
|
|
9349 |
case $0 in #((
|
12371 | 9350 |
*[\\/]* ) as_myself=$0 ;;
|
12372 | 9351 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
12373 | 9352 |
for as_dir in $PATH
|
12374 | 9353 |
do
|
12375 | 9354 |
IFS=$as_save_IFS
|
12376 | 9355 |
test -z "$as_dir" && as_dir=.
|
12377 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
12378 | |
done
|
|
9356 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
9357 |
done
|
12379 | 9358 |
IFS=$as_save_IFS
|
12380 | 9359 |
|
12381 | 9360 |
;;
|
|
12386 | 9365 |
as_myself=$0
|
12387 | 9366 |
fi
|
12388 | 9367 |
if test ! -f "$as_myself"; then
|
12389 | |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
12390 | |
{ (exit 1); exit 1; }
|
12391 | |
fi
|
12392 | |
|
12393 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
12394 | |
for as_var in ENV MAIL MAILPATH
|
12395 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
9368 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
9369 |
exit 1
|
|
9370 |
fi
|
|
9371 |
|
|
9372 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
9373 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
9374 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
9375 |
# trigger a bug in pdksh 5.2.14.
|
|
9376 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
9377 |
do eval test x\${$as_var+set} = xset \
|
|
9378 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
12396 | 9379 |
done
|
12397 | 9380 |
PS1='$ '
|
12398 | 9381 |
PS2='> '
|
12399 | 9382 |
PS4='+ '
|
12400 | 9383 |
|
12401 | 9384 |
# NLS nuisances.
|
12402 | |
for as_var in \
|
12403 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
12404 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
12405 | |
LC_TELEPHONE LC_TIME
|
12406 | |
do
|
12407 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
12408 | |
eval $as_var=C; export $as_var
|
12409 | |
else
|
12410 | |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
12411 | |
fi
|
12412 | |
done
|
12413 | |
|
12414 | |
# Required to use basename.
|
|
9385 |
LC_ALL=C
|
|
9386 |
export LC_ALL
|
|
9387 |
LANGUAGE=C
|
|
9388 |
export LANGUAGE
|
|
9389 |
|
|
9390 |
# CDPATH.
|
|
9391 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
9392 |
|
|
9393 |
|
|
9394 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
9395 |
# ---------------------------------
|
|
9396 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
9397 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
9398 |
# script with status $?, using 1 if that was 0.
|
|
9399 |
as_fn_error ()
|
|
9400 |
{
|
|
9401 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
9402 |
if test "$3"; then
|
|
9403 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
9404 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
9405 |
fi
|
|
9406 |
$as_echo "$as_me: error: $1" >&2
|
|
9407 |
as_fn_exit $as_status
|
|
9408 |
} # as_fn_error
|
|
9409 |
|
|
9410 |
|
|
9411 |
# as_fn_set_status STATUS
|
|
9412 |
# -----------------------
|
|
9413 |
# Set $? to STATUS, without forking.
|
|
9414 |
as_fn_set_status ()
|
|
9415 |
{
|
|
9416 |
return $1
|
|
9417 |
} # as_fn_set_status
|
|
9418 |
|
|
9419 |
# as_fn_exit STATUS
|
|
9420 |
# -----------------
|
|
9421 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
9422 |
as_fn_exit ()
|
|
9423 |
{
|
|
9424 |
set +e
|
|
9425 |
as_fn_set_status $1
|
|
9426 |
exit $1
|
|
9427 |
} # as_fn_exit
|
|
9428 |
|
|
9429 |
# as_fn_unset VAR
|
|
9430 |
# ---------------
|
|
9431 |
# Portably unset VAR.
|
|
9432 |
as_fn_unset ()
|
|
9433 |
{
|
|
9434 |
{ eval $1=; unset $1;}
|
|
9435 |
}
|
|
9436 |
as_unset=as_fn_unset
|
|
9437 |
# as_fn_append VAR VALUE
|
|
9438 |
# ----------------------
|
|
9439 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
9440 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
9441 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
9442 |
# implementations.
|
|
9443 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
9444 |
eval 'as_fn_append ()
|
|
9445 |
{
|
|
9446 |
eval $1+=\$2
|
|
9447 |
}'
|
|
9448 |
else
|
|
9449 |
as_fn_append ()
|
|
9450 |
{
|
|
9451 |
eval $1=\$$1\$2
|
|
9452 |
}
|
|
9453 |
fi # as_fn_append
|
|
9454 |
|
|
9455 |
# as_fn_arith ARG...
|
|
9456 |
# ------------------
|
|
9457 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
9458 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
9459 |
# must be portable across $(()) and expr.
|
|
9460 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
9461 |
eval 'as_fn_arith ()
|
|
9462 |
{
|
|
9463 |
as_val=$(( $* ))
|
|
9464 |
}'
|
|
9465 |
else
|
|
9466 |
as_fn_arith ()
|
|
9467 |
{
|
|
9468 |
as_val=`expr "$@" || test $? -eq 1`
|
|
9469 |
}
|
|
9470 |
fi # as_fn_arith
|
|
9471 |
|
|
9472 |
|
12415 | 9473 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
12416 | 9474 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
12417 | 9475 |
as_expr=expr
|
|
12425 | 9483 |
as_basename=false
|
12426 | 9484 |
fi
|
12427 | 9485 |
|
12428 | |
|
12429 | |
# Name of the executable.
|
|
9486 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
9487 |
as_dirname=dirname
|
|
9488 |
else
|
|
9489 |
as_dirname=false
|
|
9490 |
fi
|
|
9491 |
|
12430 | 9492 |
as_me=`$as_basename -- "$0" ||
|
12431 | 9493 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
12432 | 9494 |
X"$0" : 'X\(//\)$' \| \
|
12433 | 9495 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
12434 | |
echo X/"$0" |
|
|
9496 |
$as_echo X/"$0" |
|
12435 | 9497 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
12436 | 9498 |
s//\1/
|
12437 | 9499 |
q
|
|
12446 | 9508 |
}
|
12447 | 9509 |
s/.*/./; q'`
|
12448 | 9510 |
|
12449 | |
# CDPATH.
|
12450 | |
$as_unset CDPATH
|
12451 | |
|
12452 | |
|
12453 | |
|
12454 | |
as_lineno_1=$LINENO
|
12455 | |
as_lineno_2=$LINENO
|
12456 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
12457 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
12458 | |
|
12459 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
12460 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
12461 | |
# line-number line after each line using $LINENO; the second 'sed'
|
12462 | |
# does the real work. The second script uses 'N' to pair each
|
12463 | |
# line-number line with the line containing $LINENO, and appends
|
12464 | |
# trailing '-' during substitution so that $LINENO is not a special
|
12465 | |
# case at line end.
|
12466 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
12467 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
12468 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
12469 | |
sed -n '
|
12470 | |
p
|
12471 | |
/[$]LINENO/=
|
12472 | |
' <$as_myself |
|
12473 | |
sed '
|
12474 | |
s/[$]LINENO.*/&-/
|
12475 | |
t lineno
|
12476 | |
b
|
12477 | |
:lineno
|
12478 | |
N
|
12479 | |
:loop
|
12480 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
12481 | |
t loop
|
12482 | |
s/-\n.*//
|
12483 | |
' >$as_me.lineno &&
|
12484 | |
chmod +x "$as_me.lineno" ||
|
12485 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
12486 | |
{ (exit 1); exit 1; }; }
|
12487 | |
|
12488 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
12489 | |
# (the dirname of $[0] is not the place where we might find the
|
12490 | |
# original and so on. Autoconf is especially sensitive to this).
|
12491 | |
. "./$as_me.lineno"
|
12492 | |
# Exit status is that of the last command.
|
12493 | |
exit
|
12494 | |
}
|
12495 | |
|
12496 | |
|
12497 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
12498 | |
as_dirname=dirname
|
12499 | |
else
|
12500 | |
as_dirname=false
|
12501 | |
fi
|
|
9511 |
# Avoid depending upon Character Ranges.
|
|
9512 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
9513 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
9514 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
9515 |
as_cr_digits='0123456789'
|
|
9516 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
12502 | 9517 |
|
12503 | 9518 |
ECHO_C= ECHO_N= ECHO_T=
|
12504 | |
case `echo -n x` in
|
|
9519 |
case `echo -n x` in #(((((
|
12505 | 9520 |
-n*)
|
12506 | |
case `echo 'x\c'` in
|
|
9521 |
case `echo 'xy\c'` in
|
12507 | 9522 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
12508 | |
*) ECHO_C='\c';;
|
|
9523 |
xy) ECHO_C='\c';;
|
|
9524 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
9525 |
ECHO_T=' ';;
|
12509 | 9526 |
esac;;
|
12510 | 9527 |
*)
|
12511 | 9528 |
ECHO_N='-n';;
|
12512 | 9529 |
esac
|
12513 | 9530 |
|
12514 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
12515 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
12516 | |
as_expr=expr
|
12517 | |
else
|
12518 | |
as_expr=false
|
12519 | |
fi
|
12520 | |
|
12521 | 9531 |
rm -f conf$$ conf$$.exe conf$$.file
|
12522 | 9532 |
if test -d conf$$.dir; then
|
12523 | 9533 |
rm -f conf$$.dir/conf$$.file
|
12524 | 9534 |
else
|
12525 | 9535 |
rm -f conf$$.dir
|
12526 | |
mkdir conf$$.dir
|
12527 | |
fi
|
12528 | |
echo >conf$$.file
|
12529 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
12530 | |
as_ln_s='ln -s'
|
12531 | |
# ... but there are two gotchas:
|
12532 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
12533 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
12534 | |
# In both cases, we have to default to `cp -p'.
|
12535 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
9536 |
mkdir conf$$.dir 2>/dev/null
|
|
9537 |
fi
|
|
9538 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
9539 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
9540 |
as_ln_s='ln -s'
|
|
9541 |
# ... but there are two gotchas:
|
|
9542 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
9543 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
9544 |
# In both cases, we have to default to `cp -p'.
|
|
9545 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
9546 |
as_ln_s='cp -p'
|
|
9547 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
9548 |
as_ln_s=ln
|
|
9549 |
else
|
12536 | 9550 |
as_ln_s='cp -p'
|
12537 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
12538 | |
as_ln_s=ln
|
|
9551 |
fi
|
12539 | 9552 |
else
|
12540 | 9553 |
as_ln_s='cp -p'
|
12541 | 9554 |
fi
|
12542 | 9555 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
12543 | 9556 |
rmdir conf$$.dir 2>/dev/null
|
12544 | 9557 |
|
|
9558 |
|
|
9559 |
# as_fn_mkdir_p
|
|
9560 |
# -------------
|
|
9561 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
9562 |
as_fn_mkdir_p ()
|
|
9563 |
{
|
|
9564 |
|
|
9565 |
case $as_dir in #(
|
|
9566 |
-*) as_dir=./$as_dir;;
|
|
9567 |
esac
|
|
9568 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
9569 |
as_dirs=
|
|
9570 |
while :; do
|
|
9571 |
case $as_dir in #(
|
|
9572 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
9573 |
*) as_qdir=$as_dir;;
|
|
9574 |
esac
|
|
9575 |
as_dirs="'$as_qdir' $as_dirs"
|
|
9576 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
9577 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
9578 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
9579 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
9580 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
9581 |
$as_echo X"$as_dir" |
|
|
9582 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
9583 |
s//\1/
|
|
9584 |
q
|
|
9585 |
}
|
|
9586 |
/^X\(\/\/\)[^/].*/{
|
|
9587 |
s//\1/
|
|
9588 |
q
|
|
9589 |
}
|
|
9590 |
/^X\(\/\/\)$/{
|
|
9591 |
s//\1/
|
|
9592 |
q
|
|
9593 |
}
|
|
9594 |
/^X\(\/\).*/{
|
|
9595 |
s//\1/
|
|
9596 |
q
|
|
9597 |
}
|
|
9598 |
s/.*/./; q'`
|
|
9599 |
test -d "$as_dir" && break
|
|
9600 |
done
|
|
9601 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
9602 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
9603 |
|
|
9604 |
|
|
9605 |
} # as_fn_mkdir_p
|
12545 | 9606 |
if mkdir -p . 2>/dev/null; then
|
12546 | |
as_mkdir_p=:
|
|
9607 |
as_mkdir_p='mkdir -p "$as_dir"'
|
12547 | 9608 |
else
|
12548 | 9609 |
test -d ./-p && rmdir ./-p
|
12549 | 9610 |
as_mkdir_p=false
|
|
12560 | 9621 |
as_test_x='
|
12561 | 9622 |
eval sh -c '\''
|
12562 | 9623 |
if test -d "$1"; then
|
12563 | |
test -d "$1/.";
|
|
9624 |
test -d "$1/.";
|
12564 | 9625 |
else
|
12565 | |
case $1 in
|
12566 | |
-*)set "./$1";;
|
|
9626 |
case $1 in #(
|
|
9627 |
-*)set "./$1";;
|
12567 | 9628 |
esac;
|
12568 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
9629 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
12569 | 9630 |
???[sx]*):;;*)false;;esac;fi
|
12570 | 9631 |
'\'' sh
|
12571 | 9632 |
'
|
|
12580 | 9641 |
|
12581 | 9642 |
|
12582 | 9643 |
exec 6>&1
|
12583 | |
|
12584 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
9644 |
## ----------------------------------- ##
|
|
9645 |
## Main body of $CONFIG_STATUS script. ##
|
|
9646 |
## ----------------------------------- ##
|
|
9647 |
_ASEOF
|
|
9648 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
9649 |
|
|
9650 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
9651 |
# Save the log message, to keep $0 and so on meaningful, and to
|
12585 | 9652 |
# report actual input values of CONFIG_FILES etc. instead of their
|
12586 | 9653 |
# values after options handling.
|
12587 | 9654 |
ac_log="
|
12588 | 9655 |
This file was extended by $as_me, which was
|
12589 | |
generated by GNU Autoconf 2.61. Invocation command line was
|
|
9656 |
generated by GNU Autoconf 2.65. Invocation command line was
|
12590 | 9657 |
|
12591 | 9658 |
CONFIG_FILES = $CONFIG_FILES
|
12592 | 9659 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
12599 | 9666 |
|
12600 | 9667 |
_ACEOF
|
12601 | 9668 |
|
12602 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
9669 |
case $ac_config_files in *"
|
|
9670 |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
9671 |
esac
|
|
9672 |
|
|
9673 |
case $ac_config_headers in *"
|
|
9674 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
|
9675 |
esac
|
|
9676 |
|
|
9677 |
|
|
9678 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
12603 | 9679 |
# Files that config.status was made for.
|
12604 | 9680 |
config_files="$ac_config_files"
|
12605 | 9681 |
config_headers="$ac_config_headers"
|
|
12607 | 9683 |
|
12608 | 9684 |
_ACEOF
|
12609 | 9685 |
|
12610 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
9686 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
12611 | 9687 |
ac_cs_usage="\
|
12612 | |
\`$as_me' instantiates files from templates according to the
|
12613 | |
current configuration.
|
12614 | |
|
12615 | |
Usage: $0 [OPTIONS] [FILE]...
|
|
9688 |
\`$as_me' instantiates files and other configuration actions
|
|
9689 |
from templates according to the current configuration. Unless the files
|
|
9690 |
and actions are specified as TAGs, all are instantiated by default.
|
|
9691 |
|
|
9692 |
Usage: $0 [OPTION]... [TAG]...
|
12616 | 9693 |
|
12617 | 9694 |
-h, --help print this help, then exit
|
12618 | 9695 |
-V, --version print version number and configuration settings, then exit
|
12619 | |
-q, --quiet do not print progress messages
|
|
9696 |
--config print configuration, then exit
|
|
9697 |
-q, --quiet, --silent
|
|
9698 |
do not print progress messages
|
12620 | 9699 |
-d, --debug don't remove temporary files
|
12621 | 9700 |
--recheck update $as_me by reconfiguring in the same conditions
|
12622 | |
--file=FILE[:TEMPLATE]
|
12623 | |
instantiate the configuration file FILE
|
12624 | |
--header=FILE[:TEMPLATE]
|
12625 | |
instantiate the configuration header FILE
|
|
9701 |
--file=FILE[:TEMPLATE]
|
|
9702 |
instantiate the configuration file FILE
|
|
9703 |
--header=FILE[:TEMPLATE]
|
|
9704 |
instantiate the configuration header FILE
|
12626 | 9705 |
|
12627 | 9706 |
Configuration files:
|
12628 | 9707 |
$config_files
|
|
12633 | 9712 |
Configuration commands:
|
12634 | 9713 |
$config_commands
|
12635 | 9714 |
|
12636 | |
Report bugs to <bug-autoconf@gnu.org>."
|
12637 | |
|
12638 | |
_ACEOF
|
12639 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
9715 |
Report bugs to the package provider."
|
|
9716 |
|
|
9717 |
_ACEOF
|
|
9718 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
9719 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
12640 | 9720 |
ac_cs_version="\\
|
12641 | 9721 |
config.status
|
12642 | |
configured by $0, generated by GNU Autoconf 2.61,
|
12643 | |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
12644 | |
|
12645 | |
Copyright (C) 2006 Free Software Foundation, Inc.
|
|
9722 |
configured by $0, generated by GNU Autoconf 2.65,
|
|
9723 |
with options \\"\$ac_cs_config\\"
|
|
9724 |
|
|
9725 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
12646 | 9726 |
This config.status script is free software; the Free Software Foundation
|
12647 | 9727 |
gives unlimited permission to copy, distribute and modify it."
|
12648 | 9728 |
|
12649 | 9729 |
ac_pwd='$ac_pwd'
|
12650 | 9730 |
srcdir='$srcdir'
|
12651 | 9731 |
INSTALL='$INSTALL'
|
12652 | |
_ACEOF
|
12653 | |
|
12654 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
12655 | |
# If no file are specified by the user, then we need to provide default
|
12656 | |
# value. By we need to know if files were specified by the user.
|
|
9732 |
AWK='$AWK'
|
|
9733 |
test -n "\$AWK" || AWK=awk
|
|
9734 |
_ACEOF
|
|
9735 |
|
|
9736 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
9737 |
# The default lists apply if the user does not specify any file.
|
12657 | 9738 |
ac_need_defaults=:
|
12658 | 9739 |
while test $# != 0
|
12659 | 9740 |
do
|
|
12675 | 9756 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
12676 | 9757 |
ac_cs_recheck=: ;;
|
12677 | 9758 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
12678 | |
echo "$ac_cs_version"; exit ;;
|
|
9759 |
$as_echo "$ac_cs_version"; exit ;;
|
|
9760 |
--config | --confi | --conf | --con | --co | --c )
|
|
9761 |
$as_echo "$ac_cs_config"; exit ;;
|
12679 | 9762 |
--debug | --debu | --deb | --de | --d | -d )
|
12680 | 9763 |
debug=: ;;
|
12681 | 9764 |
--file | --fil | --fi | --f )
|
12682 | 9765 |
$ac_shift
|
12683 | |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
|
9766 |
case $ac_optarg in
|
|
9767 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
9768 |
esac
|
|
9769 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
12684 | 9770 |
ac_need_defaults=false;;
|
12685 | 9771 |
--header | --heade | --head | --hea )
|
12686 | 9772 |
$ac_shift
|
12687 | |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
|
9773 |
case $ac_optarg in
|
|
9774 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
9775 |
esac
|
|
9776 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
12688 | 9777 |
ac_need_defaults=false;;
|
12689 | 9778 |
--he | --h)
|
12690 | 9779 |
# Conflict between --help and --header
|
12691 | |
{ echo "$as_me: error: ambiguous option: $1
|
12692 | |
Try \`$0 --help' for more information." >&2
|
12693 | |
{ (exit 1); exit 1; }; };;
|
|
9780 |
as_fn_error "ambiguous option: \`$1'
|
|
9781 |
Try \`$0 --help' for more information.";;
|
12694 | 9782 |
--help | --hel | -h )
|
12695 | |
echo "$ac_cs_usage"; exit ;;
|
|
9783 |
$as_echo "$ac_cs_usage"; exit ;;
|
12696 | 9784 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
12697 | 9785 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
12698 | 9786 |
ac_cs_silent=: ;;
|
12699 | 9787 |
|
12700 | 9788 |
# This is an error.
|
12701 | |
-*) { echo "$as_me: error: unrecognized option: $1
|
12702 | |
Try \`$0 --help' for more information." >&2
|
12703 | |
{ (exit 1); exit 1; }; } ;;
|
12704 | |
|
12705 | |
*) ac_config_targets="$ac_config_targets $1"
|
|
9789 |
-*) as_fn_error "unrecognized option: \`$1'
|
|
9790 |
Try \`$0 --help' for more information." ;;
|
|
9791 |
|
|
9792 |
*) as_fn_append ac_config_targets " $1"
|
12706 | 9793 |
ac_need_defaults=false ;;
|
12707 | 9794 |
|
12708 | 9795 |
esac
|
|
12717 | 9804 |
fi
|
12718 | 9805 |
|
12719 | 9806 |
_ACEOF
|
12720 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
9807 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
12721 | 9808 |
if \$ac_cs_recheck; then
|
12722 | |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
12723 | |
CONFIG_SHELL=$SHELL
|
|
9809 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
9810 |
shift
|
|
9811 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
9812 |
CONFIG_SHELL='$SHELL'
|
12724 | 9813 |
export CONFIG_SHELL
|
12725 | |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
12726 | |
fi
|
12727 | |
|
12728 | |
_ACEOF
|
12729 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
9814 |
exec "\$@"
|
|
9815 |
fi
|
|
9816 |
|
|
9817 |
_ACEOF
|
|
9818 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
12730 | 9819 |
exec 5>>config.log
|
12731 | 9820 |
{
|
12732 | 9821 |
echo
|
12733 | 9822 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
12734 | 9823 |
## Running $as_me. ##
|
12735 | 9824 |
_ASBOX
|
12736 | |
echo "$ac_log"
|
|
9825 |
$as_echo "$ac_log"
|
12737 | 9826 |
} >&5
|
12738 | 9827 |
|
12739 | 9828 |
_ACEOF
|
12740 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
9829 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
12741 | 9830 |
#
|
12742 | 9831 |
# INIT-COMMANDS
|
12743 | 9832 |
#
|
|
12752 | 9841 |
|
12753 | 9842 |
_ACEOF
|
12754 | 9843 |
|
12755 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
9844 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
12756 | 9845 |
|
12757 | 9846 |
# Handling of arguments.
|
12758 | 9847 |
for ac_config_target in $ac_config_targets
|
|
12781 | 9870 |
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
|
12782 | 9871 |
"m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
|
12783 | 9872 |
|
12784 | |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
12785 | |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
12786 | |
{ (exit 1); exit 1; }; };;
|
|
9873 |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
12787 | 9874 |
esac
|
12788 | 9875 |
done
|
12789 | 9876 |
|
|
12810 | 9897 |
trap 'exit_status=$?
|
12811 | 9898 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
12812 | 9899 |
' 0
|
12813 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
9900 |
trap 'as_fn_exit 1' 1 2 13 15
|
12814 | 9901 |
}
|
12815 | 9902 |
# Create a (secure) tmp directory for tmp files.
|
12816 | 9903 |
|
|
12821 | 9908 |
{
|
12822 | 9909 |
tmp=./conf$$-$RANDOM
|
12823 | 9910 |
(umask 077 && mkdir "$tmp")
|
12824 | |
} ||
|
|
9911 |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
|
9912 |
|
|
9913 |
# Set up the scripts for CONFIG_FILES section.
|
|
9914 |
# No need to generate them if there are no CONFIG_FILES.
|
|
9915 |
# This happens for instance with `./config.status config.h'.
|
|
9916 |
if test -n "$CONFIG_FILES"; then
|
|
9917 |
|
|
9918 |
|
|
9919 |
ac_cr=`echo X | tr X '\015'`
|
|
9920 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
9921 |
# But we know of no other shell where ac_cr would be empty at this
|
|
9922 |
# point, so we can use a bashism as a fallback.
|
|
9923 |
if test "x$ac_cr" = x; then
|
|
9924 |
eval ac_cr=\$\'\\r\'
|
|
9925 |
fi
|
|
9926 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
9927 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
9928 |
ac_cs_awk_cr='\r'
|
|
9929 |
else
|
|
9930 |
ac_cs_awk_cr=$ac_cr
|
|
9931 |
fi
|
|
9932 |
|
|
9933 |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
|
9934 |
_ACEOF
|
|
9935 |
|
|
9936 |
|
12825 | 9937 |
{
|
12826 | |
echo "$me: cannot create a temporary directory in ." >&2
|
12827 | |
{ (exit 1); exit 1; }
|
12828 | |
}
|
12829 | |
|
12830 | |
#
|
12831 | |
# Set up the sed scripts for CONFIG_FILES section.
|
12832 | |
#
|
12833 | |
|
12834 | |
# No need to generate the scripts if there are no CONFIG_FILES.
|
12835 | |
# This happens for instance when ./config.status config.h
|
12836 | |
if test -n "$CONFIG_FILES"; then
|
12837 | |
|
12838 | |
_ACEOF
|
12839 | |
|
12840 | |
|
12841 | |
|
|
9938 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
|
9939 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
|
9940 |
echo "_ACEOF"
|
|
9941 |
} >conf$$subs.sh ||
|
|
9942 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
9943 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
12842 | 9944 |
ac_delim='%!_!# '
|
12843 | 9945 |
for ac_last_try in false false false false false :; do
|
12844 | |
cat >conf$$subs.sed <<_ACEOF
|
12845 | |
SHELL!$SHELL$ac_delim
|
12846 | |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
12847 | |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
12848 | |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
12849 | |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
12850 | |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
12851 | |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
12852 | |
exec_prefix!$exec_prefix$ac_delim
|
12853 | |
prefix!$prefix$ac_delim
|
12854 | |
program_transform_name!$program_transform_name$ac_delim
|
12855 | |
bindir!$bindir$ac_delim
|
12856 | |
sbindir!$sbindir$ac_delim
|
12857 | |
libexecdir!$libexecdir$ac_delim
|
12858 | |
datarootdir!$datarootdir$ac_delim
|
12859 | |
datadir!$datadir$ac_delim
|
12860 | |
sysconfdir!$sysconfdir$ac_delim
|
12861 | |
sharedstatedir!$sharedstatedir$ac_delim
|
12862 | |
localstatedir!$localstatedir$ac_delim
|
12863 | |
includedir!$includedir$ac_delim
|
12864 | |
oldincludedir!$oldincludedir$ac_delim
|
12865 | |
docdir!$docdir$ac_delim
|
12866 | |
infodir!$infodir$ac_delim
|
12867 | |
htmldir!$htmldir$ac_delim
|
12868 | |
dvidir!$dvidir$ac_delim
|
12869 | |
pdfdir!$pdfdir$ac_delim
|
12870 | |
psdir!$psdir$ac_delim
|
12871 | |
libdir!$libdir$ac_delim
|
12872 | |
localedir!$localedir$ac_delim
|
12873 | |
mandir!$mandir$ac_delim
|
12874 | |
DEFS!$DEFS$ac_delim
|
12875 | |
ECHO_C!$ECHO_C$ac_delim
|
12876 | |
ECHO_N!$ECHO_N$ac_delim
|
12877 | |
ECHO_T!$ECHO_T$ac_delim
|
12878 | |
LIBS!$LIBS$ac_delim
|
12879 | |
build_alias!$build_alias$ac_delim
|
12880 | |
host_alias!$host_alias$ac_delim
|
12881 | |
target_alias!$target_alias$ac_delim
|
12882 | |
build!$build$ac_delim
|
12883 | |
build_cpu!$build_cpu$ac_delim
|
12884 | |
build_vendor!$build_vendor$ac_delim
|
12885 | |
build_os!$build_os$ac_delim
|
12886 | |
host!$host$ac_delim
|
12887 | |
host_cpu!$host_cpu$ac_delim
|
12888 | |
host_vendor!$host_vendor$ac_delim
|
12889 | |
host_os!$host_os$ac_delim
|
12890 | |
target!$target$ac_delim
|
12891 | |
target_cpu!$target_cpu$ac_delim
|
12892 | |
target_vendor!$target_vendor$ac_delim
|
12893 | |
target_os!$target_os$ac_delim
|
12894 | |
CC!$CC$ac_delim
|
12895 | |
CFLAGS!$CFLAGS$ac_delim
|
12896 | |
LDFLAGS!$LDFLAGS$ac_delim
|
12897 | |
CPPFLAGS!$CPPFLAGS$ac_delim
|
12898 | |
ac_ct_CC!$ac_ct_CC$ac_delim
|
12899 | |
EXEEXT!$EXEEXT$ac_delim
|
12900 | |
OBJEXT!$OBJEXT$ac_delim
|
12901 | |
CPP!$CPP$ac_delim
|
12902 | |
GREP!$GREP$ac_delim
|
12903 | |
EGREP!$EGREP$ac_delim
|
12904 | |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
12905 | |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
12906 | |
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
12907 | |
CYGPATH_W!$CYGPATH_W$ac_delim
|
12908 | |
PACKAGE!$PACKAGE$ac_delim
|
12909 | |
VERSION!$VERSION$ac_delim
|
12910 | |
ACLOCAL!$ACLOCAL$ac_delim
|
12911 | |
AUTOCONF!$AUTOCONF$ac_delim
|
12912 | |
AUTOMAKE!$AUTOMAKE$ac_delim
|
12913 | |
AUTOHEADER!$AUTOHEADER$ac_delim
|
12914 | |
MAKEINFO!$MAKEINFO$ac_delim
|
12915 | |
install_sh!$install_sh$ac_delim
|
12916 | |
STRIP!$STRIP$ac_delim
|
12917 | |
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
|
12918 | |
mkdir_p!$mkdir_p$ac_delim
|
12919 | |
AWK!$AWK$ac_delim
|
12920 | |
SET_MAKE!$SET_MAKE$ac_delim
|
12921 | |
am__leading_dot!$am__leading_dot$ac_delim
|
12922 | |
AMTAR!$AMTAR$ac_delim
|
12923 | |
am__tar!$am__tar$ac_delim
|
12924 | |
am__untar!$am__untar$ac_delim
|
12925 | |
DEPDIR!$DEPDIR$ac_delim
|
12926 | |
am__include!$am__include$ac_delim
|
12927 | |
am__quote!$am__quote$ac_delim
|
12928 | |
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
|
12929 | |
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
|
12930 | |
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
|
12931 | |
CCDEPMODE!$CCDEPMODE$ac_delim
|
12932 | |
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
|
12933 | |
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
|
12934 | |
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
|
12935 | |
USE_NLS!$USE_NLS$ac_delim
|
12936 | |
MSGFMT!$MSGFMT$ac_delim
|
12937 | |
GMSGFMT!$GMSGFMT$ac_delim
|
12938 | |
XGETTEXT!$XGETTEXT$ac_delim
|
12939 | |
MSGMERGE!$MSGMERGE$ac_delim
|
12940 | |
RANLIB!$RANLIB$ac_delim
|
12941 | |
ALLOCA!$ALLOCA$ac_delim
|
12942 | |
_ACEOF
|
12943 | |
|
12944 | |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
|
9946 |
. ./conf$$subs.sh ||
|
|
9947 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
9948 |
|
|
9949 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|
9950 |
if test $ac_delim_n = $ac_delim_num; then
|
12945 | 9951 |
break
|
12946 | 9952 |
elif $ac_last_try; then
|
12947 | |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
12948 | |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
12949 | |
{ (exit 1); exit 1; }; }
|
|
9953 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
12950 | 9954 |
else
|
12951 | 9955 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
12952 | 9956 |
fi
|
12953 | 9957 |
done
|
12954 | |
|
12955 | |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
12956 | |
if test -n "$ac_eof"; then
|
12957 | |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
12958 | |
ac_eof=`expr $ac_eof + 1`
|
12959 | |
fi
|
12960 | |
|
12961 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
12962 | |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
12963 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
12964 | |
_ACEOF
|
12965 | |
sed '
|
12966 | |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
12967 | |
s/^/s,@/; s/!/@,|#_!!_#|/
|
12968 | |
:n
|
12969 | |
t n
|
12970 | |
s/'"$ac_delim"'$/,g/; t
|
12971 | |
s/$/\\/; p
|
12972 | |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
12973 | |
' >>$CONFIG_STATUS <conf$$subs.sed
|
12974 | |
rm -f conf$$subs.sed
|
12975 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
12976 | |
CEOF$ac_eof
|
12977 | |
_ACEOF
|
12978 | |
|
12979 | |
|
12980 | |
ac_delim='%!_!# '
|
12981 | |
for ac_last_try in false false false false false :; do
|
12982 | |
cat >conf$$subs.sed <<_ACEOF
|
12983 | |
GLIBC21!$GLIBC21$ac_delim
|
12984 | |
HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim
|
12985 | |
HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim
|
12986 | |
HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim
|
12987 | |
HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim
|
12988 | |
LIBICONV!$LIBICONV$ac_delim
|
12989 | |
LTLIBICONV!$LTLIBICONV$ac_delim
|
12990 | |
INTLBISON!$INTLBISON$ac_delim
|
12991 | |
BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim
|
12992 | |
USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
|
12993 | |
CATOBJEXT!$CATOBJEXT$ac_delim
|
12994 | |
DATADIRNAME!$DATADIRNAME$ac_delim
|
12995 | |
INSTOBJEXT!$INSTOBJEXT$ac_delim
|
12996 | |
GENCAT!$GENCAT$ac_delim
|
12997 | |
INTLOBJS!$INTLOBJS$ac_delim
|
12998 | |
INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
|
12999 | |
INTLLIBS!$INTLLIBS$ac_delim
|
13000 | |
LIBINTL!$LIBINTL$ac_delim
|
13001 | |
LTLIBINTL!$LTLIBINTL$ac_delim
|
13002 | |
POSUB!$POSUB$ac_delim
|
13003 | |
SDL_CONFIG!$SDL_CONFIG$ac_delim
|
13004 | |
SDL_CFLAGS!$SDL_CFLAGS$ac_delim
|
13005 | |
SDL_LIBS!$SDL_LIBS$ac_delim
|
13006 | |
warp_flag!$warp_flag$ac_delim
|
13007 | |
audio_flag!$audio_flag$ac_delim
|
13008 | |
mixer_flag!$mixer_flag$ac_delim
|
13009 | |
doc_dir!$doc_dir$ac_delim
|
13010 | |
network_flag!$network_flag$ac_delim
|
13011 | |
sdlnet_flag!$sdlnet_flag$ac_delim
|
13012 | |
sdlnet_lib_flag!$sdlnet_lib_flag$ac_delim
|
13013 | |
netdebug_flag!$netdebug_flag$ac_delim
|
13014 | |
inst_flag!$inst_flag$ac_delim
|
13015 | |
hi_inst_flag!$hi_inst_flag$ac_delim
|
13016 | |
inst_dir!$inst_dir$ac_delim
|
13017 | |
hi_dir!$hi_dir$ac_delim
|
13018 | |
locdir_flag!$locdir_flag$ac_delim
|
13019 | |
win32_deps!$win32_deps$ac_delim
|
13020 | |
arch_flag!$arch_flag$ac_delim
|
13021 | |
win32_inst_script!$win32_inst_script$ac_delim
|
13022 | |
appname!$appname$ac_delim
|
13023 | |
LIBOBJS!$LIBOBJS$ac_delim
|
13024 | |
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
13025 | |
_ACEOF
|
13026 | |
|
13027 | |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
|
13028 | |
break
|
13029 | |
elif $ac_last_try; then
|
13030 | |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
13031 | |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
13032 | |
{ (exit 1); exit 1; }; }
|
13033 | |
else
|
13034 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
13035 | |
fi
|
13036 | |
done
|
13037 | |
|
13038 | |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
13039 | |
if test -n "$ac_eof"; then
|
13040 | |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
13041 | |
ac_eof=`expr $ac_eof + 1`
|
13042 | |
fi
|
13043 | |
|
13044 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
13045 | |
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
|
13046 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
13047 | |
_ACEOF
|
13048 | |
sed '
|
13049 | |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
13050 | |
s/^/s,@/; s/!/@,|#_!!_#|/
|
13051 | |
:n
|
13052 | |
t n
|
13053 | |
s/'"$ac_delim"'$/,g/; t
|
13054 | |
s/$/\\/; p
|
13055 | |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
13056 | |
' >>$CONFIG_STATUS <conf$$subs.sed
|
13057 | |
rm -f conf$$subs.sed
|
13058 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
13059 | |
:end
|
13060 | |
s/|#_!!_#|//g
|
13061 | |
CEOF$ac_eof
|
13062 | |
_ACEOF
|
13063 | |
|
|
9958 |
rm -f conf$$subs.sh
|
|
9959 |
|
|
9960 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
9961 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
|
9962 |
_ACEOF
|
|
9963 |
sed -n '
|
|
9964 |
h
|
|
9965 |
s/^/S["/; s/!.*/"]=/
|
|
9966 |
p
|
|
9967 |
g
|
|
9968 |
s/^[^!]*!//
|
|
9969 |
:repl
|
|
9970 |
t repl
|
|
9971 |
s/'"$ac_delim"'$//
|
|
9972 |
t delim
|
|
9973 |
:nl
|
|
9974 |
h
|
|
9975 |
s/\(.\{148\}\)..*/\1/
|
|
9976 |
t more1
|
|
9977 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
9978 |
p
|
|
9979 |
n
|
|
9980 |
b repl
|
|
9981 |
:more1
|
|
9982 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
9983 |
p
|
|
9984 |
g
|
|
9985 |
s/.\{148\}//
|
|
9986 |
t nl
|
|
9987 |
:delim
|
|
9988 |
h
|
|
9989 |
s/\(.\{148\}\)..*/\1/
|
|
9990 |
t more2
|
|
9991 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
9992 |
p
|
|
9993 |
b
|
|
9994 |
:more2
|
|
9995 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
9996 |
p
|
|
9997 |
g
|
|
9998 |
s/.\{148\}//
|
|
9999 |
t delim
|
|
10000 |
' <conf$$subs.awk | sed '
|
|
10001 |
/^[^""]/{
|
|
10002 |
N
|
|
10003 |
s/\n//
|
|
10004 |
}
|
|
10005 |
' >>$CONFIG_STATUS || ac_write_fail=1
|
|
10006 |
rm -f conf$$subs.awk
|
|
10007 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
10008 |
_ACAWK
|
|
10009 |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
|
10010 |
for (key in S) S_is_set[key] = 1
|
|
10011 |
FS = ""
|
|
10012 |
|
|
10013 |
}
|
|
10014 |
{
|
|
10015 |
line = $ 0
|
|
10016 |
nfields = split(line, field, "@")
|
|
10017 |
substed = 0
|
|
10018 |
len = length(field[1])
|
|
10019 |
for (i = 2; i < nfields; i++) {
|
|
10020 |
key = field[i]
|
|
10021 |
keylen = length(key)
|
|
10022 |
if (S_is_set[key]) {
|
|
10023 |
value = S[key]
|
|
10024 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
10025 |
len += length(value) + length(field[++i])
|
|
10026 |
substed = 1
|
|
10027 |
} else
|
|
10028 |
len += 1 + keylen
|
|
10029 |
}
|
|
10030 |
|
|
10031 |
print line
|
|
10032 |
}
|
|
10033 |
|
|
10034 |
_ACAWK
|
|
10035 |
_ACEOF
|
|
10036 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
10037 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
10038 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
10039 |
else
|
|
10040 |
cat
|
|
10041 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
|
10042 |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
|
10043 |
_ACEOF
|
13064 | 10044 |
|
13065 | 10045 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
13066 | 10046 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
13077 | 10057 |
}'
|
13078 | 10058 |
fi
|
13079 | 10059 |
|
13080 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
10060 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
13081 | 10061 |
fi # test -n "$CONFIG_FILES"
|
13082 | 10062 |
|
13083 | |
|
13084 | |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
|
|
10063 |
# Set up the scripts for CONFIG_HEADERS section.
|
|
10064 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
10065 |
# This happens for instance with `./config.status Makefile'.
|
|
10066 |
if test -n "$CONFIG_HEADERS"; then
|
|
10067 |
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
|
10068 |
BEGIN {
|
|
10069 |
_ACEOF
|
|
10070 |
|
|
10071 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
10072 |
# here-document in config.status, that substitutes the proper values into
|
|
10073 |
# config.h.in to produce config.h.
|
|
10074 |
|
|
10075 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
10076 |
# handling of long lines.
|
|
10077 |
ac_delim='%!_!# '
|
|
10078 |
for ac_last_try in false false :; do
|
|
10079 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
|
10080 |
if test -z "$ac_t"; then
|
|
10081 |
break
|
|
10082 |
elif $ac_last_try; then
|
|
10083 |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
|
10084 |
else
|
|
10085 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
10086 |
fi
|
|
10087 |
done
|
|
10088 |
|
|
10089 |
# For the awk script, D is an array of macro values keyed by name,
|
|
10090 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
10091 |
# newline sequences.
|
|
10092 |
|
|
10093 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
10094 |
sed -n '
|
|
10095 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
10096 |
t rset
|
|
10097 |
:rset
|
|
10098 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
10099 |
t def
|
|
10100 |
d
|
|
10101 |
:def
|
|
10102 |
s/\\$//
|
|
10103 |
t bsnl
|
|
10104 |
s/["\\]/\\&/g
|
|
10105 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
10106 |
D["\1"]=" \3"/p
|
|
10107 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
|
10108 |
d
|
|
10109 |
:bsnl
|
|
10110 |
s/["\\]/\\&/g
|
|
10111 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
10112 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
10113 |
t cont
|
|
10114 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
|
10115 |
t cont
|
|
10116 |
d
|
|
10117 |
:cont
|
|
10118 |
n
|
|
10119 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
10120 |
t clear
|
|
10121 |
:clear
|
|
10122 |
s/\\$//
|
|
10123 |
t bsnlc
|
|
10124 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
10125 |
d
|
|
10126 |
:bsnlc
|
|
10127 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
10128 |
b cont
|
|
10129 |
' <confdefs.h | sed '
|
|
10130 |
s/'"$ac_delim"'/"\\\
|
|
10131 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
|
10132 |
|
|
10133 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
10134 |
for (key in D) D_is_set[key] = 1
|
|
10135 |
FS = ""
|
|
10136 |
}
|
|
10137 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
10138 |
line = \$ 0
|
|
10139 |
split(line, arg, " ")
|
|
10140 |
if (arg[1] == "#") {
|
|
10141 |
defundef = arg[2]
|
|
10142 |
mac1 = arg[3]
|
|
10143 |
} else {
|
|
10144 |
defundef = substr(arg[1], 2)
|
|
10145 |
mac1 = arg[2]
|
|
10146 |
}
|
|
10147 |
split(mac1, mac2, "(") #)
|
|
10148 |
macro = mac2[1]
|
|
10149 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
10150 |
if (D_is_set[macro]) {
|
|
10151 |
# Preserve the white space surrounding the "#".
|
|
10152 |
print prefix "define", macro P[macro] D[macro]
|
|
10153 |
next
|
|
10154 |
} else {
|
|
10155 |
# Replace #undef with comments. This is necessary, for example,
|
|
10156 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
10157 |
# on some systems where configure will not decide to define it.
|
|
10158 |
if (defundef == "undef") {
|
|
10159 |
print "/*", prefix defundef, macro, "*/"
|
|
10160 |
next
|
|
10161 |
}
|
|
10162 |
}
|
|
10163 |
}
|
|
10164 |
{ print }
|
|
10165 |
_ACAWK
|
|
10166 |
_ACEOF
|
|
10167 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
10168 |
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
|
10169 |
fi # test -n "$CONFIG_HEADERS"
|
|
10170 |
|
|
10171 |
|
|
10172 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
10173 |
shift
|
|
10174 |
for ac_tag
|
13085 | 10175 |
do
|
13086 | 10176 |
case $ac_tag in
|
13087 | 10177 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
13088 | 10178 |
esac
|
13089 | 10179 |
case $ac_mode$ac_tag in
|
13090 | 10180 |
:[FHL]*:*);;
|
13091 | |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
13092 | |
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
13093 | |
{ (exit 1); exit 1; }; };;
|
|
10181 |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
13094 | 10182 |
:[FH]-) ac_tag=-:-;;
|
13095 | 10183 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
13096 | 10184 |
esac
|
|
13118 | 10206 |
[\\/$]*) false;;
|
13119 | 10207 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
13120 | 10208 |
esac ||
|
13121 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
13122 | |
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
13123 | |
{ (exit 1); exit 1; }; };;
|
|
10209 |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
13124 | 10210 |
esac
|
13125 | |
ac_file_inputs="$ac_file_inputs $ac_f"
|
|
10211 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
10212 |
as_fn_append ac_file_inputs " '$ac_f'"
|
13126 | 10213 |
done
|
13127 | 10214 |
|
13128 | 10215 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
13129 | 10216 |
# use $as_me), people would be surprised to read:
|
13130 | 10217 |
# /* config.h. Generated by config.status. */
|
13131 | |
configure_input="Generated from "`IFS=:
|
13132 | |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
|
10218 |
configure_input='Generated from '`
|
|
10219 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
10220 |
`' by configure.'
|
13133 | 10221 |
if test x"$ac_file" != x-; then
|
13134 | 10222 |
configure_input="$ac_file. $configure_input"
|
13135 | |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
13136 | |
echo "$as_me: creating $ac_file" >&6;}
|
|
10223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
10224 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
13137 | 10225 |
fi
|
|
10226 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
10227 |
case $configure_input in #(
|
|
10228 |
*\&* | *\|* | *\\* )
|
|
10229 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
10230 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
10231 |
*) ac_sed_conf_input=$configure_input;;
|
|
10232 |
esac
|
13138 | 10233 |
|
13139 | 10234 |
case $ac_tag in
|
13140 | |
*:-:* | *:-) cat >"$tmp/stdin";;
|
|
10235 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
|
10236 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
13141 | 10237 |
esac
|
13142 | 10238 |
;;
|
13143 | 10239 |
esac
|
|
13147 | 10243 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
13148 | 10244 |
X"$ac_file" : 'X\(//\)$' \| \
|
13149 | 10245 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
13150 | |
echo X"$ac_file" |
|
|
10246 |
$as_echo X"$ac_file" |
|
13151 | 10247 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
13152 | 10248 |
s//\1/
|
13153 | 10249 |
q
|
|
13165 | 10261 |
q
|
13166 | 10262 |
}
|
13167 | 10263 |
s/.*/./; q'`
|
13168 | |
{ as_dir="$ac_dir"
|
13169 | |
case $as_dir in #(
|
13170 | |
-*) as_dir=./$as_dir;;
|
13171 | |
esac
|
13172 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
13173 | |
as_dirs=
|
13174 | |
while :; do
|
13175 | |
case $as_dir in #(
|
13176 | |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
13177 | |
*) as_qdir=$as_dir;;
|
13178 | |
esac
|
13179 | |
as_dirs="'$as_qdir' $as_dirs"
|
13180 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
13181 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
13182 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
13183 | |
X"$as_dir" : 'X\(//\)$' \| \
|
13184 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
13185 | |
echo X"$as_dir" |
|
13186 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
13187 | |
s//\1/
|
13188 | |
q
|
13189 | |
}
|
13190 | |
/^X\(\/\/\)[^/].*/{
|
13191 | |
s//\1/
|
13192 | |
q
|
13193 | |
}
|
13194 | |
/^X\(\/\/\)$/{
|
13195 | |
s//\1/
|
13196 | |
q
|
13197 | |
}
|
13198 | |
/^X\(\/\).*/{
|
13199 | |
s//\1/
|
13200 | |
q
|
13201 | |
}
|
13202 | |
s/.*/./; q'`
|
13203 | |
test -d "$as_dir" && break
|
13204 | |
done
|
13205 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
13206 | |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
13207 | |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
13208 | |
{ (exit 1); exit 1; }; }; }
|
|
10264 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
13209 | 10265 |
ac_builddir=.
|
13210 | 10266 |
|
13211 | 10267 |
case "$ac_dir" in
|
13212 | 10268 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
13213 | 10269 |
*)
|
13214 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
10270 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
13215 | 10271 |
# A ".." for each directory in $ac_dir_suffix.
|
13216 | |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
10272 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
13217 | 10273 |
case $ac_top_builddir_sub in
|
13218 | 10274 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
13219 | 10275 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
13253 | 10309 |
esac
|
13254 | 10310 |
_ACEOF
|
13255 | 10311 |
|
13256 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
10312 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
13257 | 10313 |
# If the template does not know about datarootdir, expand it.
|
13258 | 10314 |
# FIXME: This hack should be removed a few years after 2.60.
|
13259 | 10315 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
13260 | |
|
13261 | |
case `sed -n '/datarootdir/ {
|
|
10316 |
ac_sed_dataroot='
|
|
10317 |
/datarootdir/ {
|
13262 | 10318 |
p
|
13263 | 10319 |
q
|
13264 | 10320 |
}
|
|
13266 | 10322 |
/@docdir@/p
|
13267 | 10323 |
/@infodir@/p
|
13268 | 10324 |
/@localedir@/p
|
13269 | |
/@mandir@/p
|
13270 | |
' $ac_file_inputs` in
|
|
10325 |
/@mandir@/p'
|
|
10326 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
13271 | 10327 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
13272 | 10328 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
13273 | |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
13274 | |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
13275 | |
_ACEOF
|
13276 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
10329 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
10330 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
10331 |
_ACEOF
|
|
10332 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
13277 | 10333 |
ac_datarootdir_hack='
|
13278 | 10334 |
s&@datadir@&$datadir&g
|
13279 | 10335 |
s&@docdir@&$docdir&g
|
13280 | 10336 |
s&@infodir@&$infodir&g
|
13281 | 10337 |
s&@localedir@&$localedir&g
|
13282 | 10338 |
s&@mandir@&$mandir&g
|
13283 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
10339 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
13284 | 10340 |
esac
|
13285 | 10341 |
_ACEOF
|
13286 | 10342 |
|
13287 | 10343 |
# Neutralize VPATH when `$srcdir' = `.'.
|
13288 | 10344 |
# Shell code in configure.ac might set extrasub.
|
13289 | 10345 |
# FIXME: do we really want to maintain this feature?
|
13290 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
13291 | |
sed "$ac_vpsub
|
|
10346 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
10347 |
ac_sed_extra="$ac_vpsub
|
13292 | 10348 |
$extrasub
|
13293 | 10349 |
_ACEOF
|
13294 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
10350 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
13295 | 10351 |
:t
|
13296 | 10352 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
13297 | |
s&@configure_input@&$configure_input&;t t
|
|
10353 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
13298 | 10354 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
10355 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
13299 | 10356 |
s&@srcdir@&$ac_srcdir&;t t
|
13300 | 10357 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
13301 | 10358 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
13305 | 10362 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
13306 | 10363 |
s&@INSTALL@&$ac_INSTALL&;t t
|
13307 | 10364 |
$ac_datarootdir_hack
|
13308 | |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
|
|
10365 |
"
|
|
10366 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
|
10367 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
13309 | 10368 |
|
13310 | 10369 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
13311 | 10370 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
13312 | 10371 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
13313 | |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
10372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
13314 | 10373 |
which seems to be undefined. Please make sure it is defined." >&5
|
13315 | |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
10374 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
13316 | 10375 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
13317 | 10376 |
|
13318 | 10377 |
rm -f "$tmp/stdin"
|
13319 | 10378 |
case $ac_file in
|
13320 | |
-) cat "$tmp/out"; rm -f "$tmp/out";;
|
13321 | |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
13322 | |
esac
|
|
10379 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
|
10380 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
|
10381 |
esac \
|
|
10382 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
13323 | 10383 |
;;
|
13324 | 10384 |
:H)
|
13325 | 10385 |
#
|
13326 | 10386 |
# CONFIG_HEADER
|
13327 | 10387 |
#
|
13328 | |
_ACEOF
|
13329 | |
|
13330 | |
# Transform confdefs.h into a sed script `conftest.defines', that
|
13331 | |
# substitutes the proper values into config.h.in to produce config.h.
|
13332 | |
rm -f conftest.defines conftest.tail
|
13333 | |
# First, append a space to every undef/define line, to ease matching.
|
13334 | |
echo 's/$/ /' >conftest.defines
|
13335 | |
# Then, protect against being on the right side of a sed subst, or in
|
13336 | |
# an unquoted here document, in config.status. If some macros were
|
13337 | |
# called several times there might be several #defines for the same
|
13338 | |
# symbol, which is useless. But do not sort them, since the last
|
13339 | |
# AC_DEFINE must be honored.
|
13340 | |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
13341 | |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
13342 | |
# NAME is the cpp macro being defined, VALUE is the value it is being given.
|
13343 | |
# PARAMS is the parameter list in the macro definition--in most cases, it's
|
13344 | |
# just an empty string.
|
13345 | |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
13346 | |
ac_dB='\\)[ (].*,\\1define\\2'
|
13347 | |
ac_dC=' '
|
13348 | |
ac_dD=' ,'
|
13349 | |
|
13350 | |
uniq confdefs.h |
|
13351 | |
sed -n '
|
13352 | |
t rset
|
13353 | |
:rset
|
13354 | |
s/^[ ]*#[ ]*define[ ][ ]*//
|
13355 | |
t ok
|
13356 | |
d
|
13357 | |
:ok
|
13358 | |
s/[\\&,]/\\&/g
|
13359 | |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
13360 | |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
13361 | |
' >>conftest.defines
|
13362 | |
|
13363 | |
# Remove the space that was appended to ease matching.
|
13364 | |
# Then replace #undef with comments. This is necessary, for
|
13365 | |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
13366 | |
# on some systems where configure will not decide to define it.
|
13367 | |
# (The regexp can be short, since the line contains either #define or #undef.)
|
13368 | |
echo 's/ $//
|
13369 | |
s,^[ #]*u.*,/* & */,' >>conftest.defines
|
13370 | |
|
13371 | |
# Break up conftest.defines:
|
13372 | |
ac_max_sed_lines=50
|
13373 | |
|
13374 | |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
13375 | |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
13376 | |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
13377 | |
# et cetera.
|
13378 | |
ac_in='$ac_file_inputs'
|
13379 | |
ac_out='"$tmp/out1"'
|
13380 | |
ac_nxt='"$tmp/out2"'
|
13381 | |
|
13382 | |
while :
|
13383 | |
do
|
13384 | |
# Write a here document:
|
13385 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
13386 | |
# First, check the format of the line:
|
13387 | |
cat >"\$tmp/defines.sed" <<\\CEOF
|
13388 | |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
13389 | |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
13390 | |
b
|
13391 | |
:def
|
13392 | |
_ACEOF
|
13393 | |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
13394 | |
echo 'CEOF
|
13395 | |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
13396 | |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
13397 | |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
13398 | |
grep . conftest.tail >/dev/null || break
|
13399 | |
rm -f conftest.defines
|
13400 | |
mv conftest.tail conftest.defines
|
13401 | |
done
|
13402 | |
rm -f conftest.defines conftest.tail
|
13403 | |
|
13404 | |
echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
13405 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
13406 | 10388 |
if test x"$ac_file" != x-; then
|
13407 | |
echo "/* $configure_input */" >"$tmp/config.h"
|
13408 | |
cat "$ac_result" >>"$tmp/config.h"
|
13409 | |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
13410 | |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
13411 | |
echo "$as_me: $ac_file is unchanged" >&6;}
|
|
10389 |
{
|
|
10390 |
$as_echo "/* $configure_input */" \
|
|
10391 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
|
10392 |
} >"$tmp/config.h" \
|
|
10393 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
10394 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
|
10395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
10396 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
13412 | 10397 |
else
|
13413 | |
rm -f $ac_file
|
13414 | |
mv "$tmp/config.h" $ac_file
|
|
10398 |
rm -f "$ac_file"
|
|
10399 |
mv "$tmp/config.h" "$ac_file" \
|
|
10400 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
13415 | 10401 |
fi
|
13416 | 10402 |
else
|
13417 | |
echo "/* $configure_input */"
|
13418 | |
cat "$ac_result"
|
13419 | |
fi
|
13420 | |
rm -f "$tmp/out12"
|
13421 | |
# Compute $ac_file's index in $config_headers.
|
|
10403 |
$as_echo "/* $configure_input */" \
|
|
10404 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
|
10405 |
|| as_fn_error "could not create -" "$LINENO" 5
|
|
10406 |
fi
|
|
10407 |
# Compute "$ac_file"'s index in $config_headers.
|
13422 | 10408 |
_am_stamp_count=1
|
13423 | 10409 |
for _am_header in $config_headers :; do
|
13424 | 10410 |
case $_am_header in
|
13425 | |
$ac_file | $ac_file:* )
|
|
10411 |
"$ac_file" | "$ac_file":* )
|
13426 | 10412 |
break ;;
|
13427 | 10413 |
* )
|
13428 | 10414 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
13429 | 10415 |
esac
|
13430 | 10416 |
done
|
13431 | |
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
|
13432 | |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
13433 | |
X$ac_file : 'X\(//\)[^/]' \| \
|
13434 | |
X$ac_file : 'X\(//\)$' \| \
|
13435 | |
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
|
13436 | |
echo X$ac_file |
|
|
10417 |
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
|
|
10418 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
10419 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
10420 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
10421 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
10422 |
$as_echo X"$ac_file" |
|
13437 | 10423 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
13438 | 10424 |
s//\1/
|
13439 | 10425 |
q
|
|
13453 | 10439 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
13454 | 10440 |
;;
|
13455 | 10441 |
|
13456 | |
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
13457 | |
echo "$as_me: executing $ac_file commands" >&6;}
|
|
10442 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
10443 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
13458 | 10444 |
;;
|
13459 | 10445 |
esac
|
13460 | 10446 |
|
|
13475 | 10461 |
X"$mf" : 'X\(//\)[^/]' \| \
|
13476 | 10462 |
X"$mf" : 'X\(//\)$' \| \
|
13477 | 10463 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
13478 | |
echo X"$mf" |
|
|
10464 |
$as_echo X"$mf" |
|
13479 | 10465 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
13480 | 10466 |
s//\1/
|
13481 | 10467 |
q
|
|
13519 | 10505 |
X"$file" : 'X\(//\)[^/]' \| \
|
13520 | 10506 |
X"$file" : 'X\(//\)$' \| \
|
13521 | 10507 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
13522 | |
echo X"$file" |
|
|
10508 |
$as_echo X"$file" |
|
13523 | 10509 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
13524 | 10510 |
s//\1/
|
13525 | 10511 |
q
|
|
13537 | 10523 |
q
|
13538 | 10524 |
}
|
13539 | 10525 |
s/.*/./; q'`
|
13540 | |
{ as_dir=$dirpart/$fdir
|
13541 | |
case $as_dir in #(
|
13542 | |
-*) as_dir=./$as_dir;;
|
13543 | |
esac
|
13544 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
13545 | |
as_dirs=
|
13546 | |
while :; do
|
13547 | |
case $as_dir in #(
|
13548 | |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
13549 | |
*) as_qdir=$as_dir;;
|
13550 | |
esac
|
13551 | |
as_dirs="'$as_qdir' $as_dirs"
|
13552 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
13553 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
13554 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
13555 | |
X"$as_dir" : 'X\(//\)$' \| \
|
13556 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
13557 | |
echo X"$as_dir" |
|
13558 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
13559 | |
s//\1/
|
13560 | |
q
|
13561 | |
}
|
13562 | |
/^X\(\/\/\)[^/].*/{
|
13563 | |
s//\1/
|
13564 | |
q
|
13565 | |
}
|
13566 | |
/^X\(\/\/\)$/{
|
13567 | |
s//\1/
|
13568 | |
q
|
13569 | |
}
|
13570 | |
/^X\(\/\).*/{
|
13571 | |
s//\1/
|
13572 | |
q
|
13573 | |
}
|
13574 | |
s/.*/./; q'`
|
13575 | |
test -d "$as_dir" && break
|
13576 | |
done
|
13577 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
13578 | |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
13579 | |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
13580 | |
{ (exit 1); exit 1; }; }; }
|
|
10526 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
13581 | 10527 |
# echo "creating $dirpart/$file"
|
13582 | 10528 |
echo '# dummy' > "$dirpart/$file"
|
13583 | 10529 |
done
|
|
13697 | 10643 |
done # for ac_tag
|
13698 | 10644 |
|
13699 | 10645 |
|
13700 | |
{ (exit 0); exit 0; }
|
13701 | |
_ACEOF
|
13702 | |
chmod +x $CONFIG_STATUS
|
|
10646 |
as_fn_exit 0
|
|
10647 |
_ACEOF
|
13703 | 10648 |
ac_clean_files=$ac_clean_files_save
|
|
10649 |
|
|
10650 |
test $ac_write_fail = 0 ||
|
|
10651 |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
13704 | 10652 |
|
13705 | 10653 |
|
13706 | 10654 |
# configure is writing to config.log, and then calls config.status.
|
|
13721 | 10669 |
exec 5>>config.log
|
13722 | 10670 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
13723 | 10671 |
# would make configure fail if this is the last instruction.
|
13724 | |
$ac_cs_success || { (exit 1); exit 1; }
|
13725 | |
fi
|
13726 | |
|
|
10672 |
$ac_cs_success || as_fn_exit $?
|
|
10673 |
fi
|
|
10674 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
10675 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
10676 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
10677 |
fi
|
|
10678 |
|