0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.65 for gtkwave 3.3.16.
|
|
2 |
# Generated by GNU Autoconf 2.59 for gtkwave 3.3.16.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <bybell@nc.rr.com>.
|
5 | 5 |
#
|
6 | |
#
|
7 | |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
8 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
9 | |
# Inc.
|
10 | |
#
|
11 | |
#
|
|
6 |
# Copyright (C) 2003 Free Software Foundation, Inc.
|
12 | 7 |
# This configure script is free software; the Free Software Foundation
|
13 | 8 |
# gives unlimited permission to copy, distribute and modify it.
|
14 | |
## -------------------- ##
|
15 | |
## M4sh Initialization. ##
|
16 | |
## -------------------- ##
|
17 | |
|
18 | |
# Be more Bourne compatible
|
19 | |
DUALCASE=1; export DUALCASE # for MKS sh
|
20 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
9 |
## --------------------- ##
|
|
10 |
## M4sh Initialization. ##
|
|
11 |
## --------------------- ##
|
|
12 |
|
|
13 |
# Be Bourne compatible
|
|
14 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
21 | 15 |
emulate sh
|
22 | 16 |
NULLCMD=:
|
23 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
17 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
24 | 18 |
# is contrary to our usage. Disable this feature.
|
25 | 19 |
alias -g '${1+"$@"}'='"$@"'
|
26 | |
setopt NO_GLOB_SUBST
|
27 | |
else
|
28 | |
case `(set -o) 2>/dev/null` in #(
|
29 | |
*posix*) :
|
30 | |
set -o posix ;; #(
|
31 | |
*) :
|
32 | |
;;
|
33 | |
esac
|
34 | |
fi
|
35 | |
|
36 | |
|
37 | |
as_nl='
|
38 | |
'
|
39 | |
export as_nl
|
40 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
41 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
42 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
43 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
44 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
45 | |
# but without wasting forks for bash or zsh.
|
46 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
47 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
48 | |
as_echo='print -r --'
|
49 | |
as_echo_n='print -rn --'
|
50 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
51 | |
as_echo='printf %s\n'
|
52 | |
as_echo_n='printf %s'
|
53 | |
else
|
54 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
55 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
56 | |
as_echo_n='/usr/ucb/echo -n'
|
57 | |
else
|
58 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
59 | |
as_echo_n_body='eval
|
60 | |
arg=$1;
|
61 | |
case $arg in #(
|
62 | |
*"$as_nl"*)
|
63 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
64 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
65 | |
esac;
|
66 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
67 | |
'
|
68 | |
export as_echo_n_body
|
69 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
70 | |
fi
|
71 | |
export as_echo_body
|
72 | |
as_echo='sh -c $as_echo_body as_echo'
|
73 | |
fi
|
74 | |
|
75 | |
# The user is always right.
|
76 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
77 | |
PATH_SEPARATOR=:
|
78 | |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
79 | |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
80 | |
PATH_SEPARATOR=';'
|
81 | |
}
|
82 | |
fi
|
83 | |
|
84 | |
|
85 | |
# IFS
|
86 | |
# We need space, tab and new line, in precisely that order. Quoting is
|
87 | |
# there to prevent editors from complaining about space-tab.
|
88 | |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
89 | |
# splitting by setting IFS to empty value.)
|
90 | |
IFS=" "" $as_nl"
|
91 | |
|
92 | |
# Find who we are. Look in the path if we contain no directory separator.
|
93 | |
case $0 in #((
|
94 | |
*[\\/]* ) as_myself=$0 ;;
|
95 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
96 | |
for as_dir in $PATH
|
97 | |
do
|
98 | |
IFS=$as_save_IFS
|
99 | |
test -z "$as_dir" && as_dir=.
|
100 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
101 | |
done
|
102 | |
IFS=$as_save_IFS
|
103 | |
|
104 | |
;;
|
105 | |
esac
|
106 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
107 | |
# in which case we are not to be found in the path.
|
108 | |
if test "x$as_myself" = x; then
|
109 | |
as_myself=$0
|
110 | |
fi
|
111 | |
if test ! -f "$as_myself"; then
|
112 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
113 | |
exit 1
|
114 | |
fi
|
115 | |
|
116 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
117 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
118 | |
# suppresses any "Segmentation fault" message there. '((' could
|
119 | |
# trigger a bug in pdksh 5.2.14.
|
120 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
121 | |
do eval test x\${$as_var+set} = xset \
|
122 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
123 | |
done
|
|
20 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
21 |
set -o posix
|
|
22 |
fi
|
|
23 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
24 |
|
|
25 |
# Support unset when possible.
|
|
26 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
27 |
as_unset=unset
|
|
28 |
else
|
|
29 |
as_unset=false
|
|
30 |
fi
|
|
31 |
|
|
32 |
|
|
33 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
34 |
$as_unset ENV MAIL MAILPATH
|
124 | 35 |
PS1='$ '
|
125 | 36 |
PS2='> '
|
126 | 37 |
PS4='+ '
|
127 | 38 |
|
128 | 39 |
# NLS nuisances.
|
129 | |
LC_ALL=C
|
130 | |
export LC_ALL
|
131 | |
LANGUAGE=C
|
132 | |
export LANGUAGE
|
133 | |
|
134 | |
# CDPATH.
|
135 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
136 | |
|
137 | |
if test "x$CONFIG_SHELL" = x; then
|
138 | |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
139 | |
emulate sh
|
140 | |
NULLCMD=:
|
141 | |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
142 | |
# is contrary to our usage. Disable this feature.
|
143 | |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
144 | |
setopt NO_GLOB_SUBST
|
145 | |
else
|
146 | |
case \`(set -o) 2>/dev/null\` in #(
|
147 | |
*posix*) :
|
148 | |
set -o posix ;; #(
|
149 | |
*) :
|
150 | |
;;
|
151 | |
esac
|
152 | |
fi
|
153 | |
"
|
154 | |
as_required="as_fn_return () { (exit \$1); }
|
155 | |
as_fn_success () { as_fn_return 0; }
|
156 | |
as_fn_failure () { as_fn_return 1; }
|
157 | |
as_fn_ret_success () { return 0; }
|
158 | |
as_fn_ret_failure () { return 1; }
|
159 | |
|
160 | |
exitcode=0
|
161 | |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
162 | |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
163 | |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
164 | |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
165 | |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
166 | |
|
167 | |
else
|
168 | |
exitcode=1; echo positional parameters were not saved.
|
169 | |
fi
|
170 | |
test x\$exitcode = x0 || exit 1"
|
171 | |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
172 | |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
173 | |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
174 | |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
175 | |
test \$(( 1 + 1 )) = 2 || exit 1"
|
176 | |
if (eval "$as_required") 2>/dev/null; then :
|
177 | |
as_have_required=yes
|
178 | |
else
|
179 | |
as_have_required=no
|
180 | |
fi
|
181 | |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
182 | |
|
183 | |
else
|
184 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
185 | |
as_found=false
|
186 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
40 |
for as_var in \
|
|
41 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
42 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
43 |
LC_TELEPHONE LC_TIME
|
187 | 44 |
do
|
188 | |
IFS=$as_save_IFS
|
189 | |
test -z "$as_dir" && as_dir=.
|
190 | |
as_found=:
|
191 | |
case $as_dir in #(
|
192 | |
/*)
|
193 | |
for as_base in sh bash ksh sh5; do
|
194 | |
# Try only shells that exist, to save several forks.
|
195 | |
as_shell=$as_dir/$as_base
|
196 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
197 | |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
198 | |
CONFIG_SHELL=$as_shell as_have_required=yes
|
199 | |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
200 | |
break 2
|
201 | |
fi
|
202 | |
fi
|
203 | |
done;;
|
204 | |
esac
|
205 | |
as_found=false
|
|
45 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
46 |
eval $as_var=C; export $as_var
|
|
47 |
else
|
|
48 |
$as_unset $as_var
|
|
49 |
fi
|
206 | 50 |
done
|
207 | |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
208 | |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
209 | |
CONFIG_SHELL=$SHELL as_have_required=yes
|
210 | |
fi; }
|
211 | |
IFS=$as_save_IFS
|
212 | |
|
213 | |
|
214 | |
if test "x$CONFIG_SHELL" != x; then :
|
215 | |
# We cannot yet assume a decent shell, so we have to provide a
|
216 | |
# neutralization value for shells without unset; and this also
|
217 | |
# works around shells that cannot unset nonexistent variables.
|
218 | |
BASH_ENV=/dev/null
|
219 | |
ENV=/dev/null
|
220 | |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
221 | |
export CONFIG_SHELL
|
222 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
223 | |
fi
|
224 | |
|
225 | |
if test x$as_have_required = xno; then :
|
226 | |
$as_echo "$0: This script requires a shell more modern than all"
|
227 | |
$as_echo "$0: the shells that I found on your system."
|
228 | |
if test x${ZSH_VERSION+set} = xset ; then
|
229 | |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
230 | |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
231 | |
else
|
232 | |
$as_echo "$0: Please tell bug-autoconf@gnu.org and bybell@nc.rr.com
|
233 | |
$0: about your system, including any error possibly output
|
234 | |
$0: before this message. Then install a modern shell, or
|
235 | |
$0: manually run the script under such a shell if you do
|
236 | |
$0: have one."
|
237 | |
fi
|
238 | |
exit 1
|
239 | |
fi
|
240 | |
fi
|
241 | |
fi
|
242 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
243 | |
export SHELL
|
244 | |
# Unset more variables known to interfere with behavior of common tools.
|
245 | |
CLICOLOR_FORCE= GREP_OPTIONS=
|
246 | |
unset CLICOLOR_FORCE GREP_OPTIONS
|
247 | |
|
248 | |
## --------------------- ##
|
249 | |
## M4sh Shell Functions. ##
|
250 | |
## --------------------- ##
|
251 | |
# as_fn_unset VAR
|
252 | |
# ---------------
|
253 | |
# Portably unset VAR.
|
254 | |
as_fn_unset ()
|
255 | |
{
|
256 | |
{ eval $1=; unset $1;}
|
257 | |
}
|
258 | |
as_unset=as_fn_unset
|
259 | |
|
260 | |
# as_fn_set_status STATUS
|
261 | |
# -----------------------
|
262 | |
# Set $? to STATUS, without forking.
|
263 | |
as_fn_set_status ()
|
264 | |
{
|
265 | |
return $1
|
266 | |
} # as_fn_set_status
|
267 | |
|
268 | |
# as_fn_exit STATUS
|
269 | |
# -----------------
|
270 | |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
271 | |
as_fn_exit ()
|
272 | |
{
|
273 | |
set +e
|
274 | |
as_fn_set_status $1
|
275 | |
exit $1
|
276 | |
} # as_fn_exit
|
277 | |
|
278 | |
# as_fn_mkdir_p
|
279 | |
# -------------
|
280 | |
# Create "$as_dir" as a directory, including parents if necessary.
|
281 | |
as_fn_mkdir_p ()
|
282 | |
{
|
283 | |
|
284 | |
case $as_dir in #(
|
285 | |
-*) as_dir=./$as_dir;;
|
286 | |
esac
|
287 | |
test -d "$as_dir" || eval $as_mkdir_p || {
|
288 | |
as_dirs=
|
289 | |
while :; do
|
290 | |
case $as_dir in #(
|
291 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
292 | |
*) as_qdir=$as_dir;;
|
293 | |
esac
|
294 | |
as_dirs="'$as_qdir' $as_dirs"
|
295 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
296 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
297 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
298 | |
X"$as_dir" : 'X\(//\)$' \| \
|
299 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
300 | |
$as_echo X"$as_dir" |
|
301 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
302 | |
s//\1/
|
303 | |
q
|
304 | |
}
|
305 | |
/^X\(\/\/\)[^/].*/{
|
306 | |
s//\1/
|
307 | |
q
|
308 | |
}
|
309 | |
/^X\(\/\/\)$/{
|
310 | |
s//\1/
|
311 | |
q
|
312 | |
}
|
313 | |
/^X\(\/\).*/{
|
314 | |
s//\1/
|
315 | |
q
|
316 | |
}
|
317 | |
s/.*/./; q'`
|
318 | |
test -d "$as_dir" && break
|
319 | |
done
|
320 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
321 | |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
322 | |
|
323 | |
|
324 | |
} # as_fn_mkdir_p
|
325 | |
# as_fn_append VAR VALUE
|
326 | |
# ----------------------
|
327 | |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
328 | |
# advantage of any shell optimizations that allow amortized linear growth over
|
329 | |
# repeated appends, instead of the typical quadratic growth present in naive
|
330 | |
# implementations.
|
331 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
332 | |
eval 'as_fn_append ()
|
333 | |
{
|
334 | |
eval $1+=\$2
|
335 | |
}'
|
336 | |
else
|
337 | |
as_fn_append ()
|
338 | |
{
|
339 | |
eval $1=\$$1\$2
|
340 | |
}
|
341 | |
fi # as_fn_append
|
342 | |
|
343 | |
# as_fn_arith ARG...
|
344 | |
# ------------------
|
345 | |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
346 | |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
347 | |
# must be portable across $(()) and expr.
|
348 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
349 | |
eval 'as_fn_arith ()
|
350 | |
{
|
351 | |
as_val=$(( $* ))
|
352 | |
}'
|
353 | |
else
|
354 | |
as_fn_arith ()
|
355 | |
{
|
356 | |
as_val=`expr "$@" || test $? -eq 1`
|
357 | |
}
|
358 | |
fi # as_fn_arith
|
359 | |
|
360 | |
|
361 | |
# as_fn_error ERROR [LINENO LOG_FD]
|
362 | |
# ---------------------------------
|
363 | |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
364 | |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
365 | |
# script with status $?, using 1 if that was 0.
|
366 | |
as_fn_error ()
|
367 | |
{
|
368 | |
as_status=$?; test $as_status -eq 0 && as_status=1
|
369 | |
if test "$3"; then
|
370 | |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
371 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
372 | |
fi
|
373 | |
$as_echo "$as_me: error: $1" >&2
|
374 | |
as_fn_exit $as_status
|
375 | |
} # as_fn_error
|
376 | |
|
377 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
378 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
51 |
|
|
52 |
# Required to use basename.
|
|
53 |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
379 | 54 |
as_expr=expr
|
380 | 55 |
else
|
381 | 56 |
as_expr=false
|
382 | 57 |
fi
|
383 | 58 |
|
384 | |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
59 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
385 | 60 |
as_basename=basename
|
386 | 61 |
else
|
387 | 62 |
as_basename=false
|
388 | 63 |
fi
|
389 | 64 |
|
390 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
391 | |
as_dirname=dirname
|
392 | |
else
|
393 | |
as_dirname=false
|
394 | |
fi
|
395 | |
|
396 | |
as_me=`$as_basename -- "$0" ||
|
|
65 |
|
|
66 |
# Name of the executable.
|
|
67 |
as_me=`$as_basename "$0" ||
|
397 | 68 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
398 | 69 |
X"$0" : 'X\(//\)$' \| \
|
399 | |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
400 | |
$as_echo X/"$0" |
|
401 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
402 | |
s//\1/
|
403 | |
q
|
404 | |
}
|
405 | |
/^X\/\(\/\/\)$/{
|
406 | |
s//\1/
|
407 | |
q
|
408 | |
}
|
409 | |
/^X\/\(\/\).*/{
|
410 | |
s//\1/
|
411 | |
q
|
412 | |
}
|
413 | |
s/.*/./; q'`
|
414 | |
|
|
70 |
X"$0" : 'X\(/\)$' \| \
|
|
71 |
. : '\(.\)' 2>/dev/null ||
|
|
72 |
echo X/"$0" |
|
|
73 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
|
74 |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
|
75 |
/^X\/\(\/\).*/{ s//\1/; q; }
|
|
76 |
s/.*/./; q'`
|
|
77 |
|
|
78 |
|
|
79 |
# PATH needs CR, and LINENO needs CR and PATH.
|
415 | 80 |
# Avoid depending upon Character Ranges.
|
416 | 81 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
417 | 82 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
419 | 84 |
as_cr_digits='0123456789'
|
420 | 85 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
421 | 86 |
|
422 | |
|
423 | |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
424 | |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
425 | |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
426 | |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
427 | |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
428 | |
sed -n '
|
429 | |
p
|
430 | |
/[$]LINENO/=
|
431 | |
' <$as_myself |
|
|
87 |
# The user is always right.
|
|
88 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
89 |
echo "#! /bin/sh" >conf$$.sh
|
|
90 |
echo "exit 0" >>conf$$.sh
|
|
91 |
chmod +x conf$$.sh
|
|
92 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
93 |
PATH_SEPARATOR=';'
|
|
94 |
else
|
|
95 |
PATH_SEPARATOR=:
|
|
96 |
fi
|
|
97 |
rm -f conf$$.sh
|
|
98 |
fi
|
|
99 |
|
|
100 |
|
|
101 |
as_lineno_1=$LINENO
|
|
102 |
as_lineno_2=$LINENO
|
|
103 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
104 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
105 |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
|
106 |
# Find who we are. Look in the path if we contain no path at all
|
|
107 |
# relative or not.
|
|
108 |
case $0 in
|
|
109 |
*[\\/]* ) as_myself=$0 ;;
|
|
110 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
111 |
for as_dir in $PATH
|
|
112 |
do
|
|
113 |
IFS=$as_save_IFS
|
|
114 |
test -z "$as_dir" && as_dir=.
|
|
115 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
116 |
done
|
|
117 |
|
|
118 |
;;
|
|
119 |
esac
|
|
120 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
121 |
# in which case we are not to be found in the path.
|
|
122 |
if test "x$as_myself" = x; then
|
|
123 |
as_myself=$0
|
|
124 |
fi
|
|
125 |
if test ! -f "$as_myself"; then
|
|
126 |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
|
127 |
{ (exit 1); exit 1; }; }
|
|
128 |
fi
|
|
129 |
case $CONFIG_SHELL in
|
|
130 |
'')
|
|
131 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
132 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
133 |
do
|
|
134 |
IFS=$as_save_IFS
|
|
135 |
test -z "$as_dir" && as_dir=.
|
|
136 |
for as_base in sh bash ksh sh5; do
|
|
137 |
case $as_dir in
|
|
138 |
/*)
|
|
139 |
if ("$as_dir/$as_base" -c '
|
|
140 |
as_lineno_1=$LINENO
|
|
141 |
as_lineno_2=$LINENO
|
|
142 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
143 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
144 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
|
145 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
|
146 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
|
147 |
CONFIG_SHELL=$as_dir/$as_base
|
|
148 |
export CONFIG_SHELL
|
|
149 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
|
150 |
fi;;
|
|
151 |
esac
|
|
152 |
done
|
|
153 |
done
|
|
154 |
;;
|
|
155 |
esac
|
|
156 |
|
|
157 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
158 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
159 |
# line-number line before each line; the second 'sed' does the real
|
|
160 |
# work. The second script uses 'N' to pair each line-number line
|
|
161 |
# with the numbered line, and appends trailing '-' during
|
|
162 |
# substitution so that $LINENO is not a special case at line end.
|
|
163 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
164 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
|
165 |
sed '=' <$as_myself |
|
432 | 166 |
sed '
|
433 | |
s/[$]LINENO.*/&-/
|
434 | |
t lineno
|
435 | |
b
|
436 | |
:lineno
|
437 | 167 |
N
|
438 | |
:loop
|
439 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
|
168 |
s,$,-,
|
|
169 |
: loop
|
|
170 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
440 | 171 |
t loop
|
441 | |
s/-\n.*//
|
|
172 |
s,-$,,
|
|
173 |
s,^['$as_cr_digits']*\n,,
|
442 | 174 |
' >$as_me.lineno &&
|
443 | |
chmod +x "$as_me.lineno" ||
|
444 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|
175 |
chmod +x $as_me.lineno ||
|
|
176 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
|
177 |
{ (exit 1); exit 1; }; }
|
445 | 178 |
|
446 | 179 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
447 | 180 |
# (the dirname of $[0] is not the place where we might find the
|
448 | |
# original and so on. Autoconf is especially sensitive to this).
|
449 | |
. "./$as_me.lineno"
|
|
181 |
# original and so on. Autoconf is especially sensible to this).
|
|
182 |
. ./$as_me.lineno
|
450 | 183 |
# Exit status is that of the last command.
|
451 | 184 |
exit
|
452 | 185 |
}
|
453 | 186 |
|
454 | |
ECHO_C= ECHO_N= ECHO_T=
|
455 | |
case `echo -n x` in #(((((
|
456 | |
-n*)
|
457 | |
case `echo 'xy\c'` in
|
458 | |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
459 | |
xy) ECHO_C='\c';;
|
460 | |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
461 | |
ECHO_T=' ';;
|
462 | |
esac;;
|
463 | |
*)
|
464 | |
ECHO_N='-n';;
|
|
187 |
|
|
188 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
|
189 |
*c*,-n*) ECHO_N= ECHO_C='
|
|
190 |
' ECHO_T=' ' ;;
|
|
191 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
|
192 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
465 | 193 |
esac
|
466 | 194 |
|
|
195 |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
196 |
as_expr=expr
|
|
197 |
else
|
|
198 |
as_expr=false
|
|
199 |
fi
|
|
200 |
|
467 | 201 |
rm -f conf$$ conf$$.exe conf$$.file
|
468 | |
if test -d conf$$.dir; then
|
469 | |
rm -f conf$$.dir/conf$$.file
|
470 | |
else
|
471 | |
rm -f conf$$.dir
|
472 | |
mkdir conf$$.dir 2>/dev/null
|
473 | |
fi
|
474 | |
if (echo >conf$$.file) 2>/dev/null; then
|
475 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
202 |
echo >conf$$.file
|
|
203 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
204 |
# We could just check for DJGPP; but this test a) works b) is more generic
|
|
205 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
|
206 |
if test -f conf$$.exe; then
|
|
207 |
# Don't use ln at all; we don't have any links
|
|
208 |
as_ln_s='cp -p'
|
|
209 |
else
|
476 | 210 |
as_ln_s='ln -s'
|
477 | |
# ... but there are two gotchas:
|
478 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
479 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
480 | |
# In both cases, we have to default to `cp -p'.
|
481 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
482 | |
as_ln_s='cp -p'
|
483 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
484 | |
as_ln_s=ln
|
485 | |
else
|
486 | |
as_ln_s='cp -p'
|
487 | 211 |
fi
|
|
212 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
213 |
as_ln_s=ln
|
488 | 214 |
else
|
489 | 215 |
as_ln_s='cp -p'
|
490 | 216 |
fi
|
491 | |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
492 | |
rmdir conf$$.dir 2>/dev/null
|
|
217 |
rm -f conf$$ conf$$.exe conf$$.file
|
493 | 218 |
|
494 | 219 |
if mkdir -p . 2>/dev/null; then
|
495 | |
as_mkdir_p='mkdir -p "$as_dir"'
|
|
220 |
as_mkdir_p=:
|
496 | 221 |
else
|
497 | 222 |
test -d ./-p && rmdir ./-p
|
498 | 223 |
as_mkdir_p=false
|
499 | 224 |
fi
|
500 | 225 |
|
501 | |
if test -x / >/dev/null 2>&1; then
|
502 | |
as_test_x='test -x'
|
503 | |
else
|
504 | |
if ls -dL / >/dev/null 2>&1; then
|
505 | |
as_ls_L_option=L
|
506 | |
else
|
507 | |
as_ls_L_option=
|
508 | |
fi
|
509 | |
as_test_x='
|
510 | |
eval sh -c '\''
|
511 | |
if test -d "$1"; then
|
512 | |
test -d "$1/.";
|
513 | |
else
|
514 | |
case $1 in #(
|
515 | |
-*)set "./$1";;
|
516 | |
esac;
|
517 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
518 | |
???[sx]*):;;*)false;;esac;fi
|
519 | |
'\'' sh
|
520 | |
'
|
521 | |
fi
|
522 | |
as_executable_p=$as_test_x
|
|
226 |
as_executable_p="test -f"
|
523 | 227 |
|
524 | 228 |
# Sed expression to map a string onto a valid CPP name.
|
525 | 229 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
528 | 232 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
529 | 233 |
|
530 | 234 |
|
531 | |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
532 | |
exec 6>&1
|
|
235 |
# IFS
|
|
236 |
# We need space, tab and new line, in precisely that order.
|
|
237 |
as_nl='
|
|
238 |
'
|
|
239 |
IFS=" $as_nl"
|
|
240 |
|
|
241 |
# CDPATH.
|
|
242 |
$as_unset CDPATH
|
|
243 |
|
533 | 244 |
|
534 | 245 |
# Name of the host.
|
535 | 246 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
536 | 247 |
# so uname gets run too.
|
537 | 248 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
538 | 249 |
|
|
250 |
exec 6>&1
|
|
251 |
|
539 | 252 |
#
|
540 | 253 |
# Initializations.
|
541 | 254 |
#
|
542 | 255 |
ac_default_prefix=/usr/local
|
543 | |
ac_clean_files=
|
544 | 256 |
ac_config_libobj_dir=.
|
545 | |
LIBOBJS=
|
546 | 257 |
cross_compiling=no
|
547 | 258 |
subdirs=
|
548 | 259 |
MFLAGS=
|
549 | 260 |
MAKEFLAGS=
|
|
261 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
262 |
|
|
263 |
# Maximum number of lines to put in a shell here document.
|
|
264 |
# This variable seems obsolete. It should probably be removed, and
|
|
265 |
# only ac_max_sed_lines should be used.
|
|
266 |
: ${ac_max_here_lines=38}
|
550 | 267 |
|
551 | 268 |
# Identity of this package.
|
552 | 269 |
PACKAGE_NAME='gtkwave'
|
|
554 | 271 |
PACKAGE_VERSION='3.3.16'
|
555 | 272 |
PACKAGE_STRING='gtkwave 3.3.16'
|
556 | 273 |
PACKAGE_BUGREPORT='bybell@nc.rr.com'
|
557 | |
PACKAGE_URL=''
|
558 | 274 |
|
559 | 275 |
ac_unique_file="src/vcd.c"
|
560 | 276 |
# Factoring default headers for most tests.
|
561 | 277 |
ac_includes_default="\
|
562 | 278 |
#include <stdio.h>
|
563 | |
#ifdef HAVE_SYS_TYPES_H
|
|
279 |
#if HAVE_SYS_TYPES_H
|
564 | 280 |
# include <sys/types.h>
|
565 | 281 |
#endif
|
566 | |
#ifdef HAVE_SYS_STAT_H
|
|
282 |
#if HAVE_SYS_STAT_H
|
567 | 283 |
# include <sys/stat.h>
|
568 | 284 |
#endif
|
569 | |
#ifdef STDC_HEADERS
|
|
285 |
#if STDC_HEADERS
|
570 | 286 |
# include <stdlib.h>
|
571 | 287 |
# include <stddef.h>
|
572 | 288 |
#else
|
573 | |
# ifdef HAVE_STDLIB_H
|
|
289 |
# if HAVE_STDLIB_H
|
574 | 290 |
# include <stdlib.h>
|
575 | 291 |
# endif
|
576 | 292 |
#endif
|
577 | |
#ifdef HAVE_STRING_H
|
578 | |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
|
293 |
#if HAVE_STRING_H
|
|
294 |
# if !STDC_HEADERS && HAVE_MEMORY_H
|
579 | 295 |
# include <memory.h>
|
580 | 296 |
# endif
|
581 | 297 |
# include <string.h>
|
582 | 298 |
#endif
|
583 | |
#ifdef HAVE_STRINGS_H
|
|
299 |
#if HAVE_STRINGS_H
|
584 | 300 |
# include <strings.h>
|
585 | 301 |
#endif
|
586 | |
#ifdef HAVE_INTTYPES_H
|
|
302 |
#if HAVE_INTTYPES_H
|
587 | 303 |
# include <inttypes.h>
|
|
304 |
#else
|
|
305 |
# if HAVE_STDINT_H
|
|
306 |
# include <stdint.h>
|
|
307 |
# endif
|
588 | 308 |
#endif
|
589 | |
#ifdef HAVE_STDINT_H
|
590 | |
# include <stdint.h>
|
591 | |
#endif
|
592 | |
#ifdef HAVE_UNISTD_H
|
|
309 |
#if HAVE_UNISTD_H
|
593 | 310 |
# include <unistd.h>
|
594 | 311 |
#endif"
|
595 | 312 |
|
596 | |
ac_header_list=
|
597 | |
ac_subst_vars='LTLIBOBJS
|
598 | |
TK_LDADD
|
599 | |
TCL_DEFADD
|
600 | |
TCL_LDADD
|
601 | |
POW_LIB
|
602 | |
LIBOBJS
|
603 | |
EGREP
|
604 | |
GREP
|
605 | |
CPP
|
606 | |
ALLOCA
|
607 | |
GTK_LIBS
|
608 | |
GTK_CFLAGS
|
609 | |
PKG_CONFIG_LIBDIR
|
610 | |
PKG_CONFIG_PATH
|
611 | |
PKG_CONFIG
|
612 | |
GTK_CONFIG
|
613 | |
LIBJUDY_CFLAGS
|
614 | |
LIBJUDY_LDADD
|
615 | |
FASTTREE_CFLAGS
|
616 | |
LIBXZ_CFLAGS
|
617 | |
LIBXZ_LDADD
|
618 | |
LIBBZ2_DIR
|
619 | |
LIBBZ2_LDADD
|
620 | |
LIBBZ2_CFLAGS
|
621 | |
LIBZ_DIR
|
622 | |
LIBZ_LDADD
|
623 | |
LIBZ_CFLAGS
|
624 | |
GPERF
|
625 | |
EXTLOAD_CFLAGS
|
626 | |
EXTDEBUG
|
627 | |
RANLIB
|
628 | |
LEXLIB
|
629 | |
LEX_OUTPUT_ROOT
|
630 | |
LEX
|
631 | |
am__fastdepCC_FALSE
|
632 | |
am__fastdepCC_TRUE
|
633 | |
CCDEPMODE
|
634 | |
AMDEPBACKSLASH
|
635 | |
AMDEP_FALSE
|
636 | |
AMDEP_TRUE
|
637 | |
am__quote
|
638 | |
am__include
|
639 | |
DEPDIR
|
640 | |
OBJEXT
|
641 | |
EXEEXT
|
642 | |
ac_ct_CC
|
643 | |
CPPFLAGS
|
644 | |
LDFLAGS
|
645 | |
CFLAGS
|
646 | |
CC
|
647 | |
AET2_LDADD
|
648 | |
AET2_CFLAGS
|
649 | |
TK_INCLUDE_SPEC
|
650 | |
TK_STUB_LIB_SPEC
|
651 | |
TK_STUB_LIB_FLAG
|
652 | |
TK_STUB_LIB_FILE
|
653 | |
TK_LIB_SPEC
|
654 | |
TK_LIB_FLAG
|
655 | |
TK_LIB_FILE
|
656 | |
TK_SRC_DIR
|
657 | |
TK_BIN_DIR
|
658 | |
TK_VERSION
|
659 | |
TCL_MINOR_VERSION
|
660 | |
TCL_MAJOR_VERSION
|
661 | |
TCL_INCLUDE_SPEC
|
662 | |
TCL_STUB_LIB_SPEC
|
663 | |
TCL_STUB_LIB_FLAG
|
664 | |
TCL_STUB_LIB_FILE
|
665 | |
TCL_LIB_SPEC
|
666 | |
TCL_LIB_FLAG
|
667 | |
TCL_LIB_FILE
|
668 | |
TCL_SRC_DIR
|
669 | |
TCL_BIN_DIR
|
670 | |
TCL_PATCH_LEVEL
|
671 | |
TCL_VERSION
|
672 | |
INLINE_ASM
|
673 | |
MAINT
|
674 | |
MAINTAINER_MODE_FALSE
|
675 | |
MAINTAINER_MODE_TRUE
|
676 | |
am__untar
|
677 | |
am__tar
|
678 | |
AMTAR
|
679 | |
am__leading_dot
|
680 | |
SET_MAKE
|
681 | |
AWK
|
682 | |
mkdir_p
|
683 | |
INSTALL_STRIP_PROGRAM
|
684 | |
STRIP
|
685 | |
install_sh
|
686 | |
MAKEINFO
|
687 | |
AUTOHEADER
|
688 | |
AUTOMAKE
|
689 | |
AUTOCONF
|
690 | |
ACLOCAL
|
691 | |
VERSION
|
692 | |
PACKAGE
|
693 | |
CYGPATH_W
|
694 | |
INSTALL_DATA
|
695 | |
INSTALL_SCRIPT
|
696 | |
INSTALL_PROGRAM
|
697 | |
target_alias
|
698 | |
host_alias
|
699 | |
build_alias
|
700 | |
LIBS
|
701 | |
ECHO_T
|
702 | |
ECHO_N
|
703 | |
ECHO_C
|
704 | |
DEFS
|
705 | |
mandir
|
706 | |
localedir
|
707 | |
libdir
|
708 | |
psdir
|
709 | |
pdfdir
|
710 | |
dvidir
|
711 | |
htmldir
|
712 | |
infodir
|
713 | |
docdir
|
714 | |
oldincludedir
|
715 | |
includedir
|
716 | |
localstatedir
|
717 | |
sharedstatedir
|
718 | |
sysconfdir
|
719 | |
datadir
|
720 | |
datarootdir
|
721 | |
libexecdir
|
722 | |
sbindir
|
723 | |
bindir
|
724 | |
program_transform_name
|
725 | |
prefix
|
726 | |
exec_prefix
|
727 | |
PACKAGE_URL
|
728 | |
PACKAGE_BUGREPORT
|
729 | |
PACKAGE_STRING
|
730 | |
PACKAGE_VERSION
|
731 | |
PACKAGE_TARNAME
|
732 | |
PACKAGE_NAME
|
733 | |
PATH_SEPARATOR
|
734 | |
SHELL'
|
|
313 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INLINE_ASM TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_INCLUDE_SPEC TCL_MAJOR_VERSION TCL_MINOR_VERSION TK_VERSION TK_BIN_DIR TK_SRC_DIR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_INCLUDE_SPEC AET2_CFLAGS AET2_LDADD CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LEX LEXLIB LEX_OUTPUT_ROOT RANLIB ac_ct_RANLIB EXTDEBUG EXTLOAD_CFLAGS GPERF LIBZ_CFLAGS LIBZ_LDADD LIBZ_DIR LIBBZ2_CFLAGS LIBBZ2_LDADD LIBBZ2_DIR LIBXZ_LDADD LIBXZ_CFLAGS FASTTREE_CFLAGS LIBJUDY_LDADD LIBJUDY_CFLAGS GTK_CONFIG PKG_CONFIG ac_pt_PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA CPP EGREP LIBOBJS POW_LIB TCL_LDADD TCL_DEFADD TK_LDADD LTLIBOBJS'
|
735 | 314 |
ac_subst_files=''
|
736 | |
ac_user_opts='
|
737 | |
enable_option_checking
|
738 | |
enable_maintainer_mode
|
739 | |
enable_inline_asm
|
740 | |
enable_tcl
|
741 | |
with_tcl
|
742 | |
with_tk
|
743 | |
enable_stubify
|
744 | |
enable_gtk1
|
745 | |
enable_fatlines
|
746 | |
enable_ae2
|
747 | |
enable_dependency_tracking
|
748 | |
enable_local_libz
|
749 | |
enable_local_libbz2
|
750 | |
enable_xz
|
751 | |
enable_fasttree
|
752 | |
enable_judy
|
753 | |
enable_largefile
|
754 | |
'
|
755 | |
ac_precious_vars='build_alias
|
756 | |
host_alias
|
757 | |
target_alias
|
758 | |
CC
|
759 | |
CFLAGS
|
760 | |
LDFLAGS
|
761 | |
LIBS
|
762 | |
CPPFLAGS
|
763 | |
PKG_CONFIG
|
764 | |
PKG_CONFIG_PATH
|
765 | |
PKG_CONFIG_LIBDIR
|
766 | |
GTK_CFLAGS
|
767 | |
GTK_LIBS
|
768 | |
CPP'
|
769 | |
|
770 | 315 |
|
771 | 316 |
# Initialize some variables set by options.
|
772 | 317 |
ac_init_help=
|
773 | 318 |
ac_init_version=false
|
774 | |
ac_unrecognized_opts=
|
775 | |
ac_unrecognized_sep=
|
776 | 319 |
# The variables have the same names as the options, with
|
777 | 320 |
# dashes changed to underlines.
|
778 | 321 |
cache_file=/dev/null
|
|
795 | 338 |
# and all the variables that are supposed to be based on exec_prefix
|
796 | 339 |
# by default will actually change.
|
797 | 340 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
798 | |
# (The list follows the same order as the GNU Coding Standards.)
|
799 | 341 |
bindir='${exec_prefix}/bin'
|
800 | 342 |
sbindir='${exec_prefix}/sbin'
|
801 | 343 |
libexecdir='${exec_prefix}/libexec'
|
802 | |
datarootdir='${prefix}/share'
|
803 | |
datadir='${datarootdir}'
|
|
344 |
datadir='${prefix}/share'
|
804 | 345 |
sysconfdir='${prefix}/etc'
|
805 | 346 |
sharedstatedir='${prefix}/com'
|
806 | 347 |
localstatedir='${prefix}/var'
|
|
348 |
libdir='${exec_prefix}/lib'
|
807 | 349 |
includedir='${prefix}/include'
|
808 | 350 |
oldincludedir='/usr/include'
|
809 | |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
810 | |
infodir='${datarootdir}/info'
|
811 | |
htmldir='${docdir}'
|
812 | |
dvidir='${docdir}'
|
813 | |
pdfdir='${docdir}'
|
814 | |
psdir='${docdir}'
|
815 | |
libdir='${exec_prefix}/lib'
|
816 | |
localedir='${datarootdir}/locale'
|
817 | |
mandir='${datarootdir}/man'
|
|
351 |
infodir='${prefix}/info'
|
|
352 |
mandir='${prefix}/man'
|
818 | 353 |
|
819 | 354 |
ac_prev=
|
820 | |
ac_dashdash=
|
821 | 355 |
for ac_option
|
822 | 356 |
do
|
823 | 357 |
# If the previous option needs an argument, assign it.
|
824 | 358 |
if test -n "$ac_prev"; then
|
825 | |
eval $ac_prev=\$ac_option
|
|
359 |
eval "$ac_prev=\$ac_option"
|
826 | 360 |
ac_prev=
|
827 | 361 |
continue
|
828 | 362 |
fi
|
829 | 363 |
|
|
364 |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
|
365 |
|
|
366 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
367 |
|
830 | 368 |
case $ac_option in
|
831 | |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
832 | |
*) ac_optarg=yes ;;
|
833 | |
esac
|
834 | |
|
835 | |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
836 | |
|
837 | |
case $ac_dashdash$ac_option in
|
838 | |
--)
|
839 | |
ac_dashdash=yes ;;
|
840 | 369 |
|
841 | 370 |
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
842 | 371 |
ac_prev=bindir ;;
|
|
858 | 387 |
--config-cache | -C)
|
859 | 388 |
cache_file=config.cache ;;
|
860 | 389 |
|
861 | |
-datadir | --datadir | --datadi | --datad)
|
|
390 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
862 | 391 |
ac_prev=datadir ;;
|
863 | |
-datadir=* | --datadir=* | --datadi=* | --datad=*)
|
|
392 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
|
393 |
| --da=*)
|
864 | 394 |
datadir=$ac_optarg ;;
|
865 | 395 |
|
866 | |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
867 | |
| --dataroo | --dataro | --datar)
|
868 | |
ac_prev=datarootdir ;;
|
869 | |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
870 | |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
871 | |
datarootdir=$ac_optarg ;;
|
872 | |
|
873 | 396 |
-disable-* | --disable-*)
|
874 | |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
397 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
875 | 398 |
# Reject names that are not valid shell variable names.
|
876 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
877 | |
as_fn_error "invalid feature name: $ac_useropt"
|
878 | |
ac_useropt_orig=$ac_useropt
|
879 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
880 | |
case $ac_user_opts in
|
881 | |
*"
|
882 | |
"enable_$ac_useropt"
|
883 | |
"*) ;;
|
884 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
885 | |
ac_unrecognized_sep=', ';;
|
|
399 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|
400 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|
401 |
{ (exit 1); exit 1; }; }
|
|
402 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
|
403 |
eval "enable_$ac_feature=no" ;;
|
|
404 |
|
|
405 |
-enable-* | --enable-*)
|
|
406 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
407 |
# Reject names that are not valid shell variable names.
|
|
408 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|
409 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|
410 |
{ (exit 1); exit 1; }; }
|
|
411 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
|
412 |
case $ac_option in
|
|
413 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
|
414 |
*) ac_optarg=yes ;;
|
886 | 415 |
esac
|
887 | |
eval enable_$ac_useropt=no ;;
|
888 | |
|
889 | |
-docdir | --docdir | --docdi | --doc | --do)
|
890 | |
ac_prev=docdir ;;
|
891 | |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
892 | |
docdir=$ac_optarg ;;
|
893 | |
|
894 | |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
895 | |
ac_prev=dvidir ;;
|
896 | |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
897 | |
dvidir=$ac_optarg ;;
|
898 | |
|
899 | |
-enable-* | --enable-*)
|
900 | |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
901 | |
# Reject names that are not valid shell variable names.
|
902 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
903 | |
as_fn_error "invalid feature name: $ac_useropt"
|
904 | |
ac_useropt_orig=$ac_useropt
|
905 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
906 | |
case $ac_user_opts in
|
907 | |
*"
|
908 | |
"enable_$ac_useropt"
|
909 | |
"*) ;;
|
910 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
911 | |
ac_unrecognized_sep=', ';;
|
912 | |
esac
|
913 | |
eval enable_$ac_useropt=\$ac_optarg ;;
|
|
416 |
eval "enable_$ac_feature='$ac_optarg'" ;;
|
914 | 417 |
|
915 | 418 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
916 | 419 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
937 | 440 |
-host=* | --host=* | --hos=* | --ho=*)
|
938 | 441 |
host_alias=$ac_optarg ;;
|
939 | 442 |
|
940 | |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
941 | |
ac_prev=htmldir ;;
|
942 | |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
943 | |
| --ht=*)
|
944 | |
htmldir=$ac_optarg ;;
|
945 | |
|
946 | 443 |
-includedir | --includedir | --includedi | --included | --include \
|
947 | 444 |
| --includ | --inclu | --incl | --inc)
|
948 | 445 |
ac_prev=includedir ;;
|
|
967 | 464 |
| --libexe=* | --libex=* | --libe=*)
|
968 | 465 |
libexecdir=$ac_optarg ;;
|
969 | 466 |
|
970 | |
-localedir | --localedir | --localedi | --localed | --locale)
|
971 | |
ac_prev=localedir ;;
|
972 | |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
973 | |
localedir=$ac_optarg ;;
|
974 | |
|
975 | 467 |
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
976 | |
| --localstate | --localstat | --localsta | --localst | --locals)
|
|
468 |
| --localstate | --localstat | --localsta | --localst \
|
|
469 |
| --locals | --local | --loca | --loc | --lo)
|
977 | 470 |
ac_prev=localstatedir ;;
|
978 | 471 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
979 | |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
|
472 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
|
473 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
980 | 474 |
localstatedir=$ac_optarg ;;
|
981 | 475 |
|
982 | 476 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|
1041 | 535 |
| --progr-tra=* | --program-tr=* | --program-t=*)
|
1042 | 536 |
program_transform_name=$ac_optarg ;;
|
1043 | 537 |
|
1044 | |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
1045 | |
ac_prev=pdfdir ;;
|
1046 | |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
1047 | |
pdfdir=$ac_optarg ;;
|
1048 | |
|
1049 | |
-psdir | --psdir | --psdi | --psd | --ps)
|
1050 | |
ac_prev=psdir ;;
|
1051 | |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
1052 | |
psdir=$ac_optarg ;;
|
1053 | |
|
1054 | 538 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1055 | 539 |
| -silent | --silent | --silen | --sile | --sil)
|
1056 | 540 |
silent=yes ;;
|
|
1101 | 585 |
ac_init_version=: ;;
|
1102 | 586 |
|
1103 | 587 |
-with-* | --with-*)
|
1104 | |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
588 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1105 | 589 |
# Reject names that are not valid shell variable names.
|
1106 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1107 | |
as_fn_error "invalid package name: $ac_useropt"
|
1108 | |
ac_useropt_orig=$ac_useropt
|
1109 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1110 | |
case $ac_user_opts in
|
1111 | |
*"
|
1112 | |
"with_$ac_useropt"
|
1113 | |
"*) ;;
|
1114 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
1115 | |
ac_unrecognized_sep=', ';;
|
|
590 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|
591 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
|
592 |
{ (exit 1); exit 1; }; }
|
|
593 |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
|
594 |
case $ac_option in
|
|
595 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
|
596 |
*) ac_optarg=yes ;;
|
1116 | 597 |
esac
|
1117 | |
eval with_$ac_useropt=\$ac_optarg ;;
|
|
598 |
eval "with_$ac_package='$ac_optarg'" ;;
|
1118 | 599 |
|
1119 | 600 |
-without-* | --without-*)
|
1120 | |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
601 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1121 | 602 |
# Reject names that are not valid shell variable names.
|
1122 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1123 | |
as_fn_error "invalid package name: $ac_useropt"
|
1124 | |
ac_useropt_orig=$ac_useropt
|
1125 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1126 | |
case $ac_user_opts in
|
1127 | |
*"
|
1128 | |
"with_$ac_useropt"
|
1129 | |
"*) ;;
|
1130 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
1131 | |
ac_unrecognized_sep=', ';;
|
1132 | |
esac
|
1133 | |
eval with_$ac_useropt=no ;;
|
|
603 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|
604 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
|
605 |
{ (exit 1); exit 1; }; }
|
|
606 |
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
|
607 |
eval "with_$ac_package=no" ;;
|
1134 | 608 |
|
1135 | 609 |
--x)
|
1136 | 610 |
# Obsolete; use --with-x.
|
|
1150 | 624 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1151 | 625 |
x_libraries=$ac_optarg ;;
|
1152 | 626 |
|
1153 | |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
1154 | |
Try \`$0 --help' for more information."
|
|
627 |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
|
628 |
Try \`$0 --help' for more information." >&2
|
|
629 |
{ (exit 1); exit 1; }; }
|
1155 | 630 |
;;
|
1156 | 631 |
|
1157 | 632 |
*=*)
|
1158 | 633 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1159 | 634 |
# Reject names that are not valid shell variable names.
|
1160 | |
case $ac_envvar in #(
|
1161 | |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
1162 | |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
1163 | |
esac
|
1164 | |
eval $ac_envvar=\$ac_optarg
|
|
635 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
|
636 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
|
637 |
{ (exit 1); exit 1; }; }
|
|
638 |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
|
639 |
eval "$ac_envvar='$ac_optarg'"
|
1165 | 640 |
export $ac_envvar ;;
|
1166 | 641 |
|
1167 | 642 |
*)
|
1168 | 643 |
# FIXME: should be removed in autoconf 3.0.
|
1169 | |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
644 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1170 | 645 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1171 | |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
646 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1172 | 647 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
1173 | 648 |
;;
|
1174 | 649 |
|
|
1177 | 652 |
|
1178 | 653 |
if test -n "$ac_prev"; then
|
1179 | 654 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1180 | |
as_fn_error "missing argument to $ac_option"
|
1181 | |
fi
|
1182 | |
|
1183 | |
if test -n "$ac_unrecognized_opts"; then
|
1184 | |
case $enable_option_checking in
|
1185 | |
no) ;;
|
1186 | |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
1187 | |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
655 |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
|
656 |
{ (exit 1); exit 1; }; }
|
|
657 |
fi
|
|
658 |
|
|
659 |
# Be sure to have absolute paths.
|
|
660 |
for ac_var in exec_prefix prefix
|
|
661 |
do
|
|
662 |
eval ac_val=$`echo $ac_var`
|
|
663 |
case $ac_val in
|
|
664 |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
|
665 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|
666 |
{ (exit 1); exit 1; }; };;
|
1188 | 667 |
esac
|
1189 | |
fi
|
1190 | |
|
1191 | |
# Check all directory arguments for consistency.
|
1192 | |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1193 | |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1194 | |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1195 | |
libdir localedir mandir
|
|
668 |
done
|
|
669 |
|
|
670 |
# Be sure to have absolute paths.
|
|
671 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
|
672 |
localstatedir libdir includedir oldincludedir infodir mandir
|
1196 | 673 |
do
|
1197 | |
eval ac_val=\$$ac_var
|
1198 | |
# Remove trailing slashes.
|
|
674 |
eval ac_val=$`echo $ac_var`
|
1199 | 675 |
case $ac_val in
|
1200 | |
*/ )
|
1201 | |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
1202 | |
eval $ac_var=\$ac_val;;
|
|
676 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
677 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|
678 |
{ (exit 1); exit 1; }; };;
|
1203 | 679 |
esac
|
1204 | |
# Be sure to have absolute directory names.
|
1205 | |
case $ac_val in
|
1206 | |
[\\/$]* | ?:[\\/]* ) continue;;
|
1207 | |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1208 | |
esac
|
1209 | |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1210 | 680 |
done
|
1211 | 681 |
|
1212 | 682 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1220 | 690 |
if test "x$host_alias" != x; then
|
1221 | 691 |
if test "x$build_alias" = x; then
|
1222 | 692 |
cross_compiling=maybe
|
1223 | |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|
693 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1224 | 694 |
If a cross compiler is detected then cross compile mode will be used." >&2
|
1225 | 695 |
elif test "x$build_alias" != "x$host_alias"; then
|
1226 | 696 |
cross_compiling=yes
|
|
1233 | 703 |
test "$silent" = yes && exec 6>/dev/null
|
1234 | 704 |
|
1235 | 705 |
|
1236 | |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1237 | |
ac_ls_di=`ls -di .` &&
|
1238 | |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1239 | |
as_fn_error "working directory cannot be determined"
|
1240 | |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1241 | |
as_fn_error "pwd does not report name of working directory"
|
1242 | |
|
1243 | |
|
1244 | 706 |
# Find the source files, if location was not specified.
|
1245 | 707 |
if test -z "$srcdir"; then
|
1246 | 708 |
ac_srcdir_defaulted=yes
|
1247 | |
# Try the directory containing this script, then the parent directory.
|
1248 | |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
1249 | |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1250 | |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1251 | |
X"$as_myself" : 'X\(//\)$' \| \
|
1252 | |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1253 | |
$as_echo X"$as_myself" |
|
1254 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1255 | |
s//\1/
|
1256 | |
q
|
1257 | |
}
|
1258 | |
/^X\(\/\/\)[^/].*/{
|
1259 | |
s//\1/
|
1260 | |
q
|
1261 | |
}
|
1262 | |
/^X\(\/\/\)$/{
|
1263 | |
s//\1/
|
1264 | |
q
|
1265 | |
}
|
1266 | |
/^X\(\/\).*/{
|
1267 | |
s//\1/
|
1268 | |
q
|
1269 | |
}
|
1270 | |
s/.*/./; q'`
|
|
709 |
# Try the directory containing this script, then its parent.
|
|
710 |
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
|
711 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
712 |
X"$0" : 'X\(//\)[^/]' \| \
|
|
713 |
X"$0" : 'X\(//\)$' \| \
|
|
714 |
X"$0" : 'X\(/\)' \| \
|
|
715 |
. : '\(.\)' 2>/dev/null ||
|
|
716 |
echo X"$0" |
|
|
717 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
718 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
719 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
720 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
721 |
s/.*/./; q'`
|
1271 | 722 |
srcdir=$ac_confdir
|
1272 | |
if test ! -r "$srcdir/$ac_unique_file"; then
|
|
723 |
if test ! -r $srcdir/$ac_unique_file; then
|
1273 | 724 |
srcdir=..
|
1274 | 725 |
fi
|
1275 | 726 |
else
|
1276 | 727 |
ac_srcdir_defaulted=no
|
1277 | 728 |
fi
|
1278 | |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1279 | |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1280 | |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1281 | |
fi
|
1282 | |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1283 | |
ac_abs_confdir=`(
|
1284 | |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1285 | |
pwd)`
|
1286 | |
# When building in place, set srcdir=.
|
1287 | |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
1288 | |
srcdir=.
|
1289 | |
fi
|
1290 | |
# Remove unnecessary trailing slashes from srcdir.
|
1291 | |
# Double slashes in file names in object file debugging info
|
1292 | |
# mess up M-x gdb in Emacs.
|
1293 | |
case $srcdir in
|
1294 | |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
1295 | |
esac
|
1296 | |
for ac_var in $ac_precious_vars; do
|
1297 | |
eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
1298 | |
eval ac_env_${ac_var}_value=\$${ac_var}
|
1299 | |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
1300 | |
eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
1301 | |
done
|
|
729 |
if test ! -r $srcdir/$ac_unique_file; then
|
|
730 |
if test "$ac_srcdir_defaulted" = yes; then
|
|
731 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
|
732 |
{ (exit 1); exit 1; }; }
|
|
733 |
else
|
|
734 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
|
735 |
{ (exit 1); exit 1; }; }
|
|
736 |
fi
|
|
737 |
fi
|
|
738 |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
|
739 |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
|
740 |
{ (exit 1); exit 1; }; }
|
|
741 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
|
742 |
ac_env_build_alias_set=${build_alias+set}
|
|
743 |
ac_env_build_alias_value=$build_alias
|
|
744 |
ac_cv_env_build_alias_set=${build_alias+set}
|
|
745 |
ac_cv_env_build_alias_value=$build_alias
|
|
746 |
ac_env_host_alias_set=${host_alias+set}
|
|
747 |
ac_env_host_alias_value=$host_alias
|
|
748 |
ac_cv_env_host_alias_set=${host_alias+set}
|
|
749 |
ac_cv_env_host_alias_value=$host_alias
|
|
750 |
ac_env_target_alias_set=${target_alias+set}
|
|
751 |
ac_env_target_alias_value=$target_alias
|
|
752 |
ac_cv_env_target_alias_set=${target_alias+set}
|
|
753 |
ac_cv_env_target_alias_value=$target_alias
|
|
754 |
ac_env_CC_set=${CC+set}
|
|
755 |
ac_env_CC_value=$CC
|
|
756 |
ac_cv_env_CC_set=${CC+set}
|
|
757 |
ac_cv_env_CC_value=$CC
|
|
758 |
ac_env_CFLAGS_set=${CFLAGS+set}
|
|
759 |
ac_env_CFLAGS_value=$CFLAGS
|
|
760 |
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
|
761 |
ac_cv_env_CFLAGS_value=$CFLAGS
|
|
762 |
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
|
763 |
ac_env_LDFLAGS_value=$LDFLAGS
|
|
764 |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
|
765 |
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
|
766 |
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
|
767 |
ac_env_CPPFLAGS_value=$CPPFLAGS
|
|
768 |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
|
769 |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
|
770 |
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
|
|
771 |
ac_env_PKG_CONFIG_value=$PKG_CONFIG
|
|
772 |
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
|
|
773 |
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
|
|
774 |
ac_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
|
|
775 |
ac_env_GTK_CFLAGS_value=$GTK_CFLAGS
|
|
776 |
ac_cv_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
|
|
777 |
ac_cv_env_GTK_CFLAGS_value=$GTK_CFLAGS
|
|
778 |
ac_env_GTK_LIBS_set=${GTK_LIBS+set}
|
|
779 |
ac_env_GTK_LIBS_value=$GTK_LIBS
|
|
780 |
ac_cv_env_GTK_LIBS_set=${GTK_LIBS+set}
|
|
781 |
ac_cv_env_GTK_LIBS_value=$GTK_LIBS
|
|
782 |
ac_env_CPP_set=${CPP+set}
|
|
783 |
ac_env_CPP_value=$CPP
|
|
784 |
ac_cv_env_CPP_set=${CPP+set}
|
|
785 |
ac_cv_env_CPP_value=$CPP
|
1302 | 786 |
|
1303 | 787 |
#
|
1304 | 788 |
# Report the --help message.
|
|
1327 | 811 |
-n, --no-create do not create output files
|
1328 | 812 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
1329 | 813 |
|
|
814 |
_ACEOF
|
|
815 |
|
|
816 |
cat <<_ACEOF
|
1330 | 817 |
Installation directories:
|
1331 | 818 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1332 | |
[$ac_default_prefix]
|
|
819 |
[$ac_default_prefix]
|
1333 | 820 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1334 | |
[PREFIX]
|
|
821 |
[PREFIX]
|
1335 | 822 |
|
1336 | 823 |
By default, \`make install' will install all the files in
|
1337 | 824 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1341 | 828 |
For better control, use the options below.
|
1342 | 829 |
|
1343 | 830 |
Fine tuning of the installation directories:
|
1344 | |
--bindir=DIR user executables [EPREFIX/bin]
|
1345 | |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1346 | |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1347 | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1348 | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1349 | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1350 | |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1351 | |
--includedir=DIR C header files [PREFIX/include]
|
1352 | |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1353 | |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1354 | |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1355 | |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1356 | |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1357 | |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1358 | |
--docdir=DIR documentation root [DATAROOTDIR/doc/gtkwave]
|
1359 | |
--htmldir=DIR html documentation [DOCDIR]
|
1360 | |
--dvidir=DIR dvi documentation [DOCDIR]
|
1361 | |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1362 | |
--psdir=DIR ps documentation [DOCDIR]
|
|
831 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
832 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
833 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
834 |
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
|
835 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
836 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
837 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
838 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
839 |
--includedir=DIR C header files [PREFIX/include]
|
|
840 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
841 |
--infodir=DIR info documentation [PREFIX/info]
|
|
842 |
--mandir=DIR man documentation [PREFIX/man]
|
1363 | 843 |
_ACEOF
|
1364 | 844 |
|
1365 | 845 |
cat <<\_ACEOF
|
|
1378 | 858 |
cat <<\_ACEOF
|
1379 | 859 |
|
1380 | 860 |
Optional Features:
|
1381 | |
--disable-option-checking ignore unrecognized --enable/--with options
|
1382 | 861 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1383 | 862 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1384 | 863 |
--enable-maintainer-mode enable make rules and dependencies not useful
|
|
1417 | 896 |
CFLAGS C compiler flags
|
1418 | 897 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1419 | 898 |
nonstandard directory <lib dir>
|
1420 | |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1421 | |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1422 | |
you have headers in a nonstandard directory <include dir>
|
|
899 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
|
900 |
headers in a nonstandard directory <include dir>
|
1423 | 901 |
PKG_CONFIG path to pkg-config utility
|
1424 | |
PKG_CONFIG_PATH
|
1425 | |
directories to add to pkg-config's search path
|
1426 | |
PKG_CONFIG_LIBDIR
|
1427 | |
path overriding pkg-config's built-in search path
|
1428 | 902 |
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
|
1429 | 903 |
GTK_LIBS linker flags for GTK, overriding pkg-config
|
1430 | 904 |
CPP C preprocessor
|
|
1434 | 908 |
|
1435 | 909 |
Report bugs to <bybell@nc.rr.com>.
|
1436 | 910 |
_ACEOF
|
1437 | |
ac_status=$?
|
1438 | 911 |
fi
|
1439 | 912 |
|
1440 | 913 |
if test "$ac_init_help" = "recursive"; then
|
1441 | 914 |
# If there are subdirs, report their specific --help.
|
|
915 |
ac_popdir=`pwd`
|
1442 | 916 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1443 | |
test -d "$ac_dir" ||
|
1444 | |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
1445 | |
continue
|
|
917 |
test -d $ac_dir || continue
|
1446 | 918 |
ac_builddir=.
|
1447 | 919 |
|
1448 | |
case "$ac_dir" in
|
1449 | |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
920 |
if test "$ac_dir" != .; then
|
|
921 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
922 |
# A "../" for each directory in $ac_dir_suffix.
|
|
923 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
|
924 |
else
|
|
925 |
ac_dir_suffix= ac_top_builddir=
|
|
926 |
fi
|
|
927 |
|
|
928 |
case $srcdir in
|
|
929 |
.) # No --srcdir option. We are building in place.
|
|
930 |
ac_srcdir=.
|
|
931 |
if test -z "$ac_top_builddir"; then
|
|
932 |
ac_top_srcdir=.
|
|
933 |
else
|
|
934 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|
935 |
fi ;;
|
|
936 |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
937 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
938 |
ac_top_srcdir=$srcdir ;;
|
|
939 |
*) # Relative path.
|
|
940 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
941 |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
942 |
esac
|
|
943 |
|
|
944 |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
|
945 |
# the directories may not exist.
|
|
946 |
case `pwd` in
|
|
947 |
.) ac_abs_builddir="$ac_dir";;
|
1450 | 948 |
*)
|
1451 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1452 | |
# A ".." for each directory in $ac_dir_suffix.
|
1453 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1454 | |
case $ac_top_builddir_sub in
|
1455 | |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1456 | |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
1457 | |
esac ;;
|
|
949 |
case "$ac_dir" in
|
|
950 |
.) ac_abs_builddir=`pwd`;;
|
|
951 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|
952 |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
|
953 |
esac;;
|
1458 | 954 |
esac
|
1459 | |
ac_abs_top_builddir=$ac_pwd
|
1460 | |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
1461 | |
# for backward compatibility:
|
1462 | |
ac_top_builddir=$ac_top_build_prefix
|
1463 | |
|
1464 | |
case $srcdir in
|
1465 | |
.) # We are building in place.
|
1466 | |
ac_srcdir=.
|
1467 | |
ac_top_srcdir=$ac_top_builddir_sub
|
1468 | |
ac_abs_top_srcdir=$ac_pwd ;;
|
1469 | |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
1470 | |
ac_srcdir=$srcdir$ac_dir_suffix;
|
1471 | |
ac_top_srcdir=$srcdir
|
1472 | |
ac_abs_top_srcdir=$srcdir ;;
|
1473 | |
*) # Relative name.
|
1474 | |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
1475 | |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
1476 | |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
955 |
case $ac_abs_builddir in
|
|
956 |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
957 |
*)
|
|
958 |
case ${ac_top_builddir}. in
|
|
959 |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
|
960 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
961 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
|
962 |
esac;;
|
1477 | 963 |
esac
|
1478 | |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
1479 | |
|
1480 | |
cd "$ac_dir" || { ac_status=$?; continue; }
|
1481 | |
# Check for guested configure.
|
1482 | |
if test -f "$ac_srcdir/configure.gnu"; then
|
1483 | |
echo &&
|
1484 | |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
1485 | |
elif test -f "$ac_srcdir/configure"; then
|
1486 | |
echo &&
|
1487 | |
$SHELL "$ac_srcdir/configure" --help=recursive
|
|
964 |
case $ac_abs_builddir in
|
|
965 |
.) ac_abs_srcdir=$ac_srcdir;;
|
|
966 |
*)
|
|
967 |
case $ac_srcdir in
|
|
968 |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
|
969 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
|
970 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
|
971 |
esac;;
|
|
972 |
esac
|
|
973 |
case $ac_abs_builddir in
|
|
974 |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
975 |
*)
|
|
976 |
case $ac_top_srcdir in
|
|
977 |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
|
978 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
979 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
|
980 |
esac;;
|
|
981 |
esac
|
|
982 |
|
|
983 |
cd $ac_dir
|
|
984 |
# Check for guested configure; otherwise get Cygnus style configure.
|
|
985 |
if test -f $ac_srcdir/configure.gnu; then
|
|
986 |
echo
|
|
987 |
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
|
988 |
elif test -f $ac_srcdir/configure; then
|
|
989 |
echo
|
|
990 |
$SHELL $ac_srcdir/configure --help=recursive
|
|
991 |
elif test -f $ac_srcdir/configure.ac ||
|
|
992 |
test -f $ac_srcdir/configure.in; then
|
|
993 |
echo
|
|
994 |
$ac_configure --help
|
1488 | 995 |
else
|
1489 | |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1490 | |
fi || ac_status=$?
|
1491 | |
cd "$ac_pwd" || { ac_status=$?; break; }
|
|
996 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
997 |
fi
|
|
998 |
cd $ac_popdir
|
1492 | 999 |
done
|
1493 | 1000 |
fi
|
1494 | 1001 |
|
1495 | |
test -n "$ac_init_help" && exit $ac_status
|
|
1002 |
test -n "$ac_init_help" && exit 0
|
1496 | 1003 |
if $ac_init_version; then
|
1497 | 1004 |
cat <<\_ACEOF
|
1498 | 1005 |
gtkwave configure 3.3.16
|
1499 | |
generated by GNU Autoconf 2.65
|
1500 | |
|
1501 | |
Copyright (C) 2009 Free Software Foundation, Inc.
|
|
1006 |
generated by GNU Autoconf 2.59
|
|
1007 |
|
|
1008 |
Copyright (C) 2003 Free Software Foundation, Inc.
|
1502 | 1009 |
This configure script is free software; the Free Software Foundation
|
1503 | 1010 |
gives unlimited permission to copy, distribute and modify it.
|
1504 | 1011 |
_ACEOF
|
1505 | |
exit
|
1506 | |
fi
|
1507 | |
|
1508 | |
## ------------------------ ##
|
1509 | |
## Autoconf initialization. ##
|
1510 | |
## ------------------------ ##
|
1511 | |
|
1512 | |
# ac_fn_c_try_compile LINENO
|
1513 | |
# --------------------------
|
1514 | |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
1515 | |
ac_fn_c_try_compile ()
|
1516 | |
{
|
1517 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1518 | |
rm -f conftest.$ac_objext
|
1519 | |
if { { ac_try="$ac_compile"
|
1520 | |
case "(($ac_try" in
|
1521 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1522 | |
*) ac_try_echo=$ac_try;;
|
1523 | |
esac
|
1524 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1525 | |
$as_echo "$ac_try_echo"; } >&5
|
1526 | |
(eval "$ac_compile") 2>conftest.err
|
1527 | |
ac_status=$?
|
1528 | |
if test -s conftest.err; then
|
1529 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1530 | |
cat conftest.er1 >&5
|
1531 | |
mv -f conftest.er1 conftest.err
|
1532 | |
fi
|
1533 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1534 | |
test $ac_status = 0; } && {
|
1535 | |
test -z "$ac_c_werror_flag" ||
|
1536 | |
test ! -s conftest.err
|
1537 | |
} && test -s conftest.$ac_objext; then :
|
1538 | |
ac_retval=0
|
1539 | |
else
|
1540 | |
$as_echo "$as_me: failed program was:" >&5
|
1541 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1542 | |
|
1543 | |
ac_retval=1
|
1544 | |
fi
|
1545 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1546 | |
as_fn_set_status $ac_retval
|
1547 | |
|
1548 | |
} # ac_fn_c_try_compile
|
1549 | |
|
1550 | |
# ac_fn_c_try_link LINENO
|
1551 | |
# -----------------------
|
1552 | |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
1553 | |
ac_fn_c_try_link ()
|
1554 | |
{
|
1555 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1556 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
1557 | |
if { { ac_try="$ac_link"
|
1558 | |
case "(($ac_try" in
|
1559 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1560 | |
*) ac_try_echo=$ac_try;;
|
1561 | |
esac
|
1562 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1563 | |
$as_echo "$ac_try_echo"; } >&5
|
1564 | |
(eval "$ac_link") 2>conftest.err
|
1565 | |
ac_status=$?
|
1566 | |
if test -s conftest.err; then
|
1567 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1568 | |
cat conftest.er1 >&5
|
1569 | |
mv -f conftest.er1 conftest.err
|
1570 | |
fi
|
1571 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1572 | |
test $ac_status = 0; } && {
|
1573 | |
test -z "$ac_c_werror_flag" ||
|
1574 | |
test ! -s conftest.err
|
1575 | |
} && test -s conftest$ac_exeext && {
|
1576 | |
test "$cross_compiling" = yes ||
|
1577 | |
$as_test_x conftest$ac_exeext
|
1578 | |
}; then :
|
1579 | |
ac_retval=0
|
1580 | |
else
|
1581 | |
$as_echo "$as_me: failed program was:" >&5
|
1582 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1583 | |
|
1584 | |
ac_retval=1
|
1585 | |
fi
|
1586 | |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
1587 | |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
1588 | |
# interfere with the next link command; also delete a directory that is
|
1589 | |
# left behind by Apple's compiler. We do this before executing the actions.
|
1590 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1591 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1592 | |
as_fn_set_status $ac_retval
|
1593 | |
|
1594 | |
} # ac_fn_c_try_link
|
1595 | |
|
1596 | |
# ac_fn_c_try_cpp LINENO
|
1597 | |
# ----------------------
|
1598 | |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1599 | |
ac_fn_c_try_cpp ()
|
1600 | |
{
|
1601 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1602 | |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1603 | |
case "(($ac_try" in
|
1604 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1605 | |
*) ac_try_echo=$ac_try;;
|
1606 | |
esac
|
1607 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1608 | |
$as_echo "$ac_try_echo"; } >&5
|
1609 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1610 | |
ac_status=$?
|
1611 | |
if test -s conftest.err; then
|
1612 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1613 | |
cat conftest.er1 >&5
|
1614 | |
mv -f conftest.er1 conftest.err
|
1615 | |
fi
|
1616 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1617 | |
test $ac_status = 0; } >/dev/null && {
|
1618 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
1619 | |
test ! -s conftest.err
|
1620 | |
}; then :
|
1621 | |
ac_retval=0
|
1622 | |
else
|
1623 | |
$as_echo "$as_me: failed program was:" >&5
|
1624 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1625 | |
|
1626 | |
ac_retval=1
|
1627 | |
fi
|
1628 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1629 | |
as_fn_set_status $ac_retval
|
1630 | |
|
1631 | |
} # ac_fn_c_try_cpp
|
1632 | |
|
1633 | |
# ac_fn_c_check_func LINENO FUNC VAR
|
1634 | |
# ----------------------------------
|
1635 | |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
1636 | |
ac_fn_c_check_func ()
|
1637 | |
{
|
1638 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1639 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1640 | |
$as_echo_n "checking for $2... " >&6; }
|
1641 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1642 | |
$as_echo_n "(cached) " >&6
|
1643 | |
else
|
1644 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1645 | |
/* end confdefs.h. */
|
1646 | |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
1647 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
1648 | |
#define $2 innocuous_$2
|
1649 | |
|
1650 | |
/* System header to define __stub macros and hopefully few prototypes,
|
1651 | |
which can conflict with char $2 (); below.
|
1652 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
1653 | |
<limits.h> exists even on freestanding compilers. */
|
1654 | |
|
1655 | |
#ifdef __STDC__
|
1656 | |
# include <limits.h>
|
1657 | |
#else
|
1658 | |
# include <assert.h>
|
1659 | |
#endif
|
1660 | |
|
1661 | |
#undef $2
|
1662 | |
|
1663 | |
/* Override any GCC internal prototype to avoid an error.
|
1664 | |
Use char because int might match the return type of a GCC
|
1665 | |
builtin and then its argument prototype would still apply. */
|
1666 | |
#ifdef __cplusplus
|
1667 | |
extern "C"
|
1668 | |
#endif
|
1669 | |
char $2 ();
|
1670 | |
/* The GNU C library defines this for functions which it implements
|
1671 | |
to always fail with ENOSYS. Some functions are actually named
|
1672 | |
something starting with __ and the normal name is an alias. */
|
1673 | |
#if defined __stub_$2 || defined __stub___$2
|
1674 | |
choke me
|
1675 | |
#endif
|
1676 | |
|
1677 | |
int
|
1678 | |
main ()
|
1679 | |
{
|
1680 | |
return $2 ();
|
1681 | |
;
|
1682 | |
return 0;
|
1683 | |
}
|
1684 | |
_ACEOF
|
1685 | |
if ac_fn_c_try_link "$LINENO"; then :
|
1686 | |
eval "$3=yes"
|
1687 | |
else
|
1688 | |
eval "$3=no"
|
1689 | |
fi
|
1690 | |
rm -f core conftest.err conftest.$ac_objext \
|
1691 | |
conftest$ac_exeext conftest.$ac_ext
|
1692 | |
fi
|
1693 | |
eval ac_res=\$$3
|
1694 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1695 | |
$as_echo "$ac_res" >&6; }
|
1696 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1697 | |
|
1698 | |
} # ac_fn_c_check_func
|
1699 | |
|
1700 | |
# ac_fn_c_try_run LINENO
|
1701 | |
# ----------------------
|
1702 | |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
1703 | |
# that executables *can* be run.
|
1704 | |
ac_fn_c_try_run ()
|
1705 | |
{
|
1706 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1707 | |
if { { ac_try="$ac_link"
|
1708 | |
case "(($ac_try" in
|
1709 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1710 | |
*) ac_try_echo=$ac_try;;
|
1711 | |
esac
|
1712 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1713 | |
$as_echo "$ac_try_echo"; } >&5
|
1714 | |
(eval "$ac_link") 2>&5
|
1715 | |
ac_status=$?
|
1716 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1717 | |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
1718 | |
{ { case "(($ac_try" in
|
1719 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1720 | |
*) ac_try_echo=$ac_try;;
|
1721 | |
esac
|
1722 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1723 | |
$as_echo "$ac_try_echo"; } >&5
|
1724 | |
(eval "$ac_try") 2>&5
|
1725 | |
ac_status=$?
|
1726 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1727 | |
test $ac_status = 0; }; }; then :
|
1728 | |
ac_retval=0
|
1729 | |
else
|
1730 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
1731 | |
$as_echo "$as_me: failed program was:" >&5
|
1732 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1733 | |
|
1734 | |
ac_retval=$ac_status
|
1735 | |
fi
|
1736 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1737 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1738 | |
as_fn_set_status $ac_retval
|
1739 | |
|
1740 | |
} # ac_fn_c_try_run
|
1741 | |
|
1742 | |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
1743 | |
# -------------------------------------------------------
|
1744 | |
# Tests whether HEADER exists and can be compiled using the include files in
|
1745 | |
# INCLUDES, setting the cache variable VAR accordingly.
|
1746 | |
ac_fn_c_check_header_compile ()
|
1747 | |
{
|
1748 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1749 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1750 | |
$as_echo_n "checking for $2... " >&6; }
|
1751 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1752 | |
$as_echo_n "(cached) " >&6
|
1753 | |
else
|
1754 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1755 | |
/* end confdefs.h. */
|
1756 | |
$4
|
1757 | |
#include <$2>
|
1758 | |
_ACEOF
|
1759 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1760 | |
eval "$3=yes"
|
1761 | |
else
|
1762 | |
eval "$3=no"
|
1763 | |
fi
|
1764 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1765 | |
fi
|
1766 | |
eval ac_res=\$$3
|
1767 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1768 | |
$as_echo "$ac_res" >&6; }
|
1769 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1770 | |
|
1771 | |
} # ac_fn_c_check_header_compile
|
1772 | |
|
1773 | |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1774 | |
# -------------------------------------------------------
|
1775 | |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1776 | |
# the include files in INCLUDES and setting the cache variable VAR
|
1777 | |
# accordingly.
|
1778 | |
ac_fn_c_check_header_mongrel ()
|
1779 | |
{
|
1780 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1781 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1782 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1783 | |
$as_echo_n "checking for $2... " >&6; }
|
1784 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1785 | |
$as_echo_n "(cached) " >&6
|
1786 | |
fi
|
1787 | |
eval ac_res=\$$3
|
1788 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1789 | |
$as_echo "$ac_res" >&6; }
|
1790 | |
else
|
1791 | |
# Is the header compilable?
|
1792 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1793 | |
$as_echo_n "checking $2 usability... " >&6; }
|
1794 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1795 | |
/* end confdefs.h. */
|
1796 | |
$4
|
1797 | |
#include <$2>
|
1798 | |
_ACEOF
|
1799 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1800 | |
ac_header_compiler=yes
|
1801 | |
else
|
1802 | |
ac_header_compiler=no
|
1803 | |
fi
|
1804 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1805 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1806 | |
$as_echo "$ac_header_compiler" >&6; }
|
1807 | |
|
1808 | |
# Is the header present?
|
1809 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1810 | |
$as_echo_n "checking $2 presence... " >&6; }
|
1811 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1812 | |
/* end confdefs.h. */
|
1813 | |
#include <$2>
|
1814 | |
_ACEOF
|
1815 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
1816 | |
ac_header_preproc=yes
|
1817 | |
else
|
1818 | |
ac_header_preproc=no
|
1819 | |
fi
|
1820 | |
rm -f conftest.err conftest.$ac_ext
|
1821 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1822 | |
$as_echo "$ac_header_preproc" >&6; }
|
1823 | |
|
1824 | |
# So? What about this header?
|
1825 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
1826 | |
yes:no: )
|
1827 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1828 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
1829 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1830 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1831 | |
;;
|
1832 | |
no:yes:* )
|
1833 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
1834 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
1835 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
1836 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
1837 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
1838 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
1839 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
1840 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
1841 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1842 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1843 | |
( cat <<\_ASBOX
|
1844 | |
## ------------------------------- ##
|
1845 | |
## Report this to bybell@nc.rr.com ##
|
1846 | |
## ------------------------------- ##
|
1847 | |
_ASBOX
|
1848 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
1849 | |
;;
|
1850 | |
esac
|
1851 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1852 | |
$as_echo_n "checking for $2... " >&6; }
|
1853 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1854 | |
$as_echo_n "(cached) " >&6
|
1855 | |
else
|
1856 | |
eval "$3=\$ac_header_compiler"
|
1857 | |
fi
|
1858 | |
eval ac_res=\$$3
|
1859 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1860 | |
$as_echo "$ac_res" >&6; }
|
1861 | |
fi
|
1862 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1863 | |
|
1864 | |
} # ac_fn_c_check_header_mongrel
|
1865 | |
|
1866 | |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
1867 | |
# -------------------------------------------
|
1868 | |
# Tests whether TYPE exists after having included INCLUDES, setting cache
|
1869 | |
# variable VAR accordingly.
|
1870 | |
ac_fn_c_check_type ()
|
1871 | |
{
|
1872 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1873 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1874 | |
$as_echo_n "checking for $2... " >&6; }
|
1875 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1876 | |
$as_echo_n "(cached) " >&6
|
1877 | |
else
|
1878 | |
eval "$3=no"
|
1879 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1880 | |
/* end confdefs.h. */
|
1881 | |
$4
|
1882 | |
int
|
1883 | |
main ()
|
1884 | |
{
|
1885 | |
if (sizeof ($2))
|
1886 | |
return 0;
|
1887 | |
;
|
1888 | |
return 0;
|
1889 | |
}
|
1890 | |
_ACEOF
|
1891 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1892 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1893 | |
/* end confdefs.h. */
|
1894 | |
$4
|
1895 | |
int
|
1896 | |
main ()
|
1897 | |
{
|
1898 | |
if (sizeof (($2)))
|
1899 | |
return 0;
|
1900 | |
;
|
1901 | |
return 0;
|
1902 | |
}
|
1903 | |
_ACEOF
|
1904 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1905 | |
|
1906 | |
else
|
1907 | |
eval "$3=yes"
|
1908 | |
fi
|
1909 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1910 | |
fi
|
1911 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1912 | |
fi
|
1913 | |
eval ac_res=\$$3
|
1914 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1915 | |
$as_echo "$ac_res" >&6; }
|
1916 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1917 | |
|
1918 | |
} # ac_fn_c_check_type
|
1919 | |
cat >config.log <<_ACEOF
|
|
1012 |
exit 0
|
|
1013 |
fi
|
|
1014 |
exec 5>config.log
|
|
1015 |
cat >&5 <<_ACEOF
|
1920 | 1016 |
This file contains any messages produced by compilers while
|
1921 | 1017 |
running configure, to aid debugging if configure makes a mistake.
|
1922 | 1018 |
|
1923 | 1019 |
It was created by gtkwave $as_me 3.3.16, which was
|
1924 | |
generated by GNU Autoconf 2.65. Invocation command line was
|
|
1020 |
generated by GNU Autoconf 2.59. Invocation command line was
|
1925 | 1021 |
|
1926 | 1022 |
$ $0 $@
|
1927 | 1023 |
|
1928 | 1024 |
_ACEOF
|
1929 | |
exec 5>>config.log
|
1930 | 1025 |
{
|
1931 | 1026 |
cat <<_ASUNAME
|
1932 | 1027 |
## --------- ##
|
|
1945 | 1040 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
1946 | 1041 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
1947 | 1042 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
1948 | |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
|
1043 |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
1949 | 1044 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
1950 | 1045 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
1951 | 1046 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
1957 | 1052 |
do
|
1958 | 1053 |
IFS=$as_save_IFS
|
1959 | 1054 |
test -z "$as_dir" && as_dir=.
|
1960 | |
$as_echo "PATH: $as_dir"
|
1961 | |
done
|
1962 | |
IFS=$as_save_IFS
|
|
1055 |
echo "PATH: $as_dir"
|
|
1056 |
done
|
1963 | 1057 |
|
1964 | 1058 |
} >&5
|
1965 | 1059 |
|
|
1981 | 1075 |
ac_configure_args=
|
1982 | 1076 |
ac_configure_args0=
|
1983 | 1077 |
ac_configure_args1=
|
|
1078 |
ac_sep=
|
1984 | 1079 |
ac_must_keep_next=false
|
1985 | 1080 |
for ac_pass in 1 2
|
1986 | 1081 |
do
|
|
1991 | 1086 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1992 | 1087 |
| -silent | --silent | --silen | --sile | --sil)
|
1993 | 1088 |
continue ;;
|
1994 | |
*\'*)
|
1995 | |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1089 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
|
1090 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1996 | 1091 |
esac
|
1997 | 1092 |
case $ac_pass in
|
1998 | |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
|
1093 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
1999 | 1094 |
2)
|
2000 | |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
|
1095 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
2001 | 1096 |
if test $ac_must_keep_next = true; then
|
2002 | 1097 |
ac_must_keep_next=false # Got value, back to normal.
|
2003 | 1098 |
else
|
|
2013 | 1108 |
-* ) ac_must_keep_next=true ;;
|
2014 | 1109 |
esac
|
2015 | 1110 |
fi
|
2016 | |
as_fn_append ac_configure_args " '$ac_arg'"
|
|
1111 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
|
1112 |
# Get rid of the leading space.
|
|
1113 |
ac_sep=" "
|
2017 | 1114 |
;;
|
2018 | 1115 |
esac
|
2019 | 1116 |
done
|
2020 | 1117 |
done
|
2021 | |
{ ac_configure_args0=; unset ac_configure_args0;}
|
2022 | |
{ ac_configure_args1=; unset ac_configure_args1;}
|
|
1118 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
|
1119 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
2023 | 1120 |
|
2024 | 1121 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
2025 | 1122 |
# config.log. We remove comments because anyway the quotes in there
|
2026 | 1123 |
# would cause problems or look ugly.
|
2027 | |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
2028 | |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
|
1124 |
# WARNING: Be sure not to use single quotes in there, as some shells,
|
|
1125 |
# such as our DU 5.0 friend, will then `close' the trap.
|
2029 | 1126 |
trap 'exit_status=$?
|
2030 | 1127 |
# Save into config.log some information that might help in debugging.
|
2031 | 1128 |
{
|
|
2038 | 1135 |
_ASBOX
|
2039 | 1136 |
echo
|
2040 | 1137 |
# The following way of writing the cache mishandles newlines in values,
|
2041 | |
(
|
2042 | |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
2043 | |
eval ac_val=\$$ac_var
|
2044 | |
case $ac_val in #(
|
2045 | |
*${as_nl}*)
|
2046 | |
case $ac_var in #(
|
2047 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
2048 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
2049 | |
esac
|
2050 | |
case $ac_var in #(
|
2051 | |
_ | IFS | as_nl) ;; #(
|
2052 | |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
2053 | |
*) { eval $ac_var=; unset $ac_var;} ;;
|
2054 | |
esac ;;
|
2055 | |
esac
|
2056 | |
done
|
|
1138 |
{
|
2057 | 1139 |
(set) 2>&1 |
|
2058 | |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
2059 | |
*${as_nl}ac_space=\ *)
|
|
1140 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
|
1141 |
*ac_space=\ *)
|
2060 | 1142 |
sed -n \
|
2061 | |
"s/'\''/'\''\\\\'\'''\''/g;
|
2062 | |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
2063 | |
;; #(
|
|
1143 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
|
1144 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
1145 |
;;
|
2064 | 1146 |
*)
|
2065 | |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
|
1147 |
sed -n \
|
|
1148 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
2066 | 1149 |
;;
|
2067 | |
esac |
|
2068 | |
sort
|
2069 | |
)
|
|
1150 |
esac;
|
|
1151 |
}
|
2070 | 1152 |
echo
|
2071 | 1153 |
|
2072 | 1154 |
cat <<\_ASBOX
|
|
2077 | 1159 |
echo
|
2078 | 1160 |
for ac_var in $ac_subst_vars
|
2079 | 1161 |
do
|
2080 | |
eval ac_val=\$$ac_var
|
2081 | |
case $ac_val in
|
2082 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2083 | |
esac
|
2084 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
1162 |
eval ac_val=$`echo $ac_var`
|
|
1163 |
echo "$ac_var='"'"'$ac_val'"'"'"
|
2085 | 1164 |
done | sort
|
2086 | 1165 |
echo
|
2087 | 1166 |
|
2088 | 1167 |
if test -n "$ac_subst_files"; then
|
2089 | 1168 |
cat <<\_ASBOX
|
2090 | |
## ------------------- ##
|
2091 | |
## File substitutions. ##
|
2092 | |
## ------------------- ##
|
|
1169 |
## ------------- ##
|
|
1170 |
## Output files. ##
|
|
1171 |
## ------------- ##
|
2093 | 1172 |
_ASBOX
|
2094 | 1173 |
echo
|
2095 | 1174 |
for ac_var in $ac_subst_files
|
2096 | 1175 |
do
|
2097 | |
eval ac_val=\$$ac_var
|
2098 | |
case $ac_val in
|
2099 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2100 | |
esac
|
2101 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
1176 |
eval ac_val=$`echo $ac_var`
|
|
1177 |
echo "$ac_var='"'"'$ac_val'"'"'"
|
2102 | 1178 |
done | sort
|
2103 | 1179 |
echo
|
2104 | 1180 |
fi
|
|
2110 | 1186 |
## ----------- ##
|
2111 | 1187 |
_ASBOX
|
2112 | 1188 |
echo
|
2113 | |
cat confdefs.h
|
|
1189 |
sed "/^$/d" confdefs.h | sort
|
2114 | 1190 |
echo
|
2115 | 1191 |
fi
|
2116 | 1192 |
test "$ac_signal" != 0 &&
|
2117 | |
$as_echo "$as_me: caught signal $ac_signal"
|
2118 | |
$as_echo "$as_me: exit $exit_status"
|
|
1193 |
echo "$as_me: caught signal $ac_signal"
|
|
1194 |
echo "$as_me: exit $exit_status"
|
2119 | 1195 |
} >&5
|
2120 | |
rm -f core *.core core.conftest.* &&
|
2121 | |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
1196 |
rm -f core *.core &&
|
|
1197 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
2122 | 1198 |
exit $exit_status
|
2123 | |
' 0
|
|
1199 |
' 0
|
2124 | 1200 |
for ac_signal in 1 2 13 15; do
|
2125 | |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
|
1201 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
2126 | 1202 |
done
|
2127 | 1203 |
ac_signal=0
|
2128 | 1204 |
|
2129 | 1205 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2130 | |
rm -f -r conftest* confdefs.h
|
2131 | |
|
2132 | |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
1206 |
rm -rf conftest* confdefs.h
|
|
1207 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
|
1208 |
echo >confdefs.h
|
2133 | 1209 |
|
2134 | 1210 |
# Predefined preprocessor variables.
|
2135 | 1211 |
|
|
2137 | 1213 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2138 | 1214 |
_ACEOF
|
2139 | 1215 |
|
|
1216 |
|
2140 | 1217 |
cat >>confdefs.h <<_ACEOF
|
2141 | 1218 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2142 | 1219 |
_ACEOF
|
2143 | 1220 |
|
|
1221 |
|
2144 | 1222 |
cat >>confdefs.h <<_ACEOF
|
2145 | 1223 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2146 | 1224 |
_ACEOF
|
2147 | 1225 |
|
|
1226 |
|
2148 | 1227 |
cat >>confdefs.h <<_ACEOF
|
2149 | 1228 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2150 | 1229 |
_ACEOF
|
2151 | 1230 |
|
|
1231 |
|
2152 | 1232 |
cat >>confdefs.h <<_ACEOF
|
2153 | 1233 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2154 | 1234 |
_ACEOF
|
2155 | 1235 |
|
2156 | |
cat >>confdefs.h <<_ACEOF
|
2157 | |
#define PACKAGE_URL "$PACKAGE_URL"
|
2158 | |
_ACEOF
|
2159 | |
|
2160 | 1236 |
|
2161 | 1237 |
# Let the site file select an alternate cache file if it wants to.
|
2162 | |
# Prefer an explicitly selected file to automatically selected ones.
|
2163 | |
ac_site_file1=NONE
|
2164 | |
ac_site_file2=NONE
|
2165 | |
if test -n "$CONFIG_SITE"; then
|
2166 | |
ac_site_file1=$CONFIG_SITE
|
2167 | |
elif test "x$prefix" != xNONE; then
|
2168 | |
ac_site_file1=$prefix/share/config.site
|
2169 | |
ac_site_file2=$prefix/etc/config.site
|
2170 | |
else
|
2171 | |
ac_site_file1=$ac_default_prefix/share/config.site
|
2172 | |
ac_site_file2=$ac_default_prefix/etc/config.site
|
2173 | |
fi
|
2174 | |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
2175 | |
do
|
2176 | |
test "x$ac_site_file" = xNONE && continue
|
2177 | |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
2178 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2179 | |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
1238 |
# Prefer explicitly selected file to automatically selected ones.
|
|
1239 |
if test -z "$CONFIG_SITE"; then
|
|
1240 |
if test "x$prefix" != xNONE; then
|
|
1241 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
|
1242 |
else
|
|
1243 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|
1244 |
fi
|
|
1245 |
fi
|
|
1246 |
for ac_site_file in $CONFIG_SITE; do
|
|
1247 |
if test -r "$ac_site_file"; then
|
|
1248 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
1249 |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
2180 | 1250 |
sed 's/^/| /' "$ac_site_file" >&5
|
2181 | 1251 |
. "$ac_site_file"
|
2182 | 1252 |
fi
|
2183 | 1253 |
done
|
2184 | 1254 |
|
2185 | 1255 |
if test -r "$cache_file"; then
|
2186 | |
# Some versions of bash will fail to source /dev/null (special files
|
2187 | |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
2188 | |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
2189 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2190 | |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
|
1256 |
# Some versions of bash will fail to source /dev/null (special
|
|
1257 |
# files actually), so we avoid doing that.
|
|
1258 |
if test -f "$cache_file"; then
|
|
1259 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
1260 |
echo "$as_me: loading cache $cache_file" >&6;}
|
2191 | 1261 |
case $cache_file in
|
2192 | |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2193 | |
*) . "./$cache_file";;
|
|
1262 |
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
|
1263 |
*) . ./$cache_file;;
|
2194 | 1264 |
esac
|
2195 | 1265 |
fi
|
2196 | 1266 |
else
|
2197 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
2198 | |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
|
1267 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
1268 |
echo "$as_me: creating cache $cache_file" >&6;}
|
2199 | 1269 |
>$cache_file
|
2200 | 1270 |
fi
|
2201 | 1271 |
|
2202 | |
as_fn_append ac_header_list " stdlib.h"
|
2203 | |
as_fn_append ac_header_list " unistd.h"
|
2204 | |
as_fn_append ac_header_list " sys/param.h"
|
2205 | 1272 |
# Check that the precious variables saved in the cache have kept the same
|
2206 | 1273 |
# value.
|
2207 | 1274 |
ac_cache_corrupted=false
|
2208 | |
for ac_var in $ac_precious_vars; do
|
|
1275 |
for ac_var in `(set) 2>&1 |
|
|
1276 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
2209 | 1277 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
2210 | 1278 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
2211 | |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
2212 | |
eval ac_new_val=\$ac_env_${ac_var}_value
|
|
1279 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
|
1280 |
eval ac_new_val="\$ac_env_${ac_var}_value"
|
2213 | 1281 |
case $ac_old_set,$ac_new_set in
|
2214 | 1282 |
set,)
|
2215 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2216 | |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
1283 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
1284 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2217 | 1285 |
ac_cache_corrupted=: ;;
|
2218 | 1286 |
,set)
|
2219 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
2220 | |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
1287 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
1288 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2221 | 1289 |
ac_cache_corrupted=: ;;
|
2222 | 1290 |
,);;
|
2223 | 1291 |
*)
|
2224 | 1292 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
2225 | |
# differences in whitespace do not lead to failure.
|
2226 | |
ac_old_val_w=`echo x $ac_old_val`
|
2227 | |
ac_new_val_w=`echo x $ac_new_val`
|
2228 | |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2229 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
2230 | |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2231 | |
ac_cache_corrupted=:
|
2232 | |
else
|
2233 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2234 | |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2235 | |
eval $ac_var=\$ac_old_val
|
2236 | |
fi
|
2237 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
2238 | |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2239 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
2240 | |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
|
1293 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
1294 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
1295 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|
1296 |
echo "$as_me: former value: $ac_old_val" >&2;}
|
|
1297 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|
1298 |
echo "$as_me: current value: $ac_new_val" >&2;}
|
|
1299 |
ac_cache_corrupted=:
|
2241 | 1300 |
fi;;
|
2242 | 1301 |
esac
|
2243 | 1302 |
# Pass precious variables to config.status.
|
2244 | 1303 |
if test "$ac_new_set" = set; then
|
2245 | 1304 |
case $ac_new_val in
|
2246 | |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1305 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
|
1306 |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2247 | 1307 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2248 | 1308 |
esac
|
2249 | 1309 |
case " $ac_configure_args " in
|
2250 | 1310 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
2251 | |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
|
1311 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
2252 | 1312 |
esac
|
2253 | 1313 |
fi
|
2254 | 1314 |
done
|
2255 | 1315 |
if $ac_cache_corrupted; then
|
2256 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2257 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2258 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2259 | |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2260 | |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
2261 | |
fi
|
2262 | |
## -------------------- ##
|
2263 | |
## Main body of script. ##
|
2264 | |
## -------------------- ##
|
|
1316 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
1317 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
1318 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
|
1319 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
|
1320 |
{ (exit 1); exit 1; }; }
|
|
1321 |
fi
|
2265 | 1322 |
|
2266 | 1323 |
ac_ext=c
|
2267 | 1324 |
ac_cpp='$CPP $CPPFLAGS'
|
|
2271 | 1328 |
|
2272 | 1329 |
|
2273 | 1330 |
|
|
1331 |
|
|
1332 |
|
|
1333 |
|
|
1334 |
|
|
1335 |
|
|
1336 |
|
|
1337 |
|
|
1338 |
|
|
1339 |
|
|
1340 |
|
|
1341 |
|
|
1342 |
|
|
1343 |
|
|
1344 |
|
|
1345 |
|
|
1346 |
|
|
1347 |
|
|
1348 |
|
|
1349 |
|
|
1350 |
|
|
1351 |
|
|
1352 |
|
|
1353 |
|
|
1354 |
|
|
1355 |
|
2274 | 1356 |
am__api_version="1.9"
|
2275 | 1357 |
ac_aux_dir=
|
2276 | |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2277 | |
for ac_t in install-sh install.sh shtool; do
|
2278 | |
if test -f "$ac_dir/$ac_t"; then
|
2279 | |
ac_aux_dir=$ac_dir
|
2280 | |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
2281 | |
break 2
|
2282 | |
fi
|
2283 | |
done
|
|
1358 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
|
1359 |
if test -f $ac_dir/install-sh; then
|
|
1360 |
ac_aux_dir=$ac_dir
|
|
1361 |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
|
1362 |
break
|
|
1363 |
elif test -f $ac_dir/install.sh; then
|
|
1364 |
ac_aux_dir=$ac_dir
|
|
1365 |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
|
1366 |
break
|
|
1367 |
elif test -f $ac_dir/shtool; then
|
|
1368 |
ac_aux_dir=$ac_dir
|
|
1369 |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
|
1370 |
break
|
|
1371 |
fi
|
2284 | 1372 |
done
|
2285 | 1373 |
if test -z "$ac_aux_dir"; then
|
2286 | |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2287 | |
fi
|
2288 | |
|
2289 | |
# These three variables are undocumented and unsupported,
|
2290 | |
# and are intended to be withdrawn in a future Autoconf release.
|
2291 | |
# They can cause serious problems if a builder's source tree is in a directory
|
2292 | |
# whose full name contains unusual characters.
|
2293 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
2294 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
2295 | |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
2296 | |
|
|
1374 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
|
1375 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
|
1376 |
{ (exit 1); exit 1; }; }
|
|
1377 |
fi
|
|
1378 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
|
1379 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
|
1380 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
2297 | 1381 |
|
2298 | 1382 |
# Find a good install program. We prefer a C program (faster),
|
2299 | 1383 |
# so one script is as good as another. But avoid the broken or
|
|
2308 | 1392 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
2309 | 1393 |
# OS/2's system install, which has a completely different semantic
|
2310 | 1394 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2311 | |
# Reject install programs that cannot install multiple files.
|
2312 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2313 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
1395 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
1396 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
2314 | 1397 |
if test -z "$INSTALL"; then
|
2315 | |
if test "${ac_cv_path_install+set}" = set; then :
|
2316 | |
$as_echo_n "(cached) " >&6
|
|
1398 |
if test "${ac_cv_path_install+set}" = set; then
|
|
1399 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2317 | 1400 |
else
|
2318 | 1401 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2319 | 1402 |
for as_dir in $PATH
|
2320 | 1403 |
do
|
2321 | 1404 |
IFS=$as_save_IFS
|
2322 | 1405 |
test -z "$as_dir" && as_dir=.
|
2323 | |
# Account for people who put trailing slashes in PATH elements.
|
2324 | |
case $as_dir/ in #((
|
2325 | |
./ | .// | /[cC]/* | \
|
|
1406 |
# Account for people who put trailing slashes in PATH elements.
|
|
1407 |
case $as_dir/ in
|
|
1408 |
./ | .// | /cC/* | \
|
2326 | 1409 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2327 | |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
|
1410 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
2328 | 1411 |
/usr/ucb/* ) ;;
|
2329 | 1412 |
*)
|
2330 | 1413 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2332 | 1415 |
# by default.
|
2333 | 1416 |
for ac_prog in ginstall scoinst install; do
|
2334 | 1417 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2335 | |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
|
1418 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
2336 | 1419 |
if test $ac_prog = install &&
|
2337 | 1420 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2338 | 1421 |
# AIX install. It has an incompatible calling convention.
|
|
2342 | 1425 |
# program-specific install script used by HP pwplus--don't use.
|
2343 | 1426 |
:
|
2344 | 1427 |
else
|
2345 | |
rm -rf conftest.one conftest.two conftest.dir
|
2346 | |
echo one > conftest.one
|
2347 | |
echo two > conftest.two
|
2348 | |
mkdir conftest.dir
|
2349 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
2350 | |
test -s conftest.one && test -s conftest.two &&
|
2351 | |
test -s conftest.dir/conftest.one &&
|
2352 | |
test -s conftest.dir/conftest.two
|
2353 | |
then
|
2354 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
2355 | |
break 3
|
2356 | |
fi
|
|
1428 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
1429 |
break 3
|
2357 | 1430 |
fi
|
2358 | 1431 |
fi
|
2359 | 1432 |
done
|
2360 | 1433 |
done
|
2361 | 1434 |
;;
|
2362 | 1435 |
esac
|
2363 | |
|
2364 | |
done
|
2365 | |
IFS=$as_save_IFS
|
2366 | |
|
2367 | |
rm -rf conftest.one conftest.two conftest.dir
|
|
1436 |
done
|
|
1437 |
|
2368 | 1438 |
|
2369 | 1439 |
fi
|
2370 | 1440 |
if test "${ac_cv_path_install+set}" = set; then
|
2371 | 1441 |
INSTALL=$ac_cv_path_install
|
2372 | 1442 |
else
|
2373 | |
# As a last resort, use the slow shell script. Don't cache a
|
2374 | |
# value for INSTALL within a source directory, because that will
|
|
1443 |
# As a last resort, use the slow shell script. We don't cache a
|
|
1444 |
# path for INSTALL within a source directory, because that will
|
2375 | 1445 |
# break other packages using the cache if that directory is
|
2376 | |
# removed, or if the value is a relative name.
|
|
1446 |
# removed, or if the path is relative.
|
2377 | 1447 |
INSTALL=$ac_install_sh
|
2378 | 1448 |
fi
|
2379 | 1449 |
fi
|
2380 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2381 | |
$as_echo "$INSTALL" >&6; }
|
|
1450 |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
1451 |
echo "${ECHO_T}$INSTALL" >&6
|
2382 | 1452 |
|
2383 | 1453 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2384 | 1454 |
# It thinks the first close brace ends the variable substitution.
|
|
2388 | 1458 |
|
2389 | 1459 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2390 | 1460 |
|
2391 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2392 | |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
|
1461 |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
1462 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
2393 | 1463 |
# Just in case
|
2394 | 1464 |
sleep 1
|
2395 | 1465 |
echo timestamp > conftest.file
|
|
2412 | 1482 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2413 | 1483 |
# broken ls alias from the environment. This has actually
|
2414 | 1484 |
# happened. Such a system could not be considered "sane".
|
2415 | |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
2416 | |
alias in your environment" "$LINENO" 5
|
|
1485 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
|
1486 |
alias in your environment" >&5
|
|
1487 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
|
1488 |
alias in your environment" >&2;}
|
|
1489 |
{ (exit 1); exit 1; }; }
|
2417 | 1490 |
fi
|
2418 | 1491 |
|
2419 | 1492 |
test "$2" = conftest.file
|
|
2422 | 1495 |
# Ok.
|
2423 | 1496 |
:
|
2424 | 1497 |
else
|
2425 | |
as_fn_error "newly created file is older than distributed files!
|
2426 | |
Check your system clock" "$LINENO" 5
|
2427 | |
fi
|
2428 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2429 | |
$as_echo "yes" >&6; }
|
|
1498 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
|
1499 |
Check your system clock" >&5
|
|
1500 |
echo "$as_me: error: newly created file is older than distributed files!
|
|
1501 |
Check your system clock" >&2;}
|
|
1502 |
{ (exit 1); exit 1; }; }
|
|
1503 |
fi
|
|
1504 |
echo "$as_me:$LINENO: result: yes" >&5
|
|
1505 |
echo "${ECHO_T}yes" >&6
|
2430 | 1506 |
test "$program_prefix" != NONE &&
|
2431 | |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
1507 |
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
2432 | 1508 |
# Use a double $ so make ignores it.
|
2433 | 1509 |
test "$program_suffix" != NONE &&
|
2434 | |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
2435 | |
# Double any \ or $.
|
|
1510 |
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
|
1511 |
# Double any \ or $. echo might interpret backslashes.
|
2436 | 1512 |
# By default was `s,x,x', remove it if useless.
|
2437 | |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
2438 | |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|
1513 |
cat <<\_ACEOF >conftest.sed
|
|
1514 |
s/[\\$]/&&/g;s/;s,x,x,$//
|
|
1515 |
_ACEOF
|
|
1516 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
|
1517 |
rm conftest.sed
|
2439 | 1518 |
|
2440 | 1519 |
# expand $ac_aux_dir to an absolute path
|
2441 | 1520 |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
2446 | 1525 |
am_missing_run="$MISSING --run "
|
2447 | 1526 |
else
|
2448 | 1527 |
am_missing_run=
|
2449 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
2450 | |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
1528 |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
1529 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
2451 | 1530 |
fi
|
2452 | 1531 |
|
2453 | 1532 |
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
|
2487 | 1566 |
do
|
2488 | 1567 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2489 | 1568 |
set dummy $ac_prog; ac_word=$2
|
2490 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2491 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2492 | |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
2493 | |
$as_echo_n "(cached) " >&6
|
|
1569 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1570 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
1571 |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
1572 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2494 | 1573 |
else
|
2495 | 1574 |
if test -n "$AWK"; then
|
2496 | 1575 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
2500 | 1579 |
do
|
2501 | 1580 |
IFS=$as_save_IFS
|
2502 | 1581 |
test -z "$as_dir" && as_dir=.
|
2503 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2504 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
1582 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
1583 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2505 | 1584 |
ac_cv_prog_AWK="$ac_prog"
|
2506 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
1585 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2507 | 1586 |
break 2
|
2508 | 1587 |
fi
|
2509 | 1588 |
done
|
2510 | |
done
|
2511 | |
IFS=$as_save_IFS
|
|
1589 |
done
|
2512 | 1590 |
|
2513 | 1591 |
fi
|
2514 | 1592 |
fi
|
2515 | 1593 |
AWK=$ac_cv_prog_AWK
|
2516 | 1594 |
if test -n "$AWK"; then
|
2517 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2518 | |
$as_echo "$AWK" >&6; }
|
2519 | |
else
|
2520 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2521 | |
$as_echo "no" >&6; }
|
2522 | |
fi
|
2523 | |
|
|
1595 |
echo "$as_me:$LINENO: result: $AWK" >&5
|
|
1596 |
echo "${ECHO_T}$AWK" >&6
|
|
1597 |
else
|
|
1598 |
echo "$as_me:$LINENO: result: no" >&5
|
|
1599 |
echo "${ECHO_T}no" >&6
|
|
1600 |
fi
|
2524 | 1601 |
|
2525 | 1602 |
test -n "$AWK" && break
|
2526 | 1603 |
done
|
2527 | 1604 |
|
2528 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2529 | |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2530 | |
set x ${MAKE-make}
|
2531 | |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2532 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2533 | |
$as_echo_n "(cached) " >&6
|
|
1605 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
1606 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
|
1607 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
|
1608 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
|
1609 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2534 | 1610 |
else
|
2535 | 1611 |
cat >conftest.make <<\_ACEOF
|
2536 | |
SHELL = /bin/sh
|
2537 | 1612 |
all:
|
2538 | |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
|
1613 |
@echo 'ac_maketemp="$(MAKE)"'
|
2539 | 1614 |
_ACEOF
|
2540 | 1615 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
2541 | |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2542 | |
*@@@%%%=?*=@@@%%%*)
|
2543 | |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
2544 | |
*)
|
2545 | |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
2546 | |
esac
|
|
1616 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
|
1617 |
if test -n "$ac_maketemp"; then
|
|
1618 |
eval ac_cv_prog_make_${ac_make}_set=yes
|
|
1619 |
else
|
|
1620 |
eval ac_cv_prog_make_${ac_make}_set=no
|
|
1621 |
fi
|
2547 | 1622 |
rm -f conftest.make
|
2548 | 1623 |
fi
|
2549 | |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2550 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2551 | |
$as_echo "yes" >&6; }
|
|
1624 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
|
1625 |
echo "$as_me:$LINENO: result: yes" >&5
|
|
1626 |
echo "${ECHO_T}yes" >&6
|
2552 | 1627 |
SET_MAKE=
|
2553 | 1628 |
else
|
2554 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2555 | |
$as_echo "no" >&6; }
|
|
1629 |
echo "$as_me:$LINENO: result: no" >&5
|
|
1630 |
echo "${ECHO_T}no" >&6
|
2556 | 1631 |
SET_MAKE="MAKE=${MAKE-make}"
|
2557 | 1632 |
fi
|
2558 | 1633 |
|
|
2568 | 1643 |
# test to see if srcdir already configured
|
2569 | 1644 |
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
2570 | 1645 |
test -f $srcdir/config.status; then
|
2571 | |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
|
1646 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
|
1647 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
|
1648 |
{ (exit 1); exit 1; }; }
|
2572 | 1649 |
fi
|
2573 | 1650 |
|
2574 | 1651 |
# test whether we have cygpath
|
|
2621 | 1698 |
if test -n "$ac_tool_prefix"; then
|
2622 | 1699 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2623 | 1700 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2624 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2625 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2626 | |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
2627 | |
$as_echo_n "(cached) " >&6
|
|
1701 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1702 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
1703 |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
1704 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2628 | 1705 |
else
|
2629 | 1706 |
if test -n "$STRIP"; then
|
2630 | 1707 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
2634 | 1711 |
do
|
2635 | 1712 |
IFS=$as_save_IFS
|
2636 | 1713 |
test -z "$as_dir" && as_dir=.
|
2637 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2638 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
1714 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
1715 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2639 | 1716 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2640 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
1717 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2641 | 1718 |
break 2
|
2642 | 1719 |
fi
|
2643 | 1720 |
done
|
2644 | |
done
|
2645 | |
IFS=$as_save_IFS
|
|
1721 |
done
|
2646 | 1722 |
|
2647 | 1723 |
fi
|
2648 | 1724 |
fi
|
2649 | 1725 |
STRIP=$ac_cv_prog_STRIP
|
2650 | 1726 |
if test -n "$STRIP"; then
|
2651 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2652 | |
$as_echo "$STRIP" >&6; }
|
2653 | |
else
|
2654 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2655 | |
$as_echo "no" >&6; }
|
2656 | |
fi
|
2657 | |
|
|
1727 |
echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
1728 |
echo "${ECHO_T}$STRIP" >&6
|
|
1729 |
else
|
|
1730 |
echo "$as_me:$LINENO: result: no" >&5
|
|
1731 |
echo "${ECHO_T}no" >&6
|
|
1732 |
fi
|
2658 | 1733 |
|
2659 | 1734 |
fi
|
2660 | 1735 |
if test -z "$ac_cv_prog_STRIP"; then
|
2661 | 1736 |
ac_ct_STRIP=$STRIP
|
2662 | 1737 |
# Extract the first word of "strip", so it can be a program name with args.
|
2663 | 1738 |
set dummy strip; ac_word=$2
|
2664 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2665 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2666 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
2667 | |
$as_echo_n "(cached) " >&6
|
|
1739 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1740 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
1741 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
1742 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2668 | 1743 |
else
|
2669 | 1744 |
if test -n "$ac_ct_STRIP"; then
|
2670 | 1745 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
2674 | 1749 |
do
|
2675 | 1750 |
IFS=$as_save_IFS
|
2676 | 1751 |
test -z "$as_dir" && as_dir=.
|
2677 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2678 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
1752 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
1753 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2679 | 1754 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2680 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
1755 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2681 | 1756 |
break 2
|
2682 | 1757 |
fi
|
2683 | 1758 |
done
|
2684 | |
done
|
2685 | |
IFS=$as_save_IFS
|
2686 | |
|
|
1759 |
done
|
|
1760 |
|
|
1761 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
2687 | 1762 |
fi
|
2688 | 1763 |
fi
|
2689 | 1764 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2690 | 1765 |
if test -n "$ac_ct_STRIP"; then
|
2691 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2692 | |
$as_echo "$ac_ct_STRIP" >&6; }
|
2693 | |
else
|
2694 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2695 | |
$as_echo "no" >&6; }
|
2696 | |
fi
|
2697 | |
|
2698 | |
if test "x$ac_ct_STRIP" = x; then
|
2699 | |
STRIP=":"
|
2700 | |
else
|
2701 | |
case $cross_compiling:$ac_tool_warned in
|
2702 | |
yes:)
|
2703 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2704 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2705 | |
ac_tool_warned=yes ;;
|
2706 | |
esac
|
2707 | |
STRIP=$ac_ct_STRIP
|
2708 | |
fi
|
|
1766 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
1767 |
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
|
1768 |
else
|
|
1769 |
echo "$as_me:$LINENO: result: no" >&5
|
|
1770 |
echo "${ECHO_T}no" >&6
|
|
1771 |
fi
|
|
1772 |
|
|
1773 |
STRIP=$ac_ct_STRIP
|
2709 | 1774 |
else
|
2710 | 1775 |
STRIP="$ac_cv_prog_STRIP"
|
2711 | 1776 |
fi
|
|
2725 | 1790 |
|
2726 | 1791 |
|
2727 | 1792 |
|
2728 | |
ac_config_headers="$ac_config_headers config.h"
|
2729 | |
|
2730 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
2731 | |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
2732 | |
# Check whether --enable-maintainer-mode was given.
|
2733 | |
if test "${enable_maintainer_mode+set}" = set; then :
|
2734 | |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
|
1793 |
ac_config_headers="$ac_config_headers config.h"
|
|
1794 |
|
|
1795 |
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
1796 |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
|
1797 |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
|
1798 |
if test "${enable_maintainer_mode+set}" = set; then
|
|
1799 |
enableval="$enable_maintainer_mode"
|
|
1800 |
USE_MAINTAINER_MODE=$enableval
|
2735 | 1801 |
else
|
2736 | 1802 |
USE_MAINTAINER_MODE=no
|
2737 | |
fi
|
2738 | |
|
2739 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
|
2740 | |
$as_echo "$USE_MAINTAINER_MODE" >&6; }
|
|
1803 |
fi;
|
|
1804 |
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
|
|
1805 |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
2741 | 1806 |
|
2742 | 1807 |
|
2743 | 1808 |
if test $USE_MAINTAINER_MODE = yes; then
|
|
2755 | 1820 |
# Checks for build options
|
2756 | 1821 |
# ------------- LZMA / XZ -------------------
|
2757 | 1822 |
|
2758 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if inline assembly should be enabled" >&5
|
2759 | |
$as_echo_n "checking if inline assembly should be enabled... " >&6; }
|
|
1823 |
echo "$as_me:$LINENO: checking if inline assembly should be enabled" >&5
|
|
1824 |
echo $ECHO_N "checking if inline assembly should be enabled... $ECHO_C" >&6
|
2760 | 1825 |
|
2761 | 1826 |
INL=yes
|
2762 | 1827 |
INLINE_ASM=-DUSE_INLINE_ASM
|
2763 | |
# Check whether --enable-inline_asm was given.
|
2764 | |
if test "${enable_inline_asm+set}" = set; then :
|
2765 | |
enableval=$enable_inline_asm;
|
|
1828 |
# Check whether --enable-inline_asm or --disable-inline_asm was given.
|
|
1829 |
if test "${enable_inline_asm+set}" = set; then
|
|
1830 |
enableval="$enable_inline_asm"
|
|
1831 |
|
2766 | 1832 |
if test "X$enable_inline_asm" = "Xno" ; then
|
2767 | 1833 |
INL=no
|
2768 | 1834 |
INLINE_ASM=
|
2769 | 1835 |
fi
|
2770 | 1836 |
|
2771 | |
fi
|
2772 | |
|
2773 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INL" >&5
|
2774 | |
$as_echo "$INL" >&6; }
|
|
1837 |
fi;
|
|
1838 |
echo "$as_me:$LINENO: result: $INL" >&5
|
|
1839 |
echo "${ECHO_T}$INL" >&6
|
2775 | 1840 |
|
2776 | 1841 |
|
2777 | 1842 |
|
2778 | 1843 |
|
2779 | 1844 |
# ------------- Tcl -------------------
|
2780 | 1845 |
|
2781 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Tcl usage should be disabled" >&5
|
2782 | |
$as_echo_n "checking if Tcl usage should be disabled... " >&6; }
|
|
1846 |
echo "$as_me:$LINENO: checking if Tcl usage should be disabled" >&5
|
|
1847 |
echo $ECHO_N "checking if Tcl usage should be disabled... $ECHO_C" >&6
|
2783 | 1848 |
|
2784 | 1849 |
ETCL=yes
|
2785 | 1850 |
DTCL=no
|
2786 | |
# Check whether --enable-tcl was given.
|
2787 | |
if test "${enable_tcl+set}" = set; then :
|
2788 | |
enableval=$enable_tcl;
|
|
1851 |
# Check whether --enable-tcl or --disable-tcl was given.
|
|
1852 |
if test "${enable_tcl+set}" = set; then
|
|
1853 |
enableval="$enable_tcl"
|
|
1854 |
|
2789 | 1855 |
if test "X$enable_tcl" = "Xno" ; then
|
2790 | 1856 |
ETCL=no
|
2791 | 1857 |
DTCL=yes
|
|
2798 | 1864 |
|
2799 | 1865 |
ETCL=yes
|
2800 | 1866 |
|
2801 | |
fi
|
2802 | |
|
2803 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTCL" >&5
|
2804 | |
$as_echo "$DTCL" >&6; }
|
|
1867 |
fi;
|
|
1868 |
echo "$as_me:$LINENO: result: $DTCL" >&5
|
|
1869 |
echo "${ECHO_T}$DTCL" >&6
|
2805 | 1870 |
|
2806 | 1871 |
|
2807 | 1872 |
if test "X$ETCL" = "Xyes" ; then
|
|
2816 | 1881 |
# we reset no_tcl in case something fails here
|
2817 | 1882 |
no_tcl=true
|
2818 | 1883 |
|
2819 | |
# Check whether --with-tcl was given.
|
2820 | |
if test "${with_tcl+set}" = set; then :
|
2821 | |
withval=$with_tcl; with_tclconfig="${withval}"
|
2822 | |
fi
|
2823 | |
|
2824 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
|
2825 | |
$as_echo_n "checking for Tcl configuration... " >&6; }
|
2826 | |
if test "${ac_cv_c_tclconfig+set}" = set; then :
|
2827 | |
$as_echo_n "(cached) " >&6
|
|
1884 |
# Check whether --with-tcl or --without-tcl was given.
|
|
1885 |
if test "${with_tcl+set}" = set; then
|
|
1886 |
withval="$with_tcl"
|
|
1887 |
with_tclconfig="${withval}"
|
|
1888 |
fi;
|
|
1889 |
echo "$as_me:$LINENO: checking for Tcl configuration" >&5
|
|
1890 |
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
|
|
1891 |
if test "${ac_cv_c_tclconfig+set}" = set; then
|
|
1892 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2828 | 1893 |
else
|
2829 | 1894 |
|
2830 | 1895 |
|
|
2833 | 1898 |
case "${with_tclconfig}" in
|
2834 | 1899 |
*/tclConfig.sh )
|
2835 | 1900 |
if test -f "${with_tclconfig}"; then
|
2836 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5
|
2837 | |
$as_echo "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;}
|
|
1901 |
{ echo "$as_me:$LINENO: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5
|
|
1902 |
echo "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;}
|
2838 | 1903 |
with_tclconfig="`echo "${with_tclconfig}" | sed 's!/tclConfig\.sh$!!'`"
|
2839 | 1904 |
fi ;;
|
2840 | 1905 |
esac
|
2841 | 1906 |
if test -f "${with_tclconfig}/tclConfig.sh" ; then
|
2842 | 1907 |
ac_cv_c_tclconfig="`(cd "${with_tclconfig}"; pwd)`"
|
2843 | 1908 |
else
|
2844 | |
as_fn_error "${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
|
|
1909 |
{ { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
|
|
1910 |
echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
|
|
1911 |
{ (exit 1); exit 1; }; }
|
2845 | 1912 |
fi
|
2846 | 1913 |
fi
|
2847 | 1914 |
|
|
2921 | 1988 |
else
|
2922 | 1989 |
no_tcl=
|
2923 | 1990 |
TCL_BIN_DIR="${ac_cv_c_tclconfig}"
|
2924 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
|
2925 | |
$as_echo "found ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
|
|
1991 |
echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
|
|
1992 |
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
|
2926 | 1993 |
fi
|
2927 | 1994 |
fi
|
2928 | 1995 |
|
2929 | 1996 |
if test "X$TCL_BIN_DIR" = "X# no Tcl configs found" ; then
|
2930 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl not found, skipping." >&5
|
2931 | |
$as_echo "$as_me: WARNING: Tcl not found, skipping." >&2;}
|
|
1997 |
{ echo "$as_me:$LINENO: WARNING: Tcl not found, skipping." >&5
|
|
1998 |
echo "$as_me: WARNING: Tcl not found, skipping." >&2;}
|
2932 | 1999 |
ETCL=no
|
2933 | 2000 |
DTCL=yes
|
2934 | 2001 |
else
|
2935 | 2002 |
|
2936 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
|
2937 | |
$as_echo_n "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... " >&6; }
|
|
2003 |
echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
|
|
2004 |
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6
|
2938 | 2005 |
|
2939 | 2006 |
if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
|
2940 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
|
2941 | |
$as_echo "loading" >&6; }
|
|
2007 |
echo "$as_me:$LINENO: result: loading" >&5
|
|
2008 |
echo "${ECHO_T}loading" >&6
|
2942 | 2009 |
. "${TCL_BIN_DIR}/tclConfig.sh"
|
2943 | 2010 |
else
|
2944 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
|
2945 | |
$as_echo "could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
|
|
2011 |
echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
|
|
2012 |
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
|
2946 | 2013 |
fi
|
2947 | 2014 |
|
2948 | 2015 |
# eval is required to do the TCL_DBGX substitution
|
|
3008 | 2075 |
|
3009 | 2076 |
|
3010 | 2077 |
if test "$TCL_MAJOR_VERSION" -lt "8" ; then
|
3011 | |
as_fn_error "Upgrade to at least Tcl version 8.4." "$LINENO" 5
|
|
2078 |
{ { echo "$as_me:$LINENO: error: Upgrade to at least Tcl version 8.4." >&5
|
|
2079 |
echo "$as_me: error: Upgrade to at least Tcl version 8.4." >&2;}
|
|
2080 |
{ (exit 1); exit 1; }; }
|
3012 | 2081 |
else
|
3013 | 2082 |
if test "$TCL_MAJOR_VERSION" -eq "8" ; then
|
3014 | 2083 |
if test "$TCL_MINOR_VERSION" -lt "4" ; then
|
3015 | |
as_fn_error "Upgrade to at least Tcl version 8.4." "$LINENO" 5
|
|
2084 |
{ { echo "$as_me:$LINENO: error: Upgrade to at least Tcl version 8.4." >&5
|
|
2085 |
echo "$as_me: error: Upgrade to at least Tcl version 8.4." >&2;}
|
|
2086 |
{ (exit 1); exit 1; }; }
|
3016 | 2087 |
fi
|
3017 | 2088 |
fi
|
3018 | 2089 |
fi
|
|
3031 | 2102 |
# we reset no_tk in case something fails here
|
3032 | 2103 |
no_tk=true
|
3033 | 2104 |
|
3034 | |
# Check whether --with-tk was given.
|
3035 | |
if test "${with_tk+set}" = set; then :
|
3036 | |
withval=$with_tk; with_tkconfig="${withval}"
|
3037 | |
fi
|
3038 | |
|
3039 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tk configuration" >&5
|
3040 | |
$as_echo_n "checking for Tk configuration... " >&6; }
|
3041 | |
if test "${ac_cv_c_tkconfig+set}" = set; then :
|
3042 | |
$as_echo_n "(cached) " >&6
|
|
2105 |
# Check whether --with-tk or --without-tk was given.
|
|
2106 |
if test "${with_tk+set}" = set; then
|
|
2107 |
withval="$with_tk"
|
|
2108 |
with_tkconfig="${withval}"
|
|
2109 |
fi;
|
|
2110 |
echo "$as_me:$LINENO: checking for Tk configuration" >&5
|
|
2111 |
echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
|
|
2112 |
if test "${ac_cv_c_tkconfig+set}" = set; then
|
|
2113 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3043 | 2114 |
else
|
3044 | 2115 |
|
3045 | 2116 |
|
|
3048 | 2119 |
case "${with_tkconfig}" in
|
3049 | 2120 |
*/tkConfig.sh )
|
3050 | 2121 |
if test -f "${with_tkconfig}"; then
|
3051 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself" >&5
|
3052 | |
$as_echo "$as_me: WARNING: --with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself" >&2;}
|
|
2122 |
{ echo "$as_me:$LINENO: WARNING: --with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself" >&5
|
|
2123 |
echo "$as_me: WARNING: --with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself" >&2;}
|
3053 | 2124 |
with_tkconfig="`echo "${with_tkconfig}" | sed 's!/tkConfig\.sh$!!'`"
|
3054 | 2125 |
fi ;;
|
3055 | 2126 |
esac
|
3056 | 2127 |
if test -f "${with_tkconfig}/tkConfig.sh" ; then
|
3057 | 2128 |
ac_cv_c_tkconfig="`(cd "${with_tkconfig}"; pwd)`"
|
3058 | 2129 |
else
|
3059 | |
as_fn_error "${with_tkconfig} directory doesn't contain tkConfig.sh" "$LINENO" 5
|
|
2130 |
{ { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
|
|
2131 |
echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
|
|
2132 |
{ (exit 1); exit 1; }; }
|
3060 | 2133 |
fi
|
3061 | 2134 |
fi
|
3062 | 2135 |
|
|
3131 | 2204 |
|
3132 | 2205 |
if test x"${ac_cv_c_tkconfig}" = x ; then
|
3133 | 2206 |
TK_BIN_DIR="# no Tk configs found"
|
3134 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tk configuration definitions" >&5
|
3135 | |
$as_echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
|
|
2207 |
{ echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
|
|
2208 |
echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
|
3136 | 2209 |
exit 0
|
3137 | 2210 |
else
|
3138 | 2211 |
no_tk=
|
3139 | 2212 |
TK_BIN_DIR="${ac_cv_c_tkconfig}"
|
3140 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${TK_BIN_DIR}/tkConfig.sh" >&5
|
3141 | |
$as_echo "found ${TK_BIN_DIR}/tkConfig.sh" >&6; }
|
|
2213 |
echo "$as_me:$LINENO: result: found ${TK_BIN_DIR}/tkConfig.sh" >&5
|
|
2214 |
echo "${ECHO_T}found ${TK_BIN_DIR}/tkConfig.sh" >&6
|
3142 | 2215 |
fi
|
3143 | 2216 |
fi
|
3144 | 2217 |
|
3145 | 2218 |
if test "X$TK_BIN_DIR" = "X# no Tk configs found" ; then
|
3146 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tk not found, skipping." >&5
|
3147 | |
$as_echo "$as_me: WARNING: Tk not found, skipping." >&2;}
|
|
2219 |
{ echo "$as_me:$LINENO: WARNING: Tk not found, skipping." >&5
|
|
2220 |
echo "$as_me: WARNING: Tk not found, skipping." >&2;}
|
3148 | 2221 |
ETCL=no
|
3149 | 2222 |
DTCL=yes
|
3150 | 2223 |
else
|
3151 | 2224 |
|
3152 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of ${TK_BIN_DIR}/tkConfig.sh" >&5
|
3153 | |
$as_echo_n "checking for existence of ${TK_BIN_DIR}/tkConfig.sh... " >&6; }
|
|
2225 |
echo "$as_me:$LINENO: checking for existence of ${TK_BIN_DIR}/tkConfig.sh" >&5
|
|
2226 |
echo $ECHO_N "checking for existence of ${TK_BIN_DIR}/tkConfig.sh... $ECHO_C" >&6
|
3154 | 2227 |
|
3155 | 2228 |
if test -f "${TK_BIN_DIR}/tkConfig.sh" ; then
|
3156 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
|
3157 | |
$as_echo "loading" >&6; }
|
|
2229 |
echo "$as_me:$LINENO: result: loading" >&5
|
|
2230 |
echo "${ECHO_T}loading" >&6
|
3158 | 2231 |
. "${TK_BIN_DIR}/tkConfig.sh"
|
3159 | 2232 |
else
|
3160 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: could not find ${TK_BIN_DIR}/tkConfig.sh" >&5
|
3161 | |
$as_echo "could not find ${TK_BIN_DIR}/tkConfig.sh" >&6; }
|
|
2233 |
echo "$as_me:$LINENO: result: could not find ${TK_BIN_DIR}/tkConfig.sh" >&5
|
|
2234 |
echo "${ECHO_T}could not find ${TK_BIN_DIR}/tkConfig.sh" >&6
|
3162 | 2235 |
fi
|
3163 | 2236 |
|
3164 | 2237 |
# eval is required to do the TK_DBGX substitution
|
|
3221 | 2294 |
fi
|
3222 | 2295 |
fi
|
3223 | 2296 |
|
3224 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Tcl/Tk (if present) should be stubified" >&5
|
3225 | |
$as_echo_n "checking if Tcl/Tk (if present) should be stubified... " >&6; }
|
|
2297 |
echo "$as_me:$LINENO: checking if Tcl/Tk (if present) should be stubified" >&5
|
|
2298 |
echo $ECHO_N "checking if Tcl/Tk (if present) should be stubified... $ECHO_C" >&6
|
3226 | 2299 |
|
3227 | 2300 |
STUBIFY=no
|
3228 | |
# Check whether --enable-stubify was given.
|
3229 | |
if test "${enable_stubify+set}" = set; then :
|
3230 | |
enableval=$enable_stubify;
|
|
2301 |
# Check whether --enable-stubify or --disable-stubify was given.
|
|
2302 |
if test "${enable_stubify+set}" = set; then
|
|
2303 |
enableval="$enable_stubify"
|
|
2304 |
|
3231 | 2305 |
if test "X$enable_stubify" = "Xno" ; then
|
3232 | 2306 |
STUBIFY=no
|
3233 | 2307 |
else
|
|
3238 | 2312 |
|
3239 | 2313 |
STUBIFY=no
|
3240 | 2314 |
|
3241 | |
fi
|
3242 | |
|
3243 | |
|
3244 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STUBIFY" >&5
|
3245 | |
$as_echo "$STUBIFY" >&6; }
|
3246 | |
|
3247 | |
|
3248 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if gtk1 or gtk2 should be used" >&5
|
3249 | |
$as_echo_n "checking if gtk1 or gtk2 should be used... " >&6; }
|
|
2315 |
fi;
|
|
2316 |
|
|
2317 |
echo "$as_me:$LINENO: result: $STUBIFY" >&5
|
|
2318 |
echo "${ECHO_T}$STUBIFY" >&6
|
|
2319 |
|
|
2320 |
|
|
2321 |
echo "$as_me:$LINENO: checking if gtk1 or gtk2 should be used" >&5
|
|
2322 |
echo $ECHO_N "checking if gtk1 or gtk2 should be used... $ECHO_C" >&6
|
3250 | 2323 |
|
3251 | 2324 |
GTK1=no
|
3252 | |
# Check whether --enable-gtk1 was given.
|
3253 | |
if test "${enable_gtk1+set}" = set; then :
|
3254 | |
enableval=$enable_gtk1;
|
|
2325 |
# Check whether --enable-gtk1 or --disable-gtk1 was given.
|
|
2326 |
if test "${enable_gtk1+set}" = set; then
|
|
2327 |
enableval="$enable_gtk1"
|
|
2328 |
|
3255 | 2329 |
if test "X$enable_gtk1" = "Xno" ; then
|
3256 | 2330 |
GTK1=no
|
3257 | 2331 |
else
|
|
3262 | 2336 |
|
3263 | 2337 |
GTK1=no
|
3264 | 2338 |
|
3265 | |
fi
|
3266 | |
|
|
2339 |
fi;
|
3267 | 2340 |
|
3268 | 2341 |
if test "X$GTK1" = "Xyes" ; then
|
3269 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gtk1" >&5
|
3270 | |
$as_echo "gtk1" >&6; }
|
|
2342 |
echo "$as_me:$LINENO: result: gtk1" >&5
|
|
2343 |
echo "${ECHO_T}gtk1" >&6
|
3271 | 2344 |
CPPFLAGS="$CPPFLAGS"
|
3272 | 2345 |
else
|
3273 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gtk2" >&5
|
3274 | |
$as_echo "gtk2" >&6; }
|
|
2346 |
echo "$as_me:$LINENO: result: gtk2" >&5
|
|
2347 |
echo "${ECHO_T}gtk2" >&6
|
3275 | 2348 |
CPPFLAGS="-DWAVE_USE_GTK2 $CPPFLAGS"
|
3276 | 2349 |
fi
|
3277 | 2350 |
|
3278 | 2351 |
|
3279 | 2352 |
# check for "fisher price" (simvision rendering style) mode
|
3280 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if fatlines should be used" >&5
|
3281 | |
$as_echo_n "checking if fatlines should be used... " >&6; }
|
|
2353 |
echo "$as_me:$LINENO: checking if fatlines should be used" >&5
|
|
2354 |
echo $ECHO_N "checking if fatlines should be used... $ECHO_C" >&6
|
3282 | 2355 |
|
3283 | 2356 |
FLN=no
|
3284 | |
# Check whether --enable-fatlines was given.
|
3285 | |
if test "${enable_fatlines+set}" = set; then :
|
3286 | |
enableval=$enable_fatlines;
|
|
2357 |
# Check whether --enable-fatlines or --disable-fatlines was given.
|
|
2358 |
if test "${enable_fatlines+set}" = set; then
|
|
2359 |
enableval="$enable_fatlines"
|
|
2360 |
|
3287 | 2361 |
if test "X$enable_fatlines" = "Xno" ; then
|
3288 | 2362 |
FLN=no
|
3289 | 2363 |
else
|
|
3294 | 2368 |
|
3295 | 2369 |
FLN=no
|
3296 | 2370 |
|
3297 | |
fi
|
3298 | |
|
|
2371 |
fi;
|
3299 | 2372 |
|
3300 | 2373 |
if test "X$FLN" = "Xno" ; then
|
3301 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3302 | |
$as_echo "no" >&6; }
|
3303 | |
else
|
3304 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3305 | |
$as_echo "yes" >&6; }
|
|
2374 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2375 |
echo "${ECHO_T}no" >&6
|
|
2376 |
else
|
|
2377 |
echo "$as_me:$LINENO: result: yes" >&5
|
|
2378 |
echo "${ECHO_T}yes" >&6
|
3306 | 2379 |
CPPFLAGS="-DWAVE_DOUBLE_LINE_WIDTH_MODE $CPPFLAGS"
|
3307 | 2380 |
fi
|
3308 | 2381 |
|
3309 | 2382 |
|
3310 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ae2 support should be used" >&5
|
3311 | |
$as_echo_n "checking if ae2 support should be used... " >&6; }
|
|
2383 |
echo "$as_me:$LINENO: checking if ae2 support should be used" >&5
|
|
2384 |
echo $ECHO_N "checking if ae2 support should be used... $ECHO_C" >&6
|
3312 | 2385 |
|
3313 | 2386 |
AE2_CFLAGS=
|
3314 | 2387 |
AET2_LDADD=
|
3315 | 2388 |
AE2=no
|
3316 | |
# Check whether --enable-ae2 was given.
|
3317 | |
if test "${enable_ae2+set}" = set; then :
|
3318 | |
enableval=$enable_ae2;
|
|
2389 |
# Check whether --enable-ae2 or --disable-ae2 was given.
|
|
2390 |
if test "${enable_ae2+set}" = set; then
|
|
2391 |
enableval="$enable_ae2"
|
|
2392 |
|
3319 | 2393 |
if test "X$enable_ae2" = "Xno" ; then
|
3320 | 2394 |
AE2=no
|
3321 | 2395 |
else
|
|
3326 | 2400 |
|
3327 | 2401 |
AE2=no
|
3328 | 2402 |
|
3329 | |
fi
|
3330 | |
|
|
2403 |
fi;
|
3331 | 2404 |
|
3332 | 2405 |
if test "X$AE2" = "Xyes" ; then
|
3333 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/afs/awd/projects/simarama/releases/latest/libae2rw.so\"" >&5
|
3334 | |
$as_echo_n "checking for \"/afs/awd/projects/simarama/releases/latest/libae2rw.so\"... " >&6; }
|
3335 | |
if test "${ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_+set}" = set; then :
|
3336 | |
$as_echo_n "(cached) " >&6
|
|
2406 |
echo "$as_me:$LINENO: checking for \"/afs/awd/projects/simarama/releases/latest/libae2rw.so\"" >&5
|
|
2407 |
echo $ECHO_N "checking for \"/afs/awd/projects/simarama/releases/latest/libae2rw.so\"... $ECHO_C" >&6
|
|
2408 |
if test "${ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_+set}" = set; then
|
|
2409 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3337 | 2410 |
else
|
3338 | 2411 |
test "$cross_compiling" = yes &&
|
3339 | |
as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
|
|
2412 |
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
|
2413 |
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
|
2414 |
{ (exit 1); exit 1; }; }
|
3340 | 2415 |
if test -r ""/afs/awd/projects/simarama/releases/latest/libae2rw.so""; then
|
3341 | 2416 |
ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_=yes
|
3342 | 2417 |
else
|
3343 | 2418 |
ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_=no
|
3344 | 2419 |
fi
|
3345 | 2420 |
fi
|
3346 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_" >&5
|
3347 | |
$as_echo "$ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_" >&6; }
|
3348 | |
if test "x$ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_" = x""yes; then :
|
|
2421 |
echo "$as_me:$LINENO: result: $ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_" >&5
|
|
2422 |
echo "${ECHO_T}$ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_" >&6
|
|
2423 |
if test $ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_so_ = yes; then
|
3349 | 2424 |
AET2_SO=yes
|
3350 | 2425 |
else
|
3351 | 2426 |
AET2_SO=no
|
|
3357 | 2432 |
AET2_LDADD="/afs/awd/projects/simarama/releases/latest/libae2rw.so"
|
3358 | 2433 |
else
|
3359 | 2434 |
|
3360 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/afs/awd/projects/simarama/releases/latest/libae2rw.a\"" >&5
|
3361 | |
$as_echo_n "checking for \"/afs/awd/projects/simarama/releases/latest/libae2rw.a\"... " >&6; }
|
3362 | |
if test "${ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_+set}" = set; then :
|
3363 | |
$as_echo_n "(cached) " >&6
|
|
2435 |
echo "$as_me:$LINENO: checking for \"/afs/awd/projects/simarama/releases/latest/libae2rw.a\"" >&5
|
|
2436 |
echo $ECHO_N "checking for \"/afs/awd/projects/simarama/releases/latest/libae2rw.a\"... $ECHO_C" >&6
|
|
2437 |
if test "${ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_+set}" = set; then
|
|
2438 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3364 | 2439 |
else
|
3365 | 2440 |
test "$cross_compiling" = yes &&
|
3366 | |
as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
|
|
2441 |
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
|
2442 |
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
|
2443 |
{ (exit 1); exit 1; }; }
|
3367 | 2444 |
if test -r ""/afs/awd/projects/simarama/releases/latest/libae2rw.a""; then
|
3368 | 2445 |
ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_=yes
|
3369 | 2446 |
else
|
3370 | 2447 |
ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_=no
|
3371 | 2448 |
fi
|
3372 | 2449 |
fi
|
3373 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_" >&5
|
3374 | |
$as_echo "$ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_" >&6; }
|
3375 | |
if test "x$ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_" = x""yes; then :
|
|
2450 |
echo "$as_me:$LINENO: result: $ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_" >&5
|
|
2451 |
echo "${ECHO_T}$ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_" >&6
|
|
2452 |
if test $ac_cv_file___afs_awd_projects_simarama_releases_latest_libae2rw_a_ = yes; then
|
3376 | 2453 |
AET2_A=yes
|
3377 | 2454 |
else
|
3378 | 2455 |
AET2_A=no
|
|
3383 | 2460 |
AET2_LDADD="/afs/awd/projects/simarama/releases/latest/libae2rw.a"
|
3384 | 2461 |
else
|
3385 | 2462 |
|
3386 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AET2 library not found, skipping." >&5
|
3387 | |
$as_echo "$as_me: WARNING: AET2 library not found, skipping." >&2;}
|
|
2463 |
{ echo "$as_me:$LINENO: WARNING: AET2 library not found, skipping." >&5
|
|
2464 |
echo "$as_me: WARNING: AET2 library not found, skipping." >&2;}
|
3388 | 2465 |
|
3389 | 2466 |
fi
|
3390 | 2467 |
fi
|
3391 | 2468 |
|
3392 | 2469 |
else
|
3393 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3394 | |
$as_echo "no" >&6; }
|
|
2470 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2471 |
echo "${ECHO_T}no" >&6
|
3395 | 2472 |
fi
|
3396 | 2473 |
|
3397 | 2474 |
|
|
3404 | 2481 |
do
|
3405 | 2482 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3406 | 2483 |
set dummy $ac_prog; ac_word=$2
|
3407 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3408 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3409 | |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
3410 | |
$as_echo_n "(cached) " >&6
|
|
2484 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2485 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2486 |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
2487 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3411 | 2488 |
else
|
3412 | 2489 |
if test -n "$AWK"; then
|
3413 | 2490 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
3417 | 2494 |
do
|
3418 | 2495 |
IFS=$as_save_IFS
|
3419 | 2496 |
test -z "$as_dir" && as_dir=.
|
3420 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3421 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2497 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2498 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3422 | 2499 |
ac_cv_prog_AWK="$ac_prog"
|
3423 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2500 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3424 | 2501 |
break 2
|
3425 | 2502 |
fi
|
3426 | 2503 |
done
|
3427 | |
done
|
3428 | |
IFS=$as_save_IFS
|
|
2504 |
done
|
3429 | 2505 |
|
3430 | 2506 |
fi
|
3431 | 2507 |
fi
|
3432 | 2508 |
AWK=$ac_cv_prog_AWK
|
3433 | 2509 |
if test -n "$AWK"; then
|
3434 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
3435 | |
$as_echo "$AWK" >&6; }
|
3436 | |
else
|
3437 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3438 | |
$as_echo "no" >&6; }
|
3439 | |
fi
|
3440 | |
|
|
2510 |
echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2511 |
echo "${ECHO_T}$AWK" >&6
|
|
2512 |
else
|
|
2513 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2514 |
echo "${ECHO_T}no" >&6
|
|
2515 |
fi
|
3441 | 2516 |
|
3442 | 2517 |
test -n "$AWK" && break
|
3443 | 2518 |
done
|
|
3450 | 2525 |
if test -n "$ac_tool_prefix"; then
|
3451 | 2526 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
3452 | 2527 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
3453 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3454 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3455 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
3456 | |
$as_echo_n "(cached) " >&6
|
|
2528 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2529 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2530 |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2531 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3457 | 2532 |
else
|
3458 | 2533 |
if test -n "$CC"; then
|
3459 | 2534 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
3463 | 2538 |
do
|
3464 | 2539 |
IFS=$as_save_IFS
|
3465 | 2540 |
test -z "$as_dir" && as_dir=.
|
3466 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3467 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2541 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2542 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3468 | 2543 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
3469 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2544 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3470 | 2545 |
break 2
|
3471 | 2546 |
fi
|
3472 | 2547 |
done
|
3473 | |
done
|
3474 | |
IFS=$as_save_IFS
|
|
2548 |
done
|
3475 | 2549 |
|
3476 | 2550 |
fi
|
3477 | 2551 |
fi
|
3478 | 2552 |
CC=$ac_cv_prog_CC
|
3479 | 2553 |
if test -n "$CC"; then
|
3480 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3481 | |
$as_echo "$CC" >&6; }
|
3482 | |
else
|
3483 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3484 | |
$as_echo "no" >&6; }
|
3485 | |
fi
|
3486 | |
|
|
2554 |
echo "$as_me:$LINENO: result: $CC" >&5
|
|
2555 |
echo "${ECHO_T}$CC" >&6
|
|
2556 |
else
|
|
2557 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2558 |
echo "${ECHO_T}no" >&6
|
|
2559 |
fi
|
3487 | 2560 |
|
3488 | 2561 |
fi
|
3489 | 2562 |
if test -z "$ac_cv_prog_CC"; then
|
3490 | 2563 |
ac_ct_CC=$CC
|
3491 | 2564 |
# Extract the first word of "gcc", so it can be a program name with args.
|
3492 | 2565 |
set dummy gcc; ac_word=$2
|
3493 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3494 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3495 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
3496 | |
$as_echo_n "(cached) " >&6
|
|
2566 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2567 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2568 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2569 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3497 | 2570 |
else
|
3498 | 2571 |
if test -n "$ac_ct_CC"; then
|
3499 | 2572 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
3503 | 2576 |
do
|
3504 | 2577 |
IFS=$as_save_IFS
|
3505 | 2578 |
test -z "$as_dir" && as_dir=.
|
3506 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3507 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2579 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2580 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3508 | 2581 |
ac_cv_prog_ac_ct_CC="gcc"
|
3509 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2582 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3510 | 2583 |
break 2
|
3511 | 2584 |
fi
|
3512 | 2585 |
done
|
3513 | |
done
|
3514 | |
IFS=$as_save_IFS
|
|
2586 |
done
|
3515 | 2587 |
|
3516 | 2588 |
fi
|
3517 | 2589 |
fi
|
3518 | 2590 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3519 | 2591 |
if test -n "$ac_ct_CC"; then
|
3520 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3521 | |
$as_echo "$ac_ct_CC" >&6; }
|
3522 | |
else
|
3523 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3524 | |
$as_echo "no" >&6; }
|
3525 | |
fi
|
3526 | |
|
3527 | |
if test "x$ac_ct_CC" = x; then
|
3528 | |
CC=""
|
3529 | |
else
|
3530 | |
case $cross_compiling:$ac_tool_warned in
|
3531 | |
yes:)
|
3532 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3533 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3534 | |
ac_tool_warned=yes ;;
|
3535 | |
esac
|
3536 | |
CC=$ac_ct_CC
|
3537 | |
fi
|
|
2592 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2593 |
echo "${ECHO_T}$ac_ct_CC" >&6
|
|
2594 |
else
|
|
2595 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2596 |
echo "${ECHO_T}no" >&6
|
|
2597 |
fi
|
|
2598 |
|
|
2599 |
CC=$ac_ct_CC
|
3538 | 2600 |
else
|
3539 | 2601 |
CC="$ac_cv_prog_CC"
|
3540 | 2602 |
fi
|
3541 | 2603 |
|
3542 | 2604 |
if test -z "$CC"; then
|
3543 | |
if test -n "$ac_tool_prefix"; then
|
3544 | |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
2605 |
if test -n "$ac_tool_prefix"; then
|
|
2606 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
3545 | 2607 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
3546 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3547 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3548 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
3549 | |
$as_echo_n "(cached) " >&6
|
|
2608 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2609 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2610 |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2611 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3550 | 2612 |
else
|
3551 | 2613 |
if test -n "$CC"; then
|
3552 | 2614 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
3556 | 2618 |
do
|
3557 | 2619 |
IFS=$as_save_IFS
|
3558 | 2620 |
test -z "$as_dir" && as_dir=.
|
3559 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3560 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2621 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2622 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3561 | 2623 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
3562 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2624 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3563 | 2625 |
break 2
|
3564 | 2626 |
fi
|
3565 | 2627 |
done
|
3566 | |
done
|
3567 | |
IFS=$as_save_IFS
|
|
2628 |
done
|
3568 | 2629 |
|
3569 | 2630 |
fi
|
3570 | 2631 |
fi
|
3571 | 2632 |
CC=$ac_cv_prog_CC
|
3572 | 2633 |
if test -n "$CC"; then
|
3573 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3574 | |
$as_echo "$CC" >&6; }
|
3575 | |
else
|
3576 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3577 | |
$as_echo "no" >&6; }
|
3578 | |
fi
|
3579 | |
|
3580 | |
|
|
2634 |
echo "$as_me:$LINENO: result: $CC" >&5
|
|
2635 |
echo "${ECHO_T}$CC" >&6
|
|
2636 |
else
|
|
2637 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2638 |
echo "${ECHO_T}no" >&6
|
|
2639 |
fi
|
|
2640 |
|
|
2641 |
fi
|
|
2642 |
if test -z "$ac_cv_prog_CC"; then
|
|
2643 |
ac_ct_CC=$CC
|
|
2644 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
2645 |
set dummy cc; ac_word=$2
|
|
2646 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2647 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2648 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2649 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2650 |
else
|
|
2651 |
if test -n "$ac_ct_CC"; then
|
|
2652 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2653 |
else
|
|
2654 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2655 |
for as_dir in $PATH
|
|
2656 |
do
|
|
2657 |
IFS=$as_save_IFS
|
|
2658 |
test -z "$as_dir" && as_dir=.
|
|
2659 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2660 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2661 |
ac_cv_prog_ac_ct_CC="cc"
|
|
2662 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2663 |
break 2
|
3581 | 2664 |
fi
|
|
2665 |
done
|
|
2666 |
done
|
|
2667 |
|
|
2668 |
fi
|
|
2669 |
fi
|
|
2670 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
2671 |
if test -n "$ac_ct_CC"; then
|
|
2672 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2673 |
echo "${ECHO_T}$ac_ct_CC" >&6
|
|
2674 |
else
|
|
2675 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2676 |
echo "${ECHO_T}no" >&6
|
|
2677 |
fi
|
|
2678 |
|
|
2679 |
CC=$ac_ct_CC
|
|
2680 |
else
|
|
2681 |
CC="$ac_cv_prog_CC"
|
|
2682 |
fi
|
|
2683 |
|
3582 | 2684 |
fi
|
3583 | 2685 |
if test -z "$CC"; then
|
3584 | 2686 |
# Extract the first word of "cc", so it can be a program name with args.
|
3585 | 2687 |
set dummy cc; ac_word=$2
|
3586 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3587 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3588 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
3589 | |
$as_echo_n "(cached) " >&6
|
|
2688 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2689 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2690 |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2691 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3590 | 2692 |
else
|
3591 | 2693 |
if test -n "$CC"; then
|
3592 | 2694 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
3597 | 2699 |
do
|
3598 | 2700 |
IFS=$as_save_IFS
|
3599 | 2701 |
test -z "$as_dir" && as_dir=.
|
3600 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3601 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2702 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2703 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3602 | 2704 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
3603 | 2705 |
ac_prog_rejected=yes
|
3604 | 2706 |
continue
|
3605 | 2707 |
fi
|
3606 | 2708 |
ac_cv_prog_CC="cc"
|
3607 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2709 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3608 | 2710 |
break 2
|
3609 | 2711 |
fi
|
3610 | 2712 |
done
|
3611 | |
done
|
3612 | |
IFS=$as_save_IFS
|
|
2713 |
done
|
3613 | 2714 |
|
3614 | 2715 |
if test $ac_prog_rejected = yes; then
|
3615 | 2716 |
# We found a bogon in the path, so make sure we never use it.
|
|
3627 | 2728 |
fi
|
3628 | 2729 |
CC=$ac_cv_prog_CC
|
3629 | 2730 |
if test -n "$CC"; then
|
3630 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3631 | |
$as_echo "$CC" >&6; }
|
3632 | |
else
|
3633 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3634 | |
$as_echo "no" >&6; }
|
3635 | |
fi
|
3636 | |
|
|
2731 |
echo "$as_me:$LINENO: result: $CC" >&5
|
|
2732 |
echo "${ECHO_T}$CC" >&6
|
|
2733 |
else
|
|
2734 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2735 |
echo "${ECHO_T}no" >&6
|
|
2736 |
fi
|
3637 | 2737 |
|
3638 | 2738 |
fi
|
3639 | 2739 |
if test -z "$CC"; then
|
3640 | 2740 |
if test -n "$ac_tool_prefix"; then
|
3641 | |
for ac_prog in cl.exe
|
|
2741 |
for ac_prog in cl
|
3642 | 2742 |
do
|
3643 | 2743 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3644 | 2744 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3645 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3646 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3647 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
3648 | |
$as_echo_n "(cached) " >&6
|
|
2745 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2746 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2747 |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
2748 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3649 | 2749 |
else
|
3650 | 2750 |
if test -n "$CC"; then
|
3651 | 2751 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
3655 | 2755 |
do
|
3656 | 2756 |
IFS=$as_save_IFS
|
3657 | 2757 |
test -z "$as_dir" && as_dir=.
|
3658 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3659 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2758 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2759 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3660 | 2760 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
3661 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2761 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3662 | 2762 |
break 2
|
3663 | 2763 |
fi
|
3664 | 2764 |
done
|
3665 | |
done
|
3666 | |
IFS=$as_save_IFS
|
|
2765 |
done
|
3667 | 2766 |
|
3668 | 2767 |
fi
|
3669 | 2768 |
fi
|
3670 | 2769 |
CC=$ac_cv_prog_CC
|
3671 | 2770 |
if test -n "$CC"; then
|
3672 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3673 | |
$as_echo "$CC" >&6; }
|
3674 | |
else
|
3675 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3676 | |
$as_echo "no" >&6; }
|
3677 | |
fi
|
3678 | |
|
|
2771 |
echo "$as_me:$LINENO: result: $CC" >&5
|
|
2772 |
echo "${ECHO_T}$CC" >&6
|
|
2773 |
else
|
|
2774 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2775 |
echo "${ECHO_T}no" >&6
|
|
2776 |
fi
|
3679 | 2777 |
|
3680 | 2778 |
test -n "$CC" && break
|
3681 | 2779 |
done
|
3682 | 2780 |
fi
|
3683 | 2781 |
if test -z "$CC"; then
|
3684 | 2782 |
ac_ct_CC=$CC
|
3685 | |
for ac_prog in cl.exe
|
|
2783 |
for ac_prog in cl
|
3686 | 2784 |
do
|
3687 | 2785 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3688 | 2786 |
set dummy $ac_prog; ac_word=$2
|
3689 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3690 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3691 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
3692 | |
$as_echo_n "(cached) " >&6
|
|
2787 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2788 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2789 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
2790 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3693 | 2791 |
else
|
3694 | 2792 |
if test -n "$ac_ct_CC"; then
|
3695 | 2793 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
3699 | 2797 |
do
|
3700 | 2798 |
IFS=$as_save_IFS
|
3701 | 2799 |
test -z "$as_dir" && as_dir=.
|
3702 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3703 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2800 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2801 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
3704 | 2802 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
3705 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2803 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3706 | 2804 |
break 2
|
3707 | 2805 |
fi
|
3708 | 2806 |
done
|
3709 | |
done
|
3710 | |
IFS=$as_save_IFS
|
|
2807 |
done
|
3711 | 2808 |
|
3712 | 2809 |
fi
|
3713 | 2810 |
fi
|
3714 | 2811 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3715 | 2812 |
if test -n "$ac_ct_CC"; then
|
3716 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3717 | |
$as_echo "$ac_ct_CC" >&6; }
|
3718 | |
else
|
3719 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3720 | |
$as_echo "no" >&6; }
|
3721 | |
fi
|
3722 | |
|
|
2813 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2814 |
echo "${ECHO_T}$ac_ct_CC" >&6
|
|
2815 |
else
|
|
2816 |
echo "$as_me:$LINENO: result: no" >&5
|
|
2817 |
echo "${ECHO_T}no" >&6
|
|
2818 |
fi
|
3723 | 2819 |
|
3724 | 2820 |
test -n "$ac_ct_CC" && break
|
3725 | 2821 |
done
|
3726 | 2822 |
|
3727 | |
if test "x$ac_ct_CC" = x; then
|
3728 | |
CC=""
|
3729 | |
else
|
3730 | |
case $cross_compiling:$ac_tool_warned in
|
3731 | |
yes:)
|
3732 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3733 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3734 | |
ac_tool_warned=yes ;;
|
3735 | |
esac
|
3736 | |
CC=$ac_ct_CC
|
3737 | |
fi
|
3738 | |
fi
|
3739 | |
|
3740 | |
fi
|
3741 | |
|
3742 | |
|
3743 | |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3744 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3745 | |
as_fn_error "no acceptable C compiler found in \$PATH
|
3746 | |
See \`config.log' for more details." "$LINENO" 5; }
|
|
2823 |
CC=$ac_ct_CC
|
|
2824 |
fi
|
|
2825 |
|
|
2826 |
fi
|
|
2827 |
|
|
2828 |
|
|
2829 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
|
2830 |
See \`config.log' for more details." >&5
|
|
2831 |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
|
2832 |
See \`config.log' for more details." >&2;}
|
|
2833 |
{ (exit 1); exit 1; }; }
|
3747 | 2834 |
|
3748 | 2835 |
# Provide some information about the compiler.
|
3749 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
3750 | |
set X $ac_compile
|
3751 | |
ac_compiler=$2
|
3752 | |
for ac_option in --version -v -V -qversion; do
|
3753 | |
{ { ac_try="$ac_compiler $ac_option >&5"
|
3754 | |
case "(($ac_try" in
|
3755 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3756 | |
*) ac_try_echo=$ac_try;;
|
3757 | |
esac
|
3758 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3759 | |
$as_echo "$ac_try_echo"; } >&5
|
3760 | |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3761 | |
ac_status=$?
|
3762 | |
if test -s conftest.err; then
|
3763 | |
sed '10a\
|
3764 | |
... rest of stderr output deleted ...
|
3765 | |
10q' conftest.err >conftest.er1
|
3766 | |
cat conftest.er1 >&5
|
3767 | |
fi
|
3768 | |
rm -f conftest.er1 conftest.err
|
3769 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3770 | |
test $ac_status = 0; }
|
3771 | |
done
|
3772 | |
|
3773 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2836 |
echo "$as_me:$LINENO:" \
|
|
2837 |
"checking for C compiler version" >&5
|
|
2838 |
ac_compiler=`set X $ac_compile; echo $2`
|
|
2839 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
|
2840 |
(eval $ac_compiler --version </dev/null >&5) 2>&5
|
|
2841 |
ac_status=$?
|
|
2842 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2843 |
(exit $ac_status); }
|
|
2844 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
|
2845 |
(eval $ac_compiler -v </dev/null >&5) 2>&5
|
|
2846 |
ac_status=$?
|
|
2847 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2848 |
(exit $ac_status); }
|
|
2849 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
|
2850 |
(eval $ac_compiler -V </dev/null >&5) 2>&5
|
|
2851 |
ac_status=$?
|
|
2852 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2853 |
(exit $ac_status); }
|
|
2854 |
|
|
2855 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2856 |
/* confdefs.h. */
|
|
2857 |
_ACEOF
|
|
2858 |
cat confdefs.h >>conftest.$ac_ext
|
|
2859 |
cat >>conftest.$ac_ext <<_ACEOF
|
3774 | 2860 |
/* end confdefs.h. */
|
3775 | 2861 |
|
3776 | 2862 |
int
|
|
3782 | 2868 |
}
|
3783 | 2869 |
_ACEOF
|
3784 | 2870 |
ac_clean_files_save=$ac_clean_files
|
3785 | |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
|
2871 |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
3786 | 2872 |
# Try to create an executable without -o first, disregard a.out.
|
3787 | 2873 |
# It will help us diagnose broken compilers, and finding out an intuition
|
3788 | 2874 |
# of exeext.
|
3789 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
3790 | |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
3791 | |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3792 | |
|
3793 | |
# The possible output files:
|
3794 | |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
3795 | |
|
3796 | |
ac_rmfiles=
|
3797 | |
for ac_file in $ac_files
|
3798 | |
do
|
3799 | |
case $ac_file in
|
3800 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
3801 | |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
3802 | |
esac
|
3803 | |
done
|
3804 | |
rm -f $ac_rmfiles
|
3805 | |
|
3806 | |
if { { ac_try="$ac_link_default"
|
3807 | |
case "(($ac_try" in
|
3808 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3809 | |
*) ac_try_echo=$ac_try;;
|
3810 | |
esac
|
3811 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3812 | |
$as_echo "$ac_try_echo"; } >&5
|
3813 | |
(eval "$ac_link_default") 2>&5
|
3814 | |
ac_status=$?
|
3815 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3816 | |
test $ac_status = 0; }; then :
|
3817 | |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3818 | |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
3819 | |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
3820 | |
# so that the user can short-circuit this test for compilers unknown to
|
3821 | |
# Autoconf.
|
3822 | |
for ac_file in $ac_files ''
|
|
2875 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
|
2876 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
|
2877 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
2878 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
|
2879 |
(eval $ac_link_default) 2>&5
|
|
2880 |
ac_status=$?
|
|
2881 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2882 |
(exit $ac_status); }; then
|
|
2883 |
# Find the output, starting from the most likely. This scheme is
|
|
2884 |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
|
2885 |
# resort.
|
|
2886 |
|
|
2887 |
# Be careful to initialize this variable, since it used to be cached.
|
|
2888 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
|
2889 |
ac_cv_exeext=
|
|
2890 |
# b.out is created by i960 compilers.
|
|
2891 |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
3823 | 2892 |
do
|
3824 | 2893 |
test -f "$ac_file" || continue
|
3825 | 2894 |
case $ac_file in
|
3826 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
|
2895 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
|
2896 |
;;
|
|
2897 |
conftest.$ac_ext )
|
|
2898 |
# This is the source file.
|
3827 | 2899 |
;;
|
3828 | 2900 |
[ab].out )
|
3829 | 2901 |
# We found the default executable, but exeext='' is most
|
3830 | 2902 |
# certainly right.
|
3831 | 2903 |
break;;
|
3832 | 2904 |
*.* )
|
3833 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
3834 | |
then :; else
|
3835 | |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3836 | |
fi
|
3837 | |
# We set ac_cv_exeext here because the later test for it is not
|
3838 | |
# safe: cross compilers may not add the suffix if given an `-o'
|
3839 | |
# argument, so we may need to know it at that point already.
|
3840 | |
# Even if this section looks crufty: it has the advantage of
|
3841 | |
# actually working.
|
|
2905 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
2906 |
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
|
2907 |
# but it would be cool to find out if it's true. Does anybody
|
|
2908 |
# maintain Libtool? --akim.
|
|
2909 |
export ac_cv_exeext
|
3842 | 2910 |
break;;
|
3843 | 2911 |
* )
|
3844 | 2912 |
break;;
|
3845 | 2913 |
esac
|
3846 | 2914 |
done
|
3847 | |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
3848 | |
|
3849 | |
else
|
3850 | |
ac_file=''
|
3851 | |
fi
|
3852 | |
if test -z "$ac_file"; then :
|
3853 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3854 | |
$as_echo "no" >&6; }
|
3855 | |
$as_echo "$as_me: failed program was:" >&5
|
|
2915 |
else
|
|
2916 |
echo "$as_me: failed program was:" >&5
|
3856 | 2917 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3857 | 2918 |
|
3858 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3859 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3860 | |
{ as_fn_set_status 77
|
3861 | |
as_fn_error "C compiler cannot create executables
|
3862 | |
See \`config.log' for more details." "$LINENO" 5; }; }
|
3863 | |
else
|
3864 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3865 | |
$as_echo "yes" >&6; }
|
3866 | |
fi
|
3867 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
3868 | |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
3869 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
3870 | |
$as_echo "$ac_file" >&6; }
|
|
2919 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
|
2920 |
See \`config.log' for more details." >&5
|
|
2921 |
echo "$as_me: error: C compiler cannot create executables
|
|
2922 |
See \`config.log' for more details." >&2;}
|
|
2923 |
{ (exit 77); exit 77; }; }
|
|
2924 |
fi
|
|
2925 |
|
3871 | 2926 |
ac_exeext=$ac_cv_exeext
|
3872 | |
|
3873 | |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
|
2927 |
echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
2928 |
echo "${ECHO_T}$ac_file" >&6
|
|
2929 |
|
|
2930 |
# Check the compiler produces executables we can run. If not, either
|
|
2931 |
# the compiler is broken, or we cross compile.
|
|
2932 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
|
2933 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
|
2934 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
|
2935 |
# If not cross compiling, check that we can run a simple program.
|
|
2936 |
if test "$cross_compiling" != yes; then
|
|
2937 |
if { ac_try='./$ac_file'
|
|
2938 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
2939 |
(eval $ac_try) 2>&5
|
|
2940 |
ac_status=$?
|
|
2941 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2942 |
(exit $ac_status); }; }; then
|
|
2943 |
cross_compiling=no
|
|
2944 |
else
|
|
2945 |
if test "$cross_compiling" = maybe; then
|
|
2946 |
cross_compiling=yes
|
|
2947 |
else
|
|
2948 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
|
2949 |
If you meant to cross compile, use \`--host'.
|
|
2950 |
See \`config.log' for more details." >&5
|
|
2951 |
echo "$as_me: error: cannot run C compiled programs.
|
|
2952 |
If you meant to cross compile, use \`--host'.
|
|
2953 |
See \`config.log' for more details." >&2;}
|
|
2954 |
{ (exit 1); exit 1; }; }
|
|
2955 |
fi
|
|
2956 |
fi
|
|
2957 |
fi
|
|
2958 |
echo "$as_me:$LINENO: result: yes" >&5
|
|
2959 |
echo "${ECHO_T}yes" >&6
|
|
2960 |
|
|
2961 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
3874 | 2962 |
ac_clean_files=$ac_clean_files_save
|
3875 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
3876 | |
$as_echo_n "checking for suffix of executables... " >&6; }
|
3877 | |
if { { ac_try="$ac_link"
|
3878 | |
case "(($ac_try" in
|
3879 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3880 | |
*) ac_try_echo=$ac_try;;
|
3881 | |
esac
|
3882 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3883 | |
$as_echo "$ac_try_echo"; } >&5
|
3884 | |
(eval "$ac_link") 2>&5
|
3885 | |
ac_status=$?
|
3886 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3887 | |
test $ac_status = 0; }; then :
|
|
2963 |
# Check the compiler produces executables we can run. If not, either
|
|
2964 |
# the compiler is broken, or we cross compile.
|
|
2965 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
2966 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
|
2967 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
2968 |
echo "${ECHO_T}$cross_compiling" >&6
|
|
2969 |
|
|
2970 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
2971 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
|
2972 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
2973 |
(eval $ac_link) 2>&5
|
|
2974 |
ac_status=$?
|
|
2975 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2976 |
(exit $ac_status); }; then
|
3888 | 2977 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3889 | 2978 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3890 | 2979 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3892 | 2981 |
for ac_file in conftest.exe conftest conftest.*; do
|
3893 | 2982 |
test -f "$ac_file" || continue
|
3894 | 2983 |
case $ac_file in
|
3895 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
|
2984 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
3896 | 2985 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
2986 |
export ac_cv_exeext
|
3897 | 2987 |
break;;
|
3898 | 2988 |
* ) break;;
|
3899 | 2989 |
esac
|
3900 | 2990 |
done
|
3901 | 2991 |
else
|
3902 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3903 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3904 | |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
3905 | |
See \`config.log' for more details." "$LINENO" 5; }
|
3906 | |
fi
|
3907 | |
rm -f conftest conftest$ac_cv_exeext
|
3908 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
3909 | |
$as_echo "$ac_cv_exeext" >&6; }
|
|
2992 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
|
2993 |
See \`config.log' for more details." >&5
|
|
2994 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
|
2995 |
See \`config.log' for more details." >&2;}
|
|
2996 |
{ (exit 1); exit 1; }; }
|
|
2997 |
fi
|
|
2998 |
|
|
2999 |
rm -f conftest$ac_cv_exeext
|
|
3000 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
3001 |
echo "${ECHO_T}$ac_cv_exeext" >&6
|
3910 | 3002 |
|
3911 | 3003 |
rm -f conftest.$ac_ext
|
3912 | 3004 |
EXEEXT=$ac_cv_exeext
|
3913 | 3005 |
ac_exeext=$EXEEXT
|
3914 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3006 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
3007 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
|
3008 |
if test "${ac_cv_objext+set}" = set; then
|
|
3009 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3010 |
else
|
|
3011 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3012 |
/* confdefs.h. */
|
|
3013 |
_ACEOF
|
|
3014 |
cat confdefs.h >>conftest.$ac_ext
|
|
3015 |
cat >>conftest.$ac_ext <<_ACEOF
|
3915 | 3016 |
/* end confdefs.h. */
|
3916 | |
#include <stdio.h>
|
|
3017 |
|
3917 | 3018 |
int
|
3918 | 3019 |
main ()
|
3919 | 3020 |
{
|
3920 | |
FILE *f = fopen ("conftest.out", "w");
|
3921 | |
return ferror (f) || fclose (f) != 0;
|
3922 | 3021 |
|
3923 | 3022 |
;
|
3924 | 3023 |
return 0;
|
3925 | 3024 |
}
|
3926 | 3025 |
_ACEOF
|
3927 | |
ac_clean_files="$ac_clean_files conftest.out"
|
3928 | |
# Check that the compiler produces executables we can run. If not, either
|
3929 | |
# the compiler is broken, or we cross compile.
|
3930 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
3931 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
3932 | |
if test "$cross_compiling" != yes; then
|
3933 | |
{ { ac_try="$ac_link"
|
3934 | |
case "(($ac_try" in
|
3935 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3936 | |
*) ac_try_echo=$ac_try;;
|
3937 | |
esac
|
3938 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3939 | |
$as_echo "$ac_try_echo"; } >&5
|
3940 | |
(eval "$ac_link") 2>&5
|
3941 | |
ac_status=$?
|
3942 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3943 | |
test $ac_status = 0; }
|
3944 | |
if { ac_try='./conftest$ac_cv_exeext'
|
3945 | |
{ { case "(($ac_try" in
|
3946 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3947 | |
*) ac_try_echo=$ac_try;;
|
3948 | |
esac
|
3949 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3950 | |
$as_echo "$ac_try_echo"; } >&5
|
3951 | |
(eval "$ac_try") 2>&5
|
3952 | |
ac_status=$?
|
3953 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3954 | |
test $ac_status = 0; }; }; then
|
3955 | |
cross_compiling=no
|
3956 | |
else
|
3957 | |
if test "$cross_compiling" = maybe; then
|
3958 | |
cross_compiling=yes
|
3959 | |
else
|
3960 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3961 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3962 | |
as_fn_error "cannot run C compiled programs.
|
3963 | |
If you meant to cross compile, use \`--host'.
|
3964 | |
See \`config.log' for more details." "$LINENO" 5; }
|
3965 | |
fi
|
3966 | |
fi
|
3967 | |
fi
|
3968 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
3969 | |
$as_echo "$cross_compiling" >&6; }
|
3970 | |
|
3971 | |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
3972 | |
ac_clean_files=$ac_clean_files_save
|
3973 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
3974 | |
$as_echo_n "checking for suffix of object files... " >&6; }
|
3975 | |
if test "${ac_cv_objext+set}" = set; then :
|
3976 | |
$as_echo_n "(cached) " >&6
|
3977 | |
else
|
3978 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3979 | |
/* end confdefs.h. */
|
3980 | |
|
3981 | |
int
|
3982 | |
main ()
|
3983 | |
{
|
3984 | |
|
3985 | |
;
|
3986 | |
return 0;
|
3987 | |
}
|
3988 | |
_ACEOF
|
3989 | 3026 |
rm -f conftest.o conftest.obj
|
3990 | |
if { { ac_try="$ac_compile"
|
3991 | |
case "(($ac_try" in
|
3992 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3993 | |
*) ac_try_echo=$ac_try;;
|
3994 | |
esac
|
3995 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3996 | |
$as_echo "$ac_try_echo"; } >&5
|
3997 | |
(eval "$ac_compile") 2>&5
|
3998 | |
ac_status=$?
|
3999 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4000 | |
test $ac_status = 0; }; then :
|
4001 | |
for ac_file in conftest.o conftest.obj conftest.*; do
|
4002 | |
test -f "$ac_file" || continue;
|
|
3027 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
3028 |
(eval $ac_compile) 2>&5
|
|
3029 |
ac_status=$?
|
|
3030 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3031 |
(exit $ac_status); }; then
|
|
3032 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
4003 | 3033 |
case $ac_file in
|
4004 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
|
3034 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
4005 | 3035 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
4006 | 3036 |
break;;
|
4007 | 3037 |
esac
|
4008 | 3038 |
done
|
4009 | 3039 |
else
|
4010 | |
$as_echo "$as_me: failed program was:" >&5
|
|
3040 |
echo "$as_me: failed program was:" >&5
|
4011 | 3041 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4012 | 3042 |
|
4013 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4014 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4015 | |
as_fn_error "cannot compute suffix of object files: cannot compile
|
4016 | |
See \`config.log' for more details." "$LINENO" 5; }
|
4017 | |
fi
|
|
3043 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
|
3044 |
See \`config.log' for more details." >&5
|
|
3045 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
|
3046 |
See \`config.log' for more details." >&2;}
|
|
3047 |
{ (exit 1); exit 1; }; }
|
|
3048 |
fi
|
|
3049 |
|
4018 | 3050 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
4019 | 3051 |
fi
|
4020 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
4021 | |
$as_echo "$ac_cv_objext" >&6; }
|
|
3052 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
3053 |
echo "${ECHO_T}$ac_cv_objext" >&6
|
4022 | 3054 |
OBJEXT=$ac_cv_objext
|
4023 | 3055 |
ac_objext=$OBJEXT
|
4024 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
4025 | |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
4026 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
4027 | |
$as_echo_n "(cached) " >&6
|
4028 | |
else
|
4029 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3056 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
3057 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
|
3058 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
3059 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3060 |
else
|
|
3061 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3062 |
/* confdefs.h. */
|
|
3063 |
_ACEOF
|
|
3064 |
cat confdefs.h >>conftest.$ac_ext
|
|
3065 |
cat >>conftest.$ac_ext <<_ACEOF
|
4030 | 3066 |
/* end confdefs.h. */
|
4031 | 3067 |
|
4032 | 3068 |
int
|
|
4040 | 3076 |
return 0;
|
4041 | 3077 |
}
|
4042 | 3078 |
_ACEOF
|
4043 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3079 |
rm -f conftest.$ac_objext
|
|
3080 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
3081 |
(eval $ac_compile) 2>conftest.er1
|
|
3082 |
ac_status=$?
|
|
3083 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3084 |
rm -f conftest.er1
|
|
3085 |
cat conftest.err >&5
|
|
3086 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3087 |
(exit $ac_status); } &&
|
|
3088 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3089 |
|| test ! -s conftest.err'
|
|
3090 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3091 |
(eval $ac_try) 2>&5
|
|
3092 |
ac_status=$?
|
|
3093 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3094 |
(exit $ac_status); }; } &&
|
|
3095 |
{ ac_try='test -s conftest.$ac_objext'
|
|
3096 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3097 |
(eval $ac_try) 2>&5
|
|
3098 |
ac_status=$?
|
|
3099 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3100 |
(exit $ac_status); }; }; then
|
4044 | 3101 |
ac_compiler_gnu=yes
|
4045 | 3102 |
else
|
4046 | |
ac_compiler_gnu=no
|
4047 | |
fi
|
4048 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3103 |
echo "$as_me: failed program was:" >&5
|
|
3104 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3105 |
|
|
3106 |
ac_compiler_gnu=no
|
|
3107 |
fi
|
|
3108 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4049 | 3109 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
4050 | 3110 |
|
4051 | 3111 |
fi
|
4052 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
4053 | |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
4054 | |
if test $ac_compiler_gnu = yes; then
|
4055 | |
GCC=yes
|
4056 | |
else
|
4057 | |
GCC=
|
4058 | |
fi
|
|
3112 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
3113 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
|
3114 |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
4059 | 3115 |
ac_test_CFLAGS=${CFLAGS+set}
|
4060 | 3116 |
ac_save_CFLAGS=$CFLAGS
|
4061 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
4062 | |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
4063 | |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
4064 | |
$as_echo_n "(cached) " >&6
|
4065 | |
else
|
4066 | |
ac_save_c_werror_flag=$ac_c_werror_flag
|
4067 | |
ac_c_werror_flag=yes
|
4068 | |
ac_cv_prog_cc_g=no
|
4069 | |
CFLAGS="-g"
|
4070 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3117 |
CFLAGS="-g"
|
|
3118 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
3119 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
|
3120 |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
3121 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3122 |
else
|
|
3123 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3124 |
/* confdefs.h. */
|
|
3125 |
_ACEOF
|
|
3126 |
cat confdefs.h >>conftest.$ac_ext
|
|
3127 |
cat >>conftest.$ac_ext <<_ACEOF
|
4071 | 3128 |
/* end confdefs.h. */
|
4072 | 3129 |
|
4073 | 3130 |
int
|
|
4078 | 3135 |
return 0;
|
4079 | 3136 |
}
|
4080 | 3137 |
_ACEOF
|
4081 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3138 |
rm -f conftest.$ac_objext
|
|
3139 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
3140 |
(eval $ac_compile) 2>conftest.er1
|
|
3141 |
ac_status=$?
|
|
3142 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3143 |
rm -f conftest.er1
|
|
3144 |
cat conftest.err >&5
|
|
3145 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3146 |
(exit $ac_status); } &&
|
|
3147 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3148 |
|| test ! -s conftest.err'
|
|
3149 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3150 |
(eval $ac_try) 2>&5
|
|
3151 |
ac_status=$?
|
|
3152 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3153 |
(exit $ac_status); }; } &&
|
|
3154 |
{ ac_try='test -s conftest.$ac_objext'
|
|
3155 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3156 |
(eval $ac_try) 2>&5
|
|
3157 |
ac_status=$?
|
|
3158 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3159 |
(exit $ac_status); }; }; then
|
4082 | 3160 |
ac_cv_prog_cc_g=yes
|
4083 | 3161 |
else
|
4084 | |
CFLAGS=""
|
4085 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4086 | |
/* end confdefs.h. */
|
4087 | |
|
4088 | |
int
|
4089 | |
main ()
|
4090 | |
{
|
4091 | |
|
4092 | |
;
|
4093 | |
return 0;
|
4094 | |
}
|
4095 | |
_ACEOF
|
4096 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4097 | |
|
4098 | |
else
|
4099 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4100 | |
CFLAGS="-g"
|
4101 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4102 | |
/* end confdefs.h. */
|
4103 | |
|
4104 | |
int
|
4105 | |
main ()
|
4106 | |
{
|
4107 | |
|
4108 | |
;
|
4109 | |
return 0;
|
4110 | |
}
|
4111 | |
_ACEOF
|
4112 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4113 | |
ac_cv_prog_cc_g=yes
|
4114 | |
fi
|
4115 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4116 | |
fi
|
4117 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4118 | |
fi
|
4119 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4120 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4121 | |
fi
|
4122 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
4123 | |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
|
3162 |
echo "$as_me: failed program was:" >&5
|
|
3163 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3164 |
|
|
3165 |
ac_cv_prog_cc_g=no
|
|
3166 |
fi
|
|
3167 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3168 |
fi
|
|
3169 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3170 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
4124 | 3171 |
if test "$ac_test_CFLAGS" = set; then
|
4125 | 3172 |
CFLAGS=$ac_save_CFLAGS
|
4126 | 3173 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
4136 | 3183 |
CFLAGS=
|
4137 | 3184 |
fi
|
4138 | 3185 |
fi
|
4139 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
4140 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
4141 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
4142 | |
$as_echo_n "(cached) " >&6
|
4143 | |
else
|
4144 | |
ac_cv_prog_cc_c89=no
|
|
3186 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
|
3187 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
|
3188 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
|
3189 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3190 |
else
|
|
3191 |
ac_cv_prog_cc_stdc=no
|
4145 | 3192 |
ac_save_CC=$CC
|
4146 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3193 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3194 |
/* confdefs.h. */
|
|
3195 |
_ACEOF
|
|
3196 |
cat confdefs.h >>conftest.$ac_ext
|
|
3197 |
cat >>conftest.$ac_ext <<_ACEOF
|
4147 | 3198 |
/* end confdefs.h. */
|
4148 | 3199 |
#include <stdarg.h>
|
4149 | 3200 |
#include <stdio.h>
|
|
4171 | 3222 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
4172 | 3223 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
4173 | 3224 |
These don't provoke an error unfortunately, instead are silently treated
|
4174 | |
as 'x'. The following induces an error, until -std is added to get
|
|
3225 |
as 'x'. The following induces an error, until -std1 is added to get
|
4175 | 3226 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
4176 | 3227 |
array size at least. It's necessary to write '\x00'==0 to get something
|
4177 | |
that's true only with -std. */
|
|
3228 |
that's true only with -std1. */
|
4178 | 3229 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
4179 | |
|
4180 | |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
4181 | |
inside strings and character constants. */
|
4182 | |
#define FOO(x) 'x'
|
4183 | |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
4184 | 3230 |
|
4185 | 3231 |
int test (int i, double x);
|
4186 | 3232 |
struct s1 {int (*f) (int a);};
|
|
4196 | 3242 |
return 0;
|
4197 | 3243 |
}
|
4198 | 3244 |
_ACEOF
|
4199 | |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
4200 | |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
3245 |
# Don't try gcc -ansi; that turns off useful extensions and
|
|
3246 |
# breaks some systems' header files.
|
|
3247 |
# AIX -qlanglvl=ansi
|
|
3248 |
# Ultrix and OSF/1 -std1
|
|
3249 |
# HP-UX 10.20 and later -Ae
|
|
3250 |
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
|
3251 |
# SVR4 -Xc -D__EXTENSIONS__
|
|
3252 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
4201 | 3253 |
do
|
4202 | 3254 |
CC="$ac_save_CC $ac_arg"
|
4203 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4204 | |
ac_cv_prog_cc_c89=$ac_arg
|
4205 | |
fi
|
4206 | |
rm -f core conftest.err conftest.$ac_objext
|
4207 | |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
|
3255 |
rm -f conftest.$ac_objext
|
|
3256 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
3257 |
(eval $ac_compile) 2>conftest.er1
|
|
3258 |
ac_status=$?
|
|
3259 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3260 |
rm -f conftest.er1
|
|
3261 |
cat conftest.err >&5
|
|
3262 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3263 |
(exit $ac_status); } &&
|
|
3264 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3265 |
|| test ! -s conftest.err'
|
|
3266 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3267 |
(eval $ac_try) 2>&5
|
|
3268 |
ac_status=$?
|
|
3269 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3270 |
(exit $ac_status); }; } &&
|
|
3271 |
{ ac_try='test -s conftest.$ac_objext'
|
|
3272 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3273 |
(eval $ac_try) 2>&5
|
|
3274 |
ac_status=$?
|
|
3275 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3276 |
(exit $ac_status); }; }; then
|
|
3277 |
ac_cv_prog_cc_stdc=$ac_arg
|
|
3278 |
break
|
|
3279 |
else
|
|
3280 |
echo "$as_me: failed program was:" >&5
|
|
3281 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3282 |
|
|
3283 |
fi
|
|
3284 |
rm -f conftest.err conftest.$ac_objext
|
4208 | 3285 |
done
|
4209 | |
rm -f conftest.$ac_ext
|
|
3286 |
rm -f conftest.$ac_ext conftest.$ac_objext
|
4210 | 3287 |
CC=$ac_save_CC
|
4211 | 3288 |
|
4212 | 3289 |
fi
|
4213 | |
# AC_CACHE_VAL
|
4214 | |
case "x$ac_cv_prog_cc_c89" in
|
4215 | |
x)
|
4216 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4217 | |
$as_echo "none needed" >&6; } ;;
|
4218 | |
xno)
|
4219 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4220 | |
$as_echo "unsupported" >&6; } ;;
|
|
3290 |
|
|
3291 |
case "x$ac_cv_prog_cc_stdc" in
|
|
3292 |
x|xno)
|
|
3293 |
echo "$as_me:$LINENO: result: none needed" >&5
|
|
3294 |
echo "${ECHO_T}none needed" >&6 ;;
|
4221 | 3295 |
*)
|
4222 | |
CC="$CC $ac_cv_prog_cc_c89"
|
4223 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
4224 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
|
3296 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
|
3297 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
|
3298 |
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
4225 | 3299 |
esac
|
4226 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
4227 | |
|
4228 | |
fi
|
4229 | |
|
|
3300 |
|
|
3301 |
# Some people use a C++ compiler to compile C. Since we use `exit',
|
|
3302 |
# in C++ we need to declare it. In case someone uses the same compiler
|
|
3303 |
# for both compiling C and C++ we need to have the C++ compiler decide
|
|
3304 |
# the declaration of exit, since it's the most demanding environment.
|
|
3305 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3306 |
#ifndef __cplusplus
|
|
3307 |
choke me
|
|
3308 |
#endif
|
|
3309 |
_ACEOF
|
|
3310 |
rm -f conftest.$ac_objext
|
|
3311 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
3312 |
(eval $ac_compile) 2>conftest.er1
|
|
3313 |
ac_status=$?
|
|
3314 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3315 |
rm -f conftest.er1
|
|
3316 |
cat conftest.err >&5
|
|
3317 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3318 |
(exit $ac_status); } &&
|
|
3319 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3320 |
|| test ! -s conftest.err'
|
|
3321 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3322 |
(eval $ac_try) 2>&5
|
|
3323 |
ac_status=$?
|
|
3324 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3325 |
(exit $ac_status); }; } &&
|
|
3326 |
{ ac_try='test -s conftest.$ac_objext'
|
|
3327 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3328 |
(eval $ac_try) 2>&5
|
|
3329 |
ac_status=$?
|
|
3330 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3331 |
(exit $ac_status); }; }; then
|
|
3332 |
for ac_declaration in \
|
|
3333 |
'' \
|
|
3334 |
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
|
3335 |
'extern "C" void std::exit (int); using std::exit;' \
|
|
3336 |
'extern "C" void exit (int) throw ();' \
|
|
3337 |
'extern "C" void exit (int);' \
|
|
3338 |
'void exit (int);'
|
|
3339 |
do
|
|
3340 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3341 |
/* confdefs.h. */
|
|
3342 |
_ACEOF
|
|
3343 |
cat confdefs.h >>conftest.$ac_ext
|
|
3344 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3345 |
/* end confdefs.h. */
|
|
3346 |
$ac_declaration
|
|
3347 |
#include <stdlib.h>
|
|
3348 |
int
|
|
3349 |
main ()
|
|
3350 |
{
|
|
3351 |
exit (42);
|
|
3352 |
;
|
|
3353 |
return 0;
|
|
3354 |
}
|
|
3355 |
_ACEOF
|
|
3356 |
rm -f conftest.$ac_objext
|
|
3357 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
3358 |
(eval $ac_compile) 2>conftest.er1
|
|
3359 |
ac_status=$?
|
|
3360 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3361 |
rm -f conftest.er1
|
|
3362 |
cat conftest.err >&5
|
|
3363 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3364 |
(exit $ac_status); } &&
|
|
3365 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3366 |
|| test ! -s conftest.err'
|
|
3367 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3368 |
(eval $ac_try) 2>&5
|
|
3369 |
ac_status=$?
|
|
3370 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3371 |
(exit $ac_status); }; } &&
|
|
3372 |
{ ac_try='test -s conftest.$ac_objext'
|
|
3373 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3374 |
(eval $ac_try) 2>&5
|
|
3375 |
ac_status=$?
|
|
3376 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3377 |
(exit $ac_status); }; }; then
|
|
3378 |
:
|
|
3379 |
else
|
|
3380 |
echo "$as_me: failed program was:" >&5
|
|
3381 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3382 |
|
|
3383 |
continue
|
|
3384 |
fi
|
|
3385 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3386 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3387 |
/* confdefs.h. */
|
|
3388 |
_ACEOF
|
|
3389 |
cat confdefs.h >>conftest.$ac_ext
|
|
3390 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3391 |
/* end confdefs.h. */
|
|
3392 |
$ac_declaration
|
|
3393 |
int
|
|
3394 |
main ()
|
|
3395 |
{
|
|
3396 |
exit (42);
|
|
3397 |
;
|
|
3398 |
return 0;
|
|
3399 |
}
|
|
3400 |
_ACEOF
|
|
3401 |
rm -f conftest.$ac_objext
|
|
3402 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
3403 |
(eval $ac_compile) 2>conftest.er1
|
|
3404 |
ac_status=$?
|
|
3405 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3406 |
rm -f conftest.er1
|
|
3407 |
cat conftest.err >&5
|
|
3408 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3409 |
(exit $ac_status); } &&
|
|
3410 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3411 |
|| test ! -s conftest.err'
|
|
3412 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3413 |
(eval $ac_try) 2>&5
|
|
3414 |
ac_status=$?
|
|
3415 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3416 |
(exit $ac_status); }; } &&
|
|
3417 |
{ ac_try='test -s conftest.$ac_objext'
|
|
3418 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3419 |
(eval $ac_try) 2>&5
|
|
3420 |
ac_status=$?
|
|
3421 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3422 |
(exit $ac_status); }; }; then
|
|
3423 |
break
|
|
3424 |
else
|
|
3425 |
echo "$as_me: failed program was:" >&5
|
|
3426 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3427 |
|
|
3428 |
fi
|
|
3429 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3430 |
done
|
|
3431 |
rm -f conftest*
|
|
3432 |
if test -n "$ac_declaration"; then
|
|
3433 |
echo '#ifdef __cplusplus' >>confdefs.h
|
|
3434 |
echo $ac_declaration >>confdefs.h
|
|
3435 |
echo '#endif' >>confdefs.h
|
|
3436 |
fi
|
|
3437 |
|
|
3438 |
else
|
|
3439 |
echo "$as_me: failed program was:" >&5
|
|
3440 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3441 |
|
|
3442 |
fi
|
|
3443 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4230 | 3444 |
ac_ext=c
|
4231 | 3445 |
ac_cpp='$CPP $CPPFLAGS'
|
4232 | 3446 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4234 | 3448 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4235 | 3449 |
DEPDIR="${am__leading_dot}deps"
|
4236 | 3450 |
|
4237 | |
ac_config_commands="$ac_config_commands depfiles"
|
|
3451 |
ac_config_commands="$ac_config_commands depfiles"
|
4238 | 3452 |
|
4239 | 3453 |
|
4240 | 3454 |
am_make=${MAKE-make}
|
|
4244 | 3458 |
.PHONY: am__doit
|
4245 | 3459 |
END
|
4246 | 3460 |
# If we don't find an include directive, just comment out the code.
|
4247 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
4248 | |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
|
3461 |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
|
3462 |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
4249 | 3463 |
am__include="#"
|
4250 | 3464 |
am__quote=
|
4251 | 3465 |
_am_result=none
|
|
4272 | 3486 |
fi
|
4273 | 3487 |
|
4274 | 3488 |
|
4275 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
4276 | |
$as_echo "$_am_result" >&6; }
|
|
3489 |
echo "$as_me:$LINENO: result: $_am_result" >&5
|
|
3490 |
echo "${ECHO_T}$_am_result" >&6
|
4277 | 3491 |
rm -f confinc confmf
|
4278 | 3492 |
|
4279 | |
# Check whether --enable-dependency-tracking was given.
|
4280 | |
if test "${enable_dependency_tracking+set}" = set; then :
|
4281 | |
enableval=$enable_dependency_tracking;
|
4282 | |
fi
|
4283 | |
|
|
3493 |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
|
3494 |
if test "${enable_dependency_tracking+set}" = set; then
|
|
3495 |
enableval="$enable_dependency_tracking"
|
|
3496 |
|
|
3497 |
fi;
|
4284 | 3498 |
if test "x$enable_dependency_tracking" != xno; then
|
4285 | 3499 |
am_depcomp="$ac_aux_dir/depcomp"
|
4286 | 3500 |
AMDEPBACKSLASH='\'
|
|
4300 | 3514 |
|
4301 | 3515 |
depcc="$CC" am_compiler_list=
|
4302 | 3516 |
|
4303 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
4304 | |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
4305 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
4306 | |
$as_echo_n "(cached) " >&6
|
|
3517 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3518 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
|
3519 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
3520 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4307 | 3521 |
else
|
4308 | 3522 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4309 | 3523 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
4390 | 3604 |
fi
|
4391 | 3605 |
|
4392 | 3606 |
fi
|
4393 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
4394 | |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
3607 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3608 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
4395 | 3609 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
4396 | 3610 |
|
4397 | 3611 |
|
|
4407 | 3621 |
fi
|
4408 | 3622 |
|
4409 | 3623 |
|
4410 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
4411 | |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
4412 | |
set x ${MAKE-make}
|
4413 | |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
4414 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
4415 | |
$as_echo_n "(cached) " >&6
|
|
3624 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
3625 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
|
3626 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
|
3627 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
|
3628 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4416 | 3629 |
else
|
4417 | 3630 |
cat >conftest.make <<\_ACEOF
|
4418 | |
SHELL = /bin/sh
|
4419 | 3631 |
all:
|
4420 | |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
|
3632 |
@echo 'ac_maketemp="$(MAKE)"'
|
4421 | 3633 |
_ACEOF
|
4422 | 3634 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
4423 | |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
4424 | |
*@@@%%%=?*=@@@%%%*)
|
4425 | |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
4426 | |
*)
|
4427 | |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
4428 | |
esac
|
|
3635 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
|
3636 |
if test -n "$ac_maketemp"; then
|
|
3637 |
eval ac_cv_prog_make_${ac_make}_set=yes
|
|
3638 |
else
|
|
3639 |
eval ac_cv_prog_make_${ac_make}_set=no
|
|
3640 |
fi
|
4429 | 3641 |
rm -f conftest.make
|
4430 | 3642 |
fi
|
4431 | |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
4432 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4433 | |
$as_echo "yes" >&6; }
|
|
3643 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
|
3644 |
echo "$as_me:$LINENO: result: yes" >&5
|
|
3645 |
echo "${ECHO_T}yes" >&6
|
4434 | 3646 |
SET_MAKE=
|
4435 | 3647 |
else
|
4436 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4437 | |
$as_echo "no" >&6; }
|
|
3648 |
echo "$as_me:$LINENO: result: no" >&5
|
|
3649 |
echo "${ECHO_T}no" >&6
|
4438 | 3650 |
SET_MAKE="MAKE=${MAKE-make}"
|
4439 | 3651 |
fi
|
4440 | 3652 |
|
|
4443 | 3655 |
do
|
4444 | 3656 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4445 | 3657 |
set dummy $ac_prog; ac_word=$2
|
4446 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4447 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4448 | |
if test "${ac_cv_prog_LEX+set}" = set; then :
|
4449 | |
$as_echo_n "(cached) " >&6
|
|
3658 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3659 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
3660 |
if test "${ac_cv_prog_LEX+set}" = set; then
|
|
3661 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4450 | 3662 |
else
|
4451 | 3663 |
if test -n "$LEX"; then
|
4452 | 3664 |
ac_cv_prog_LEX="$LEX" # Let the user override the test.
|
|
4456 | 3668 |
do
|
4457 | 3669 |
IFS=$as_save_IFS
|
4458 | 3670 |
test -z "$as_dir" && as_dir=.
|
4459 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4460 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3671 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3672 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4461 | 3673 |
ac_cv_prog_LEX="$ac_prog"
|
4462 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3674 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4463 | 3675 |
break 2
|
4464 | 3676 |
fi
|
4465 | 3677 |
done
|
4466 | |
done
|
4467 | |
IFS=$as_save_IFS
|
|
3678 |
done
|
4468 | 3679 |
|
4469 | 3680 |
fi
|
4470 | 3681 |
fi
|
4471 | 3682 |
LEX=$ac_cv_prog_LEX
|
4472 | 3683 |
if test -n "$LEX"; then
|
4473 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
|
4474 | |
$as_echo "$LEX" >&6; }
|
4475 | |
else
|
4476 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4477 | |
$as_echo "no" >&6; }
|
4478 | |
fi
|
4479 | |
|
|
3684 |
echo "$as_me:$LINENO: result: $LEX" >&5
|
|
3685 |
echo "${ECHO_T}$LEX" >&6
|
|
3686 |
else
|
|
3687 |
echo "$as_me:$LINENO: result: no" >&5
|
|
3688 |
echo "${ECHO_T}no" >&6
|
|
3689 |
fi
|
4480 | 3690 |
|
4481 | 3691 |
test -n "$LEX" && break
|
4482 | 3692 |
done
|
4483 | 3693 |
test -n "$LEX" || LEX=":"
|
4484 | 3694 |
|
|
3695 |
if test -z "$LEXLIB"
|
|
3696 |
then
|
|
3697 |
echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
|
|
3698 |
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
|
|
3699 |
if test "${ac_cv_lib_fl_yywrap+set}" = set; then
|
|
3700 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3701 |
else
|
|
3702 |
ac_check_lib_save_LIBS=$LIBS
|
|
3703 |
LIBS="-lfl $LIBS"
|
|
3704 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3705 |
/* confdefs.h. */
|
|
3706 |
_ACEOF
|
|
3707 |
cat confdefs.h >>conftest.$ac_ext
|
|
3708 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3709 |
/* end confdefs.h. */
|
|
3710 |
|
|
3711 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
3712 |
#ifdef __cplusplus
|
|
3713 |
extern "C"
|
|
3714 |
#endif
|
|
3715 |
/* We use char because int might match the return type of a gcc2
|
|
3716 |
builtin and then its argument prototype would still apply. */
|
|
3717 |
char yywrap ();
|
|
3718 |
int
|
|
3719 |
main ()
|
|
3720 |
{
|
|
3721 |
yywrap ();
|
|
3722 |
;
|
|
3723 |
return 0;
|
|
3724 |
}
|
|
3725 |
_ACEOF
|
|
3726 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
3727 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
3728 |
(eval $ac_link) 2>conftest.er1
|
|
3729 |
ac_status=$?
|
|
3730 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3731 |
rm -f conftest.er1
|
|
3732 |
cat conftest.err >&5
|
|
3733 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3734 |
(exit $ac_status); } &&
|
|
3735 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3736 |
|| test ! -s conftest.err'
|
|
3737 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3738 |
(eval $ac_try) 2>&5
|
|
3739 |
ac_status=$?
|
|
3740 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3741 |
(exit $ac_status); }; } &&
|
|
3742 |
{ ac_try='test -s conftest$ac_exeext'
|
|
3743 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3744 |
(eval $ac_try) 2>&5
|
|
3745 |
ac_status=$?
|
|
3746 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3747 |
(exit $ac_status); }; }; then
|
|
3748 |
ac_cv_lib_fl_yywrap=yes
|
|
3749 |
else
|
|
3750 |
echo "$as_me: failed program was:" >&5
|
|
3751 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3752 |
|
|
3753 |
ac_cv_lib_fl_yywrap=no
|
|
3754 |
fi
|
|
3755 |
rm -f conftest.err conftest.$ac_objext \
|
|
3756 |
conftest$ac_exeext conftest.$ac_ext
|
|
3757 |
LIBS=$ac_check_lib_save_LIBS
|
|
3758 |
fi
|
|
3759 |
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
|
|
3760 |
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
|
|
3761 |
if test $ac_cv_lib_fl_yywrap = yes; then
|
|
3762 |
LEXLIB="-lfl"
|
|
3763 |
else
|
|
3764 |
echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
|
|
3765 |
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
|
|
3766 |
if test "${ac_cv_lib_l_yywrap+set}" = set; then
|
|
3767 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3768 |
else
|
|
3769 |
ac_check_lib_save_LIBS=$LIBS
|
|
3770 |
LIBS="-ll $LIBS"
|
|
3771 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3772 |
/* confdefs.h. */
|
|
3773 |
_ACEOF
|
|
3774 |
cat confdefs.h >>conftest.$ac_ext
|
|
3775 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3776 |
/* end confdefs.h. */
|
|
3777 |
|
|
3778 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
3779 |
#ifdef __cplusplus
|
|
3780 |
extern "C"
|
|
3781 |
#endif
|
|
3782 |
/* We use char because int might match the return type of a gcc2
|
|
3783 |
builtin and then its argument prototype would still apply. */
|
|
3784 |
char yywrap ();
|
|
3785 |
int
|
|
3786 |
main ()
|
|
3787 |
{
|
|
3788 |
yywrap ();
|
|
3789 |
;
|
|
3790 |
return 0;
|
|
3791 |
}
|
|
3792 |
_ACEOF
|
|
3793 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
3794 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
3795 |
(eval $ac_link) 2>conftest.er1
|
|
3796 |
ac_status=$?
|
|
3797 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3798 |
rm -f conftest.er1
|
|
3799 |
cat conftest.err >&5
|
|
3800 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3801 |
(exit $ac_status); } &&
|
|
3802 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3803 |
|| test ! -s conftest.err'
|
|
3804 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3805 |
(eval $ac_try) 2>&5
|
|
3806 |
ac_status=$?
|
|
3807 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3808 |
(exit $ac_status); }; } &&
|
|
3809 |
{ ac_try='test -s conftest$ac_exeext'
|
|
3810 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3811 |
(eval $ac_try) 2>&5
|
|
3812 |
ac_status=$?
|
|
3813 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3814 |
(exit $ac_status); }; }; then
|
|
3815 |
ac_cv_lib_l_yywrap=yes
|
|
3816 |
else
|
|
3817 |
echo "$as_me: failed program was:" >&5
|
|
3818 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3819 |
|
|
3820 |
ac_cv_lib_l_yywrap=no
|
|
3821 |
fi
|
|
3822 |
rm -f conftest.err conftest.$ac_objext \
|
|
3823 |
conftest$ac_exeext conftest.$ac_ext
|
|
3824 |
LIBS=$ac_check_lib_save_LIBS
|
|
3825 |
fi
|
|
3826 |
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
|
|
3827 |
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
|
|
3828 |
if test $ac_cv_lib_l_yywrap = yes; then
|
|
3829 |
LEXLIB="-ll"
|
|
3830 |
fi
|
|
3831 |
|
|
3832 |
fi
|
|
3833 |
|
|
3834 |
fi
|
|
3835 |
|
4485 | 3836 |
if test "x$LEX" != "x:"; then
|
4486 | |
cat >conftest.l <<_ACEOF
|
|
3837 |
echo "$as_me:$LINENO: checking lex output file root" >&5
|
|
3838 |
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
|
|
3839 |
if test "${ac_cv_prog_lex_root+set}" = set; then
|
|
3840 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3841 |
else
|
|
3842 |
# The minimal lex program is just a single line: %%. But some broken lexes
|
|
3843 |
# (Solaris, I think it was) want two %% lines, so accommodate them.
|
|
3844 |
cat >conftest.l <<_ACEOF
|
4487 | 3845 |
%%
|
4488 | |
a { ECHO; }
|
4489 | |
b { REJECT; }
|
4490 | |
c { yymore (); }
|
4491 | |
d { yyless (1); }
|
4492 | |
e { yyless (input () != 0); }
|
4493 | |
f { unput (yytext[0]); }
|
4494 | |
. { BEGIN INITIAL; }
|
4495 | 3846 |
%%
|
4496 | |
#ifdef YYTEXT_POINTER
|
4497 | |
extern char *yytext;
|
4498 | |
#endif
|
4499 | |
int
|
4500 | |
main (void)
|
4501 | |
{
|
4502 | |
return ! yylex () + ! yywrap ();
|
4503 | |
}
|
4504 | |
_ACEOF
|
4505 | |
{ { ac_try="$LEX conftest.l"
|
4506 | |
case "(($ac_try" in
|
4507 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4508 | |
*) ac_try_echo=$ac_try;;
|
4509 | |
esac
|
4510 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
4511 | |
$as_echo "$ac_try_echo"; } >&5
|
4512 | |
(eval "$LEX conftest.l") 2>&5
|
4513 | |
ac_status=$?
|
4514 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4515 | |
test $ac_status = 0; }
|
4516 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
|
4517 | |
$as_echo_n "checking lex output file root... " >&6; }
|
4518 | |
if test "${ac_cv_prog_lex_root+set}" = set; then :
|
4519 | |
$as_echo_n "(cached) " >&6
|
4520 | |
else
|
4521 | |
|
|
3847 |
_ACEOF
|
|
3848 |
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
|
|
3849 |
(eval $LEX conftest.l) 2>&5
|
|
3850 |
ac_status=$?
|
|
3851 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3852 |
(exit $ac_status); }
|
4522 | 3853 |
if test -f lex.yy.c; then
|
4523 | 3854 |
ac_cv_prog_lex_root=lex.yy
|
4524 | 3855 |
elif test -f lexyy.c; then
|
4525 | 3856 |
ac_cv_prog_lex_root=lexyy
|
4526 | 3857 |
else
|
4527 | |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
|
4528 | |
fi
|
4529 | |
fi
|
4530 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
|
4531 | |
$as_echo "$ac_cv_prog_lex_root" >&6; }
|
|
3858 |
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
|
|
3859 |
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
|
|
3860 |
{ (exit 1); exit 1; }; }
|
|
3861 |
fi
|
|
3862 |
fi
|
|
3863 |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
|
|
3864 |
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
|
|
3865 |
rm -f conftest.l
|
4532 | 3866 |
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
|
4533 | 3867 |
|
4534 | |
if test -z "${LEXLIB+set}"; then
|
4535 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
|
4536 | |
$as_echo_n "checking lex library... " >&6; }
|
4537 | |
if test "${ac_cv_lib_lex+set}" = set; then :
|
4538 | |
$as_echo_n "(cached) " >&6
|
4539 | |
else
|
4540 | |
|
4541 | |
ac_save_LIBS=$LIBS
|
4542 | |
ac_cv_lib_lex='none needed'
|
4543 | |
for ac_lib in '' -lfl -ll; do
|
4544 | |
LIBS="$ac_lib $ac_save_LIBS"
|
4545 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4546 | |
/* end confdefs.h. */
|
4547 | |
`cat $LEX_OUTPUT_ROOT.c`
|
4548 | |
_ACEOF
|
4549 | |
if ac_fn_c_try_link "$LINENO"; then :
|
4550 | |
ac_cv_lib_lex=$ac_lib
|
4551 | |
fi
|
4552 | |
rm -f core conftest.err conftest.$ac_objext \
|
4553 | |
conftest$ac_exeext conftest.$ac_ext
|
4554 | |
test "$ac_cv_lib_lex" != 'none needed' && break
|
4555 | |
done
|
4556 | |
LIBS=$ac_save_LIBS
|
4557 | |
|
4558 | |
fi
|
4559 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
|
4560 | |
$as_echo "$ac_cv_lib_lex" >&6; }
|
4561 | |
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
|
4562 | |
fi
|
4563 | |
|
4564 | |
|
4565 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
|
4566 | |
$as_echo_n "checking whether yytext is a pointer... " >&6; }
|
4567 | |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
|
4568 | |
$as_echo_n "(cached) " >&6
|
|
3868 |
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
|
|
3869 |
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
|
|
3870 |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
|
|
3871 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4569 | 3872 |
else
|
4570 | 3873 |
# POSIX says lex can declare yytext either as a pointer or an array; the
|
4571 | |
# default is implementation-dependent. Figure out which it is, since
|
|
3874 |
# default is implementation-dependent. Figure out which it is, since
|
4572 | 3875 |
# not all implementations provide the %pointer and %array declarations.
|
4573 | 3876 |
ac_cv_prog_lex_yytext_pointer=no
|
|
3877 |
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
|
4574 | 3878 |
ac_save_LIBS=$LIBS
|
4575 | |
LIBS="$LEXLIB $ac_save_LIBS"
|
4576 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4577 | |
/* end confdefs.h. */
|
|
3879 |
LIBS="$LIBS $LEXLIB"
|
|
3880 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3881 |
`cat $LEX_OUTPUT_ROOT.c`
|
|
3882 |
_ACEOF
|
|
3883 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
3884 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
3885 |
(eval $ac_link) 2>conftest.er1
|
|
3886 |
ac_status=$?
|
|
3887 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3888 |
rm -f conftest.er1
|
|
3889 |
cat conftest.err >&5
|
|
3890 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3891 |
(exit $ac_status); } &&
|
|
3892 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
3893 |
|| test ! -s conftest.err'
|
|
3894 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3895 |
(eval $ac_try) 2>&5
|
|
3896 |
ac_status=$?
|
|
3897 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3898 |
(exit $ac_status); }; } &&
|
|
3899 |
{ ac_try='test -s conftest$ac_exeext'
|
|
3900 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
3901 |
(eval $ac_try) 2>&5
|
|
3902 |
ac_status=$?
|
|
3903 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3904 |
(exit $ac_status); }; }; then
|
|
3905 |
ac_cv_prog_lex_yytext_pointer=yes
|
|
3906 |
else
|
|
3907 |
echo "$as_me: failed program was:" >&5
|
|
3908 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3909 |
|
|
3910 |
fi
|
|
3911 |
rm -f conftest.err conftest.$ac_objext \
|
|
3912 |
conftest$ac_exeext conftest.$ac_ext
|
|
3913 |
LIBS=$ac_save_LIBS
|
|
3914 |
rm -f "${LEX_OUTPUT_ROOT}.c"
|
|
3915 |
|
|
3916 |
fi
|
|
3917 |
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
|
|
3918 |
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
|
|
3919 |
if test $ac_cv_prog_lex_yytext_pointer = yes; then
|
|
3920 |
|
|
3921 |
cat >>confdefs.h <<\_ACEOF
|
4578 | 3922 |
#define YYTEXT_POINTER 1
|
4579 | |
`cat $LEX_OUTPUT_ROOT.c`
|
4580 | |
_ACEOF
|
4581 | |
if ac_fn_c_try_link "$LINENO"; then :
|
4582 | |
ac_cv_prog_lex_yytext_pointer=yes
|
4583 | |
fi
|
4584 | |
rm -f core conftest.err conftest.$ac_objext \
|
4585 | |
conftest$ac_exeext conftest.$ac_ext
|
4586 | |
LIBS=$ac_save_LIBS
|
4587 | |
|
4588 | |
fi
|
4589 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
|
4590 | |
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
|
4591 | |
if test $ac_cv_prog_lex_yytext_pointer = yes; then
|
4592 | |
|
4593 | |
$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
|
4594 | |
|
4595 | |
fi
|
4596 | |
rm -f conftest.l $LEX_OUTPUT_ROOT.c
|
|
3923 |
_ACEOF
|
|
3924 |
|
|
3925 |
fi
|
4597 | 3926 |
|
4598 | 3927 |
fi
|
4599 | 3928 |
if test -n "$ac_tool_prefix"; then
|
4600 | 3929 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
4601 | 3930 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
4602 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4603 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4604 | |
if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
4605 | |
$as_echo_n "(cached) " >&6
|
|
3931 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3932 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
3933 |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
|
3934 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4606 | 3935 |
else
|
4607 | 3936 |
if test -n "$RANLIB"; then
|
4608 | 3937 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
4612 | 3941 |
do
|
4613 | 3942 |
IFS=$as_save_IFS
|
4614 | 3943 |
test -z "$as_dir" && as_dir=.
|
4615 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4616 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3944 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3945 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4617 | 3946 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
4618 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3947 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4619 | 3948 |
break 2
|
4620 | 3949 |
fi
|
4621 | 3950 |
done
|
4622 | |
done
|
4623 | |
IFS=$as_save_IFS
|
|
3951 |
done
|
4624 | 3952 |
|
4625 | 3953 |
fi
|
4626 | 3954 |
fi
|
4627 | 3955 |
RANLIB=$ac_cv_prog_RANLIB
|
4628 | 3956 |
if test -n "$RANLIB"; then
|
4629 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
4630 | |
$as_echo "$RANLIB" >&6; }
|
4631 | |
else
|
4632 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4633 | |
$as_echo "no" >&6; }
|
4634 | |
fi
|
4635 | |
|
|
3957 |
echo "$as_me:$LINENO: result: $RANLIB" >&5
|
|
3958 |
echo "${ECHO_T}$RANLIB" >&6
|
|
3959 |
else
|
|
3960 |
echo "$as_me:$LINENO: result: no" >&5
|
|
3961 |
echo "${ECHO_T}no" >&6
|
|
3962 |
fi
|
4636 | 3963 |
|
4637 | 3964 |
fi
|
4638 | 3965 |
if test -z "$ac_cv_prog_RANLIB"; then
|
4639 | 3966 |
ac_ct_RANLIB=$RANLIB
|
4640 | 3967 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
4641 | 3968 |
set dummy ranlib; ac_word=$2
|
4642 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4643 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4644 | |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
4645 | |
$as_echo_n "(cached) " >&6
|
|
3969 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3970 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
3971 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
|
3972 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4646 | 3973 |
else
|
4647 | 3974 |
if test -n "$ac_ct_RANLIB"; then
|
4648 | 3975 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
4652 | 3979 |
do
|
4653 | 3980 |
IFS=$as_save_IFS
|
4654 | 3981 |
test -z "$as_dir" && as_dir=.
|
4655 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4656 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3982 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3983 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4657 | 3984 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
4658 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3985 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4659 | 3986 |
break 2
|
4660 | 3987 |
fi
|
4661 | 3988 |
done
|
4662 | |
done
|
4663 | |
IFS=$as_save_IFS
|
4664 | |
|
|
3989 |
done
|
|
3990 |
|
|
3991 |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
4665 | 3992 |
fi
|
4666 | 3993 |
fi
|
4667 | 3994 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
4668 | 3995 |
if test -n "$ac_ct_RANLIB"; then
|
4669 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
4670 | |
$as_echo "$ac_ct_RANLIB" >&6; }
|
4671 | |
else
|
4672 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4673 | |
$as_echo "no" >&6; }
|
4674 | |
fi
|
4675 | |
|
4676 | |
if test "x$ac_ct_RANLIB" = x; then
|
4677 | |
RANLIB=":"
|
4678 | |
else
|
4679 | |
case $cross_compiling:$ac_tool_warned in
|
4680 | |
yes:)
|
4681 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
4682 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4683 | |
ac_tool_warned=yes ;;
|
4684 | |
esac
|
4685 | |
RANLIB=$ac_ct_RANLIB
|
4686 | |
fi
|
|
3996 |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
|
3997 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
|
3998 |
else
|
|
3999 |
echo "$as_me:$LINENO: result: no" >&5
|
|
4000 |
echo "${ECHO_T}no" >&6
|
|
4001 |
fi
|
|
4002 |
|
|
4003 |
RANLIB=$ac_ct_RANLIB
|
4687 | 4004 |
else
|
4688 | 4005 |
RANLIB="$ac_cv_prog_RANLIB"
|
4689 | 4006 |
fi
|
|
4694 | 4011 |
#
|
4695 | 4012 |
# Extract the first word of "fsdbdebug", so it can be a program name with args.
|
4696 | 4013 |
set dummy fsdbdebug; ac_word=$2
|
4697 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4698 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4699 | |
if test "${ac_cv_path_EXTDEBUG+set}" = set; then :
|
4700 | |
$as_echo_n "(cached) " >&6
|
|
4014 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4015 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
4016 |
if test "${ac_cv_path_EXTDEBUG+set}" = set; then
|
|
4017 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4701 | 4018 |
else
|
4702 | 4019 |
case $EXTDEBUG in
|
4703 | 4020 |
[\\/]* | ?:[\\/]*)
|
|
4709 | 4026 |
do
|
4710 | 4027 |
IFS=$as_save_IFS
|
4711 | 4028 |
test -z "$as_dir" && as_dir=.
|
4712 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4713 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4029 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4030 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4714 | 4031 |
ac_cv_path_EXTDEBUG="$as_dir/$ac_word$ac_exec_ext"
|
4715 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4032 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4716 | 4033 |
break 2
|
4717 | 4034 |
fi
|
4718 | 4035 |
done
|
4719 | |
done
|
4720 | |
IFS=$as_save_IFS
|
|
4036 |
done
|
4721 | 4037 |
|
4722 | 4038 |
test -z "$ac_cv_path_EXTDEBUG" && ac_cv_path_EXTDEBUG="notfound"
|
4723 | 4039 |
;;
|
4724 | 4040 |
esac
|
4725 | 4041 |
fi
|
4726 | 4042 |
EXTDEBUG=$ac_cv_path_EXTDEBUG
|
|
4043 |
|
4727 | 4044 |
if test -n "$EXTDEBUG"; then
|
4728 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTDEBUG" >&5
|
4729 | |
$as_echo "$EXTDEBUG" >&6; }
|
4730 | |
else
|
4731 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4732 | |
$as_echo "no" >&6; }
|
4733 | |
fi
|
4734 | |
|
|
4045 |
echo "$as_me:$LINENO: result: $EXTDEBUG" >&5
|
|
4046 |
echo "${ECHO_T}$EXTDEBUG" >&6
|
|
4047 |
else
|
|
4048 |
echo "$as_me:$LINENO: result: no" >&5
|
|
4049 |
echo "${ECHO_T}no" >&6
|
|
4050 |
fi
|
4735 | 4051 |
|
4736 | 4052 |
if test "$EXTDEBUG" = "notfound" ; then
|
4737 | 4053 |
EXTLOAD_CFLAGS=
|
|
4747 | 4063 |
#
|
4748 | 4064 |
# Extract the first word of "gperf", so it can be a program name with args.
|
4749 | 4065 |
set dummy gperf; ac_word=$2
|
4750 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4751 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
4752 | |
if test "${ac_cv_path_GPERF+set}" = set; then :
|
4753 | |
$as_echo_n "(cached) " >&6
|
|
4066 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4067 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
4068 |
if test "${ac_cv_path_GPERF+set}" = set; then
|
|
4069 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4754 | 4070 |
else
|
4755 | 4071 |
case $GPERF in
|
4756 | 4072 |
[\\/]* | ?:[\\/]*)
|
|
4762 | 4078 |
do
|
4763 | 4079 |
IFS=$as_save_IFS
|
4764 | 4080 |
test -z "$as_dir" && as_dir=.
|
4765 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4766 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4081 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4082 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4767 | 4083 |
ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
|
4768 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4084 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4769 | 4085 |
break 2
|
4770 | 4086 |
fi
|
4771 | 4087 |
done
|
4772 | |
done
|
4773 | |
IFS=$as_save_IFS
|
|
4088 |
done
|
4774 | 4089 |
|
4775 | 4090 |
test -z "$ac_cv_path_GPERF" && ac_cv_path_GPERF="notfound"
|
4776 | 4091 |
;;
|
4777 | 4092 |
esac
|
4778 | 4093 |
fi
|
4779 | 4094 |
GPERF=$ac_cv_path_GPERF
|
|
4095 |
|
4780 | 4096 |
if test -n "$GPERF"; then
|
4781 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
|
4782 | |
$as_echo "$GPERF" >&6; }
|
4783 | |
else
|
4784 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4785 | |
$as_echo "no" >&6; }
|
4786 | |
fi
|
4787 | |
|
|
4097 |
echo "$as_me:$LINENO: result: $GPERF" >&5
|
|
4098 |
echo "${ECHO_T}$GPERF" >&6
|
|
4099 |
else
|
|
4100 |
echo "$as_me:$LINENO: result: no" >&5
|
|
4101 |
echo "${ECHO_T}no" >&6
|
|
4102 |
fi
|
4788 | 4103 |
|
4789 | 4104 |
if test "$GPERF" = "notfound" ; then
|
4790 | |
as_fn_error "Couldn't find a usable gperf program.
|
|
4105 |
{ { echo "$as_me:$LINENO: error: Couldn't find a usable gperf program.
|
4791 | 4106 |
Please install gperf which is available from
|
4792 | 4107 |
ftp://ftp.gnu.org/pub/gnu/gperf/
|
4793 | |
" "$LINENO" 5
|
|
4108 |
" >&5
|
|
4109 |
echo "$as_me: error: Couldn't find a usable gperf program.
|
|
4110 |
Please install gperf which is available from
|
|
4111 |
ftp://ftp.gnu.org/pub/gnu/gperf/
|
|
4112 |
" >&2;}
|
|
4113 |
{ (exit 1); exit 1; }; }
|
4794 | 4114 |
fi
|
4795 | 4115 |
|
4796 | 4116 |
# Checks for libraries.
|
4797 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
4798 | |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
4799 | |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
|
4800 | |
$as_echo_n "(cached) " >&6
|
|
4117 |
|
|
4118 |
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
|
|
4119 |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
|
|
4120 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
|
|
4121 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4801 | 4122 |
else
|
4802 | 4123 |
ac_check_lib_save_LIBS=$LIBS
|
4803 | 4124 |
LIBS="-ldl $LIBS"
|
4804 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4125 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4126 |
/* confdefs.h. */
|
|
4127 |
_ACEOF
|
|
4128 |
cat confdefs.h >>conftest.$ac_ext
|
|
4129 |
cat >>conftest.$ac_ext <<_ACEOF
|
4805 | 4130 |
/* end confdefs.h. */
|
4806 | 4131 |
|
4807 | |
/* Override any GCC internal prototype to avoid an error.
|
4808 | |
Use char because int might match the return type of a GCC
|
4809 | |
builtin and then its argument prototype would still apply. */
|
|
4132 |
/* Override any gcc2 internal prototype to avoid an error. */
|
4810 | 4133 |
#ifdef __cplusplus
|
4811 | 4134 |
extern "C"
|
4812 | 4135 |
#endif
|
|
4136 |
/* We use char because int might match the return type of a gcc2
|
|
4137 |
builtin and then its argument prototype would still apply. */
|
4813 | 4138 |
char dlopen ();
|
4814 | 4139 |
int
|
4815 | 4140 |
main ()
|
4816 | 4141 |
{
|
4817 | |
return dlopen ();
|
|
4142 |
dlopen ();
|
4818 | 4143 |
;
|
4819 | 4144 |
return 0;
|
4820 | 4145 |
}
|
4821 | 4146 |
_ACEOF
|
4822 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4147 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4148 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
4149 |
(eval $ac_link) 2>conftest.er1
|
|
4150 |
ac_status=$?
|
|
4151 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4152 |
rm -f conftest.er1
|
|
4153 |
cat conftest.err >&5
|
|
4154 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4155 |
(exit $ac_status); } &&
|
|
4156 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4157 |
|| test ! -s conftest.err'
|
|
4158 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4159 |
(eval $ac_try) 2>&5
|
|
4160 |
ac_status=$?
|
|
4161 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4162 |
(exit $ac_status); }; } &&
|
|
4163 |
{ ac_try='test -s conftest$ac_exeext'
|
|
4164 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4165 |
(eval $ac_try) 2>&5
|
|
4166 |
ac_status=$?
|
|
4167 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4168 |
(exit $ac_status); }; }; then
|
4823 | 4169 |
ac_cv_lib_dl_dlopen=yes
|
4824 | 4170 |
else
|
4825 | |
ac_cv_lib_dl_dlopen=no
|
4826 | |
fi
|
4827 | |
rm -f core conftest.err conftest.$ac_objext \
|
4828 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4171 |
echo "$as_me: failed program was:" >&5
|
|
4172 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4173 |
|
|
4174 |
ac_cv_lib_dl_dlopen=no
|
|
4175 |
fi
|
|
4176 |
rm -f conftest.err conftest.$ac_objext \
|
|
4177 |
conftest$ac_exeext conftest.$ac_ext
|
4829 | 4178 |
LIBS=$ac_check_lib_save_LIBS
|
4830 | 4179 |
fi
|
4831 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
4832 | |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
4833 | |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
|
|
4180 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
|
4181 |
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
|
|
4182 |
if test $ac_cv_lib_dl_dlopen = yes; then
|
4834 | 4183 |
cat >>confdefs.h <<_ACEOF
|
4835 | 4184 |
#define HAVE_LIBDL 1
|
4836 | 4185 |
_ACEOF
|
|
4839 | 4188 |
|
4840 | 4189 |
fi
|
4841 | 4190 |
|
4842 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
|
4843 | |
$as_echo_n "checking for sqrt in -lm... " >&6; }
|
4844 | |
if test "${ac_cv_lib_m_sqrt+set}" = set; then :
|
4845 | |
$as_echo_n "(cached) " >&6
|
|
4191 |
|
|
4192 |
echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
|
|
4193 |
echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
|
|
4194 |
if test "${ac_cv_lib_m_sqrt+set}" = set; then
|
|
4195 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4846 | 4196 |
else
|
4847 | 4197 |
ac_check_lib_save_LIBS=$LIBS
|
4848 | 4198 |
LIBS="-lm $LIBS"
|
4849 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4199 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4200 |
/* confdefs.h. */
|
|
4201 |
_ACEOF
|
|
4202 |
cat confdefs.h >>conftest.$ac_ext
|
|
4203 |
cat >>conftest.$ac_ext <<_ACEOF
|
4850 | 4204 |
/* end confdefs.h. */
|
4851 | 4205 |
|
4852 | |
/* Override any GCC internal prototype to avoid an error.
|
4853 | |
Use char because int might match the return type of a GCC
|
4854 | |
builtin and then its argument prototype would still apply. */
|
|
4206 |
/* Override any gcc2 internal prototype to avoid an error. */
|
4855 | 4207 |
#ifdef __cplusplus
|
4856 | 4208 |
extern "C"
|
4857 | 4209 |
#endif
|
|
4210 |
/* We use char because int might match the return type of a gcc2
|
|
4211 |
builtin and then its argument prototype would still apply. */
|
4858 | 4212 |
char sqrt ();
|
4859 | 4213 |
int
|
4860 | 4214 |
main ()
|
4861 | 4215 |
{
|
4862 | |
return sqrt ();
|
|
4216 |
sqrt ();
|
4863 | 4217 |
;
|
4864 | 4218 |
return 0;
|
4865 | 4219 |
}
|
4866 | 4220 |
_ACEOF
|
4867 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4221 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4222 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
4223 |
(eval $ac_link) 2>conftest.er1
|
|
4224 |
ac_status=$?
|
|
4225 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4226 |
rm -f conftest.er1
|
|
4227 |
cat conftest.err >&5
|
|
4228 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4229 |
(exit $ac_status); } &&
|
|
4230 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4231 |
|| test ! -s conftest.err'
|
|
4232 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4233 |
(eval $ac_try) 2>&5
|
|
4234 |
ac_status=$?
|
|
4235 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4236 |
(exit $ac_status); }; } &&
|
|
4237 |
{ ac_try='test -s conftest$ac_exeext'
|
|
4238 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4239 |
(eval $ac_try) 2>&5
|
|
4240 |
ac_status=$?
|
|
4241 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4242 |
(exit $ac_status); }; }; then
|
4868 | 4243 |
ac_cv_lib_m_sqrt=yes
|
4869 | 4244 |
else
|
4870 | |
ac_cv_lib_m_sqrt=no
|
4871 | |
fi
|
4872 | |
rm -f core conftest.err conftest.$ac_objext \
|
4873 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4245 |
echo "$as_me: failed program was:" >&5
|
|
4246 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4247 |
|
|
4248 |
ac_cv_lib_m_sqrt=no
|
|
4249 |
fi
|
|
4250 |
rm -f conftest.err conftest.$ac_objext \
|
|
4251 |
conftest$ac_exeext conftest.$ac_ext
|
4874 | 4252 |
LIBS=$ac_check_lib_save_LIBS
|
4875 | 4253 |
fi
|
4876 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
|
4877 | |
$as_echo "$ac_cv_lib_m_sqrt" >&6; }
|
4878 | |
if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
|
|
4254 |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
|
|
4255 |
echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
|
|
4256 |
if test $ac_cv_lib_m_sqrt = yes; then
|
4879 | 4257 |
cat >>confdefs.h <<_ACEOF
|
4880 | 4258 |
#define HAVE_LIBM 1
|
4881 | 4259 |
_ACEOF
|
|
4884 | 4262 |
|
4885 | 4263 |
fi
|
4886 | 4264 |
|
4887 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
|
4888 | |
$as_echo_n "checking for main in -lpthread... " >&6; }
|
4889 | |
if test "${ac_cv_lib_pthread_main+set}" = set; then :
|
4890 | |
$as_echo_n "(cached) " >&6
|
|
4265 |
|
|
4266 |
echo "$as_me:$LINENO: checking for main in -lpthread" >&5
|
|
4267 |
echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
|
|
4268 |
if test "${ac_cv_lib_pthread_main+set}" = set; then
|
|
4269 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4891 | 4270 |
else
|
4892 | 4271 |
ac_check_lib_save_LIBS=$LIBS
|
4893 | 4272 |
LIBS="-lpthread $LIBS"
|
4894 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4273 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4274 |
/* confdefs.h. */
|
|
4275 |
_ACEOF
|
|
4276 |
cat confdefs.h >>conftest.$ac_ext
|
|
4277 |
cat >>conftest.$ac_ext <<_ACEOF
|
4895 | 4278 |
/* end confdefs.h. */
|
4896 | 4279 |
|
4897 | 4280 |
|
4898 | 4281 |
int
|
4899 | 4282 |
main ()
|
4900 | 4283 |
{
|
4901 | |
return main ();
|
|
4284 |
main ();
|
4902 | 4285 |
;
|
4903 | 4286 |
return 0;
|
4904 | 4287 |
}
|
4905 | 4288 |
_ACEOF
|
4906 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4289 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4290 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
4291 |
(eval $ac_link) 2>conftest.er1
|
|
4292 |
ac_status=$?
|
|
4293 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4294 |
rm -f conftest.er1
|
|
4295 |
cat conftest.err >&5
|
|
4296 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4297 |
(exit $ac_status); } &&
|
|
4298 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4299 |
|| test ! -s conftest.err'
|
|
4300 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4301 |
(eval $ac_try) 2>&5
|
|
4302 |
ac_status=$?
|
|
4303 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4304 |
(exit $ac_status); }; } &&
|
|
4305 |
{ ac_try='test -s conftest$ac_exeext'
|
|
4306 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4307 |
(eval $ac_try) 2>&5
|
|
4308 |
ac_status=$?
|
|
4309 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4310 |
(exit $ac_status); }; }; then
|
4907 | 4311 |
ac_cv_lib_pthread_main=yes
|
4908 | 4312 |
else
|
4909 | |
ac_cv_lib_pthread_main=no
|
4910 | |
fi
|
4911 | |
rm -f core conftest.err conftest.$ac_objext \
|
4912 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4313 |
echo "$as_me: failed program was:" >&5
|
|
4314 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4315 |
|
|
4316 |
ac_cv_lib_pthread_main=no
|
|
4317 |
fi
|
|
4318 |
rm -f conftest.err conftest.$ac_objext \
|
|
4319 |
conftest$ac_exeext conftest.$ac_ext
|
4913 | 4320 |
LIBS=$ac_check_lib_save_LIBS
|
4914 | 4321 |
fi
|
4915 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
|
4916 | |
$as_echo "$ac_cv_lib_pthread_main" >&6; }
|
4917 | |
if test "x$ac_cv_lib_pthread_main" = x""yes; then :
|
|
4322 |
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
|
|
4323 |
echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
|
|
4324 |
if test $ac_cv_lib_pthread_main = yes; then
|
4918 | 4325 |
cat >>confdefs.h <<_ACEOF
|
4919 | 4326 |
#define HAVE_LIBPTHREAD 1
|
4920 | 4327 |
_ACEOF
|
|
4930 | 4337 |
# used to force the use of the included libs. --disable-local-libz
|
4931 | 4338 |
# and --disable-local-libbz2 can be used to force the use of system
|
4932 | 4339 |
# libs
|
4933 | |
# Check whether --enable-local-libz was given.
|
4934 | |
if test "${enable_local_libz+set}" = set; then :
|
4935 | |
enableval=$enable_local_libz;
|
|
4340 |
# Check whether --enable-local-libz or --disable-local-libz was given.
|
|
4341 |
if test "${enable_local_libz+set}" = set; then
|
|
4342 |
enableval="$enable_local_libz"
|
|
4343 |
|
4936 | 4344 |
if test "X$enable_local_libz" = "Xno" ; then
|
4937 | 4345 |
force_system_libz=yes
|
4938 | 4346 |
else
|
4939 | 4347 |
force_bundled_libz=yes
|
4940 | 4348 |
fi
|
4941 | 4349 |
|
4942 | |
fi
|
4943 | |
|
|
4350 |
fi;
|
4944 | 4351 |
|
4945 | 4352 |
need_libz=no
|
4946 | 4353 |
LIBZ_LDADD=
|
4947 | 4354 |
LIBZ_CFLAGS=
|
4948 | 4355 |
if test "X$force_bundled_libz" != "Xyes" ; then
|
4949 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4356 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4357 |
/* confdefs.h. */
|
|
4358 |
_ACEOF
|
|
4359 |
cat confdefs.h >>conftest.$ac_ext
|
|
4360 |
cat >>conftest.$ac_ext <<_ACEOF
|
4950 | 4361 |
/* end confdefs.h. */
|
4951 | 4362 |
#include <zlib.h>
|
4952 | 4363 |
int
|
|
4957 | 4368 |
return 0;
|
4958 | 4369 |
}
|
4959 | 4370 |
_ACEOF
|
4960 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4961 | |
|
4962 | |
else
|
4963 | |
need_libz=yes
|
4964 | |
fi
|
4965 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4371 |
rm -f conftest.$ac_objext
|
|
4372 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
4373 |
(eval $ac_compile) 2>conftest.er1
|
|
4374 |
ac_status=$?
|
|
4375 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4376 |
rm -f conftest.er1
|
|
4377 |
cat conftest.err >&5
|
|
4378 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4379 |
(exit $ac_status); } &&
|
|
4380 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4381 |
|| test ! -s conftest.err'
|
|
4382 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4383 |
(eval $ac_try) 2>&5
|
|
4384 |
ac_status=$?
|
|
4385 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4386 |
(exit $ac_status); }; } &&
|
|
4387 |
{ ac_try='test -s conftest.$ac_objext'
|
|
4388 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4389 |
(eval $ac_try) 2>&5
|
|
4390 |
ac_status=$?
|
|
4391 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4392 |
(exit $ac_status); }; }; then
|
|
4393 |
:
|
|
4394 |
else
|
|
4395 |
echo "$as_me: failed program was:" >&5
|
|
4396 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4397 |
|
|
4398 |
need_libz=yes
|
|
4399 |
fi
|
|
4400 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4966 | 4401 |
if test "$need_libz" = "yes" -a "X$force_system_libz" = "Xyes" ; then
|
4967 | |
as_fn_error "
|
|
4402 |
{ { echo "$as_me:$LINENO: error:
|
4968 | 4403 |
You have disabled building the bundled libz but no system libz headers
|
4969 | 4404 |
could be found. Either allow building the bundled libz (by not using
|
4970 | |
--disable-local-libz) or make sure your system has a libz installed" "$LINENO" 5
|
|
4405 |
--disable-local-libz) or make sure your system has a libz installed" >&5
|
|
4406 |
echo "$as_me: error:
|
|
4407 |
You have disabled building the bundled libz but no system libz headers
|
|
4408 |
could be found. Either allow building the bundled libz (by not using
|
|
4409 |
--disable-local-libz) or make sure your system has a libz installed" >&2;}
|
|
4410 |
{ (exit 1); exit 1; }; }
|
4971 | 4411 |
fi
|
4972 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
|
4973 | |
$as_echo_n "checking for gzread in -lz... " >&6; }
|
4974 | |
if test "${ac_cv_lib_z_gzread+set}" = set; then :
|
4975 | |
$as_echo_n "(cached) " >&6
|
|
4412 |
echo "$as_me:$LINENO: checking for gzread in -lz" >&5
|
|
4413 |
echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6
|
|
4414 |
if test "${ac_cv_lib_z_gzread+set}" = set; then
|
|
4415 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4976 | 4416 |
else
|
4977 | 4417 |
ac_check_lib_save_LIBS=$LIBS
|
4978 | 4418 |
LIBS="-lz $LIBS"
|
4979 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4419 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4420 |
/* confdefs.h. */
|
|
4421 |
_ACEOF
|
|
4422 |
cat confdefs.h >>conftest.$ac_ext
|
|
4423 |
cat >>conftest.$ac_ext <<_ACEOF
|
4980 | 4424 |
/* end confdefs.h. */
|
4981 | 4425 |
|
4982 | |
/* Override any GCC internal prototype to avoid an error.
|
4983 | |
Use char because int might match the return type of a GCC
|
4984 | |
builtin and then its argument prototype would still apply. */
|
|
4426 |
/* Override any gcc2 internal prototype to avoid an error. */
|
4985 | 4427 |
#ifdef __cplusplus
|
4986 | 4428 |
extern "C"
|
4987 | 4429 |
#endif
|
|
4430 |
/* We use char because int might match the return type of a gcc2
|
|
4431 |
builtin and then its argument prototype would still apply. */
|
4988 | 4432 |
char gzread ();
|
4989 | 4433 |
int
|
4990 | 4434 |
main ()
|
4991 | 4435 |
{
|
4992 | |
return gzread ();
|
|
4436 |
gzread ();
|
4993 | 4437 |
;
|
4994 | 4438 |
return 0;
|
4995 | 4439 |
}
|
4996 | 4440 |
_ACEOF
|
4997 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4441 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4442 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
4443 |
(eval $ac_link) 2>conftest.er1
|
|
4444 |
ac_status=$?
|
|
4445 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4446 |
rm -f conftest.er1
|
|
4447 |
cat conftest.err >&5
|
|
4448 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4449 |
(exit $ac_status); } &&
|
|
4450 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4451 |
|| test ! -s conftest.err'
|
|
4452 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4453 |
(eval $ac_try) 2>&5
|
|
4454 |
ac_status=$?
|
|
4455 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4456 |
(exit $ac_status); }; } &&
|
|
4457 |
{ ac_try='test -s conftest$ac_exeext'
|
|
4458 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4459 |
(eval $ac_try) 2>&5
|
|
4460 |
ac_status=$?
|
|
4461 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4462 |
(exit $ac_status); }; }; then
|
4998 | 4463 |
ac_cv_lib_z_gzread=yes
|
4999 | 4464 |
else
|
5000 | |
ac_cv_lib_z_gzread=no
|
5001 | |
fi
|
5002 | |
rm -f core conftest.err conftest.$ac_objext \
|
5003 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4465 |
echo "$as_me: failed program was:" >&5
|
|
4466 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4467 |
|
|
4468 |
ac_cv_lib_z_gzread=no
|
|
4469 |
fi
|
|
4470 |
rm -f conftest.err conftest.$ac_objext \
|
|
4471 |
conftest$ac_exeext conftest.$ac_ext
|
5004 | 4472 |
LIBS=$ac_check_lib_save_LIBS
|
5005 | 4473 |
fi
|
5006 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
|
5007 | |
$as_echo "$ac_cv_lib_z_gzread" >&6; }
|
5008 | |
if test "x$ac_cv_lib_z_gzread" = x""yes; then :
|
|
4474 |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
|
|
4475 |
echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6
|
|
4476 |
if test $ac_cv_lib_z_gzread = yes; then
|
5009 | 4477 |
LIBZ_LDADD=-lz
|
5010 | 4478 |
else
|
5011 | 4479 |
need_libz=yes
|
5012 | 4480 |
fi
|
5013 | 4481 |
|
5014 | 4482 |
if test "$need_libz" = "yes" -a "X$force_system_libz" = "Xyes" ; then
|
5015 | |
as_fn_error "
|
|
4483 |
{ { echo "$as_me:$LINENO: error:
|
5016 | 4484 |
You have disabled building the bundled libz but no system libz could
|
5017 | 4485 |
be found. Either allow building the bundled libz (by not using
|
5018 | |
--disable-local-libz) or make sure your system has a libz installed" "$LINENO" 5
|
|
4486 |
--disable-local-libz) or make sure your system has a libz installed" >&5
|
|
4487 |
echo "$as_me: error:
|
|
4488 |
You have disabled building the bundled libz but no system libz could
|
|
4489 |
be found. Either allow building the bundled libz (by not using
|
|
4490 |
--disable-local-libz) or make sure your system has a libz installed" >&2;}
|
|
4491 |
{ (exit 1); exit 1; }; }
|
5019 | 4492 |
fi
|
5020 | 4493 |
else
|
5021 | 4494 |
need_libz=yes
|
5022 | 4495 |
fi
|
5023 | 4496 |
|
5024 | |
# Check whether --enable-local-libbz2 was given.
|
5025 | |
if test "${enable_local_libbz2+set}" = set; then :
|
5026 | |
enableval=$enable_local_libbz2;
|
|
4497 |
# Check whether --enable-local-libbz2 or --disable-local-libbz2 was given.
|
|
4498 |
if test "${enable_local_libbz2+set}" = set; then
|
|
4499 |
enableval="$enable_local_libbz2"
|
|
4500 |
|
5027 | 4501 |
if test "X$enable_local_libbz2" = "Xno" ; then
|
5028 | 4502 |
force_system_libbz2=yes
|
5029 | 4503 |
else
|
5030 | 4504 |
force_bundled_libbz2=yes
|
5031 | 4505 |
fi
|
5032 | 4506 |
|
5033 | |
fi
|
5034 | |
|
|
4507 |
fi;
|
5035 | 4508 |
|
5036 | 4509 |
need_libbz2=no
|
5037 | 4510 |
LIBBZ2_LDADD=
|
5038 | 4511 |
LIBBZ2_CFLAGS=
|
5039 | 4512 |
if test "X$force_bundled_libbz2" != "Xyes" ; then
|
5040 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4513 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4514 |
/* confdefs.h. */
|
|
4515 |
_ACEOF
|
|
4516 |
cat confdefs.h >>conftest.$ac_ext
|
|
4517 |
cat >>conftest.$ac_ext <<_ACEOF
|
5041 | 4518 |
/* end confdefs.h. */
|
5042 | 4519 |
#include <bzlib.h>
|
5043 | 4520 |
int
|
|
5048 | 4525 |
return 0;
|
5049 | 4526 |
}
|
5050 | 4527 |
_ACEOF
|
5051 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
5052 | |
|
5053 | |
else
|
5054 | |
need_libbz2=yes
|
5055 | |
fi
|
5056 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4528 |
rm -f conftest.$ac_objext
|
|
4529 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
4530 |
(eval $ac_compile) 2>conftest.er1
|
|
4531 |
ac_status=$?
|
|
4532 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4533 |
rm -f conftest.er1
|
|
4534 |
cat conftest.err >&5
|
|
4535 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4536 |
(exit $ac_status); } &&
|
|
4537 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4538 |
|| test ! -s conftest.err'
|
|
4539 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4540 |
(eval $ac_try) 2>&5
|
|
4541 |
ac_status=$?
|
|
4542 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4543 |
(exit $ac_status); }; } &&
|
|
4544 |
{ ac_try='test -s conftest.$ac_objext'
|
|
4545 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4546 |
(eval $ac_try) 2>&5
|
|
4547 |
ac_status=$?
|
|
4548 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4549 |
(exit $ac_status); }; }; then
|
|
4550 |
:
|
|
4551 |
else
|
|
4552 |
echo "$as_me: failed program was:" >&5
|
|
4553 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4554 |
|
|
4555 |
need_libbz2=yes
|
|
4556 |
fi
|
|
4557 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5057 | 4558 |
if test "$need_libbz2" = "yes" -a "X$force_system_libbz2" = "Xyes" ; then
|
5058 | |
as_fn_error "
|
|
4559 |
{ { echo "$as_me:$LINENO: error:
|
5059 | 4560 |
You have disabled building the bundled libbz2 but no system libbz2 headers
|
5060 | 4561 |
could be found. Either allow building the bundled libbz2 (by not using
|
5061 | |
--disable-local-libbz2) or make sure your system has a libbz2 installed" "$LINENO" 5
|
|
4562 |
--disable-local-libbz2) or make sure your system has a libbz2 installed" >&5
|
|
4563 |
echo "$as_me: error:
|
|
4564 |
You have disabled building the bundled libbz2 but no system libbz2 headers
|
|
4565 |
could be found. Either allow building the bundled libbz2 (by not using
|
|
4566 |
--disable-local-libbz2) or make sure your system has a libbz2 installed" >&2;}
|
|
4567 |
{ (exit 1); exit 1; }; }
|
5062 | 4568 |
fi
|
5063 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzread in -lbz2" >&5
|
5064 | |
$as_echo_n "checking for BZ2_bzread in -lbz2... " >&6; }
|
5065 | |
if test "${ac_cv_lib_bz2_BZ2_bzread+set}" = set; then :
|
5066 | |
$as_echo_n "(cached) " >&6
|
|
4569 |
echo "$as_me:$LINENO: checking for BZ2_bzread in -lbz2" >&5
|
|
4570 |
echo $ECHO_N "checking for BZ2_bzread in -lbz2... $ECHO_C" >&6
|
|
4571 |
if test "${ac_cv_lib_bz2_BZ2_bzread+set}" = set; then
|
|
4572 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5067 | 4573 |
else
|
5068 | 4574 |
ac_check_lib_save_LIBS=$LIBS
|
5069 | 4575 |
LIBS="-lbz2 $LIBS"
|
5070 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4576 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4577 |
/* confdefs.h. */
|
|
4578 |
_ACEOF
|
|
4579 |
cat confdefs.h >>conftest.$ac_ext
|
|
4580 |
cat >>conftest.$ac_ext <<_ACEOF
|
5071 | 4581 |
/* end confdefs.h. */
|
5072 | 4582 |
|
5073 | |
/* Override any GCC internal prototype to avoid an error.
|
5074 | |
Use char because int might match the return type of a GCC
|
5075 | |
builtin and then its argument prototype would still apply. */
|
|
4583 |
/* Override any gcc2 internal prototype to avoid an error. */
|
5076 | 4584 |
#ifdef __cplusplus
|
5077 | 4585 |
extern "C"
|
5078 | 4586 |
#endif
|
|
4587 |
/* We use char because int might match the return type of a gcc2
|
|
4588 |
builtin and then its argument prototype would still apply. */
|
5079 | 4589 |
char BZ2_bzread ();
|
5080 | 4590 |
int
|
5081 | 4591 |
main ()
|
5082 | 4592 |
{
|
5083 | |
return BZ2_bzread ();
|
|
4593 |
BZ2_bzread ();
|
5084 | 4594 |
;
|
5085 | 4595 |
return 0;
|
5086 | 4596 |
}
|
5087 | 4597 |
_ACEOF
|
5088 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4598 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4599 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
4600 |
(eval $ac_link) 2>conftest.er1
|
|
4601 |
ac_status=$?
|
|
4602 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4603 |
rm -f conftest.er1
|
|
4604 |
cat conftest.err >&5
|
|
4605 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4606 |
(exit $ac_status); } &&
|
|
4607 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4608 |
|| test ! -s conftest.err'
|
|
4609 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4610 |
(eval $ac_try) 2>&5
|
|
4611 |
ac_status=$?
|
|
4612 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4613 |
(exit $ac_status); }; } &&
|
|
4614 |
{ ac_try='test -s conftest$ac_exeext'
|
|
4615 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4616 |
(eval $ac_try) 2>&5
|
|
4617 |
ac_status=$?
|
|
4618 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4619 |
(exit $ac_status); }; }; then
|
5089 | 4620 |
ac_cv_lib_bz2_BZ2_bzread=yes
|
5090 | 4621 |
else
|
5091 | |
ac_cv_lib_bz2_BZ2_bzread=no
|
5092 | |
fi
|
5093 | |
rm -f core conftest.err conftest.$ac_objext \
|
5094 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4622 |
echo "$as_me: failed program was:" >&5
|
|
4623 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4624 |
|
|
4625 |
ac_cv_lib_bz2_BZ2_bzread=no
|
|
4626 |
fi
|
|
4627 |
rm -f conftest.err conftest.$ac_objext \
|
|
4628 |
conftest$ac_exeext conftest.$ac_ext
|
5095 | 4629 |
LIBS=$ac_check_lib_save_LIBS
|
5096 | 4630 |
fi
|
5097 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzread" >&5
|
5098 | |
$as_echo "$ac_cv_lib_bz2_BZ2_bzread" >&6; }
|
5099 | |
if test "x$ac_cv_lib_bz2_BZ2_bzread" = x""yes; then :
|
|
4631 |
echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzread" >&5
|
|
4632 |
echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzread" >&6
|
|
4633 |
if test $ac_cv_lib_bz2_BZ2_bzread = yes; then
|
5100 | 4634 |
LIBBZ2_LDADD=-lbz2
|
5101 | 4635 |
else
|
5102 | 4636 |
need_libbz2=yes
|
5103 | 4637 |
fi
|
5104 | 4638 |
|
5105 | 4639 |
if test "$need_libbz2" = "yes" -a "X$force_system_libbz2" = "Xyes" ; then
|
5106 | |
as_fn_error "
|
|
4640 |
{ { echo "$as_me:$LINENO: error:
|
5107 | 4641 |
You have disabled building the bundled libbz2 but no system libbz2 could
|
5108 | 4642 |
be found. Either allow building the bundled libbz2 (by not using
|
5109 | |
--disable-local-libbz2) or make sure your system has a libbz2 installed" "$LINENO" 5
|
|
4643 |
--disable-local-libbz2) or make sure your system has a libbz2 installed" >&5
|
|
4644 |
echo "$as_me: error:
|
|
4645 |
You have disabled building the bundled libbz2 but no system libbz2 could
|
|
4646 |
be found. Either allow building the bundled libbz2 (by not using
|
|
4647 |
--disable-local-libbz2) or make sure your system has a libbz2 installed" >&2;}
|
|
4648 |
{ (exit 1); exit 1; }; }
|
5110 | 4649 |
fi
|
5111 | 4650 |
else
|
5112 | 4651 |
need_libbz2=yes
|
|
5134 | 4673 |
|
5135 | 4674 |
# ------------- LZMA / XZ -------------------
|
5136 | 4675 |
|
5137 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XZ should be enabled" >&5
|
5138 | |
$as_echo_n "checking if XZ should be enabled... " >&6; }
|
|
4676 |
echo "$as_me:$LINENO: checking if XZ should be enabled" >&5
|
|
4677 |
echo $ECHO_N "checking if XZ should be enabled... $ECHO_C" >&6
|
5139 | 4678 |
|
5140 | 4679 |
EXZ=yes
|
5141 | |
# Check whether --enable-xz was given.
|
5142 | |
if test "${enable_xz+set}" = set; then :
|
5143 | |
enableval=$enable_xz;
|
|
4680 |
# Check whether --enable-xz or --disable-xz was given.
|
|
4681 |
if test "${enable_xz+set}" = set; then
|
|
4682 |
enableval="$enable_xz"
|
|
4683 |
|
5144 | 4684 |
if test "X$enable_xz" = "Xno" ; then
|
5145 | 4685 |
EXZ=no
|
5146 | 4686 |
fi
|
5147 | 4687 |
|
5148 | |
fi
|
5149 | |
|
5150 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXZ" >&5
|
5151 | |
$as_echo "$EXZ" >&6; }
|
|
4688 |
fi;
|
|
4689 |
echo "$as_me:$LINENO: result: $EXZ" >&5
|
|
4690 |
echo "${ECHO_T}$EXZ" >&6
|
5152 | 4691 |
|
5153 | 4692 |
LIBXZ_LDADD=
|
5154 | 4693 |
LIBXZ_CFLAGS=
|
5155 | 4694 |
if test "X$EXZ" == "Xyes"; then
|
5156 | 4695 |
have_liblzma=no
|
5157 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4696 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4697 |
/* confdefs.h. */
|
|
4698 |
_ACEOF
|
|
4699 |
cat confdefs.h >>conftest.$ac_ext
|
|
4700 |
cat >>conftest.$ac_ext <<_ACEOF
|
5158 | 4701 |
/* end confdefs.h. */
|
5159 | 4702 |
#include <lzma.h>
|
5160 | 4703 |
int
|
|
5165 | 4708 |
return 0;
|
5166 | 4709 |
}
|
5167 | 4710 |
_ACEOF
|
5168 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
5169 | |
|
5170 | |
else
|
5171 | |
have_liblzma=yes
|
5172 | |
fi
|
5173 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5174 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_end in -llzma" >&5
|
5175 | |
$as_echo_n "checking for lzma_end in -llzma... " >&6; }
|
5176 | |
if test "${ac_cv_lib_lzma_lzma_end+set}" = set; then :
|
5177 | |
$as_echo_n "(cached) " >&6
|
|
4711 |
rm -f conftest.$ac_objext
|
|
4712 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
4713 |
(eval $ac_compile) 2>conftest.er1
|
|
4714 |
ac_status=$?
|
|
4715 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4716 |
rm -f conftest.er1
|
|
4717 |
cat conftest.err >&5
|
|
4718 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4719 |
(exit $ac_status); } &&
|
|
4720 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4721 |
|| test ! -s conftest.err'
|
|
4722 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4723 |
(eval $ac_try) 2>&5
|
|
4724 |
ac_status=$?
|
|
4725 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4726 |
(exit $ac_status); }; } &&
|
|
4727 |
{ ac_try='test -s conftest.$ac_objext'
|
|
4728 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4729 |
(eval $ac_try) 2>&5
|
|
4730 |
ac_status=$?
|
|
4731 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4732 |
(exit $ac_status); }; }; then
|
|
4733 |
:
|
|
4734 |
else
|
|
4735 |
echo "$as_me: failed program was:" >&5
|
|
4736 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4737 |
|
|
4738 |
have_liblzma=yes
|
|
4739 |
fi
|
|
4740 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4741 |
echo "$as_me:$LINENO: checking for lzma_end in -llzma" >&5
|
|
4742 |
echo $ECHO_N "checking for lzma_end in -llzma... $ECHO_C" >&6
|
|
4743 |
if test "${ac_cv_lib_lzma_lzma_end+set}" = set; then
|
|
4744 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5178 | 4745 |
else
|
5179 | 4746 |
ac_check_lib_save_LIBS=$LIBS
|
5180 | 4747 |
LIBS="-llzma $LIBS"
|
5181 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4748 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4749 |
/* confdefs.h. */
|
|
4750 |
_ACEOF
|
|
4751 |
cat confdefs.h >>conftest.$ac_ext
|
|
4752 |
cat >>conftest.$ac_ext <<_ACEOF
|
5182 | 4753 |
/* end confdefs.h. */
|
5183 | 4754 |
|
5184 | |
/* Override any GCC internal prototype to avoid an error.
|
5185 | |
Use char because int might match the return type of a GCC
|
5186 | |
builtin and then its argument prototype would still apply. */
|
|
4755 |
/* Override any gcc2 internal prototype to avoid an error. */
|
5187 | 4756 |
#ifdef __cplusplus
|
5188 | 4757 |
extern "C"
|
5189 | 4758 |
#endif
|
|
4759 |
/* We use char because int might match the return type of a gcc2
|
|
4760 |
builtin and then its argument prototype would still apply. */
|
5190 | 4761 |
char lzma_end ();
|
5191 | 4762 |
int
|
5192 | 4763 |
main ()
|
5193 | 4764 |
{
|
5194 | |
return lzma_end ();
|
|
4765 |
lzma_end ();
|
5195 | 4766 |
;
|
5196 | 4767 |
return 0;
|
5197 | 4768 |
}
|
5198 | 4769 |
_ACEOF
|
5199 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4770 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4771 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
4772 |
(eval $ac_link) 2>conftest.er1
|
|
4773 |
ac_status=$?
|
|
4774 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4775 |
rm -f conftest.er1
|
|
4776 |
cat conftest.err >&5
|
|
4777 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4778 |
(exit $ac_status); } &&
|
|
4779 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4780 |
|| test ! -s conftest.err'
|
|
4781 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4782 |
(eval $ac_try) 2>&5
|
|
4783 |
ac_status=$?
|
|
4784 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4785 |
(exit $ac_status); }; } &&
|
|
4786 |
{ ac_try='test -s conftest$ac_exeext'
|
|
4787 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4788 |
(eval $ac_try) 2>&5
|
|
4789 |
ac_status=$?
|
|
4790 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4791 |
(exit $ac_status); }; }; then
|
5200 | 4792 |
ac_cv_lib_lzma_lzma_end=yes
|
5201 | 4793 |
else
|
5202 | |
ac_cv_lib_lzma_lzma_end=no
|
5203 | |
fi
|
5204 | |
rm -f core conftest.err conftest.$ac_objext \
|
5205 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4794 |
echo "$as_me: failed program was:" >&5
|
|
4795 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4796 |
|
|
4797 |
ac_cv_lib_lzma_lzma_end=no
|
|
4798 |
fi
|
|
4799 |
rm -f conftest.err conftest.$ac_objext \
|
|
4800 |
conftest$ac_exeext conftest.$ac_ext
|
5206 | 4801 |
LIBS=$ac_check_lib_save_LIBS
|
5207 | 4802 |
fi
|
5208 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_end" >&5
|
5209 | |
$as_echo "$ac_cv_lib_lzma_lzma_end" >&6; }
|
5210 | |
if test "x$ac_cv_lib_lzma_lzma_end" = x""yes; then :
|
|
4803 |
echo "$as_me:$LINENO: result: $ac_cv_lib_lzma_lzma_end" >&5
|
|
4804 |
echo "${ECHO_T}$ac_cv_lib_lzma_lzma_end" >&6
|
|
4805 |
if test $ac_cv_lib_lzma_lzma_end = yes; then
|
5211 | 4806 |
LIBLZMA_LDADD=-llzma
|
5212 | 4807 |
else
|
5213 | 4808 |
have_liblzma=yes
|
5214 | 4809 |
fi
|
5215 | 4810 |
|
5216 | 4811 |
if test "$have_liblzma" = "yes" ; then
|
5217 | |
as_fn_error "LZMA support for VZT is enabled, but xz could not be found.
|
5218 | |
Please install xz, see the http://tukaani.org/xz website or use the --disable-xz flag." "$LINENO" 5
|
|
4812 |
{ { echo "$as_me:$LINENO: error: LZMA support for VZT is enabled, but xz could not be found.
|
|
4813 |
Please install xz, see the http://tukaani.org/xz website or use the --disable-xz flag." >&5
|
|
4814 |
echo "$as_me: error: LZMA support for VZT is enabled, but xz could not be found.
|
|
4815 |
Please install xz, see the http://tukaani.org/xz website or use the --disable-xz flag." >&2;}
|
|
4816 |
{ (exit 1); exit 1; }; }
|
5219 | 4817 |
fi
|
5220 | 4818 |
LIBXZ_LDADD='-llzma'
|
5221 | 4819 |
LIBXZ_CFLAGS='-D_WAVE_HAVE_XZ'
|
|
5225 | 4823 |
|
5226 | 4824 |
# ------------- Fast Tree -------------------
|
5227 | 4825 |
|
5228 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Fast SST Tree should be enabled" >&5
|
5229 | |
$as_echo_n "checking if Fast SST Tree should be enabled... " >&6; }
|
|
4826 |
echo "$as_me:$LINENO: checking if Fast SST Tree should be enabled" >&5
|
|
4827 |
echo $ECHO_N "checking if Fast SST Tree should be enabled... $ECHO_C" >&6
|
5230 | 4828 |
|
5231 | 4829 |
FASTTREE=yes
|
5232 | |
# Check whether --enable-fasttree was given.
|
5233 | |
if test "${enable_fasttree+set}" = set; then :
|
5234 | |
enableval=$enable_fasttree;
|
|
4830 |
# Check whether --enable-fasttree or --disable-fasttree was given.
|
|
4831 |
if test "${enable_fasttree+set}" = set; then
|
|
4832 |
enableval="$enable_fasttree"
|
|
4833 |
|
5235 | 4834 |
if test "X$enable_fasttree" = "Xno" ; then
|
5236 | 4835 |
FASTTREE=no
|
5237 | 4836 |
fi
|
5238 | 4837 |
|
5239 | |
fi
|
5240 | |
|
5241 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FASTTREE" >&5
|
5242 | |
$as_echo "$FASTTREE" >&6; }
|
|
4838 |
fi;
|
|
4839 |
echo "$as_me:$LINENO: result: $FASTTREE" >&5
|
|
4840 |
echo "${ECHO_T}$FASTTREE" >&6
|
5243 | 4841 |
|
5244 | 4842 |
FASTTREE_CFLAGS=
|
5245 | 4843 |
if test "X$FASTTREE" == "Xno"; then
|
|
5249 | 4847 |
|
5250 | 4848 |
# ------------- Judy -------------------
|
5251 | 4849 |
|
5252 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Judy array support should be enabled" >&5
|
5253 | |
$as_echo_n "checking if Judy array support should be enabled... " >&6; }
|
|
4850 |
echo "$as_me:$LINENO: checking if Judy array support should be enabled" >&5
|
|
4851 |
echo $ECHO_N "checking if Judy array support should be enabled... $ECHO_C" >&6
|
5254 | 4852 |
|
5255 | 4853 |
EJUDY=no
|
5256 | |
# Check whether --enable-judy was given.
|
5257 | |
if test "${enable_judy+set}" = set; then :
|
5258 | |
enableval=$enable_judy;
|
|
4854 |
# Check whether --enable-judy or --disable-judy was given.
|
|
4855 |
if test "${enable_judy+set}" = set; then
|
|
4856 |
enableval="$enable_judy"
|
|
4857 |
|
5259 | 4858 |
if test "X$enable_judy" = "Xno" ; then
|
5260 | 4859 |
EJUDY=no
|
5261 | 4860 |
else
|
5262 | 4861 |
EJUDY=yes
|
5263 | 4862 |
fi
|
5264 | 4863 |
|
5265 | |
fi
|
5266 | |
|
5267 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EJUDY" >&5
|
5268 | |
$as_echo "$EJUDY" >&6; }
|
|
4864 |
fi;
|
|
4865 |
echo "$as_me:$LINENO: result: $EJUDY" >&5
|
|
4866 |
echo "${ECHO_T}$EJUDY" >&6
|
5269 | 4867 |
|
5270 | 4868 |
LIBJUDY_LDADD=
|
5271 | 4869 |
LIBJUDY_CFLAGS=
|
5272 | 4870 |
if test "X$EJUDY" == "Xyes"; then
|
5273 | 4871 |
have_libjudy=no
|
5274 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4872 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4873 |
/* confdefs.h. */
|
|
4874 |
_ACEOF
|
|
4875 |
cat confdefs.h >>conftest.$ac_ext
|
|
4876 |
cat >>conftest.$ac_ext <<_ACEOF
|
5275 | 4877 |
/* end confdefs.h. */
|
5276 | 4878 |
#include <Judy.h>
|
5277 | 4879 |
int
|
|
5282 | 4884 |
return 0;
|
5283 | 4885 |
}
|
5284 | 4886 |
_ACEOF
|
5285 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
5286 | |
|
5287 | |
else
|
5288 | |
have_libjudy=yes
|
5289 | |
fi
|
5290 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5291 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JudySLIns in -lJudy" >&5
|
5292 | |
$as_echo_n "checking for JudySLIns in -lJudy... " >&6; }
|
5293 | |
if test "${ac_cv_lib_Judy_JudySLIns+set}" = set; then :
|
5294 | |
$as_echo_n "(cached) " >&6
|
|
4887 |
rm -f conftest.$ac_objext
|
|
4888 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
4889 |
(eval $ac_compile) 2>conftest.er1
|
|
4890 |
ac_status=$?
|
|
4891 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4892 |
rm -f conftest.er1
|
|
4893 |
cat conftest.err >&5
|
|
4894 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4895 |
(exit $ac_status); } &&
|
|
4896 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4897 |
|| test ! -s conftest.err'
|
|
4898 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4899 |
(eval $ac_try) 2>&5
|
|
4900 |
ac_status=$?
|
|
4901 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4902 |
(exit $ac_status); }; } &&
|
|
4903 |
{ ac_try='test -s conftest.$ac_objext'
|
|
4904 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4905 |
(eval $ac_try) 2>&5
|
|
4906 |
ac_status=$?
|
|
4907 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4908 |
(exit $ac_status); }; }; then
|
|
4909 |
:
|
|
4910 |
else
|
|
4911 |
echo "$as_me: failed program was:" >&5
|
|
4912 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4913 |
|
|
4914 |
have_libjudy=yes
|
|
4915 |
fi
|
|
4916 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4917 |
echo "$as_me:$LINENO: checking for JudySLIns in -lJudy" >&5
|
|
4918 |
echo $ECHO_N "checking for JudySLIns in -lJudy... $ECHO_C" >&6
|
|
4919 |
if test "${ac_cv_lib_Judy_JudySLIns+set}" = set; then
|
|
4920 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5295 | 4921 |
else
|
5296 | 4922 |
ac_check_lib_save_LIBS=$LIBS
|
5297 | 4923 |
LIBS="-lJudy $LIBS"
|
5298 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4924 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4925 |
/* confdefs.h. */
|
|
4926 |
_ACEOF
|
|
4927 |
cat confdefs.h >>conftest.$ac_ext
|
|
4928 |
cat >>conftest.$ac_ext <<_ACEOF
|
5299 | 4929 |
/* end confdefs.h. */
|
5300 | 4930 |
|
5301 | |
/* Override any GCC internal prototype to avoid an error.
|
5302 | |
Use char because int might match the return type of a GCC
|
5303 | |
builtin and then its argument prototype would still apply. */
|
|
4931 |
/* Override any gcc2 internal prototype to avoid an error. */
|
5304 | 4932 |
#ifdef __cplusplus
|
5305 | 4933 |
extern "C"
|
5306 | 4934 |
#endif
|
|
4935 |
/* We use char because int might match the return type of a gcc2
|
|
4936 |
builtin and then its argument prototype would still apply. */
|
5307 | 4937 |
char JudySLIns ();
|
5308 | 4938 |
int
|
5309 | 4939 |
main ()
|
5310 | 4940 |
{
|
5311 | |
return JudySLIns ();
|
|
4941 |
JudySLIns ();
|
5312 | 4942 |
;
|
5313 | 4943 |
return 0;
|
5314 | 4944 |
}
|
5315 | 4945 |
_ACEOF
|
5316 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4946 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4947 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
4948 |
(eval $ac_link) 2>conftest.er1
|
|
4949 |
ac_status=$?
|
|
4950 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4951 |
rm -f conftest.er1
|
|
4952 |
cat conftest.err >&5
|
|
4953 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4954 |
(exit $ac_status); } &&
|
|
4955 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
4956 |
|| test ! -s conftest.err'
|
|
4957 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4958 |
(eval $ac_try) 2>&5
|
|
4959 |
ac_status=$?
|
|
4960 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4961 |
(exit $ac_status); }; } &&
|
|
4962 |
{ ac_try='test -s conftest$ac_exeext'
|
|
4963 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
4964 |
(eval $ac_try) 2>&5
|
|
4965 |
ac_status=$?
|
|
4966 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4967 |
(exit $ac_status); }; }; then
|
5317 | 4968 |
ac_cv_lib_Judy_JudySLIns=yes
|
5318 | 4969 |
else
|
5319 | |
ac_cv_lib_Judy_JudySLIns=no
|
5320 | |
fi
|
5321 | |
rm -f core conftest.err conftest.$ac_objext \
|
5322 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4970 |
echo "$as_me: failed program was:" >&5
|
|
4971 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4972 |
|
|
4973 |
ac_cv_lib_Judy_JudySLIns=no
|
|
4974 |
fi
|
|
4975 |
rm -f conftest.err conftest.$ac_objext \
|
|
4976 |
conftest$ac_exeext conftest.$ac_ext
|
5323 | 4977 |
LIBS=$ac_check_lib_save_LIBS
|
5324 | 4978 |
fi
|
5325 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Judy_JudySLIns" >&5
|
5326 | |
$as_echo "$ac_cv_lib_Judy_JudySLIns" >&6; }
|
5327 | |
if test "x$ac_cv_lib_Judy_JudySLIns" = x""yes; then :
|
|
4979 |
echo "$as_me:$LINENO: result: $ac_cv_lib_Judy_JudySLIns" >&5
|
|
4980 |
echo "${ECHO_T}$ac_cv_lib_Judy_JudySLIns" >&6
|
|
4981 |
if test $ac_cv_lib_Judy_JudySLIns = yes; then
|
5328 | 4982 |
LIBJUDY_LDADD=-lJudy
|
5329 | 4983 |
else
|
5330 | 4984 |
have_libjudy=yes
|
5331 | 4985 |
fi
|
5332 | 4986 |
|
5333 | 4987 |
if test "$have_libjudy" = "yes" ; then
|
5334 | |
as_fn_error "Judy support is enabled, but could not be found.
|
5335 | |
Please install Judy, see the http://judy.sourceforge.net website or use the --disable-judy flag." "$LINENO" 5
|
|
4988 |
{ { echo "$as_me:$LINENO: error: Judy support is enabled, but could not be found.
|
|
4989 |
Please install Judy, see the http://judy.sourceforge.net website or use the --disable-judy flag." >&5
|
|
4990 |
echo "$as_me: error: Judy support is enabled, but could not be found.
|
|
4991 |
Please install Judy, see the http://judy.sourceforge.net website or use the --disable-judy flag." >&2;}
|
|
4992 |
{ (exit 1); exit 1; }; }
|
5336 | 4993 |
fi
|
5337 | 4994 |
LIBJUDY_LDADD='-lJudy'
|
5338 | 4995 |
LIBJUDY_CFLAGS='-D_WAVE_HAVE_JUDY'
|
|
5344 | 5001 |
if test "X$GTK1" = "Xyes" ; then
|
5345 | 5002 |
# Extract the first word of "gtk-config", so it can be a program name with args.
|
5346 | 5003 |
set dummy gtk-config; ac_word=$2
|
5347 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5348 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5349 | |
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
|
5350 | |
$as_echo_n "(cached) " >&6
|
|
5004 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5005 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
5006 |
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
|
|
5007 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5351 | 5008 |
else
|
5352 | 5009 |
case $GTK_CONFIG in
|
5353 | 5010 |
[\\/]* | ?:[\\/]*)
|
|
5359 | 5016 |
do
|
5360 | 5017 |
IFS=$as_save_IFS
|
5361 | 5018 |
test -z "$as_dir" && as_dir=.
|
5362 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5363 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5019 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5020 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5364 | 5021 |
ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
5365 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5022 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5366 | 5023 |
break 2
|
5367 | 5024 |
fi
|
5368 | 5025 |
done
|
5369 | |
done
|
5370 | |
IFS=$as_save_IFS
|
|
5026 |
done
|
5371 | 5027 |
|
5372 | 5028 |
test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="notfound"
|
5373 | 5029 |
;;
|
5374 | 5030 |
esac
|
5375 | 5031 |
fi
|
5376 | 5032 |
GTK_CONFIG=$ac_cv_path_GTK_CONFIG
|
|
5033 |
|
5377 | 5034 |
if test -n "$GTK_CONFIG"; then
|
5378 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
|
5379 | |
$as_echo "$GTK_CONFIG" >&6; }
|
5380 | |
else
|
5381 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5382 | |
$as_echo "no" >&6; }
|
5383 | |
fi
|
5384 | |
|
|
5035 |
echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
|
|
5036 |
echo "${ECHO_T}$GTK_CONFIG" >&6
|
|
5037 |
else
|
|
5038 |
echo "$as_me:$LINENO: result: no" >&5
|
|
5039 |
echo "${ECHO_T}no" >&6
|
|
5040 |
fi
|
5385 | 5041 |
|
5386 | 5042 |
if test "$GTK_CONFIG" = "notfound"; then
|
5387 | |
as_fn_error "You must have gtk installed on your system" "$LINENO" 5
|
|
5043 |
{ { echo "$as_me:$LINENO: error: You must have gtk installed on your system" >&5
|
|
5044 |
echo "$as_me: error: You must have gtk installed on your system" >&2;}
|
|
5045 |
{ (exit 1); exit 1; }; }
|
5388 | 5046 |
else
|
5389 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gtk1 version" >&5
|
5390 | |
$as_echo_n "checking gtk1 version... " >&6; }
|
|
5047 |
echo "$as_me:$LINENO: checking gtk1 version" >&5
|
|
5048 |
echo $ECHO_N "checking gtk1 version... $ECHO_C" >&6
|
5391 | 5049 |
GTK_VER=`$GTK_CONFIG --version`
|
5392 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VER" >&5
|
5393 | |
$as_echo "$GTK_VER" >&6; }
|
|
5050 |
echo "$as_me:$LINENO: result: $GTK_VER" >&5
|
|
5051 |
echo "${ECHO_T}$GTK_VER" >&6
|
5394 | 5052 |
|
5395 | 5053 |
case $GTK_VER in
|
5396 | 5054 |
1.2.* )
|
5397 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk1 CFLAGS" >&5
|
5398 | |
$as_echo_n "checking for gtk1 CFLAGS... " >&6; }
|
|
5055 |
echo "$as_me:$LINENO: checking for gtk1 CFLAGS" >&5
|
|
5056 |
echo $ECHO_N "checking for gtk1 CFLAGS... $ECHO_C" >&6
|
5399 | 5057 |
GTK_CFLAGS=`$GTK_CONFIG --cflags`
|
5400 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
|
5401 | |
$as_echo "$GTK_CFLAGS" >&6; }
|
5402 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk1 libs" >&5
|
5403 | |
$as_echo_n "checking for gtk1 libs... " >&6; }
|
|
5058 |
echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
|
|
5059 |
echo "${ECHO_T}$GTK_CFLAGS" >&6
|
|
5060 |
echo "$as_me:$LINENO: checking for gtk1 libs" >&5
|
|
5061 |
echo $ECHO_N "checking for gtk1 libs... $ECHO_C" >&6
|
5404 | 5062 |
GTK_LIBS=`$GTK_CONFIG --libs`
|
5405 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
|
5406 | |
$as_echo "$GTK_LIBS" >&6; }
|
|
5063 |
echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
|
|
5064 |
echo "${ECHO_T}$GTK_LIBS" >&6
|
5407 | 5065 |
;;
|
5408 | 5066 |
|
5409 | 5067 |
* )
|
5410 | |
as_fn_error "when building with gtk1, you need version 1.2.*" "$LINENO" 5
|
|
5068 |
{ { echo "$as_me:$LINENO: error: when building with gtk1, you need version 1.2.*" >&5
|
|
5069 |
echo "$as_me: error: when building with gtk1, you need version 1.2.*" >&2;}
|
|
5070 |
{ (exit 1); exit 1; }; }
|
5411 | 5071 |
;;
|
5412 | 5072 |
esac
|
5413 | 5073 |
fi
|
5414 | 5074 |
else
|
5415 | |
|
5416 | |
|
5417 | |
|
5418 | |
|
5419 | 5075 |
|
5420 | 5076 |
|
5421 | 5077 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
5422 | 5078 |
if test -n "$ac_tool_prefix"; then
|
5423 | 5079 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
5424 | 5080 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
|
5425 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5426 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5427 | |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
|
5428 | |
$as_echo_n "(cached) " >&6
|
|
5081 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5082 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
5083 |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
|
|
5084 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5429 | 5085 |
else
|
5430 | 5086 |
case $PKG_CONFIG in
|
5431 | 5087 |
[\\/]* | ?:[\\/]*)
|
|
5437 | 5093 |
do
|
5438 | 5094 |
IFS=$as_save_IFS
|
5439 | 5095 |
test -z "$as_dir" && as_dir=.
|
5440 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5441 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5096 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5097 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5442 | 5098 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
5443 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5099 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5444 | 5100 |
break 2
|
5445 | 5101 |
fi
|
5446 | 5102 |
done
|
5447 | |
done
|
5448 | |
IFS=$as_save_IFS
|
|
5103 |
done
|
5449 | 5104 |
|
5450 | 5105 |
;;
|
5451 | 5106 |
esac
|
5452 | 5107 |
fi
|
5453 | 5108 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
|
5109 |
|
5454 | 5110 |
if test -n "$PKG_CONFIG"; then
|
5455 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
5456 | |
$as_echo "$PKG_CONFIG" >&6; }
|
5457 | |
else
|
5458 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5459 | |
$as_echo "no" >&6; }
|
5460 | |
fi
|
5461 | |
|
|
5111 |
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
|
|
5112 |
echo "${ECHO_T}$PKG_CONFIG" >&6
|
|
5113 |
else
|
|
5114 |
echo "$as_me:$LINENO: result: no" >&5
|
|
5115 |
echo "${ECHO_T}no" >&6
|
|
5116 |
fi
|
5462 | 5117 |
|
5463 | 5118 |
fi
|
5464 | 5119 |
if test -z "$ac_cv_path_PKG_CONFIG"; then
|
5465 | 5120 |
ac_pt_PKG_CONFIG=$PKG_CONFIG
|
5466 | 5121 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
5467 | 5122 |
set dummy pkg-config; ac_word=$2
|
5468 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5469 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
5470 | |
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
|
5471 | |
$as_echo_n "(cached) " >&6
|
|
5123 |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5124 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
5125 |
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
|
|
5126 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5472 | 5127 |
else
|
5473 | 5128 |
case $ac_pt_PKG_CONFIG in
|
5474 | 5129 |
[\\/]* | ?:[\\/]*)
|
|
5480 | 5135 |
do
|
5481 | 5136 |
IFS=$as_save_IFS
|
5482 | 5137 |
test -z "$as_dir" && as_dir=.
|
5483 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5484 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5138 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5139 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5485 | 5140 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
5486 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5141 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5487 | 5142 |
break 2
|
5488 | 5143 |
fi
|
5489 | 5144 |
done
|
5490 | |
done
|
5491 | |
IFS=$as_save_IFS
|
|
5145 |
done
|
5492 | 5146 |
|
5493 | 5147 |
;;
|
5494 | 5148 |
esac
|
5495 | 5149 |
fi
|
5496 | 5150 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
|
5151 |
|
5497 | 5152 |
if test -n "$ac_pt_PKG_CONFIG"; then
|
5498 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
5499 | |
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
|
5500 | |
else
|
5501 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5502 | |
$as_echo "no" >&6; }
|
5503 | |
fi
|
5504 | |
|
5505 | |
if test "x$ac_pt_PKG_CONFIG" = x; then
|
5506 | |
PKG_CONFIG=""
|
5507 | |
else
|
5508 | |
case $cross_compiling:$ac_tool_warned in
|
5509 | |
yes:)
|
5510 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5511 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5512 | |
ac_tool_warned=yes ;;
|
5513 | |
esac
|
5514 | |
PKG_CONFIG=$ac_pt_PKG_CONFIG
|
5515 | |
fi
|
|
5153 |
echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
|
|
5154 |
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
|
|
5155 |
else
|
|
5156 |
echo "$as_me:$LINENO: result: no" >&5
|
|
5157 |
echo "${ECHO_T}no" >&6
|
|
5158 |
fi
|
|
5159 |
|
|
5160 |
PKG_CONFIG=$ac_pt_PKG_CONFIG
|
5516 | 5161 |
else
|
5517 | 5162 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
|
5518 | 5163 |
fi
|
|
5520 | 5165 |
fi
|
5521 | 5166 |
if test -n "$PKG_CONFIG"; then
|
5522 | 5167 |
_pkg_min_version=0.9.0
|
5523 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
5524 | |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
|
5168 |
echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
|
|
5169 |
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
|
5525 | 5170 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
5526 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5527 | |
$as_echo "yes" >&6; }
|
|
5171 |
echo "$as_me:$LINENO: result: yes" >&5
|
|
5172 |
echo "${ECHO_T}yes" >&6
|
5528 | 5173 |
else
|
5529 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5530 | |
$as_echo "no" >&6; }
|
|
5174 |
echo "$as_me:$LINENO: result: no" >&5
|
|
5175 |
echo "${ECHO_T}no" >&6
|
5531 | 5176 |
PKG_CONFIG=""
|
5532 | 5177 |
fi
|
5533 | 5178 |
|
5534 | 5179 |
fi
|
5535 | 5180 |
|
5536 | 5181 |
pkg_failed=no
|
5537 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
|
5538 | |
$as_echo_n "checking for GTK... " >&6; }
|
5539 | |
|
5540 | |
if test -n "$GTK_CFLAGS"; then
|
5541 | |
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
|
5542 | |
elif test -n "$PKG_CONFIG"; then
|
5543 | |
if test -n "$PKG_CONFIG" && \
|
5544 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\""; } >&5
|
|
5182 |
echo "$as_me:$LINENO: checking for GTK" >&5
|
|
5183 |
echo $ECHO_N "checking for GTK... $ECHO_C" >&6
|
|
5184 |
|
|
5185 |
if test -n "$PKG_CONFIG"; then
|
|
5186 |
if test -n "$GTK_CFLAGS"; then
|
|
5187 |
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
|
|
5188 |
else
|
|
5189 |
if test -n "$PKG_CONFIG" && \
|
|
5190 |
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
|
5545 | 5191 |
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
|
5546 | 5192 |
ac_status=$?
|
5547 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5548 | |
test $ac_status = 0; }; then
|
|
5193 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5194 |
(exit $ac_status); }; then
|
5549 | 5195 |
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2.0" 2>/dev/null`
|
5550 | 5196 |
else
|
5551 | 5197 |
pkg_failed=yes
|
5552 | 5198 |
fi
|
5553 | |
else
|
5554 | |
pkg_failed=untried
|
5555 | |
fi
|
5556 | |
if test -n "$GTK_LIBS"; then
|
5557 | |
pkg_cv_GTK_LIBS="$GTK_LIBS"
|
5558 | |
elif test -n "$PKG_CONFIG"; then
|
5559 | |
if test -n "$PKG_CONFIG" && \
|
5560 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\""; } >&5
|
|
5199 |
fi
|
|
5200 |
else
|
|
5201 |
pkg_failed=untried
|
|
5202 |
fi
|
|
5203 |
if test -n "$PKG_CONFIG"; then
|
|
5204 |
if test -n "$GTK_LIBS"; then
|
|
5205 |
pkg_cv_GTK_LIBS="$GTK_LIBS"
|
|
5206 |
else
|
|
5207 |
if test -n "$PKG_CONFIG" && \
|
|
5208 |
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
|
5561 | 5209 |
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
|
5562 | 5210 |
ac_status=$?
|
5563 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
5564 | |
test $ac_status = 0; }; then
|
|
5211 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5212 |
(exit $ac_status); }; then
|
5565 | 5213 |
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2.0" 2>/dev/null`
|
5566 | 5214 |
else
|
5567 | 5215 |
pkg_failed=yes
|
5568 | 5216 |
fi
|
5569 | |
else
|
5570 | |
pkg_failed=untried
|
|
5217 |
fi
|
|
5218 |
else
|
|
5219 |
pkg_failed=untried
|
5571 | 5220 |
fi
|
5572 | 5221 |
|
5573 | 5222 |
|
|
5580 | 5229 |
_pkg_short_errors_supported=no
|
5581 | 5230 |
fi
|
5582 | 5231 |
if test $_pkg_short_errors_supported = yes; then
|
5583 | |
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.2.0" 2>&1`
|
|
5232 |
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
|
5584 | 5233 |
else
|
5585 | |
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.2.0" 2>&1`
|
|
5234 |
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
|
5586 | 5235 |
fi
|
5587 | 5236 |
# Put the nasty error message in config.log where it belongs
|
5588 | 5237 |
echo "$GTK_PKG_ERRORS" >&5
|
5589 | 5238 |
|
5590 | |
as_fn_error "Package requirements (gtk+-2.0 >= 2.2.0) were not met:
|
|
5239 |
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.2.0) were not met:
|
5591 | 5240 |
|
5592 | 5241 |
$GTK_PKG_ERRORS
|
5593 | 5242 |
|
|
5597 | 5246 |
Alternatively, you may set the environment variables GTK_CFLAGS
|
5598 | 5247 |
and GTK_LIBS to avoid the need to call pkg-config.
|
5599 | 5248 |
See the pkg-config man page for more details.
|
5600 | |
" "$LINENO" 5
|
5601 | |
elif test $pkg_failed = untried; then
|
5602 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5603 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
5604 | |
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
|
5605 | |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
5606 | |
path to pkg-config.
|
|
5249 |
" >&5
|
|
5250 |
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.2.0) were not met:
|
|
5251 |
|
|
5252 |
$GTK_PKG_ERRORS
|
|
5253 |
|
|
5254 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
|
5255 |
installed software in a non-standard prefix.
|
5607 | 5256 |
|
5608 | 5257 |
Alternatively, you may set the environment variables GTK_CFLAGS
|
5609 | 5258 |
and GTK_LIBS to avoid the need to call pkg-config.
|
5610 | 5259 |
See the pkg-config man page for more details.
|
5611 | |
|
5612 | |
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
5613 | |
See \`config.log' for more details." "$LINENO" 5; }
|
|
5260 |
" >&2;}
|
|
5261 |
{ (exit 1); exit 1; }; }
|
|
5262 |
elif test $pkg_failed = untried; then
|
|
5263 |
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
|
|
5264 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
|
5265 |
path to pkg-config.
|
|
5266 |
|
|
5267 |
Alternatively, you may set the environment variables GTK_CFLAGS
|
|
5268 |
and GTK_LIBS to avoid the need to call pkg-config.
|
|
5269 |
See the pkg-config man page for more details.
|
|
5270 |
|
|
5271 |
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
|
|
5272 |
See \`config.log' for more details." >&5
|
|
5273 |
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
|
|
5274 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
|
5275 |
path to pkg-config.
|
|
5276 |
|
|
5277 |
Alternatively, you may set the environment variables GTK_CFLAGS
|
|
5278 |
and GTK_LIBS to avoid the need to call pkg-config.
|
|
5279 |
See the pkg-config man page for more details.
|
|
5280 |
|
|
5281 |
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
|
|
5282 |
See \`config.log' for more details." >&2;}
|
|
5283 |
{ (exit 1); exit 1; }; }
|
5614 | 5284 |
else
|
5615 | 5285 |
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
|
5616 | 5286 |
GTK_LIBS=$pkg_cv_GTK_LIBS
|
5617 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5618 | |
$as_echo "yes" >&6; }
|
|
5287 |
echo "$as_me:$LINENO: result: yes" >&5
|
|
5288 |
echo "${ECHO_T}yes" >&6
|
5619 | 5289 |
:
|
5620 | 5290 |
fi
|
5621 | 5291 |
GTK_VER=`$PKG_CONFIG gtk+-2.0 --modversion`
|
|
5627 | 5297 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5628 | 5298 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5629 | 5299 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
5630 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
5631 | |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
|
5300 |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
5301 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
5632 | 5302 |
# On Suns, sometimes $CPP names a directory.
|
5633 | 5303 |
if test -n "$CPP" && test -d "$CPP"; then
|
5634 | 5304 |
CPP=
|
5635 | 5305 |
fi
|
5636 | 5306 |
if test -z "$CPP"; then
|
5637 | |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
5638 | |
$as_echo_n "(cached) " >&6
|
|
5307 |
if test "${ac_cv_prog_CPP+set}" = set; then
|
|
5308 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5639 | 5309 |
else
|
5640 | 5310 |
# Double quotes because CPP needs to be expanded
|
5641 | 5311 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
5649 | 5319 |
# <limits.h> exists even on freestanding compilers.
|
5650 | 5320 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5651 | 5321 |
# not just through cpp. "Syntax error" is here to catch this case.
|
5652 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5322 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5323 |
/* confdefs.h. */
|
|
5324 |
_ACEOF
|
|
5325 |
cat confdefs.h >>conftest.$ac_ext
|
|
5326 |
cat >>conftest.$ac_ext <<_ACEOF
|
5653 | 5327 |
/* end confdefs.h. */
|
5654 | 5328 |
#ifdef __STDC__
|
5655 | 5329 |
# include <limits.h>
|
|
5658 | 5332 |
#endif
|
5659 | 5333 |
Syntax error
|
5660 | 5334 |
_ACEOF
|
5661 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
5662 | |
|
5663 | |
else
|
|
5335 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
5336 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5337 |
ac_status=$?
|
|
5338 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5339 |
rm -f conftest.er1
|
|
5340 |
cat conftest.err >&5
|
|
5341 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5342 |
(exit $ac_status); } >/dev/null; then
|
|
5343 |
if test -s conftest.err; then
|
|
5344 |
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
5345 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
5346 |
else
|
|
5347 |
ac_cpp_err=
|
|
5348 |
fi
|
|
5349 |
else
|
|
5350 |
ac_cpp_err=yes
|
|
5351 |
fi
|
|
5352 |
if test -z "$ac_cpp_err"; then
|
|
5353 |
:
|
|
5354 |
else
|
|
5355 |
echo "$as_me: failed program was:" >&5
|
|
5356 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5357 |
|
5664 | 5358 |
# Broken: fails on valid input.
|
5665 | 5359 |
continue
|
5666 | 5360 |
fi
|
5667 | 5361 |
rm -f conftest.err conftest.$ac_ext
|
5668 | 5362 |
|
5669 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
5363 |
# OK, works on sane cases. Now check whether non-existent headers
|
5670 | 5364 |
# can be detected and how.
|
5671 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5365 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5366 |
/* confdefs.h. */
|
|
5367 |
_ACEOF
|
|
5368 |
cat confdefs.h >>conftest.$ac_ext
|
|
5369 |
cat >>conftest.$ac_ext <<_ACEOF
|
5672 | 5370 |
/* end confdefs.h. */
|
5673 | 5371 |
#include <ac_nonexistent.h>
|
5674 | 5372 |
_ACEOF
|
5675 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
5373 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
5374 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5375 |
ac_status=$?
|
|
5376 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5377 |
rm -f conftest.er1
|
|
5378 |
cat conftest.err >&5
|
|
5379 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5380 |
(exit $ac_status); } >/dev/null; then
|
|
5381 |
if test -s conftest.err; then
|
|
5382 |
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
5383 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
5384 |
else
|
|
5385 |
ac_cpp_err=
|
|
5386 |
fi
|
|
5387 |
else
|
|
5388 |
ac_cpp_err=yes
|
|
5389 |
fi
|
|
5390 |
if test -z "$ac_cpp_err"; then
|
5676 | 5391 |
# Broken: success on invalid input.
|
5677 | 5392 |
continue
|
5678 | 5393 |
else
|
|
5394 |
echo "$as_me: failed program was:" >&5
|
|
5395 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5396 |
|
5679 | 5397 |
# Passes both tests.
|
5680 | 5398 |
ac_preproc_ok=:
|
5681 | 5399 |
break
|
|
5685 | 5403 |
done
|
5686 | 5404 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5687 | 5405 |
rm -f conftest.err conftest.$ac_ext
|
5688 | |
if $ac_preproc_ok; then :
|
|
5406 |
if $ac_preproc_ok; then
|
5689 | 5407 |
break
|
5690 | 5408 |
fi
|
5691 | 5409 |
|
|
5697 | 5415 |
else
|
5698 | 5416 |
ac_cv_prog_CPP=$CPP
|
5699 | 5417 |
fi
|
5700 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
5701 | |
$as_echo "$CPP" >&6; }
|
|
5418 |
echo "$as_me:$LINENO: result: $CPP" >&5
|
|
5419 |
echo "${ECHO_T}$CPP" >&6
|
5702 | 5420 |
ac_preproc_ok=false
|
5703 | 5421 |
for ac_c_preproc_warn_flag in '' yes
|
5704 | 5422 |
do
|
|
5708 | 5426 |
# <limits.h> exists even on freestanding compilers.
|
5709 | 5427 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5710 | 5428 |
# not just through cpp. "Syntax error" is here to catch this case.
|
5711 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5429 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5430 |
/* confdefs.h. */
|
|
5431 |
_ACEOF
|
|
5432 |
cat confdefs.h >>conftest.$ac_ext
|
|
5433 |
cat >>conftest.$ac_ext <<_ACEOF
|
5712 | 5434 |
/* end confdefs.h. */
|
5713 | 5435 |
#ifdef __STDC__
|
5714 | 5436 |
# include <limits.h>
|
|
5717 | 5439 |
#endif
|
5718 | 5440 |
Syntax error
|
5719 | 5441 |
_ACEOF
|
5720 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
5721 | |
|
5722 | |
else
|
|
5442 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
5443 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5444 |
ac_status=$?
|
|
5445 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5446 |
rm -f conftest.er1
|
|
5447 |
cat conftest.err >&5
|
|
5448 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5449 |
(exit $ac_status); } >/dev/null; then
|
|
5450 |
if test -s conftest.err; then
|
|
5451 |
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
5452 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
5453 |
else
|
|
5454 |
ac_cpp_err=
|
|
5455 |
fi
|
|
5456 |
else
|
|
5457 |
ac_cpp_err=yes
|
|
5458 |
fi
|
|
5459 |
if test -z "$ac_cpp_err"; then
|
|
5460 |
:
|
|
5461 |
else
|
|
5462 |
echo "$as_me: failed program was:" >&5
|
|
5463 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5464 |
|
5723 | 5465 |
# Broken: fails on valid input.
|
5724 | 5466 |
continue
|
5725 | 5467 |
fi
|
5726 | 5468 |
rm -f conftest.err conftest.$ac_ext
|
5727 | 5469 |
|
5728 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
5470 |
# OK, works on sane cases. Now check whether non-existent headers
|
5729 | 5471 |
# can be detected and how.
|
5730 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5472 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5473 |
/* confdefs.h. */
|
|
5474 |
_ACEOF
|
|
5475 |
cat confdefs.h >>conftest.$ac_ext
|
|
5476 |
cat >>conftest.$ac_ext <<_ACEOF
|
5731 | 5477 |
/* end confdefs.h. */
|
5732 | 5478 |
#include <ac_nonexistent.h>
|
5733 | 5479 |
_ACEOF
|
5734 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
5480 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
5481 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5482 |
ac_status=$?
|
|
5483 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5484 |
rm -f conftest.er1
|
|
5485 |
cat conftest.err >&5
|
|
5486 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5487 |
(exit $ac_status); } >/dev/null; then
|
|
5488 |
if test -s conftest.err; then
|
|
5489 |
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
5490 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
5491 |
else
|
|
5492 |
ac_cpp_err=
|
|
5493 |
fi
|
|
5494 |
else
|
|
5495 |
ac_cpp_err=yes
|
|
5496 |
fi
|
|
5497 |
if test -z "$ac_cpp_err"; then
|
5735 | 5498 |
# Broken: success on invalid input.
|
5736 | 5499 |
continue
|
5737 | 5500 |
else
|
|
5501 |
echo "$as_me: failed program was:" >&5
|
|
5502 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5503 |
|
5738 | 5504 |
# Passes both tests.
|
5739 | 5505 |
ac_preproc_ok=:
|
5740 | 5506 |
break
|
|
5744 | 5510 |
done
|
5745 | 5511 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5746 | 5512 |
rm -f conftest.err conftest.$ac_ext
|
5747 | |
if $ac_preproc_ok; then :
|
5748 | |
|
5749 | |
else
|
5750 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5751 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
5752 | |
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
5753 | |
See \`config.log' for more details." "$LINENO" 5; }
|
|
5513 |
if $ac_preproc_ok; then
|
|
5514 |
:
|
|
5515 |
else
|
|
5516 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
|
5517 |
See \`config.log' for more details." >&5
|
|
5518 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
|
5519 |
See \`config.log' for more details." >&2;}
|
|
5520 |
{ (exit 1); exit 1; }; }
|
5754 | 5521 |
fi
|
5755 | 5522 |
|
5756 | 5523 |
ac_ext=c
|
|
5760 | 5527 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
5761 | 5528 |
|
5762 | 5529 |
|
5763 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
5764 | |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
5765 | |
if test "${ac_cv_path_GREP+set}" = set; then :
|
5766 | |
$as_echo_n "(cached) " >&6
|
5767 | |
else
|
5768 | |
if test -z "$GREP"; then
|
5769 | |
ac_path_GREP_found=false
|
5770 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
5771 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5772 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5773 | |
do
|
5774 | |
IFS=$as_save_IFS
|
5775 | |
test -z "$as_dir" && as_dir=.
|
5776 | |
for ac_prog in grep ggrep; do
|
5777 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5778 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
5779 | |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
5780 | |
# Check for GNU ac_path_GREP and select it if it is found.
|
5781 | |
# Check for GNU $ac_path_GREP
|
5782 | |
case `"$ac_path_GREP" --version 2>&1` in
|
5783 | |
*GNU*)
|
5784 | |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
5785 | |
*)
|
5786 | |
ac_count=0
|
5787 | |
$as_echo_n 0123456789 >"conftest.in"
|
5788 | |
while :
|
5789 | |
do
|
5790 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5791 | |
mv "conftest.tmp" "conftest.in"
|
5792 | |
cp "conftest.in" "conftest.nl"
|
5793 | |
$as_echo 'GREP' >> "conftest.nl"
|
5794 | |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5795 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5796 | |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5797 | |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
5798 | |
# Best one so far, save it but keep looking for a better one
|
5799 | |
ac_cv_path_GREP="$ac_path_GREP"
|
5800 | |
ac_path_GREP_max=$ac_count
|
|
5530 |
echo "$as_me:$LINENO: checking for egrep" >&5
|
|
5531 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
|
5532 |
if test "${ac_cv_prog_egrep+set}" = set; then
|
|
5533 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5534 |
else
|
|
5535 |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
|
5536 |
then ac_cv_prog_egrep='grep -E'
|
|
5537 |
else ac_cv_prog_egrep='egrep'
|
5801 | 5538 |
fi
|
5802 | |
# 10*(2^10) chars as input seems more than enough
|
5803 | |
test $ac_count -gt 10 && break
|
5804 | |
done
|
5805 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
5806 | |
esac
|
5807 | |
|
5808 | |
$ac_path_GREP_found && break 3
|
5809 | |
done
|
5810 | |
done
|
5811 | |
done
|
5812 | |
IFS=$as_save_IFS
|
5813 | |
if test -z "$ac_cv_path_GREP"; then
|
5814 | |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5815 | |
fi
|
5816 | |
else
|
5817 | |
ac_cv_path_GREP=$GREP
|
5818 | |
fi
|
5819 | |
|
5820 | |
fi
|
5821 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
5822 | |
$as_echo "$ac_cv_path_GREP" >&6; }
|
5823 | |
GREP="$ac_cv_path_GREP"
|
5824 | |
|
5825 | |
|
5826 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
5827 | |
$as_echo_n "checking for egrep... " >&6; }
|
5828 | |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
5829 | |
$as_echo_n "(cached) " >&6
|
5830 | |
else
|
5831 | |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
5832 | |
then ac_cv_path_EGREP="$GREP -E"
|
5833 | |
else
|
5834 | |
if test -z "$EGREP"; then
|
5835 | |
ac_path_EGREP_found=false
|
5836 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
5837 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5838 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5839 | |
do
|
5840 | |
IFS=$as_save_IFS
|
5841 | |
test -z "$as_dir" && as_dir=.
|
5842 | |
for ac_prog in egrep; do
|
5843 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5844 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
5845 | |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
5846 | |
# Check for GNU ac_path_EGREP and select it if it is found.
|
5847 | |
# Check for GNU $ac_path_EGREP
|
5848 | |
case `"$ac_path_EGREP" --version 2>&1` in
|
5849 | |
*GNU*)
|
5850 | |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
5851 | |
*)
|
5852 | |
ac_count=0
|
5853 | |
$as_echo_n 0123456789 >"conftest.in"
|
5854 | |
while :
|
5855 | |
do
|
5856 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5857 | |
mv "conftest.tmp" "conftest.in"
|
5858 | |
cp "conftest.in" "conftest.nl"
|
5859 | |
$as_echo 'EGREP' >> "conftest.nl"
|
5860 | |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5861 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5862 | |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5863 | |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
5864 | |
# Best one so far, save it but keep looking for a better one
|
5865 | |
ac_cv_path_EGREP="$ac_path_EGREP"
|
5866 | |
ac_path_EGREP_max=$ac_count
|
5867 | |
fi
|
5868 | |
# 10*(2^10) chars as input seems more than enough
|
5869 | |
test $ac_count -gt 10 && break
|
5870 | |
done
|
5871 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
5872 | |
esac
|
5873 | |
|
5874 | |
$ac_path_EGREP_found && break 3
|
5875 | |
done
|
5876 | |
done
|
5877 | |
done
|
5878 | |
IFS=$as_save_IFS
|
5879 | |
if test -z "$ac_cv_path_EGREP"; then
|
5880 | |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5881 | |
fi
|
5882 | |
else
|
5883 | |
ac_cv_path_EGREP=$EGREP
|
5884 | |
fi
|
5885 | |
|
5886 | |
fi
|
5887 | |
fi
|
5888 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
5889 | |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
5890 | |
EGREP="$ac_cv_path_EGREP"
|
5891 | |
|
5892 | |
|
5893 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
5894 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
5895 | |
if test "${ac_cv_header_stdc+set}" = set; then :
|
5896 | |
$as_echo_n "(cached) " >&6
|
5897 | |
else
|
5898 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5899 | |
/* end confdefs.h. */
|
5900 | |
#include <stdlib.h>
|
5901 | |
#include <stdarg.h>
|
5902 | |
#include <string.h>
|
5903 | |
#include <float.h>
|
5904 | |
|
5905 | |
int
|
5906 | |
main ()
|
5907 | |
{
|
5908 | |
|
5909 | |
;
|
5910 | |
return 0;
|
5911 | |
}
|
5912 | |
_ACEOF
|
5913 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
5914 | |
ac_cv_header_stdc=yes
|
5915 | |
else
|
5916 | |
ac_cv_header_stdc=no
|
5917 | |
fi
|
5918 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5919 | |
|
5920 | |
if test $ac_cv_header_stdc = yes; then
|
5921 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
5922 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5923 | |
/* end confdefs.h. */
|
5924 | |
#include <string.h>
|
5925 | |
|
5926 | |
_ACEOF
|
5927 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5928 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
5929 | |
|
5930 | |
else
|
5931 | |
ac_cv_header_stdc=no
|
5932 | |
fi
|
5933 | |
rm -f conftest*
|
5934 | |
|
5935 | |
fi
|
5936 | |
|
5937 | |
if test $ac_cv_header_stdc = yes; then
|
5938 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
5939 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5940 | |
/* end confdefs.h. */
|
5941 | |
#include <stdlib.h>
|
5942 | |
|
5943 | |
_ACEOF
|
5944 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5945 | |
$EGREP "free" >/dev/null 2>&1; then :
|
5946 | |
|
5947 | |
else
|
5948 | |
ac_cv_header_stdc=no
|
5949 | |
fi
|
5950 | |
rm -f conftest*
|
5951 | |
|
5952 | |
fi
|
5953 | |
|
5954 | |
if test $ac_cv_header_stdc = yes; then
|
5955 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
5956 | |
if test "$cross_compiling" = yes; then :
|
5957 | |
:
|
5958 | |
else
|
5959 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5960 | |
/* end confdefs.h. */
|
5961 | |
#include <ctype.h>
|
5962 | |
#include <stdlib.h>
|
5963 | |
#if ((' ' & 0x0FF) == 0x020)
|
5964 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
5965 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
5966 | |
#else
|
5967 | |
# define ISLOWER(c) \
|
5968 | |
(('a' <= (c) && (c) <= 'i') \
|
5969 | |
|| ('j' <= (c) && (c) <= 'r') \
|
5970 | |
|| ('s' <= (c) && (c) <= 'z'))
|
5971 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
5972 | |
#endif
|
5973 | |
|
5974 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
5975 | |
int
|
5976 | |
main ()
|
5977 | |
{
|
5978 | |
int i;
|
5979 | |
for (i = 0; i < 256; i++)
|
5980 | |
if (XOR (islower (i), ISLOWER (i))
|
5981 | |
|| toupper (i) != TOUPPER (i))
|
5982 | |
return 2;
|
5983 | |
return 0;
|
5984 | |
}
|
5985 | |
_ACEOF
|
5986 | |
if ac_fn_c_try_run "$LINENO"; then :
|
5987 | |
|
5988 | |
else
|
5989 | |
ac_cv_header_stdc=no
|
5990 | |
fi
|
5991 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
5992 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
5993 | |
fi
|
5994 | |
|
5995 | |
fi
|
5996 | |
fi
|
5997 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
5998 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
5999 | |
if test $ac_cv_header_stdc = yes; then
|
6000 | |
|
6001 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
6002 | |
|
6003 | |
fi
|
6004 | |
|
6005 | |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
6006 | |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
6007 | |
inttypes.h stdint.h unistd.h
|
6008 | |
do :
|
6009 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6010 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
6011 | |
"
|
6012 | |
eval as_val=\$$as_ac_Header
|
6013 | |
if test "x$as_val" = x""yes; then :
|
6014 | |
cat >>confdefs.h <<_ACEOF
|
6015 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
6016 | |
_ACEOF
|
6017 | |
|
6018 | |
fi
|
6019 | |
|
6020 | |
done
|
|
5539 |
fi
|
|
5540 |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
|
5541 |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
|
5542 |
EGREP=$ac_cv_prog_egrep
|
6021 | 5543 |
|
6022 | 5544 |
|
6023 | 5545 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
6024 | 5546 |
# for constant arguments. Useless!
|
6025 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
6026 | |
$as_echo_n "checking for working alloca.h... " >&6; }
|
6027 | |
if test "${ac_cv_working_alloca_h+set}" = set; then :
|
6028 | |
$as_echo_n "(cached) " >&6
|
6029 | |
else
|
6030 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5547 |
echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
|
5548 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
|
|
5549 |
if test "${ac_cv_working_alloca_h+set}" = set; then
|
|
5550 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5551 |
else
|
|
5552 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5553 |
/* confdefs.h. */
|
|
5554 |
_ACEOF
|
|
5555 |
cat confdefs.h >>conftest.$ac_ext
|
|
5556 |
cat >>conftest.$ac_ext <<_ACEOF
|
6031 | 5557 |
/* end confdefs.h. */
|
6032 | 5558 |
#include <alloca.h>
|
6033 | 5559 |
int
|
6034 | 5560 |
main ()
|
6035 | 5561 |
{
|
6036 | 5562 |
char *p = (char *) alloca (2 * sizeof (int));
|
6037 | |
if (p) return 0;
|
6038 | 5563 |
;
|
6039 | 5564 |
return 0;
|
6040 | 5565 |
}
|
6041 | 5566 |
_ACEOF
|
6042 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5567 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5568 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
5569 |
(eval $ac_link) 2>conftest.er1
|
|
5570 |
ac_status=$?
|
|
5571 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5572 |
rm -f conftest.er1
|
|
5573 |
cat conftest.err >&5
|
|
5574 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5575 |
(exit $ac_status); } &&
|
|
5576 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
5577 |
|| test ! -s conftest.err'
|
|
5578 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5579 |
(eval $ac_try) 2>&5
|
|
5580 |
ac_status=$?
|
|
5581 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5582 |
(exit $ac_status); }; } &&
|
|
5583 |
{ ac_try='test -s conftest$ac_exeext'
|
|
5584 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5585 |
(eval $ac_try) 2>&5
|
|
5586 |
ac_status=$?
|
|
5587 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5588 |
(exit $ac_status); }; }; then
|
6043 | 5589 |
ac_cv_working_alloca_h=yes
|
6044 | 5590 |
else
|
6045 | |
ac_cv_working_alloca_h=no
|
6046 | |
fi
|
6047 | |
rm -f core conftest.err conftest.$ac_objext \
|
6048 | |
conftest$ac_exeext conftest.$ac_ext
|
6049 | |
fi
|
6050 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
6051 | |
$as_echo "$ac_cv_working_alloca_h" >&6; }
|
|
5591 |
echo "$as_me: failed program was:" >&5
|
|
5592 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5593 |
|
|
5594 |
ac_cv_working_alloca_h=no
|
|
5595 |
fi
|
|
5596 |
rm -f conftest.err conftest.$ac_objext \
|
|
5597 |
conftest$ac_exeext conftest.$ac_ext
|
|
5598 |
fi
|
|
5599 |
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
|
5600 |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
|
6052 | 5601 |
if test $ac_cv_working_alloca_h = yes; then
|
6053 | 5602 |
|
6054 | |
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
6055 | |
|
6056 | |
fi
|
6057 | |
|
6058 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
6059 | |
$as_echo_n "checking for alloca... " >&6; }
|
6060 | |
if test "${ac_cv_func_alloca_works+set}" = set; then :
|
6061 | |
$as_echo_n "(cached) " >&6
|
6062 | |
else
|
6063 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5603 |
cat >>confdefs.h <<\_ACEOF
|
|
5604 |
#define HAVE_ALLOCA_H 1
|
|
5605 |
_ACEOF
|
|
5606 |
|
|
5607 |
fi
|
|
5608 |
|
|
5609 |
echo "$as_me:$LINENO: checking for alloca" >&5
|
|
5610 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
|
|
5611 |
if test "${ac_cv_func_alloca_works+set}" = set; then
|
|
5612 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5613 |
else
|
|
5614 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5615 |
/* confdefs.h. */
|
|
5616 |
_ACEOF
|
|
5617 |
cat confdefs.h >>conftest.$ac_ext
|
|
5618 |
cat >>conftest.$ac_ext <<_ACEOF
|
6064 | 5619 |
/* end confdefs.h. */
|
6065 | 5620 |
#ifdef __GNUC__
|
6066 | 5621 |
# define alloca __builtin_alloca
|
|
6069 | 5624 |
# include <malloc.h>
|
6070 | 5625 |
# define alloca _alloca
|
6071 | 5626 |
# else
|
6072 | |
# ifdef HAVE_ALLOCA_H
|
|
5627 |
# if HAVE_ALLOCA_H
|
6073 | 5628 |
# include <alloca.h>
|
6074 | 5629 |
# else
|
6075 | 5630 |
# ifdef _AIX
|
|
6087 | 5642 |
main ()
|
6088 | 5643 |
{
|
6089 | 5644 |
char *p = (char *) alloca (1);
|
6090 | |
if (p) return 0;
|
6091 | 5645 |
;
|
6092 | 5646 |
return 0;
|
6093 | 5647 |
}
|
6094 | 5648 |
_ACEOF
|
6095 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5649 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5650 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
5651 |
(eval $ac_link) 2>conftest.er1
|
|
5652 |
ac_status=$?
|
|
5653 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5654 |
rm -f conftest.er1
|
|
5655 |
cat conftest.err >&5
|
|
5656 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5657 |
(exit $ac_status); } &&
|
|
5658 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
5659 |
|| test ! -s conftest.err'
|
|
5660 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5661 |
(eval $ac_try) 2>&5
|
|
5662 |
ac_status=$?
|
|
5663 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5664 |
(exit $ac_status); }; } &&
|
|
5665 |
{ ac_try='test -s conftest$ac_exeext'
|
|
5666 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5667 |
(eval $ac_try) 2>&5
|
|
5668 |
ac_status=$?
|
|
5669 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5670 |
(exit $ac_status); }; }; then
|
6096 | 5671 |
ac_cv_func_alloca_works=yes
|
6097 | 5672 |
else
|
6098 | |
ac_cv_func_alloca_works=no
|
6099 | |
fi
|
6100 | |
rm -f core conftest.err conftest.$ac_objext \
|
6101 | |
conftest$ac_exeext conftest.$ac_ext
|
6102 | |
fi
|
6103 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
6104 | |
$as_echo "$ac_cv_func_alloca_works" >&6; }
|
|
5673 |
echo "$as_me: failed program was:" >&5
|
|
5674 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5675 |
|
|
5676 |
ac_cv_func_alloca_works=no
|
|
5677 |
fi
|
|
5678 |
rm -f conftest.err conftest.$ac_objext \
|
|
5679 |
conftest$ac_exeext conftest.$ac_ext
|
|
5680 |
fi
|
|
5681 |
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
|
5682 |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
|
6105 | 5683 |
|
6106 | 5684 |
if test $ac_cv_func_alloca_works = yes; then
|
6107 | 5685 |
|
6108 | |
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
|
5686 |
cat >>confdefs.h <<\_ACEOF
|
|
5687 |
#define HAVE_ALLOCA 1
|
|
5688 |
_ACEOF
|
6109 | 5689 |
|
6110 | 5690 |
else
|
6111 | 5691 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
|
6113 | 5693 |
# contain a buggy version. If you still want to use their alloca,
|
6114 | 5694 |
# use ar to extract alloca.o from them instead of compiling alloca.c.
|
6115 | 5695 |
|
6116 | |
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
6117 | |
|
6118 | |
$as_echo "#define C_ALLOCA 1" >>confdefs.h
|
6119 | |
|
6120 | |
|
6121 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
6122 | |
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
6123 | |
if test "${ac_cv_os_cray+set}" = set; then :
|
6124 | |
$as_echo_n "(cached) " >&6
|
6125 | |
else
|
6126 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5696 |
ALLOCA=alloca.$ac_objext
|
|
5697 |
|
|
5698 |
cat >>confdefs.h <<\_ACEOF
|
|
5699 |
#define C_ALLOCA 1
|
|
5700 |
_ACEOF
|
|
5701 |
|
|
5702 |
|
|
5703 |
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
|
5704 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
|
|
5705 |
if test "${ac_cv_os_cray+set}" = set; then
|
|
5706 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5707 |
else
|
|
5708 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5709 |
/* confdefs.h. */
|
|
5710 |
_ACEOF
|
|
5711 |
cat confdefs.h >>conftest.$ac_ext
|
|
5712 |
cat >>conftest.$ac_ext <<_ACEOF
|
6127 | 5713 |
/* end confdefs.h. */
|
6128 | |
#if defined CRAY && ! defined CRAY2
|
|
5714 |
#if defined(CRAY) && ! defined(CRAY2)
|
6129 | 5715 |
webecray
|
6130 | 5716 |
#else
|
6131 | 5717 |
wenotbecray
|
|
6133 | 5719 |
|
6134 | 5720 |
_ACEOF
|
6135 | 5721 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
6136 | |
$EGREP "webecray" >/dev/null 2>&1; then :
|
|
5722 |
$EGREP "webecray" >/dev/null 2>&1; then
|
6137 | 5723 |
ac_cv_os_cray=yes
|
6138 | 5724 |
else
|
6139 | 5725 |
ac_cv_os_cray=no
|
|
6141 | 5727 |
rm -f conftest*
|
6142 | 5728 |
|
6143 | 5729 |
fi
|
6144 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
6145 | |
$as_echo "$ac_cv_os_cray" >&6; }
|
|
5730 |
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
|
5731 |
echo "${ECHO_T}$ac_cv_os_cray" >&6
|
6146 | 5732 |
if test $ac_cv_os_cray = yes; then
|
6147 | 5733 |
for ac_func in _getb67 GETB67 getb67; do
|
6148 | |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6149 | |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
6150 | |
eval as_val=\$$as_ac_var
|
6151 | |
if test "x$as_val" = x""yes; then :
|
|
5734 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
5735 |
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
5736 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|
5737 |
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
5738 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5739 |
else
|
|
5740 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5741 |
/* confdefs.h. */
|
|
5742 |
_ACEOF
|
|
5743 |
cat confdefs.h >>conftest.$ac_ext
|
|
5744 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5745 |
/* end confdefs.h. */
|
|
5746 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
5747 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
5748 |
#define $ac_func innocuous_$ac_func
|
|
5749 |
|
|
5750 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
5751 |
which can conflict with char $ac_func (); below.
|
|
5752 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
5753 |
<limits.h> exists even on freestanding compilers. */
|
|
5754 |
|
|
5755 |
#ifdef __STDC__
|
|
5756 |
# include <limits.h>
|
|
5757 |
#else
|
|
5758 |
# include <assert.h>
|
|
5759 |
#endif
|
|
5760 |
|
|
5761 |
#undef $ac_func
|
|
5762 |
|
|
5763 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
5764 |
#ifdef __cplusplus
|
|
5765 |
extern "C"
|
|
5766 |
{
|
|
5767 |
#endif
|
|
5768 |
/* We use char because int might match the return type of a gcc2
|
|
5769 |
builtin and then its argument prototype would still apply. */
|
|
5770 |
char $ac_func ();
|
|
5771 |
/* The GNU C library defines this for functions which it implements
|
|
5772 |
to always fail with ENOSYS. Some functions are actually named
|
|
5773 |
something starting with __ and the normal name is an alias. */
|
|
5774 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
5775 |
choke me
|
|
5776 |
#else
|
|
5777 |
char (*f) () = $ac_func;
|
|
5778 |
#endif
|
|
5779 |
#ifdef __cplusplus
|
|
5780 |
}
|
|
5781 |
#endif
|
|
5782 |
|
|
5783 |
int
|
|
5784 |
main ()
|
|
5785 |
{
|
|
5786 |
return f != $ac_func;
|
|
5787 |
;
|
|
5788 |
return 0;
|
|
5789 |
}
|
|
5790 |
_ACEOF
|
|
5791 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5792 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
5793 |
(eval $ac_link) 2>conftest.er1
|
|
5794 |
ac_status=$?
|
|
5795 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5796 |
rm -f conftest.er1
|
|
5797 |
cat conftest.err >&5
|
|
5798 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5799 |
(exit $ac_status); } &&
|
|
5800 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
5801 |
|| test ! -s conftest.err'
|
|
5802 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5803 |
(eval $ac_try) 2>&5
|
|
5804 |
ac_status=$?
|
|
5805 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5806 |
(exit $ac_status); }; } &&
|
|
5807 |
{ ac_try='test -s conftest$ac_exeext'
|
|
5808 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5809 |
(eval $ac_try) 2>&5
|
|
5810 |
ac_status=$?
|
|
5811 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5812 |
(exit $ac_status); }; }; then
|
|
5813 |
eval "$as_ac_var=yes"
|
|
5814 |
else
|
|
5815 |
echo "$as_me: failed program was:" >&5
|
|
5816 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5817 |
|
|
5818 |
eval "$as_ac_var=no"
|
|
5819 |
fi
|
|
5820 |
rm -f conftest.err conftest.$ac_objext \
|
|
5821 |
conftest$ac_exeext conftest.$ac_ext
|
|
5822 |
fi
|
|
5823 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
5824 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
5825 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
6152 | 5826 |
|
6153 | 5827 |
cat >>confdefs.h <<_ACEOF
|
6154 | 5828 |
#define CRAY_STACKSEG_END $ac_func
|
|
6160 | 5834 |
done
|
6161 | 5835 |
fi
|
6162 | 5836 |
|
6163 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
6164 | |
$as_echo_n "checking stack direction for C alloca... " >&6; }
|
6165 | |
if test "${ac_cv_c_stack_direction+set}" = set; then :
|
6166 | |
$as_echo_n "(cached) " >&6
|
6167 | |
else
|
6168 | |
if test "$cross_compiling" = yes; then :
|
|
5837 |
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
|
5838 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
|
|
5839 |
if test "${ac_cv_c_stack_direction+set}" = set; then
|
|
5840 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5841 |
else
|
|
5842 |
if test "$cross_compiling" = yes; then
|
6169 | 5843 |
ac_cv_c_stack_direction=0
|
6170 | 5844 |
else
|
6171 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5845 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5846 |
/* confdefs.h. */
|
|
5847 |
_ACEOF
|
|
5848 |
cat confdefs.h >>conftest.$ac_ext
|
|
5849 |
cat >>conftest.$ac_ext <<_ACEOF
|
6172 | 5850 |
/* end confdefs.h. */
|
6173 | |
$ac_includes_default
|
6174 | 5851 |
int
|
6175 | 5852 |
find_stack_direction ()
|
6176 | 5853 |
{
|
|
6188 | 5865 |
int
|
6189 | 5866 |
main ()
|
6190 | 5867 |
{
|
6191 | |
return find_stack_direction () < 0;
|
|
5868 |
exit (find_stack_direction () < 0);
|
6192 | 5869 |
}
|
6193 | 5870 |
_ACEOF
|
6194 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
5871 |
rm -f conftest$ac_exeext
|
|
5872 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
5873 |
(eval $ac_link) 2>&5
|
|
5874 |
ac_status=$?
|
|
5875 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5876 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
5877 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5878 |
(eval $ac_try) 2>&5
|
|
5879 |
ac_status=$?
|
|
5880 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5881 |
(exit $ac_status); }; }; then
|
6195 | 5882 |
ac_cv_c_stack_direction=1
|
6196 | 5883 |
else
|
6197 | |
ac_cv_c_stack_direction=-1
|
6198 | |
fi
|
6199 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
6200 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
6201 | |
fi
|
6202 | |
|
6203 | |
fi
|
6204 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
6205 | |
$as_echo "$ac_cv_c_stack_direction" >&6; }
|
|
5884 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
5885 |
echo "$as_me: failed program was:" >&5
|
|
5886 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5887 |
|
|
5888 |
( exit $ac_status )
|
|
5889 |
ac_cv_c_stack_direction=-1
|
|
5890 |
fi
|
|
5891 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
5892 |
fi
|
|
5893 |
fi
|
|
5894 |
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
|
5895 |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
|
|
5896 |
|
6206 | 5897 |
cat >>confdefs.h <<_ACEOF
|
6207 | 5898 |
#define STACK_DIRECTION $ac_cv_c_stack_direction
|
6208 | 5899 |
_ACEOF
|
|
6210 | 5901 |
|
6211 | 5902 |
fi
|
6212 | 5903 |
|
|
5904 |
|
|
5905 |
|
|
5906 |
|
|
5907 |
|
|
5908 |
|
6213 | 5909 |
ac_header_dirent=no
|
6214 | 5910 |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
6215 | |
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
6216 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
|
6217 | |
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
6218 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
|
6219 | |
$as_echo_n "(cached) " >&6
|
6220 | |
else
|
6221 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5911 |
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
|
5912 |
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
|
|
5913 |
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
|
|
5914 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
5915 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5916 |
else
|
|
5917 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5918 |
/* confdefs.h. */
|
|
5919 |
_ACEOF
|
|
5920 |
cat confdefs.h >>conftest.$ac_ext
|
|
5921 |
cat >>conftest.$ac_ext <<_ACEOF
|
6222 | 5922 |
/* end confdefs.h. */
|
6223 | 5923 |
#include <sys/types.h>
|
6224 | 5924 |
#include <$ac_hdr>
|
|
6232 | 5932 |
return 0;
|
6233 | 5933 |
}
|
6234 | 5934 |
_ACEOF
|
6235 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5935 |
rm -f conftest.$ac_objext
|
|
5936 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
5937 |
(eval $ac_compile) 2>conftest.er1
|
|
5938 |
ac_status=$?
|
|
5939 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5940 |
rm -f conftest.er1
|
|
5941 |
cat conftest.err >&5
|
|
5942 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5943 |
(exit $ac_status); } &&
|
|
5944 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
5945 |
|| test ! -s conftest.err'
|
|
5946 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5947 |
(eval $ac_try) 2>&5
|
|
5948 |
ac_status=$?
|
|
5949 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5950 |
(exit $ac_status); }; } &&
|
|
5951 |
{ ac_try='test -s conftest.$ac_objext'
|
|
5952 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
5953 |
(eval $ac_try) 2>&5
|
|
5954 |
ac_status=$?
|
|
5955 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5956 |
(exit $ac_status); }; }; then
|
6236 | 5957 |
eval "$as_ac_Header=yes"
|
6237 | 5958 |
else
|
6238 | |
eval "$as_ac_Header=no"
|
6239 | |
fi
|
6240 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6241 | |
fi
|
6242 | |
eval ac_res=\$$as_ac_Header
|
6243 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
6244 | |
$as_echo "$ac_res" >&6; }
|
6245 | |
eval as_val=\$$as_ac_Header
|
6246 | |
if test "x$as_val" = x""yes; then :
|
|
5959 |
echo "$as_me: failed program was:" >&5
|
|
5960 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5961 |
|
|
5962 |
eval "$as_ac_Header=no"
|
|
5963 |
fi
|
|
5964 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5965 |
fi
|
|
5966 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
5967 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
5968 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
6247 | 5969 |
cat >>confdefs.h <<_ACEOF
|
6248 | |
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
|
5970 |
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
6249 | 5971 |
_ACEOF
|
6250 | 5972 |
|
6251 | 5973 |
ac_header_dirent=$ac_hdr; break
|
|
6254 | 5976 |
done
|
6255 | 5977 |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
6256 | 5978 |
if test $ac_header_dirent = dirent.h; then
|
6257 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
6258 | |
$as_echo_n "checking for library containing opendir... " >&6; }
|
6259 | |
if test "${ac_cv_search_opendir+set}" = set; then :
|
6260 | |
$as_echo_n "(cached) " >&6
|
|
5979 |
echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
|
5980 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
|
5981 |
if test "${ac_cv_search_opendir+set}" = set; then
|
|
5982 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6261 | 5983 |
else
|
6262 | 5984 |
ac_func_search_save_LIBS=$LIBS
|
6263 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5985 |
ac_cv_search_opendir=no
|
|
5986 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5987 |
/* confdefs.h. */
|
|
5988 |
_ACEOF
|
|
5989 |
cat confdefs.h >>conftest.$ac_ext
|
|
5990 |
cat >>conftest.$ac_ext <<_ACEOF
|
6264 | 5991 |
/* end confdefs.h. */
|
6265 | 5992 |
|
6266 | |
/* Override any GCC internal prototype to avoid an error.
|
6267 | |
Use char because int might match the return type of a GCC
|
6268 | |
builtin and then its argument prototype would still apply. */
|
|
5993 |
/* Override any gcc2 internal prototype to avoid an error. */
|
6269 | 5994 |
#ifdef __cplusplus
|
6270 | 5995 |
extern "C"
|
6271 | 5996 |
#endif
|
|
5997 |
/* We use char because int might match the return type of a gcc2
|
|
5998 |
builtin and then its argument prototype would still apply. */
|
6272 | 5999 |
char opendir ();
|
6273 | 6000 |
int
|
6274 | 6001 |
main ()
|
6275 | 6002 |
{
|
6276 | |
return opendir ();
|
|
6003 |
opendir ();
|
6277 | 6004 |
;
|
6278 | 6005 |
return 0;
|
6279 | 6006 |
}
|
6280 | 6007 |
_ACEOF
|
6281 | |
for ac_lib in '' dir; do
|
6282 | |
if test -z "$ac_lib"; then
|
6283 | |
ac_res="none required"
|
6284 | |
else
|
6285 | |
ac_res=-l$ac_lib
|
|
6008 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
6009 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
6010 |
(eval $ac_link) 2>conftest.er1
|
|
6011 |
ac_status=$?
|
|
6012 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6013 |
rm -f conftest.er1
|
|
6014 |
cat conftest.err >&5
|
|
6015 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6016 |
(exit $ac_status); } &&
|
|
6017 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6018 |
|| test ! -s conftest.err'
|
|
6019 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6020 |
(eval $ac_try) 2>&5
|
|
6021 |
ac_status=$?
|
|
6022 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6023 |
(exit $ac_status); }; } &&
|
|
6024 |
{ ac_try='test -s conftest$ac_exeext'
|
|
6025 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6026 |
(eval $ac_try) 2>&5
|
|
6027 |
ac_status=$?
|
|
6028 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6029 |
(exit $ac_status); }; }; then
|
|
6030 |
ac_cv_search_opendir="none required"
|
|
6031 |
else
|
|
6032 |
echo "$as_me: failed program was:" >&5
|
|
6033 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6034 |
|
|
6035 |
fi
|
|
6036 |
rm -f conftest.err conftest.$ac_objext \
|
|
6037 |
conftest$ac_exeext conftest.$ac_ext
|
|
6038 |
if test "$ac_cv_search_opendir" = no; then
|
|
6039 |
for ac_lib in dir; do
|
6286 | 6040 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
6287 | |
fi
|
6288 | |
if ac_fn_c_try_link "$LINENO"; then :
|
6289 | |
ac_cv_search_opendir=$ac_res
|
6290 | |
fi
|
6291 | |
rm -f core conftest.err conftest.$ac_objext \
|
6292 | |
conftest$ac_exeext
|
6293 | |
if test "${ac_cv_search_opendir+set}" = set; then :
|
6294 | |
break
|
6295 | |
fi
|
6296 | |
done
|
6297 | |
if test "${ac_cv_search_opendir+set}" = set; then :
|
6298 | |
|
6299 | |
else
|
6300 | |
ac_cv_search_opendir=no
|
6301 | |
fi
|
6302 | |
rm conftest.$ac_ext
|
6303 | |
LIBS=$ac_func_search_save_LIBS
|
6304 | |
fi
|
6305 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
6306 | |
$as_echo "$ac_cv_search_opendir" >&6; }
|
6307 | |
ac_res=$ac_cv_search_opendir
|
6308 | |
if test "$ac_res" != no; then :
|
6309 | |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
6310 | |
|
6311 | |
fi
|
6312 | |
|
6313 | |
else
|
6314 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
6315 | |
$as_echo_n "checking for library containing opendir... " >&6; }
|
6316 | |
if test "${ac_cv_search_opendir+set}" = set; then :
|
6317 | |
$as_echo_n "(cached) " >&6
|
6318 | |
else
|
6319 | |
ac_func_search_save_LIBS=$LIBS
|
6320 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6041 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6042 |
/* confdefs.h. */
|
|
6043 |
_ACEOF
|
|
6044 |
cat confdefs.h >>conftest.$ac_ext
|
|
6045 |
cat >>conftest.$ac_ext <<_ACEOF
|
6321 | 6046 |
/* end confdefs.h. */
|
6322 | 6047 |
|
6323 | |
/* Override any GCC internal prototype to avoid an error.
|
6324 | |
Use char because int might match the return type of a GCC
|
6325 | |
builtin and then its argument prototype would still apply. */
|
|
6048 |
/* Override any gcc2 internal prototype to avoid an error. */
|
6326 | 6049 |
#ifdef __cplusplus
|
6327 | 6050 |
extern "C"
|
6328 | 6051 |
#endif
|
|
6052 |
/* We use char because int might match the return type of a gcc2
|
|
6053 |
builtin and then its argument prototype would still apply. */
|
6329 | 6054 |
char opendir ();
|
6330 | 6055 |
int
|
6331 | 6056 |
main ()
|
6332 | 6057 |
{
|
6333 | |
return opendir ();
|
|
6058 |
opendir ();
|
6334 | 6059 |
;
|
6335 | 6060 |
return 0;
|
6336 | 6061 |
}
|
6337 | 6062 |
_ACEOF
|
6338 | |
for ac_lib in '' x; do
|
6339 | |
if test -z "$ac_lib"; then
|
6340 | |
ac_res="none required"
|
6341 | |
else
|
6342 | |
ac_res=-l$ac_lib
|
|
6063 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
6064 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
6065 |
(eval $ac_link) 2>conftest.er1
|
|
6066 |
ac_status=$?
|
|
6067 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6068 |
rm -f conftest.er1
|
|
6069 |
cat conftest.err >&5
|
|
6070 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6071 |
(exit $ac_status); } &&
|
|
6072 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6073 |
|| test ! -s conftest.err'
|
|
6074 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6075 |
(eval $ac_try) 2>&5
|
|
6076 |
ac_status=$?
|
|
6077 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6078 |
(exit $ac_status); }; } &&
|
|
6079 |
{ ac_try='test -s conftest$ac_exeext'
|
|
6080 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6081 |
(eval $ac_try) 2>&5
|
|
6082 |
ac_status=$?
|
|
6083 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6084 |
(exit $ac_status); }; }; then
|
|
6085 |
ac_cv_search_opendir="-l$ac_lib"
|
|
6086 |
break
|
|
6087 |
else
|
|
6088 |
echo "$as_me: failed program was:" >&5
|
|
6089 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6090 |
|
|
6091 |
fi
|
|
6092 |
rm -f conftest.err conftest.$ac_objext \
|
|
6093 |
conftest$ac_exeext conftest.$ac_ext
|
|
6094 |
done
|
|
6095 |
fi
|
|
6096 |
LIBS=$ac_func_search_save_LIBS
|
|
6097 |
fi
|
|
6098 |
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
|
6099 |
echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
|
6100 |
if test "$ac_cv_search_opendir" != no; then
|
|
6101 |
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
|
6102 |
|
|
6103 |
fi
|
|
6104 |
|
|
6105 |
else
|
|
6106 |
echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
|
6107 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
|
|
6108 |
if test "${ac_cv_search_opendir+set}" = set; then
|
|
6109 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6110 |
else
|
|
6111 |
ac_func_search_save_LIBS=$LIBS
|
|
6112 |
ac_cv_search_opendir=no
|
|
6113 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6114 |
/* confdefs.h. */
|
|
6115 |
_ACEOF
|
|
6116 |
cat confdefs.h >>conftest.$ac_ext
|
|
6117 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6118 |
/* end confdefs.h. */
|
|
6119 |
|
|
6120 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
6121 |
#ifdef __cplusplus
|
|
6122 |
extern "C"
|
|
6123 |
#endif
|
|
6124 |
/* We use char because int might match the return type of a gcc2
|
|
6125 |
builtin and then its argument prototype would still apply. */
|
|
6126 |
char opendir ();
|
|
6127 |
int
|
|
6128 |
main ()
|
|
6129 |
{
|
|
6130 |
opendir ();
|
|
6131 |
;
|
|
6132 |
return 0;
|
|
6133 |
}
|
|
6134 |
_ACEOF
|
|
6135 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
6136 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
6137 |
(eval $ac_link) 2>conftest.er1
|
|
6138 |
ac_status=$?
|
|
6139 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6140 |
rm -f conftest.er1
|
|
6141 |
cat conftest.err >&5
|
|
6142 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6143 |
(exit $ac_status); } &&
|
|
6144 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6145 |
|| test ! -s conftest.err'
|
|
6146 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6147 |
(eval $ac_try) 2>&5
|
|
6148 |
ac_status=$?
|
|
6149 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6150 |
(exit $ac_status); }; } &&
|
|
6151 |
{ ac_try='test -s conftest$ac_exeext'
|
|
6152 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6153 |
(eval $ac_try) 2>&5
|
|
6154 |
ac_status=$?
|
|
6155 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6156 |
(exit $ac_status); }; }; then
|
|
6157 |
ac_cv_search_opendir="none required"
|
|
6158 |
else
|
|
6159 |
echo "$as_me: failed program was:" >&5
|
|
6160 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6161 |
|
|
6162 |
fi
|
|
6163 |
rm -f conftest.err conftest.$ac_objext \
|
|
6164 |
conftest$ac_exeext conftest.$ac_ext
|
|
6165 |
if test "$ac_cv_search_opendir" = no; then
|
|
6166 |
for ac_lib in x; do
|
6343 | 6167 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
6344 | |
fi
|
6345 | |
if ac_fn_c_try_link "$LINENO"; then :
|
6346 | |
ac_cv_search_opendir=$ac_res
|
6347 | |
fi
|
6348 | |
rm -f core conftest.err conftest.$ac_objext \
|
6349 | |
conftest$ac_exeext
|
6350 | |
if test "${ac_cv_search_opendir+set}" = set; then :
|
6351 | |
break
|
6352 | |
fi
|
6353 | |
done
|
6354 | |
if test "${ac_cv_search_opendir+set}" = set; then :
|
6355 | |
|
6356 | |
else
|
6357 | |
ac_cv_search_opendir=no
|
6358 | |
fi
|
6359 | |
rm conftest.$ac_ext
|
|
6168 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6169 |
/* confdefs.h. */
|
|
6170 |
_ACEOF
|
|
6171 |
cat confdefs.h >>conftest.$ac_ext
|
|
6172 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6173 |
/* end confdefs.h. */
|
|
6174 |
|
|
6175 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
6176 |
#ifdef __cplusplus
|
|
6177 |
extern "C"
|
|
6178 |
#endif
|
|
6179 |
/* We use char because int might match the return type of a gcc2
|
|
6180 |
builtin and then its argument prototype would still apply. */
|
|
6181 |
char opendir ();
|
|
6182 |
int
|
|
6183 |
main ()
|
|
6184 |
{
|
|
6185 |
opendir ();
|
|
6186 |
;
|
|
6187 |
return 0;
|
|
6188 |
}
|
|
6189 |
_ACEOF
|
|
6190 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
6191 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
6192 |
(eval $ac_link) 2>conftest.er1
|
|
6193 |
ac_status=$?
|
|
6194 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6195 |
rm -f conftest.er1
|
|
6196 |
cat conftest.err >&5
|
|
6197 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6198 |
(exit $ac_status); } &&
|
|
6199 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6200 |
|| test ! -s conftest.err'
|
|
6201 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6202 |
(eval $ac_try) 2>&5
|
|
6203 |
ac_status=$?
|
|
6204 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6205 |
(exit $ac_status); }; } &&
|
|
6206 |
{ ac_try='test -s conftest$ac_exeext'
|
|
6207 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6208 |
(eval $ac_try) 2>&5
|
|
6209 |
ac_status=$?
|
|
6210 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6211 |
(exit $ac_status); }; }; then
|
|
6212 |
ac_cv_search_opendir="-l$ac_lib"
|
|
6213 |
break
|
|
6214 |
else
|
|
6215 |
echo "$as_me: failed program was:" >&5
|
|
6216 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6217 |
|
|
6218 |
fi
|
|
6219 |
rm -f conftest.err conftest.$ac_objext \
|
|
6220 |
conftest$ac_exeext conftest.$ac_ext
|
|
6221 |
done
|
|
6222 |
fi
|
6360 | 6223 |
LIBS=$ac_func_search_save_LIBS
|
6361 | 6224 |
fi
|
6362 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
6363 | |
$as_echo "$ac_cv_search_opendir" >&6; }
|
6364 | |
ac_res=$ac_cv_search_opendir
|
6365 | |
if test "$ac_res" != no; then :
|
6366 | |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
6367 | |
|
6368 | |
fi
|
6369 | |
|
6370 | |
fi
|
6371 | |
|
6372 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
6373 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
6374 | |
if test "${ac_cv_header_stdc+set}" = set; then :
|
6375 | |
$as_echo_n "(cached) " >&6
|
6376 | |
else
|
6377 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6225 |
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
|
6226 |
echo "${ECHO_T}$ac_cv_search_opendir" >&6
|
|
6227 |
if test "$ac_cv_search_opendir" != no; then
|
|
6228 |
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
|
|
6229 |
|
|
6230 |
fi
|
|
6231 |
|
|
6232 |
fi
|
|
6233 |
|
|
6234 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
6235 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
|
6236 |
if test "${ac_cv_header_stdc+set}" = set; then
|
|
6237 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6238 |
else
|
|
6239 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6240 |
/* confdefs.h. */
|
|
6241 |
_ACEOF
|
|
6242 |
cat confdefs.h >>conftest.$ac_ext
|
|
6243 |
cat >>conftest.$ac_ext <<_ACEOF
|
6378 | 6244 |
/* end confdefs.h. */
|
6379 | 6245 |
#include <stdlib.h>
|
6380 | 6246 |
#include <stdarg.h>
|
|
6389 | 6255 |
return 0;
|
6390 | 6256 |
}
|
6391 | 6257 |
_ACEOF
|
6392 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
6258 |
rm -f conftest.$ac_objext
|
|
6259 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6260 |
(eval $ac_compile) 2>conftest.er1
|
|
6261 |
ac_status=$?
|
|
6262 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6263 |
rm -f conftest.er1
|
|
6264 |
cat conftest.err >&5
|
|
6265 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6266 |
(exit $ac_status); } &&
|
|
6267 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6268 |
|| test ! -s conftest.err'
|
|
6269 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6270 |
(eval $ac_try) 2>&5
|
|
6271 |
ac_status=$?
|
|
6272 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6273 |
(exit $ac_status); }; } &&
|
|
6274 |
{ ac_try='test -s conftest.$ac_objext'
|
|
6275 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6276 |
(eval $ac_try) 2>&5
|
|
6277 |
ac_status=$?
|
|
6278 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6279 |
(exit $ac_status); }; }; then
|
6393 | 6280 |
ac_cv_header_stdc=yes
|
6394 | 6281 |
else
|
6395 | |
ac_cv_header_stdc=no
|
6396 | |
fi
|
6397 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6282 |
echo "$as_me: failed program was:" >&5
|
|
6283 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6284 |
|
|
6285 |
ac_cv_header_stdc=no
|
|
6286 |
fi
|
|
6287 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
6398 | 6288 |
|
6399 | 6289 |
if test $ac_cv_header_stdc = yes; then
|
6400 | 6290 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
6401 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6291 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6292 |
/* confdefs.h. */
|
|
6293 |
_ACEOF
|
|
6294 |
cat confdefs.h >>conftest.$ac_ext
|
|
6295 |
cat >>conftest.$ac_ext <<_ACEOF
|
6402 | 6296 |
/* end confdefs.h. */
|
6403 | 6297 |
#include <string.h>
|
6404 | 6298 |
|
6405 | 6299 |
_ACEOF
|
6406 | 6300 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
6407 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
6408 | |
|
|
6301 |
$EGREP "memchr" >/dev/null 2>&1; then
|
|
6302 |
:
|
6409 | 6303 |
else
|
6410 | 6304 |
ac_cv_header_stdc=no
|
6411 | 6305 |
fi
|
|
6415 | 6309 |
|
6416 | 6310 |
if test $ac_cv_header_stdc = yes; then
|
6417 | 6311 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
6418 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6312 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6313 |
/* confdefs.h. */
|
|
6314 |
_ACEOF
|
|
6315 |
cat confdefs.h >>conftest.$ac_ext
|
|
6316 |
cat >>conftest.$ac_ext <<_ACEOF
|
6419 | 6317 |
/* end confdefs.h. */
|
6420 | 6318 |
#include <stdlib.h>
|
6421 | 6319 |
|
6422 | 6320 |
_ACEOF
|
6423 | 6321 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
6424 | |
$EGREP "free" >/dev/null 2>&1; then :
|
6425 | |
|
|
6322 |
$EGREP "free" >/dev/null 2>&1; then
|
|
6323 |
:
|
6426 | 6324 |
else
|
6427 | 6325 |
ac_cv_header_stdc=no
|
6428 | 6326 |
fi
|
|
6432 | 6330 |
|
6433 | 6331 |
if test $ac_cv_header_stdc = yes; then
|
6434 | 6332 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
6435 | |
if test "$cross_compiling" = yes; then :
|
|
6333 |
if test "$cross_compiling" = yes; then
|
6436 | 6334 |
:
|
6437 | 6335 |
else
|
6438 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6336 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6337 |
/* confdefs.h. */
|
|
6338 |
_ACEOF
|
|
6339 |
cat confdefs.h >>conftest.$ac_ext
|
|
6340 |
cat >>conftest.$ac_ext <<_ACEOF
|
6439 | 6341 |
/* end confdefs.h. */
|
6440 | 6342 |
#include <ctype.h>
|
6441 | |
#include <stdlib.h>
|
6442 | 6343 |
#if ((' ' & 0x0FF) == 0x020)
|
6443 | 6344 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
6444 | 6345 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
6458 | 6359 |
for (i = 0; i < 256; i++)
|
6459 | 6360 |
if (XOR (islower (i), ISLOWER (i))
|
6460 | 6361 |
|| toupper (i) != TOUPPER (i))
|
6461 | |
return 2;
|
6462 | |
return 0;
|
|
6362 |
exit(2);
|
|
6363 |
exit (0);
|
6463 | 6364 |
}
|
6464 | 6365 |
_ACEOF
|
6465 | |
if ac_fn_c_try_run "$LINENO"; then :
|
6466 | |
|
6467 | |
else
|
6468 | |
ac_cv_header_stdc=no
|
6469 | |
fi
|
6470 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
6471 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
6472 | |
fi
|
6473 | |
|
6474 | |
fi
|
6475 | |
fi
|
6476 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
6477 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
|
6366 |
rm -f conftest$ac_exeext
|
|
6367 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
6368 |
(eval $ac_link) 2>&5
|
|
6369 |
ac_status=$?
|
|
6370 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6371 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
6372 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6373 |
(eval $ac_try) 2>&5
|
|
6374 |
ac_status=$?
|
|
6375 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6376 |
(exit $ac_status); }; }; then
|
|
6377 |
:
|
|
6378 |
else
|
|
6379 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
6380 |
echo "$as_me: failed program was:" >&5
|
|
6381 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6382 |
|
|
6383 |
( exit $ac_status )
|
|
6384 |
ac_cv_header_stdc=no
|
|
6385 |
fi
|
|
6386 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
6387 |
fi
|
|
6388 |
fi
|
|
6389 |
fi
|
|
6390 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
6391 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
6478 | 6392 |
if test $ac_cv_header_stdc = yes; then
|
6479 | 6393 |
|
6480 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
6481 | |
|
6482 | |
fi
|
6483 | |
|
6484 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
6485 | |
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
|
6486 | |
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
|
6487 | |
$as_echo_n "(cached) " >&6
|
6488 | |
else
|
6489 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6394 |
cat >>confdefs.h <<\_ACEOF
|
|
6395 |
#define STDC_HEADERS 1
|
|
6396 |
_ACEOF
|
|
6397 |
|
|
6398 |
fi
|
|
6399 |
|
|
6400 |
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
|
|
6401 |
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
|
|
6402 |
if test "${ac_cv_header_sys_wait_h+set}" = set; then
|
|
6403 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6404 |
else
|
|
6405 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6406 |
/* confdefs.h. */
|
|
6407 |
_ACEOF
|
|
6408 |
cat confdefs.h >>conftest.$ac_ext
|
|
6409 |
cat >>conftest.$ac_ext <<_ACEOF
|
6490 | 6410 |
/* end confdefs.h. */
|
6491 | 6411 |
#include <sys/types.h>
|
6492 | 6412 |
#include <sys/wait.h>
|
6493 | 6413 |
#ifndef WEXITSTATUS
|
6494 | |
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
|
|
6414 |
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
|
6495 | 6415 |
#endif
|
6496 | 6416 |
#ifndef WIFEXITED
|
6497 | 6417 |
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
|
6507 | 6427 |
return 0;
|
6508 | 6428 |
}
|
6509 | 6429 |
_ACEOF
|
6510 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
6430 |
rm -f conftest.$ac_objext
|
|
6431 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6432 |
(eval $ac_compile) 2>conftest.er1
|
|
6433 |
ac_status=$?
|
|
6434 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6435 |
rm -f conftest.er1
|
|
6436 |
cat conftest.err >&5
|
|
6437 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6438 |
(exit $ac_status); } &&
|
|
6439 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6440 |
|| test ! -s conftest.err'
|
|
6441 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6442 |
(eval $ac_try) 2>&5
|
|
6443 |
ac_status=$?
|
|
6444 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6445 |
(exit $ac_status); }; } &&
|
|
6446 |
{ ac_try='test -s conftest.$ac_objext'
|
|
6447 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6448 |
(eval $ac_try) 2>&5
|
|
6449 |
ac_status=$?
|
|
6450 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6451 |
(exit $ac_status); }; }; then
|
6511 | 6452 |
ac_cv_header_sys_wait_h=yes
|
6512 | 6453 |
else
|
6513 | |
ac_cv_header_sys_wait_h=no
|
6514 | |
fi
|
6515 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6516 | |
fi
|
6517 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
|
6518 | |
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
|
|
6454 |
echo "$as_me: failed program was:" >&5
|
|
6455 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6456 |
|
|
6457 |
ac_cv_header_sys_wait_h=no
|
|
6458 |
fi
|
|
6459 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6460 |
fi
|
|
6461 |
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
|
|
6462 |
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
|
6519 | 6463 |
if test $ac_cv_header_sys_wait_h = yes; then
|
6520 | 6464 |
|
6521 | |
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
|
6522 | |
|
6523 | |
fi
|
|
6465 |
cat >>confdefs.h <<\_ACEOF
|
|
6466 |
#define HAVE_SYS_WAIT_H 1
|
|
6467 |
_ACEOF
|
|
6468 |
|
|
6469 |
fi
|
|
6470 |
|
|
6471 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
6472 |
|
|
6473 |
|
|
6474 |
|
|
6475 |
|
|
6476 |
|
|
6477 |
|
|
6478 |
|
|
6479 |
|
|
6480 |
|
|
6481 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
6482 |
inttypes.h stdint.h unistd.h
|
|
6483 |
do
|
|
6484 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
6485 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
6486 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
6487 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
6488 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6489 |
else
|
|
6490 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6491 |
/* confdefs.h. */
|
|
6492 |
_ACEOF
|
|
6493 |
cat confdefs.h >>conftest.$ac_ext
|
|
6494 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6495 |
/* end confdefs.h. */
|
|
6496 |
$ac_includes_default
|
|
6497 |
|
|
6498 |
#include <$ac_header>
|
|
6499 |
_ACEOF
|
|
6500 |
rm -f conftest.$ac_objext
|
|
6501 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6502 |
(eval $ac_compile) 2>conftest.er1
|
|
6503 |
ac_status=$?
|
|
6504 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6505 |
rm -f conftest.er1
|
|
6506 |
cat conftest.err >&5
|
|
6507 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6508 |
(exit $ac_status); } &&
|
|
6509 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6510 |
|| test ! -s conftest.err'
|
|
6511 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6512 |
(eval $ac_try) 2>&5
|
|
6513 |
ac_status=$?
|
|
6514 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6515 |
(exit $ac_status); }; } &&
|
|
6516 |
{ ac_try='test -s conftest.$ac_objext'
|
|
6517 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6518 |
(eval $ac_try) 2>&5
|
|
6519 |
ac_status=$?
|
|
6520 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6521 |
(exit $ac_status); }; }; then
|
|
6522 |
eval "$as_ac_Header=yes"
|
|
6523 |
else
|
|
6524 |
echo "$as_me: failed program was:" >&5
|
|
6525 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6526 |
|
|
6527 |
eval "$as_ac_Header=no"
|
|
6528 |
fi
|
|
6529 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6530 |
fi
|
|
6531 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
6532 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
6533 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
6534 |
cat >>confdefs.h <<_ACEOF
|
|
6535 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6536 |
_ACEOF
|
|
6537 |
|
|
6538 |
fi
|
|
6539 |
|
|
6540 |
done
|
|
6541 |
|
|
6542 |
|
|
6543 |
|
|
6544 |
|
|
6545 |
|
|
6546 |
|
|
6547 |
|
|
6548 |
|
|
6549 |
|
|
6550 |
|
|
6551 |
|
|
6552 |
|
|
6553 |
|
|
6554 |
|
|
6555 |
|
|
6556 |
|
6524 | 6557 |
|
6525 | 6558 |
for ac_header in fcntl.h inttypes.h libintl.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h wchar.h wctype.h getopt.h
|
6526 | |
do :
|
6527 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6528 | |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
6529 | |
eval as_val=\$$as_ac_Header
|
6530 | |
if test "x$as_val" = x""yes; then :
|
|
6559 |
do
|
|
6560 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
6561 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
6562 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
6563 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
6564 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
6565 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6566 |
fi
|
|
6567 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
6568 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
6569 |
else
|
|
6570 |
# Is the header compilable?
|
|
6571 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
6572 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
6573 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6574 |
/* confdefs.h. */
|
|
6575 |
_ACEOF
|
|
6576 |
cat confdefs.h >>conftest.$ac_ext
|
|
6577 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6578 |
/* end confdefs.h. */
|
|
6579 |
$ac_includes_default
|
|
6580 |
#include <$ac_header>
|
|
6581 |
_ACEOF
|
|
6582 |
rm -f conftest.$ac_objext
|
|
6583 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6584 |
(eval $ac_compile) 2>conftest.er1
|
|
6585 |
ac_status=$?
|
|
6586 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6587 |
rm -f conftest.er1
|
|
6588 |
cat conftest.err >&5
|
|
6589 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6590 |
(exit $ac_status); } &&
|
|
6591 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6592 |
|| test ! -s conftest.err'
|
|
6593 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6594 |
(eval $ac_try) 2>&5
|
|
6595 |
ac_status=$?
|
|
6596 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6597 |
(exit $ac_status); }; } &&
|
|
6598 |
{ ac_try='test -s conftest.$ac_objext'
|
|
6599 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6600 |
(eval $ac_try) 2>&5
|
|
6601 |
ac_status=$?
|
|
6602 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6603 |
(exit $ac_status); }; }; then
|
|
6604 |
ac_header_compiler=yes
|
|
6605 |
else
|
|
6606 |
echo "$as_me: failed program was:" >&5
|
|
6607 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6608 |
|
|
6609 |
ac_header_compiler=no
|
|
6610 |
fi
|
|
6611 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6612 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
6613 |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
6614 |
|
|
6615 |
# Is the header present?
|
|
6616 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
6617 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
6618 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6619 |
/* confdefs.h. */
|
|
6620 |
_ACEOF
|
|
6621 |
cat confdefs.h >>conftest.$ac_ext
|
|
6622 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6623 |
/* end confdefs.h. */
|
|
6624 |
#include <$ac_header>
|
|
6625 |
_ACEOF
|
|
6626 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
6627 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
6628 |
ac_status=$?
|
|
6629 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6630 |
rm -f conftest.er1
|
|
6631 |
cat conftest.err >&5
|
|
6632 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6633 |
(exit $ac_status); } >/dev/null; then
|
|
6634 |
if test -s conftest.err; then
|
|
6635 |
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
6636 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
6637 |
else
|
|
6638 |
ac_cpp_err=
|
|
6639 |
fi
|
|
6640 |
else
|
|
6641 |
ac_cpp_err=yes
|
|
6642 |
fi
|
|
6643 |
if test -z "$ac_cpp_err"; then
|
|
6644 |
ac_header_preproc=yes
|
|
6645 |
else
|
|
6646 |
echo "$as_me: failed program was:" >&5
|
|
6647 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6648 |
|
|
6649 |
ac_header_preproc=no
|
|
6650 |
fi
|
|
6651 |
rm -f conftest.err conftest.$ac_ext
|
|
6652 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
6653 |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
6654 |
|
|
6655 |
# So? What about this header?
|
|
6656 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
6657 |
yes:no: )
|
|
6658 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
6659 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
6660 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
6661 |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
6662 |
ac_header_preproc=yes
|
|
6663 |
;;
|
|
6664 |
no:yes:* )
|
|
6665 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
6666 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
6667 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
6668 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
6669 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
6670 |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
6671 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
6672 |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
6673 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
6674 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
6675 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
6676 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
6677 |
(
|
|
6678 |
cat <<\_ASBOX
|
|
6679 |
## ------------------------------- ##
|
|
6680 |
## Report this to bybell@nc.rr.com ##
|
|
6681 |
## ------------------------------- ##
|
|
6682 |
_ASBOX
|
|
6683 |
) |
|
|
6684 |
sed "s/^/$as_me: WARNING: /" >&2
|
|
6685 |
;;
|
|
6686 |
esac
|
|
6687 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
6688 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
6689 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
6690 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6691 |
else
|
|
6692 |
eval "$as_ac_Header=\$ac_header_preproc"
|
|
6693 |
fi
|
|
6694 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
6695 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
6696 |
|
|
6697 |
fi
|
|
6698 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
6531 | 6699 |
cat >>confdefs.h <<_ACEOF
|
6532 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6700 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
6533 | 6701 |
_ACEOF
|
6534 | 6702 |
|
6535 | 6703 |
fi
|
|
6538 | 6706 |
|
6539 | 6707 |
|
6540 | 6708 |
# rpc workaround for cygwin
|
|
6709 |
|
|
6710 |
|
6541 | 6711 |
for ac_header in rpc/types.h rpc/xdr.h
|
6542 | |
do :
|
6543 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6544 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_RPC_TYPES_H
|
|
6712 |
do
|
|
6713 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
6714 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
6715 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
6716 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
6717 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6718 |
else
|
|
6719 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6720 |
/* confdefs.h. */
|
|
6721 |
_ACEOF
|
|
6722 |
cat confdefs.h >>conftest.$ac_ext
|
|
6723 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6724 |
/* end confdefs.h. */
|
|
6725 |
#ifdef HAVE_RPC_TYPES_H
|
6545 | 6726 |
# include <rpc/types.h>
|
6546 | 6727 |
#endif
|
6547 | 6728 |
|
6548 | |
"
|
6549 | |
eval as_val=\$$as_ac_Header
|
6550 | |
if test "x$as_val" = x""yes; then :
|
|
6729 |
|
|
6730 |
#include <$ac_header>
|
|
6731 |
_ACEOF
|
|
6732 |
rm -f conftest.$ac_objext
|
|
6733 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6734 |
(eval $ac_compile) 2>conftest.er1
|
|
6735 |
ac_status=$?
|
|
6736 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6737 |
rm -f conftest.er1
|
|
6738 |
cat conftest.err >&5
|
|
6739 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6740 |
(exit $ac_status); } &&
|
|
6741 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6742 |
|| test ! -s conftest.err'
|
|
6743 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6744 |
(eval $ac_try) 2>&5
|
|
6745 |
ac_status=$?
|
|
6746 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6747 |
(exit $ac_status); }; } &&
|
|
6748 |
{ ac_try='test -s conftest.$ac_objext'
|
|
6749 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6750 |
(eval $ac_try) 2>&5
|
|
6751 |
ac_status=$?
|
|
6752 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6753 |
(exit $ac_status); }; }; then
|
|
6754 |
eval "$as_ac_Header=yes"
|
|
6755 |
else
|
|
6756 |
echo "$as_me: failed program was:" >&5
|
|
6757 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6758 |
|
|
6759 |
eval "$as_ac_Header=no"
|
|
6760 |
fi
|
|
6761 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6762 |
fi
|
|
6763 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
6764 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
6765 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
6551 | 6766 |
cat >>confdefs.h <<_ACEOF
|
6552 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
6767 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
6553 | 6768 |
_ACEOF
|
6554 | 6769 |
|
6555 | 6770 |
fi
|
|
6559 | 6774 |
|
6560 | 6775 |
|
6561 | 6776 |
# Checks for typedefs, structures, and compiler characteristics.
|
6562 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
6563 | |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
6564 | |
if test "${ac_cv_c_const+set}" = set; then :
|
6565 | |
$as_echo_n "(cached) " >&6
|
6566 | |
else
|
6567 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6777 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
|
6778 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
|
|
6779 |
if test "${ac_cv_c_const+set}" = set; then
|
|
6780 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6781 |
else
|
|
6782 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6783 |
/* confdefs.h. */
|
|
6784 |
_ACEOF
|
|
6785 |
cat confdefs.h >>conftest.$ac_ext
|
|
6786 |
cat >>conftest.$ac_ext <<_ACEOF
|
6568 | 6787 |
/* end confdefs.h. */
|
6569 | 6788 |
|
6570 | 6789 |
int
|
|
6574 | 6793 |
#ifndef __cplusplus
|
6575 | 6794 |
/* Ultrix mips cc rejects this. */
|
6576 | 6795 |
typedef int charset[2];
|
6577 | |
const charset cs;
|
|
6796 |
const charset x;
|
6578 | 6797 |
/* SunOS 4.1.1 cc rejects this. */
|
6579 | |
char const *const *pcpcc;
|
6580 | |
char **ppc;
|
|
6798 |
char const *const *ccp;
|
|
6799 |
char **p;
|
6581 | 6800 |
/* NEC SVR4.0.2 mips cc rejects this. */
|
6582 | 6801 |
struct point {int x, y;};
|
6583 | 6802 |
static struct point const zero = {0,0};
|
|
6586 | 6805 |
an arm of an if-expression whose if-part is not a constant
|
6587 | 6806 |
expression */
|
6588 | 6807 |
const char *g = "string";
|
6589 | |
pcpcc = &g + (g ? g-g : 0);
|
|
6808 |
ccp = &g + (g ? g-g : 0);
|
6590 | 6809 |
/* HPUX 7.0 cc rejects these. */
|
6591 | |
++pcpcc;
|
6592 | |
ppc = (char**) pcpcc;
|
6593 | |
pcpcc = (char const *const *) ppc;
|
|
6810 |
++ccp;
|
|
6811 |
p = (char**) ccp;
|
|
6812 |
ccp = (char const *const *) p;
|
6594 | 6813 |
{ /* SCO 3.2v4 cc rejects this. */
|
6595 | 6814 |
char *t;
|
6596 | 6815 |
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
6597 | 6816 |
|
6598 | 6817 |
*t++ = 0;
|
6599 | |
if (s) return 0;
|
6600 | 6818 |
}
|
6601 | 6819 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
6602 | 6820 |
int x[] = {25, 17};
|
|
6615 | 6833 |
}
|
6616 | 6834 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
6617 | 6835 |
const int foo = 10;
|
6618 | |
if (!foo) return 0;
|
6619 | 6836 |
}
|
6620 | |
return !cs[0] && !zero.x;
|
6621 | 6837 |
#endif
|
6622 | 6838 |
|
6623 | 6839 |
;
|
6624 | 6840 |
return 0;
|
6625 | 6841 |
}
|
6626 | 6842 |
_ACEOF
|
6627 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
6843 |
rm -f conftest.$ac_objext
|
|
6844 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6845 |
(eval $ac_compile) 2>conftest.er1
|
|
6846 |
ac_status=$?
|
|
6847 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6848 |
rm -f conftest.er1
|
|
6849 |
cat conftest.err >&5
|
|
6850 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6851 |
(exit $ac_status); } &&
|
|
6852 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6853 |
|| test ! -s conftest.err'
|
|
6854 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6855 |
(eval $ac_try) 2>&5
|
|
6856 |
ac_status=$?
|
|
6857 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6858 |
(exit $ac_status); }; } &&
|
|
6859 |
{ ac_try='test -s conftest.$ac_objext'
|
|
6860 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6861 |
(eval $ac_try) 2>&5
|
|
6862 |
ac_status=$?
|
|
6863 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6864 |
(exit $ac_status); }; }; then
|
6628 | 6865 |
ac_cv_c_const=yes
|
6629 | 6866 |
else
|
6630 | |
ac_cv_c_const=no
|
6631 | |
fi
|
6632 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6633 | |
fi
|
6634 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
6635 | |
$as_echo "$ac_cv_c_const" >&6; }
|
|
6867 |
echo "$as_me: failed program was:" >&5
|
|
6868 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6869 |
|
|
6870 |
ac_cv_c_const=no
|
|
6871 |
fi
|
|
6872 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6873 |
fi
|
|
6874 |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
|
6875 |
echo "${ECHO_T}$ac_cv_c_const" >&6
|
6636 | 6876 |
if test $ac_cv_c_const = no; then
|
6637 | 6877 |
|
6638 | |
$as_echo "#define const /**/" >>confdefs.h
|
6639 | |
|
6640 | |
fi
|
6641 | |
|
6642 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
|
6643 | |
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
|
6644 | |
if test "${ac_cv_header_stdbool_h+set}" = set; then :
|
6645 | |
$as_echo_n "(cached) " >&6
|
6646 | |
else
|
6647 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6878 |
cat >>confdefs.h <<\_ACEOF
|
|
6879 |
#define const
|
|
6880 |
_ACEOF
|
|
6881 |
|
|
6882 |
fi
|
|
6883 |
|
|
6884 |
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
|
|
6885 |
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
|
|
6886 |
if test "${ac_cv_header_stdbool_h+set}" = set; then
|
|
6887 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6888 |
else
|
|
6889 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6890 |
/* confdefs.h. */
|
|
6891 |
_ACEOF
|
|
6892 |
cat confdefs.h >>conftest.$ac_ext
|
|
6893 |
cat >>conftest.$ac_ext <<_ACEOF
|
6648 | 6894 |
/* end confdefs.h. */
|
6649 | 6895 |
|
6650 | 6896 |
#include <stdbool.h>
|
6651 | 6897 |
#ifndef bool
|
6652 | |
"error: bool is not defined"
|
|
6898 |
# error bool is not defined
|
6653 | 6899 |
#endif
|
6654 | 6900 |
#ifndef false
|
6655 | |
"error: false is not defined"
|
|
6901 |
# error false is not defined
|
6656 | 6902 |
#endif
|
6657 | 6903 |
#if false
|
6658 | |
"error: false is not 0"
|
|
6904 |
# error false is not 0
|
6659 | 6905 |
#endif
|
6660 | 6906 |
#ifndef true
|
6661 | |
"error: true is not defined"
|
|
6907 |
# error true is not defined
|
6662 | 6908 |
#endif
|
6663 | 6909 |
#if true != 1
|
6664 | |
"error: true is not 1"
|
|
6910 |
# error true is not 1
|
6665 | 6911 |
#endif
|
6666 | 6912 |
#ifndef __bool_true_false_are_defined
|
6667 | |
"error: __bool_true_false_are_defined is not defined"
|
|
6913 |
# error __bool_true_false_are_defined is not defined
|
6668 | 6914 |
#endif
|
6669 | 6915 |
|
6670 | 6916 |
struct s { _Bool s: 1; _Bool t; } s;
|
|
6672 | 6918 |
char a[true == 1 ? 1 : -1];
|
6673 | 6919 |
char b[false == 0 ? 1 : -1];
|
6674 | 6920 |
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
|
6675 | |
char d[(bool) 0.5 == true ? 1 : -1];
|
|
6921 |
char d[(bool) -0.5 == true ? 1 : -1];
|
6676 | 6922 |
bool e = &s;
|
6677 | |
char f[(_Bool) 0.0 == false ? 1 : -1];
|
|
6923 |
char f[(_Bool) -0.0 == false ? 1 : -1];
|
6678 | 6924 |
char g[true];
|
6679 | 6925 |
char h[sizeof (_Bool)];
|
6680 | 6926 |
char i[sizeof s.t];
|
6681 | |
enum { j = false, k = true, l = false * true, m = true * 256 };
|
6682 | |
/* The following fails for
|
6683 | |
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
|
6684 | |
_Bool n[m];
|
6685 | |
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
|
6686 | |
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
|
6687 | |
# if defined __xlc__ || defined __GNUC__
|
6688 | |
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
|
6689 | |
reported by James Lemley on 2005-10-05; see
|
6690 | |
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
|
6691 | |
This test is not quite right, since xlc is allowed to
|
6692 | |
reject this program, as the initializer for xlcbug is
|
6693 | |
not one of the forms that C requires support for.
|
6694 | |
However, doing the test right would require a runtime
|
6695 | |
test, and that would make cross-compilation harder.
|
6696 | |
Let us hope that IBM fixes the xlc bug, and also adds
|
6697 | |
support for this kind of constant expression. In the
|
6698 | |
meantime, this test will reject xlc, which is OK, since
|
6699 | |
our stdbool.h substitute should suffice. We also test
|
6700 | |
this with GCC, where it should work, to detect more
|
6701 | |
quickly whether someone messes up the test in the
|
6702 | |
future. */
|
6703 | |
char digs[] = "0123456789";
|
6704 | |
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
|
6705 | |
# endif
|
6706 | |
/* Catch a bug in an HP-UX C compiler. See
|
6707 | |
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
|
6708 | |
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
|
6709 | |
*/
|
6710 | |
_Bool q = true;
|
6711 | |
_Bool *pq = &q;
|
6712 | 6927 |
|
6713 | 6928 |
int
|
6714 | 6929 |
main ()
|
6715 | 6930 |
{
|
6716 | |
|
6717 | |
*pq |= q;
|
6718 | |
*pq |= ! q;
|
6719 | |
/* Refer to every declared value, to avoid compiler optimizations. */
|
6720 | |
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
|
6721 | |
+ !m + !n + !o + !p + !q + !pq);
|
6722 | |
|
|
6931 |
return !a + !b + !c + !d + !e + !f + !g + !h + !i;
|
6723 | 6932 |
;
|
6724 | 6933 |
return 0;
|
6725 | 6934 |
}
|
6726 | 6935 |
_ACEOF
|
6727 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
6936 |
rm -f conftest.$ac_objext
|
|
6937 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6938 |
(eval $ac_compile) 2>conftest.er1
|
|
6939 |
ac_status=$?
|
|
6940 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6941 |
rm -f conftest.er1
|
|
6942 |
cat conftest.err >&5
|
|
6943 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6944 |
(exit $ac_status); } &&
|
|
6945 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
6946 |
|| test ! -s conftest.err'
|
|
6947 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6948 |
(eval $ac_try) 2>&5
|
|
6949 |
ac_status=$?
|
|
6950 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6951 |
(exit $ac_status); }; } &&
|
|
6952 |
{ ac_try='test -s conftest.$ac_objext'
|
|
6953 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
6954 |
(eval $ac_try) 2>&5
|
|
6955 |
ac_status=$?
|
|
6956 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6957 |
(exit $ac_status); }; }; then
|
6728 | 6958 |
ac_cv_header_stdbool_h=yes
|
6729 | 6959 |
else
|
6730 | |
ac_cv_header_stdbool_h=no
|
6731 | |
fi
|
6732 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6733 | |
fi
|
6734 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
|
6735 | |
$as_echo "$ac_cv_header_stdbool_h" >&6; }
|
6736 | |
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
|
6737 | |
if test "x$ac_cv_type__Bool" = x""yes; then :
|
|
6960 |
echo "$as_me: failed program was:" >&5
|
|
6961 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6962 |
|
|
6963 |
ac_cv_header_stdbool_h=no
|
|
6964 |
fi
|
|
6965 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6966 |
fi
|
|
6967 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
|
|
6968 |
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
|
|
6969 |
echo "$as_me:$LINENO: checking for _Bool" >&5
|
|
6970 |
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
|
|
6971 |
if test "${ac_cv_type__Bool+set}" = set; then
|
|
6972 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6973 |
else
|
|
6974 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6975 |
/* confdefs.h. */
|
|
6976 |
_ACEOF
|
|
6977 |
cat confdefs.h >>conftest.$ac_ext
|
|
6978 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6979 |
/* end confdefs.h. */
|
|
6980 |
$ac_includes_default
|
|
6981 |
int
|
|
6982 |
main ()
|
|
6983 |
{
|
|
6984 |
if ((_Bool *) 0)
|
|
6985 |
return 0;
|
|
6986 |
if (sizeof (_Bool))
|
|
6987 |
return 0;
|
|
6988 |
;
|
|
6989 |
return 0;
|
|
6990 |
}
|
|
6991 |
_ACEOF
|
|
6992 |
rm -f conftest.$ac_objext
|
|
6993 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6994 |
(eval $ac_compile) 2>conftest.er1
|
|
6995 |
ac_status=$?
|
|
6996 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6997 |
rm -f conftest.er1
|
|
6998 |
cat conftest.err >&5
|
|
6999 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7000 |
(exit $ac_status); } &&
|
|
7001 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7002 |
|| test ! -s conftest.err'
|
|
7003 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7004 |
(eval $ac_try) 2>&5
|
|
7005 |
ac_status=$?
|
|
7006 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7007 |
(exit $ac_status); }; } &&
|
|
7008 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7009 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7010 |
(eval $ac_try) 2>&5
|
|
7011 |
ac_status=$?
|
|
7012 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7013 |
(exit $ac_status); }; }; then
|
|
7014 |
ac_cv_type__Bool=yes
|
|
7015 |
else
|
|
7016 |
echo "$as_me: failed program was:" >&5
|
|
7017 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7018 |
|
|
7019 |
ac_cv_type__Bool=no
|
|
7020 |
fi
|
|
7021 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7022 |
fi
|
|
7023 |
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
|
|
7024 |
echo "${ECHO_T}$ac_cv_type__Bool" >&6
|
|
7025 |
if test $ac_cv_type__Bool = yes; then
|
6738 | 7026 |
|
6739 | 7027 |
cat >>confdefs.h <<_ACEOF
|
6740 | 7028 |
#define HAVE__BOOL 1
|
|
6745 | 7033 |
|
6746 | 7034 |
if test $ac_cv_header_stdbool_h = yes; then
|
6747 | 7035 |
|
6748 | |
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
|
6749 | |
|
6750 | |
fi
|
6751 | |
|
6752 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
|
6753 | |
$as_echo_n "checking for inline... " >&6; }
|
6754 | |
if test "${ac_cv_c_inline+set}" = set; then :
|
6755 | |
$as_echo_n "(cached) " >&6
|
|
7036 |
cat >>confdefs.h <<\_ACEOF
|
|
7037 |
#define HAVE_STDBOOL_H 1
|
|
7038 |
_ACEOF
|
|
7039 |
|
|
7040 |
fi
|
|
7041 |
|
|
7042 |
echo "$as_me:$LINENO: checking for inline" >&5
|
|
7043 |
echo $ECHO_N "checking for inline... $ECHO_C" >&6
|
|
7044 |
if test "${ac_cv_c_inline+set}" = set; then
|
|
7045 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6756 | 7046 |
else
|
6757 | 7047 |
ac_cv_c_inline=no
|
6758 | 7048 |
for ac_kw in inline __inline__ __inline; do
|
6759 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7049 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7050 |
/* confdefs.h. */
|
|
7051 |
_ACEOF
|
|
7052 |
cat confdefs.h >>conftest.$ac_ext
|
|
7053 |
cat >>conftest.$ac_ext <<_ACEOF
|
6760 | 7054 |
/* end confdefs.h. */
|
6761 | 7055 |
#ifndef __cplusplus
|
6762 | 7056 |
typedef int foo_t;
|
|
6765 | 7059 |
#endif
|
6766 | 7060 |
|
6767 | 7061 |
_ACEOF
|
6768 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
6769 | |
ac_cv_c_inline=$ac_kw
|
6770 | |
fi
|
6771 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6772 | |
test "$ac_cv_c_inline" != no && break
|
|
7062 |
rm -f conftest.$ac_objext
|
|
7063 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7064 |
(eval $ac_compile) 2>conftest.er1
|
|
7065 |
ac_status=$?
|
|
7066 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7067 |
rm -f conftest.er1
|
|
7068 |
cat conftest.err >&5
|
|
7069 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7070 |
(exit $ac_status); } &&
|
|
7071 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7072 |
|| test ! -s conftest.err'
|
|
7073 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7074 |
(eval $ac_try) 2>&5
|
|
7075 |
ac_status=$?
|
|
7076 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7077 |
(exit $ac_status); }; } &&
|
|
7078 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7079 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7080 |
(eval $ac_try) 2>&5
|
|
7081 |
ac_status=$?
|
|
7082 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7083 |
(exit $ac_status); }; }; then
|
|
7084 |
ac_cv_c_inline=$ac_kw; break
|
|
7085 |
else
|
|
7086 |
echo "$as_me: failed program was:" >&5
|
|
7087 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7088 |
|
|
7089 |
fi
|
|
7090 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
6773 | 7091 |
done
|
6774 | 7092 |
|
6775 | 7093 |
fi
|
6776 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
|
6777 | |
$as_echo "$ac_cv_c_inline" >&6; }
|
|
7094 |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
|
|
7095 |
echo "${ECHO_T}$ac_cv_c_inline" >&6
|
|
7096 |
|
6778 | 7097 |
|
6779 | 7098 |
case $ac_cv_c_inline in
|
6780 | 7099 |
inline | yes) ;;
|
|
6791 | 7110 |
;;
|
6792 | 7111 |
esac
|
6793 | 7112 |
|
6794 | |
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
6795 | |
if test "x$ac_cv_type_off_t" = x""yes; then :
|
6796 | |
|
|
7113 |
echo "$as_me:$LINENO: checking for off_t" >&5
|
|
7114 |
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
|
|
7115 |
if test "${ac_cv_type_off_t+set}" = set; then
|
|
7116 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7117 |
else
|
|
7118 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7119 |
/* confdefs.h. */
|
|
7120 |
_ACEOF
|
|
7121 |
cat confdefs.h >>conftest.$ac_ext
|
|
7122 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7123 |
/* end confdefs.h. */
|
|
7124 |
$ac_includes_default
|
|
7125 |
int
|
|
7126 |
main ()
|
|
7127 |
{
|
|
7128 |
if ((off_t *) 0)
|
|
7129 |
return 0;
|
|
7130 |
if (sizeof (off_t))
|
|
7131 |
return 0;
|
|
7132 |
;
|
|
7133 |
return 0;
|
|
7134 |
}
|
|
7135 |
_ACEOF
|
|
7136 |
rm -f conftest.$ac_objext
|
|
7137 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7138 |
(eval $ac_compile) 2>conftest.er1
|
|
7139 |
ac_status=$?
|
|
7140 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7141 |
rm -f conftest.er1
|
|
7142 |
cat conftest.err >&5
|
|
7143 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7144 |
(exit $ac_status); } &&
|
|
7145 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7146 |
|| test ! -s conftest.err'
|
|
7147 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7148 |
(eval $ac_try) 2>&5
|
|
7149 |
ac_status=$?
|
|
7150 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7151 |
(exit $ac_status); }; } &&
|
|
7152 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7153 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7154 |
(eval $ac_try) 2>&5
|
|
7155 |
ac_status=$?
|
|
7156 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7157 |
(exit $ac_status); }; }; then
|
|
7158 |
ac_cv_type_off_t=yes
|
|
7159 |
else
|
|
7160 |
echo "$as_me: failed program was:" >&5
|
|
7161 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7162 |
|
|
7163 |
ac_cv_type_off_t=no
|
|
7164 |
fi
|
|
7165 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7166 |
fi
|
|
7167 |
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
|
7168 |
echo "${ECHO_T}$ac_cv_type_off_t" >&6
|
|
7169 |
if test $ac_cv_type_off_t = yes; then
|
|
7170 |
:
|
6797 | 7171 |
else
|
6798 | 7172 |
|
6799 | 7173 |
cat >>confdefs.h <<_ACEOF
|
6800 | |
#define off_t long int
|
6801 | |
_ACEOF
|
6802 | |
|
6803 | |
fi
|
6804 | |
|
6805 | |
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
|
6806 | |
if test "x$ac_cv_type_pid_t" = x""yes; then :
|
6807 | |
|
|
7174 |
#define off_t long
|
|
7175 |
_ACEOF
|
|
7176 |
|
|
7177 |
fi
|
|
7178 |
|
|
7179 |
echo "$as_me:$LINENO: checking for pid_t" >&5
|
|
7180 |
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
|
|
7181 |
if test "${ac_cv_type_pid_t+set}" = set; then
|
|
7182 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7183 |
else
|
|
7184 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7185 |
/* confdefs.h. */
|
|
7186 |
_ACEOF
|
|
7187 |
cat confdefs.h >>conftest.$ac_ext
|
|
7188 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7189 |
/* end confdefs.h. */
|
|
7190 |
$ac_includes_default
|
|
7191 |
int
|
|
7192 |
main ()
|
|
7193 |
{
|
|
7194 |
if ((pid_t *) 0)
|
|
7195 |
return 0;
|
|
7196 |
if (sizeof (pid_t))
|
|
7197 |
return 0;
|
|
7198 |
;
|
|
7199 |
return 0;
|
|
7200 |
}
|
|
7201 |
_ACEOF
|
|
7202 |
rm -f conftest.$ac_objext
|
|
7203 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7204 |
(eval $ac_compile) 2>conftest.er1
|
|
7205 |
ac_status=$?
|
|
7206 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7207 |
rm -f conftest.er1
|
|
7208 |
cat conftest.err >&5
|
|
7209 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7210 |
(exit $ac_status); } &&
|
|
7211 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7212 |
|| test ! -s conftest.err'
|
|
7213 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7214 |
(eval $ac_try) 2>&5
|
|
7215 |
ac_status=$?
|
|
7216 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7217 |
(exit $ac_status); }; } &&
|
|
7218 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7219 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7220 |
(eval $ac_try) 2>&5
|
|
7221 |
ac_status=$?
|
|
7222 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7223 |
(exit $ac_status); }; }; then
|
|
7224 |
ac_cv_type_pid_t=yes
|
|
7225 |
else
|
|
7226 |
echo "$as_me: failed program was:" >&5
|
|
7227 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7228 |
|
|
7229 |
ac_cv_type_pid_t=no
|
|
7230 |
fi
|
|
7231 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7232 |
fi
|
|
7233 |
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
|
|
7234 |
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
|
|
7235 |
if test $ac_cv_type_pid_t = yes; then
|
|
7236 |
:
|
6808 | 7237 |
else
|
6809 | 7238 |
|
6810 | 7239 |
cat >>confdefs.h <<_ACEOF
|
|
6813 | 7242 |
|
6814 | 7243 |
fi
|
6815 | 7244 |
|
6816 | |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
6817 | |
if test "x$ac_cv_type_size_t" = x""yes; then :
|
6818 | |
|
|
7245 |
echo "$as_me:$LINENO: checking for size_t" >&5
|
|
7246 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
|
|
7247 |
if test "${ac_cv_type_size_t+set}" = set; then
|
|
7248 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7249 |
else
|
|
7250 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7251 |
/* confdefs.h. */
|
|
7252 |
_ACEOF
|
|
7253 |
cat confdefs.h >>conftest.$ac_ext
|
|
7254 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7255 |
/* end confdefs.h. */
|
|
7256 |
$ac_includes_default
|
|
7257 |
int
|
|
7258 |
main ()
|
|
7259 |
{
|
|
7260 |
if ((size_t *) 0)
|
|
7261 |
return 0;
|
|
7262 |
if (sizeof (size_t))
|
|
7263 |
return 0;
|
|
7264 |
;
|
|
7265 |
return 0;
|
|
7266 |
}
|
|
7267 |
_ACEOF
|
|
7268 |
rm -f conftest.$ac_objext
|
|
7269 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7270 |
(eval $ac_compile) 2>conftest.er1
|
|
7271 |
ac_status=$?
|
|
7272 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7273 |
rm -f conftest.er1
|
|
7274 |
cat conftest.err >&5
|
|
7275 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7276 |
(exit $ac_status); } &&
|
|
7277 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7278 |
|| test ! -s conftest.err'
|
|
7279 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7280 |
(eval $ac_try) 2>&5
|
|
7281 |
ac_status=$?
|
|
7282 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7283 |
(exit $ac_status); }; } &&
|
|
7284 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7285 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7286 |
(eval $ac_try) 2>&5
|
|
7287 |
ac_status=$?
|
|
7288 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7289 |
(exit $ac_status); }; }; then
|
|
7290 |
ac_cv_type_size_t=yes
|
|
7291 |
else
|
|
7292 |
echo "$as_me: failed program was:" >&5
|
|
7293 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7294 |
|
|
7295 |
ac_cv_type_size_t=no
|
|
7296 |
fi
|
|
7297 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7298 |
fi
|
|
7299 |
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
|
7300 |
echo "${ECHO_T}$ac_cv_type_size_t" >&6
|
|
7301 |
if test $ac_cv_type_size_t = yes; then
|
|
7302 |
:
|
6819 | 7303 |
else
|
6820 | 7304 |
|
6821 | 7305 |
cat >>confdefs.h <<_ACEOF
|
6822 | |
#define size_t unsigned int
|
6823 | |
_ACEOF
|
6824 | |
|
6825 | |
fi
|
6826 | |
|
6827 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
|
6828 | |
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
6829 | |
if test "${ac_cv_header_time+set}" = set; then :
|
6830 | |
$as_echo_n "(cached) " >&6
|
6831 | |
else
|
6832 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7306 |
#define size_t unsigned
|
|
7307 |
_ACEOF
|
|
7308 |
|
|
7309 |
fi
|
|
7310 |
|
|
7311 |
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
|
7312 |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
|
|
7313 |
if test "${ac_cv_header_time+set}" = set; then
|
|
7314 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7315 |
else
|
|
7316 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7317 |
/* confdefs.h. */
|
|
7318 |
_ACEOF
|
|
7319 |
cat confdefs.h >>conftest.$ac_ext
|
|
7320 |
cat >>conftest.$ac_ext <<_ACEOF
|
6833 | 7321 |
/* end confdefs.h. */
|
6834 | 7322 |
#include <sys/types.h>
|
6835 | 7323 |
#include <sys/time.h>
|
|
6844 | 7332 |
return 0;
|
6845 | 7333 |
}
|
6846 | 7334 |
_ACEOF
|
6847 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
7335 |
rm -f conftest.$ac_objext
|
|
7336 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7337 |
(eval $ac_compile) 2>conftest.er1
|
|
7338 |
ac_status=$?
|
|
7339 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7340 |
rm -f conftest.er1
|
|
7341 |
cat conftest.err >&5
|
|
7342 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7343 |
(exit $ac_status); } &&
|
|
7344 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7345 |
|| test ! -s conftest.err'
|
|
7346 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7347 |
(eval $ac_try) 2>&5
|
|
7348 |
ac_status=$?
|
|
7349 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7350 |
(exit $ac_status); }; } &&
|
|
7351 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7352 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7353 |
(eval $ac_try) 2>&5
|
|
7354 |
ac_status=$?
|
|
7355 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7356 |
(exit $ac_status); }; }; then
|
6848 | 7357 |
ac_cv_header_time=yes
|
6849 | 7358 |
else
|
6850 | |
ac_cv_header_time=no
|
6851 | |
fi
|
6852 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6853 | |
fi
|
6854 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
|
6855 | |
$as_echo "$ac_cv_header_time" >&6; }
|
|
7359 |
echo "$as_me: failed program was:" >&5
|
|
7360 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7361 |
|
|
7362 |
ac_cv_header_time=no
|
|
7363 |
fi
|
|
7364 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7365 |
fi
|
|
7366 |
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
|
|
7367 |
echo "${ECHO_T}$ac_cv_header_time" >&6
|
6856 | 7368 |
if test $ac_cv_header_time = yes; then
|
6857 | 7369 |
|
6858 | |
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
6859 | |
|
6860 | |
fi
|
6861 | |
|
6862 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
|
6863 | |
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
6864 | |
if test "${ac_cv_struct_tm+set}" = set; then :
|
6865 | |
$as_echo_n "(cached) " >&6
|
6866 | |
else
|
6867 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7370 |
cat >>confdefs.h <<\_ACEOF
|
|
7371 |
#define TIME_WITH_SYS_TIME 1
|
|
7372 |
_ACEOF
|
|
7373 |
|
|
7374 |
fi
|
|
7375 |
|
|
7376 |
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
|
|
7377 |
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
|
|
7378 |
if test "${ac_cv_struct_tm+set}" = set; then
|
|
7379 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7380 |
else
|
|
7381 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7382 |
/* confdefs.h. */
|
|
7383 |
_ACEOF
|
|
7384 |
cat confdefs.h >>conftest.$ac_ext
|
|
7385 |
cat >>conftest.$ac_ext <<_ACEOF
|
6868 | 7386 |
/* end confdefs.h. */
|
6869 | 7387 |
#include <sys/types.h>
|
6870 | 7388 |
#include <time.h>
|
|
6872 | 7390 |
int
|
6873 | 7391 |
main ()
|
6874 | 7392 |
{
|
6875 | |
struct tm tm;
|
6876 | |
int *p = &tm.tm_sec;
|
6877 | |
return !p;
|
|
7393 |
struct tm *tp; tp->tm_sec;
|
6878 | 7394 |
;
|
6879 | 7395 |
return 0;
|
6880 | 7396 |
}
|
6881 | 7397 |
_ACEOF
|
6882 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
7398 |
rm -f conftest.$ac_objext
|
|
7399 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7400 |
(eval $ac_compile) 2>conftest.er1
|
|
7401 |
ac_status=$?
|
|
7402 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7403 |
rm -f conftest.er1
|
|
7404 |
cat conftest.err >&5
|
|
7405 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7406 |
(exit $ac_status); } &&
|
|
7407 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7408 |
|| test ! -s conftest.err'
|
|
7409 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7410 |
(eval $ac_try) 2>&5
|
|
7411 |
ac_status=$?
|
|
7412 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7413 |
(exit $ac_status); }; } &&
|
|
7414 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7415 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7416 |
(eval $ac_try) 2>&5
|
|
7417 |
ac_status=$?
|
|
7418 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7419 |
(exit $ac_status); }; }; then
|
6883 | 7420 |
ac_cv_struct_tm=time.h
|
6884 | 7421 |
else
|
6885 | |
ac_cv_struct_tm=sys/time.h
|
6886 | |
fi
|
6887 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6888 | |
fi
|
6889 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
|
6890 | |
$as_echo "$ac_cv_struct_tm" >&6; }
|
|
7422 |
echo "$as_me: failed program was:" >&5
|
|
7423 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7424 |
|
|
7425 |
ac_cv_struct_tm=sys/time.h
|
|
7426 |
fi
|
|
7427 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7428 |
fi
|
|
7429 |
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
|
|
7430 |
echo "${ECHO_T}$ac_cv_struct_tm" >&6
|
6891 | 7431 |
if test $ac_cv_struct_tm = sys/time.h; then
|
6892 | 7432 |
|
6893 | |
$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
|
6894 | |
|
6895 | |
fi
|
6896 | |
|
6897 | |
ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
|
6898 | |
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
|
|
7433 |
cat >>confdefs.h <<\_ACEOF
|
|
7434 |
#define TM_IN_SYS_TIME 1
|
|
7435 |
_ACEOF
|
|
7436 |
|
|
7437 |
fi
|
|
7438 |
|
|
7439 |
echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
|
|
7440 |
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
|
|
7441 |
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
|
|
7442 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7443 |
else
|
|
7444 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7445 |
/* confdefs.h. */
|
|
7446 |
_ACEOF
|
|
7447 |
cat confdefs.h >>conftest.$ac_ext
|
|
7448 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7449 |
/* end confdefs.h. */
|
|
7450 |
$ac_includes_default
|
|
7451 |
int
|
|
7452 |
main ()
|
|
7453 |
{
|
|
7454 |
if ((ptrdiff_t *) 0)
|
|
7455 |
return 0;
|
|
7456 |
if (sizeof (ptrdiff_t))
|
|
7457 |
return 0;
|
|
7458 |
;
|
|
7459 |
return 0;
|
|
7460 |
}
|
|
7461 |
_ACEOF
|
|
7462 |
rm -f conftest.$ac_objext
|
|
7463 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7464 |
(eval $ac_compile) 2>conftest.er1
|
|
7465 |
ac_status=$?
|
|
7466 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7467 |
rm -f conftest.er1
|
|
7468 |
cat conftest.err >&5
|
|
7469 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7470 |
(exit $ac_status); } &&
|
|
7471 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7472 |
|| test ! -s conftest.err'
|
|
7473 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7474 |
(eval $ac_try) 2>&5
|
|
7475 |
ac_status=$?
|
|
7476 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7477 |
(exit $ac_status); }; } &&
|
|
7478 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7479 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7480 |
(eval $ac_try) 2>&5
|
|
7481 |
ac_status=$?
|
|
7482 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7483 |
(exit $ac_status); }; }; then
|
|
7484 |
ac_cv_type_ptrdiff_t=yes
|
|
7485 |
else
|
|
7486 |
echo "$as_me: failed program was:" >&5
|
|
7487 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7488 |
|
|
7489 |
ac_cv_type_ptrdiff_t=no
|
|
7490 |
fi
|
|
7491 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7492 |
fi
|
|
7493 |
echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
|
|
7494 |
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
|
|
7495 |
if test $ac_cv_type_ptrdiff_t = yes; then
|
6899 | 7496 |
|
6900 | 7497 |
cat >>confdefs.h <<_ACEOF
|
6901 | 7498 |
#define HAVE_PTRDIFF_T 1
|
|
6904 | 7501 |
|
6905 | 7502 |
fi
|
6906 | 7503 |
|
6907 | |
# Check whether --enable-largefile was given.
|
6908 | |
if test "${enable_largefile+set}" = set; then :
|
6909 | |
enableval=$enable_largefile;
|
6910 | |
fi
|
6911 | |
|
|
7504 |
# Check whether --enable-largefile or --disable-largefile was given.
|
|
7505 |
if test "${enable_largefile+set}" = set; then
|
|
7506 |
enableval="$enable_largefile"
|
|
7507 |
|
|
7508 |
fi;
|
6912 | 7509 |
if test "$enable_largefile" != no; then
|
6913 | 7510 |
|
6914 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
|
6915 | |
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
6916 | |
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
|
6917 | |
$as_echo_n "(cached) " >&6
|
|
7511 |
echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
|
|
7512 |
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
|
|
7513 |
if test "${ac_cv_sys_largefile_CC+set}" = set; then
|
|
7514 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6918 | 7515 |
else
|
6919 | 7516 |
ac_cv_sys_largefile_CC=no
|
6920 | 7517 |
if test "$GCC" != yes; then
|
6921 | 7518 |
ac_save_CC=$CC
|
6922 | 7519 |
while :; do
|
6923 | |
# IRIX 6.2 and later do not support large files by default,
|
6924 | |
# so use the C compiler's -n32 option if that helps.
|
6925 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7520 |
# IRIX 6.2 and later do not support large files by default,
|
|
7521 |
# so use the C compiler's -n32 option if that helps.
|
|
7522 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7523 |
/* confdefs.h. */
|
|
7524 |
_ACEOF
|
|
7525 |
cat confdefs.h >>conftest.$ac_ext
|
|
7526 |
cat >>conftest.$ac_ext <<_ACEOF
|
6926 | 7527 |
/* end confdefs.h. */
|
6927 | 7528 |
#include <sys/types.h>
|
6928 | 7529 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
6941 | 7542 |
return 0;
|
6942 | 7543 |
}
|
6943 | 7544 |
_ACEOF
|
6944 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
7545 |
rm -f conftest.$ac_objext
|
|
7546 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7547 |
(eval $ac_compile) 2>conftest.er1
|
|
7548 |
ac_status=$?
|
|
7549 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7550 |
rm -f conftest.er1
|
|
7551 |
cat conftest.err >&5
|
|
7552 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7553 |
(exit $ac_status); } &&
|
|
7554 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7555 |
|| test ! -s conftest.err'
|
|
7556 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7557 |
(eval $ac_try) 2>&5
|
|
7558 |
ac_status=$?
|
|
7559 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7560 |
(exit $ac_status); }; } &&
|
|
7561 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7562 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7563 |
(eval $ac_try) 2>&5
|
|
7564 |
ac_status=$?
|
|
7565 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7566 |
(exit $ac_status); }; }; then
|
6945 | 7567 |
break
|
6946 | |
fi
|
6947 | |
rm -f core conftest.err conftest.$ac_objext
|
6948 | |
CC="$CC -n32"
|
6949 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
7568 |
else
|
|
7569 |
echo "$as_me: failed program was:" >&5
|
|
7570 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7571 |
|
|
7572 |
fi
|
|
7573 |
rm -f conftest.err conftest.$ac_objext
|
|
7574 |
CC="$CC -n32"
|
|
7575 |
rm -f conftest.$ac_objext
|
|
7576 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7577 |
(eval $ac_compile) 2>conftest.er1
|
|
7578 |
ac_status=$?
|
|
7579 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7580 |
rm -f conftest.er1
|
|
7581 |
cat conftest.err >&5
|
|
7582 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7583 |
(exit $ac_status); } &&
|
|
7584 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7585 |
|| test ! -s conftest.err'
|
|
7586 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7587 |
(eval $ac_try) 2>&5
|
|
7588 |
ac_status=$?
|
|
7589 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7590 |
(exit $ac_status); }; } &&
|
|
7591 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7592 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7593 |
(eval $ac_try) 2>&5
|
|
7594 |
ac_status=$?
|
|
7595 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7596 |
(exit $ac_status); }; }; then
|
6950 | 7597 |
ac_cv_sys_largefile_CC=' -n32'; break
|
6951 | |
fi
|
6952 | |
rm -f core conftest.err conftest.$ac_objext
|
|
7598 |
else
|
|
7599 |
echo "$as_me: failed program was:" >&5
|
|
7600 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7601 |
|
|
7602 |
fi
|
|
7603 |
rm -f conftest.err conftest.$ac_objext
|
6953 | 7604 |
break
|
6954 | 7605 |
done
|
6955 | 7606 |
CC=$ac_save_CC
|
6956 | 7607 |
rm -f conftest.$ac_ext
|
6957 | 7608 |
fi
|
6958 | 7609 |
fi
|
6959 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
|
6960 | |
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
|
7610 |
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
|
|
7611 |
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
|
6961 | 7612 |
if test "$ac_cv_sys_largefile_CC" != no; then
|
6962 | 7613 |
CC=$CC$ac_cv_sys_largefile_CC
|
6963 | 7614 |
fi
|
6964 | 7615 |
|
6965 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
6966 | |
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
6967 | |
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
|
6968 | |
$as_echo_n "(cached) " >&6
|
|
7616 |
echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
7617 |
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
|
|
7618 |
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
|
|
7619 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6969 | 7620 |
else
|
6970 | 7621 |
while :; do
|
6971 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7622 |
ac_cv_sys_file_offset_bits=no
|
|
7623 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7624 |
/* confdefs.h. */
|
|
7625 |
_ACEOF
|
|
7626 |
cat confdefs.h >>conftest.$ac_ext
|
|
7627 |
cat >>conftest.$ac_ext <<_ACEOF
|
6972 | 7628 |
/* end confdefs.h. */
|
6973 | 7629 |
#include <sys/types.h>
|
6974 | 7630 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
6987 | 7643 |
return 0;
|
6988 | 7644 |
}
|
6989 | 7645 |
_ACEOF
|
6990 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
6991 | |
ac_cv_sys_file_offset_bits=no; break
|
6992 | |
fi
|
6993 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6994 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7646 |
rm -f conftest.$ac_objext
|
|
7647 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7648 |
(eval $ac_compile) 2>conftest.er1
|
|
7649 |
ac_status=$?
|
|
7650 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7651 |
rm -f conftest.er1
|
|
7652 |
cat conftest.err >&5
|
|
7653 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7654 |
(exit $ac_status); } &&
|
|
7655 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7656 |
|| test ! -s conftest.err'
|
|
7657 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7658 |
(eval $ac_try) 2>&5
|
|
7659 |
ac_status=$?
|
|
7660 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7661 |
(exit $ac_status); }; } &&
|
|
7662 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7663 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7664 |
(eval $ac_try) 2>&5
|
|
7665 |
ac_status=$?
|
|
7666 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7667 |
(exit $ac_status); }; }; then
|
|
7668 |
break
|
|
7669 |
else
|
|
7670 |
echo "$as_me: failed program was:" >&5
|
|
7671 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7672 |
|
|
7673 |
fi
|
|
7674 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7675 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7676 |
/* confdefs.h. */
|
|
7677 |
_ACEOF
|
|
7678 |
cat confdefs.h >>conftest.$ac_ext
|
|
7679 |
cat >>conftest.$ac_ext <<_ACEOF
|
6995 | 7680 |
/* end confdefs.h. */
|
6996 | 7681 |
#define _FILE_OFFSET_BITS 64
|
6997 | 7682 |
#include <sys/types.h>
|
|
7011 | 7696 |
return 0;
|
7012 | 7697 |
}
|
7013 | 7698 |
_ACEOF
|
7014 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
7699 |
rm -f conftest.$ac_objext
|
|
7700 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7701 |
(eval $ac_compile) 2>conftest.er1
|
|
7702 |
ac_status=$?
|
|
7703 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7704 |
rm -f conftest.er1
|
|
7705 |
cat conftest.err >&5
|
|
7706 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7707 |
(exit $ac_status); } &&
|
|
7708 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7709 |
|| test ! -s conftest.err'
|
|
7710 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7711 |
(eval $ac_try) 2>&5
|
|
7712 |
ac_status=$?
|
|
7713 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7714 |
(exit $ac_status); }; } &&
|
|
7715 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7716 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7717 |
(eval $ac_try) 2>&5
|
|
7718 |
ac_status=$?
|
|
7719 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7720 |
(exit $ac_status); }; }; then
|
7015 | 7721 |
ac_cv_sys_file_offset_bits=64; break
|
7016 | |
fi
|
7017 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7018 | |
ac_cv_sys_file_offset_bits=unknown
|
|
7722 |
else
|
|
7723 |
echo "$as_me: failed program was:" >&5
|
|
7724 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7725 |
|
|
7726 |
fi
|
|
7727 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
7019 | 7728 |
break
|
7020 | 7729 |
done
|
7021 | 7730 |
fi
|
7022 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
|
7023 | |
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
7024 | |
case $ac_cv_sys_file_offset_bits in #(
|
7025 | |
no | unknown) ;;
|
7026 | |
*)
|
|
7731 |
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
|
|
7732 |
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
|
|
7733 |
if test "$ac_cv_sys_file_offset_bits" != no; then
|
|
7734 |
|
7027 | 7735 |
cat >>confdefs.h <<_ACEOF
|
7028 | 7736 |
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
|
7029 | 7737 |
_ACEOF
|
7030 | |
;;
|
7031 | |
esac
|
7032 | |
rm -rf conftest*
|
7033 | |
if test $ac_cv_sys_file_offset_bits = unknown; then
|
7034 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
|
7035 | |
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
7036 | |
if test "${ac_cv_sys_large_files+set}" = set; then :
|
7037 | |
$as_echo_n "(cached) " >&6
|
|
7738 |
|
|
7739 |
fi
|
|
7740 |
rm -f conftest*
|
|
7741 |
echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
|
|
7742 |
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
|
|
7743 |
if test "${ac_cv_sys_large_files+set}" = set; then
|
|
7744 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7038 | 7745 |
else
|
7039 | 7746 |
while :; do
|
7040 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7747 |
ac_cv_sys_large_files=no
|
|
7748 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7749 |
/* confdefs.h. */
|
|
7750 |
_ACEOF
|
|
7751 |
cat confdefs.h >>conftest.$ac_ext
|
|
7752 |
cat >>conftest.$ac_ext <<_ACEOF
|
7041 | 7753 |
/* end confdefs.h. */
|
7042 | 7754 |
#include <sys/types.h>
|
7043 | 7755 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
7056 | 7768 |
return 0;
|
7057 | 7769 |
}
|
7058 | 7770 |
_ACEOF
|
7059 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
7060 | |
ac_cv_sys_large_files=no; break
|
7061 | |
fi
|
7062 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7063 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7771 |
rm -f conftest.$ac_objext
|
|
7772 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7773 |
(eval $ac_compile) 2>conftest.er1
|
|
7774 |
ac_status=$?
|
|
7775 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7776 |
rm -f conftest.er1
|
|
7777 |
cat conftest.err >&5
|
|
7778 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7779 |
(exit $ac_status); } &&
|
|
7780 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7781 |
|| test ! -s conftest.err'
|
|
7782 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7783 |
(eval $ac_try) 2>&5
|
|
7784 |
ac_status=$?
|
|
7785 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7786 |
(exit $ac_status); }; } &&
|
|
7787 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7788 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7789 |
(eval $ac_try) 2>&5
|
|
7790 |
ac_status=$?
|
|
7791 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7792 |
(exit $ac_status); }; }; then
|
|
7793 |
break
|
|
7794 |
else
|
|
7795 |
echo "$as_me: failed program was:" >&5
|
|
7796 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7797 |
|
|
7798 |
fi
|
|
7799 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7800 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7801 |
/* confdefs.h. */
|
|
7802 |
_ACEOF
|
|
7803 |
cat confdefs.h >>conftest.$ac_ext
|
|
7804 |
cat >>conftest.$ac_ext <<_ACEOF
|
7064 | 7805 |
/* end confdefs.h. */
|
7065 | 7806 |
#define _LARGE_FILES 1
|
7066 | 7807 |
#include <sys/types.h>
|
|
7080 | 7821 |
return 0;
|
7081 | 7822 |
}
|
7082 | 7823 |
_ACEOF
|
7083 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
7824 |
rm -f conftest.$ac_objext
|
|
7825 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7826 |
(eval $ac_compile) 2>conftest.er1
|
|
7827 |
ac_status=$?
|
|
7828 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7829 |
rm -f conftest.er1
|
|
7830 |
cat conftest.err >&5
|
|
7831 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7832 |
(exit $ac_status); } &&
|
|
7833 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7834 |
|| test ! -s conftest.err'
|
|
7835 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7836 |
(eval $ac_try) 2>&5
|
|
7837 |
ac_status=$?
|
|
7838 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7839 |
(exit $ac_status); }; } &&
|
|
7840 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7841 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7842 |
(eval $ac_try) 2>&5
|
|
7843 |
ac_status=$?
|
|
7844 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7845 |
(exit $ac_status); }; }; then
|
7084 | 7846 |
ac_cv_sys_large_files=1; break
|
7085 | |
fi
|
7086 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7087 | |
ac_cv_sys_large_files=unknown
|
|
7847 |
else
|
|
7848 |
echo "$as_me: failed program was:" >&5
|
|
7849 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7850 |
|
|
7851 |
fi
|
|
7852 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
7088 | 7853 |
break
|
7089 | 7854 |
done
|
7090 | 7855 |
fi
|
7091 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
|
7092 | |
$as_echo "$ac_cv_sys_large_files" >&6; }
|
7093 | |
case $ac_cv_sys_large_files in #(
|
7094 | |
no | unknown) ;;
|
7095 | |
*)
|
|
7856 |
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
|
|
7857 |
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
|
|
7858 |
if test "$ac_cv_sys_large_files" != no; then
|
|
7859 |
|
7096 | 7860 |
cat >>confdefs.h <<_ACEOF
|
7097 | 7861 |
#define _LARGE_FILES $ac_cv_sys_large_files
|
7098 | 7862 |
_ACEOF
|
7099 | |
;;
|
7100 | |
esac
|
7101 | |
rm -rf conftest*
|
7102 | |
fi
|
|
7863 |
|
|
7864 |
fi
|
|
7865 |
rm -f conftest*
|
7103 | 7866 |
fi
|
7104 | 7867 |
|
7105 | 7868 |
|
7106 | 7869 |
# Checks for library functions. (malloc/realloc removed to get rid of rpl_xxx substitutions)
|
7107 | 7870 |
# AC_FUNC_MALLOC
|
7108 | 7871 |
# AC_FUNC_REALLOC
|
7109 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
|
7110 | |
$as_echo_n "checking for error_at_line... " >&6; }
|
7111 | |
if test "${ac_cv_lib_error_at_line+set}" = set; then :
|
7112 | |
$as_echo_n "(cached) " >&6
|
7113 | |
else
|
7114 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7115 | |
/* end confdefs.h. */
|
7116 | |
#include <error.h>
|
7117 | |
int
|
7118 | |
main ()
|
7119 | |
{
|
7120 | |
error_at_line (0, 0, "", 0, "an error occurred");
|
7121 | |
;
|
7122 | |
return 0;
|
7123 | |
}
|
7124 | |
_ACEOF
|
7125 | |
if ac_fn_c_try_link "$LINENO"; then :
|
7126 | |
ac_cv_lib_error_at_line=yes
|
7127 | |
else
|
7128 | |
ac_cv_lib_error_at_line=no
|
7129 | |
fi
|
7130 | |
rm -f core conftest.err conftest.$ac_objext \
|
7131 | |
conftest$ac_exeext conftest.$ac_ext
|
7132 | |
fi
|
7133 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
|
7134 | |
$as_echo "$ac_cv_lib_error_at_line" >&6; }
|
7135 | |
if test $ac_cv_lib_error_at_line = no; then
|
7136 | |
case " $LIBOBJS " in
|
7137 | |
*" error.$ac_objext "* ) ;;
|
7138 | |
*) LIBOBJS="$LIBOBJS error.$ac_objext"
|
7139 | |
;;
|
7140 | |
esac
|
7141 | |
|
7142 | |
fi
|
7143 | |
|
7144 | |
for ac_header in vfork.h
|
7145 | |
do :
|
7146 | |
ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
|
7147 | |
if test "x$ac_cv_header_vfork_h" = x""yes; then :
|
7148 | |
cat >>confdefs.h <<_ACEOF
|
7149 | |
#define HAVE_VFORK_H 1
|
7150 | |
_ACEOF
|
7151 | |
|
7152 | |
fi
|
7153 | |
|
7154 | |
done
|
7155 | |
|
7156 | |
for ac_func in fork vfork
|
7157 | |
do :
|
7158 | |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
7159 | |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
7160 | |
eval as_val=\$$as_ac_var
|
7161 | |
if test "x$as_val" = x""yes; then :
|
7162 | |
cat >>confdefs.h <<_ACEOF
|
7163 | |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
7164 | |
_ACEOF
|
7165 | |
|
7166 | |
fi
|
7167 | |
done
|
7168 | |
|
7169 | |
if test "x$ac_cv_func_fork" = xyes; then
|
7170 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
|
7171 | |
$as_echo_n "checking for working fork... " >&6; }
|
7172 | |
if test "${ac_cv_func_fork_works+set}" = set; then :
|
7173 | |
$as_echo_n "(cached) " >&6
|
7174 | |
else
|
7175 | |
if test "$cross_compiling" = yes; then :
|
7176 | |
ac_cv_func_fork_works=cross
|
7177 | |
else
|
7178 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
7872 |
echo "$as_me:$LINENO: checking for error_at_line" >&5
|
|
7873 |
echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
|
|
7874 |
if test "${ac_cv_lib_error_at_line+set}" = set; then
|
|
7875 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7876 |
else
|
|
7877 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7878 |
/* confdefs.h. */
|
|
7879 |
_ACEOF
|
|
7880 |
cat confdefs.h >>conftest.$ac_ext
|
|
7881 |
cat >>conftest.$ac_ext <<_ACEOF
|
7179 | 7882 |
/* end confdefs.h. */
|
7180 | 7883 |
$ac_includes_default
|
7181 | 7884 |
int
|
7182 | 7885 |
main ()
|
7183 | 7886 |
{
|
7184 | |
|
7185 | |
/* By Ruediger Kuhlmann. */
|
7186 | |
return fork () < 0;
|
7187 | |
|
|
7887 |
error_at_line (0, 0, "", 0, "");
|
7188 | 7888 |
;
|
7189 | 7889 |
return 0;
|
7190 | 7890 |
}
|
7191 | 7891 |
_ACEOF
|
7192 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
7892 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
7893 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
7894 |
(eval $ac_link) 2>conftest.er1
|
|
7895 |
ac_status=$?
|
|
7896 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7897 |
rm -f conftest.er1
|
|
7898 |
cat conftest.err >&5
|
|
7899 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7900 |
(exit $ac_status); } &&
|
|
7901 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7902 |
|| test ! -s conftest.err'
|
|
7903 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7904 |
(eval $ac_try) 2>&5
|
|
7905 |
ac_status=$?
|
|
7906 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7907 |
(exit $ac_status); }; } &&
|
|
7908 |
{ ac_try='test -s conftest$ac_exeext'
|
|
7909 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7910 |
(eval $ac_try) 2>&5
|
|
7911 |
ac_status=$?
|
|
7912 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7913 |
(exit $ac_status); }; }; then
|
|
7914 |
ac_cv_lib_error_at_line=yes
|
|
7915 |
else
|
|
7916 |
echo "$as_me: failed program was:" >&5
|
|
7917 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7918 |
|
|
7919 |
ac_cv_lib_error_at_line=no
|
|
7920 |
fi
|
|
7921 |
rm -f conftest.err conftest.$ac_objext \
|
|
7922 |
conftest$ac_exeext conftest.$ac_ext
|
|
7923 |
fi
|
|
7924 |
echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
|
|
7925 |
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
|
|
7926 |
if test $ac_cv_lib_error_at_line = no; then
|
|
7927 |
case $LIBOBJS in
|
|
7928 |
"error.$ac_objext" | \
|
|
7929 |
*" error.$ac_objext" | \
|
|
7930 |
"error.$ac_objext "* | \
|
|
7931 |
*" error.$ac_objext "* ) ;;
|
|
7932 |
*) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
|
|
7933 |
esac
|
|
7934 |
|
|
7935 |
fi
|
|
7936 |
|
|
7937 |
|
|
7938 |
|
|
7939 |
for ac_header in unistd.h vfork.h
|
|
7940 |
do
|
|
7941 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
7942 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
7943 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
7944 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
7945 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
7946 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7947 |
fi
|
|
7948 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
7949 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
7950 |
else
|
|
7951 |
# Is the header compilable?
|
|
7952 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
7953 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
7954 |
cat >conftest.$ac_ext <<_ACEOF
|
|
7955 |
/* confdefs.h. */
|
|
7956 |
_ACEOF
|
|
7957 |
cat confdefs.h >>conftest.$ac_ext
|
|
7958 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7959 |
/* end confdefs.h. */
|
|
7960 |
$ac_includes_default
|
|
7961 |
#include <$ac_header>
|
|
7962 |
_ACEOF
|
|
7963 |
rm -f conftest.$ac_objext
|
|
7964 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7965 |
(eval $ac_compile) 2>conftest.er1
|
|
7966 |
ac_status=$?
|
|
7967 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
7968 |
rm -f conftest.er1
|
|
7969 |
cat conftest.err >&5
|
|
7970 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7971 |
(exit $ac_status); } &&
|
|
7972 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
7973 |
|| test ! -s conftest.err'
|
|
7974 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7975 |
(eval $ac_try) 2>&5
|
|
7976 |
ac_status=$?
|
|
7977 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7978 |
(exit $ac_status); }; } &&
|
|
7979 |
{ ac_try='test -s conftest.$ac_objext'
|
|
7980 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
7981 |
(eval $ac_try) 2>&5
|
|
7982 |
ac_status=$?
|
|
7983 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
7984 |
(exit $ac_status); }; }; then
|
|
7985 |
ac_header_compiler=yes
|
|
7986 |
else
|
|
7987 |
echo "$as_me: failed program was:" >&5
|
|
7988 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
7989 |
|
|
7990 |
ac_header_compiler=no
|
|
7991 |
fi
|
|
7992 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
7993 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
7994 |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
7995 |
|
|
7996 |
# Is the header present?
|
|
7997 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
7998 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
7999 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8000 |
/* confdefs.h. */
|
|
8001 |
_ACEOF
|
|
8002 |
cat confdefs.h >>conftest.$ac_ext
|
|
8003 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8004 |
/* end confdefs.h. */
|
|
8005 |
#include <$ac_header>
|
|
8006 |
_ACEOF
|
|
8007 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
8008 |
(eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
|
|
8015 |
if test -s conftest.err; then
|
|
8016 |
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
8017 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
8018 |
else
|
|
8019 |
ac_cpp_err=
|
|
8020 |
fi
|
|
8021 |
else
|
|
8022 |
ac_cpp_err=yes
|
|
8023 |
fi
|
|
8024 |
if test -z "$ac_cpp_err"; then
|
|
8025 |
ac_header_preproc=yes
|
|
8026 |
else
|
|
8027 |
echo "$as_me: failed program was:" >&5
|
|
8028 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8029 |
|
|
8030 |
ac_header_preproc=no
|
|
8031 |
fi
|
|
8032 |
rm -f conftest.err conftest.$ac_ext
|
|
8033 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
8034 |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
8035 |
|
|
8036 |
# So? What about this header?
|
|
8037 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
8038 |
yes:no: )
|
|
8039 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
8040 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
8041 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
8042 |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
8043 |
ac_header_preproc=yes
|
|
8044 |
;;
|
|
8045 |
no:yes:* )
|
|
8046 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
8047 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
8048 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
8049 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
8050 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
8051 |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
8052 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
8053 |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
8054 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
8055 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
8056 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
8057 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
8058 |
(
|
|
8059 |
cat <<\_ASBOX
|
|
8060 |
## ------------------------------- ##
|
|
8061 |
## Report this to bybell@nc.rr.com ##
|
|
8062 |
## ------------------------------- ##
|
|
8063 |
_ASBOX
|
|
8064 |
) |
|
|
8065 |
sed "s/^/$as_me: WARNING: /" >&2
|
|
8066 |
;;
|
|
8067 |
esac
|
|
8068 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
8069 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
8070 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
8071 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8072 |
else
|
|
8073 |
eval "$as_ac_Header=\$ac_header_preproc"
|
|
8074 |
fi
|
|
8075 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
8076 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
8077 |
|
|
8078 |
fi
|
|
8079 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
8080 |
cat >>confdefs.h <<_ACEOF
|
|
8081 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
8082 |
_ACEOF
|
|
8083 |
|
|
8084 |
fi
|
|
8085 |
|
|
8086 |
done
|
|
8087 |
|
|
8088 |
|
|
8089 |
|
|
8090 |
for ac_func in fork vfork
|
|
8091 |
do
|
|
8092 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
8093 |
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
8094 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|
8095 |
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
8096 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8097 |
else
|
|
8098 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8099 |
/* confdefs.h. */
|
|
8100 |
_ACEOF
|
|
8101 |
cat confdefs.h >>conftest.$ac_ext
|
|
8102 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8103 |
/* end confdefs.h. */
|
|
8104 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
8105 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
8106 |
#define $ac_func innocuous_$ac_func
|
|
8107 |
|
|
8108 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
8109 |
which can conflict with char $ac_func (); below.
|
|
8110 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
8111 |
<limits.h> exists even on freestanding compilers. */
|
|
8112 |
|
|
8113 |
#ifdef __STDC__
|
|
8114 |
# include <limits.h>
|
|
8115 |
#else
|
|
8116 |
# include <assert.h>
|
|
8117 |
#endif
|
|
8118 |
|
|
8119 |
#undef $ac_func
|
|
8120 |
|
|
8121 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
8122 |
#ifdef __cplusplus
|
|
8123 |
extern "C"
|
|
8124 |
{
|
|
8125 |
#endif
|
|
8126 |
/* We use char because int might match the return type of a gcc2
|
|
8127 |
builtin and then its argument prototype would still apply. */
|
|
8128 |
char $ac_func ();
|
|
8129 |
/* The GNU C library defines this for functions which it implements
|
|
8130 |
to always fail with ENOSYS. Some functions are actually named
|
|
8131 |
something starting with __ and the normal name is an alias. */
|
|
8132 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
8133 |
choke me
|
|
8134 |
#else
|
|
8135 |
char (*f) () = $ac_func;
|
|
8136 |
#endif
|
|
8137 |
#ifdef __cplusplus
|
|
8138 |
}
|
|
8139 |
#endif
|
|
8140 |
|
|
8141 |
int
|
|
8142 |
main ()
|
|
8143 |
{
|
|
8144 |
return f != $ac_func;
|
|
8145 |
;
|
|
8146 |
return 0;
|
|
8147 |
}
|
|
8148 |
_ACEOF
|
|
8149 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
8150 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
8151 |
(eval $ac_link) 2>conftest.er1
|
|
8152 |
ac_status=$?
|
|
8153 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
8154 |
rm -f conftest.er1
|
|
8155 |
cat conftest.err >&5
|
|
8156 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8157 |
(exit $ac_status); } &&
|
|
8158 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
8159 |
|| test ! -s conftest.err'
|
|
8160 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8161 |
(eval $ac_try) 2>&5
|
|
8162 |
ac_status=$?
|
|
8163 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8164 |
(exit $ac_status); }; } &&
|
|
8165 |
{ ac_try='test -s conftest$ac_exeext'
|
|
8166 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8167 |
(eval $ac_try) 2>&5
|
|
8168 |
ac_status=$?
|
|
8169 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8170 |
(exit $ac_status); }; }; then
|
|
8171 |
eval "$as_ac_var=yes"
|
|
8172 |
else
|
|
8173 |
echo "$as_me: failed program was:" >&5
|
|
8174 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8175 |
|
|
8176 |
eval "$as_ac_var=no"
|
|
8177 |
fi
|
|
8178 |
rm -f conftest.err conftest.$ac_objext \
|
|
8179 |
conftest$ac_exeext conftest.$ac_ext
|
|
8180 |
fi
|
|
8181 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
8182 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
8183 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
8184 |
cat >>confdefs.h <<_ACEOF
|
|
8185 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
8186 |
_ACEOF
|
|
8187 |
|
|
8188 |
fi
|
|
8189 |
done
|
|
8190 |
|
|
8191 |
if test "x$ac_cv_func_fork" = xyes; then
|
|
8192 |
echo "$as_me:$LINENO: checking for working fork" >&5
|
|
8193 |
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
|
|
8194 |
if test "${ac_cv_func_fork_works+set}" = set; then
|
|
8195 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8196 |
else
|
|
8197 |
if test "$cross_compiling" = yes; then
|
|
8198 |
ac_cv_func_fork_works=cross
|
|
8199 |
else
|
|
8200 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8201 |
/* By Ruediger Kuhlmann. */
|
|
8202 |
#include <sys/types.h>
|
|
8203 |
#if HAVE_UNISTD_H
|
|
8204 |
# include <unistd.h>
|
|
8205 |
#endif
|
|
8206 |
/* Some systems only have a dummy stub for fork() */
|
|
8207 |
int main ()
|
|
8208 |
{
|
|
8209 |
if (fork() < 0)
|
|
8210 |
exit (1);
|
|
8211 |
exit (0);
|
|
8212 |
}
|
|
8213 |
_ACEOF
|
|
8214 |
rm -f conftest$ac_exeext
|
|
8215 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
8216 |
(eval $ac_link) 2>&5
|
|
8217 |
ac_status=$?
|
|
8218 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8219 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
8220 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8221 |
(eval $ac_try) 2>&5
|
|
8222 |
ac_status=$?
|
|
8223 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8224 |
(exit $ac_status); }; }; then
|
7193 | 8225 |
ac_cv_func_fork_works=yes
|
7194 | 8226 |
else
|
7195 | |
ac_cv_func_fork_works=no
|
7196 | |
fi
|
7197 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
7198 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
7199 | |
fi
|
7200 | |
|
7201 | |
fi
|
7202 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
|
7203 | |
$as_echo "$ac_cv_func_fork_works" >&6; }
|
|
8227 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
8228 |
echo "$as_me: failed program was:" >&5
|
|
8229 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8230 |
|
|
8231 |
( exit $ac_status )
|
|
8232 |
ac_cv_func_fork_works=no
|
|
8233 |
fi
|
|
8234 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
8235 |
fi
|
|
8236 |
fi
|
|
8237 |
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
|
|
8238 |
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
|
7204 | 8239 |
|
7205 | 8240 |
else
|
7206 | 8241 |
ac_cv_func_fork_works=$ac_cv_func_fork
|
|
7215 | 8250 |
ac_cv_func_fork_works=yes
|
7216 | 8251 |
;;
|
7217 | 8252 |
esac
|
7218 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
|
7219 | |
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
|
|
8253 |
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
|
|
8254 |
echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
|
7220 | 8255 |
fi
|
7221 | 8256 |
ac_cv_func_vfork_works=$ac_cv_func_vfork
|
7222 | 8257 |
if test "x$ac_cv_func_vfork" = xyes; then
|
7223 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
|
7224 | |
$as_echo_n "checking for working vfork... " >&6; }
|
7225 | |
if test "${ac_cv_func_vfork_works+set}" = set; then :
|
7226 | |
$as_echo_n "(cached) " >&6
|
7227 | |
else
|
7228 | |
if test "$cross_compiling" = yes; then :
|
|
8258 |
echo "$as_me:$LINENO: checking for working vfork" >&5
|
|
8259 |
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
|
|
8260 |
if test "${ac_cv_func_vfork_works+set}" = set; then
|
|
8261 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8262 |
else
|
|
8263 |
if test "$cross_compiling" = yes; then
|
7229 | 8264 |
ac_cv_func_vfork_works=cross
|
7230 | 8265 |
else
|
7231 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
8266 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8267 |
/* confdefs.h. */
|
|
8268 |
_ACEOF
|
|
8269 |
cat confdefs.h >>conftest.$ac_ext
|
|
8270 |
cat >>conftest.$ac_ext <<_ACEOF
|
7232 | 8271 |
/* end confdefs.h. */
|
7233 | 8272 |
/* Thanks to Paul Eggert for this test. */
|
7234 | |
$ac_includes_default
|
|
8273 |
#include <stdio.h>
|
|
8274 |
#include <stdlib.h>
|
|
8275 |
#include <sys/types.h>
|
|
8276 |
#include <sys/stat.h>
|
7235 | 8277 |
#include <sys/wait.h>
|
7236 | |
#ifdef HAVE_VFORK_H
|
|
8278 |
#if HAVE_UNISTD_H
|
|
8279 |
# include <unistd.h>
|
|
8280 |
#endif
|
|
8281 |
#if HAVE_VFORK_H
|
7237 | 8282 |
# include <vfork.h>
|
7238 | 8283 |
#endif
|
7239 | 8284 |
/* On some sparc systems, changes by the child to local and incoming
|
|
7304 | 8349 |
|
7305 | 8350 |
while (wait(&status) != child)
|
7306 | 8351 |
;
|
7307 | |
return (
|
|
8352 |
exit(
|
7308 | 8353 |
/* Was there some problem with vforking? */
|
7309 | 8354 |
child < 0
|
7310 | 8355 |
|
|
7320 | 8365 |
}
|
7321 | 8366 |
}
|
7322 | 8367 |
_ACEOF
|
7323 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
8368 |
rm -f conftest$ac_exeext
|
|
8369 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
8370 |
(eval $ac_link) 2>&5
|
|
8371 |
ac_status=$?
|
|
8372 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8373 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
8374 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8375 |
(eval $ac_try) 2>&5
|
|
8376 |
ac_status=$?
|
|
8377 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8378 |
(exit $ac_status); }; }; then
|
7324 | 8379 |
ac_cv_func_vfork_works=yes
|
7325 | 8380 |
else
|
7326 | |
ac_cv_func_vfork_works=no
|
7327 | |
fi
|
7328 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
7329 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
7330 | |
fi
|
7331 | |
|
7332 | |
fi
|
7333 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
|
7334 | |
$as_echo "$ac_cv_func_vfork_works" >&6; }
|
|
8381 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
8382 |
echo "$as_me: failed program was:" >&5
|
|
8383 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8384 |
|
|
8385 |
( exit $ac_status )
|
|
8386 |
ac_cv_func_vfork_works=no
|
|
8387 |
fi
|
|
8388 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
8389 |
fi
|
|
8390 |
fi
|
|
8391 |
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
|
|
8392 |
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
|
7335 | 8393 |
|
7336 | 8394 |
fi;
|
7337 | 8395 |
if test "x$ac_cv_func_fork_works" = xcross; then
|
7338 | 8396 |
ac_cv_func_vfork_works=$ac_cv_func_vfork
|
7339 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
|
7340 | |
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
|
|
8397 |
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
|
|
8398 |
echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
|
7341 | 8399 |
fi
|
7342 | 8400 |
|
7343 | 8401 |
if test "x$ac_cv_func_vfork_works" = xyes; then
|
7344 | 8402 |
|
7345 | |
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
|
7346 | |
|
7347 | |
else
|
7348 | |
|
7349 | |
$as_echo "#define vfork fork" >>confdefs.h
|
|
8403 |
cat >>confdefs.h <<\_ACEOF
|
|
8404 |
#define HAVE_WORKING_VFORK 1
|
|
8405 |
_ACEOF
|
|
8406 |
|
|
8407 |
else
|
|
8408 |
|
|
8409 |
cat >>confdefs.h <<\_ACEOF
|
|
8410 |
#define vfork fork
|
|
8411 |
_ACEOF
|
7350 | 8412 |
|
7351 | 8413 |
fi
|
7352 | 8414 |
if test "x$ac_cv_func_fork_works" = xyes; then
|
7353 | 8415 |
|
7354 | |
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
|
7355 | |
|
7356 | |
fi
|
7357 | |
|
7358 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
7359 | |
$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
|
7360 | |
if test "${ac_cv_sys_largefile_source+set}" = set; then :
|
7361 | |
$as_echo_n "(cached) " >&6
|
|
8416 |
cat >>confdefs.h <<\_ACEOF
|
|
8417 |
#define HAVE_WORKING_FORK 1
|
|
8418 |
_ACEOF
|
|
8419 |
|
|
8420 |
fi
|
|
8421 |
|
|
8422 |
echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
|
|
8423 |
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
|
|
8424 |
if test "${ac_cv_sys_largefile_source+set}" = set; then
|
|
8425 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7362 | 8426 |
else
|
7363 | 8427 |
while :; do
|
7364 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
8428 |
ac_cv_sys_largefile_source=no
|
|
8429 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8430 |
/* confdefs.h. */
|
|
8431 |
_ACEOF
|
|
8432 |
cat confdefs.h >>conftest.$ac_ext
|
|
8433 |
cat >>conftest.$ac_ext <<_ACEOF
|
7365 | 8434 |
/* end confdefs.h. */
|
7366 | |
#include <sys/types.h> /* for off_t */
|
7367 | |
#include <stdio.h>
|
|
8435 |
#include <stdio.h>
|
7368 | 8436 |
int
|
7369 | 8437 |
main ()
|
7370 | 8438 |
{
|
7371 | |
int (*fp) (FILE *, off_t, int) = fseeko;
|
7372 | |
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
|
|
8439 |
return !fseeko;
|
7373 | 8440 |
;
|
7374 | 8441 |
return 0;
|
7375 | 8442 |
}
|
7376 | 8443 |
_ACEOF
|
7377 | |
if ac_fn_c_try_link "$LINENO"; then :
|
7378 | |
ac_cv_sys_largefile_source=no; break
|
7379 | |
fi
|
7380 | |
rm -f core conftest.err conftest.$ac_objext \
|
7381 | |
conftest$ac_exeext conftest.$ac_ext
|
7382 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
8444 |
rm -f conftest.$ac_objext
|
|
8445 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
8446 |
(eval $ac_compile) 2>conftest.er1
|
|
8447 |
ac_status=$?
|
|
8448 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
8449 |
rm -f conftest.er1
|
|
8450 |
cat conftest.err >&5
|
|
8451 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8452 |
(exit $ac_status); } &&
|
|
8453 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
8454 |
|| test ! -s conftest.err'
|
|
8455 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8456 |
(eval $ac_try) 2>&5
|
|
8457 |
ac_status=$?
|
|
8458 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8459 |
(exit $ac_status); }; } &&
|
|
8460 |
{ ac_try='test -s conftest.$ac_objext'
|
|
8461 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8462 |
(eval $ac_try) 2>&5
|
|
8463 |
ac_status=$?
|
|
8464 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8465 |
(exit $ac_status); }; }; then
|
|
8466 |
break
|
|
8467 |
else
|
|
8468 |
echo "$as_me: failed program was:" >&5
|
|
8469 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8470 |
|
|
8471 |
fi
|
|
8472 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
8473 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8474 |
/* confdefs.h. */
|
|
8475 |
_ACEOF
|
|
8476 |
cat confdefs.h >>conftest.$ac_ext
|
|
8477 |
cat >>conftest.$ac_ext <<_ACEOF
|
7383 | 8478 |
/* end confdefs.h. */
|
7384 | 8479 |
#define _LARGEFILE_SOURCE 1
|
7385 | |
#include <sys/types.h> /* for off_t */
|
7386 | |
#include <stdio.h>
|
|
8480 |
#include <stdio.h>
|
7387 | 8481 |
int
|
7388 | 8482 |
main ()
|
7389 | 8483 |
{
|
7390 | |
int (*fp) (FILE *, off_t, int) = fseeko;
|
7391 | |
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
|
|
8484 |
return !fseeko;
|
7392 | 8485 |
;
|
7393 | 8486 |
return 0;
|
7394 | 8487 |
}
|
7395 | 8488 |
_ACEOF
|
7396 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
8489 |
rm -f conftest.$ac_objext
|
|
8490 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
8491 |
(eval $ac_compile) 2>conftest.er1
|
|
8492 |
ac_status=$?
|
|
8493 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
8494 |
rm -f conftest.er1
|
|
8495 |
cat conftest.err >&5
|
|
8496 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8497 |
(exit $ac_status); } &&
|
|
8498 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
8499 |
|| test ! -s conftest.err'
|
|
8500 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8501 |
(eval $ac_try) 2>&5
|
|
8502 |
ac_status=$?
|
|
8503 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8504 |
(exit $ac_status); }; } &&
|
|
8505 |
{ ac_try='test -s conftest.$ac_objext'
|
|
8506 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8507 |
(eval $ac_try) 2>&5
|
|
8508 |
ac_status=$?
|
|
8509 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8510 |
(exit $ac_status); }; }; then
|
7397 | 8511 |
ac_cv_sys_largefile_source=1; break
|
7398 | |
fi
|
7399 | |
rm -f core conftest.err conftest.$ac_objext \
|
7400 | |
conftest$ac_exeext conftest.$ac_ext
|
7401 | |
ac_cv_sys_largefile_source=unknown
|
|
8512 |
else
|
|
8513 |
echo "$as_me: failed program was:" >&5
|
|
8514 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8515 |
|
|
8516 |
fi
|
|
8517 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
7402 | 8518 |
break
|
7403 | 8519 |
done
|
7404 | 8520 |
fi
|
7405 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
|
7406 | |
$as_echo "$ac_cv_sys_largefile_source" >&6; }
|
7407 | |
case $ac_cv_sys_largefile_source in #(
|
7408 | |
no | unknown) ;;
|
7409 | |
*)
|
|
8521 |
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
|
|
8522 |
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
|
|
8523 |
if test "$ac_cv_sys_largefile_source" != no; then
|
|
8524 |
|
7410 | 8525 |
cat >>confdefs.h <<_ACEOF
|
7411 | 8526 |
#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
|
7412 | 8527 |
_ACEOF
|
7413 | |
;;
|
7414 | |
esac
|
7415 | |
rm -rf conftest*
|
|
8528 |
|
|
8529 |
fi
|
|
8530 |
rm -f conftest*
|
7416 | 8531 |
|
7417 | 8532 |
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
|
7418 | 8533 |
# in glibc 2.1.3, but that breaks too many other things.
|
7419 | 8534 |
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
|
7420 | |
if test $ac_cv_sys_largefile_source != unknown; then
|
7421 | |
|
7422 | |
$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
|
7423 | |
|
7424 | |
fi
|
7425 | |
|
7426 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
|
7427 | |
$as_echo_n "checking for working memcmp... " >&6; }
|
7428 | |
if test "${ac_cv_func_memcmp_working+set}" = set; then :
|
7429 | |
$as_echo_n "(cached) " >&6
|
7430 | |
else
|
7431 | |
if test "$cross_compiling" = yes; then :
|
|
8535 |
echo "$as_me:$LINENO: checking for fseeko" >&5
|
|
8536 |
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
|
|
8537 |
if test "${ac_cv_func_fseeko+set}" = set; then
|
|
8538 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8539 |
else
|
|
8540 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8541 |
/* confdefs.h. */
|
|
8542 |
_ACEOF
|
|
8543 |
cat confdefs.h >>conftest.$ac_ext
|
|
8544 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8545 |
/* end confdefs.h. */
|
|
8546 |
#include <stdio.h>
|
|
8547 |
int
|
|
8548 |
main ()
|
|
8549 |
{
|
|
8550 |
return fseeko && fseeko (stdin, 0, 0);
|
|
8551 |
;
|
|
8552 |
return 0;
|
|
8553 |
}
|
|
8554 |
_ACEOF
|
|
8555 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
8556 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
8557 |
(eval $ac_link) 2>conftest.er1
|
|
8558 |
ac_status=$?
|
|
8559 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
8560 |
rm -f conftest.er1
|
|
8561 |
cat conftest.err >&5
|
|
8562 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8563 |
(exit $ac_status); } &&
|
|
8564 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
8565 |
|| test ! -s conftest.err'
|
|
8566 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8567 |
(eval $ac_try) 2>&5
|
|
8568 |
ac_status=$?
|
|
8569 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8570 |
(exit $ac_status); }; } &&
|
|
8571 |
{ ac_try='test -s conftest$ac_exeext'
|
|
8572 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8573 |
(eval $ac_try) 2>&5
|
|
8574 |
ac_status=$?
|
|
8575 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8576 |
(exit $ac_status); }; }; then
|
|
8577 |
ac_cv_func_fseeko=yes
|
|
8578 |
else
|
|
8579 |
echo "$as_me: failed program was:" >&5
|
|
8580 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8581 |
|
|
8582 |
ac_cv_func_fseeko=no
|
|
8583 |
fi
|
|
8584 |
rm -f conftest.err conftest.$ac_objext \
|
|
8585 |
conftest$ac_exeext conftest.$ac_ext
|
|
8586 |
fi
|
|
8587 |
echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
|
|
8588 |
echo "${ECHO_T}$ac_cv_func_fseeko" >&6
|
|
8589 |
if test $ac_cv_func_fseeko = yes; then
|
|
8590 |
|
|
8591 |
cat >>confdefs.h <<\_ACEOF
|
|
8592 |
#define HAVE_FSEEKO 1
|
|
8593 |
_ACEOF
|
|
8594 |
|
|
8595 |
fi
|
|
8596 |
|
|
8597 |
echo "$as_me:$LINENO: checking for working memcmp" >&5
|
|
8598 |
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
|
|
8599 |
if test "${ac_cv_func_memcmp_working+set}" = set; then
|
|
8600 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8601 |
else
|
|
8602 |
if test "$cross_compiling" = yes; then
|
7432 | 8603 |
ac_cv_func_memcmp_working=no
|
7433 | 8604 |
else
|
7434 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
8605 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8606 |
/* confdefs.h. */
|
|
8607 |
_ACEOF
|
|
8608 |
cat confdefs.h >>conftest.$ac_ext
|
|
8609 |
cat >>conftest.$ac_ext <<_ACEOF
|
7435 | 8610 |
/* end confdefs.h. */
|
7436 | 8611 |
$ac_includes_default
|
7437 | 8612 |
int
|
|
7439 | 8614 |
{
|
7440 | 8615 |
|
7441 | 8616 |
/* Some versions of memcmp are not 8-bit clean. */
|
7442 | |
char c0 = '\100', c1 = '\200', c2 = '\201';
|
|
8617 |
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
|
7443 | 8618 |
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
|
7444 | |
return 1;
|
|
8619 |
exit (1);
|
7445 | 8620 |
|
7446 | 8621 |
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
|
7447 | 8622 |
or more and with at least one buffer not starting on a 4-byte boundary.
|
|
7457 | 8632 |
strcpy (a, "--------01111111");
|
7458 | 8633 |
strcpy (b, "--------10000000");
|
7459 | 8634 |
if (memcmp (a, b, 16) >= 0)
|
7460 | |
return 1;
|
|
8635 |
exit (1);
|
7461 | 8636 |
}
|
7462 | |
return 0;
|
|
8637 |
exit (0);
|
7463 | 8638 |
}
|
7464 | 8639 |
|
7465 | 8640 |
;
|
7466 | 8641 |
return 0;
|
7467 | 8642 |
}
|
7468 | 8643 |
_ACEOF
|
7469 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
8644 |
rm -f conftest$ac_exeext
|
|
8645 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
8646 |
(eval $ac_link) 2>&5
|
|
8647 |
ac_status=$?
|
|
8648 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8649 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
8650 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8651 |
(eval $ac_try) 2>&5
|
|
8652 |
ac_status=$?
|
|
8653 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8654 |
(exit $ac_status); }; }; then
|
7470 | 8655 |
ac_cv_func_memcmp_working=yes
|
7471 | 8656 |
else
|
7472 | |
ac_cv_func_memcmp_working=no
|
7473 | |
fi
|
7474 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
7475 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
7476 | |
fi
|
7477 | |
|
7478 | |
fi
|
7479 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
|
7480 | |
$as_echo "$ac_cv_func_memcmp_working" >&6; }
|
7481 | |
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
|
|
8657 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
8658 |
echo "$as_me: failed program was:" >&5
|
|
8659 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8660 |
|
|
8661 |
( exit $ac_status )
|
|
8662 |
ac_cv_func_memcmp_working=no
|
|
8663 |
fi
|
|
8664 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
8665 |
fi
|
|
8666 |
fi
|
|
8667 |
echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
|
|
8668 |
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
|
|
8669 |
test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
|
|
8670 |
"memcmp.$ac_objext" | \
|
|
8671 |
*" memcmp.$ac_objext" | \
|
|
8672 |
"memcmp.$ac_objext "* | \
|
7482 | 8673 |
*" memcmp.$ac_objext "* ) ;;
|
7483 | |
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
|
7484 | |
;;
|
|
8674 |
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
|
7485 | 8675 |
esac
|
7486 | 8676 |
|
7487 | 8677 |
|
7488 | 8678 |
|
7489 | 8679 |
|
7490 | |
|
7491 | |
for ac_header in $ac_header_list
|
7492 | |
do :
|
7493 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
7494 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
7495 | |
"
|
7496 | |
eval as_val=\$$as_ac_Header
|
7497 | |
if test "x$as_val" = x""yes; then :
|
|
8680 |
for ac_header in stdlib.h unistd.h
|
|
8681 |
do
|
|
8682 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
8683 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
8684 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
8685 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
8686 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
8687 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8688 |
fi
|
|
8689 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
8690 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
8691 |
else
|
|
8692 |
# Is the header compilable?
|
|
8693 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
8694 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
8695 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8696 |
/* confdefs.h. */
|
|
8697 |
_ACEOF
|
|
8698 |
cat confdefs.h >>conftest.$ac_ext
|
|
8699 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8700 |
/* end confdefs.h. */
|
|
8701 |
$ac_includes_default
|
|
8702 |
#include <$ac_header>
|
|
8703 |
_ACEOF
|
|
8704 |
rm -f conftest.$ac_objext
|
|
8705 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
8706 |
(eval $ac_compile) 2>conftest.er1
|
|
8707 |
ac_status=$?
|
|
8708 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
8709 |
rm -f conftest.er1
|
|
8710 |
cat conftest.err >&5
|
|
8711 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8712 |
(exit $ac_status); } &&
|
|
8713 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
8714 |
|| test ! -s conftest.err'
|
|
8715 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8716 |
(eval $ac_try) 2>&5
|
|
8717 |
ac_status=$?
|
|
8718 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8719 |
(exit $ac_status); }; } &&
|
|
8720 |
{ ac_try='test -s conftest.$ac_objext'
|
|
8721 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8722 |
(eval $ac_try) 2>&5
|
|
8723 |
ac_status=$?
|
|
8724 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8725 |
(exit $ac_status); }; }; then
|
|
8726 |
ac_header_compiler=yes
|
|
8727 |
else
|
|
8728 |
echo "$as_me: failed program was:" >&5
|
|
8729 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8730 |
|
|
8731 |
ac_header_compiler=no
|
|
8732 |
fi
|
|
8733 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
8734 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
8735 |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
8736 |
|
|
8737 |
# Is the header present?
|
|
8738 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
8739 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
8740 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8741 |
/* confdefs.h. */
|
|
8742 |
_ACEOF
|
|
8743 |
cat confdefs.h >>conftest.$ac_ext
|
|
8744 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8745 |
/* end confdefs.h. */
|
|
8746 |
#include <$ac_header>
|
|
8747 |
_ACEOF
|
|
8748 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
8749 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
8750 |
ac_status=$?
|
|
8751 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
8752 |
rm -f conftest.er1
|
|
8753 |
cat conftest.err >&5
|
|
8754 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8755 |
(exit $ac_status); } >/dev/null; then
|
|
8756 |
if test -s conftest.err; then
|
|
8757 |
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
8758 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
8759 |
else
|
|
8760 |
ac_cpp_err=
|
|
8761 |
fi
|
|
8762 |
else
|
|
8763 |
ac_cpp_err=yes
|
|
8764 |
fi
|
|
8765 |
if test -z "$ac_cpp_err"; then
|
|
8766 |
ac_header_preproc=yes
|
|
8767 |
else
|
|
8768 |
echo "$as_me: failed program was:" >&5
|
|
8769 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8770 |
|
|
8771 |
ac_header_preproc=no
|
|
8772 |
fi
|
|
8773 |
rm -f conftest.err conftest.$ac_ext
|
|
8774 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
8775 |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
8776 |
|
|
8777 |
# So? What about this header?
|
|
8778 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
8779 |
yes:no: )
|
|
8780 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
8781 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
8782 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
8783 |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
8784 |
ac_header_preproc=yes
|
|
8785 |
;;
|
|
8786 |
no:yes:* )
|
|
8787 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
8788 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
8789 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
8790 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
8791 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
8792 |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
8793 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
8794 |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
8795 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
8796 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
8797 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
8798 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
8799 |
(
|
|
8800 |
cat <<\_ASBOX
|
|
8801 |
## ------------------------------- ##
|
|
8802 |
## Report this to bybell@nc.rr.com ##
|
|
8803 |
## ------------------------------- ##
|
|
8804 |
_ASBOX
|
|
8805 |
) |
|
|
8806 |
sed "s/^/$as_me: WARNING: /" >&2
|
|
8807 |
;;
|
|
8808 |
esac
|
|
8809 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
8810 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
8811 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
8812 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8813 |
else
|
|
8814 |
eval "$as_ac_Header=\$ac_header_preproc"
|
|
8815 |
fi
|
|
8816 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
8817 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
8818 |
|
|
8819 |
fi
|
|
8820 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
7498 | 8821 |
cat >>confdefs.h <<_ACEOF
|
7499 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
8822 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
7500 | 8823 |
_ACEOF
|
7501 | 8824 |
|
7502 | 8825 |
fi
|
|
7504 | 8827 |
done
|
7505 | 8828 |
|
7506 | 8829 |
|
7507 | |
|
7508 | |
|
7509 | |
|
7510 | |
|
7511 | |
|
7512 | |
|
7513 | 8830 |
for ac_func in getpagesize
|
7514 | |
do :
|
7515 | |
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
|
7516 | |
if test "x$ac_cv_func_getpagesize" = x""yes; then :
|
|
8831 |
do
|
|
8832 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
8833 |
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
8834 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|
8835 |
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
8836 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8837 |
else
|
|
8838 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8839 |
/* confdefs.h. */
|
|
8840 |
_ACEOF
|
|
8841 |
cat confdefs.h >>conftest.$ac_ext
|
|
8842 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8843 |
/* end confdefs.h. */
|
|
8844 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
8845 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
8846 |
#define $ac_func innocuous_$ac_func
|
|
8847 |
|
|
8848 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
8849 |
which can conflict with char $ac_func (); below.
|
|
8850 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
8851 |
<limits.h> exists even on freestanding compilers. */
|
|
8852 |
|
|
8853 |
#ifdef __STDC__
|
|
8854 |
# include <limits.h>
|
|
8855 |
#else
|
|
8856 |
# include <assert.h>
|
|
8857 |
#endif
|
|
8858 |
|
|
8859 |
#undef $ac_func
|
|
8860 |
|
|
8861 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
8862 |
#ifdef __cplusplus
|
|
8863 |
extern "C"
|
|
8864 |
{
|
|
8865 |
#endif
|
|
8866 |
/* We use char because int might match the return type of a gcc2
|
|
8867 |
builtin and then its argument prototype would still apply. */
|
|
8868 |
char $ac_func ();
|
|
8869 |
/* The GNU C library defines this for functions which it implements
|
|
8870 |
to always fail with ENOSYS. Some functions are actually named
|
|
8871 |
something starting with __ and the normal name is an alias. */
|
|
8872 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
8873 |
choke me
|
|
8874 |
#else
|
|
8875 |
char (*f) () = $ac_func;
|
|
8876 |
#endif
|
|
8877 |
#ifdef __cplusplus
|
|
8878 |
}
|
|
8879 |
#endif
|
|
8880 |
|
|
8881 |
int
|
|
8882 |
main ()
|
|
8883 |
{
|
|
8884 |
return f != $ac_func;
|
|
8885 |
;
|
|
8886 |
return 0;
|
|
8887 |
}
|
|
8888 |
_ACEOF
|
|
8889 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
8890 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
8891 |
(eval $ac_link) 2>conftest.er1
|
|
8892 |
ac_status=$?
|
|
8893 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
8894 |
rm -f conftest.er1
|
|
8895 |
cat conftest.err >&5
|
|
8896 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8897 |
(exit $ac_status); } &&
|
|
8898 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
8899 |
|| test ! -s conftest.err'
|
|
8900 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8901 |
(eval $ac_try) 2>&5
|
|
8902 |
ac_status=$?
|
|
8903 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8904 |
(exit $ac_status); }; } &&
|
|
8905 |
{ ac_try='test -s conftest$ac_exeext'
|
|
8906 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
8907 |
(eval $ac_try) 2>&5
|
|
8908 |
ac_status=$?
|
|
8909 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
8910 |
(exit $ac_status); }; }; then
|
|
8911 |
eval "$as_ac_var=yes"
|
|
8912 |
else
|
|
8913 |
echo "$as_me: failed program was:" >&5
|
|
8914 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
8915 |
|
|
8916 |
eval "$as_ac_var=no"
|
|
8917 |
fi
|
|
8918 |
rm -f conftest.err conftest.$ac_objext \
|
|
8919 |
conftest$ac_exeext conftest.$ac_ext
|
|
8920 |
fi
|
|
8921 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
8922 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
8923 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
7517 | 8924 |
cat >>confdefs.h <<_ACEOF
|
7518 | |
#define HAVE_GETPAGESIZE 1
|
|
8925 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
7519 | 8926 |
_ACEOF
|
7520 | 8927 |
|
7521 | 8928 |
fi
|
7522 | 8929 |
done
|
7523 | 8930 |
|
7524 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
|
7525 | |
$as_echo_n "checking for working mmap... " >&6; }
|
7526 | |
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
|
7527 | |
$as_echo_n "(cached) " >&6
|
7528 | |
else
|
7529 | |
if test "$cross_compiling" = yes; then :
|
|
8931 |
echo "$as_me:$LINENO: checking for working mmap" >&5
|
|
8932 |
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
|
|
8933 |
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
|
|
8934 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
8935 |
else
|
|
8936 |
if test "$cross_compiling" = yes; then
|
7530 | 8937 |
ac_cv_func_mmap_fixed_mapped=no
|
7531 | 8938 |
else
|
7532 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
8939 |
cat >conftest.$ac_ext <<_ACEOF
|
|
8940 |
/* confdefs.h. */
|
|
8941 |
_ACEOF
|
|
8942 |
cat confdefs.h >>conftest.$ac_ext
|
|
8943 |
cat >>conftest.$ac_ext <<_ACEOF
|
7533 | 8944 |
/* end confdefs.h. */
|
7534 | 8945 |
$ac_includes_default
|
7535 | 8946 |
/* malloc might have been renamed as rpl_malloc. */
|
|
7560 | 8971 |
#include <fcntl.h>
|
7561 | 8972 |
#include <sys/mman.h>
|
7562 | 8973 |
|
7563 | |
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
|
|
8974 |
#if !STDC_HEADERS && !HAVE_STDLIB_H
|
7564 | 8975 |
char *malloc ();
|
7565 | 8976 |
#endif
|
7566 | 8977 |
|
7567 | 8978 |
/* This mess was copied from the GNU getpagesize.h. */
|
7568 | |
#ifndef HAVE_GETPAGESIZE
|
|
8979 |
#if !HAVE_GETPAGESIZE
|
|
8980 |
/* Assume that all systems that can run configure have sys/param.h. */
|
|
8981 |
# if !HAVE_SYS_PARAM_H
|
|
8982 |
# define HAVE_SYS_PARAM_H 1
|
|
8983 |
# endif
|
|
8984 |
|
7569 | 8985 |
# ifdef _SC_PAGESIZE
|
7570 | 8986 |
# define getpagesize() sysconf(_SC_PAGESIZE)
|
7571 | 8987 |
# else /* no _SC_PAGESIZE */
|
7572 | |
# ifdef HAVE_SYS_PARAM_H
|
|
8988 |
# if HAVE_SYS_PARAM_H
|
7573 | 8989 |
# include <sys/param.h>
|
7574 | 8990 |
# ifdef EXEC_PAGESIZE
|
7575 | 8991 |
# define getpagesize() EXEC_PAGESIZE
|
|
7600 | 9016 |
main ()
|
7601 | 9017 |
{
|
7602 | 9018 |
char *data, *data2, *data3;
|
7603 | |
const char *cdata2;
|
7604 | 9019 |
int i, pagesize;
|
7605 | |
int fd, fd2;
|
|
9020 |
int fd;
|
7606 | 9021 |
|
7607 | 9022 |
pagesize = getpagesize ();
|
7608 | 9023 |
|
7609 | 9024 |
/* First, make a file with some known garbage in it. */
|
7610 | 9025 |
data = (char *) malloc (pagesize);
|
7611 | 9026 |
if (!data)
|
7612 | |
return 1;
|
|
9027 |
exit (1);
|
7613 | 9028 |
for (i = 0; i < pagesize; ++i)
|
7614 | 9029 |
*(data + i) = rand ();
|
7615 | 9030 |
umask (0);
|
7616 | 9031 |
fd = creat ("conftest.mmap", 0600);
|
7617 | 9032 |
if (fd < 0)
|
7618 | |
return 2;
|
|
9033 |
exit (1);
|
7619 | 9034 |
if (write (fd, data, pagesize) != pagesize)
|
7620 | |
return 3;
|
|
9035 |
exit (1);
|
7621 | 9036 |
close (fd);
|
7622 | |
|
7623 | |
/* Next, check that the tail of a page is zero-filled. File must have
|
7624 | |
non-zero length, otherwise we risk SIGBUS for entire page. */
|
7625 | |
fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
|
7626 | |
if (fd2 < 0)
|
7627 | |
return 4;
|
7628 | |
cdata2 = "";
|
7629 | |
if (write (fd2, cdata2, 1) != 1)
|
7630 | |
return 5;
|
7631 | |
data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
|
7632 | |
if (data2 == MAP_FAILED)
|
7633 | |
return 6;
|
7634 | |
for (i = 0; i < pagesize; ++i)
|
7635 | |
if (*(data2 + i))
|
7636 | |
return 7;
|
7637 | |
close (fd2);
|
7638 | |
if (munmap (data2, pagesize))
|
7639 | |
return 8;
|
7640 | 9037 |
|
7641 | 9038 |
/* Next, try to mmap the file at a fixed address which already has
|
7642 | 9039 |
something else allocated at it. If we can, also make sure that
|
7643 | 9040 |
we see the same garbage. */
|
7644 | 9041 |
fd = open ("conftest.mmap", O_RDWR);
|
7645 | 9042 |
if (fd < 0)
|
7646 | |
return 9;
|
|
9043 |
exit (1);
|
|
9044 |
data2 = (char *) malloc (2 * pagesize);
|
|
9045 |
if (!data2)
|
|
9046 |
exit (1);
|
|
9047 |
data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
|
7647 | 9048 |
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
|
7648 | 9049 |
MAP_PRIVATE | MAP_FIXED, fd, 0L))
|
7649 | |
return 10;
|
|
9050 |
exit (1);
|
7650 | 9051 |
for (i = 0; i < pagesize; ++i)
|
7651 | 9052 |
if (*(data + i) != *(data2 + i))
|
7652 | |
return 11;
|
|
9053 |
exit (1);
|
7653 | 9054 |
|
7654 | 9055 |
/* Finally, make sure that changes to the mapped area do not
|
7655 | 9056 |
percolate back to the file as seen by read(). (This is a bug on
|
|
7658 | 9059 |
*(data2 + i) = *(data2 + i) + 1;
|
7659 | 9060 |
data3 = (char *) malloc (pagesize);
|
7660 | 9061 |
if (!data3)
|
7661 | |
return 12;
|
|
9062 |
exit (1);
|
7662 | 9063 |
if (read (fd, data3, pagesize) != pagesize)
|
7663 | |
return 13;
|
|
9064 |
exit (1);
|
7664 | 9065 |
for (i = 0; i < pagesize; ++i)
|
7665 | 9066 |
if (*(data + i) != *(data3 + i))
|
7666 | |
return 14;
|
|
9067 |
exit (1);
|
7667 | 9068 |
close (fd);
|
7668 | |
return 0;
|
|
9069 |
exit (0);
|
7669 | 9070 |
}
|
7670 | 9071 |
_ACEOF
|
7671 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
9072 |
rm -f conftest$ac_exeext
|
|
9073 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9074 |
(eval $ac_link) 2>&5
|
|
9075 |
ac_status=$?
|
|
9076 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9077 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
9078 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9079 |
(eval $ac_try) 2>&5
|
|
9080 |
ac_status=$?
|
|
9081 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9082 |
(exit $ac_status); }; }; then
|
7672 | 9083 |
ac_cv_func_mmap_fixed_mapped=yes
|
7673 | 9084 |
else
|
7674 | |
ac_cv_func_mmap_fixed_mapped=no
|
7675 | |
fi
|
7676 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
7677 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
7678 | |
fi
|
7679 | |
|
7680 | |
fi
|
7681 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
|
7682 | |
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
|
|
9085 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
9086 |
echo "$as_me: failed program was:" >&5
|
|
9087 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9088 |
|
|
9089 |
( exit $ac_status )
|
|
9090 |
ac_cv_func_mmap_fixed_mapped=no
|
|
9091 |
fi
|
|
9092 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
9093 |
fi
|
|
9094 |
fi
|
|
9095 |
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
|
|
9096 |
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
|
7683 | 9097 |
if test $ac_cv_func_mmap_fixed_mapped = yes; then
|
7684 | 9098 |
|
7685 | |
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
|
7686 | |
|
7687 | |
fi
|
7688 | |
rm -f conftest.mmap conftest.txt
|
|
9099 |
cat >>confdefs.h <<\_ACEOF
|
|
9100 |
#define HAVE_MMAP 1
|
|
9101 |
_ACEOF
|
|
9102 |
|
|
9103 |
fi
|
|
9104 |
rm -f conftest.mmap
|
|
9105 |
|
|
9106 |
|
7689 | 9107 |
|
7690 | 9108 |
for ac_header in sys/select.h sys/socket.h
|
7691 | |
do :
|
7692 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
7693 | |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
7694 | |
eval as_val=\$$as_ac_Header
|
7695 | |
if test "x$as_val" = x""yes; then :
|
7696 | |
cat >>confdefs.h <<_ACEOF
|
7697 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
7698 | |
_ACEOF
|
7699 | |
|
7700 | |
fi
|
7701 | |
|
7702 | |
done
|
7703 | |
|
7704 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
|
7705 | |
$as_echo_n "checking types of arguments for select... " >&6; }
|
7706 | |
if test "${ac_cv_func_select_args+set}" = set; then :
|
7707 | |
$as_echo_n "(cached) " >&6
|
7708 | |
else
|
7709 | |
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
|
7710 | |
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
|
7711 | |
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
|
7712 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
9109 |
do
|
|
9110 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
9111 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
9112 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
9113 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
9114 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
9115 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9116 |
fi
|
|
9117 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
9118 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
9119 |
else
|
|
9120 |
# Is the header compilable?
|
|
9121 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
9122 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
9123 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9124 |
/* confdefs.h. */
|
|
9125 |
_ACEOF
|
|
9126 |
cat confdefs.h >>conftest.$ac_ext
|
|
9127 |
cat >>conftest.$ac_ext <<_ACEOF
|
7713 | 9128 |
/* end confdefs.h. */
|
7714 | 9129 |
$ac_includes_default
|
7715 | |
#ifdef HAVE_SYS_SELECT_H
|
|
9130 |
#include <$ac_header>
|
|
9131 |
_ACEOF
|
|
9132 |
rm -f conftest.$ac_objext
|
|
9133 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
9134 |
(eval $ac_compile) 2>conftest.er1
|
|
9135 |
ac_status=$?
|
|
9136 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9137 |
rm -f conftest.er1
|
|
9138 |
cat conftest.err >&5
|
|
9139 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9140 |
(exit $ac_status); } &&
|
|
9141 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
9142 |
|| test ! -s conftest.err'
|
|
9143 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9144 |
(eval $ac_try) 2>&5
|
|
9145 |
ac_status=$?
|
|
9146 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9147 |
(exit $ac_status); }; } &&
|
|
9148 |
{ ac_try='test -s conftest.$ac_objext'
|
|
9149 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9150 |
(eval $ac_try) 2>&5
|
|
9151 |
ac_status=$?
|
|
9152 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9153 |
(exit $ac_status); }; }; then
|
|
9154 |
ac_header_compiler=yes
|
|
9155 |
else
|
|
9156 |
echo "$as_me: failed program was:" >&5
|
|
9157 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9158 |
|
|
9159 |
ac_header_compiler=no
|
|
9160 |
fi
|
|
9161 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
9162 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
9163 |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
9164 |
|
|
9165 |
# Is the header present?
|
|
9166 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
9167 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
9168 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9169 |
/* confdefs.h. */
|
|
9170 |
_ACEOF
|
|
9171 |
cat confdefs.h >>conftest.$ac_ext
|
|
9172 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9173 |
/* end confdefs.h. */
|
|
9174 |
#include <$ac_header>
|
|
9175 |
_ACEOF
|
|
9176 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
9177 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
9178 |
ac_status=$?
|
|
9179 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9180 |
rm -f conftest.er1
|
|
9181 |
cat conftest.err >&5
|
|
9182 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9183 |
(exit $ac_status); } >/dev/null; then
|
|
9184 |
if test -s conftest.err; then
|
|
9185 |
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
9186 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
9187 |
else
|
|
9188 |
ac_cpp_err=
|
|
9189 |
fi
|
|
9190 |
else
|
|
9191 |
ac_cpp_err=yes
|
|
9192 |
fi
|
|
9193 |
if test -z "$ac_cpp_err"; then
|
|
9194 |
ac_header_preproc=yes
|
|
9195 |
else
|
|
9196 |
echo "$as_me: failed program was:" >&5
|
|
9197 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9198 |
|
|
9199 |
ac_header_preproc=no
|
|
9200 |
fi
|
|
9201 |
rm -f conftest.err conftest.$ac_ext
|
|
9202 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
9203 |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
9204 |
|
|
9205 |
# So? What about this header?
|
|
9206 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
9207 |
yes:no: )
|
|
9208 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
9209 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
9210 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
9211 |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
9212 |
ac_header_preproc=yes
|
|
9213 |
;;
|
|
9214 |
no:yes:* )
|
|
9215 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
9216 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
9217 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
9218 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
9219 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
9220 |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
9221 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
9222 |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
9223 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
9224 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
9225 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
9226 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
9227 |
(
|
|
9228 |
cat <<\_ASBOX
|
|
9229 |
## ------------------------------- ##
|
|
9230 |
## Report this to bybell@nc.rr.com ##
|
|
9231 |
## ------------------------------- ##
|
|
9232 |
_ASBOX
|
|
9233 |
) |
|
|
9234 |
sed "s/^/$as_me: WARNING: /" >&2
|
|
9235 |
;;
|
|
9236 |
esac
|
|
9237 |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
9238 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
9239 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
9240 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9241 |
else
|
|
9242 |
eval "$as_ac_Header=\$ac_header_preproc"
|
|
9243 |
fi
|
|
9244 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
9245 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
9246 |
|
|
9247 |
fi
|
|
9248 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
9249 |
cat >>confdefs.h <<_ACEOF
|
|
9250 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
9251 |
_ACEOF
|
|
9252 |
|
|
9253 |
fi
|
|
9254 |
|
|
9255 |
done
|
|
9256 |
|
|
9257 |
echo "$as_me:$LINENO: checking types of arguments for select" >&5
|
|
9258 |
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
|
|
9259 |
if test "${ac_cv_func_select_args+set}" = set; then
|
|
9260 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9261 |
else
|
|
9262 |
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
|
|
9263 |
for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
|
|
9264 |
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
|
|
9265 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9266 |
/* confdefs.h. */
|
|
9267 |
_ACEOF
|
|
9268 |
cat confdefs.h >>conftest.$ac_ext
|
|
9269 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9270 |
/* end confdefs.h. */
|
|
9271 |
$ac_includes_default
|
|
9272 |
#if HAVE_SYS_SELECT_H
|
7716 | 9273 |
# include <sys/select.h>
|
7717 | 9274 |
#endif
|
7718 | |
#ifdef HAVE_SYS_SOCKET_H
|
|
9275 |
#if HAVE_SYS_SOCKET_H
|
7719 | 9276 |
# include <sys/socket.h>
|
7720 | 9277 |
#endif
|
7721 | 9278 |
|
|
7729 | 9286 |
return 0;
|
7730 | 9287 |
}
|
7731 | 9288 |
_ACEOF
|
7732 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
9289 |
rm -f conftest.$ac_objext
|
|
9290 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
9291 |
(eval $ac_compile) 2>conftest.er1
|
|
9292 |
ac_status=$?
|
|
9293 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9294 |
rm -f conftest.er1
|
|
9295 |
cat conftest.err >&5
|
|
9296 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9297 |
(exit $ac_status); } &&
|
|
9298 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
9299 |
|| test ! -s conftest.err'
|
|
9300 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9301 |
(eval $ac_try) 2>&5
|
|
9302 |
ac_status=$?
|
|
9303 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9304 |
(exit $ac_status); }; } &&
|
|
9305 |
{ ac_try='test -s conftest.$ac_objext'
|
|
9306 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9307 |
(eval $ac_try) 2>&5
|
|
9308 |
ac_status=$?
|
|
9309 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9310 |
(exit $ac_status); }; }; then
|
7733 | 9311 |
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
|
7734 | |
fi
|
7735 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
9312 |
else
|
|
9313 |
echo "$as_me: failed program was:" >&5
|
|
9314 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9315 |
|
|
9316 |
fi
|
|
9317 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
7736 | 9318 |
done
|
7737 | 9319 |
done
|
7738 | 9320 |
done
|
|
7740 | 9322 |
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
|
7741 | 9323 |
|
7742 | 9324 |
fi
|
7743 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
|
7744 | |
$as_echo "$ac_cv_func_select_args" >&6; }
|
|
9325 |
echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
|
|
9326 |
echo "${ECHO_T}$ac_cv_func_select_args" >&6
|
7745 | 9327 |
ac_save_IFS=$IFS; IFS=','
|
7746 | 9328 |
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
|
7747 | 9329 |
IFS=$ac_save_IFS
|
|
7763 | 9345 |
|
7764 | 9346 |
rm -f conftest*
|
7765 | 9347 |
|
7766 | |
if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
|
7767 | |
$as_echo_n "(cached) " >&6
|
|
9348 |
echo "$as_me:$LINENO: checking for function prototypes" >&5
|
|
9349 |
echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
|
|
9350 |
if test "$ac_cv_prog_cc_stdc" != no; then
|
|
9351 |
echo "$as_me:$LINENO: result: yes" >&5
|
|
9352 |
echo "${ECHO_T}yes" >&6
|
|
9353 |
|
|
9354 |
cat >>confdefs.h <<\_ACEOF
|
|
9355 |
#define PROTOTYPES 1
|
|
9356 |
_ACEOF
|
|
9357 |
|
|
9358 |
|
|
9359 |
cat >>confdefs.h <<\_ACEOF
|
|
9360 |
#define __PROTOTYPES 1
|
|
9361 |
_ACEOF
|
|
9362 |
|
|
9363 |
else
|
|
9364 |
echo "$as_me:$LINENO: result: no" >&5
|
|
9365 |
echo "${ECHO_T}no" >&6
|
|
9366 |
fi
|
|
9367 |
|
|
9368 |
echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
|
|
9369 |
echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
|
|
9370 |
if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
|
|
9371 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7768 | 9372 |
else
|
7769 | 9373 |
ac_cv_func_setvbuf_reversed=no
|
7770 | |
fi
|
7771 | |
|
7772 | |
|
7773 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
|
7774 | |
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
|
7775 | |
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
|
7776 | |
$as_echo_n "(cached) " >&6
|
|
9374 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9375 |
/* confdefs.h. */
|
|
9376 |
_ACEOF
|
|
9377 |
cat confdefs.h >>conftest.$ac_ext
|
|
9378 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9379 |
/* end confdefs.h. */
|
|
9380 |
#include <stdio.h>
|
|
9381 |
# if PROTOTYPES
|
|
9382 |
int (setvbuf) (FILE *, int, char *, size_t);
|
|
9383 |
# endif
|
|
9384 |
int
|
|
9385 |
main ()
|
|
9386 |
{
|
|
9387 |
char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
|
|
9388 |
;
|
|
9389 |
return 0;
|
|
9390 |
}
|
|
9391 |
_ACEOF
|
|
9392 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
9393 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9394 |
(eval $ac_link) 2>conftest.er1
|
|
9395 |
ac_status=$?
|
|
9396 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9397 |
rm -f conftest.er1
|
|
9398 |
cat conftest.err >&5
|
|
9399 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9400 |
(exit $ac_status); } &&
|
|
9401 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
9402 |
|| test ! -s conftest.err'
|
|
9403 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9404 |
(eval $ac_try) 2>&5
|
|
9405 |
ac_status=$?
|
|
9406 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9407 |
(exit $ac_status); }; } &&
|
|
9408 |
{ ac_try='test -s conftest$ac_exeext'
|
|
9409 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9410 |
(eval $ac_try) 2>&5
|
|
9411 |
ac_status=$?
|
|
9412 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9413 |
(exit $ac_status); }; }; then
|
|
9414 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9415 |
/* confdefs.h. */
|
|
9416 |
_ACEOF
|
|
9417 |
cat confdefs.h >>conftest.$ac_ext
|
|
9418 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9419 |
/* end confdefs.h. */
|
|
9420 |
#include <stdio.h>
|
|
9421 |
# if PROTOTYPES
|
|
9422 |
int (setvbuf) (FILE *, int, char *, size_t);
|
|
9423 |
# endif
|
|
9424 |
int
|
|
9425 |
main ()
|
|
9426 |
{
|
|
9427 |
char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
|
|
9428 |
;
|
|
9429 |
return 0;
|
|
9430 |
}
|
|
9431 |
_ACEOF
|
|
9432 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
9433 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9434 |
(eval $ac_link) 2>conftest.er1
|
|
9435 |
ac_status=$?
|
|
9436 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9437 |
rm -f conftest.er1
|
|
9438 |
cat conftest.err >&5
|
|
9439 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9440 |
(exit $ac_status); } &&
|
|
9441 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
9442 |
|| test ! -s conftest.err'
|
|
9443 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9444 |
(eval $ac_try) 2>&5
|
|
9445 |
ac_status=$?
|
|
9446 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9447 |
(exit $ac_status); }; } &&
|
|
9448 |
{ ac_try='test -s conftest$ac_exeext'
|
|
9449 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9450 |
(eval $ac_try) 2>&5
|
|
9451 |
ac_status=$?
|
|
9452 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9453 |
(exit $ac_status); }; }; then
|
|
9454 |
# It compiles and links either way, so it must not be declared
|
|
9455 |
# with a prototype and most likely this is a K&R C compiler.
|
|
9456 |
# Try running it.
|
|
9457 |
if test "$cross_compiling" = yes; then
|
|
9458 |
: # Assume setvbuf is not reversed when cross-compiling.
|
|
9459 |
else
|
|
9460 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9461 |
/* confdefs.h. */
|
|
9462 |
_ACEOF
|
|
9463 |
cat confdefs.h >>conftest.$ac_ext
|
|
9464 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9465 |
/* end confdefs.h. */
|
|
9466 |
#include <stdio.h>
|
|
9467 |
int
|
|
9468 |
main ()
|
|
9469 |
{
|
|
9470 |
/* This call has the arguments reversed.
|
|
9471 |
A reversed system may check and see that the address of buf
|
|
9472 |
is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
|
|
9473 |
char buf;
|
|
9474 |
if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
|
|
9475 |
exit (1);
|
|
9476 |
putchar ('\r');
|
|
9477 |
exit (0); /* Non-reversed systems SEGV here. */
|
|
9478 |
;
|
|
9479 |
return 0;
|
|
9480 |
}
|
|
9481 |
_ACEOF
|
|
9482 |
rm -f conftest$ac_exeext
|
|
9483 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9484 |
(eval $ac_link) 2>&5
|
|
9485 |
ac_status=$?
|
|
9486 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9487 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
9488 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9489 |
(eval $ac_try) 2>&5
|
|
9490 |
ac_status=$?
|
|
9491 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9492 |
(exit $ac_status); }; }; then
|
|
9493 |
ac_cv_func_setvbuf_reversed=yes
|
|
9494 |
else
|
|
9495 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
9496 |
echo "$as_me: failed program was:" >&5
|
|
9497 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9498 |
|
|
9499 |
( exit $ac_status )
|
|
9500 |
rm -f core *.core
|
|
9501 |
fi
|
|
9502 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
9503 |
fi
|
|
9504 |
ac_cv_func_setvbuf_reversed=yes
|
|
9505 |
else
|
|
9506 |
echo "$as_me: failed program was:" >&5
|
|
9507 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9508 |
|
|
9509 |
fi
|
|
9510 |
rm -f conftest.err conftest.$ac_objext \
|
|
9511 |
conftest$ac_exeext conftest.$ac_ext
|
|
9512 |
else
|
|
9513 |
echo "$as_me: failed program was:" >&5
|
|
9514 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9515 |
|
|
9516 |
fi
|
|
9517 |
rm -f conftest.err conftest.$ac_objext \
|
|
9518 |
conftest$ac_exeext conftest.$ac_ext
|
|
9519 |
fi
|
|
9520 |
echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
|
|
9521 |
echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
|
|
9522 |
if test $ac_cv_func_setvbuf_reversed = yes; then
|
|
9523 |
|
|
9524 |
cat >>confdefs.h <<\_ACEOF
|
|
9525 |
#define SETVBUF_REVERSED 1
|
|
9526 |
_ACEOF
|
|
9527 |
|
|
9528 |
fi
|
|
9529 |
|
|
9530 |
echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
|
|
9531 |
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
|
|
9532 |
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
|
|
9533 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7777 | 9534 |
else
|
7778 | 9535 |
rm -f conftest.sym conftest.file
|
7779 | 9536 |
echo >conftest.file
|
7780 | 9537 |
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
|
7781 | |
if test "$cross_compiling" = yes; then :
|
|
9538 |
if test "$cross_compiling" = yes; then
|
7782 | 9539 |
ac_cv_func_lstat_dereferences_slashed_symlink=no
|
7783 | 9540 |
else
|
7784 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
9541 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9542 |
/* confdefs.h. */
|
|
9543 |
_ACEOF
|
|
9544 |
cat confdefs.h >>conftest.$ac_ext
|
|
9545 |
cat >>conftest.$ac_ext <<_ACEOF
|
7785 | 9546 |
/* end confdefs.h. */
|
7786 | 9547 |
$ac_includes_default
|
7787 | 9548 |
int
|
7788 | 9549 |
main ()
|
7789 | 9550 |
{
|
7790 | 9551 |
struct stat sbuf;
|
7791 | |
/* Linux will dereference the symlink and fail, as required by POSIX.
|
|
9552 |
/* Linux will dereference the symlink and fail.
|
7792 | 9553 |
That is better in the sense that it means we will not
|
7793 | 9554 |
have to compile and use the lstat wrapper. */
|
7794 | |
return lstat ("conftest.sym/", &sbuf) == 0;
|
|
9555 |
exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
|
7795 | 9556 |
;
|
7796 | 9557 |
return 0;
|
7797 | 9558 |
}
|
7798 | 9559 |
_ACEOF
|
7799 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
9560 |
rm -f conftest$ac_exeext
|
|
9561 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9562 |
(eval $ac_link) 2>&5
|
|
9563 |
ac_status=$?
|
|
9564 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9565 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
9566 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9567 |
(eval $ac_try) 2>&5
|
|
9568 |
ac_status=$?
|
|
9569 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9570 |
(exit $ac_status); }; }; then
|
7800 | 9571 |
ac_cv_func_lstat_dereferences_slashed_symlink=yes
|
7801 | 9572 |
else
|
7802 | |
ac_cv_func_lstat_dereferences_slashed_symlink=no
|
7803 | |
fi
|
7804 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
7805 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
7806 | |
fi
|
7807 | |
|
|
9573 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
9574 |
echo "$as_me: failed program was:" >&5
|
|
9575 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9576 |
|
|
9577 |
( exit $ac_status )
|
|
9578 |
ac_cv_func_lstat_dereferences_slashed_symlink=no
|
|
9579 |
fi
|
|
9580 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
9581 |
fi
|
7808 | 9582 |
else
|
7809 | 9583 |
# If the `ln -s' command failed, then we probably don't even
|
7810 | 9584 |
# have an lstat function.
|
|
7813 | 9587 |
rm -f conftest.sym conftest.file
|
7814 | 9588 |
|
7815 | 9589 |
fi
|
7816 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
|
7817 | |
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
|
|
9590 |
echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
|
|
9591 |
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
|
7818 | 9592 |
|
7819 | 9593 |
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
|
7820 | 9594 |
|
|
7823 | 9597 |
_ACEOF
|
7824 | 9598 |
|
7825 | 9599 |
|
7826 | |
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
|
7827 | |
case " $LIBOBJS " in
|
|
9600 |
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
|
|
9601 |
case $LIBOBJS in
|
|
9602 |
"lstat.$ac_objext" | \
|
|
9603 |
*" lstat.$ac_objext" | \
|
|
9604 |
"lstat.$ac_objext "* | \
|
7828 | 9605 |
*" lstat.$ac_objext "* ) ;;
|
7829 | |
*) LIBOBJS="$LIBOBJS lstat.$ac_objext"
|
7830 | |
;;
|
|
9606 |
*) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;;
|
7831 | 9607 |
esac
|
7832 | 9608 |
|
7833 | 9609 |
fi
|
7834 | 9610 |
|
7835 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
|
7836 | |
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
|
7837 | |
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
|
7838 | |
$as_echo_n "(cached) " >&6
|
7839 | |
else
|
7840 | |
if test "$cross_compiling" = yes; then :
|
|
9611 |
echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
|
|
9612 |
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
|
|
9613 |
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
|
|
9614 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9615 |
else
|
|
9616 |
if test "$cross_compiling" = yes; then
|
7841 | 9617 |
ac_cv_func_stat_empty_string_bug=yes
|
7842 | 9618 |
else
|
7843 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
9619 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9620 |
/* confdefs.h. */
|
|
9621 |
_ACEOF
|
|
9622 |
cat confdefs.h >>conftest.$ac_ext
|
|
9623 |
cat >>conftest.$ac_ext <<_ACEOF
|
7844 | 9624 |
/* end confdefs.h. */
|
7845 | 9625 |
$ac_includes_default
|
7846 | 9626 |
int
|
7847 | 9627 |
main ()
|
7848 | 9628 |
{
|
7849 | 9629 |
struct stat sbuf;
|
7850 | |
return stat ("", &sbuf) == 0;
|
|
9630 |
exit (stat ("", &sbuf) ? 1 : 0);
|
7851 | 9631 |
;
|
7852 | 9632 |
return 0;
|
7853 | 9633 |
}
|
7854 | 9634 |
_ACEOF
|
7855 | |
if ac_fn_c_try_run "$LINENO"; then :
|
7856 | |
ac_cv_func_stat_empty_string_bug=no
|
7857 | |
else
|
|
9635 |
rm -f conftest$ac_exeext
|
|
9636 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9637 |
(eval $ac_link) 2>&5
|
|
9638 |
ac_status=$?
|
|
9639 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9640 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
9641 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9642 |
(eval $ac_try) 2>&5
|
|
9643 |
ac_status=$?
|
|
9644 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9645 |
(exit $ac_status); }; }; then
|
7858 | 9646 |
ac_cv_func_stat_empty_string_bug=yes
|
7859 | |
fi
|
7860 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
7861 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
7862 | |
fi
|
7863 | |
|
7864 | |
fi
|
7865 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
|
7866 | |
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
|
|
9647 |
else
|
|
9648 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
9649 |
echo "$as_me: failed program was:" >&5
|
|
9650 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9651 |
|
|
9652 |
( exit $ac_status )
|
|
9653 |
ac_cv_func_stat_empty_string_bug=no
|
|
9654 |
fi
|
|
9655 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
9656 |
fi
|
|
9657 |
fi
|
|
9658 |
echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
|
|
9659 |
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
|
7867 | 9660 |
if test $ac_cv_func_stat_empty_string_bug = yes; then
|
7868 | |
case " $LIBOBJS " in
|
|
9661 |
case $LIBOBJS in
|
|
9662 |
"stat.$ac_objext" | \
|
|
9663 |
*" stat.$ac_objext" | \
|
|
9664 |
"stat.$ac_objext "* | \
|
7869 | 9665 |
*" stat.$ac_objext "* ) ;;
|
7870 | |
*) LIBOBJS="$LIBOBJS stat.$ac_objext"
|
7871 | |
;;
|
|
9666 |
*) LIBOBJS="$LIBOBJS stat.$ac_objext" ;;
|
7872 | 9667 |
esac
|
7873 | 9668 |
|
7874 | 9669 |
|
|
7878 | 9673 |
|
7879 | 9674 |
fi
|
7880 | 9675 |
|
7881 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
|
7882 | |
$as_echo_n "checking for working strtod... " >&6; }
|
7883 | |
if test "${ac_cv_func_strtod+set}" = set; then :
|
7884 | |
$as_echo_n "(cached) " >&6
|
7885 | |
else
|
7886 | |
if test "$cross_compiling" = yes; then :
|
|
9676 |
echo "$as_me:$LINENO: checking for working strtod" >&5
|
|
9677 |
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
|
|
9678 |
if test "${ac_cv_func_strtod+set}" = set; then
|
|
9679 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9680 |
else
|
|
9681 |
if test "$cross_compiling" = yes; then
|
7887 | 9682 |
ac_cv_func_strtod=no
|
7888 | 9683 |
else
|
7889 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
9684 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9685 |
/* confdefs.h. */
|
|
9686 |
_ACEOF
|
|
9687 |
cat confdefs.h >>conftest.$ac_ext
|
|
9688 |
cat >>conftest.$ac_ext <<_ACEOF
|
7890 | 9689 |
/* end confdefs.h. */
|
7891 | 9690 |
|
7892 | |
$ac_includes_default
|
7893 | |
#ifndef strtod
|
7894 | 9691 |
double strtod ();
|
7895 | |
#endif
|
7896 | 9692 |
int
|
7897 | 9693 |
main()
|
7898 | 9694 |
{
|
|
7903 | 9699 |
double value;
|
7904 | 9700 |
value = strtod (string, &term);
|
7905 | 9701 |
if (value != 69 || term != (string + 4))
|
7906 | |
return 1;
|
|
9702 |
exit (1);
|
7907 | 9703 |
}
|
7908 | 9704 |
|
7909 | 9705 |
{
|
|
7913 | 9709 |
char *term;
|
7914 | 9710 |
strtod (string, &term);
|
7915 | 9711 |
if (term != string && *(term - 1) == 0)
|
7916 | |
return 1;
|
|
9712 |
exit (1);
|
7917 | 9713 |
}
|
|
9714 |
exit (0);
|
|
9715 |
}
|
|
9716 |
|
|
9717 |
_ACEOF
|
|
9718 |
rm -f conftest$ac_exeext
|
|
9719 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9720 |
(eval $ac_link) 2>&5
|
|
9721 |
ac_status=$?
|
|
9722 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9723 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
9724 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9725 |
(eval $ac_try) 2>&5
|
|
9726 |
ac_status=$?
|
|
9727 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9728 |
(exit $ac_status); }; }; then
|
|
9729 |
ac_cv_func_strtod=yes
|
|
9730 |
else
|
|
9731 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
9732 |
echo "$as_me: failed program was:" >&5
|
|
9733 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9734 |
|
|
9735 |
( exit $ac_status )
|
|
9736 |
ac_cv_func_strtod=no
|
|
9737 |
fi
|
|
9738 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
9739 |
fi
|
|
9740 |
fi
|
|
9741 |
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
|
|
9742 |
echo "${ECHO_T}$ac_cv_func_strtod" >&6
|
|
9743 |
if test $ac_cv_func_strtod = no; then
|
|
9744 |
case $LIBOBJS in
|
|
9745 |
"strtod.$ac_objext" | \
|
|
9746 |
*" strtod.$ac_objext" | \
|
|
9747 |
"strtod.$ac_objext "* | \
|
|
9748 |
*" strtod.$ac_objext "* ) ;;
|
|
9749 |
*) LIBOBJS="$LIBOBJS strtod.$ac_objext" ;;
|
|
9750 |
esac
|
|
9751 |
|
|
9752 |
echo "$as_me:$LINENO: checking for pow" >&5
|
|
9753 |
echo $ECHO_N "checking for pow... $ECHO_C" >&6
|
|
9754 |
if test "${ac_cv_func_pow+set}" = set; then
|
|
9755 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9756 |
else
|
|
9757 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9758 |
/* confdefs.h. */
|
|
9759 |
_ACEOF
|
|
9760 |
cat confdefs.h >>conftest.$ac_ext
|
|
9761 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9762 |
/* end confdefs.h. */
|
|
9763 |
/* Define pow to an innocuous variant, in case <limits.h> declares pow.
|
|
9764 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
9765 |
#define pow innocuous_pow
|
|
9766 |
|
|
9767 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
9768 |
which can conflict with char pow (); below.
|
|
9769 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
9770 |
<limits.h> exists even on freestanding compilers. */
|
|
9771 |
|
|
9772 |
#ifdef __STDC__
|
|
9773 |
# include <limits.h>
|
|
9774 |
#else
|
|
9775 |
# include <assert.h>
|
|
9776 |
#endif
|
|
9777 |
|
|
9778 |
#undef pow
|
|
9779 |
|
|
9780 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
9781 |
#ifdef __cplusplus
|
|
9782 |
extern "C"
|
|
9783 |
{
|
|
9784 |
#endif
|
|
9785 |
/* We use char because int might match the return type of a gcc2
|
|
9786 |
builtin and then its argument prototype would still apply. */
|
|
9787 |
char pow ();
|
|
9788 |
/* The GNU C library defines this for functions which it implements
|
|
9789 |
to always fail with ENOSYS. Some functions are actually named
|
|
9790 |
something starting with __ and the normal name is an alias. */
|
|
9791 |
#if defined (__stub_pow) || defined (__stub___pow)
|
|
9792 |
choke me
|
|
9793 |
#else
|
|
9794 |
char (*f) () = pow;
|
|
9795 |
#endif
|
|
9796 |
#ifdef __cplusplus
|
|
9797 |
}
|
|
9798 |
#endif
|
|
9799 |
|
|
9800 |
int
|
|
9801 |
main ()
|
|
9802 |
{
|
|
9803 |
return f != pow;
|
|
9804 |
;
|
7918 | 9805 |
return 0;
|
7919 | 9806 |
}
|
7920 | |
|
7921 | |
_ACEOF
|
7922 | |
if ac_fn_c_try_run "$LINENO"; then :
|
7923 | |
ac_cv_func_strtod=yes
|
7924 | |
else
|
7925 | |
ac_cv_func_strtod=no
|
7926 | |
fi
|
7927 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
7928 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
7929 | |
fi
|
7930 | |
|
7931 | |
fi
|
7932 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
|
7933 | |
$as_echo "$ac_cv_func_strtod" >&6; }
|
7934 | |
if test $ac_cv_func_strtod = no; then
|
7935 | |
case " $LIBOBJS " in
|
7936 | |
*" strtod.$ac_objext "* ) ;;
|
7937 | |
*) LIBOBJS="$LIBOBJS strtod.$ac_objext"
|
7938 | |
;;
|
7939 | |
esac
|
7940 | |
|
7941 | |
ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
|
7942 | |
if test "x$ac_cv_func_pow" = x""yes; then :
|
7943 | |
|
7944 | |
fi
|
|
9807 |
_ACEOF
|
|
9808 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
9809 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9810 |
(eval $ac_link) 2>conftest.er1
|
|
9811 |
ac_status=$?
|
|
9812 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9813 |
rm -f conftest.er1
|
|
9814 |
cat conftest.err >&5
|
|
9815 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9816 |
(exit $ac_status); } &&
|
|
9817 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
9818 |
|| test ! -s conftest.err'
|
|
9819 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9820 |
(eval $ac_try) 2>&5
|
|
9821 |
ac_status=$?
|
|
9822 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9823 |
(exit $ac_status); }; } &&
|
|
9824 |
{ ac_try='test -s conftest$ac_exeext'
|
|
9825 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9826 |
(eval $ac_try) 2>&5
|
|
9827 |
ac_status=$?
|
|
9828 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9829 |
(exit $ac_status); }; }; then
|
|
9830 |
ac_cv_func_pow=yes
|
|
9831 |
else
|
|
9832 |
echo "$as_me: failed program was:" >&5
|
|
9833 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9834 |
|
|
9835 |
ac_cv_func_pow=no
|
|
9836 |
fi
|
|
9837 |
rm -f conftest.err conftest.$ac_objext \
|
|
9838 |
conftest$ac_exeext conftest.$ac_ext
|
|
9839 |
fi
|
|
9840 |
echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
|
|
9841 |
echo "${ECHO_T}$ac_cv_func_pow" >&6
|
7945 | 9842 |
|
7946 | 9843 |
if test $ac_cv_func_pow = no; then
|
7947 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
|
7948 | |
$as_echo_n "checking for pow in -lm... " >&6; }
|
7949 | |
if test "${ac_cv_lib_m_pow+set}" = set; then :
|
7950 | |
$as_echo_n "(cached) " >&6
|
|
9844 |
echo "$as_me:$LINENO: checking for pow in -lm" >&5
|
|
9845 |
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
|
|
9846 |
if test "${ac_cv_lib_m_pow+set}" = set; then
|
|
9847 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7951 | 9848 |
else
|
7952 | 9849 |
ac_check_lib_save_LIBS=$LIBS
|
7953 | 9850 |
LIBS="-lm $LIBS"
|
7954 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
9851 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9852 |
/* confdefs.h. */
|
|
9853 |
_ACEOF
|
|
9854 |
cat confdefs.h >>conftest.$ac_ext
|
|
9855 |
cat >>conftest.$ac_ext <<_ACEOF
|
7955 | 9856 |
/* end confdefs.h. */
|
7956 | 9857 |
|
7957 | |
/* Override any GCC internal prototype to avoid an error.
|
7958 | |
Use char because int might match the return type of a GCC
|
7959 | |
builtin and then its argument prototype would still apply. */
|
|
9858 |
/* Override any gcc2 internal prototype to avoid an error. */
|
7960 | 9859 |
#ifdef __cplusplus
|
7961 | 9860 |
extern "C"
|
7962 | 9861 |
#endif
|
|
9862 |
/* We use char because int might match the return type of a gcc2
|
|
9863 |
builtin and then its argument prototype would still apply. */
|
7963 | 9864 |
char pow ();
|
7964 | 9865 |
int
|
7965 | 9866 |
main ()
|
7966 | 9867 |
{
|
7967 | |
return pow ();
|
|
9868 |
pow ();
|
7968 | 9869 |
;
|
7969 | 9870 |
return 0;
|
7970 | 9871 |
}
|
7971 | 9872 |
_ACEOF
|
7972 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
9873 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
9874 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9875 |
(eval $ac_link) 2>conftest.er1
|
|
9876 |
ac_status=$?
|
|
9877 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9878 |
rm -f conftest.er1
|
|
9879 |
cat conftest.err >&5
|
|
9880 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9881 |
(exit $ac_status); } &&
|
|
9882 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
9883 |
|| test ! -s conftest.err'
|
|
9884 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9885 |
(eval $ac_try) 2>&5
|
|
9886 |
ac_status=$?
|
|
9887 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9888 |
(exit $ac_status); }; } &&
|
|
9889 |
{ ac_try='test -s conftest$ac_exeext'
|
|
9890 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9891 |
(eval $ac_try) 2>&5
|
|
9892 |
ac_status=$?
|
|
9893 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9894 |
(exit $ac_status); }; }; then
|
7973 | 9895 |
ac_cv_lib_m_pow=yes
|
7974 | 9896 |
else
|
7975 | |
ac_cv_lib_m_pow=no
|
7976 | |
fi
|
7977 | |
rm -f core conftest.err conftest.$ac_objext \
|
7978 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9897 |
echo "$as_me: failed program was:" >&5
|
|
9898 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
9899 |
|
|
9900 |
ac_cv_lib_m_pow=no
|
|
9901 |
fi
|
|
9902 |
rm -f conftest.err conftest.$ac_objext \
|
|
9903 |
conftest$ac_exeext conftest.$ac_ext
|
7979 | 9904 |
LIBS=$ac_check_lib_save_LIBS
|
7980 | 9905 |
fi
|
7981 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
|
7982 | |
$as_echo "$ac_cv_lib_m_pow" >&6; }
|
7983 | |
if test "x$ac_cv_lib_m_pow" = x""yes; then :
|
|
9906 |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
|
|
9907 |
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
|
|
9908 |
if test $ac_cv_lib_m_pow = yes; then
|
7984 | 9909 |
POW_LIB=-lm
|
7985 | 9910 |
else
|
7986 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
|
7987 | |
$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
|
7988 | |
fi
|
7989 | |
|
7990 | |
fi
|
7991 | |
|
7992 | |
fi
|
|
9911 |
{ echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
|
|
9912 |
echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
|
|
9913 |
fi
|
|
9914 |
|
|
9915 |
fi
|
|
9916 |
|
|
9917 |
fi
|
|
9918 |
|
7993 | 9919 |
|
7994 | 9920 |
for ac_func in vprintf
|
7995 | |
do :
|
7996 | |
ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
|
7997 | |
if test "x$ac_cv_func_vprintf" = x""yes; then :
|
|
9921 |
do
|
|
9922 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
9923 |
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
9924 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|
9925 |
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
9926 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9927 |
else
|
|
9928 |
cat >conftest.$ac_ext <<_ACEOF
|
|
9929 |
/* confdefs.h. */
|
|
9930 |
_ACEOF
|
|
9931 |
cat confdefs.h >>conftest.$ac_ext
|
|
9932 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9933 |
/* end confdefs.h. */
|
|
9934 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
9935 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
9936 |
#define $ac_func innocuous_$ac_func
|
|
9937 |
|
|
9938 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
9939 |
which can conflict with char $ac_func (); below.
|
|
9940 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
9941 |
<limits.h> exists even on freestanding compilers. */
|
|
9942 |
|
|
9943 |
#ifdef __STDC__
|
|
9944 |
# include <limits.h>
|
|
9945 |
#else
|
|
9946 |
# include <assert.h>
|
|
9947 |
#endif
|
|
9948 |
|
|
9949 |
#undef $ac_func
|
|
9950 |
|
|
9951 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
9952 |
#ifdef __cplusplus
|
|
9953 |
extern "C"
|
|
9954 |
{
|
|
9955 |
#endif
|
|
9956 |
/* We use char because int might match the return type of a gcc2
|
|
9957 |
builtin and then its argument prototype would still apply. */
|
|
9958 |
char $ac_func ();
|
|
9959 |
/* The GNU C library defines this for functions which it implements
|
|
9960 |
to always fail with ENOSYS. Some functions are actually named
|
|
9961 |
something starting with __ and the normal name is an alias. */
|
|
9962 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
9963 |
choke me
|
|
9964 |
#else
|
|
9965 |
char (*f) () = $ac_func;
|
|
9966 |
#endif
|
|
9967 |
#ifdef __cplusplus
|
|
9968 |
}
|
|
9969 |
#endif
|
|
9970 |
|
|
9971 |
int
|
|
9972 |
main ()
|
|
9973 |
{
|
|
9974 |
return f != $ac_func;
|
|
9975 |
;
|
|
9976 |
return 0;
|
|
9977 |
}
|
|
9978 |
_ACEOF
|
|
9979 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
9980 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9981 |
(eval $ac_link) 2>conftest.er1
|
|
9982 |
ac_status=$?
|
|
9983 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
9984 |
rm -f conftest.er1
|
|
9985 |
cat conftest.err >&5
|
|
9986 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9987 |
(exit $ac_status); } &&
|
|
9988 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
9989 |
|| test ! -s conftest.err'
|
|
9990 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9991 |
(eval $ac_try) 2>&5
|
|
9992 |
ac_status=$?
|
|
9993 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
9994 |
(exit $ac_status); }; } &&
|
|
9995 |
{ ac_try='test -s conftest$ac_exeext'
|
|
9996 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
9997 |
(eval $ac_try) 2>&5
|
|
9998 |
ac_status=$?
|
|
9999 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10000 |
(exit $ac_status); }; }; then
|
|
10001 |
eval "$as_ac_var=yes"
|
|
10002 |
else
|
|
10003 |
echo "$as_me: failed program was:" >&5
|
|
10004 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
10005 |
|
|
10006 |
eval "$as_ac_var=no"
|
|
10007 |
fi
|
|
10008 |
rm -f conftest.err conftest.$ac_objext \
|
|
10009 |
conftest$ac_exeext conftest.$ac_ext
|
|
10010 |
fi
|
|
10011 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
10012 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
10013 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
7998 | 10014 |
cat >>confdefs.h <<_ACEOF
|
7999 | |
#define HAVE_VPRINTF 1
|
8000 | |
_ACEOF
|
8001 | |
|
8002 | |
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
|
8003 | |
if test "x$ac_cv_func__doprnt" = x""yes; then :
|
8004 | |
|
8005 | |
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
|
|
10015 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
10016 |
_ACEOF
|
|
10017 |
|
|
10018 |
echo "$as_me:$LINENO: checking for _doprnt" >&5
|
|
10019 |
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
|
|
10020 |
if test "${ac_cv_func__doprnt+set}" = set; then
|
|
10021 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
10022 |
else
|
|
10023 |
cat >conftest.$ac_ext <<_ACEOF
|
|
10024 |
/* confdefs.h. */
|
|
10025 |
_ACEOF
|
|
10026 |
cat confdefs.h >>conftest.$ac_ext
|
|
10027 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
10028 |
/* end confdefs.h. */
|
|
10029 |
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|
|
10030 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
10031 |
#define _doprnt innocuous__doprnt
|
|
10032 |
|
|
10033 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
10034 |
which can conflict with char _doprnt (); below.
|
|
10035 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
10036 |
<limits.h> exists even on freestanding compilers. */
|
|
10037 |
|
|
10038 |
#ifdef __STDC__
|
|
10039 |
# include <limits.h>
|
|
10040 |
#else
|
|
10041 |
# include <assert.h>
|
|
10042 |
#endif
|
|
10043 |
|
|
10044 |
#undef _doprnt
|
|
10045 |
|
|
10046 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
10047 |
#ifdef __cplusplus
|
|
10048 |
extern "C"
|
|
10049 |
{
|
|
10050 |
#endif
|
|
10051 |
/* We use char because int might match the return type of a gcc2
|
|
10052 |
builtin and then its argument prototype would still apply. */
|
|
10053 |
char _doprnt ();
|
|
10054 |
/* The GNU C library defines this for functions which it implements
|
|
10055 |
to always fail with ENOSYS. Some functions are actually named
|
|
10056 |
something starting with __ and the normal name is an alias. */
|
|
10057 |
#if defined (__stub__doprnt) || defined (__stub____doprnt)
|
|
10058 |
choke me
|
|
10059 |
#else
|
|
10060 |
char (*f) () = _doprnt;
|
|
10061 |
#endif
|
|
10062 |
#ifdef __cplusplus
|
|
10063 |
}
|
|
10064 |
#endif
|
|
10065 |
|
|
10066 |
int
|
|
10067 |
main ()
|
|
10068 |
{
|
|
10069 |
return f != _doprnt;
|
|
10070 |
;
|
|
10071 |
return 0;
|
|
10072 |
}
|
|
10073 |
_ACEOF
|
|
10074 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
10075 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
10076 |
(eval $ac_link) 2>conftest.er1
|
|
10077 |
ac_status=$?
|
|
10078 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
10079 |
rm -f conftest.er1
|
|
10080 |
cat conftest.err >&5
|
|
10081 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10082 |
(exit $ac_status); } &&
|
|
10083 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
10084 |
|| test ! -s conftest.err'
|
|
10085 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10086 |
(eval $ac_try) 2>&5
|
|
10087 |
ac_status=$?
|
|
10088 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10089 |
(exit $ac_status); }; } &&
|
|
10090 |
{ ac_try='test -s conftest$ac_exeext'
|
|
10091 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10092 |
(eval $ac_try) 2>&5
|
|
10093 |
ac_status=$?
|
|
10094 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10095 |
(exit $ac_status); }; }; then
|
|
10096 |
ac_cv_func__doprnt=yes
|
|
10097 |
else
|
|
10098 |
echo "$as_me: failed program was:" >&5
|
|
10099 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
10100 |
|
|
10101 |
ac_cv_func__doprnt=no
|
|
10102 |
fi
|
|
10103 |
rm -f conftest.err conftest.$ac_objext \
|
|
10104 |
conftest$ac_exeext conftest.$ac_ext
|
|
10105 |
fi
|
|
10106 |
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
|
|
10107 |
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
|
|
10108 |
if test $ac_cv_func__doprnt = yes; then
|
|
10109 |
|
|
10110 |
cat >>confdefs.h <<\_ACEOF
|
|
10111 |
#define HAVE_DOPRNT 1
|
|
10112 |
_ACEOF
|
8006 | 10113 |
|
8007 | 10114 |
fi
|
8008 | 10115 |
|
|
8010 | 10117 |
done
|
8011 | 10118 |
|
8012 | 10119 |
|
|
10120 |
|
|
10121 |
|
|
10122 |
|
|
10123 |
|
|
10124 |
|
|
10125 |
|
|
10126 |
|
|
10127 |
|
|
10128 |
|
|
10129 |
|
|
10130 |
|
|
10131 |
|
|
10132 |
|
|
10133 |
|
|
10134 |
|
|
10135 |
|
|
10136 |
|
|
10137 |
|
|
10138 |
|
|
10139 |
|
|
10140 |
|
|
10141 |
|
|
10142 |
|
|
10143 |
|
8013 | 10144 |
for ac_func in atexit btowc bzero dup2 memmove memset munmap pow putenv re_comp realpath regcomp select setenv strcasecmp strchr strdup strerror strncasecmp strrchr strstr getopt_long setenv unsetenv
|
8014 | |
do :
|
8015 | |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
8016 | |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
8017 | |
eval as_val=\$$as_ac_var
|
8018 | |
if test "x$as_val" = x""yes; then :
|
|
10145 |
do
|
|
10146 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
10147 |
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
10148 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|
10149 |
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
10150 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
10151 |
else
|
|
10152 |
cat >conftest.$ac_ext <<_ACEOF
|
|
10153 |
/* confdefs.h. */
|
|
10154 |
_ACEOF
|
|
10155 |
cat confdefs.h >>conftest.$ac_ext
|
|
10156 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
10157 |
/* end confdefs.h. */
|
|
10158 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
10159 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
10160 |
#define $ac_func innocuous_$ac_func
|
|
10161 |
|
|
10162 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
10163 |
which can conflict with char $ac_func (); below.
|
|
10164 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
10165 |
<limits.h> exists even on freestanding compilers. */
|
|
10166 |
|
|
10167 |
#ifdef __STDC__
|
|
10168 |
# include <limits.h>
|
|
10169 |
#else
|
|
10170 |
# include <assert.h>
|
|
10171 |
#endif
|
|
10172 |
|
|
10173 |
#undef $ac_func
|
|
10174 |
|
|
10175 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
10176 |
#ifdef __cplusplus
|
|
10177 |
extern "C"
|
|
10178 |
{
|
|
10179 |
#endif
|
|
10180 |
/* We use char because int might match the return type of a gcc2
|
|
10181 |
builtin and then its argument prototype would still apply. */
|
|
10182 |
char $ac_func ();
|
|
10183 |
/* The GNU C library defines this for functions which it implements
|
|
10184 |
to always fail with ENOSYS. Some functions are actually named
|
|
10185 |
something starting with __ and the normal name is an alias. */
|
|
10186 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
10187 |
choke me
|
|
10188 |
#else
|
|
10189 |
char (*f) () = $ac_func;
|
|
10190 |
#endif
|
|
10191 |
#ifdef __cplusplus
|
|
10192 |
}
|
|
10193 |
#endif
|
|
10194 |
|
|
10195 |
int
|
|
10196 |
main ()
|
|
10197 |
{
|
|
10198 |
return f != $ac_func;
|
|
10199 |
;
|
|
10200 |
return 0;
|
|
10201 |
}
|
|
10202 |
_ACEOF
|
|
10203 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
10204 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
10205 |
(eval $ac_link) 2>conftest.er1
|
|
10206 |
ac_status=$?
|
|
10207 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
10208 |
rm -f conftest.er1
|
|
10209 |
cat conftest.err >&5
|
|
10210 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10211 |
(exit $ac_status); } &&
|
|
10212 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
10213 |
|| test ! -s conftest.err'
|
|
10214 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10215 |
(eval $ac_try) 2>&5
|
|
10216 |
ac_status=$?
|
|
10217 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10218 |
(exit $ac_status); }; } &&
|
|
10219 |
{ ac_try='test -s conftest$ac_exeext'
|
|
10220 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10221 |
(eval $ac_try) 2>&5
|
|
10222 |
ac_status=$?
|
|
10223 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10224 |
(exit $ac_status); }; }; then
|
|
10225 |
eval "$as_ac_var=yes"
|
|
10226 |
else
|
|
10227 |
echo "$as_me: failed program was:" >&5
|
|
10228 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
10229 |
|
|
10230 |
eval "$as_ac_var=no"
|
|
10231 |
fi
|
|
10232 |
rm -f conftest.err conftest.$ac_objext \
|
|
10233 |
conftest$ac_exeext conftest.$ac_ext
|
|
10234 |
fi
|
|
10235 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
10236 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
10237 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
8019 | 10238 |
cat >>confdefs.h <<_ACEOF
|
8020 | |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
10239 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
8021 | 10240 |
_ACEOF
|
8022 | 10241 |
|
8023 | 10242 |
fi
|
8024 | 10243 |
done
|
8025 | 10244 |
|
8026 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xdrmem_create in -lnsl" >&5
|
8027 | |
$as_echo_n "checking for xdrmem_create in -lnsl... " >&6; }
|
8028 | |
if test "${ac_cv_lib_nsl_xdrmem_create+set}" = set; then :
|
8029 | |
$as_echo_n "(cached) " >&6
|
|
10245 |
|
|
10246 |
echo "$as_me:$LINENO: checking for xdrmem_create in -lnsl" >&5
|
|
10247 |
echo $ECHO_N "checking for xdrmem_create in -lnsl... $ECHO_C" >&6
|
|
10248 |
if test "${ac_cv_lib_nsl_xdrmem_create+set}" = set; then
|
|
10249 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8030 | 10250 |
else
|
8031 | 10251 |
ac_check_lib_save_LIBS=$LIBS
|
8032 | 10252 |
LIBS="-lnsl $LIBS"
|
8033 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
10253 |
cat >conftest.$ac_ext <<_ACEOF
|
|
10254 |
/* confdefs.h. */
|
|
10255 |
_ACEOF
|
|
10256 |
cat confdefs.h >>conftest.$ac_ext
|
|
10257 |
cat >>conftest.$ac_ext <<_ACEOF
|
8034 | 10258 |
/* end confdefs.h. */
|
8035 | 10259 |
|
8036 | |
/* Override any GCC internal prototype to avoid an error.
|
8037 | |
Use char because int might match the return type of a GCC
|
8038 | |
builtin and then its argument prototype would still apply. */
|
|
10260 |
/* Override any gcc2 internal prototype to avoid an error. */
|
8039 | 10261 |
#ifdef __cplusplus
|
8040 | 10262 |
extern "C"
|
8041 | 10263 |
#endif
|
|
10264 |
/* We use char because int might match the return type of a gcc2
|
|
10265 |
builtin and then its argument prototype would still apply. */
|
8042 | 10266 |
char xdrmem_create ();
|
8043 | 10267 |
int
|
8044 | 10268 |
main ()
|
8045 | 10269 |
{
|
8046 | |
return xdrmem_create ();
|
|
10270 |
xdrmem_create ();
|
8047 | 10271 |
;
|
8048 | 10272 |
return 0;
|
8049 | 10273 |
}
|
8050 | 10274 |
_ACEOF
|
8051 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10275 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
10276 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
10277 |
(eval $ac_link) 2>conftest.er1
|
|
10278 |
ac_status=$?
|
|
10279 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
10280 |
rm -f conftest.er1
|
|
10281 |
cat conftest.err >&5
|
|
10282 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10283 |
(exit $ac_status); } &&
|
|
10284 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
10285 |
|| test ! -s conftest.err'
|
|
10286 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10287 |
(eval $ac_try) 2>&5
|
|
10288 |
ac_status=$?
|
|
10289 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10290 |
(exit $ac_status); }; } &&
|
|
10291 |
{ ac_try='test -s conftest$ac_exeext'
|
|
10292 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10293 |
(eval $ac_try) 2>&5
|
|
10294 |
ac_status=$?
|
|
10295 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10296 |
(exit $ac_status); }; }; then
|
8052 | 10297 |
ac_cv_lib_nsl_xdrmem_create=yes
|
8053 | 10298 |
else
|
8054 | |
ac_cv_lib_nsl_xdrmem_create=no
|
8055 | |
fi
|
8056 | |
rm -f core conftest.err conftest.$ac_objext \
|
8057 | |
conftest$ac_exeext conftest.$ac_ext
|
|
10299 |
echo "$as_me: failed program was:" >&5
|
|
10300 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
10301 |
|
|
10302 |
ac_cv_lib_nsl_xdrmem_create=no
|
|
10303 |
fi
|
|
10304 |
rm -f conftest.err conftest.$ac_objext \
|
|
10305 |
conftest$ac_exeext conftest.$ac_ext
|
8058 | 10306 |
LIBS=$ac_check_lib_save_LIBS
|
8059 | 10307 |
fi
|
8060 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_xdrmem_create" >&5
|
8061 | |
$as_echo "$ac_cv_lib_nsl_xdrmem_create" >&6; }
|
8062 | |
if test "x$ac_cv_lib_nsl_xdrmem_create" = x""yes; then :
|
|
10308 |
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_xdrmem_create" >&5
|
|
10309 |
echo "${ECHO_T}$ac_cv_lib_nsl_xdrmem_create" >&6
|
|
10310 |
if test $ac_cv_lib_nsl_xdrmem_create = yes; then
|
8063 | 10311 |
cat >>confdefs.h <<_ACEOF
|
8064 | 10312 |
#define HAVE_LIBNSL 1
|
8065 | 10313 |
_ACEOF
|
|
8068 | 10316 |
|
8069 | 10317 |
fi
|
8070 | 10318 |
|
8071 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xdrmem_create in -lrpc" >&5
|
8072 | |
$as_echo_n "checking for xdrmem_create in -lrpc... " >&6; }
|
8073 | |
if test "${ac_cv_lib_rpc_xdrmem_create+set}" = set; then :
|
8074 | |
$as_echo_n "(cached) " >&6
|
|
10319 |
|
|
10320 |
echo "$as_me:$LINENO: checking for xdrmem_create in -lrpc" >&5
|
|
10321 |
echo $ECHO_N "checking for xdrmem_create in -lrpc... $ECHO_C" >&6
|
|
10322 |
if test "${ac_cv_lib_rpc_xdrmem_create+set}" = set; then
|
|
10323 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8075 | 10324 |
else
|
8076 | 10325 |
ac_check_lib_save_LIBS=$LIBS
|
8077 | 10326 |
LIBS="-lrpc $LIBS"
|
8078 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
10327 |
cat >conftest.$ac_ext <<_ACEOF
|
|
10328 |
/* confdefs.h. */
|
|
10329 |
_ACEOF
|
|
10330 |
cat confdefs.h >>conftest.$ac_ext
|
|
10331 |
cat >>conftest.$ac_ext <<_ACEOF
|
8079 | 10332 |
/* end confdefs.h. */
|
8080 | 10333 |
|
8081 | |
/* Override any GCC internal prototype to avoid an error.
|
8082 | |
Use char because int might match the return type of a GCC
|
8083 | |
builtin and then its argument prototype would still apply. */
|
|
10334 |
/* Override any gcc2 internal prototype to avoid an error. */
|
8084 | 10335 |
#ifdef __cplusplus
|
8085 | 10336 |
extern "C"
|
8086 | 10337 |
#endif
|
|
10338 |
/* We use char because int might match the return type of a gcc2
|
|
10339 |
builtin and then its argument prototype would still apply. */
|
8087 | 10340 |
char xdrmem_create ();
|
8088 | 10341 |
int
|
8089 | 10342 |
main ()
|
8090 | 10343 |
{
|
8091 | |
return xdrmem_create ();
|
|
10344 |
xdrmem_create ();
|
8092 | 10345 |
;
|
8093 | 10346 |
return 0;
|
8094 | 10347 |
}
|
8095 | 10348 |
_ACEOF
|
8096 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10349 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
10350 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
10351 |
(eval $ac_link) 2>conftest.er1
|
|
10352 |
ac_status=$?
|
|
10353 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
10354 |
rm -f conftest.er1
|
|
10355 |
cat conftest.err >&5
|
|
10356 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10357 |
(exit $ac_status); } &&
|
|
10358 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
10359 |
|| test ! -s conftest.err'
|
|
10360 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10361 |
(eval $ac_try) 2>&5
|
|
10362 |
ac_status=$?
|
|
10363 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10364 |
(exit $ac_status); }; } &&
|
|
10365 |
{ ac_try='test -s conftest$ac_exeext'
|
|
10366 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10367 |
(eval $ac_try) 2>&5
|
|
10368 |
ac_status=$?
|
|
10369 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10370 |
(exit $ac_status); }; }; then
|
8097 | 10371 |
ac_cv_lib_rpc_xdrmem_create=yes
|
8098 | 10372 |
else
|
8099 | |
ac_cv_lib_rpc_xdrmem_create=no
|
8100 | |
fi
|
8101 | |
rm -f core conftest.err conftest.$ac_objext \
|
8102 | |
conftest$ac_exeext conftest.$ac_ext
|
|
10373 |
echo "$as_me: failed program was:" >&5
|
|
10374 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
10375 |
|
|
10376 |
ac_cv_lib_rpc_xdrmem_create=no
|
|
10377 |
fi
|
|
10378 |
rm -f conftest.err conftest.$ac_objext \
|
|
10379 |
conftest$ac_exeext conftest.$ac_ext
|
8103 | 10380 |
LIBS=$ac_check_lib_save_LIBS
|
8104 | 10381 |
fi
|
8105 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpc_xdrmem_create" >&5
|
8106 | |
$as_echo "$ac_cv_lib_rpc_xdrmem_create" >&6; }
|
8107 | |
if test "x$ac_cv_lib_rpc_xdrmem_create" = x""yes; then :
|
|
10382 |
echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_xdrmem_create" >&5
|
|
10383 |
echo "${ECHO_T}$ac_cv_lib_rpc_xdrmem_create" >&6
|
|
10384 |
if test $ac_cv_lib_rpc_xdrmem_create = yes; then
|
8108 | 10385 |
cat >>confdefs.h <<_ACEOF
|
8109 | 10386 |
#define HAVE_LIBRPC 1
|
8110 | 10387 |
_ACEOF
|
|
8159 | 10436 |
TCLSPEC_LHS="${TCL_LIB_SPEC% *}"
|
8160 | 10437 |
TKLSPEC_LHS="${TK_LIB_SPEC% *}"
|
8161 | 10438 |
LDFLAGS="${LDFLAGS} ${TCLSPEC_LHS} ${TKLSPEC_LHS}"
|
8162 | |
as_ac_Lib=`$as_echo "ac_cv_lib_tcl${TCL_VERSION}''_Tcl_CreateInterp" | $as_tr_sh`
|
8163 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}" >&5
|
8164 | |
$as_echo_n "checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}... " >&6; }
|
8165 | |
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
|
8166 | |
$as_echo_n "(cached) " >&6
|
|
10439 |
as_ac_Lib=`echo "ac_cv_lib_tcl${TCL_VERSION}''_Tcl_CreateInterp" | $as_tr_sh`
|
|
10440 |
echo "$as_me:$LINENO: checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}" >&5
|
|
10441 |
echo $ECHO_N "checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}... $ECHO_C" >&6
|
|
10442 |
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
|
|
10443 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
8167 | 10444 |
else
|
8168 | 10445 |
ac_check_lib_save_LIBS=$LIBS
|
8169 | 10446 |
LIBS="-ltcl${TCL_VERSION} $LIBS"
|
8170 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
10447 |
cat >conftest.$ac_ext <<_ACEOF
|
|
10448 |
/* confdefs.h. */
|
|
10449 |
_ACEOF
|
|
10450 |
cat confdefs.h >>conftest.$ac_ext
|
|
10451 |
cat >>conftest.$ac_ext <<_ACEOF
|
8171 | 10452 |
/* end confdefs.h. */
|
8172 | 10453 |
|
8173 | |
/* Override any GCC internal prototype to avoid an error.
|
8174 | |
Use char because int might match the return type of a GCC
|
8175 | |
builtin and then its argument prototype would still apply. */
|
|
10454 |
/* Override any gcc2 internal prototype to avoid an error. */
|
8176 | 10455 |
#ifdef __cplusplus
|
8177 | 10456 |
extern "C"
|
8178 | 10457 |
#endif
|
|
10458 |
/* We use char because int might match the return type of a gcc2
|
|
10459 |
builtin and then its argument prototype would still apply. */
|
8179 | 10460 |
char Tcl_CreateInterp ();
|
8180 | 10461 |
int
|
8181 | 10462 |
main ()
|
8182 | 10463 |
{
|
8183 | |
return Tcl_CreateInterp ();
|
|
10464 |
Tcl_CreateInterp ();
|
8184 | 10465 |
;
|
8185 | 10466 |
return 0;
|
8186 | 10467 |
}
|
8187 | 10468 |
_ACEOF
|
8188 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10469 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
10470 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
10471 |
(eval $ac_link) 2>conftest.er1
|
|
10472 |
ac_status=$?
|
|
10473 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
10474 |
rm -f conftest.er1
|
|
10475 |
cat conftest.err >&5
|
|
10476 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10477 |
(exit $ac_status); } &&
|
|
10478 |
{ ac_try='test -z "$ac_c_werror_flag"
|
|
10479 |
|| test ! -s conftest.err'
|
|
10480 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10481 |
(eval $ac_try) 2>&5
|
|
10482 |
ac_status=$?
|
|
10483 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10484 |
(exit $ac_status); }; } &&
|
|
10485 |
{ ac_try='test -s conftest$ac_exeext'
|
|
10486 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
10487 |
(eval $ac_try) 2>&5
|
|
10488 |
ac_status=$?
|
|
10489 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
10490 |
(exit $ac_status); }; }; then
|
8189 | 10491 |
eval "$as_ac_Lib=yes"
|
8190 | 10492 |
else
|
8191 | |
eval "$as_ac_Lib=no"
|
8192 | |
fi
|
8193 | |
rm -f core conftest.err conftest.$ac_objext \
|
8194 | |
conftest$ac_exeext conftest.$ac_ext
|
|
10493 |
echo "$as_me: failed program was:" >&5
|
|
10494 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
10495 |
|
|
10496 |
eval "$as_ac_Lib=no"
|
|
10497 |
fi
|
|
10498 |
rm -f conftest.err conftest.$ac_objext \
|
|
10499 |
conftest$ac_exeext conftest.$ac_ext
|
8195 | 10500 |
LIBS=$ac_check_lib_save_LIBS
|
8196 | 10501 |
fi
|
8197 | |
eval ac_res=\$$as_ac_Lib
|
8198 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
8199 | |
$as_echo "$ac_res" >&6; }
|
8200 | |
eval as_val=\$$as_ac_Lib
|
8201 | |
if test "x$as_val" = x""yes; then :
|
|
10502 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
|
|
10503 |
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
|
|
10504 |
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
|
8202 | 10505 |
TCL_LDADD=${TCL_LIB_SPEC}
|
8203 | 10506 |
else
|
8204 | 10507 |
need_tcl=yes
|
8205 | 10508 |
fi
|
8206 | 10509 |
|
8207 | 10510 |
if test "$need_tcl" = "yes" ; then
|
8208 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
|
|
10511 |
{ echo "$as_me:$LINENO: WARNING:
|
8209 | 10512 |
Tcl support not enabled." >&5
|
8210 | |
$as_echo "$as_me: WARNING:
|
|
10513 |
echo "$as_me: WARNING:
|
8211 | 10514 |
Tcl support not enabled." >&2;}
|
8212 | 10515 |
else
|
8213 | 10516 |
if test "X$STUBIFY" = "Xyes" ; then
|
|
8230 | 10533 |
|
8231 | 10534 |
|
8232 | 10535 |
|
8233 | |
ac_config_files="$ac_config_files Makefile doc/Makefile contrib/Makefile contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile contrib/pccts/Makefile contrib/pccts/antlr/Makefile contrib/pccts/dlg/Makefile contrib/pccts/h/Makefile contrib/pccts/sorcerer/Makefile contrib/pccts/sorcerer/h/Makefile contrib/pccts/sorcerer/lib/Makefile contrib/pccts/sorcerer/test/Makefile contrib/pccts/sorcerer/test/test7/Makefile contrib/pccts/sorcerer/testcpp/Makefile contrib/pccts/support/DECmms/Makefile contrib/pccts/support/Makefile contrib/pccts/support/genmk/Makefile contrib/pccts/support/rexpr/Makefile contrib/pccts/support/set/Makefile contrib/pccts/support/sym/Makefile contrib/pccts/testcpp/Makefile contrib/rtlbrowse/Makefile contrib/vermin/Makefile examples/Makefile man/Makefile src/Makefile src/helpers/Makefile src/liblzma/Makefile src/libbz2/Makefile src/libz/Makefile src/helpers/fst/Makefile"
|
8234 | |
|
8235 | |
|
8236 | |
|
8237 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}:
|
|
10536 |
ac_config_files="$ac_config_files Makefile doc/Makefile contrib/Makefile contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile contrib/pccts/Makefile contrib/pccts/antlr/Makefile contrib/pccts/dlg/Makefile contrib/pccts/h/Makefile contrib/pccts/sorcerer/Makefile contrib/pccts/sorcerer/h/Makefile contrib/pccts/sorcerer/lib/Makefile contrib/pccts/sorcerer/test/Makefile contrib/pccts/sorcerer/test/test7/Makefile contrib/pccts/sorcerer/testcpp/Makefile contrib/pccts/support/DECmms/Makefile contrib/pccts/support/Makefile contrib/pccts/support/genmk/Makefile contrib/pccts/support/rexpr/Makefile contrib/pccts/support/set/Makefile contrib/pccts/support/sym/Makefile contrib/pccts/testcpp/Makefile contrib/rtlbrowse/Makefile contrib/vermin/Makefile examples/Makefile man/Makefile src/Makefile src/helpers/Makefile src/liblzma/Makefile src/libbz2/Makefile src/libz/Makefile src/helpers/fst/Makefile"
|
|
10537 |
|
|
10538 |
|
|
10539 |
|
|
10540 |
{ echo "$as_me:$LINENO:
|
8238 | 10541 |
--------------------------------------------
|
8239 | 10542 |
Configuration summary:
|
8240 | 10543 |
|
|
8278 | 10581 |
INLINE_ASM : $INLINE_ASM
|
8279 | 10582 |
--------------------------------------------
|
8280 | 10583 |
" >&5
|
8281 | |
$as_echo "$as_me:
|
|
10584 |
echo "$as_me:
|
8282 | 10585 |
--------------------------------------------
|
8283 | 10586 |
Configuration summary:
|
8284 | 10587 |
|
|
8341 | 10644 |
|
8342 | 10645 |
# The following way of writing the cache mishandles newlines in values,
|
8343 | 10646 |
# but we know of no workaround that is simple, portable, and efficient.
|
8344 | |
# So, we kill variables containing newlines.
|
|
10647 |
# So, don't put newlines in cache variables' values.
|
8345 | 10648 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
8346 | 10649 |
# and sets the high bit in the cache file unless we assign to the vars.
|
8347 | |
(
|
8348 | |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
8349 | |
eval ac_val=\$$ac_var
|
8350 | |
case $ac_val in #(
|
8351 | |
*${as_nl}*)
|
8352 | |
case $ac_var in #(
|
8353 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
8354 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
8355 | |
esac
|
8356 | |
case $ac_var in #(
|
8357 | |
_ | IFS | as_nl) ;; #(
|
8358 | |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
8359 | |
*) { eval $ac_var=; unset $ac_var;} ;;
|
8360 | |
esac ;;
|
8361 | |
esac
|
8362 | |
done
|
8363 | |
|
|
10650 |
{
|
8364 | 10651 |
(set) 2>&1 |
|
8365 | |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
8366 | |
*${as_nl}ac_space=\ *)
|
8367 | |
# `set' does not quote correctly, so add quotes: double-quote
|
8368 | |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
|
10652 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
10653 |
*ac_space=\ *)
|
|
10654 |
# `set' does not quote correctly, so add quotes (double-quote
|
|
10655 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
8369 | 10656 |
sed -n \
|
8370 | 10657 |
"s/'/'\\\\''/g;
|
8371 | 10658 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
8372 | |
;; #(
|
|
10659 |
;;
|
8373 | 10660 |
*)
|
8374 | 10661 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
8375 | |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
|
10662 |
sed -n \
|
|
10663 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
8376 | 10664 |
;;
|
8377 | |
esac |
|
8378 | |
sort
|
8379 | |
) |
|
|
10665 |
esac;
|
|
10666 |
} |
|
8380 | 10667 |
sed '
|
8381 | |
/^ac_cv_env_/b end
|
8382 | 10668 |
t clear
|
8383 | |
:clear
|
|
10669 |
: clear
|
8384 | 10670 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
8385 | 10671 |
t end
|
8386 | |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
8387 | |
:end' >>confcache
|
8388 | |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
8389 | |
if test -w "$cache_file"; then
|
8390 | |
test "x$cache_file" != "x/dev/null" &&
|
8391 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
8392 | |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
10672 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
10673 |
: end' >>confcache
|
|
10674 |
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|
10675 |
if test -w $cache_file; then
|
|
10676 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
8393 | 10677 |
cat confcache >$cache_file
|
8394 | 10678 |
else
|
8395 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
8396 | |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
10679 |
echo "not updating unwritable cache $cache_file"
|
8397 | 10680 |
fi
|
8398 | 10681 |
fi
|
8399 | 10682 |
rm -f confcache
|
|
8401 | 10684 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
8402 | 10685 |
# Let make expand exec_prefix.
|
8403 | 10686 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
10687 |
|
|
10688 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
10689 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
10690 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
10691 |
# (actually we leave an empty line to preserve line numbers).
|
|
10692 |
if test "x$srcdir" = x.; then
|
|
10693 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
10694 |
s/:*\$(srcdir):*/:/;
|
|
10695 |
s/:*\${srcdir}:*/:/;
|
|
10696 |
s/:*@srcdir@:*/:/;
|
|
10697 |
s/^\([^=]*=[ ]*\):*/\1/;
|
|
10698 |
s/:*$//;
|
|
10699 |
s/^[^=]*=[ ]*$//;
|
|
10700 |
}'
|
|
10701 |
fi
|
8404 | 10702 |
|
8405 | 10703 |
DEFS=-DHAVE_CONFIG_H
|
8406 | 10704 |
|
|
8408 | 10706 |
ac_ltlibobjs=
|
8409 | 10707 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
8410 | 10708 |
# 1. Remove the extension, and $U if already installed.
|
8411 | |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
8412 | |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
8413 | |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
8414 | |
# will be set to the directory where LIBOBJS objects are built.
|
8415 | |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
8416 | |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
10709 |
ac_i=`echo "$ac_i" |
|
|
10710 |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
|
10711 |
# 2. Add them.
|
|
10712 |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
|
10713 |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
8417 | 10714 |
done
|
8418 | 10715 |
LIBOBJS=$ac_libobjs
|
8419 | 10716 |
|
|
8421 | 10718 |
|
8422 | 10719 |
|
8423 | 10720 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
8424 | |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
|
8425 | |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
10721 |
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
|
|
10722 |
Usually this means the macro was only invoked conditionally." >&5
|
|
10723 |
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
|
10724 |
Usually this means the macro was only invoked conditionally." >&2;}
|
|
10725 |
{ (exit 1); exit 1; }; }
|
8426 | 10726 |
fi
|
8427 | 10727 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
8428 | |
as_fn_error "conditional \"AMDEP\" was never defined.
|
8429 | |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
10728 |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
|
10729 |
Usually this means the macro was only invoked conditionally." >&5
|
|
10730 |
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
|
10731 |
Usually this means the macro was only invoked conditionally." >&2;}
|
|
10732 |
{ (exit 1); exit 1; }; }
|
8430 | 10733 |
fi
|
8431 | 10734 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
8432 | |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
8433 | |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
10735 |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
|
10736 |
Usually this means the macro was only invoked conditionally." >&5
|
|
10737 |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
|
10738 |
Usually this means the macro was only invoked conditionally." >&2;}
|
|
10739 |
{ (exit 1); exit 1; }; }
|
8434 | 10740 |
fi
|
8435 | 10741 |
|
8436 | 10742 |
: ${CONFIG_STATUS=./config.status}
|
8437 | |
ac_write_fail=0
|
8438 | 10743 |
ac_clean_files_save=$ac_clean_files
|
8439 | 10744 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
8440 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
8441 | |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
8442 | |
as_write_fail=0
|
8443 | |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
|
10745 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
10746 |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
10747 |
cat >$CONFIG_STATUS <<_ACEOF
|
8444 | 10748 |
#! $SHELL
|
8445 | 10749 |
# Generated by $as_me.
|
8446 | 10750 |
# Run this file to recreate the current configuration.
|
|
8450 | 10754 |
debug=false
|
8451 | 10755 |
ac_cs_recheck=false
|
8452 | 10756 |
ac_cs_silent=false
|
8453 | |
|
8454 | 10757 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
8455 | |
export SHELL
|
8456 | |
_ASEOF
|
8457 | |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
8458 | |
## -------------------- ##
|
8459 | |
## M4sh Initialization. ##
|
8460 | |
## -------------------- ##
|
8461 | |
|
8462 | |
# Be more Bourne compatible
|
8463 | |
DUALCASE=1; export DUALCASE # for MKS sh
|
8464 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
10758 |
_ACEOF
|
|
10759 |
|
|
10760 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
10761 |
## --------------------- ##
|
|
10762 |
## M4sh Initialization. ##
|
|
10763 |
## --------------------- ##
|
|
10764 |
|
|
10765 |
# Be Bourne compatible
|
|
10766 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
8465 | 10767 |
emulate sh
|
8466 | 10768 |
NULLCMD=:
|
8467 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
10769 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
8468 | 10770 |
# is contrary to our usage. Disable this feature.
|
8469 | 10771 |
alias -g '${1+"$@"}'='"$@"'
|
8470 | |
setopt NO_GLOB_SUBST
|
8471 | |
else
|
8472 | |
case `(set -o) 2>/dev/null` in #(
|
8473 | |
*posix*) :
|
8474 | |
set -o posix ;; #(
|
8475 | |
*) :
|
8476 | |
;;
|
8477 | |
esac
|
8478 | |
fi
|
8479 | |
|
8480 | |
|
8481 | |
as_nl='
|
8482 | |
'
|
8483 | |
export as_nl
|
8484 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
8485 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
8486 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
8487 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
8488 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
8489 | |
# but without wasting forks for bash or zsh.
|
8490 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
8491 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
8492 | |
as_echo='print -r --'
|
8493 | |
as_echo_n='print -rn --'
|
8494 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
8495 | |
as_echo='printf %s\n'
|
8496 | |
as_echo_n='printf %s'
|
8497 | |
else
|
8498 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
8499 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
8500 | |
as_echo_n='/usr/ucb/echo -n'
|
8501 | |
else
|
8502 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
8503 | |
as_echo_n_body='eval
|
8504 | |
arg=$1;
|
8505 | |
case $arg in #(
|
8506 | |
*"$as_nl"*)
|
8507 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
8508 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
8509 | |
esac;
|
8510 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
8511 | |
'
|
8512 | |
export as_echo_n_body
|
8513 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
8514 | |
fi
|
8515 | |
export as_echo_body
|
8516 | |
as_echo='sh -c $as_echo_body as_echo'
|
8517 | |
fi
|
8518 | |
|
8519 | |
# The user is always right.
|
8520 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
8521 | |
PATH_SEPARATOR=:
|
8522 | |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
8523 | |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
8524 | |
PATH_SEPARATOR=';'
|
8525 | |
}
|
8526 | |
fi
|
8527 | |
|
8528 | |
|
8529 | |
# IFS
|
8530 | |
# We need space, tab and new line, in precisely that order. Quoting is
|
8531 | |
# there to prevent editors from complaining about space-tab.
|
8532 | |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
8533 | |
# splitting by setting IFS to empty value.)
|
8534 | |
IFS=" "" $as_nl"
|
8535 | |
|
8536 | |
# Find who we are. Look in the path if we contain no directory separator.
|
8537 | |
case $0 in #((
|
8538 | |
*[\\/]* ) as_myself=$0 ;;
|
8539 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
8540 | |
for as_dir in $PATH
|
8541 | |
do
|
8542 | |
IFS=$as_save_IFS
|
8543 | |
test -z "$as_dir" && as_dir=.
|
8544 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
8545 | |
done
|
8546 | |
IFS=$as_save_IFS
|
8547 | |
|
8548 | |
;;
|
8549 | |
esac
|
8550 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
8551 | |
# in which case we are not to be found in the path.
|
8552 | |
if test "x$as_myself" = x; then
|
8553 | |
as_myself=$0
|
8554 | |
fi
|
8555 | |
if test ! -f "$as_myself"; then
|
8556 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
8557 | |
exit 1
|
8558 | |
fi
|
8559 | |
|
8560 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
8561 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
8562 | |
# suppresses any "Segmentation fault" message there. '((' could
|
8563 | |
# trigger a bug in pdksh 5.2.14.
|
8564 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
8565 | |
do eval test x\${$as_var+set} = xset \
|
8566 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
8567 | |
done
|
|
10772 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
10773 |
set -o posix
|
|
10774 |
fi
|
|
10775 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
10776 |
|
|
10777 |
# Support unset when possible.
|
|
10778 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
10779 |
as_unset=unset
|
|
10780 |
else
|
|
10781 |
as_unset=false
|
|
10782 |
fi
|
|
10783 |
|
|
10784 |
|
|
10785 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
10786 |
$as_unset ENV MAIL MAILPATH
|
8568 | 10787 |
PS1='$ '
|
8569 | 10788 |
PS2='> '
|
8570 | 10789 |
PS4='+ '
|
8571 | 10790 |
|
8572 | 10791 |
# NLS nuisances.
|
8573 | |
LC_ALL=C
|
8574 | |
export LC_ALL
|
8575 | |
LANGUAGE=C
|
8576 | |
export LANGUAGE
|
8577 | |
|
8578 | |
# CDPATH.
|
8579 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
8580 | |
|
8581 | |
|
8582 | |
# as_fn_error ERROR [LINENO LOG_FD]
|
8583 | |
# ---------------------------------
|
8584 | |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
8585 | |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
8586 | |
# script with status $?, using 1 if that was 0.
|
8587 | |
as_fn_error ()
|
8588 | |
{
|
8589 | |
as_status=$?; test $as_status -eq 0 && as_status=1
|
8590 | |
if test "$3"; then
|
8591 | |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
8592 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
10792 |
for as_var in \
|
|
10793 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
10794 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
10795 |
LC_TELEPHONE LC_TIME
|
|
10796 |
do
|
|
10797 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
10798 |
eval $as_var=C; export $as_var
|
|
10799 |
else
|
|
10800 |
$as_unset $as_var
|
8593 | 10801 |
fi
|
8594 | |
$as_echo "$as_me: error: $1" >&2
|
8595 | |
as_fn_exit $as_status
|
8596 | |
} # as_fn_error
|
8597 | |
|
8598 | |
|
8599 | |
# as_fn_set_status STATUS
|
8600 | |
# -----------------------
|
8601 | |
# Set $? to STATUS, without forking.
|
8602 | |
as_fn_set_status ()
|
8603 | |
{
|
8604 | |
return $1
|
8605 | |
} # as_fn_set_status
|
8606 | |
|
8607 | |
# as_fn_exit STATUS
|
8608 | |
# -----------------
|
8609 | |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
8610 | |
as_fn_exit ()
|
8611 | |
{
|
8612 | |
set +e
|
8613 | |
as_fn_set_status $1
|
8614 | |
exit $1
|
8615 | |
} # as_fn_exit
|
8616 | |
|
8617 | |
# as_fn_unset VAR
|
8618 | |
# ---------------
|
8619 | |
# Portably unset VAR.
|
8620 | |
as_fn_unset ()
|
8621 | |
{
|
8622 | |
{ eval $1=; unset $1;}
|
8623 | |
}
|
8624 | |
as_unset=as_fn_unset
|
8625 | |
# as_fn_append VAR VALUE
|
8626 | |
# ----------------------
|
8627 | |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
8628 | |
# advantage of any shell optimizations that allow amortized linear growth over
|
8629 | |
# repeated appends, instead of the typical quadratic growth present in naive
|
8630 | |
# implementations.
|
8631 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
8632 | |
eval 'as_fn_append ()
|
8633 | |
{
|
8634 | |
eval $1+=\$2
|
8635 | |
}'
|
8636 | |
else
|
8637 | |
as_fn_append ()
|
8638 | |
{
|
8639 | |
eval $1=\$$1\$2
|
8640 | |
}
|
8641 | |
fi # as_fn_append
|
8642 | |
|
8643 | |
# as_fn_arith ARG...
|
8644 | |
# ------------------
|
8645 | |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
8646 | |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
8647 | |
# must be portable across $(()) and expr.
|
8648 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
8649 | |
eval 'as_fn_arith ()
|
8650 | |
{
|
8651 | |
as_val=$(( $* ))
|
8652 | |
}'
|
8653 | |
else
|
8654 | |
as_fn_arith ()
|
8655 | |
{
|
8656 | |
as_val=`expr "$@" || test $? -eq 1`
|
8657 | |
}
|
8658 | |
fi # as_fn_arith
|
8659 | |
|
8660 | |
|
8661 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
8662 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
10802 |
done
|
|
10803 |
|
|
10804 |
# Required to use basename.
|
|
10805 |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
8663 | 10806 |
as_expr=expr
|
8664 | 10807 |
else
|
8665 | 10808 |
as_expr=false
|
8666 | 10809 |
fi
|
8667 | 10810 |
|
8668 | |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
10811 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
8669 | 10812 |
as_basename=basename
|
8670 | 10813 |
else
|
8671 | 10814 |
as_basename=false
|
8672 | 10815 |
fi
|
8673 | 10816 |
|
8674 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
8675 | |
as_dirname=dirname
|
8676 | |
else
|
8677 | |
as_dirname=false
|
8678 | |
fi
|
8679 | |
|
8680 | |
as_me=`$as_basename -- "$0" ||
|
|
10817 |
|
|
10818 |
# Name of the executable.
|
|
10819 |
as_me=`$as_basename "$0" ||
|
8681 | 10820 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
8682 | 10821 |
X"$0" : 'X\(//\)$' \| \
|
8683 | |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
8684 | |
$as_echo X/"$0" |
|
8685 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
8686 | |
s//\1/
|
8687 | |
q
|
8688 | |
}
|
8689 | |
/^X\/\(\/\/\)$/{
|
8690 | |
s//\1/
|
8691 | |
q
|
8692 | |
}
|
8693 | |
/^X\/\(\/\).*/{
|
8694 | |
s//\1/
|
8695 | |
q
|
8696 | |
}
|
8697 | |
s/.*/./; q'`
|
8698 | |
|
|
10822 |
X"$0" : 'X\(/\)$' \| \
|
|
10823 |
. : '\(.\)' 2>/dev/null ||
|
|
10824 |
echo X/"$0" |
|
|
10825 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
|
10826 |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
|
10827 |
/^X\/\(\/\).*/{ s//\1/; q; }
|
|
10828 |
s/.*/./; q'`
|
|
10829 |
|
|
10830 |
|
|
10831 |
# PATH needs CR, and LINENO needs CR and PATH.
|
8699 | 10832 |
# Avoid depending upon Character Ranges.
|
8700 | 10833 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
8701 | 10834 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
8703 | 10836 |
as_cr_digits='0123456789'
|
8704 | 10837 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
8705 | 10838 |
|
8706 | |
ECHO_C= ECHO_N= ECHO_T=
|
8707 | |
case `echo -n x` in #(((((
|
8708 | |
-n*)
|
8709 | |
case `echo 'xy\c'` in
|
8710 | |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
8711 | |
xy) ECHO_C='\c';;
|
8712 | |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
8713 | |
ECHO_T=' ';;
|
8714 | |
esac;;
|
8715 | |
*)
|
8716 | |
ECHO_N='-n';;
|
|
10839 |
# The user is always right.
|
|
10840 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
10841 |
echo "#! /bin/sh" >conf$$.sh
|
|
10842 |
echo "exit 0" >>conf$$.sh
|
|
10843 |
chmod +x conf$$.sh
|
|
10844 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
10845 |
PATH_SEPARATOR=';'
|
|
10846 |
else
|
|
10847 |
PATH_SEPARATOR=:
|
|
10848 |
fi
|
|
10849 |
rm -f conf$$.sh
|
|
10850 |
fi
|
|
10851 |
|
|
10852 |
|
|
10853 |
as_lineno_1=$LINENO
|
|
10854 |
as_lineno_2=$LINENO
|
|
10855 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
10856 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
10857 |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
|
10858 |
# Find who we are. Look in the path if we contain no path at all
|
|
10859 |
# relative or not.
|
|
10860 |
case $0 in
|
|
10861 |
*[\\/]* ) as_myself=$0 ;;
|
|
10862 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
10863 |
for as_dir in $PATH
|
|
10864 |
do
|
|
10865 |
IFS=$as_save_IFS
|
|
10866 |
test -z "$as_dir" && as_dir=.
|
|
10867 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
10868 |
done
|
|
10869 |
|
|
10870 |
;;
|
|
10871 |
esac
|
|
10872 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
10873 |
# in which case we are not to be found in the path.
|
|
10874 |
if test "x$as_myself" = x; then
|
|
10875 |
as_myself=$0
|
|
10876 |
fi
|
|
10877 |
if test ! -f "$as_myself"; then
|
|
10878 |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
|
10879 |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
|
10880 |
{ (exit 1); exit 1; }; }
|
|
10881 |
fi
|
|
10882 |
case $CONFIG_SHELL in
|
|
10883 |
'')
|
|
10884 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
10885 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
10886 |
do
|
|
10887 |
IFS=$as_save_IFS
|
|
10888 |
test -z "$as_dir" && as_dir=.
|
|
10889 |
for as_base in sh bash ksh sh5; do
|
|
10890 |
case $as_dir in
|
|
10891 |
/*)
|
|
10892 |
if ("$as_dir/$as_base" -c '
|
|
10893 |
as_lineno_1=$LINENO
|
|
10894 |
as_lineno_2=$LINENO
|
|
10895 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
|
10896 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
10897 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
|
10898 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
|
10899 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
|
10900 |
CONFIG_SHELL=$as_dir/$as_base
|
|
10901 |
export CONFIG_SHELL
|
|
10902 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
|
10903 |
fi;;
|
|
10904 |
esac
|
|
10905 |
done
|
|
10906 |
done
|
|
10907 |
;;
|
|
10908 |
esac
|
|
10909 |
|
|
10910 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
10911 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
10912 |
# line-number line before each line; the second 'sed' does the real
|
|
10913 |
# work. The second script uses 'N' to pair each line-number line
|
|
10914 |
# with the numbered line, and appends trailing '-' during
|
|
10915 |
# substitution so that $LINENO is not a special case at line end.
|
|
10916 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
10917 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
|
10918 |
sed '=' <$as_myself |
|
|
10919 |
sed '
|
|
10920 |
N
|
|
10921 |
s,$,-,
|
|
10922 |
: loop
|
|
10923 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
10924 |
t loop
|
|
10925 |
s,-$,,
|
|
10926 |
s,^['$as_cr_digits']*\n,,
|
|
10927 |
' >$as_me.lineno &&
|
|
10928 |
chmod +x $as_me.lineno ||
|
|
10929 |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
|
10930 |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
|
10931 |
{ (exit 1); exit 1; }; }
|
|
10932 |
|
|
10933 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
10934 |
# (the dirname of $[0] is not the place where we might find the
|
|
10935 |
# original and so on. Autoconf is especially sensible to this).
|
|
10936 |
. ./$as_me.lineno
|
|
10937 |
# Exit status is that of the last command.
|
|
10938 |
exit
|
|
10939 |
}
|
|
10940 |
|
|
10941 |
|
|
10942 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
|
10943 |
*c*,-n*) ECHO_N= ECHO_C='
|
|
10944 |
' ECHO_T=' ' ;;
|
|
10945 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
|
10946 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
8717 | 10947 |
esac
|
8718 | 10948 |
|
|
10949 |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
10950 |
as_expr=expr
|
|
10951 |
else
|
|
10952 |
as_expr=false
|
|
10953 |
fi
|
|
10954 |
|
8719 | 10955 |
rm -f conf$$ conf$$.exe conf$$.file
|
8720 | |
if test -d conf$$.dir; then
|
8721 | |
rm -f conf$$.dir/conf$$.file
|
8722 | |
else
|
8723 | |
rm -f conf$$.dir
|
8724 | |
mkdir conf$$.dir 2>/dev/null
|
8725 | |
fi
|
8726 | |
if (echo >conf$$.file) 2>/dev/null; then
|
8727 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
10956 |
echo >conf$$.file
|
|
10957 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
10958 |
# We could just check for DJGPP; but this test a) works b) is more generic
|
|
10959 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
|
10960 |
if test -f conf$$.exe; then
|
|
10961 |
# Don't use ln at all; we don't have any links
|
|
10962 |
as_ln_s='cp -p'
|
|
10963 |
else
|
8728 | 10964 |
as_ln_s='ln -s'
|
8729 | |
# ... but there are two gotchas:
|
8730 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
8731 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
8732 | |
# In both cases, we have to default to `cp -p'.
|
8733 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
8734 | |
as_ln_s='cp -p'
|
8735 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
8736 | |
as_ln_s=ln
|
8737 | |
else
|
8738 | |
as_ln_s='cp -p'
|
8739 | 10965 |
fi
|
|
10966 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
10967 |
as_ln_s=ln
|
8740 | 10968 |
else
|
8741 | 10969 |
as_ln_s='cp -p'
|
8742 | 10970 |
fi
|
8743 | |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
8744 | |
rmdir conf$$.dir 2>/dev/null
|
8745 | |
|
8746 | |
|
8747 | |
# as_fn_mkdir_p
|
8748 | |
# -------------
|
8749 | |
# Create "$as_dir" as a directory, including parents if necessary.
|
8750 | |
as_fn_mkdir_p ()
|
8751 | |
{
|
8752 | |
|
8753 | |
case $as_dir in #(
|
8754 | |
-*) as_dir=./$as_dir;;
|
8755 | |
esac
|
8756 | |
test -d "$as_dir" || eval $as_mkdir_p || {
|
8757 | |
as_dirs=
|
8758 | |
while :; do
|
8759 | |
case $as_dir in #(
|
8760 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
8761 | |
*) as_qdir=$as_dir;;
|
8762 | |
esac
|
8763 | |
as_dirs="'$as_qdir' $as_dirs"
|
8764 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
8765 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
8766 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
8767 | |
X"$as_dir" : 'X\(//\)$' \| \
|
8768 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
8769 | |
$as_echo X"$as_dir" |
|
8770 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
8771 | |
s//\1/
|
8772 | |
q
|
8773 | |
}
|
8774 | |
/^X\(\/\/\)[^/].*/{
|
8775 | |
s//\1/
|
8776 | |
q
|
8777 | |
}
|
8778 | |
/^X\(\/\/\)$/{
|
8779 | |
s//\1/
|
8780 | |
q
|
8781 | |
}
|
8782 | |
/^X\(\/\).*/{
|
8783 | |
s//\1/
|
8784 | |
q
|
8785 | |
}
|
8786 | |
s/.*/./; q'`
|
8787 | |
test -d "$as_dir" && break
|
8788 | |
done
|
8789 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
8790 | |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
8791 | |
|
8792 | |
|
8793 | |
} # as_fn_mkdir_p
|
|
10971 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
10972 |
|
8794 | 10973 |
if mkdir -p . 2>/dev/null; then
|
8795 | |
as_mkdir_p='mkdir -p "$as_dir"'
|
|
10974 |
as_mkdir_p=:
|
8796 | 10975 |
else
|
8797 | 10976 |
test -d ./-p && rmdir ./-p
|
8798 | 10977 |
as_mkdir_p=false
|
8799 | 10978 |
fi
|
8800 | 10979 |
|
8801 | |
if test -x / >/dev/null 2>&1; then
|
8802 | |
as_test_x='test -x'
|
8803 | |
else
|
8804 | |
if ls -dL / >/dev/null 2>&1; then
|
8805 | |
as_ls_L_option=L
|
8806 | |
else
|
8807 | |
as_ls_L_option=
|
8808 | |
fi
|
8809 | |
as_test_x='
|
8810 | |
eval sh -c '\''
|
8811 | |
if test -d "$1"; then
|
8812 | |
test -d "$1/.";
|
8813 | |
else
|
8814 | |
case $1 in #(
|
8815 | |
-*)set "./$1";;
|
8816 | |
esac;
|
8817 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
8818 | |
???[sx]*):;;*)false;;esac;fi
|
8819 | |
'\'' sh
|
8820 | |
'
|
8821 | |
fi
|
8822 | |
as_executable_p=$as_test_x
|
|
10980 |
as_executable_p="test -f"
|
8823 | 10981 |
|
8824 | 10982 |
# Sed expression to map a string onto a valid CPP name.
|
8825 | 10983 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
8828 | 10986 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
8829 | 10987 |
|
8830 | 10988 |
|
|
10989 |
# IFS
|
|
10990 |
# We need space, tab and new line, in precisely that order.
|
|
10991 |
as_nl='
|
|
10992 |
'
|
|
10993 |
IFS=" $as_nl"
|
|
10994 |
|
|
10995 |
# CDPATH.
|
|
10996 |
$as_unset CDPATH
|
|
10997 |
|
8831 | 10998 |
exec 6>&1
|
8832 | |
## ----------------------------------- ##
|
8833 | |
## Main body of $CONFIG_STATUS script. ##
|
8834 | |
## ----------------------------------- ##
|
8835 | |
_ASEOF
|
8836 | |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
8837 | |
|
8838 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8839 | |
# Save the log message, to keep $0 and so on meaningful, and to
|
|
10999 |
|
|
11000 |
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
8840 | 11001 |
# report actual input values of CONFIG_FILES etc. instead of their
|
8841 | |
# values after options handling.
|
8842 | |
ac_log="
|
8843 | |
This file was extended by gtkwave $as_me 3.3.16, which was
|
8844 | |
generated by GNU Autoconf 2.65. Invocation command line was
|
8845 | |
|
8846 | |
CONFIG_FILES = $CONFIG_FILES
|
8847 | |
CONFIG_HEADERS = $CONFIG_HEADERS
|
8848 | |
CONFIG_LINKS = $CONFIG_LINKS
|
8849 | |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
8850 | |
$ $0 $@
|
8851 | |
|
8852 | |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
8853 | |
"
|
8854 | |
|
8855 | |
_ACEOF
|
8856 | |
|
8857 | |
case $ac_config_files in *"
|
8858 | |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
8859 | |
esac
|
8860 | |
|
8861 | |
case $ac_config_headers in *"
|
8862 | |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
8863 | |
esac
|
8864 | |
|
8865 | |
|
8866 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8867 | |
# Files that config.status was made for.
|
8868 | |
config_files="$ac_config_files"
|
8869 | |
config_headers="$ac_config_headers"
|
8870 | |
config_commands="$ac_config_commands"
|
8871 | |
|
8872 | |
_ACEOF
|
8873 | |
|
8874 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8875 | |
ac_cs_usage="\
|
8876 | |
\`$as_me' instantiates files and other configuration actions
|
8877 | |
from templates according to the current configuration. Unless the files
|
8878 | |
and actions are specified as TAGs, all are instantiated by default.
|
8879 | |
|
8880 | |
Usage: $0 [OPTION]... [TAG]...
|
8881 | |
|
8882 | |
-h, --help print this help, then exit
|
8883 | |
-V, --version print version number and configuration settings, then exit
|
8884 | |
--config print configuration, then exit
|
8885 | |
-q, --quiet, --silent
|
8886 | |
do not print progress messages
|
8887 | |
-d, --debug don't remove temporary files
|
8888 | |
--recheck update $as_me by reconfiguring in the same conditions
|
8889 | |
--file=FILE[:TEMPLATE]
|
8890 | |
instantiate the configuration file FILE
|
8891 | |
--header=FILE[:TEMPLATE]
|
8892 | |
instantiate the configuration header FILE
|
8893 | |
|
8894 | |
Configuration files:
|
8895 | |
$config_files
|
8896 | |
|
8897 | |
Configuration headers:
|
8898 | |
$config_headers
|
8899 | |
|
8900 | |
Configuration commands:
|
8901 | |
$config_commands
|
8902 | |
|
8903 | |
Report bugs to <bybell@nc.rr.com>."
|
8904 | |
|
8905 | |
_ACEOF
|
8906 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8907 | |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
8908 | |
ac_cs_version="\\
|
8909 | |
gtkwave config.status 3.3.16
|
8910 | |
configured by $0, generated by GNU Autoconf 2.65,
|
8911 | |
with options \\"\$ac_cs_config\\"
|
8912 | |
|
8913 | |
Copyright (C) 2009 Free Software Foundation, Inc.
|
8914 | |
This config.status script is free software; the Free Software Foundation
|
8915 | |
gives unlimited permission to copy, distribute and modify it."
|
8916 | |
|
8917 | |
ac_pwd='$ac_pwd'
|
8918 | |
srcdir='$srcdir'
|
8919 | |
INSTALL='$INSTALL'
|
8920 | |
AWK='$AWK'
|
8921 | |
test -n "\$AWK" || AWK=awk
|
8922 | |
_ACEOF
|
8923 | |
|
8924 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8925 | |
# The default lists apply if the user does not specify any file.
|
8926 | |
ac_need_defaults=:
|
8927 | |
while test $# != 0
|
8928 | |
do
|
8929 | |
case $1 in
|
8930 | |
--*=*)
|
8931 | |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
8932 | |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
8933 | |
ac_shift=:
|
8934 | |
;;
|
8935 | |
*)
|
8936 | |
ac_option=$1
|
8937 | |
ac_optarg=$2
|
8938 | |
ac_shift=shift
|
8939 | |
;;
|
8940 | |
esac
|
8941 | |
|
8942 | |
case $ac_option in
|
8943 | |
# Handling of the options.
|
8944 | |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
8945 | |
ac_cs_recheck=: ;;
|
8946 | |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
8947 | |
$as_echo "$ac_cs_version"; exit ;;
|
8948 | |
--config | --confi | --conf | --con | --co | --c )
|
8949 | |
$as_echo "$ac_cs_config"; exit ;;
|
8950 | |
--debug | --debu | --deb | --de | --d | -d )
|
8951 | |
debug=: ;;
|
8952 | |
--file | --fil | --fi | --f )
|
8953 | |
$ac_shift
|
8954 | |
case $ac_optarg in
|
8955 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
8956 | |
esac
|
8957 | |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
8958 | |
ac_need_defaults=false;;
|
8959 | |
--header | --heade | --head | --hea )
|
8960 | |
$ac_shift
|
8961 | |
case $ac_optarg in
|
8962 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
8963 | |
esac
|
8964 | |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
8965 | |
ac_need_defaults=false;;
|
8966 | |
--he | --h)
|
8967 | |
# Conflict between --help and --header
|
8968 | |
as_fn_error "ambiguous option: \`$1'
|
8969 | |
Try \`$0 --help' for more information.";;
|
8970 | |
--help | --hel | -h )
|
8971 | |
$as_echo "$ac_cs_usage"; exit ;;
|
8972 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
8973 | |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
8974 | |
ac_cs_silent=: ;;
|
8975 | |
|
8976 | |
# This is an error.
|
8977 | |
-*) as_fn_error "unrecognized option: \`$1'
|
8978 | |
Try \`$0 --help' for more information." ;;
|
8979 | |
|
8980 | |
*) as_fn_append ac_config_targets " $1"
|
8981 | |
ac_need_defaults=false ;;
|
8982 | |
|
8983 | |
esac
|
8984 | |
shift
|
8985 | |
done
|
8986 | |
|
8987 | |
ac_configure_extra_args=
|
8988 | |
|
8989 | |
if $ac_cs_silent; then
|
8990 | |
exec 6>/dev/null
|
8991 | |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
8992 | |
fi
|
8993 | |
|
8994 | |
_ACEOF
|
8995 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8996 | |
if \$ac_cs_recheck; then
|
8997 | |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
8998 | |
shift
|
8999 | |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
9000 | |
CONFIG_SHELL='$SHELL'
|
9001 | |
export CONFIG_SHELL
|
9002 | |
exec "\$@"
|
9003 | |
fi
|
9004 | |
|
9005 | |
_ACEOF
|
9006 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
11002 |
# values after options handling. Logging --version etc. is OK.
|
9007 | 11003 |
exec 5>>config.log
|
9008 | 11004 |
{
|
9009 | 11005 |
echo
|
9010 | 11006 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
9011 | 11007 |
## Running $as_me. ##
|
9012 | 11008 |
_ASBOX
|
9013 | |
$as_echo "$ac_log"
|
9014 | 11009 |
} >&5
|
9015 | |
|
9016 | |
_ACEOF
|
9017 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
11010 |
cat >&5 <<_CSEOF
|
|
11011 |
|
|
11012 |
This file was extended by gtkwave $as_me 3.3.16, which was
|
|
11013 |
generated by GNU Autoconf 2.59. Invocation command line was
|
|
11014 |
|
|
11015 |
CONFIG_FILES = $CONFIG_FILES
|
|
11016 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
11017 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
11018 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
11019 |
$ $0 $@
|
|
11020 |
|
|
11021 |
_CSEOF
|
|
11022 |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
|
11023 |
echo >&5
|
|
11024 |
_ACEOF
|
|
11025 |
|
|
11026 |
# Files that config.status was made for.
|
|
11027 |
if test -n "$ac_config_files"; then
|
|
11028 |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
|
11029 |
fi
|
|
11030 |
|
|
11031 |
if test -n "$ac_config_headers"; then
|
|
11032 |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
|
11033 |
fi
|
|
11034 |
|
|
11035 |
if test -n "$ac_config_links"; then
|
|
11036 |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
|
11037 |
fi
|
|
11038 |
|
|
11039 |
if test -n "$ac_config_commands"; then
|
|
11040 |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
|
11041 |
fi
|
|
11042 |
|
|
11043 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
11044 |
|
|
11045 |
ac_cs_usage="\
|
|
11046 |
\`$as_me' instantiates files from templates according to the
|
|
11047 |
current configuration.
|
|
11048 |
|
|
11049 |
Usage: $0 [OPTIONS] [FILE]...
|
|
11050 |
|
|
11051 |
-h, --help print this help, then exit
|
|
11052 |
-V, --version print version number, then exit
|
|
11053 |
-q, --quiet do not print progress messages
|
|
11054 |
-d, --debug don't remove temporary files
|
|
11055 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
11056 |
--file=FILE[:TEMPLATE]
|
|
11057 |
instantiate the configuration file FILE
|
|
11058 |
--header=FILE[:TEMPLATE]
|
|
11059 |
instantiate the configuration header FILE
|
|
11060 |
|
|
11061 |
Configuration files:
|
|
11062 |
$config_files
|
|
11063 |
|
|
11064 |
Configuration headers:
|
|
11065 |
$config_headers
|
|
11066 |
|
|
11067 |
Configuration commands:
|
|
11068 |
$config_commands
|
|
11069 |
|
|
11070 |
Report bugs to <bug-autoconf@gnu.org>."
|
|
11071 |
_ACEOF
|
|
11072 |
|
|
11073 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
11074 |
ac_cs_version="\\
|
|
11075 |
gtkwave config.status 3.3.16
|
|
11076 |
configured by $0, generated by GNU Autoconf 2.59,
|
|
11077 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
|
11078 |
|
|
11079 |
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
11080 |
This config.status script is free software; the Free Software Foundation
|
|
11081 |
gives unlimited permission to copy, distribute and modify it."
|
|
11082 |
srcdir=$srcdir
|
|
11083 |
INSTALL="$INSTALL"
|
|
11084 |
_ACEOF
|
|
11085 |
|
|
11086 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
11087 |
# If no file are specified by the user, then we need to provide default
|
|
11088 |
# value. By we need to know if files were specified by the user.
|
|
11089 |
ac_need_defaults=:
|
|
11090 |
while test $# != 0
|
|
11091 |
do
|
|
11092 |
case $1 in
|
|
11093 |
--*=*)
|
|
11094 |
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
|
11095 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
|
11096 |
ac_shift=:
|
|
11097 |
;;
|
|
11098 |
-*)
|
|
11099 |
ac_option=$1
|
|
11100 |
ac_optarg=$2
|
|
11101 |
ac_shift=shift
|
|
11102 |
;;
|
|
11103 |
*) # This is not an option, so the user has probably given explicit
|
|
11104 |
# arguments.
|
|
11105 |
ac_option=$1
|
|
11106 |
ac_need_defaults=false;;
|
|
11107 |
esac
|
|
11108 |
|
|
11109 |
case $ac_option in
|
|
11110 |
# Handling of the options.
|
|
11111 |
_ACEOF
|
|
11112 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
11113 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
11114 |
ac_cs_recheck=: ;;
|
|
11115 |
--version | --vers* | -V )
|
|
11116 |
echo "$ac_cs_version"; exit 0 ;;
|
|
11117 |
--he | --h)
|
|
11118 |
# Conflict between --help and --header
|
|
11119 |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
|
11120 |
Try \`$0 --help' for more information." >&5
|
|
11121 |
echo "$as_me: error: ambiguous option: $1
|
|
11122 |
Try \`$0 --help' for more information." >&2;}
|
|
11123 |
{ (exit 1); exit 1; }; };;
|
|
11124 |
--help | --hel | -h )
|
|
11125 |
echo "$ac_cs_usage"; exit 0 ;;
|
|
11126 |
--debug | --d* | -d )
|
|
11127 |
debug=: ;;
|
|
11128 |
--file | --fil | --fi | --f )
|
|
11129 |
$ac_shift
|
|
11130 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
|
11131 |
ac_need_defaults=false;;
|
|
11132 |
--header | --heade | --head | --hea )
|
|
11133 |
$ac_shift
|
|
11134 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
|
11135 |
ac_need_defaults=false;;
|
|
11136 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
11137 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
11138 |
ac_cs_silent=: ;;
|
|
11139 |
|
|
11140 |
# This is an error.
|
|
11141 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
|
11142 |
Try \`$0 --help' for more information." >&5
|
|
11143 |
echo "$as_me: error: unrecognized option: $1
|
|
11144 |
Try \`$0 --help' for more information." >&2;}
|
|
11145 |
{ (exit 1); exit 1; }; } ;;
|
|
11146 |
|
|
11147 |
*) ac_config_targets="$ac_config_targets $1" ;;
|
|
11148 |
|
|
11149 |
esac
|
|
11150 |
shift
|
|
11151 |
done
|
|
11152 |
|
|
11153 |
ac_configure_extra_args=
|
|
11154 |
|
|
11155 |
if $ac_cs_silent; then
|
|
11156 |
exec 6>/dev/null
|
|
11157 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
11158 |
fi
|
|
11159 |
|
|
11160 |
_ACEOF
|
|
11161 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
11162 |
if \$ac_cs_recheck; then
|
|
11163 |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
|
11164 |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
11165 |
fi
|
|
11166 |
|
|
11167 |
_ACEOF
|
|
11168 |
|
|
11169 |
cat >>$CONFIG_STATUS <<_ACEOF
|
9018 | 11170 |
#
|
9019 | |
# INIT-COMMANDS
|
|
11171 |
# INIT-COMMANDS section.
|
9020 | 11172 |
#
|
|
11173 |
|
9021 | 11174 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
9022 | 11175 |
|
9023 | 11176 |
_ACEOF
|
9024 | 11177 |
|
9025 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
9026 | |
|
9027 | |
# Handling of arguments.
|
|
11178 |
|
|
11179 |
|
|
11180 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
9028 | 11181 |
for ac_config_target in $ac_config_targets
|
9029 | 11182 |
do
|
9030 | |
case $ac_config_target in
|
9031 | |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
9032 | |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
9033 | |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
9034 | |
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
|
9035 | |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
|
9036 | |
"contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile" ;;
|
9037 | |
"contrib/pccts/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/Makefile" ;;
|
9038 | |
"contrib/pccts/antlr/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/antlr/Makefile" ;;
|
9039 | |
"contrib/pccts/dlg/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/dlg/Makefile" ;;
|
9040 | |
"contrib/pccts/h/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/h/Makefile" ;;
|
9041 | |
"contrib/pccts/sorcerer/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/Makefile" ;;
|
9042 | |
"contrib/pccts/sorcerer/h/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/h/Makefile" ;;
|
9043 | |
"contrib/pccts/sorcerer/lib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/lib/Makefile" ;;
|
9044 | |
"contrib/pccts/sorcerer/test/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/test/Makefile" ;;
|
9045 | |
"contrib/pccts/sorcerer/test/test7/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/test/test7/Makefile" ;;
|
9046 | |
"contrib/pccts/sorcerer/testcpp/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/testcpp/Makefile" ;;
|
9047 | |
"contrib/pccts/support/DECmms/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/DECmms/Makefile" ;;
|
9048 | |
"contrib/pccts/support/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/Makefile" ;;
|
9049 | |
"contrib/pccts/support/genmk/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/genmk/Makefile" ;;
|
9050 | |
"contrib/pccts/support/rexpr/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/rexpr/Makefile" ;;
|
9051 | |
"contrib/pccts/support/set/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/set/Makefile" ;;
|
9052 | |
"contrib/pccts/support/sym/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/sym/Makefile" ;;
|
9053 | |
"contrib/pccts/testcpp/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/pccts/testcpp/Makefile" ;;
|
9054 | |
"contrib/rtlbrowse/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/rtlbrowse/Makefile" ;;
|
9055 | |
"contrib/vermin/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/vermin/Makefile" ;;
|
9056 | |
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
|
9057 | |
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
|
9058 | |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
9059 | |
"src/helpers/Makefile") CONFIG_FILES="$CONFIG_FILES src/helpers/Makefile" ;;
|
9060 | |
"src/liblzma/Makefile") CONFIG_FILES="$CONFIG_FILES src/liblzma/Makefile" ;;
|
9061 | |
"src/libbz2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbz2/Makefile" ;;
|
9062 | |
"src/libz/Makefile") CONFIG_FILES="$CONFIG_FILES src/libz/Makefile" ;;
|
9063 | |
"src/helpers/fst/Makefile") CONFIG_FILES="$CONFIG_FILES src/helpers/fst/Makefile" ;;
|
9064 | |
|
9065 | |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
11183 |
case "$ac_config_target" in
|
|
11184 |
# Handling of arguments.
|
|
11185 |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
11186 |
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
|
|
11187 |
"contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
|
|
11188 |
"contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile" ;;
|
|
11189 |
"contrib/pccts/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/Makefile" ;;
|
|
11190 |
"contrib/pccts/antlr/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/antlr/Makefile" ;;
|
|
11191 |
"contrib/pccts/dlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/dlg/Makefile" ;;
|
|
11192 |
"contrib/pccts/h/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/h/Makefile" ;;
|
|
11193 |
"contrib/pccts/sorcerer/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/Makefile" ;;
|
|
11194 |
"contrib/pccts/sorcerer/h/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/h/Makefile" ;;
|
|
11195 |
"contrib/pccts/sorcerer/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/lib/Makefile" ;;
|
|
11196 |
"contrib/pccts/sorcerer/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/test/Makefile" ;;
|
|
11197 |
"contrib/pccts/sorcerer/test/test7/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/test/test7/Makefile" ;;
|
|
11198 |
"contrib/pccts/sorcerer/testcpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/testcpp/Makefile" ;;
|
|
11199 |
"contrib/pccts/support/DECmms/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/DECmms/Makefile" ;;
|
|
11200 |
"contrib/pccts/support/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/Makefile" ;;
|
|
11201 |
"contrib/pccts/support/genmk/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/genmk/Makefile" ;;
|
|
11202 |
"contrib/pccts/support/rexpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/rexpr/Makefile" ;;
|
|
11203 |
"contrib/pccts/support/set/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/set/Makefile" ;;
|
|
11204 |
"contrib/pccts/support/sym/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/sym/Makefile" ;;
|
|
11205 |
"contrib/pccts/testcpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/testcpp/Makefile" ;;
|
|
11206 |
"contrib/rtlbrowse/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/rtlbrowse/Makefile" ;;
|
|
11207 |
"contrib/vermin/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/vermin/Makefile" ;;
|
|
11208 |
"examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
|
|
11209 |
"man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
|
|
11210 |
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
|
11211 |
"src/helpers/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/helpers/Makefile" ;;
|
|
11212 |
"src/liblzma/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/liblzma/Makefile" ;;
|
|
11213 |
"src/libbz2/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libbz2/Makefile" ;;
|
|
11214 |
"src/libz/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libz/Makefile" ;;
|
|
11215 |
"src/helpers/fst/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/helpers/fst/Makefile" ;;
|
|
11216 |
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
11217 |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
11218 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
|
11219 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
11220 |
{ (exit 1); exit 1; }; };;
|
9066 | 11221 |
esac
|
9067 | 11222 |
done
|
9068 | |
|
9069 | 11223 |
|
9070 | 11224 |
# If the user did not use the arguments to specify the items to instantiate,
|
9071 | 11225 |
# then the envvar interface is used. Set only those that are not.
|
|
9078 | 11232 |
fi
|
9079 | 11233 |
|
9080 | 11234 |
# Have a temporary directory for convenience. Make it in the build tree
|
9081 | |
# simply because there is no reason against having it here, and in addition,
|
|
11235 |
# simply because there is no reason to put it here, and in addition,
|
9082 | 11236 |
# creating and moving files from /tmp can sometimes cause problems.
|
9083 | |
# Hook for its removal unless debugging.
|
9084 | |
# Note that there is a small window in which the directory will not be cleaned:
|
9085 | |
# after its creation but before its name has been assigned to `$tmp'.
|
|
11237 |
# Create a temporary directory, and hook for its removal unless debugging.
|
9086 | 11238 |
$debug ||
|
9087 | 11239 |
{
|
9088 | |
tmp=
|
9089 | |
trap 'exit_status=$?
|
9090 | |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
9091 | |
' 0
|
9092 | |
trap 'as_fn_exit 1' 1 2 13 15
|
|
11240 |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
|
11241 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
9093 | 11242 |
}
|
|
11243 |
|
9094 | 11244 |
# Create a (secure) tmp directory for tmp files.
|
9095 | 11245 |
|
9096 | 11246 |
{
|
9097 | |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
11247 |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
9098 | 11248 |
test -n "$tmp" && test -d "$tmp"
|
9099 | 11249 |
} ||
|
9100 | 11250 |
{
|
9101 | |
tmp=./conf$$-$RANDOM
|
9102 | |
(umask 077 && mkdir "$tmp")
|
9103 | |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
9104 | |
|
9105 | |
# Set up the scripts for CONFIG_FILES section.
|
9106 | |
# No need to generate them if there are no CONFIG_FILES.
|
9107 | |
# This happens for instance with `./config.status config.h'.
|
9108 | |
if test -n "$CONFIG_FILES"; then
|
9109 | |
|
9110 | |
|
9111 | |
ac_cr=`echo X | tr X '\015'`
|
9112 | |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
9113 | |
# But we know of no other shell where ac_cr would be empty at this
|
9114 | |
# point, so we can use a bashism as a fallback.
|
9115 | |
if test "x$ac_cr" = x; then
|
9116 | |
eval ac_cr=\$\'\\r\'
|
9117 | |
fi
|
9118 | |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
9119 | |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
9120 | |
ac_cs_awk_cr='\r'
|
9121 | |
else
|
9122 | |
ac_cs_awk_cr=$ac_cr
|
9123 | |
fi
|
9124 | |
|
9125 | |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
9126 | |
_ACEOF
|
9127 | |
|
9128 | |
|
|
11251 |
tmp=./confstat$$-$RANDOM
|
|
11252 |
(umask 077 && mkdir $tmp)
|
|
11253 |
} ||
|
9129 | 11254 |
{
|
9130 | |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
9131 | |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
9132 | |
echo "_ACEOF"
|
9133 | |
} >conf$$subs.sh ||
|
9134 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
9135 | |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
9136 | |
ac_delim='%!_!# '
|
9137 | |
for ac_last_try in false false false false false :; do
|
9138 | |
. ./conf$$subs.sh ||
|
9139 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
9140 | |
|
9141 | |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
9142 | |
if test $ac_delim_n = $ac_delim_num; then
|
9143 | |
break
|
9144 | |
elif $ac_last_try; then
|
9145 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
9146 | |
else
|
9147 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
11255 |
echo "$me: cannot create a temporary directory in ." >&2
|
|
11256 |
{ (exit 1); exit 1; }
|
|
11257 |
}
|
|
11258 |
|
|
11259 |
_ACEOF
|
|
11260 |
|
|
11261 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
11262 |
|
|
11263 |
#
|
|
11264 |
# CONFIG_FILES section.
|
|
11265 |
#
|
|
11266 |
|
|
11267 |
# No need to generate the scripts if there are no CONFIG_FILES.
|
|
11268 |
# This happens for instance when ./config.status config.h
|
|
11269 |
if test -n "\$CONFIG_FILES"; then
|
|
11270 |
# Protect against being on the right side of a sed subst in config.status.
|
|
11271 |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
|
11272 |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
|
11273 |
s,@SHELL@,$SHELL,;t t
|
|
11274 |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
|
11275 |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
|
11276 |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
|
11277 |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
|
11278 |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
|
11279 |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
|
11280 |
s,@exec_prefix@,$exec_prefix,;t t
|
|
11281 |
s,@prefix@,$prefix,;t t
|
|
11282 |
s,@program_transform_name@,$program_transform_name,;t t
|
|
11283 |
s,@bindir@,$bindir,;t t
|
|
11284 |
s,@sbindir@,$sbindir,;t t
|
|
11285 |
s,@libexecdir@,$libexecdir,;t t
|
|
11286 |
s,@datadir@,$datadir,;t t
|
|
11287 |
s,@sysconfdir@,$sysconfdir,;t t
|
|
11288 |
s,@sharedstatedir@,$sharedstatedir,;t t
|
|
11289 |
s,@localstatedir@,$localstatedir,;t t
|
|
11290 |
s,@libdir@,$libdir,;t t
|
|
11291 |
s,@includedir@,$includedir,;t t
|
|
11292 |
s,@oldincludedir@,$oldincludedir,;t t
|
|
11293 |
s,@infodir@,$infodir,;t t
|
|
11294 |
s,@mandir@,$mandir,;t t
|
|
11295 |
s,@build_alias@,$build_alias,;t t
|
|
11296 |
s,@host_alias@,$host_alias,;t t
|
|
11297 |
s,@target_alias@,$target_alias,;t t
|
|
11298 |
s,@DEFS@,$DEFS,;t t
|
|
11299 |
s,@ECHO_C@,$ECHO_C,;t t
|
|
11300 |
s,@ECHO_N@,$ECHO_N,;t t
|
|
11301 |
s,@ECHO_T@,$ECHO_T,;t t
|
|
11302 |
s,@LIBS@,$LIBS,;t t
|
|
11303 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
|
11304 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
|
11305 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
|
11306 |
s,@CYGPATH_W@,$CYGPATH_W,;t t
|
|
11307 |
s,@PACKAGE@,$PACKAGE,;t t
|
|
11308 |
s,@VERSION@,$VERSION,;t t
|
|
11309 |
s,@ACLOCAL@,$ACLOCAL,;t t
|
|
11310 |
s,@AUTOCONF@,$AUTOCONF,;t t
|
|
11311 |
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
|
11312 |
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
|
11313 |
s,@MAKEINFO@,$MAKEINFO,;t t
|
|
11314 |
s,@install_sh@,$install_sh,;t t
|
|
11315 |
s,@STRIP@,$STRIP,;t t
|
|
11316 |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
|
11317 |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
|
11318 |
s,@mkdir_p@,$mkdir_p,;t t
|
|
11319 |
s,@AWK@,$AWK,;t t
|
|
11320 |
s,@SET_MAKE@,$SET_MAKE,;t t
|
|
11321 |
s,@am__leading_dot@,$am__leading_dot,;t t
|
|
11322 |
s,@AMTAR@,$AMTAR,;t t
|
|
11323 |
s,@am__tar@,$am__tar,;t t
|
|
11324 |
s,@am__untar@,$am__untar,;t t
|
|
11325 |
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
|
11326 |
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
|
11327 |
s,@MAINT@,$MAINT,;t t
|
|
11328 |
s,@INLINE_ASM@,$INLINE_ASM,;t t
|
|
11329 |
s,@TCL_VERSION@,$TCL_VERSION,;t t
|
|
11330 |
s,@TCL_PATCH_LEVEL@,$TCL_PATCH_LEVEL,;t t
|
|
11331 |
s,@TCL_BIN_DIR@,$TCL_BIN_DIR,;t t
|
|
11332 |
s,@TCL_SRC_DIR@,$TCL_SRC_DIR,;t t
|
|
11333 |
s,@TCL_LIB_FILE@,$TCL_LIB_FILE,;t t
|
|
11334 |
s,@TCL_LIB_FLAG@,$TCL_LIB_FLAG,;t t
|
|
11335 |
s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
|
|
11336 |
s,@TCL_STUB_LIB_FILE@,$TCL_STUB_LIB_FILE,;t t
|
|
11337 |
s,@TCL_STUB_LIB_FLAG@,$TCL_STUB_LIB_FLAG,;t t
|
|
11338 |
s,@TCL_STUB_LIB_SPEC@,$TCL_STUB_LIB_SPEC,;t t
|
|
11339 |
s,@TCL_INCLUDE_SPEC@,$TCL_INCLUDE_SPEC,;t t
|
|
11340 |
s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
|
|
11341 |
s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
|
|
11342 |
s,@TK_VERSION@,$TK_VERSION,;t t
|
|
11343 |
s,@TK_BIN_DIR@,$TK_BIN_DIR,;t t
|
|
11344 |
s,@TK_SRC_DIR@,$TK_SRC_DIR,;t t
|
|
11345 |
s,@TK_LIB_FILE@,$TK_LIB_FILE,;t t
|
|
11346 |
s,@TK_LIB_FLAG@,$TK_LIB_FLAG,;t t
|
|
11347 |
s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
|
|
11348 |
s,@TK_STUB_LIB_FILE@,$TK_STUB_LIB_FILE,;t t
|
|
11349 |
s,@TK_STUB_LIB_FLAG@,$TK_STUB_LIB_FLAG,;t t
|
|
11350 |
s,@TK_STUB_LIB_SPEC@,$TK_STUB_LIB_SPEC,;t t
|
|
11351 |
s,@TK_INCLUDE_SPEC@,$TK_INCLUDE_SPEC,;t t
|
|
11352 |
s,@AET2_CFLAGS@,$AET2_CFLAGS,;t t
|
|
11353 |
s,@AET2_LDADD@,$AET2_LDADD,;t t
|
|
11354 |
s,@CC@,$CC,;t t
|
|
11355 |
s,@CFLAGS@,$CFLAGS,;t t
|
|
11356 |
s,@LDFLAGS@,$LDFLAGS,;t t
|
|
11357 |
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
|
11358 |
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
|
11359 |
s,@EXEEXT@,$EXEEXT,;t t
|
|
11360 |
s,@OBJEXT@,$OBJEXT,;t t
|
|
11361 |
s,@DEPDIR@,$DEPDIR,;t t
|
|
11362 |
s,@am__include@,$am__include,;t t
|
|
11363 |
s,@am__quote@,$am__quote,;t t
|
|
11364 |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
|
11365 |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
|
11366 |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
|
11367 |
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
|
11368 |
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
|
|
11369 |
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
|
|
11370 |
s,@LEX@,$LEX,;t t
|
|
11371 |
s,@LEXLIB@,$LEXLIB,;t t
|
|
11372 |
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
|
|
11373 |
s,@RANLIB@,$RANLIB,;t t
|
|
11374 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
|
11375 |
s,@EXTDEBUG@,$EXTDEBUG,;t t
|
|
11376 |
s,@EXTLOAD_CFLAGS@,$EXTLOAD_CFLAGS,;t t
|
|
11377 |
s,@GPERF@,$GPERF,;t t
|
|
11378 |
s,@LIBZ_CFLAGS@,$LIBZ_CFLAGS,;t t
|
|
11379 |
s,@LIBZ_LDADD@,$LIBZ_LDADD,;t t
|
|
11380 |
s,@LIBZ_DIR@,$LIBZ_DIR,;t t
|
|
11381 |
s,@LIBBZ2_CFLAGS@,$LIBBZ2_CFLAGS,;t t
|
|
11382 |
s,@LIBBZ2_LDADD@,$LIBBZ2_LDADD,;t t
|
|
11383 |
s,@LIBBZ2_DIR@,$LIBBZ2_DIR,;t t
|
|
11384 |
s,@LIBXZ_LDADD@,$LIBXZ_LDADD,;t t
|
|
11385 |
s,@LIBXZ_CFLAGS@,$LIBXZ_CFLAGS,;t t
|
|
11386 |
s,@FASTTREE_CFLAGS@,$FASTTREE_CFLAGS,;t t
|
|
11387 |
s,@LIBJUDY_LDADD@,$LIBJUDY_LDADD,;t t
|
|
11388 |
s,@LIBJUDY_CFLAGS@,$LIBJUDY_CFLAGS,;t t
|
|
11389 |
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
|
|
11390 |
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
|
|
11391 |
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
|
|
11392 |
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
|
|
11393 |
s,@GTK_LIBS@,$GTK_LIBS,;t t
|
|
11394 |
s,@ALLOCA@,$ALLOCA,;t t
|
|
11395 |
s,@CPP@,$CPP,;t t
|
|
11396 |
s,@EGREP@,$EGREP,;t t
|
|
11397 |
s,@LIBOBJS@,$LIBOBJS,;t t
|
|
11398 |
s,@POW_LIB@,$POW_LIB,;t t
|
|
11399 |
s,@TCL_LDADD@,$TCL_LDADD,;t t
|
|
11400 |
s,@TCL_DEFADD@,$TCL_DEFADD,;t t
|
|
11401 |
s,@TK_LDADD@,$TK_LDADD,;t t
|
|
11402 |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
|
11403 |
CEOF
|
|
11404 |
|
|
11405 |
_ACEOF
|
|
11406 |
|
|
11407 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
11408 |
# Split the substitutions into bite-sized pieces for seds with
|
|
11409 |
# small command number limits, like on Digital OSF/1 and HP-UX.
|
|
11410 |
ac_max_sed_lines=48
|
|
11411 |
ac_sed_frag=1 # Number of current file.
|
|
11412 |
ac_beg=1 # First line for current file.
|
|
11413 |
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
|
11414 |
ac_more_lines=:
|
|
11415 |
ac_sed_cmds=
|
|
11416 |
while $ac_more_lines; do
|
|
11417 |
if test $ac_beg -gt 1; then
|
|
11418 |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
11419 |
else
|
|
11420 |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
11421 |
fi
|
|
11422 |
if test ! -s $tmp/subs.frag; then
|
|
11423 |
ac_more_lines=false
|
|
11424 |
else
|
|
11425 |
# The purpose of the label and of the branching condition is to
|
|
11426 |
# speed up the sed processing (if there are no `@' at all, there
|
|
11427 |
# is no need to browse any of the substitutions).
|
|
11428 |
# These are the two extra sed commands mentioned above.
|
|
11429 |
(echo ':t
|
|
11430 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
|
11431 |
if test -z "$ac_sed_cmds"; then
|
|
11432 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
11433 |
else
|
|
11434 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
11435 |
fi
|
|
11436 |
ac_sed_frag=`expr $ac_sed_frag + 1`
|
|
11437 |
ac_beg=$ac_end
|
|
11438 |
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
|
11439 |
fi
|
|
11440 |
done
|
|
11441 |
if test -z "$ac_sed_cmds"; then
|
|
11442 |
ac_sed_cmds=cat
|
9148 | 11443 |
fi
|
9149 | |
done
|
9150 | |
rm -f conf$$subs.sh
|
9151 | |
|
9152 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
9153 | |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
9154 | |
_ACEOF
|
9155 | |
sed -n '
|
9156 | |
h
|
9157 | |
s/^/S["/; s/!.*/"]=/
|
9158 | |
p
|
9159 | |
g
|
9160 | |
s/^[^!]*!//
|
9161 | |
:repl
|
9162 | |
t repl
|
9163 | |
s/'"$ac_delim"'$//
|
9164 | |
t delim
|
9165 | |
:nl
|
9166 | |
h
|
9167 | |
s/\(.\{148\}\)..*/\1/
|
9168 | |
t more1
|
9169 | |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
9170 | |
p
|
9171 | |
n
|
9172 | |
b repl
|
9173 | |
:more1
|
9174 | |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
9175 | |
p
|
9176 | |
g
|
9177 | |
s/.\{148\}//
|
9178 | |
t nl
|
9179 | |
:delim
|
9180 | |
h
|
9181 | |
s/\(.\{148\}\)..*/\1/
|
9182 | |
t more2
|
9183 | |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
9184 | |
p
|
9185 | |
b
|
9186 | |
:more2
|
9187 | |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
9188 | |
p
|
9189 | |
g
|
9190 | |
s/.\{148\}//
|
9191 | |
t delim
|
9192 | |
' <conf$$subs.awk | sed '
|
9193 | |
/^[^""]/{
|
9194 | |
N
|
9195 | |
s/\n//
|
9196 | |
}
|
9197 | |
' >>$CONFIG_STATUS || ac_write_fail=1
|
9198 | |
rm -f conf$$subs.awk
|
9199 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
9200 | |
_ACAWK
|
9201 | |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
9202 | |
for (key in S) S_is_set[key] = 1
|
9203 | |
FS = ""
|
9204 | |
|
9205 | |
}
|
9206 | |
{
|
9207 | |
line = $ 0
|
9208 | |
nfields = split(line, field, "@")
|
9209 | |
substed = 0
|
9210 | |
len = length(field[1])
|
9211 | |
for (i = 2; i < nfields; i++) {
|
9212 | |
key = field[i]
|
9213 | |
keylen = length(key)
|
9214 | |
if (S_is_set[key]) {
|
9215 | |
value = S[key]
|
9216 | |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
9217 | |
len += length(value) + length(field[++i])
|
9218 | |
substed = 1
|
9219 | |
} else
|
9220 | |
len += 1 + keylen
|
9221 | |
}
|
9222 | |
|
9223 | |
print line
|
9224 | |
}
|
9225 | |
|
9226 | |
_ACAWK
|
9227 | |
_ACEOF
|
9228 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
9229 | |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
9230 | |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
9231 | |
else
|
9232 | |
cat
|
9233 | |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
9234 | |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
9235 | |
_ACEOF
|
9236 | |
|
9237 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
9238 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
9239 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
9240 | |
# (actually we leave an empty line to preserve line numbers).
|
9241 | |
if test "x$srcdir" = x.; then
|
9242 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
9243 | |
s/:*\$(srcdir):*/:/
|
9244 | |
s/:*\${srcdir}:*/:/
|
9245 | |
s/:*@srcdir@:*/:/
|
9246 | |
s/^\([^=]*=[ ]*\):*/\1/
|
9247 | |
s/:*$//
|
9248 | |
s/^[^=]*=[ ]*$//
|
9249 | |
}'
|
9250 | |
fi
|
9251 | |
|
9252 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
9253 | 11444 |
fi # test -n "$CONFIG_FILES"
|
9254 | 11445 |
|
9255 | |
# Set up the scripts for CONFIG_HEADERS section.
|
9256 | |
# No need to generate them if there are no CONFIG_HEADERS.
|
9257 | |
# This happens for instance with `./config.status Makefile'.
|
9258 | |
if test -n "$CONFIG_HEADERS"; then
|
9259 | |
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
9260 | |
BEGIN {
|
9261 | |
_ACEOF
|
9262 | |
|
9263 | |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
9264 | |
# here-document in config.status, that substitutes the proper values into
|
9265 | |
# config.h.in to produce config.h.
|
9266 | |
|
9267 | |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
9268 | |
# handling of long lines.
|
9269 | |
ac_delim='%!_!# '
|
9270 | |
for ac_last_try in false false :; do
|
9271 | |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
9272 | |
if test -z "$ac_t"; then
|
9273 | |
break
|
9274 | |
elif $ac_last_try; then
|
9275 | |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
9276 | |
else
|
9277 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
9278 | |
fi
|
9279 | |
done
|
9280 | |
|
9281 | |
# For the awk script, D is an array of macro values keyed by name,
|
9282 | |
# likewise P contains macro parameters if any. Preserve backslash
|
9283 | |
# newline sequences.
|
9284 | |
|
9285 | |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
9286 | |
sed -n '
|
9287 | |
s/.\{148\}/&'"$ac_delim"'/g
|
9288 | |
t rset
|
9289 | |
:rset
|
9290 | |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
9291 | |
t def
|
9292 | |
d
|
9293 | |
:def
|
9294 | |
s/\\$//
|
9295 | |
t bsnl
|
9296 | |
s/["\\]/\\&/g
|
9297 | |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
9298 | |
D["\1"]=" \3"/p
|
9299 | |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
9300 | |
d
|
9301 | |
:bsnl
|
9302 | |
s/["\\]/\\&/g
|
9303 | |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
9304 | |
D["\1"]=" \3\\\\\\n"\\/p
|
9305 | |
t cont
|
9306 | |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
9307 | |
t cont
|
9308 | |
d
|
9309 | |
:cont
|
9310 | |
n
|
9311 | |
s/.\{148\}/&'"$ac_delim"'/g
|
9312 | |
t clear
|
9313 | |
:clear
|
9314 | |
s/\\$//
|
9315 | |
t bsnlc
|
9316 | |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
9317 | |
d
|
9318 | |
:bsnlc
|
9319 | |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
9320 | |
b cont
|
9321 | |
' <confdefs.h | sed '
|
9322 | |
s/'"$ac_delim"'/"\\\
|
9323 | |
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
9324 | |
|
9325 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
9326 | |
for (key in D) D_is_set[key] = 1
|
9327 | |
FS = ""
|
9328 | |
}
|
9329 | |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
9330 | |
line = \$ 0
|
9331 | |
split(line, arg, " ")
|
9332 | |
if (arg[1] == "#") {
|
9333 | |
defundef = arg[2]
|
9334 | |
mac1 = arg[3]
|
9335 | |
} else {
|
9336 | |
defundef = substr(arg[1], 2)
|
9337 | |
mac1 = arg[2]
|
9338 | |
}
|
9339 | |
split(mac1, mac2, "(") #)
|
9340 | |
macro = mac2[1]
|
9341 | |
prefix = substr(line, 1, index(line, defundef) - 1)
|
9342 | |
if (D_is_set[macro]) {
|
9343 | |
# Preserve the white space surrounding the "#".
|
9344 | |
print prefix "define", macro P[macro] D[macro]
|
9345 | |
next
|
9346 | |
} else {
|
9347 | |
# Replace #undef with comments. This is necessary, for example,
|
9348 | |
# in the case of _POSIX_SOURCE, which is predefined and required
|
9349 | |
# on some systems where configure will not decide to define it.
|
9350 | |
if (defundef == "undef") {
|
9351 | |
print "/*", prefix defundef, macro, "*/"
|
9352 | |
next
|
9353 | |
}
|
9354 | |
}
|
9355 | |
}
|
9356 | |
{ print }
|
9357 | |
_ACAWK
|
9358 | |
_ACEOF
|
9359 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
9360 | |
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
9361 | |
fi # test -n "$CONFIG_HEADERS"
|
9362 | |
|
9363 | |
|
9364 | |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
9365 | |
shift
|
9366 | |
for ac_tag
|
9367 | |
do
|
9368 | |
case $ac_tag in
|
9369 | |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
11446 |
_ACEOF
|
|
11447 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
11448 |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
|
11449 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
11450 |
case $ac_file in
|
|
11451 |
- | *:- | *:-:* ) # input from stdin
|
|
11452 |
cat >$tmp/stdin
|
|
11453 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
11454 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
11455 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
11456 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
11457 |
* ) ac_file_in=$ac_file.in ;;
|
9370 | 11458 |
esac
|
9371 | |
case $ac_mode$ac_tag in
|
9372 | |
:[FHL]*:*);;
|
9373 | |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
9374 | |
:[FH]-) ac_tag=-:-;;
|
9375 | |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
9376 | |
esac
|
9377 | |
ac_save_IFS=$IFS
|
9378 | |
IFS=:
|
9379 | |
set x $ac_tag
|
9380 | |
IFS=$ac_save_IFS
|
9381 | |
shift
|
9382 | |
ac_file=$1
|
9383 | |
shift
|
9384 | |
|
9385 | |
case $ac_mode in
|
9386 | |
:L) ac_source=$1;;
|
9387 | |
:[FH])
|
9388 | |
ac_file_inputs=
|
9389 | |
for ac_f
|
9390 | |
do
|
9391 | |
case $ac_f in
|
9392 | |
-) ac_f="$tmp/stdin";;
|
9393 | |
*) # Look for the file first in the build tree, then in the source tree
|
9394 | |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
9395 | |
# because $ac_f cannot contain `:'.
|
9396 | |
test -f "$ac_f" ||
|
9397 | |
case $ac_f in
|
9398 | |
[\\/$]*) false;;
|
9399 | |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
9400 | |
esac ||
|
9401 | |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
9402 | |
esac
|
9403 | |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
9404 | |
as_fn_append ac_file_inputs " '$ac_f'"
|
9405 | |
done
|
9406 | |
|
9407 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
9408 | |
# use $as_me), people would be surprised to read:
|
9409 | |
# /* config.h. Generated by config.status. */
|
9410 | |
configure_input='Generated from '`
|
9411 | |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
9412 | |
`' by configure.'
|
9413 | |
if test x"$ac_file" != x-; then
|
9414 | |
configure_input="$ac_file. $configure_input"
|
9415 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
9416 | |
$as_echo "$as_me: creating $ac_file" >&6;}
|
9417 | |
fi
|
9418 | |
# Neutralize special characters interpreted by sed in replacement strings.
|
9419 | |
case $configure_input in #(
|
9420 | |
*\&* | *\|* | *\\* )
|
9421 | |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
9422 | |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
9423 | |
*) ac_sed_conf_input=$configure_input;;
|
9424 | |
esac
|
9425 | |
|
9426 | |
case $ac_tag in
|
9427 | |
*:-:* | *:-) cat >"$tmp/stdin" \
|
9428 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
9429 | |
esac
|
9430 | |
;;
|
9431 | |
esac
|
9432 | |
|
9433 | |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
11459 |
|
|
11460 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
|
11461 |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
9434 | 11462 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
9435 | 11463 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
9436 | 11464 |
X"$ac_file" : 'X\(//\)$' \| \
|
9437 | |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
9438 | |
$as_echo X"$ac_file" |
|
9439 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9440 | |
s//\1/
|
9441 | |
q
|
9442 | |
}
|
9443 | |
/^X\(\/\/\)[^/].*/{
|
9444 | |
s//\1/
|
9445 | |
q
|
9446 | |
}
|
9447 | |
/^X\(\/\/\)$/{
|
9448 | |
s//\1/
|
9449 | |
q
|
9450 | |
}
|
9451 | |
/^X\(\/\).*/{
|
9452 | |
s//\1/
|
9453 | |
q
|
9454 | |
}
|
9455 | |
s/.*/./; q'`
|
9456 | |
as_dir="$ac_dir"; as_fn_mkdir_p
|
|
11465 |
X"$ac_file" : 'X\(/\)' \| \
|
|
11466 |
. : '\(.\)' 2>/dev/null ||
|
|
11467 |
echo X"$ac_file" |
|
|
11468 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
11469 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
11470 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
11471 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
11472 |
s/.*/./; q'`
|
|
11473 |
{ if $as_mkdir_p; then
|
|
11474 |
mkdir -p "$ac_dir"
|
|
11475 |
else
|
|
11476 |
as_dir="$ac_dir"
|
|
11477 |
as_dirs=
|
|
11478 |
while test ! -d "$as_dir"; do
|
|
11479 |
as_dirs="$as_dir $as_dirs"
|
|
11480 |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
11481 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
11482 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
11483 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
11484 |
X"$as_dir" : 'X\(/\)' \| \
|
|
11485 |
. : '\(.\)' 2>/dev/null ||
|
|
11486 |
echo X"$as_dir" |
|
|
11487 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
11488 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
11489 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
11490 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
11491 |
s/.*/./; q'`
|
|
11492 |
done
|
|
11493 |
test ! -n "$as_dirs" || mkdir $as_dirs
|
|
11494 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
|
11495 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|
11496 |
{ (exit 1); exit 1; }; }; }
|
|
11497 |
|
9457 | 11498 |
ac_builddir=.
|
9458 | 11499 |
|
9459 | |
case "$ac_dir" in
|
9460 | |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
11500 |
if test "$ac_dir" != .; then
|
|
11501 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
11502 |
# A "../" for each directory in $ac_dir_suffix.
|
|
11503 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
|
11504 |
else
|
|
11505 |
ac_dir_suffix= ac_top_builddir=
|
|
11506 |
fi
|
|
11507 |
|
|
11508 |
case $srcdir in
|
|
11509 |
.) # No --srcdir option. We are building in place.
|
|
11510 |
ac_srcdir=.
|
|
11511 |
if test -z "$ac_top_builddir"; then
|
|
11512 |
ac_top_srcdir=.
|
|
11513 |
else
|
|
11514 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|
11515 |
fi ;;
|
|
11516 |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
11517 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
11518 |
ac_top_srcdir=$srcdir ;;
|
|
11519 |
*) # Relative path.
|
|
11520 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
11521 |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
11522 |
esac
|
|
11523 |
|
|
11524 |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
|
11525 |
# the directories may not exist.
|
|
11526 |
case `pwd` in
|
|
11527 |
.) ac_abs_builddir="$ac_dir";;
|
9461 | 11528 |
*)
|
9462 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
9463 | |
# A ".." for each directory in $ac_dir_suffix.
|
9464 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
9465 | |
case $ac_top_builddir_sub in
|
9466 | |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
9467 | |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
9468 | |
esac ;;
|
|
11529 |
case "$ac_dir" in
|
|
11530 |
.) ac_abs_builddir=`pwd`;;
|
|
11531 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|
11532 |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
|
11533 |
esac;;
|
9469 | 11534 |
esac
|
9470 | |
ac_abs_top_builddir=$ac_pwd
|
9471 | |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
9472 | |
# for backward compatibility:
|
9473 | |
ac_top_builddir=$ac_top_build_prefix
|
9474 | |
|
9475 | |
case $srcdir in
|
9476 | |
.) # We are building in place.
|
9477 | |
ac_srcdir=.
|
9478 | |
ac_top_srcdir=$ac_top_builddir_sub
|
9479 | |
ac_abs_top_srcdir=$ac_pwd ;;
|
9480 | |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
9481 | |
ac_srcdir=$srcdir$ac_dir_suffix;
|
9482 | |
ac_top_srcdir=$srcdir
|
9483 | |
ac_abs_top_srcdir=$srcdir ;;
|
9484 | |
*) # Relative name.
|
9485 | |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
9486 | |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
9487 | |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
11535 |
case $ac_abs_builddir in
|
|
11536 |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
11537 |
*)
|
|
11538 |
case ${ac_top_builddir}. in
|
|
11539 |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
|
11540 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
11541 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
|
11542 |
esac;;
|
9488 | 11543 |
esac
|
9489 | |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
9490 | |
|
9491 | |
|
9492 | |
case $ac_mode in
|
9493 | |
:F)
|
9494 | |
#
|
9495 | |
# CONFIG_FILE
|
9496 | |
#
|
|
11544 |
case $ac_abs_builddir in
|
|
11545 |
.) ac_abs_srcdir=$ac_srcdir;;
|
|
11546 |
*)
|
|
11547 |
case $ac_srcdir in
|
|
11548 |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
|
11549 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
|
11550 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
|
11551 |
esac;;
|
|
11552 |
esac
|
|
11553 |
case $ac_abs_builddir in
|
|
11554 |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
11555 |
*)
|
|
11556 |
case $ac_top_srcdir in
|
|
11557 |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
|
11558 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
11559 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
|
11560 |
esac;;
|
|
11561 |
esac
|
|
11562 |
|
9497 | 11563 |
|
9498 | 11564 |
case $INSTALL in
|
9499 | 11565 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
9500 | |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
|
11566 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
9501 | 11567 |
esac
|
9502 | |
_ACEOF
|
9503 | |
|
9504 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
9505 | |
# If the template does not know about datarootdir, expand it.
|
9506 | |
# FIXME: This hack should be removed a few years after 2.60.
|
9507 | |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
9508 | |
ac_sed_dataroot='
|
9509 | |
/datarootdir/ {
|
9510 | |
p
|
9511 | |
q
|
9512 | |
}
|
9513 | |
/@datadir@/p
|
9514 | |
/@docdir@/p
|
9515 | |
/@infodir@/p
|
9516 | |
/@localedir@/p
|
9517 | |
/@mandir@/p'
|
9518 | |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
9519 | |
*datarootdir*) ac_datarootdir_seen=yes;;
|
9520 | |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
9521 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
9522 | |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
9523 | |
_ACEOF
|
9524 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
9525 | |
ac_datarootdir_hack='
|
9526 | |
s&@datadir@&$datadir&g
|
9527 | |
s&@docdir@&$docdir&g
|
9528 | |
s&@infodir@&$infodir&g
|
9529 | |
s&@localedir@&$localedir&g
|
9530 | |
s&@mandir@&$mandir&g
|
9531 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
9532 | |
esac
|
9533 | |
_ACEOF
|
9534 | |
|
9535 | |
# Neutralize VPATH when `$srcdir' = `.'.
|
9536 | |
# Shell code in configure.ac might set extrasub.
|
9537 | |
# FIXME: do we really want to maintain this feature?
|
9538 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
9539 | |
ac_sed_extra="$ac_vpsub
|
|
11568 |
|
|
11569 |
if test x"$ac_file" != x-; then
|
|
11570 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
11571 |
echo "$as_me: creating $ac_file" >&6;}
|
|
11572 |
rm -f "$ac_file"
|
|
11573 |
fi
|
|
11574 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
11575 |
# use $as_me), people would be surprised to read:
|
|
11576 |
# /* config.h. Generated by config.status. */
|
|
11577 |
if test x"$ac_file" = x-; then
|
|
11578 |
configure_input=
|
|
11579 |
else
|
|
11580 |
configure_input="$ac_file. "
|
|
11581 |
fi
|
|
11582 |
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
|
11583 |
sed 's,.*/,,'` by configure."
|
|
11584 |
|
|
11585 |
# First look for the input files in the build tree, otherwise in the
|
|
11586 |
# src tree.
|
|
11587 |
ac_file_inputs=`IFS=:
|
|
11588 |
for f in $ac_file_in; do
|
|
11589 |
case $f in
|
|
11590 |
-) echo $tmp/stdin ;;
|
|
11591 |
[\\/$]*)
|
|
11592 |
# Absolute (can't be DOS-style, as IFS=:)
|
|
11593 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
11594 |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
11595 |
{ (exit 1); exit 1; }; }
|
|
11596 |
echo "$f";;
|
|
11597 |
*) # Relative
|
|
11598 |
if test -f "$f"; then
|
|
11599 |
# Build tree
|
|
11600 |
echo "$f"
|
|
11601 |
elif test -f "$srcdir/$f"; then
|
|
11602 |
# Source tree
|
|
11603 |
echo "$srcdir/$f"
|
|
11604 |
else
|
|
11605 |
# /dev/null tree
|
|
11606 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
11607 |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
11608 |
{ (exit 1); exit 1; }; }
|
|
11609 |
fi;;
|
|
11610 |
esac
|
|
11611 |
done` || { (exit 1); exit 1; }
|
|
11612 |
_ACEOF
|
|
11613 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
11614 |
sed "$ac_vpsub
|
9540 | 11615 |
$extrasub
|
9541 | 11616 |
_ACEOF
|
9542 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
11617 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
9543 | 11618 |
:t
|
9544 | 11619 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
9545 | |
s|@configure_input@|$ac_sed_conf_input|;t t
|
9546 | |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
9547 | |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
9548 | |
s&@srcdir@&$ac_srcdir&;t t
|
9549 | |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
9550 | |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
9551 | |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
9552 | |
s&@builddir@&$ac_builddir&;t t
|
9553 | |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
9554 | |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
9555 | |
s&@INSTALL@&$ac_INSTALL&;t t
|
9556 | |
$ac_datarootdir_hack
|
9557 | |
"
|
9558 | |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
9559 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
9560 | |
|
9561 | |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
9562 | |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
9563 | |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
9564 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
9565 | |
which seems to be undefined. Please make sure it is defined." >&5
|
9566 | |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
9567 | |
which seems to be undefined. Please make sure it is defined." >&2;}
|
9568 | |
|
9569 | |
rm -f "$tmp/stdin"
|
|
11620 |
s,@configure_input@,$configure_input,;t t
|
|
11621 |
s,@srcdir@,$ac_srcdir,;t t
|
|
11622 |
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
|
11623 |
s,@top_srcdir@,$ac_top_srcdir,;t t
|
|
11624 |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
|
11625 |
s,@builddir@,$ac_builddir,;t t
|
|
11626 |
s,@abs_builddir@,$ac_abs_builddir,;t t
|
|
11627 |
s,@top_builddir@,$ac_top_builddir,;t t
|
|
11628 |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
|
11629 |
s,@INSTALL@,$ac_INSTALL,;t t
|
|
11630 |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
|
11631 |
rm -f $tmp/stdin
|
|
11632 |
if test x"$ac_file" != x-; then
|
|
11633 |
mv $tmp/out $ac_file
|
|
11634 |
else
|
|
11635 |
cat $tmp/out
|
|
11636 |
rm -f $tmp/out
|
|
11637 |
fi
|
|
11638 |
|
|
11639 |
done
|
|
11640 |
_ACEOF
|
|
11641 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
11642 |
|
|
11643 |
#
|
|
11644 |
# CONFIG_HEADER section.
|
|
11645 |
#
|
|
11646 |
|
|
11647 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
|
11648 |
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
|
11649 |
#
|
|
11650 |
# ac_d sets the value in "#define NAME VALUE" lines.
|
|
11651 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
|
11652 |
ac_dB='[ ].*$,\1#\2'
|
|
11653 |
ac_dC=' '
|
|
11654 |
ac_dD=',;t'
|
|
11655 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
|
11656 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
11657 |
ac_uB='$,\1#\2define\3'
|
|
11658 |
ac_uC=' '
|
|
11659 |
ac_uD=',;t'
|
|
11660 |
|
|
11661 |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
|
11662 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
9570 | 11663 |
case $ac_file in
|
9571 | |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
9572 | |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
9573 | |
esac \
|
9574 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
9575 | |
;;
|
9576 | |
:H)
|
9577 | |
#
|
9578 | |
# CONFIG_HEADER
|
9579 | |
#
|
|
11664 |
- | *:- | *:-:* ) # input from stdin
|
|
11665 |
cat >$tmp/stdin
|
|
11666 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
11667 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
11668 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
11669 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
11670 |
* ) ac_file_in=$ac_file.in ;;
|
|
11671 |
esac
|
|
11672 |
|
|
11673 |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
11674 |
echo "$as_me: creating $ac_file" >&6;}
|
|
11675 |
|
|
11676 |
# First look for the input files in the build tree, otherwise in the
|
|
11677 |
# src tree.
|
|
11678 |
ac_file_inputs=`IFS=:
|
|
11679 |
for f in $ac_file_in; do
|
|
11680 |
case $f in
|
|
11681 |
-) echo $tmp/stdin ;;
|
|
11682 |
[\\/$]*)
|
|
11683 |
# Absolute (can't be DOS-style, as IFS=:)
|
|
11684 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
11685 |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
11686 |
{ (exit 1); exit 1; }; }
|
|
11687 |
# Do quote $f, to prevent DOS paths from being IFS'd.
|
|
11688 |
echo "$f";;
|
|
11689 |
*) # Relative
|
|
11690 |
if test -f "$f"; then
|
|
11691 |
# Build tree
|
|
11692 |
echo "$f"
|
|
11693 |
elif test -f "$srcdir/$f"; then
|
|
11694 |
# Source tree
|
|
11695 |
echo "$srcdir/$f"
|
|
11696 |
else
|
|
11697 |
# /dev/null tree
|
|
11698 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
11699 |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
11700 |
{ (exit 1); exit 1; }; }
|
|
11701 |
fi;;
|
|
11702 |
esac
|
|
11703 |
done` || { (exit 1); exit 1; }
|
|
11704 |
# Remove the trailing spaces.
|
|
11705 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
|
11706 |
|
|
11707 |
_ACEOF
|
|
11708 |
|
|
11709 |
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
|
11710 |
# `conftest.undefs', that substitutes the proper values into
|
|
11711 |
# config.h.in to produce config.h. The first handles `#define'
|
|
11712 |
# templates, and the second `#undef' templates.
|
|
11713 |
# And first: Protect against being on the right side of a sed subst in
|
|
11714 |
# config.status. Protect against being in an unquoted here document
|
|
11715 |
# in config.status.
|
|
11716 |
rm -f conftest.defines conftest.undefs
|
|
11717 |
# Using a here document instead of a string reduces the quoting nightmare.
|
|
11718 |
# Putting comments in sed scripts is not portable.
|
|
11719 |
#
|
|
11720 |
# `end' is used to avoid that the second main sed command (meant for
|
|
11721 |
# 0-ary CPP macros) applies to n-ary macro definitions.
|
|
11722 |
# See the Autoconf documentation for `clear'.
|
|
11723 |
cat >confdef2sed.sed <<\_ACEOF
|
|
11724 |
s/[\\&,]/\\&/g
|
|
11725 |
s,[\\$`],\\&,g
|
|
11726 |
t clear
|
|
11727 |
: clear
|
|
11728 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
|
11729 |
t end
|
|
11730 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
|
11731 |
: end
|
|
11732 |
_ACEOF
|
|
11733 |
# If some macros were called several times there might be several times
|
|
11734 |
# the same #defines, which is useless. Nevertheless, we may not want to
|
|
11735 |
# sort them, since we want the *last* AC-DEFINE to be honored.
|
|
11736 |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
|
11737 |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
|
11738 |
rm -f confdef2sed.sed
|
|
11739 |
|
|
11740 |
# This sed command replaces #undef with comments. This is necessary, for
|
|
11741 |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
11742 |
# on some systems where configure will not decide to define it.
|
|
11743 |
cat >>conftest.undefs <<\_ACEOF
|
|
11744 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
|
11745 |
_ACEOF
|
|
11746 |
|
|
11747 |
# Break up conftest.defines because some shells have a limit on the size
|
|
11748 |
# of here documents, and old seds have small limits too (100 cmds).
|
|
11749 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
|
11750 |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
|
11751 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
|
11752 |
echo ' :' >>$CONFIG_STATUS
|
|
11753 |
rm -f conftest.tail
|
|
11754 |
while grep . conftest.defines >/dev/null
|
|
11755 |
do
|
|
11756 |
# Write a limited-size here document to $tmp/defines.sed.
|
|
11757 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
|
11758 |
# Speed up: don't consider the non `#define' lines.
|
|
11759 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
|
11760 |
# Work around the forget-to-reset-the-flag bug.
|
|
11761 |
echo 't clr' >>$CONFIG_STATUS
|
|
11762 |
echo ': clr' >>$CONFIG_STATUS
|
|
11763 |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
|
11764 |
echo 'CEOF
|
|
11765 |
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
|
11766 |
rm -f $tmp/in
|
|
11767 |
mv $tmp/out $tmp/in
|
|
11768 |
' >>$CONFIG_STATUS
|
|
11769 |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
|
11770 |
rm -f conftest.defines
|
|
11771 |
mv conftest.tail conftest.defines
|
|
11772 |
done
|
|
11773 |
rm -f conftest.defines
|
|
11774 |
echo ' fi # grep' >>$CONFIG_STATUS
|
|
11775 |
echo >>$CONFIG_STATUS
|
|
11776 |
|
|
11777 |
# Break up conftest.undefs because some shells have a limit on the size
|
|
11778 |
# of here documents, and old seds have small limits too (100 cmds).
|
|
11779 |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
|
11780 |
rm -f conftest.tail
|
|
11781 |
while grep . conftest.undefs >/dev/null
|
|
11782 |
do
|
|
11783 |
# Write a limited-size here document to $tmp/undefs.sed.
|
|
11784 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
|
11785 |
# Speed up: don't consider the non `#undef'
|
|
11786 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
|
11787 |
# Work around the forget-to-reset-the-flag bug.
|
|
11788 |
echo 't clr' >>$CONFIG_STATUS
|
|
11789 |
echo ': clr' >>$CONFIG_STATUS
|
|
11790 |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
|
11791 |
echo 'CEOF
|
|
11792 |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
|
11793 |
rm -f $tmp/in
|
|
11794 |
mv $tmp/out $tmp/in
|
|
11795 |
' >>$CONFIG_STATUS
|
|
11796 |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
|
11797 |
rm -f conftest.undefs
|
|
11798 |
mv conftest.tail conftest.undefs
|
|
11799 |
done
|
|
11800 |
rm -f conftest.undefs
|
|
11801 |
|
|
11802 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
11803 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
11804 |
# use $as_me), people would be surprised to read:
|
|
11805 |
# /* config.h. Generated by config.status. */
|
|
11806 |
if test x"$ac_file" = x-; then
|
|
11807 |
echo "/* Generated by configure. */" >$tmp/config.h
|
|
11808 |
else
|
|
11809 |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
|
11810 |
fi
|
|
11811 |
cat $tmp/in >>$tmp/config.h
|
|
11812 |
rm -f $tmp/in
|
9580 | 11813 |
if test x"$ac_file" != x-; then
|
9581 | |
{
|
9582 | |
$as_echo "/* $configure_input */" \
|
9583 | |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
9584 | |
} >"$tmp/config.h" \
|
9585 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
9586 | |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
9587 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
9588 | |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
|
11814 |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
|
11815 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
11816 |
echo "$as_me: $ac_file is unchanged" >&6;}
|
9589 | 11817 |
else
|
9590 | |
rm -f "$ac_file"
|
9591 | |
mv "$tmp/config.h" "$ac_file" \
|
9592 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
11818 |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
11819 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
11820 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
11821 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
11822 |
X"$ac_file" : 'X\(/\)' \| \
|
|
11823 |
. : '\(.\)' 2>/dev/null ||
|
|
11824 |
echo X"$ac_file" |
|
|
11825 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
11826 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
11827 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
11828 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
11829 |
s/.*/./; q'`
|
|
11830 |
{ if $as_mkdir_p; then
|
|
11831 |
mkdir -p "$ac_dir"
|
|
11832 |
else
|
|
11833 |
as_dir="$ac_dir"
|
|
11834 |
as_dirs=
|
|
11835 |
while test ! -d "$as_dir"; do
|
|
11836 |
as_dirs="$as_dir $as_dirs"
|
|
11837 |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
11838 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
11839 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
11840 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
11841 |
X"$as_dir" : 'X\(/\)' \| \
|
|
11842 |
. : '\(.\)' 2>/dev/null ||
|
|
11843 |
echo X"$as_dir" |
|
|
11844 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
11845 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
11846 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
11847 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
11848 |
s/.*/./; q'`
|
|
11849 |
done
|
|
11850 |
test ! -n "$as_dirs" || mkdir $as_dirs
|
|
11851 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
|
11852 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|
11853 |
{ (exit 1); exit 1; }; }; }
|
|
11854 |
|
|
11855 |
rm -f $ac_file
|
|
11856 |
mv $tmp/config.h $ac_file
|
9593 | 11857 |
fi
|
9594 | 11858 |
else
|
9595 | |
$as_echo "/* $configure_input */" \
|
9596 | |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
9597 | |
|| as_fn_error "could not create -" "$LINENO" 5
|
|
11859 |
cat $tmp/config.h
|
|
11860 |
rm -f $tmp/config.h
|
9598 | 11861 |
fi
|
9599 | |
# Compute "$ac_file"'s index in $config_headers.
|
|
11862 |
# Compute $ac_file's index in $config_headers.
|
9600 | 11863 |
_am_stamp_count=1
|
9601 | 11864 |
for _am_header in $config_headers :; do
|
9602 | 11865 |
case $_am_header in
|
9603 | |
"$ac_file" | "$ac_file":* )
|
|
11866 |
$ac_file | $ac_file:* )
|
9604 | 11867 |
break ;;
|
9605 | 11868 |
* )
|
9606 | 11869 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
9607 | 11870 |
esac
|
9608 | 11871 |
done
|
9609 | |
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
|
9610 | |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
9611 | |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
9612 | |
X"$ac_file" : 'X\(//\)$' \| \
|
9613 | |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
9614 | |
$as_echo X"$ac_file" |
|
9615 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9616 | |
s//\1/
|
9617 | |
q
|
9618 | |
}
|
9619 | |
/^X\(\/\/\)[^/].*/{
|
9620 | |
s//\1/
|
9621 | |
q
|
9622 | |
}
|
9623 | |
/^X\(\/\/\)$/{
|
9624 | |
s//\1/
|
9625 | |
q
|
9626 | |
}
|
9627 | |
/^X\(\/\).*/{
|
9628 | |
s//\1/
|
9629 | |
q
|
9630 | |
}
|
9631 | |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
9632 | |
;;
|
9633 | |
|
9634 | |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
9635 | |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
9636 | |
;;
|
9637 | |
esac
|
9638 | |
|
9639 | |
|
9640 | |
case $ac_file$ac_mode in
|
9641 | |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
|
11872 |
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
|
|
11873 |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
11874 |
X$ac_file : 'X\(//\)[^/]' \| \
|
|
11875 |
X$ac_file : 'X\(//\)$' \| \
|
|
11876 |
X$ac_file : 'X\(/\)' \| \
|
|
11877 |
. : '\(.\)' 2>/dev/null ||
|
|
11878 |
echo X$ac_file |
|
|
11879 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
11880 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
11881 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
11882 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
11883 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
|
11884 |
done
|
|
11885 |
_ACEOF
|
|
11886 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
11887 |
|
|
11888 |
#
|
|
11889 |
# CONFIG_COMMANDS section.
|
|
11890 |
#
|
|
11891 |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
|
11892 |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
|
11893 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
11894 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
|
11895 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
11896 |
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
|
11897 |
X"$ac_dest" : 'X\(//\)$' \| \
|
|
11898 |
X"$ac_dest" : 'X\(/\)' \| \
|
|
11899 |
. : '\(.\)' 2>/dev/null ||
|
|
11900 |
echo X"$ac_dest" |
|
|
11901 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
11902 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
11903 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
11904 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
11905 |
s/.*/./; q'`
|
|
11906 |
{ if $as_mkdir_p; then
|
|
11907 |
mkdir -p "$ac_dir"
|
|
11908 |
else
|
|
11909 |
as_dir="$ac_dir"
|
|
11910 |
as_dirs=
|
|
11911 |
while test ! -d "$as_dir"; do
|
|
11912 |
as_dirs="$as_dir $as_dirs"
|
|
11913 |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
11914 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
11915 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
11916 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
11917 |
X"$as_dir" : 'X\(/\)' \| \
|
|
11918 |
. : '\(.\)' 2>/dev/null ||
|
|
11919 |
echo X"$as_dir" |
|
|
11920 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
11921 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
11922 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
11923 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
11924 |
s/.*/./; q'`
|
|
11925 |
done
|
|
11926 |
test ! -n "$as_dirs" || mkdir $as_dirs
|
|
11927 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
|
11928 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|
11929 |
{ (exit 1); exit 1; }; }; }
|
|
11930 |
|
|
11931 |
ac_builddir=.
|
|
11932 |
|
|
11933 |
if test "$ac_dir" != .; then
|
|
11934 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
11935 |
# A "../" for each directory in $ac_dir_suffix.
|
|
11936 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
|
11937 |
else
|
|
11938 |
ac_dir_suffix= ac_top_builddir=
|
|
11939 |
fi
|
|
11940 |
|
|
11941 |
case $srcdir in
|
|
11942 |
.) # No --srcdir option. We are building in place.
|
|
11943 |
ac_srcdir=.
|
|
11944 |
if test -z "$ac_top_builddir"; then
|
|
11945 |
ac_top_srcdir=.
|
|
11946 |
else
|
|
11947 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
|
11948 |
fi ;;
|
|
11949 |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
11950 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
11951 |
ac_top_srcdir=$srcdir ;;
|
|
11952 |
*) # Relative path.
|
|
11953 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
11954 |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
11955 |
esac
|
|
11956 |
|
|
11957 |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
|
11958 |
# the directories may not exist.
|
|
11959 |
case `pwd` in
|
|
11960 |
.) ac_abs_builddir="$ac_dir";;
|
|
11961 |
*)
|
|
11962 |
case "$ac_dir" in
|
|
11963 |
.) ac_abs_builddir=`pwd`;;
|
|
11964 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|
11965 |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
|
11966 |
esac;;
|
|
11967 |
esac
|
|
11968 |
case $ac_abs_builddir in
|
|
11969 |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
11970 |
*)
|
|
11971 |
case ${ac_top_builddir}. in
|
|
11972 |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
|
11973 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
11974 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
|
11975 |
esac;;
|
|
11976 |
esac
|
|
11977 |
case $ac_abs_builddir in
|
|
11978 |
.) ac_abs_srcdir=$ac_srcdir;;
|
|
11979 |
*)
|
|
11980 |
case $ac_srcdir in
|
|
11981 |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
|
11982 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
|
11983 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
|
11984 |
esac;;
|
|
11985 |
esac
|
|
11986 |
case $ac_abs_builddir in
|
|
11987 |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
11988 |
*)
|
|
11989 |
case $ac_top_srcdir in
|
|
11990 |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
|
11991 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
11992 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
|
11993 |
esac;;
|
|
11994 |
esac
|
|
11995 |
|
|
11996 |
|
|
11997 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
|
11998 |
echo "$as_me: executing $ac_dest commands" >&6;}
|
|
11999 |
case $ac_dest in
|
|
12000 |
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
9642 | 12001 |
# Strip MF so we end up with the name of the file.
|
9643 | 12002 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
9644 | 12003 |
# Check whether this is an Automake generated Makefile or not.
|
|
9648 | 12007 |
# each Makefile.in and add a new line on top of each file to say so.
|
9649 | 12008 |
# So let's grep whole file.
|
9650 | 12009 |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
9651 | |
dirpart=`$as_dirname -- "$mf" ||
|
|
12010 |
dirpart=`(dirname "$mf") 2>/dev/null ||
|
9652 | 12011 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
9653 | 12012 |
X"$mf" : 'X\(//\)[^/]' \| \
|
9654 | 12013 |
X"$mf" : 'X\(//\)$' \| \
|
9655 | |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
9656 | |
$as_echo X"$mf" |
|
9657 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9658 | |
s//\1/
|
9659 | |
q
|
9660 | |
}
|
9661 | |
/^X\(\/\/\)[^/].*/{
|
9662 | |
s//\1/
|
9663 | |
q
|
9664 | |
}
|
9665 | |
/^X\(\/\/\)$/{
|
9666 | |
s//\1/
|
9667 | |
q
|
9668 | |
}
|
9669 | |
/^X\(\/\).*/{
|
9670 | |
s//\1/
|
9671 | |
q
|
9672 | |
}
|
9673 | |
s/.*/./; q'`
|
|
12014 |
X"$mf" : 'X\(/\)' \| \
|
|
12015 |
. : '\(.\)' 2>/dev/null ||
|
|
12016 |
echo X"$mf" |
|
|
12017 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
12018 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
12019 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
12020 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
12021 |
s/.*/./; q'`
|
9674 | 12022 |
else
|
9675 | 12023 |
continue
|
9676 | 12024 |
fi
|
|
9692 | 12040 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
9693 | 12041 |
# Make sure the directory exists.
|
9694 | 12042 |
test -f "$dirpart/$file" && continue
|
9695 | |
fdir=`$as_dirname -- "$file" ||
|
|
12043 |
fdir=`(dirname "$file") 2>/dev/null ||
|
9696 | 12044 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
9697 | 12045 |
X"$file" : 'X\(//\)[^/]' \| \
|
9698 | 12046 |
X"$file" : 'X\(//\)$' \| \
|
9699 | |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
9700 | |
$as_echo X"$file" |
|
9701 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9702 | |
s//\1/
|
9703 | |
q
|
9704 | |
}
|
9705 | |
/^X\(\/\/\)[^/].*/{
|
9706 | |
s//\1/
|
9707 | |
q
|
9708 | |
}
|
9709 | |
/^X\(\/\/\)$/{
|
9710 | |
s//\1/
|
9711 | |
q
|
9712 | |
}
|
9713 | |
/^X\(\/\).*/{
|
9714 | |
s//\1/
|
9715 | |
q
|
9716 | |
}
|
9717 | |
s/.*/./; q'`
|
9718 | |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
|
12047 |
X"$file" : 'X\(/\)' \| \
|
|
12048 |
. : '\(.\)' 2>/dev/null ||
|
|
12049 |
echo X"$file" |
|
|
12050 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
12051 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
12052 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
12053 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
12054 |
s/.*/./; q'`
|
|
12055 |
{ if $as_mkdir_p; then
|
|
12056 |
mkdir -p $dirpart/$fdir
|
|
12057 |
else
|
|
12058 |
as_dir=$dirpart/$fdir
|
|
12059 |
as_dirs=
|
|
12060 |
while test ! -d "$as_dir"; do
|
|
12061 |
as_dirs="$as_dir $as_dirs"
|
|
12062 |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
12063 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
12064 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
12065 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
12066 |
X"$as_dir" : 'X\(/\)' \| \
|
|
12067 |
. : '\(.\)' 2>/dev/null ||
|
|
12068 |
echo X"$as_dir" |
|
|
12069 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
12070 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
12071 |
/^X\(\/\/\)$/{ s//\1/; q; }
|
|
12072 |
/^X\(\/\).*/{ s//\1/; q; }
|
|
12073 |
s/.*/./; q'`
|
|
12074 |
done
|
|
12075 |
test ! -n "$as_dirs" || mkdir $as_dirs
|
|
12076 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
|
|
12077 |
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
|
|
12078 |
{ (exit 1); exit 1; }; }; }
|
|
12079 |
|
9719 | 12080 |
# echo "creating $dirpart/$file"
|
9720 | 12081 |
echo '# dummy' > "$dirpart/$file"
|
9721 | 12082 |
done
|
9722 | 12083 |
done
|
9723 | 12084 |
;;
|
9724 | |
|
9725 | 12085 |
esac
|
9726 | |
done # for ac_tag
|
9727 | |
|
9728 | |
|
9729 | |
as_fn_exit 0
|
9730 | |
_ACEOF
|
|
12086 |
done
|
|
12087 |
_ACEOF
|
|
12088 |
|
|
12089 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
12090 |
|
|
12091 |
{ (exit 0); exit 0; }
|
|
12092 |
_ACEOF
|
|
12093 |
chmod +x $CONFIG_STATUS
|
9731 | 12094 |
ac_clean_files=$ac_clean_files_save
|
9732 | |
|
9733 | |
test $ac_write_fail = 0 ||
|
9734 | |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
9735 | 12095 |
|
9736 | 12096 |
|
9737 | 12097 |
# configure is writing to config.log, and then calls config.status.
|
|
9752 | 12112 |
exec 5>>config.log
|
9753 | 12113 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
9754 | 12114 |
# would make configure fail if this is the last instruction.
|
9755 | |
$ac_cs_success || as_fn_exit $?
|
9756 | |
fi
|
9757 | |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
9758 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
9759 | |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
9760 | |
fi
|
9761 | |
|
9762 | |
|
|
12115 |
$ac_cs_success || { (exit 1); exit 1; }
|
|
12116 |
fi
|
|
12117 |
|
|
12118 |
|