0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.65.
|
3 | |
#
|
|
2 |
# Generated by GNU Autoconf 2.61.
|
4 | 3 |
#
|
5 | 4 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
6 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
7 | |
# Inc.
|
8 | |
#
|
9 | |
#
|
|
5 |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
10 | 6 |
# This configure script is free software; the Free Software Foundation
|
11 | 7 |
# gives unlimited permission to copy, distribute and modify it.
|
12 | |
## -------------------- ##
|
13 | |
## M4sh Initialization. ##
|
14 | |
## -------------------- ##
|
|
8 |
## --------------------- ##
|
|
9 |
## M4sh Initialization. ##
|
|
10 |
## --------------------- ##
|
15 | 11 |
|
16 | 12 |
# Be more Bourne compatible
|
17 | 13 |
DUALCASE=1; export DUALCASE # for MKS sh
|
18 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
14 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
19 | 15 |
emulate sh
|
20 | 16 |
NULLCMD=:
|
21 | |
# 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
|
22 | 18 |
# is contrary to our usage. Disable this feature.
|
23 | 19 |
alias -g '${1+"$@"}'='"$@"'
|
24 | 20 |
setopt NO_GLOB_SUBST
|
25 | 21 |
else
|
26 | |
case `(set -o) 2>/dev/null` in #(
|
27 | |
*posix*) :
|
28 | |
set -o posix ;; #(
|
29 | |
*) :
|
30 | |
;;
|
31 | |
esac
|
32 | |
fi
|
33 | |
|
34 | |
|
35 | |
as_nl='
|
36 | |
'
|
37 | |
export as_nl
|
38 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
39 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
40 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
41 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
42 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
43 | |
# but without wasting forks for bash or zsh.
|
44 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
45 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
46 | |
as_echo='print -r --'
|
47 | |
as_echo_n='print -rn --'
|
48 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
49 | |
as_echo='printf %s\n'
|
50 | |
as_echo_n='printf %s'
|
51 | |
else
|
52 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
53 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
54 | |
as_echo_n='/usr/ucb/echo -n'
|
55 | |
else
|
56 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
57 | |
as_echo_n_body='eval
|
58 | |
arg=$1;
|
59 | |
case $arg in #(
|
60 | |
*"$as_nl"*)
|
61 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
62 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
63 | |
esac;
|
64 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
65 | |
'
|
66 | |
export as_echo_n_body
|
67 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
68 | |
fi
|
69 | |
export as_echo_body
|
70 | |
as_echo='sh -c $as_echo_body as_echo'
|
71 | |
fi
|
|
22 |
case `(set -o) 2>/dev/null` in
|
|
23 |
*posix*) set -o posix ;;
|
|
24 |
esac
|
|
25 |
|
|
26 |
fi
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
# PATH needs CR
|
|
32 |
# Avoid depending upon Character Ranges.
|
|
33 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
34 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
35 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
36 |
as_cr_digits='0123456789'
|
|
37 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
72 | 38 |
|
73 | 39 |
# The user is always right.
|
74 | 40 |
if test "${PATH_SEPARATOR+set}" != set; then
|
75 | |
PATH_SEPARATOR=:
|
76 | |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
77 | |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
78 | |
PATH_SEPARATOR=';'
|
79 | |
}
|
|
41 |
echo "#! /bin/sh" >conf$$.sh
|
|
42 |
echo "exit 0" >>conf$$.sh
|
|
43 |
chmod +x conf$$.sh
|
|
44 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
45 |
PATH_SEPARATOR=';'
|
|
46 |
else
|
|
47 |
PATH_SEPARATOR=:
|
|
48 |
fi
|
|
49 |
rm -f conf$$.sh
|
|
50 |
fi
|
|
51 |
|
|
52 |
# Support unset when possible.
|
|
53 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
54 |
as_unset=unset
|
|
55 |
else
|
|
56 |
as_unset=false
|
80 | 57 |
fi
|
81 | 58 |
|
82 | 59 |
|
|
85 | 62 |
# there to prevent editors from complaining about space-tab.
|
86 | 63 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
87 | 64 |
# splitting by setting IFS to empty value.)
|
|
65 |
as_nl='
|
|
66 |
'
|
88 | 67 |
IFS=" "" $as_nl"
|
89 | 68 |
|
90 | 69 |
# Find who we are. Look in the path if we contain no directory separator.
|
91 | |
case $0 in #((
|
|
70 |
case $0 in
|
92 | 71 |
*[\\/]* ) as_myself=$0 ;;
|
93 | 72 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
94 | 73 |
for as_dir in $PATH
|
95 | 74 |
do
|
96 | 75 |
IFS=$as_save_IFS
|
97 | 76 |
test -z "$as_dir" && as_dir=.
|
98 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
99 | |
done
|
|
77 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
78 |
done
|
100 | 79 |
IFS=$as_save_IFS
|
101 | 80 |
|
102 | 81 |
;;
|
|
107 | 86 |
as_myself=$0
|
108 | 87 |
fi
|
109 | 88 |
if test ! -f "$as_myself"; then
|
110 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
111 | |
exit 1
|
112 | |
fi
|
113 | |
|
114 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
115 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
116 | |
# suppresses any "Segmentation fault" message there. '((' could
|
117 | |
# trigger a bug in pdksh 5.2.14.
|
118 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
119 | |
do eval test x\${$as_var+set} = xset \
|
120 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
89 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
90 |
{ (exit 1); exit 1; }
|
|
91 |
fi
|
|
92 |
|
|
93 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
94 |
for as_var in ENV MAIL MAILPATH
|
|
95 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
121 | 96 |
done
|
122 | 97 |
PS1='$ '
|
123 | 98 |
PS2='> '
|
124 | 99 |
PS4='+ '
|
125 | 100 |
|
126 | 101 |
# NLS nuisances.
|
127 | |
LC_ALL=C
|
128 | |
export LC_ALL
|
129 | |
LANGUAGE=C
|
130 | |
export LANGUAGE
|
131 | |
|
132 | |
# CDPATH.
|
133 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
134 | |
|
135 | |
if test "x$CONFIG_SHELL" = x; then
|
136 | |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
137 | |
emulate sh
|
138 | |
NULLCMD=:
|
139 | |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
140 | |
# is contrary to our usage. Disable this feature.
|
141 | |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
142 | |
setopt NO_GLOB_SUBST
|
143 | |
else
|
144 | |
case \`(set -o) 2>/dev/null\` in #(
|
145 | |
*posix*) :
|
146 | |
set -o posix ;; #(
|
147 | |
*) :
|
148 | |
;;
|
149 | |
esac
|
150 | |
fi
|
151 | |
"
|
152 | |
as_required="as_fn_return () { (exit \$1); }
|
153 | |
as_fn_success () { as_fn_return 0; }
|
154 | |
as_fn_failure () { as_fn_return 1; }
|
155 | |
as_fn_ret_success () { return 0; }
|
156 | |
as_fn_ret_failure () { return 1; }
|
157 | |
|
158 | |
exitcode=0
|
159 | |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
160 | |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
161 | |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
162 | |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
163 | |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
164 | |
|
165 | |
else
|
166 | |
exitcode=1; echo positional parameters were not saved.
|
167 | |
fi
|
168 | |
test x\$exitcode = x0 || exit 1"
|
169 | |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
170 | |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
171 | |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
172 | |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
173 | |
test \$(( 1 + 1 )) = 2 || exit 1"
|
174 | |
if (eval "$as_required") 2>/dev/null; then :
|
175 | |
as_have_required=yes
|
176 | |
else
|
177 | |
as_have_required=no
|
178 | |
fi
|
179 | |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
180 | |
|
181 | |
else
|
182 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
183 | |
as_found=false
|
184 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
102 |
for as_var in \
|
|
103 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
104 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
105 |
LC_TELEPHONE LC_TIME
|
185 | 106 |
do
|
186 | |
IFS=$as_save_IFS
|
187 | |
test -z "$as_dir" && as_dir=.
|
188 | |
as_found=:
|
189 | |
case $as_dir in #(
|
190 | |
/*)
|
191 | |
for as_base in sh bash ksh sh5; do
|
192 | |
# Try only shells that exist, to save several forks.
|
193 | |
as_shell=$as_dir/$as_base
|
194 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
195 | |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
196 | |
CONFIG_SHELL=$as_shell as_have_required=yes
|
197 | |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
198 | |
break 2
|
199 | |
fi
|
200 | |
fi
|
201 | |
done;;
|
202 | |
esac
|
203 | |
as_found=false
|
|
107 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
108 |
eval $as_var=C; export $as_var
|
|
109 |
else
|
|
110 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
111 |
fi
|
204 | 112 |
done
|
205 | |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
206 | |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
207 | |
CONFIG_SHELL=$SHELL as_have_required=yes
|
208 | |
fi; }
|
209 | |
IFS=$as_save_IFS
|
210 | |
|
211 | |
|
212 | |
if test "x$CONFIG_SHELL" != x; then :
|
213 | |
# We cannot yet assume a decent shell, so we have to provide a
|
214 | |
# neutralization value for shells without unset; and this also
|
215 | |
# works around shells that cannot unset nonexistent variables.
|
216 | |
BASH_ENV=/dev/null
|
217 | |
ENV=/dev/null
|
218 | |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
219 | |
export CONFIG_SHELL
|
220 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
221 | |
fi
|
222 | |
|
223 | |
if test x$as_have_required = xno; then :
|
224 | |
$as_echo "$0: This script requires a shell more modern than all"
|
225 | |
$as_echo "$0: the shells that I found on your system."
|
226 | |
if test x${ZSH_VERSION+set} = xset ; then
|
227 | |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
228 | |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
229 | |
else
|
230 | |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
231 | |
$0: including any error possibly output before this
|
232 | |
$0: message. Then install a modern shell, or manually run
|
233 | |
$0: the script under such a shell if you do have one."
|
234 | |
fi
|
235 | |
exit 1
|
236 | |
fi
|
237 | |
fi
|
238 | |
fi
|
239 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
240 | |
export SHELL
|
241 | |
# Unset more variables known to interfere with behavior of common tools.
|
242 | |
CLICOLOR_FORCE= GREP_OPTIONS=
|
243 | |
unset CLICOLOR_FORCE GREP_OPTIONS
|
244 | |
|
245 | |
## --------------------- ##
|
246 | |
## M4sh Shell Functions. ##
|
247 | |
## --------------------- ##
|
248 | |
# as_fn_unset VAR
|
249 | |
# ---------------
|
250 | |
# Portably unset VAR.
|
251 | |
as_fn_unset ()
|
252 | |
{
|
253 | |
{ eval $1=; unset $1;}
|
254 | |
}
|
255 | |
as_unset=as_fn_unset
|
256 | |
|
257 | |
# as_fn_set_status STATUS
|
258 | |
# -----------------------
|
259 | |
# Set $? to STATUS, without forking.
|
260 | |
as_fn_set_status ()
|
261 | |
{
|
262 | |
return $1
|
263 | |
} # as_fn_set_status
|
264 | |
|
265 | |
# as_fn_exit STATUS
|
266 | |
# -----------------
|
267 | |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
268 | |
as_fn_exit ()
|
269 | |
{
|
270 | |
set +e
|
271 | |
as_fn_set_status $1
|
272 | |
exit $1
|
273 | |
} # as_fn_exit
|
274 | |
|
275 | |
# as_fn_mkdir_p
|
276 | |
# -------------
|
277 | |
# Create "$as_dir" as a directory, including parents if necessary.
|
278 | |
as_fn_mkdir_p ()
|
279 | |
{
|
280 | |
|
281 | |
case $as_dir in #(
|
282 | |
-*) as_dir=./$as_dir;;
|
283 | |
esac
|
284 | |
test -d "$as_dir" || eval $as_mkdir_p || {
|
285 | |
as_dirs=
|
286 | |
while :; do
|
287 | |
case $as_dir in #(
|
288 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
289 | |
*) as_qdir=$as_dir;;
|
290 | |
esac
|
291 | |
as_dirs="'$as_qdir' $as_dirs"
|
292 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
293 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
294 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
295 | |
X"$as_dir" : 'X\(//\)$' \| \
|
296 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
297 | |
$as_echo X"$as_dir" |
|
298 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
299 | |
s//\1/
|
300 | |
q
|
301 | |
}
|
302 | |
/^X\(\/\/\)[^/].*/{
|
303 | |
s//\1/
|
304 | |
q
|
305 | |
}
|
306 | |
/^X\(\/\/\)$/{
|
307 | |
s//\1/
|
308 | |
q
|
309 | |
}
|
310 | |
/^X\(\/\).*/{
|
311 | |
s//\1/
|
312 | |
q
|
313 | |
}
|
314 | |
s/.*/./; q'`
|
315 | |
test -d "$as_dir" && break
|
316 | |
done
|
317 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
318 | |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
319 | |
|
320 | |
|
321 | |
} # as_fn_mkdir_p
|
322 | |
# as_fn_append VAR VALUE
|
323 | |
# ----------------------
|
324 | |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
325 | |
# advantage of any shell optimizations that allow amortized linear growth over
|
326 | |
# repeated appends, instead of the typical quadratic growth present in naive
|
327 | |
# implementations.
|
328 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
329 | |
eval 'as_fn_append ()
|
330 | |
{
|
331 | |
eval $1+=\$2
|
332 | |
}'
|
333 | |
else
|
334 | |
as_fn_append ()
|
335 | |
{
|
336 | |
eval $1=\$$1\$2
|
337 | |
}
|
338 | |
fi # as_fn_append
|
339 | |
|
340 | |
# as_fn_arith ARG...
|
341 | |
# ------------------
|
342 | |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
343 | |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
344 | |
# must be portable across $(()) and expr.
|
345 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
346 | |
eval 'as_fn_arith ()
|
347 | |
{
|
348 | |
as_val=$(( $* ))
|
349 | |
}'
|
350 | |
else
|
351 | |
as_fn_arith ()
|
352 | |
{
|
353 | |
as_val=`expr "$@" || test $? -eq 1`
|
354 | |
}
|
355 | |
fi # as_fn_arith
|
356 | |
|
357 | |
|
358 | |
# as_fn_error ERROR [LINENO LOG_FD]
|
359 | |
# ---------------------------------
|
360 | |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
361 | |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
362 | |
# script with status $?, using 1 if that was 0.
|
363 | |
as_fn_error ()
|
364 | |
{
|
365 | |
as_status=$?; test $as_status -eq 0 && as_status=1
|
366 | |
if test "$3"; then
|
367 | |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
368 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
369 | |
fi
|
370 | |
$as_echo "$as_me: error: $1" >&2
|
371 | |
as_fn_exit $as_status
|
372 | |
} # as_fn_error
|
373 | |
|
|
113 |
|
|
114 |
# Required to use basename.
|
374 | 115 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
375 | 116 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
376 | 117 |
as_expr=expr
|
|
384 | 125 |
as_basename=false
|
385 | 126 |
fi
|
386 | 127 |
|
387 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
388 | |
as_dirname=dirname
|
389 | |
else
|
390 | |
as_dirname=false
|
391 | |
fi
|
392 | |
|
|
128 |
|
|
129 |
# Name of the executable.
|
393 | 130 |
as_me=`$as_basename -- "$0" ||
|
394 | 131 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
395 | 132 |
X"$0" : 'X\(//\)$' \| \
|
396 | 133 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
397 | |
$as_echo X/"$0" |
|
|
134 |
echo X/"$0" |
|
398 | 135 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
399 | 136 |
s//\1/
|
400 | 137 |
q
|
|
409 | 146 |
}
|
410 | 147 |
s/.*/./; q'`
|
411 | 148 |
|
412 | |
# Avoid depending upon Character Ranges.
|
413 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
414 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
415 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
416 | |
as_cr_digits='0123456789'
|
417 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
418 | |
|
419 | |
|
420 | |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
421 | |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
422 | |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
423 | |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
424 | |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
|
149 |
# CDPATH.
|
|
150 |
$as_unset CDPATH
|
|
151 |
|
|
152 |
|
|
153 |
if test "x$CONFIG_SHELL" = x; then
|
|
154 |
if (eval ":") 2>/dev/null; then
|
|
155 |
as_have_required=yes
|
|
156 |
else
|
|
157 |
as_have_required=no
|
|
158 |
fi
|
|
159 |
|
|
160 |
if test $as_have_required = yes && (eval ":
|
|
161 |
(as_func_return () {
|
|
162 |
(exit \$1)
|
|
163 |
}
|
|
164 |
as_func_success () {
|
|
165 |
as_func_return 0
|
|
166 |
}
|
|
167 |
as_func_failure () {
|
|
168 |
as_func_return 1
|
|
169 |
}
|
|
170 |
as_func_ret_success () {
|
|
171 |
return 0
|
|
172 |
}
|
|
173 |
as_func_ret_failure () {
|
|
174 |
return 1
|
|
175 |
}
|
|
176 |
|
|
177 |
exitcode=0
|
|
178 |
if as_func_success; then
|
|
179 |
:
|
|
180 |
else
|
|
181 |
exitcode=1
|
|
182 |
echo as_func_success failed.
|
|
183 |
fi
|
|
184 |
|
|
185 |
if as_func_failure; then
|
|
186 |
exitcode=1
|
|
187 |
echo as_func_failure succeeded.
|
|
188 |
fi
|
|
189 |
|
|
190 |
if as_func_ret_success; then
|
|
191 |
:
|
|
192 |
else
|
|
193 |
exitcode=1
|
|
194 |
echo as_func_ret_success failed.
|
|
195 |
fi
|
|
196 |
|
|
197 |
if as_func_ret_failure; then
|
|
198 |
exitcode=1
|
|
199 |
echo as_func_ret_failure succeeded.
|
|
200 |
fi
|
|
201 |
|
|
202 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
203 |
:
|
|
204 |
else
|
|
205 |
exitcode=1
|
|
206 |
echo positional parameters were not saved.
|
|
207 |
fi
|
|
208 |
|
|
209 |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
|
210 |
|
|
211 |
(
|
|
212 |
as_lineno_1=\$LINENO
|
|
213 |
as_lineno_2=\$LINENO
|
|
214 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|
215 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|
216 |
") 2> /dev/null; then
|
|
217 |
:
|
|
218 |
else
|
|
219 |
as_candidate_shells=
|
|
220 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
221 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
222 |
do
|
|
223 |
IFS=$as_save_IFS
|
|
224 |
test -z "$as_dir" && as_dir=.
|
|
225 |
case $as_dir in
|
|
226 |
/*)
|
|
227 |
for as_base in sh bash ksh sh5; do
|
|
228 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
|
229 |
done;;
|
|
230 |
esac
|
|
231 |
done
|
|
232 |
IFS=$as_save_IFS
|
|
233 |
|
|
234 |
|
|
235 |
for as_shell in $as_candidate_shells $SHELL; do
|
|
236 |
# Try only shells that exist, to save several forks.
|
|
237 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
238 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
|
239 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
240 |
emulate sh
|
|
241 |
NULLCMD=:
|
|
242 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
243 |
# is contrary to our usage. Disable this feature.
|
|
244 |
alias -g '${1+"$@"}'='"$@"'
|
|
245 |
setopt NO_GLOB_SUBST
|
|
246 |
else
|
|
247 |
case `(set -o) 2>/dev/null` in
|
|
248 |
*posix*) set -o posix ;;
|
|
249 |
esac
|
|
250 |
|
|
251 |
fi
|
|
252 |
|
|
253 |
|
|
254 |
:
|
|
255 |
_ASEOF
|
|
256 |
}; then
|
|
257 |
CONFIG_SHELL=$as_shell
|
|
258 |
as_have_required=yes
|
|
259 |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
|
260 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
261 |
emulate sh
|
|
262 |
NULLCMD=:
|
|
263 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
264 |
# is contrary to our usage. Disable this feature.
|
|
265 |
alias -g '${1+"$@"}'='"$@"'
|
|
266 |
setopt NO_GLOB_SUBST
|
|
267 |
else
|
|
268 |
case `(set -o) 2>/dev/null` in
|
|
269 |
*posix*) set -o posix ;;
|
|
270 |
esac
|
|
271 |
|
|
272 |
fi
|
|
273 |
|
|
274 |
|
|
275 |
:
|
|
276 |
(as_func_return () {
|
|
277 |
(exit $1)
|
|
278 |
}
|
|
279 |
as_func_success () {
|
|
280 |
as_func_return 0
|
|
281 |
}
|
|
282 |
as_func_failure () {
|
|
283 |
as_func_return 1
|
|
284 |
}
|
|
285 |
as_func_ret_success () {
|
|
286 |
return 0
|
|
287 |
}
|
|
288 |
as_func_ret_failure () {
|
|
289 |
return 1
|
|
290 |
}
|
|
291 |
|
|
292 |
exitcode=0
|
|
293 |
if as_func_success; then
|
|
294 |
:
|
|
295 |
else
|
|
296 |
exitcode=1
|
|
297 |
echo as_func_success failed.
|
|
298 |
fi
|
|
299 |
|
|
300 |
if as_func_failure; then
|
|
301 |
exitcode=1
|
|
302 |
echo as_func_failure succeeded.
|
|
303 |
fi
|
|
304 |
|
|
305 |
if as_func_ret_success; then
|
|
306 |
:
|
|
307 |
else
|
|
308 |
exitcode=1
|
|
309 |
echo as_func_ret_success failed.
|
|
310 |
fi
|
|
311 |
|
|
312 |
if as_func_ret_failure; then
|
|
313 |
exitcode=1
|
|
314 |
echo as_func_ret_failure succeeded.
|
|
315 |
fi
|
|
316 |
|
|
317 |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|
318 |
:
|
|
319 |
else
|
|
320 |
exitcode=1
|
|
321 |
echo positional parameters were not saved.
|
|
322 |
fi
|
|
323 |
|
|
324 |
test $exitcode = 0) || { (exit 1); exit 1; }
|
|
325 |
|
|
326 |
(
|
|
327 |
as_lineno_1=$LINENO
|
|
328 |
as_lineno_2=$LINENO
|
|
329 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
330 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|
331 |
|
|
332 |
_ASEOF
|
|
333 |
}; then
|
|
334 |
break
|
|
335 |
fi
|
|
336 |
|
|
337 |
fi
|
|
338 |
|
|
339 |
done
|
|
340 |
|
|
341 |
if test "x$CONFIG_SHELL" != x; then
|
|
342 |
for as_var in BASH_ENV ENV
|
|
343 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
344 |
done
|
|
345 |
export CONFIG_SHELL
|
|
346 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
347 |
fi
|
|
348 |
|
|
349 |
|
|
350 |
if test $as_have_required = no; then
|
|
351 |
echo This script requires a shell more modern than all the
|
|
352 |
echo shells that I found on your system. Please install a
|
|
353 |
echo modern shell, or manually run the script under such a
|
|
354 |
echo shell if you do have one.
|
|
355 |
{ (exit 1); exit 1; }
|
|
356 |
fi
|
|
357 |
|
|
358 |
|
|
359 |
fi
|
|
360 |
|
|
361 |
fi
|
|
362 |
|
|
363 |
|
|
364 |
|
|
365 |
(eval "as_func_return () {
|
|
366 |
(exit \$1)
|
|
367 |
}
|
|
368 |
as_func_success () {
|
|
369 |
as_func_return 0
|
|
370 |
}
|
|
371 |
as_func_failure () {
|
|
372 |
as_func_return 1
|
|
373 |
}
|
|
374 |
as_func_ret_success () {
|
|
375 |
return 0
|
|
376 |
}
|
|
377 |
as_func_ret_failure () {
|
|
378 |
return 1
|
|
379 |
}
|
|
380 |
|
|
381 |
exitcode=0
|
|
382 |
if as_func_success; then
|
|
383 |
:
|
|
384 |
else
|
|
385 |
exitcode=1
|
|
386 |
echo as_func_success failed.
|
|
387 |
fi
|
|
388 |
|
|
389 |
if as_func_failure; then
|
|
390 |
exitcode=1
|
|
391 |
echo as_func_failure succeeded.
|
|
392 |
fi
|
|
393 |
|
|
394 |
if as_func_ret_success; then
|
|
395 |
:
|
|
396 |
else
|
|
397 |
exitcode=1
|
|
398 |
echo as_func_ret_success failed.
|
|
399 |
fi
|
|
400 |
|
|
401 |
if as_func_ret_failure; then
|
|
402 |
exitcode=1
|
|
403 |
echo as_func_ret_failure succeeded.
|
|
404 |
fi
|
|
405 |
|
|
406 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
407 |
:
|
|
408 |
else
|
|
409 |
exitcode=1
|
|
410 |
echo positional parameters were not saved.
|
|
411 |
fi
|
|
412 |
|
|
413 |
test \$exitcode = 0") || {
|
|
414 |
echo No shell found that supports shell functions.
|
|
415 |
echo Please tell autoconf@gnu.org about your system,
|
|
416 |
echo including any error possibly output before this
|
|
417 |
echo message
|
|
418 |
}
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
as_lineno_1=$LINENO
|
|
423 |
as_lineno_2=$LINENO
|
|
424 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
425 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
|
426 |
|
|
427 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
428 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
429 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
430 |
# does the real work. The second script uses 'N' to pair each
|
|
431 |
# line-number line with the line containing $LINENO, and appends
|
|
432 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
433 |
# case at line end.
|
|
434 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
435 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
436 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
425 | 437 |
sed -n '
|
426 | 438 |
p
|
427 | 439 |
/[$]LINENO/=
|
|
438 | 450 |
s/-\n.*//
|
439 | 451 |
' >$as_me.lineno &&
|
440 | 452 |
chmod +x "$as_me.lineno" ||
|
441 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|
453 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
|
454 |
{ (exit 1); exit 1; }; }
|
442 | 455 |
|
443 | 456 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
444 | 457 |
# (the dirname of $[0] is not the place where we might find the
|
|
448 | 461 |
exit
|
449 | 462 |
}
|
450 | 463 |
|
|
464 |
|
|
465 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
466 |
as_dirname=dirname
|
|
467 |
else
|
|
468 |
as_dirname=false
|
|
469 |
fi
|
|
470 |
|
451 | 471 |
ECHO_C= ECHO_N= ECHO_T=
|
452 | |
case `echo -n x` in #(((((
|
|
472 |
case `echo -n x` in
|
453 | 473 |
-n*)
|
454 | |
case `echo 'xy\c'` in
|
|
474 |
case `echo 'x\c'` in
|
455 | 475 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
456 | |
xy) ECHO_C='\c';;
|
457 | |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
458 | |
ECHO_T=' ';;
|
|
476 |
*) ECHO_C='\c';;
|
459 | 477 |
esac;;
|
460 | 478 |
*)
|
461 | 479 |
ECHO_N='-n';;
|
462 | 480 |
esac
|
463 | 481 |
|
|
482 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
483 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
484 |
as_expr=expr
|
|
485 |
else
|
|
486 |
as_expr=false
|
|
487 |
fi
|
|
488 |
|
464 | 489 |
rm -f conf$$ conf$$.exe conf$$.file
|
465 | 490 |
if test -d conf$$.dir; then
|
466 | 491 |
rm -f conf$$.dir/conf$$.file
|
467 | 492 |
else
|
468 | 493 |
rm -f conf$$.dir
|
469 | |
mkdir conf$$.dir 2>/dev/null
|
470 | |
fi
|
471 | |
if (echo >conf$$.file) 2>/dev/null; then
|
472 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
473 | |
as_ln_s='ln -s'
|
474 | |
# ... but there are two gotchas:
|
475 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
476 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
477 | |
# In both cases, we have to default to `cp -p'.
|
478 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
479 | |
as_ln_s='cp -p'
|
480 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
481 | |
as_ln_s=ln
|
482 | |
else
|
|
494 |
mkdir conf$$.dir
|
|
495 |
fi
|
|
496 |
echo >conf$$.file
|
|
497 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
498 |
as_ln_s='ln -s'
|
|
499 |
# ... but there are two gotchas:
|
|
500 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
501 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
502 |
# In both cases, we have to default to `cp -p'.
|
|
503 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
483 | 504 |
as_ln_s='cp -p'
|
484 | |
fi
|
|
505 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
506 |
as_ln_s=ln
|
485 | 507 |
else
|
486 | 508 |
as_ln_s='cp -p'
|
487 | 509 |
fi
|
|
489 | 511 |
rmdir conf$$.dir 2>/dev/null
|
490 | 512 |
|
491 | 513 |
if mkdir -p . 2>/dev/null; then
|
492 | |
as_mkdir_p='mkdir -p "$as_dir"'
|
|
514 |
as_mkdir_p=:
|
493 | 515 |
else
|
494 | 516 |
test -d ./-p && rmdir ./-p
|
495 | 517 |
as_mkdir_p=false
|
|
506 | 528 |
as_test_x='
|
507 | 529 |
eval sh -c '\''
|
508 | 530 |
if test -d "$1"; then
|
509 | |
test -d "$1/.";
|
|
531 |
test -d "$1/.";
|
510 | 532 |
else
|
511 | |
case $1 in #(
|
512 | |
-*)set "./$1";;
|
|
533 |
case $1 in
|
|
534 |
-*)set "./$1";;
|
513 | 535 |
esac;
|
514 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|
536 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
515 | 537 |
???[sx]*):;;*)false;;esac;fi
|
516 | 538 |
'\'' sh
|
517 | 539 |
'
|
|
525 | 547 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
526 | 548 |
|
527 | 549 |
|
528 | |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
529 | |
exec 6>&1
|
|
550 |
|
|
551 |
exec 7<&0 </dev/null 6>&1
|
530 | 552 |
|
531 | 553 |
# Name of the host.
|
532 | 554 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
544 | 566 |
subdirs=
|
545 | 567 |
MFLAGS=
|
546 | 568 |
MAKEFLAGS=
|
|
569 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
547 | 570 |
|
548 | 571 |
# Identity of this package.
|
549 | 572 |
PACKAGE_NAME=
|
|
551 | 574 |
PACKAGE_VERSION=
|
552 | 575 |
PACKAGE_STRING=
|
553 | 576 |
PACKAGE_BUGREPORT=
|
554 | |
PACKAGE_URL=
|
555 | 577 |
|
556 | 578 |
ac_unique_file="mbuffer.c"
|
557 | 579 |
ac_default_prefix=/usr/local
|
|
591 | 613 |
# include <unistd.h>
|
592 | 614 |
#endif"
|
593 | 615 |
|
594 | |
ac_subst_vars='LTLIBOBJS
|
|
616 |
ac_subst_vars='SHELL
|
|
617 |
PATH_SEPARATOR
|
|
618 |
PACKAGE_NAME
|
|
619 |
PACKAGE_TARNAME
|
|
620 |
PACKAGE_VERSION
|
|
621 |
PACKAGE_STRING
|
|
622 |
PACKAGE_BUGREPORT
|
|
623 |
exec_prefix
|
|
624 |
prefix
|
|
625 |
program_transform_name
|
|
626 |
bindir
|
|
627 |
sbindir
|
|
628 |
libexecdir
|
|
629 |
datarootdir
|
|
630 |
datadir
|
|
631 |
sysconfdir
|
|
632 |
sharedstatedir
|
|
633 |
localstatedir
|
|
634 |
includedir
|
|
635 |
oldincludedir
|
|
636 |
docdir
|
|
637 |
infodir
|
|
638 |
htmldir
|
|
639 |
dvidir
|
|
640 |
pdfdir
|
|
641 |
psdir
|
|
642 |
libdir
|
|
643 |
localedir
|
|
644 |
mandir
|
|
645 |
DEFS
|
|
646 |
ECHO_C
|
|
647 |
ECHO_N
|
|
648 |
ECHO_T
|
|
649 |
LIBS
|
|
650 |
build_alias
|
|
651 |
host_alias
|
|
652 |
target_alias
|
|
653 |
build
|
|
654 |
build_cpu
|
|
655 |
build_vendor
|
|
656 |
build_os
|
|
657 |
host
|
|
658 |
host_cpu
|
|
659 |
host_vendor
|
|
660 |
host_os
|
|
661 |
target
|
|
662 |
target_cpu
|
|
663 |
target_vendor
|
|
664 |
target_os
|
|
665 |
CC
|
|
666 |
CFLAGS
|
|
667 |
LDFLAGS
|
|
668 |
CPPFLAGS
|
|
669 |
ac_ct_CC
|
|
670 |
EXEEXT
|
|
671 |
OBJEXT
|
|
672 |
INSTALL_PROGRAM
|
|
673 |
INSTALL_SCRIPT
|
|
674 |
INSTALL_DATA
|
|
675 |
RM
|
|
676 |
MT
|
|
677 |
CPP
|
|
678 |
GREP
|
|
679 |
EGREP
|
|
680 |
ALLOCA
|
|
681 |
DEBUG
|
|
682 |
PACKAGE
|
|
683 |
VERSION
|
|
684 |
AUTOCONF
|
595 | 685 |
LIBOBJS
|
596 | |
AUTOCONF
|
597 | |
VERSION
|
598 | |
PACKAGE
|
599 | |
DEBUG
|
600 | |
ALLOCA
|
601 | |
EGREP
|
602 | |
GREP
|
603 | |
CPP
|
604 | |
MT
|
605 | |
RM
|
606 | |
INSTALL_DATA
|
607 | |
INSTALL_SCRIPT
|
608 | |
INSTALL_PROGRAM
|
609 | |
OBJEXT
|
610 | |
EXEEXT
|
611 | |
ac_ct_CC
|
612 | |
CPPFLAGS
|
613 | |
LDFLAGS
|
614 | |
CFLAGS
|
615 | |
CC
|
616 | |
target_os
|
617 | |
target_vendor
|
618 | |
target_cpu
|
619 | |
target
|
620 | |
host_os
|
621 | |
host_vendor
|
622 | |
host_cpu
|
623 | |
host
|
624 | |
build_os
|
625 | |
build_vendor
|
626 | |
build_cpu
|
627 | |
build
|
628 | |
target_alias
|
629 | |
host_alias
|
630 | |
build_alias
|
631 | |
LIBS
|
632 | |
ECHO_T
|
633 | |
ECHO_N
|
634 | |
ECHO_C
|
635 | |
DEFS
|
636 | |
mandir
|
637 | |
localedir
|
638 | |
libdir
|
639 | |
psdir
|
640 | |
pdfdir
|
641 | |
dvidir
|
642 | |
htmldir
|
643 | |
infodir
|
644 | |
docdir
|
645 | |
oldincludedir
|
646 | |
includedir
|
647 | |
localstatedir
|
648 | |
sharedstatedir
|
649 | |
sysconfdir
|
650 | |
datadir
|
651 | |
datarootdir
|
652 | |
libexecdir
|
653 | |
sbindir
|
654 | |
bindir
|
655 | |
program_transform_name
|
656 | |
prefix
|
657 | |
exec_prefix
|
658 | |
PACKAGE_URL
|
659 | |
PACKAGE_BUGREPORT
|
660 | |
PACKAGE_STRING
|
661 | |
PACKAGE_VERSION
|
662 | |
PACKAGE_TARNAME
|
663 | |
PACKAGE_NAME
|
664 | |
PATH_SEPARATOR
|
665 | |
SHELL'
|
|
686 |
LTLIBOBJS'
|
666 | 687 |
ac_subst_files=''
|
667 | |
ac_user_opts='
|
668 | |
enable_option_checking
|
669 | |
enable_assert
|
670 | |
enable_largefile
|
671 | |
enable_debug
|
672 | |
enable_md5
|
673 | |
'
|
674 | 688 |
ac_precious_vars='build_alias
|
675 | 689 |
host_alias
|
676 | 690 |
target_alias
|
|
685 | 699 |
# Initialize some variables set by options.
|
686 | 700 |
ac_init_help=
|
687 | 701 |
ac_init_version=false
|
688 | |
ac_unrecognized_opts=
|
689 | |
ac_unrecognized_sep=
|
690 | 702 |
# The variables have the same names as the options, with
|
691 | 703 |
# dashes changed to underlines.
|
692 | 704 |
cache_file=/dev/null
|
|
785 | 797 |
datarootdir=$ac_optarg ;;
|
786 | 798 |
|
787 | 799 |
-disable-* | --disable-*)
|
788 | |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
800 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
789 | 801 |
# Reject names that are not valid shell variable names.
|
790 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
791 | |
as_fn_error "invalid feature name: $ac_useropt"
|
792 | |
ac_useropt_orig=$ac_useropt
|
793 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
794 | |
case $ac_user_opts in
|
795 | |
*"
|
796 | |
"enable_$ac_useropt"
|
797 | |
"*) ;;
|
798 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
799 | |
ac_unrecognized_sep=', ';;
|
800 | |
esac
|
801 | |
eval enable_$ac_useropt=no ;;
|
|
802 |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
803 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|
804 |
{ (exit 1); exit 1; }; }
|
|
805 |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
|
806 |
eval enable_$ac_feature=no ;;
|
802 | 807 |
|
803 | 808 |
-docdir | --docdir | --docdi | --doc | --do)
|
804 | 809 |
ac_prev=docdir ;;
|
|
811 | 816 |
dvidir=$ac_optarg ;;
|
812 | 817 |
|
813 | 818 |
-enable-* | --enable-*)
|
814 | |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
819 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
815 | 820 |
# Reject names that are not valid shell variable names.
|
816 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
817 | |
as_fn_error "invalid feature name: $ac_useropt"
|
818 | |
ac_useropt_orig=$ac_useropt
|
819 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
820 | |
case $ac_user_opts in
|
821 | |
*"
|
822 | |
"enable_$ac_useropt"
|
823 | |
"*) ;;
|
824 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
825 | |
ac_unrecognized_sep=', ';;
|
826 | |
esac
|
827 | |
eval enable_$ac_useropt=\$ac_optarg ;;
|
|
821 |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
822 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|
823 |
{ (exit 1); exit 1; }; }
|
|
824 |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
|
825 |
eval enable_$ac_feature=\$ac_optarg ;;
|
828 | 826 |
|
829 | 827 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
830 | 828 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
1015 | 1013 |
ac_init_version=: ;;
|
1016 | 1014 |
|
1017 | 1015 |
-with-* | --with-*)
|
1018 | |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
1016 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1019 | 1017 |
# Reject names that are not valid shell variable names.
|
1020 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1021 | |
as_fn_error "invalid package name: $ac_useropt"
|
1022 | |
ac_useropt_orig=$ac_useropt
|
1023 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1024 | |
case $ac_user_opts in
|
1025 | |
*"
|
1026 | |
"with_$ac_useropt"
|
1027 | |
"*) ;;
|
1028 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
1029 | |
ac_unrecognized_sep=', ';;
|
1030 | |
esac
|
1031 | |
eval with_$ac_useropt=\$ac_optarg ;;
|
|
1018 |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
1019 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
|
1020 |
{ (exit 1); exit 1; }; }
|
|
1021 |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
|
1022 |
eval with_$ac_package=\$ac_optarg ;;
|
1032 | 1023 |
|
1033 | 1024 |
-without-* | --without-*)
|
1034 | |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
1025 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1035 | 1026 |
# Reject names that are not valid shell variable names.
|
1036 | |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1037 | |
as_fn_error "invalid package name: $ac_useropt"
|
1038 | |
ac_useropt_orig=$ac_useropt
|
1039 | |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1040 | |
case $ac_user_opts in
|
1041 | |
*"
|
1042 | |
"with_$ac_useropt"
|
1043 | |
"*) ;;
|
1044 | |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
1045 | |
ac_unrecognized_sep=', ';;
|
1046 | |
esac
|
1047 | |
eval with_$ac_useropt=no ;;
|
|
1027 |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|
1028 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
|
1029 |
{ (exit 1); exit 1; }; }
|
|
1030 |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
|
1031 |
eval with_$ac_package=no ;;
|
1048 | 1032 |
|
1049 | 1033 |
--x)
|
1050 | 1034 |
# Obsolete; use --with-x.
|
|
1064 | 1048 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1065 | 1049 |
x_libraries=$ac_optarg ;;
|
1066 | 1050 |
|
1067 | |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
1068 | |
Try \`$0 --help' for more information."
|
|
1051 |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
|
1052 |
Try \`$0 --help' for more information." >&2
|
|
1053 |
{ (exit 1); exit 1; }; }
|
1069 | 1054 |
;;
|
1070 | 1055 |
|
1071 | 1056 |
*=*)
|
1072 | 1057 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1073 | 1058 |
# Reject names that are not valid shell variable names.
|
1074 | |
case $ac_envvar in #(
|
1075 | |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
1076 | |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
1077 | |
esac
|
|
1059 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
|
1060 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
|
1061 |
{ (exit 1); exit 1; }; }
|
1078 | 1062 |
eval $ac_envvar=\$ac_optarg
|
1079 | 1063 |
export $ac_envvar ;;
|
1080 | 1064 |
|
1081 | 1065 |
*)
|
1082 | 1066 |
# FIXME: should be removed in autoconf 3.0.
|
1083 | |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1067 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1084 | 1068 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1085 | |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1069 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1086 | 1070 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
1087 | 1071 |
;;
|
1088 | 1072 |
|
|
1091 | 1075 |
|
1092 | 1076 |
if test -n "$ac_prev"; then
|
1093 | 1077 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1094 | |
as_fn_error "missing argument to $ac_option"
|
1095 | |
fi
|
1096 | |
|
1097 | |
if test -n "$ac_unrecognized_opts"; then
|
1098 | |
case $enable_option_checking in
|
1099 | |
no) ;;
|
1100 | |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
1101 | |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1102 | |
esac
|
1103 | |
fi
|
1104 | |
|
1105 | |
# Check all directory arguments for consistency.
|
|
1078 |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
|
1079 |
{ (exit 1); exit 1; }; }
|
|
1080 |
fi
|
|
1081 |
|
|
1082 |
# Be sure to have absolute directory names.
|
1106 | 1083 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1107 | 1084 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1108 | 1085 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1109 | 1086 |
libdir localedir mandir
|
1110 | 1087 |
do
|
1111 | 1088 |
eval ac_val=\$$ac_var
|
1112 | |
# Remove trailing slashes.
|
1113 | |
case $ac_val in
|
1114 | |
*/ )
|
1115 | |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
1116 | |
eval $ac_var=\$ac_val;;
|
1117 | |
esac
|
1118 | |
# Be sure to have absolute directory names.
|
1119 | 1089 |
case $ac_val in
|
1120 | 1090 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1121 | 1091 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1122 | 1092 |
esac
|
1123 | |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
|
1093 |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|
1094 |
{ (exit 1); exit 1; }; }
|
1124 | 1095 |
done
|
1125 | 1096 |
|
1126 | 1097 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1134 | 1105 |
if test "x$host_alias" != x; then
|
1135 | 1106 |
if test "x$build_alias" = x; then
|
1136 | 1107 |
cross_compiling=maybe
|
1137 | |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|
1108 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1138 | 1109 |
If a cross compiler is detected then cross compile mode will be used." >&2
|
1139 | 1110 |
elif test "x$build_alias" != "x$host_alias"; then
|
1140 | 1111 |
cross_compiling=yes
|
|
1150 | 1121 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1151 | 1122 |
ac_ls_di=`ls -di .` &&
|
1152 | 1123 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1153 | |
as_fn_error "working directory cannot be determined"
|
|
1124 |
{ echo "$as_me: error: Working directory cannot be determined" >&2
|
|
1125 |
{ (exit 1); exit 1; }; }
|
1154 | 1126 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1155 | |
as_fn_error "pwd does not report name of working directory"
|
|
1127 |
{ echo "$as_me: error: pwd does not report name of working directory" >&2
|
|
1128 |
{ (exit 1); exit 1; }; }
|
1156 | 1129 |
|
1157 | 1130 |
|
1158 | 1131 |
# Find the source files, if location was not specified.
|
1159 | 1132 |
if test -z "$srcdir"; then
|
1160 | 1133 |
ac_srcdir_defaulted=yes
|
1161 | 1134 |
# Try the directory containing this script, then the parent directory.
|
1162 | |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
1163 | |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1164 | |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1165 | |
X"$as_myself" : 'X\(//\)$' \| \
|
1166 | |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1167 | |
$as_echo X"$as_myself" |
|
|
1135 |
ac_confdir=`$as_dirname -- "$0" ||
|
|
1136 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
1137 |
X"$0" : 'X\(//\)[^/]' \| \
|
|
1138 |
X"$0" : 'X\(//\)$' \| \
|
|
1139 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1140 |
echo X"$0" |
|
1168 | 1141 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1169 | 1142 |
s//\1/
|
1170 | 1143 |
q
|
|
1191 | 1164 |
fi
|
1192 | 1165 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1193 | 1166 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1194 | |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
|
1167 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
|
1168 |
{ (exit 1); exit 1; }; }
|
1195 | 1169 |
fi
|
1196 | 1170 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1197 | 1171 |
ac_abs_confdir=`(
|
1198 | |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
|
1172 |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
|
1173 |
{ (exit 1); exit 1; }; }
|
1199 | 1174 |
pwd)`
|
1200 | 1175 |
# When building in place, set srcdir=.
|
1201 | 1176 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1243 | 1218 |
|
1244 | 1219 |
Installation directories:
|
1245 | 1220 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1246 | |
[$ac_default_prefix]
|
|
1221 |
[$ac_default_prefix]
|
1247 | 1222 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1248 | |
[PREFIX]
|
|
1223 |
[PREFIX]
|
1249 | 1224 |
|
1250 | 1225 |
By default, \`make install' will install all the files in
|
1251 | 1226 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1255 | 1230 |
For better control, use the options below.
|
1256 | 1231 |
|
1257 | 1232 |
Fine tuning of the installation directories:
|
1258 | |
--bindir=DIR user executables [EPREFIX/bin]
|
1259 | |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1260 | |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1261 | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1262 | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1263 | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1264 | |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1265 | |
--includedir=DIR C header files [PREFIX/include]
|
1266 | |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1267 | |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1268 | |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1269 | |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1270 | |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1271 | |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1272 | |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
1273 | |
--htmldir=DIR html documentation [DOCDIR]
|
1274 | |
--dvidir=DIR dvi documentation [DOCDIR]
|
1275 | |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1276 | |
--psdir=DIR ps documentation [DOCDIR]
|
|
1233 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
1234 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1235 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1236 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1237 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1238 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1239 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1240 |
--includedir=DIR C header files [PREFIX/include]
|
|
1241 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1242 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1243 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1244 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1245 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1246 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1247 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
1248 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1249 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1250 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1251 |
--psdir=DIR ps documentation [DOCDIR]
|
1277 | 1252 |
_ACEOF
|
1278 | 1253 |
|
1279 | 1254 |
cat <<\_ACEOF
|
|
1290 | 1265 |
cat <<\_ACEOF
|
1291 | 1266 |
|
1292 | 1267 |
Optional Features:
|
1293 | |
--disable-option-checking ignore unrecognized --enable/--with options
|
1294 | 1268 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1295 | 1269 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
1270 |
--disable-largefile omit support for large files
|
1296 | 1271 |
--disable-assert turn off assertions
|
1297 | |
--disable-largefile omit support for large files
|
1298 | 1272 |
--disable-debug disable verbose logging to console for debugging purpose
|
1299 | 1273 |
--disable-md5 disable md5 hash generation
|
1300 | 1274 |
|
|
1304 | 1278 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1305 | 1279 |
nonstandard directory <lib dir>
|
1306 | 1280 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1307 | |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
|
1281 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
1308 | 1282 |
you have headers in a nonstandard directory <include dir>
|
1309 | 1283 |
CPP C preprocessor
|
1310 | 1284 |
|
1311 | 1285 |
Use these variables to override the choices made by `configure' or to help
|
1312 | 1286 |
it to find libraries and programs with nonstandard names/locations.
|
1313 | 1287 |
|
1314 | |
Report bugs to the package provider.
|
1315 | 1288 |
_ACEOF
|
1316 | 1289 |
ac_status=$?
|
1317 | 1290 |
fi
|
|
1319 | 1292 |
if test "$ac_init_help" = "recursive"; then
|
1320 | 1293 |
# If there are subdirs, report their specific --help.
|
1321 | 1294 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1322 | |
test -d "$ac_dir" ||
|
1323 | |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
1324 | |
continue
|
|
1295 |
test -d "$ac_dir" || continue
|
1325 | 1296 |
ac_builddir=.
|
1326 | 1297 |
|
1327 | 1298 |
case "$ac_dir" in
|
1328 | 1299 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1329 | 1300 |
*)
|
1330 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
1301 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
1331 | 1302 |
# A ".." for each directory in $ac_dir_suffix.
|
1332 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
1303 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
1333 | 1304 |
case $ac_top_builddir_sub in
|
1334 | 1305 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1335 | 1306 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1365 | 1336 |
echo &&
|
1366 | 1337 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1367 | 1338 |
else
|
1368 | |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1339 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1369 | 1340 |
fi || ac_status=$?
|
1370 | 1341 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1371 | 1342 |
done
|
|
1375 | 1346 |
if $ac_init_version; then
|
1376 | 1347 |
cat <<\_ACEOF
|
1377 | 1348 |
configure
|
1378 | |
generated by GNU Autoconf 2.65
|
1379 | |
|
1380 | |
Copyright (C) 2009 Free Software Foundation, Inc.
|
|
1349 |
generated by GNU Autoconf 2.61
|
|
1350 |
|
|
1351 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
1352 |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
1381 | 1353 |
This configure script is free software; the Free Software Foundation
|
1382 | 1354 |
gives unlimited permission to copy, distribute and modify it.
|
1383 | 1355 |
_ACEOF
|
1384 | 1356 |
exit
|
1385 | 1357 |
fi
|
1386 | |
|
1387 | |
## ------------------------ ##
|
1388 | |
## Autoconf initialization. ##
|
1389 | |
## ------------------------ ##
|
1390 | |
|
1391 | |
# ac_fn_c_try_compile LINENO
|
1392 | |
# --------------------------
|
1393 | |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
1394 | |
ac_fn_c_try_compile ()
|
1395 | |
{
|
1396 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1397 | |
rm -f conftest.$ac_objext
|
1398 | |
if { { ac_try="$ac_compile"
|
1399 | |
case "(($ac_try" in
|
1400 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1401 | |
*) ac_try_echo=$ac_try;;
|
1402 | |
esac
|
1403 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1404 | |
$as_echo "$ac_try_echo"; } >&5
|
1405 | |
(eval "$ac_compile") 2>conftest.err
|
1406 | |
ac_status=$?
|
1407 | |
if test -s conftest.err; then
|
1408 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1409 | |
cat conftest.er1 >&5
|
1410 | |
mv -f conftest.er1 conftest.err
|
1411 | |
fi
|
1412 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1413 | |
test $ac_status = 0; } && {
|
1414 | |
test -z "$ac_c_werror_flag" ||
|
1415 | |
test ! -s conftest.err
|
1416 | |
} && test -s conftest.$ac_objext; then :
|
1417 | |
ac_retval=0
|
1418 | |
else
|
1419 | |
$as_echo "$as_me: failed program was:" >&5
|
1420 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1421 | |
|
1422 | |
ac_retval=1
|
1423 | |
fi
|
1424 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1425 | |
as_fn_set_status $ac_retval
|
1426 | |
|
1427 | |
} # ac_fn_c_try_compile
|
1428 | |
|
1429 | |
# ac_fn_c_try_run LINENO
|
1430 | |
# ----------------------
|
1431 | |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
1432 | |
# that executables *can* be run.
|
1433 | |
ac_fn_c_try_run ()
|
1434 | |
{
|
1435 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1436 | |
if { { ac_try="$ac_link"
|
1437 | |
case "(($ac_try" in
|
1438 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1439 | |
*) ac_try_echo=$ac_try;;
|
1440 | |
esac
|
1441 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1442 | |
$as_echo "$ac_try_echo"; } >&5
|
1443 | |
(eval "$ac_link") 2>&5
|
1444 | |
ac_status=$?
|
1445 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1446 | |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
1447 | |
{ { case "(($ac_try" in
|
1448 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1449 | |
*) ac_try_echo=$ac_try;;
|
1450 | |
esac
|
1451 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1452 | |
$as_echo "$ac_try_echo"; } >&5
|
1453 | |
(eval "$ac_try") 2>&5
|
1454 | |
ac_status=$?
|
1455 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1456 | |
test $ac_status = 0; }; }; then :
|
1457 | |
ac_retval=0
|
1458 | |
else
|
1459 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
1460 | |
$as_echo "$as_me: failed program was:" >&5
|
1461 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1462 | |
|
1463 | |
ac_retval=$ac_status
|
1464 | |
fi
|
1465 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1466 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1467 | |
as_fn_set_status $ac_retval
|
1468 | |
|
1469 | |
} # ac_fn_c_try_run
|
1470 | |
|
1471 | |
# ac_fn_c_try_link LINENO
|
1472 | |
# -----------------------
|
1473 | |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
1474 | |
ac_fn_c_try_link ()
|
1475 | |
{
|
1476 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1477 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
1478 | |
if { { ac_try="$ac_link"
|
1479 | |
case "(($ac_try" in
|
1480 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1481 | |
*) ac_try_echo=$ac_try;;
|
1482 | |
esac
|
1483 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1484 | |
$as_echo "$ac_try_echo"; } >&5
|
1485 | |
(eval "$ac_link") 2>conftest.err
|
1486 | |
ac_status=$?
|
1487 | |
if test -s conftest.err; then
|
1488 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1489 | |
cat conftest.er1 >&5
|
1490 | |
mv -f conftest.er1 conftest.err
|
1491 | |
fi
|
1492 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1493 | |
test $ac_status = 0; } && {
|
1494 | |
test -z "$ac_c_werror_flag" ||
|
1495 | |
test ! -s conftest.err
|
1496 | |
} && test -s conftest$ac_exeext && {
|
1497 | |
test "$cross_compiling" = yes ||
|
1498 | |
$as_test_x conftest$ac_exeext
|
1499 | |
}; then :
|
1500 | |
ac_retval=0
|
1501 | |
else
|
1502 | |
$as_echo "$as_me: failed program was:" >&5
|
1503 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1504 | |
|
1505 | |
ac_retval=1
|
1506 | |
fi
|
1507 | |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
1508 | |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
1509 | |
# interfere with the next link command; also delete a directory that is
|
1510 | |
# left behind by Apple's compiler. We do this before executing the actions.
|
1511 | |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1512 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1513 | |
as_fn_set_status $ac_retval
|
1514 | |
|
1515 | |
} # ac_fn_c_try_link
|
1516 | |
|
1517 | |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
|
1518 | |
# ----------------------------------------------------
|
1519 | |
# Tries to find if the field MEMBER exists in type AGGR, after including
|
1520 | |
# INCLUDES, setting cache variable VAR accordingly.
|
1521 | |
ac_fn_c_check_member ()
|
1522 | |
{
|
1523 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1524 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
|
1525 | |
$as_echo_n "checking for $2.$3... " >&6; }
|
1526 | |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1527 | |
$as_echo_n "(cached) " >&6
|
1528 | |
else
|
1529 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1530 | |
/* end confdefs.h. */
|
1531 | |
$5
|
1532 | |
int
|
1533 | |
main ()
|
1534 | |
{
|
1535 | |
static $2 ac_aggr;
|
1536 | |
if (ac_aggr.$3)
|
1537 | |
return 0;
|
1538 | |
;
|
1539 | |
return 0;
|
1540 | |
}
|
1541 | |
_ACEOF
|
1542 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1543 | |
eval "$4=yes"
|
1544 | |
else
|
1545 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1546 | |
/* end confdefs.h. */
|
1547 | |
$5
|
1548 | |
int
|
1549 | |
main ()
|
1550 | |
{
|
1551 | |
static $2 ac_aggr;
|
1552 | |
if (sizeof ac_aggr.$3)
|
1553 | |
return 0;
|
1554 | |
;
|
1555 | |
return 0;
|
1556 | |
}
|
1557 | |
_ACEOF
|
1558 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1559 | |
eval "$4=yes"
|
1560 | |
else
|
1561 | |
eval "$4=no"
|
1562 | |
fi
|
1563 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1564 | |
fi
|
1565 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1566 | |
fi
|
1567 | |
eval ac_res=\$$4
|
1568 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1569 | |
$as_echo "$ac_res" >&6; }
|
1570 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1571 | |
|
1572 | |
} # ac_fn_c_check_member
|
1573 | |
|
1574 | |
# ac_fn_c_try_cpp LINENO
|
1575 | |
# ----------------------
|
1576 | |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1577 | |
ac_fn_c_try_cpp ()
|
1578 | |
{
|
1579 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1580 | |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1581 | |
case "(($ac_try" in
|
1582 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1583 | |
*) ac_try_echo=$ac_try;;
|
1584 | |
esac
|
1585 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1586 | |
$as_echo "$ac_try_echo"; } >&5
|
1587 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1588 | |
ac_status=$?
|
1589 | |
if test -s conftest.err; then
|
1590 | |
grep -v '^ *+' conftest.err >conftest.er1
|
1591 | |
cat conftest.er1 >&5
|
1592 | |
mv -f conftest.er1 conftest.err
|
1593 | |
fi
|
1594 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1595 | |
test $ac_status = 0; } >/dev/null && {
|
1596 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
1597 | |
test ! -s conftest.err
|
1598 | |
}; then :
|
1599 | |
ac_retval=0
|
1600 | |
else
|
1601 | |
$as_echo "$as_me: failed program was:" >&5
|
1602 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
1603 | |
|
1604 | |
ac_retval=1
|
1605 | |
fi
|
1606 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1607 | |
as_fn_set_status $ac_retval
|
1608 | |
|
1609 | |
} # ac_fn_c_try_cpp
|
1610 | |
|
1611 | |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
1612 | |
# -------------------------------------------------------
|
1613 | |
# Tests whether HEADER exists and can be compiled using the include files in
|
1614 | |
# INCLUDES, setting the cache variable VAR accordingly.
|
1615 | |
ac_fn_c_check_header_compile ()
|
1616 | |
{
|
1617 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1618 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1619 | |
$as_echo_n "checking for $2... " >&6; }
|
1620 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1621 | |
$as_echo_n "(cached) " >&6
|
1622 | |
else
|
1623 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1624 | |
/* end confdefs.h. */
|
1625 | |
$4
|
1626 | |
#include <$2>
|
1627 | |
_ACEOF
|
1628 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1629 | |
eval "$3=yes"
|
1630 | |
else
|
1631 | |
eval "$3=no"
|
1632 | |
fi
|
1633 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1634 | |
fi
|
1635 | |
eval ac_res=\$$3
|
1636 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1637 | |
$as_echo "$ac_res" >&6; }
|
1638 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1639 | |
|
1640 | |
} # ac_fn_c_check_header_compile
|
1641 | |
|
1642 | |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1643 | |
# -------------------------------------------------------
|
1644 | |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1645 | |
# the include files in INCLUDES and setting the cache variable VAR
|
1646 | |
# accordingly.
|
1647 | |
ac_fn_c_check_header_mongrel ()
|
1648 | |
{
|
1649 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1650 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1651 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1652 | |
$as_echo_n "checking for $2... " >&6; }
|
1653 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1654 | |
$as_echo_n "(cached) " >&6
|
1655 | |
fi
|
1656 | |
eval ac_res=\$$3
|
1657 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1658 | |
$as_echo "$ac_res" >&6; }
|
1659 | |
else
|
1660 | |
# Is the header compilable?
|
1661 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1662 | |
$as_echo_n "checking $2 usability... " >&6; }
|
1663 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1664 | |
/* end confdefs.h. */
|
1665 | |
$4
|
1666 | |
#include <$2>
|
1667 | |
_ACEOF
|
1668 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
1669 | |
ac_header_compiler=yes
|
1670 | |
else
|
1671 | |
ac_header_compiler=no
|
1672 | |
fi
|
1673 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1674 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1675 | |
$as_echo "$ac_header_compiler" >&6; }
|
1676 | |
|
1677 | |
# Is the header present?
|
1678 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1679 | |
$as_echo_n "checking $2 presence... " >&6; }
|
1680 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1681 | |
/* end confdefs.h. */
|
1682 | |
#include <$2>
|
1683 | |
_ACEOF
|
1684 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
1685 | |
ac_header_preproc=yes
|
1686 | |
else
|
1687 | |
ac_header_preproc=no
|
1688 | |
fi
|
1689 | |
rm -f conftest.err conftest.$ac_ext
|
1690 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1691 | |
$as_echo "$ac_header_preproc" >&6; }
|
1692 | |
|
1693 | |
# So? What about this header?
|
1694 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
1695 | |
yes:no: )
|
1696 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1697 | |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
1698 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1699 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1700 | |
;;
|
1701 | |
no:yes:* )
|
1702 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
1703 | |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
1704 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
1705 | |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
1706 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
1707 | |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
1708 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
1709 | |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
1710 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1711 | |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1712 | |
;;
|
1713 | |
esac
|
1714 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1715 | |
$as_echo_n "checking for $2... " >&6; }
|
1716 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1717 | |
$as_echo_n "(cached) " >&6
|
1718 | |
else
|
1719 | |
eval "$3=\$ac_header_compiler"
|
1720 | |
fi
|
1721 | |
eval ac_res=\$$3
|
1722 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1723 | |
$as_echo "$ac_res" >&6; }
|
1724 | |
fi
|
1725 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1726 | |
|
1727 | |
} # ac_fn_c_check_header_mongrel
|
1728 | |
|
1729 | |
# ac_fn_c_check_func LINENO FUNC VAR
|
1730 | |
# ----------------------------------
|
1731 | |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
1732 | |
ac_fn_c_check_func ()
|
1733 | |
{
|
1734 | |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1735 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1736 | |
$as_echo_n "checking for $2... " >&6; }
|
1737 | |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1738 | |
$as_echo_n "(cached) " >&6
|
1739 | |
else
|
1740 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1741 | |
/* end confdefs.h. */
|
1742 | |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
1743 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
1744 | |
#define $2 innocuous_$2
|
1745 | |
|
1746 | |
/* System header to define __stub macros and hopefully few prototypes,
|
1747 | |
which can conflict with char $2 (); below.
|
1748 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
1749 | |
<limits.h> exists even on freestanding compilers. */
|
1750 | |
|
1751 | |
#ifdef __STDC__
|
1752 | |
# include <limits.h>
|
1753 | |
#else
|
1754 | |
# include <assert.h>
|
1755 | |
#endif
|
1756 | |
|
1757 | |
#undef $2
|
1758 | |
|
1759 | |
/* Override any GCC internal prototype to avoid an error.
|
1760 | |
Use char because int might match the return type of a GCC
|
1761 | |
builtin and then its argument prototype would still apply. */
|
1762 | |
#ifdef __cplusplus
|
1763 | |
extern "C"
|
1764 | |
#endif
|
1765 | |
char $2 ();
|
1766 | |
/* The GNU C library defines this for functions which it implements
|
1767 | |
to always fail with ENOSYS. Some functions are actually named
|
1768 | |
something starting with __ and the normal name is an alias. */
|
1769 | |
#if defined __stub_$2 || defined __stub___$2
|
1770 | |
choke me
|
1771 | |
#endif
|
1772 | |
|
1773 | |
int
|
1774 | |
main ()
|
1775 | |
{
|
1776 | |
return $2 ();
|
1777 | |
;
|
1778 | |
return 0;
|
1779 | |
}
|
1780 | |
_ACEOF
|
1781 | |
if ac_fn_c_try_link "$LINENO"; then :
|
1782 | |
eval "$3=yes"
|
1783 | |
else
|
1784 | |
eval "$3=no"
|
1785 | |
fi
|
1786 | |
rm -f core conftest.err conftest.$ac_objext \
|
1787 | |
conftest$ac_exeext conftest.$ac_ext
|
1788 | |
fi
|
1789 | |
eval ac_res=\$$3
|
1790 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1791 | |
$as_echo "$ac_res" >&6; }
|
1792 | |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1793 | |
|
1794 | |
} # ac_fn_c_check_func
|
1795 | 1358 |
cat >config.log <<_ACEOF
|
1796 | 1359 |
This file contains any messages produced by compilers while
|
1797 | 1360 |
running configure, to aid debugging if configure makes a mistake.
|
1798 | 1361 |
|
1799 | 1362 |
It was created by $as_me, which was
|
1800 | |
generated by GNU Autoconf 2.65. Invocation command line was
|
|
1363 |
generated by GNU Autoconf 2.61. Invocation command line was
|
1801 | 1364 |
|
1802 | 1365 |
$ $0 $@
|
1803 | 1366 |
|
|
1833 | 1396 |
do
|
1834 | 1397 |
IFS=$as_save_IFS
|
1835 | 1398 |
test -z "$as_dir" && as_dir=.
|
1836 | |
$as_echo "PATH: $as_dir"
|
1837 | |
done
|
|
1399 |
echo "PATH: $as_dir"
|
|
1400 |
done
|
1838 | 1401 |
IFS=$as_save_IFS
|
1839 | 1402 |
|
1840 | 1403 |
} >&5
|
|
1868 | 1431 |
| -silent | --silent | --silen | --sile | --sil)
|
1869 | 1432 |
continue ;;
|
1870 | 1433 |
*\'*)
|
1871 | |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1434 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1872 | 1435 |
esac
|
1873 | 1436 |
case $ac_pass in
|
1874 | |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
|
1437 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
1875 | 1438 |
2)
|
1876 | |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
|
1439 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
1877 | 1440 |
if test $ac_must_keep_next = true; then
|
1878 | 1441 |
ac_must_keep_next=false # Got value, back to normal.
|
1879 | 1442 |
else
|
|
1889 | 1452 |
-* ) ac_must_keep_next=true ;;
|
1890 | 1453 |
esac
|
1891 | 1454 |
fi
|
1892 | |
as_fn_append ac_configure_args " '$ac_arg'"
|
|
1455 |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
1893 | 1456 |
;;
|
1894 | 1457 |
esac
|
1895 | 1458 |
done
|
1896 | 1459 |
done
|
1897 | |
{ ac_configure_args0=; unset ac_configure_args0;}
|
1898 | |
{ ac_configure_args1=; unset ac_configure_args1;}
|
|
1460 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
|
1461 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
1899 | 1462 |
|
1900 | 1463 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1901 | 1464 |
# config.log. We remove comments because anyway the quotes in there
|
|
1920 | 1483 |
case $ac_val in #(
|
1921 | 1484 |
*${as_nl}*)
|
1922 | 1485 |
case $ac_var in #(
|
1923 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1924 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
1486 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
|
1487 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
1925 | 1488 |
esac
|
1926 | 1489 |
case $ac_var in #(
|
1927 | 1490 |
_ | IFS | as_nl) ;; #(
|
1928 | |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1929 | |
*) { eval $ac_var=; unset $ac_var;} ;;
|
|
1491 |
*) $as_unset $ac_var ;;
|
1930 | 1492 |
esac ;;
|
1931 | 1493 |
esac
|
1932 | 1494 |
done
|
|
1955 | 1517 |
do
|
1956 | 1518 |
eval ac_val=\$$ac_var
|
1957 | 1519 |
case $ac_val in
|
1958 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1520 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1959 | 1521 |
esac
|
1960 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
1522 |
echo "$ac_var='\''$ac_val'\''"
|
1961 | 1523 |
done | sort
|
1962 | 1524 |
echo
|
1963 | 1525 |
|
|
1972 | 1534 |
do
|
1973 | 1535 |
eval ac_val=\$$ac_var
|
1974 | 1536 |
case $ac_val in
|
1975 | |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1537 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1976 | 1538 |
esac
|
1977 | |
$as_echo "$ac_var='\''$ac_val'\''"
|
|
1539 |
echo "$ac_var='\''$ac_val'\''"
|
1978 | 1540 |
done | sort
|
1979 | 1541 |
echo
|
1980 | 1542 |
fi
|
|
1990 | 1552 |
echo
|
1991 | 1553 |
fi
|
1992 | 1554 |
test "$ac_signal" != 0 &&
|
1993 | |
$as_echo "$as_me: caught signal $ac_signal"
|
1994 | |
$as_echo "$as_me: exit $exit_status"
|
|
1555 |
echo "$as_me: caught signal $ac_signal"
|
|
1556 |
echo "$as_me: exit $exit_status"
|
1995 | 1557 |
} >&5
|
1996 | 1558 |
rm -f core *.core core.conftest.* &&
|
1997 | 1559 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1998 | 1560 |
exit $exit_status
|
1999 | 1561 |
' 0
|
2000 | 1562 |
for ac_signal in 1 2 13 15; do
|
2001 | |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
|
1563 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
2002 | 1564 |
done
|
2003 | 1565 |
ac_signal=0
|
2004 | 1566 |
|
2005 | 1567 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2006 | 1568 |
rm -f -r conftest* confdefs.h
|
2007 | 1569 |
|
2008 | |
$as_echo "/* confdefs.h */" > confdefs.h
|
2009 | |
|
2010 | 1570 |
# Predefined preprocessor variables.
|
2011 | 1571 |
|
2012 | 1572 |
cat >>confdefs.h <<_ACEOF
|
2013 | 1573 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2014 | 1574 |
_ACEOF
|
2015 | 1575 |
|
|
1576 |
|
2016 | 1577 |
cat >>confdefs.h <<_ACEOF
|
2017 | 1578 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2018 | 1579 |
_ACEOF
|
2019 | 1580 |
|
|
1581 |
|
2020 | 1582 |
cat >>confdefs.h <<_ACEOF
|
2021 | 1583 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2022 | 1584 |
_ACEOF
|
2023 | 1585 |
|
|
1586 |
|
2024 | 1587 |
cat >>confdefs.h <<_ACEOF
|
2025 | 1588 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2026 | 1589 |
_ACEOF
|
2027 | 1590 |
|
|
1591 |
|
2028 | 1592 |
cat >>confdefs.h <<_ACEOF
|
2029 | 1593 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2030 | 1594 |
_ACEOF
|
2031 | 1595 |
|
2032 | |
cat >>confdefs.h <<_ACEOF
|
2033 | |
#define PACKAGE_URL "$PACKAGE_URL"
|
2034 | |
_ACEOF
|
2035 | |
|
2036 | 1596 |
|
2037 | 1597 |
# Let the site file select an alternate cache file if it wants to.
|
2038 | |
# Prefer an explicitly selected file to automatically selected ones.
|
2039 | |
ac_site_file1=NONE
|
2040 | |
ac_site_file2=NONE
|
|
1598 |
# Prefer explicitly selected file to automatically selected ones.
|
2041 | 1599 |
if test -n "$CONFIG_SITE"; then
|
2042 | |
ac_site_file1=$CONFIG_SITE
|
|
1600 |
set x "$CONFIG_SITE"
|
2043 | 1601 |
elif test "x$prefix" != xNONE; then
|
2044 | |
ac_site_file1=$prefix/share/config.site
|
2045 | |
ac_site_file2=$prefix/etc/config.site
|
2046 | |
else
|
2047 | |
ac_site_file1=$ac_default_prefix/share/config.site
|
2048 | |
ac_site_file2=$ac_default_prefix/etc/config.site
|
2049 | |
fi
|
2050 | |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
|
1602 |
set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
|
1603 |
else
|
|
1604 |
set x "$ac_default_prefix/share/config.site" \
|
|
1605 |
"$ac_default_prefix/etc/config.site"
|
|
1606 |
fi
|
|
1607 |
shift
|
|
1608 |
for ac_site_file
|
2051 | 1609 |
do
|
2052 | |
test "x$ac_site_file" = xNONE && continue
|
2053 | |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
2054 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2055 | |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
1610 |
if test -r "$ac_site_file"; then
|
|
1611 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
1612 |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
2056 | 1613 |
sed 's/^/| /' "$ac_site_file" >&5
|
2057 | 1614 |
. "$ac_site_file"
|
2058 | 1615 |
fi
|
2059 | 1616 |
done
|
2060 | 1617 |
|
2061 | 1618 |
if test -r "$cache_file"; then
|
2062 | |
# Some versions of bash will fail to source /dev/null (special files
|
2063 | |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
2064 | |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
2065 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2066 | |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
|
1619 |
# Some versions of bash will fail to source /dev/null (special
|
|
1620 |
# files actually), so we avoid doing that.
|
|
1621 |
if test -f "$cache_file"; then
|
|
1622 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
1623 |
echo "$as_me: loading cache $cache_file" >&6;}
|
2067 | 1624 |
case $cache_file in
|
2068 | 1625 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2069 | 1626 |
*) . "./$cache_file";;
|
2070 | 1627 |
esac
|
2071 | 1628 |
fi
|
2072 | 1629 |
else
|
2073 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
2074 | |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
|
1630 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
1631 |
echo "$as_me: creating cache $cache_file" >&6;}
|
2075 | 1632 |
>$cache_file
|
2076 | 1633 |
fi
|
2077 | 1634 |
|
|
2085 | 1642 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
2086 | 1643 |
case $ac_old_set,$ac_new_set in
|
2087 | 1644 |
set,)
|
2088 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2089 | |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
1645 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
1646 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2090 | 1647 |
ac_cache_corrupted=: ;;
|
2091 | 1648 |
,set)
|
2092 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
2093 | |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
1649 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
1650 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2094 | 1651 |
ac_cache_corrupted=: ;;
|
2095 | 1652 |
,);;
|
2096 | 1653 |
*)
|
2097 | 1654 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
2098 | |
# differences in whitespace do not lead to failure.
|
2099 | |
ac_old_val_w=`echo x $ac_old_val`
|
2100 | |
ac_new_val_w=`echo x $ac_new_val`
|
2101 | |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2102 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
2103 | |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2104 | |
ac_cache_corrupted=:
|
2105 | |
else
|
2106 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2107 | |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2108 | |
eval $ac_var=\$ac_old_val
|
2109 | |
fi
|
2110 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
2111 | |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2112 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
2113 | |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
|
1655 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
1656 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
1657 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|
1658 |
echo "$as_me: former value: $ac_old_val" >&2;}
|
|
1659 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|
1660 |
echo "$as_me: current value: $ac_new_val" >&2;}
|
|
1661 |
ac_cache_corrupted=:
|
2114 | 1662 |
fi;;
|
2115 | 1663 |
esac
|
2116 | 1664 |
# Pass precious variables to config.status.
|
2117 | 1665 |
if test "$ac_new_set" = set; then
|
2118 | 1666 |
case $ac_new_val in
|
2119 | |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1667 |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2120 | 1668 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2121 | 1669 |
esac
|
2122 | 1670 |
case " $ac_configure_args " in
|
2123 | 1671 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
2124 | |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
|
1672 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
2125 | 1673 |
esac
|
2126 | 1674 |
fi
|
2127 | 1675 |
done
|
2128 | 1676 |
if $ac_cache_corrupted; then
|
2129 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2130 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2131 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2132 | |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2133 | |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
2134 | |
fi
|
2135 | |
## -------------------- ##
|
2136 | |
## Main body of script. ##
|
2137 | |
## -------------------- ##
|
|
1677 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
1678 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
1679 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
|
1680 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
|
1681 |
{ (exit 1); exit 1; }; }
|
|
1682 |
fi
|
|
1683 |
|
|
1684 |
|
|
1685 |
|
|
1686 |
|
|
1687 |
|
|
1688 |
|
|
1689 |
|
|
1690 |
|
|
1691 |
|
|
1692 |
|
|
1693 |
|
|
1694 |
|
|
1695 |
|
|
1696 |
|
|
1697 |
|
|
1698 |
|
2138 | 1699 |
|
2139 | 1700 |
ac_ext=c
|
2140 | 1701 |
ac_cpp='$CPP $CPPFLAGS'
|
|
2148 | 1709 |
|
2149 | 1710 |
ac_aux_dir=
|
2150 | 1711 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2151 | |
for ac_t in install-sh install.sh shtool; do
|
2152 | |
if test -f "$ac_dir/$ac_t"; then
|
2153 | |
ac_aux_dir=$ac_dir
|
2154 | |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
2155 | |
break 2
|
2156 | |
fi
|
2157 | |
done
|
|
1712 |
if test -f "$ac_dir/install-sh"; then
|
|
1713 |
ac_aux_dir=$ac_dir
|
|
1714 |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
|
1715 |
break
|
|
1716 |
elif test -f "$ac_dir/install.sh"; then
|
|
1717 |
ac_aux_dir=$ac_dir
|
|
1718 |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
|
1719 |
break
|
|
1720 |
elif test -f "$ac_dir/shtool"; then
|
|
1721 |
ac_aux_dir=$ac_dir
|
|
1722 |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
|
1723 |
break
|
|
1724 |
fi
|
2158 | 1725 |
done
|
2159 | 1726 |
if test -z "$ac_aux_dir"; then
|
2160 | |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
|
1727 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
|
1728 |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
|
1729 |
{ (exit 1); exit 1; }; }
|
2161 | 1730 |
fi
|
2162 | 1731 |
|
2163 | 1732 |
# These three variables are undocumented and unsupported,
|
|
2171 | 1740 |
|
2172 | 1741 |
# Make sure we can run config.sub.
|
2173 | 1742 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
2174 | |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
2175 | |
|
2176 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
2177 | |
$as_echo_n "checking build system type... " >&6; }
|
2178 | |
if test "${ac_cv_build+set}" = set; then :
|
2179 | |
$as_echo_n "(cached) " >&6
|
|
1743 |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
|
1744 |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
|
1745 |
{ (exit 1); exit 1; }; }
|
|
1746 |
|
|
1747 |
{ echo "$as_me:$LINENO: checking build system type" >&5
|
|
1748 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
|
1749 |
if test "${ac_cv_build+set}" = set; then
|
|
1750 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2180 | 1751 |
else
|
2181 | 1752 |
ac_build_alias=$build_alias
|
2182 | 1753 |
test "x$ac_build_alias" = x &&
|
2183 | 1754 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
2184 | 1755 |
test "x$ac_build_alias" = x &&
|
2185 | |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
|
|
1756 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
|
1757 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
|
1758 |
{ (exit 1); exit 1; }; }
|
2186 | 1759 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
2187 | |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
2188 | |
|
2189 | |
fi
|
2190 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
2191 | |
$as_echo "$ac_cv_build" >&6; }
|
|
1760 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
|
1761 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
|
1762 |
{ (exit 1); exit 1; }; }
|
|
1763 |
|
|
1764 |
fi
|
|
1765 |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
|
1766 |
echo "${ECHO_T}$ac_cv_build" >&6; }
|
2192 | 1767 |
case $ac_cv_build in
|
2193 | 1768 |
*-*-*) ;;
|
2194 | |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
|
|
1769 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
|
1770 |
echo "$as_me: error: invalid value of canonical build" >&2;}
|
|
1771 |
{ (exit 1); exit 1; }; };;
|
2195 | 1772 |
esac
|
2196 | 1773 |
build=$ac_cv_build
|
2197 | 1774 |
ac_save_IFS=$IFS; IFS='-'
|
|
2207 | 1784 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
2208 | 1785 |
|
2209 | 1786 |
|
2210 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
2211 | |
$as_echo_n "checking host system type... " >&6; }
|
2212 | |
if test "${ac_cv_host+set}" = set; then :
|
2213 | |
$as_echo_n "(cached) " >&6
|
|
1787 |
{ echo "$as_me:$LINENO: checking host system type" >&5
|
|
1788 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
|
1789 |
if test "${ac_cv_host+set}" = set; then
|
|
1790 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2214 | 1791 |
else
|
2215 | 1792 |
if test "x$host_alias" = x; then
|
2216 | 1793 |
ac_cv_host=$ac_cv_build
|
2217 | 1794 |
else
|
2218 | 1795 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
2219 | |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
2220 | |
fi
|
2221 | |
|
2222 | |
fi
|
2223 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
2224 | |
$as_echo "$ac_cv_host" >&6; }
|
|
1796 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
|
1797 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
|
1798 |
{ (exit 1); exit 1; }; }
|
|
1799 |
fi
|
|
1800 |
|
|
1801 |
fi
|
|
1802 |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
|
1803 |
echo "${ECHO_T}$ac_cv_host" >&6; }
|
2225 | 1804 |
case $ac_cv_host in
|
2226 | 1805 |
*-*-*) ;;
|
2227 | |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
|
|
1806 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
|
1807 |
echo "$as_me: error: invalid value of canonical host" >&2;}
|
|
1808 |
{ (exit 1); exit 1; }; };;
|
2228 | 1809 |
esac
|
2229 | 1810 |
host=$ac_cv_host
|
2230 | 1811 |
ac_save_IFS=$IFS; IFS='-'
|
|
2240 | 1821 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
2241 | 1822 |
|
2242 | 1823 |
|
2243 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
2244 | |
$as_echo_n "checking target system type... " >&6; }
|
2245 | |
if test "${ac_cv_target+set}" = set; then :
|
2246 | |
$as_echo_n "(cached) " >&6
|
|
1824 |
{ echo "$as_me:$LINENO: checking target system type" >&5
|
|
1825 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
|
|
1826 |
if test "${ac_cv_target+set}" = set; then
|
|
1827 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2247 | 1828 |
else
|
2248 | 1829 |
if test "x$target_alias" = x; then
|
2249 | 1830 |
ac_cv_target=$ac_cv_host
|
2250 | 1831 |
else
|
2251 | 1832 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
2252 | |
as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
2253 | |
fi
|
2254 | |
|
2255 | |
fi
|
2256 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
2257 | |
$as_echo "$ac_cv_target" >&6; }
|
|
1833 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
|
1834 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
|
1835 |
{ (exit 1); exit 1; }; }
|
|
1836 |
fi
|
|
1837 |
|
|
1838 |
fi
|
|
1839 |
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
|
1840 |
echo "${ECHO_T}$ac_cv_target" >&6; }
|
2258 | 1841 |
case $ac_cv_target in
|
2259 | 1842 |
*-*-*) ;;
|
2260 | |
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
|
|
1843 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
|
1844 |
echo "$as_me: error: invalid value of canonical target" >&2;}
|
|
1845 |
{ (exit 1); exit 1; }; };;
|
2261 | 1846 |
esac
|
2262 | 1847 |
target=$ac_cv_target
|
2263 | 1848 |
ac_save_IFS=$IFS; IFS='-'
|
|
2281 | 1866 |
program_prefix=${target_alias}-
|
2282 | 1867 |
|
2283 | 1868 |
|
2284 | |
|
2285 | 1869 |
PACKAGE=mbuffer
|
2286 | |
VERSION=20091213
|
|
1870 |
VERSION=20091227
|
2287 | 1871 |
|
2288 | 1872 |
if test "${LD_LIBRARY_PATH}" != "" ; then
|
2289 | 1873 |
echo ""
|
|
2319 | 1903 |
do
|
2320 | 1904 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2321 | 1905 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2322 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2323 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2324 | |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2325 | |
$as_echo_n "(cached) " >&6
|
|
1906 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1907 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
1908 |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
1909 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2326 | 1910 |
else
|
2327 | 1911 |
if test -n "$CC"; then
|
2328 | 1912 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2332 | 1916 |
do
|
2333 | 1917 |
IFS=$as_save_IFS
|
2334 | 1918 |
test -z "$as_dir" && as_dir=.
|
2335 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
1919 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2336 | 1920 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2337 | 1921 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2338 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
1922 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2339 | 1923 |
break 2
|
2340 | 1924 |
fi
|
2341 | 1925 |
done
|
2342 | |
done
|
|
1926 |
done
|
2343 | 1927 |
IFS=$as_save_IFS
|
2344 | 1928 |
|
2345 | 1929 |
fi
|
2346 | 1930 |
fi
|
2347 | 1931 |
CC=$ac_cv_prog_CC
|
2348 | 1932 |
if test -n "$CC"; then
|
2349 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2350 | |
$as_echo "$CC" >&6; }
|
2351 | |
else
|
2352 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2353 | |
$as_echo "no" >&6; }
|
|
1933 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
1934 |
echo "${ECHO_T}$CC" >&6; }
|
|
1935 |
else
|
|
1936 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
1937 |
echo "${ECHO_T}no" >&6; }
|
2354 | 1938 |
fi
|
2355 | 1939 |
|
2356 | 1940 |
|
|
2363 | 1947 |
do
|
2364 | 1948 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2365 | 1949 |
set dummy $ac_prog; ac_word=$2
|
2366 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2367 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
2368 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
2369 | |
$as_echo_n "(cached) " >&6
|
|
1950 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1951 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
1952 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
1953 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2370 | 1954 |
else
|
2371 | 1955 |
if test -n "$ac_ct_CC"; then
|
2372 | 1956 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2376 | 1960 |
do
|
2377 | 1961 |
IFS=$as_save_IFS
|
2378 | 1962 |
test -z "$as_dir" && as_dir=.
|
2379 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
1963 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2380 | 1964 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2381 | 1965 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2382 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
1966 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2383 | 1967 |
break 2
|
2384 | 1968 |
fi
|
2385 | 1969 |
done
|
2386 | |
done
|
|
1970 |
done
|
2387 | 1971 |
IFS=$as_save_IFS
|
2388 | 1972 |
|
2389 | 1973 |
fi
|
2390 | 1974 |
fi
|
2391 | 1975 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2392 | 1976 |
if test -n "$ac_ct_CC"; then
|
2393 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2394 | |
$as_echo "$ac_ct_CC" >&6; }
|
2395 | |
else
|
2396 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2397 | |
$as_echo "no" >&6; }
|
|
1977 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
1978 |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
|
1979 |
else
|
|
1980 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
1981 |
echo "${ECHO_T}no" >&6; }
|
2398 | 1982 |
fi
|
2399 | 1983 |
|
2400 | 1984 |
|
|
2406 | 1990 |
else
|
2407 | 1991 |
case $cross_compiling:$ac_tool_warned in
|
2408 | 1992 |
yes:)
|
2409 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2410 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
1993 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
1994 |
whose name does not start with the host triplet. If you think this
|
|
1995 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
1996 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
1997 |
whose name does not start with the host triplet. If you think this
|
|
1998 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
2411 | 1999 |
ac_tool_warned=yes ;;
|
2412 | 2000 |
esac
|
2413 | 2001 |
CC=$ac_ct_CC
|
|
2415 | 2003 |
fi
|
2416 | 2004 |
|
2417 | 2005 |
|
2418 | |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2419 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2420 | |
as_fn_error "no acceptable C compiler found in \$PATH
|
2421 | |
See \`config.log' for more details." "$LINENO" 5; }
|
|
2006 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
|
2007 |
See \`config.log' for more details." >&5
|
|
2008 |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
|
2009 |
See \`config.log' for more details." >&2;}
|
|
2010 |
{ (exit 1); exit 1; }; }
|
2422 | 2011 |
|
2423 | 2012 |
# Provide some information about the compiler.
|
2424 | |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
2425 | |
set X $ac_compile
|
2426 | |
ac_compiler=$2
|
2427 | |
for ac_option in --version -v -V -qversion; do
|
2428 | |
{ { ac_try="$ac_compiler $ac_option >&5"
|
|
2013 |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
2014 |
ac_compiler=`set X $ac_compile; echo $2`
|
|
2015 |
{ (ac_try="$ac_compiler --version >&5"
|
2429 | 2016 |
case "(($ac_try" in
|
2430 | 2017 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2431 | 2018 |
*) ac_try_echo=$ac_try;;
|
2432 | 2019 |
esac
|
2433 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2434 | |
$as_echo "$ac_try_echo"; } >&5
|
2435 | |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
|
2020 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2021 |
(eval "$ac_compiler --version >&5") 2>&5
|
2436 | 2022 |
ac_status=$?
|
2437 | |
if test -s conftest.err; then
|
2438 | |
sed '10a\
|
2439 | |
... rest of stderr output deleted ...
|
2440 | |
10q' conftest.err >conftest.er1
|
2441 | |
cat conftest.er1 >&5
|
2442 | |
fi
|
2443 | |
rm -f conftest.er1 conftest.err
|
2444 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2445 | |
test $ac_status = 0; }
|
2446 | |
done
|
2447 | |
|
2448 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2023 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2024 |
(exit $ac_status); }
|
|
2025 |
{ (ac_try="$ac_compiler -v >&5"
|
|
2026 |
case "(($ac_try" in
|
|
2027 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2028 |
*) ac_try_echo=$ac_try;;
|
|
2029 |
esac
|
|
2030 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2031 |
(eval "$ac_compiler -v >&5") 2>&5
|
|
2032 |
ac_status=$?
|
|
2033 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2034 |
(exit $ac_status); }
|
|
2035 |
{ (ac_try="$ac_compiler -V >&5"
|
|
2036 |
case "(($ac_try" in
|
|
2037 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2038 |
*) ac_try_echo=$ac_try;;
|
|
2039 |
esac
|
|
2040 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2041 |
(eval "$ac_compiler -V >&5") 2>&5
|
|
2042 |
ac_status=$?
|
|
2043 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2044 |
(exit $ac_status); }
|
|
2045 |
|
|
2046 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2047 |
/* confdefs.h. */
|
|
2048 |
_ACEOF
|
|
2049 |
cat confdefs.h >>conftest.$ac_ext
|
|
2050 |
cat >>conftest.$ac_ext <<_ACEOF
|
2449 | 2051 |
/* end confdefs.h. */
|
2450 | 2052 |
|
2451 | 2053 |
int
|
|
2457 | 2059 |
}
|
2458 | 2060 |
_ACEOF
|
2459 | 2061 |
ac_clean_files_save=$ac_clean_files
|
2460 | |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
|
2062 |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
2461 | 2063 |
# Try to create an executable without -o first, disregard a.out.
|
2462 | 2064 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2463 | 2065 |
# of exeext.
|
2464 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
2465 | |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2466 | |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2467 | |
|
2468 | |
# The possible output files:
|
2469 | |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
2470 | |
|
|
2066 |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
|
2067 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
|
2068 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
2069 |
#
|
|
2070 |
# List of possible output files, starting from the most likely.
|
|
2071 |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
|
2072 |
# only as a last resort. b.out is created by i960 compilers.
|
|
2073 |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
|
2074 |
#
|
|
2075 |
# The IRIX 6 linker writes into existing files which may not be
|
|
2076 |
# executable, retaining their permissions. Remove them first so a
|
|
2077 |
# subsequent execution test works.
|
2471 | 2078 |
ac_rmfiles=
|
2472 | 2079 |
for ac_file in $ac_files
|
2473 | 2080 |
do
|
2474 | 2081 |
case $ac_file in
|
2475 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
|
2082 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
2476 | 2083 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
2477 | 2084 |
esac
|
2478 | 2085 |
done
|
2479 | 2086 |
rm -f $ac_rmfiles
|
2480 | 2087 |
|
2481 | |
if { { ac_try="$ac_link_default"
|
|
2088 |
if { (ac_try="$ac_link_default"
|
2482 | 2089 |
case "(($ac_try" in
|
2483 | 2090 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2484 | 2091 |
*) ac_try_echo=$ac_try;;
|
2485 | 2092 |
esac
|
2486 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2487 | |
$as_echo "$ac_try_echo"; } >&5
|
|
2093 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2488 | 2094 |
(eval "$ac_link_default") 2>&5
|
2489 | 2095 |
ac_status=$?
|
2490 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2491 | |
test $ac_status = 0; }; then :
|
|
2096 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2097 |
(exit $ac_status); }; then
|
2492 | 2098 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2493 | 2099 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2494 | 2100 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2498 | 2104 |
do
|
2499 | 2105 |
test -f "$ac_file" || continue
|
2500 | 2106 |
case $ac_file in
|
2501 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
|
2107 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
2502 | 2108 |
;;
|
2503 | 2109 |
[ab].out )
|
2504 | 2110 |
# We found the default executable, but exeext='' is most
|
2505 | 2111 |
# certainly right.
|
2506 | 2112 |
break;;
|
2507 | 2113 |
*.* )
|
2508 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2114 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2509 | 2115 |
then :; else
|
2510 | 2116 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2511 | 2117 |
fi
|
|
2524 | 2130 |
else
|
2525 | 2131 |
ac_file=''
|
2526 | 2132 |
fi
|
2527 | |
if test -z "$ac_file"; then :
|
2528 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2529 | |
$as_echo "no" >&6; }
|
2530 | |
$as_echo "$as_me: failed program was:" >&5
|
|
2133 |
|
|
2134 |
{ echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
2135 |
echo "${ECHO_T}$ac_file" >&6; }
|
|
2136 |
if test -z "$ac_file"; then
|
|
2137 |
echo "$as_me: failed program was:" >&5
|
2531 | 2138 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2532 | 2139 |
|
2533 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2534 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2535 | |
{ as_fn_set_status 77
|
2536 | |
as_fn_error "C compiler cannot create executables
|
2537 | |
See \`config.log' for more details." "$LINENO" 5; }; }
|
2538 | |
else
|
2539 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2540 | |
$as_echo "yes" >&6; }
|
2541 | |
fi
|
2542 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
2543 | |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
2544 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
2545 | |
$as_echo "$ac_file" >&6; }
|
|
2140 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
|
2141 |
See \`config.log' for more details." >&5
|
|
2142 |
echo "$as_me: error: C compiler cannot create executables
|
|
2143 |
See \`config.log' for more details." >&2;}
|
|
2144 |
{ (exit 77); exit 77; }; }
|
|
2145 |
fi
|
|
2146 |
|
2546 | 2147 |
ac_exeext=$ac_cv_exeext
|
2547 | 2148 |
|
2548 | |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
|
2149 |
# Check that the compiler produces executables we can run. If not, either
|
|
2150 |
# the compiler is broken, or we cross compile.
|
|
2151 |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
|
2152 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
|
2153 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
|
2154 |
# If not cross compiling, check that we can run a simple program.
|
|
2155 |
if test "$cross_compiling" != yes; then
|
|
2156 |
if { ac_try='./$ac_file'
|
|
2157 |
{ (case "(($ac_try" in
|
|
2158 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2159 |
*) ac_try_echo=$ac_try;;
|
|
2160 |
esac
|
|
2161 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2162 |
(eval "$ac_try") 2>&5
|
|
2163 |
ac_status=$?
|
|
2164 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2165 |
(exit $ac_status); }; }; then
|
|
2166 |
cross_compiling=no
|
|
2167 |
else
|
|
2168 |
if test "$cross_compiling" = maybe; then
|
|
2169 |
cross_compiling=yes
|
|
2170 |
else
|
|
2171 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
|
2172 |
If you meant to cross compile, use \`--host'.
|
|
2173 |
See \`config.log' for more details." >&5
|
|
2174 |
echo "$as_me: error: cannot run C compiled programs.
|
|
2175 |
If you meant to cross compile, use \`--host'.
|
|
2176 |
See \`config.log' for more details." >&2;}
|
|
2177 |
{ (exit 1); exit 1; }; }
|
|
2178 |
fi
|
|
2179 |
fi
|
|
2180 |
fi
|
|
2181 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
2182 |
echo "${ECHO_T}yes" >&6; }
|
|
2183 |
|
|
2184 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
2549 | 2185 |
ac_clean_files=$ac_clean_files_save
|
2550 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
2551 | |
$as_echo_n "checking for suffix of executables... " >&6; }
|
2552 | |
if { { ac_try="$ac_link"
|
|
2186 |
# Check that the compiler produces executables we can run. If not, either
|
|
2187 |
# the compiler is broken, or we cross compile.
|
|
2188 |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
2189 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
|
2190 |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
2191 |
echo "${ECHO_T}$cross_compiling" >&6; }
|
|
2192 |
|
|
2193 |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
2194 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
|
2195 |
if { (ac_try="$ac_link"
|
2553 | 2196 |
case "(($ac_try" in
|
2554 | 2197 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2555 | 2198 |
*) ac_try_echo=$ac_try;;
|
2556 | 2199 |
esac
|
2557 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2558 | |
$as_echo "$ac_try_echo"; } >&5
|
|
2200 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2559 | 2201 |
(eval "$ac_link") 2>&5
|
2560 | 2202 |
ac_status=$?
|
2561 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2562 | |
test $ac_status = 0; }; then :
|
|
2203 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2204 |
(exit $ac_status); }; then
|
2563 | 2205 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2564 | 2206 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2565 | 2207 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2567 | 2209 |
for ac_file in conftest.exe conftest conftest.*; do
|
2568 | 2210 |
test -f "$ac_file" || continue
|
2569 | 2211 |
case $ac_file in
|
2570 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
|
2212 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
2571 | 2213 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2572 | 2214 |
break;;
|
2573 | 2215 |
* ) break;;
|
2574 | 2216 |
esac
|
2575 | 2217 |
done
|
2576 | 2218 |
else
|
2577 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2578 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2579 | |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
2580 | |
See \`config.log' for more details." "$LINENO" 5; }
|
2581 | |
fi
|
2582 | |
rm -f conftest conftest$ac_cv_exeext
|
2583 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
2584 | |
$as_echo "$ac_cv_exeext" >&6; }
|
|
2219 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
|
2220 |
See \`config.log' for more details." >&5
|
|
2221 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
|
2222 |
See \`config.log' for more details." >&2;}
|
|
2223 |
{ (exit 1); exit 1; }; }
|
|
2224 |
fi
|
|
2225 |
|
|
2226 |
rm -f conftest$ac_cv_exeext
|
|
2227 |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
2228 |
echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
2585 | 2229 |
|
2586 | 2230 |
rm -f conftest.$ac_ext
|
2587 | 2231 |
EXEEXT=$ac_cv_exeext
|
2588 | 2232 |
ac_exeext=$EXEEXT
|
2589 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2233 |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
2234 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
|
2235 |
if test "${ac_cv_objext+set}" = set; then
|
|
2236 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2237 |
else
|
|
2238 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2239 |
/* confdefs.h. */
|
|
2240 |
_ACEOF
|
|
2241 |
cat confdefs.h >>conftest.$ac_ext
|
|
2242 |
cat >>conftest.$ac_ext <<_ACEOF
|
2590 | 2243 |
/* end confdefs.h. */
|
2591 | |
#include <stdio.h>
|
|
2244 |
|
2592 | 2245 |
int
|
2593 | 2246 |
main ()
|
2594 | 2247 |
{
|
2595 | |
FILE *f = fopen ("conftest.out", "w");
|
2596 | |
return ferror (f) || fclose (f) != 0;
|
2597 | 2248 |
|
2598 | 2249 |
;
|
2599 | 2250 |
return 0;
|
2600 | 2251 |
}
|
2601 | 2252 |
_ACEOF
|
2602 | |
ac_clean_files="$ac_clean_files conftest.out"
|
2603 | |
# Check that the compiler produces executables we can run. If not, either
|
2604 | |
# the compiler is broken, or we cross compile.
|
2605 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
2606 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
2607 | |
if test "$cross_compiling" != yes; then
|
2608 | |
{ { ac_try="$ac_link"
|
|
2253 |
rm -f conftest.o conftest.obj
|
|
2254 |
if { (ac_try="$ac_compile"
|
2609 | 2255 |
case "(($ac_try" in
|
2610 | 2256 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2611 | 2257 |
*) ac_try_echo=$ac_try;;
|
2612 | 2258 |
esac
|
2613 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2614 | |
$as_echo "$ac_try_echo"; } >&5
|
2615 | |
(eval "$ac_link") 2>&5
|
2616 | |
ac_status=$?
|
2617 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2618 | |
test $ac_status = 0; }
|
2619 | |
if { ac_try='./conftest$ac_cv_exeext'
|
2620 | |
{ { case "(($ac_try" in
|
2621 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2622 | |
*) ac_try_echo=$ac_try;;
|
2623 | |
esac
|
2624 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2625 | |
$as_echo "$ac_try_echo"; } >&5
|
2626 | |
(eval "$ac_try") 2>&5
|
2627 | |
ac_status=$?
|
2628 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2629 | |
test $ac_status = 0; }; }; then
|
2630 | |
cross_compiling=no
|
2631 | |
else
|
2632 | |
if test "$cross_compiling" = maybe; then
|
2633 | |
cross_compiling=yes
|
2634 | |
else
|
2635 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2636 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2637 | |
as_fn_error "cannot run C compiled programs.
|
2638 | |
If you meant to cross compile, use \`--host'.
|
2639 | |
See \`config.log' for more details." "$LINENO" 5; }
|
2640 | |
fi
|
2641 | |
fi
|
2642 | |
fi
|
2643 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
2644 | |
$as_echo "$cross_compiling" >&6; }
|
2645 | |
|
2646 | |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
2647 | |
ac_clean_files=$ac_clean_files_save
|
2648 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
2649 | |
$as_echo_n "checking for suffix of object files... " >&6; }
|
2650 | |
if test "${ac_cv_objext+set}" = set; then :
|
2651 | |
$as_echo_n "(cached) " >&6
|
2652 | |
else
|
2653 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2654 | |
/* end confdefs.h. */
|
2655 | |
|
2656 | |
int
|
2657 | |
main ()
|
2658 | |
{
|
2659 | |
|
2660 | |
;
|
2661 | |
return 0;
|
2662 | |
}
|
2663 | |
_ACEOF
|
2664 | |
rm -f conftest.o conftest.obj
|
2665 | |
if { { ac_try="$ac_compile"
|
2666 | |
case "(($ac_try" in
|
2667 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2668 | |
*) ac_try_echo=$ac_try;;
|
2669 | |
esac
|
2670 | |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2671 | |
$as_echo "$ac_try_echo"; } >&5
|
|
2259 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2672 | 2260 |
(eval "$ac_compile") 2>&5
|
2673 | 2261 |
ac_status=$?
|
2674 | |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2675 | |
test $ac_status = 0; }; then :
|
|
2262 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2263 |
(exit $ac_status); }; then
|
2676 | 2264 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2677 | 2265 |
test -f "$ac_file" || continue;
|
2678 | 2266 |
case $ac_file in
|
2679 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
|
2267 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
2680 | 2268 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2681 | 2269 |
break;;
|
2682 | 2270 |
esac
|
2683 | 2271 |
done
|
2684 | 2272 |
else
|
2685 | |
$as_echo "$as_me: failed program was:" >&5
|
|
2273 |
echo "$as_me: failed program was:" >&5
|
2686 | 2274 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2687 | 2275 |
|
2688 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2689 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2690 | |
as_fn_error "cannot compute suffix of object files: cannot compile
|
2691 | |
See \`config.log' for more details." "$LINENO" 5; }
|
2692 | |
fi
|
|
2276 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
|
2277 |
See \`config.log' for more details." >&5
|
|
2278 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
|
2279 |
See \`config.log' for more details." >&2;}
|
|
2280 |
{ (exit 1); exit 1; }; }
|
|
2281 |
fi
|
|
2282 |
|
2693 | 2283 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2694 | 2284 |
fi
|
2695 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
2696 | |
$as_echo "$ac_cv_objext" >&6; }
|
|
2285 |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
2286 |
echo "${ECHO_T}$ac_cv_objext" >&6; }
|
2697 | 2287 |
OBJEXT=$ac_cv_objext
|
2698 | 2288 |
ac_objext=$OBJEXT
|
2699 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
2700 | |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
2701 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
2702 | |
$as_echo_n "(cached) " >&6
|
2703 | |
else
|
2704 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2289 |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
2290 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
|
2291 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
2292 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2293 |
else
|
|
2294 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2295 |
/* confdefs.h. */
|
|
2296 |
_ACEOF
|
|
2297 |
cat confdefs.h >>conftest.$ac_ext
|
|
2298 |
cat >>conftest.$ac_ext <<_ACEOF
|
2705 | 2299 |
/* end confdefs.h. */
|
2706 | 2300 |
|
2707 | 2301 |
int
|
|
2715 | 2309 |
return 0;
|
2716 | 2310 |
}
|
2717 | 2311 |
_ACEOF
|
2718 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2312 |
rm -f conftest.$ac_objext
|
|
2313 |
if { (ac_try="$ac_compile"
|
|
2314 |
case "(($ac_try" in
|
|
2315 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2316 |
*) ac_try_echo=$ac_try;;
|
|
2317 |
esac
|
|
2318 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2319 |
(eval "$ac_compile") 2>conftest.er1
|
|
2320 |
ac_status=$?
|
|
2321 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2322 |
rm -f conftest.er1
|
|
2323 |
cat conftest.err >&5
|
|
2324 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2325 |
(exit $ac_status); } && {
|
|
2326 |
test -z "$ac_c_werror_flag" ||
|
|
2327 |
test ! -s conftest.err
|
|
2328 |
} && test -s conftest.$ac_objext; then
|
2719 | 2329 |
ac_compiler_gnu=yes
|
2720 | 2330 |
else
|
2721 | |
ac_compiler_gnu=no
|
2722 | |
fi
|
|
2331 |
echo "$as_me: failed program was:" >&5
|
|
2332 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2333 |
|
|
2334 |
ac_compiler_gnu=no
|
|
2335 |
fi
|
|
2336 |
|
2723 | 2337 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2724 | 2338 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2725 | 2339 |
|
2726 | 2340 |
fi
|
2727 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
2728 | |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
2729 | |
if test $ac_compiler_gnu = yes; then
|
2730 | |
GCC=yes
|
2731 | |
else
|
2732 | |
GCC=
|
2733 | |
fi
|
|
2341 |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
2342 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
|
2343 |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
2734 | 2344 |
ac_test_CFLAGS=${CFLAGS+set}
|
2735 | 2345 |
ac_save_CFLAGS=$CFLAGS
|
2736 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
2737 | |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
2738 | |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
2739 | |
$as_echo_n "(cached) " >&6
|
|
2346 |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
2347 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
|
2348 |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
2349 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2740 | 2350 |
else
|
2741 | 2351 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
2742 | 2352 |
ac_c_werror_flag=yes
|
2743 | 2353 |
ac_cv_prog_cc_g=no
|
2744 | 2354 |
CFLAGS="-g"
|
2745 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2355 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2356 |
/* confdefs.h. */
|
|
2357 |
_ACEOF
|
|
2358 |
cat confdefs.h >>conftest.$ac_ext
|
|
2359 |
cat >>conftest.$ac_ext <<_ACEOF
|
2746 | 2360 |
/* end confdefs.h. */
|
2747 | 2361 |
|
2748 | 2362 |
int
|
|
2753 | 2367 |
return 0;
|
2754 | 2368 |
}
|
2755 | 2369 |
_ACEOF
|
2756 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2370 |
rm -f conftest.$ac_objext
|
|
2371 |
if { (ac_try="$ac_compile"
|
|
2372 |
case "(($ac_try" in
|
|
2373 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2374 |
*) ac_try_echo=$ac_try;;
|
|
2375 |
esac
|
|
2376 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2377 |
(eval "$ac_compile") 2>conftest.er1
|
|
2378 |
ac_status=$?
|
|
2379 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2380 |
rm -f conftest.er1
|
|
2381 |
cat conftest.err >&5
|
|
2382 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2383 |
(exit $ac_status); } && {
|
|
2384 |
test -z "$ac_c_werror_flag" ||
|
|
2385 |
test ! -s conftest.err
|
|
2386 |
} && test -s conftest.$ac_objext; then
|
2757 | 2387 |
ac_cv_prog_cc_g=yes
|
2758 | 2388 |
else
|
2759 | |
CFLAGS=""
|
2760 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2389 |
echo "$as_me: failed program was:" >&5
|
|
2390 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2391 |
|
|
2392 |
CFLAGS=""
|
|
2393 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2394 |
/* confdefs.h. */
|
|
2395 |
_ACEOF
|
|
2396 |
cat confdefs.h >>conftest.$ac_ext
|
|
2397 |
cat >>conftest.$ac_ext <<_ACEOF
|
2761 | 2398 |
/* end confdefs.h. */
|
2762 | 2399 |
|
2763 | 2400 |
int
|
|
2768 | 2405 |
return 0;
|
2769 | 2406 |
}
|
2770 | 2407 |
_ACEOF
|
2771 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
2772 | |
|
2773 | |
else
|
2774 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
2408 |
rm -f conftest.$ac_objext
|
|
2409 |
if { (ac_try="$ac_compile"
|
|
2410 |
case "(($ac_try" in
|
|
2411 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2412 |
*) ac_try_echo=$ac_try;;
|
|
2413 |
esac
|
|
2414 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2415 |
(eval "$ac_compile") 2>conftest.er1
|
|
2416 |
ac_status=$?
|
|
2417 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2418 |
rm -f conftest.er1
|
|
2419 |
cat conftest.err >&5
|
|
2420 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2421 |
(exit $ac_status); } && {
|
|
2422 |
test -z "$ac_c_werror_flag" ||
|
|
2423 |
test ! -s conftest.err
|
|
2424 |
} && test -s conftest.$ac_objext; then
|
|
2425 |
:
|
|
2426 |
else
|
|
2427 |
echo "$as_me: failed program was:" >&5
|
|
2428 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2429 |
|
|
2430 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
2775 | 2431 |
CFLAGS="-g"
|
2776 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2432 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2433 |
/* confdefs.h. */
|
|
2434 |
_ACEOF
|
|
2435 |
cat confdefs.h >>conftest.$ac_ext
|
|
2436 |
cat >>conftest.$ac_ext <<_ACEOF
|
2777 | 2437 |
/* end confdefs.h. */
|
2778 | 2438 |
|
2779 | 2439 |
int
|
|
2784 | 2444 |
return 0;
|
2785 | 2445 |
}
|
2786 | 2446 |
_ACEOF
|
2787 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2447 |
rm -f conftest.$ac_objext
|
|
2448 |
if { (ac_try="$ac_compile"
|
|
2449 |
case "(($ac_try" in
|
|
2450 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2451 |
*) ac_try_echo=$ac_try;;
|
|
2452 |
esac
|
|
2453 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2454 |
(eval "$ac_compile") 2>conftest.er1
|
|
2455 |
ac_status=$?
|
|
2456 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2457 |
rm -f conftest.er1
|
|
2458 |
cat conftest.err >&5
|
|
2459 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2460 |
(exit $ac_status); } && {
|
|
2461 |
test -z "$ac_c_werror_flag" ||
|
|
2462 |
test ! -s conftest.err
|
|
2463 |
} && test -s conftest.$ac_objext; then
|
2788 | 2464 |
ac_cv_prog_cc_g=yes
|
2789 | |
fi
|
|
2465 |
else
|
|
2466 |
echo "$as_me: failed program was:" >&5
|
|
2467 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2468 |
|
|
2469 |
|
|
2470 |
fi
|
|
2471 |
|
2790 | 2472 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2791 | 2473 |
fi
|
|
2474 |
|
2792 | 2475 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2793 | 2476 |
fi
|
|
2477 |
|
2794 | 2478 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2795 | 2479 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
2796 | 2480 |
fi
|
2797 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
2798 | |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
|
2481 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
2482 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
2799 | 2483 |
if test "$ac_test_CFLAGS" = set; then
|
2800 | 2484 |
CFLAGS=$ac_save_CFLAGS
|
2801 | 2485 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
2811 | 2495 |
CFLAGS=
|
2812 | 2496 |
fi
|
2813 | 2497 |
fi
|
2814 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
2815 | |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
2816 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
2817 | |
$as_echo_n "(cached) " >&6
|
|
2498 |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
2499 |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
|
2500 |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
2501 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2818 | 2502 |
else
|
2819 | 2503 |
ac_cv_prog_cc_c89=no
|
2820 | 2504 |
ac_save_CC=$CC
|
2821 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2505 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2506 |
/* confdefs.h. */
|
|
2507 |
_ACEOF
|
|
2508 |
cat confdefs.h >>conftest.$ac_ext
|
|
2509 |
cat >>conftest.$ac_ext <<_ACEOF
|
2822 | 2510 |
/* end confdefs.h. */
|
2823 | 2511 |
#include <stdarg.h>
|
2824 | 2512 |
#include <stdio.h>
|
|
2875 | 2563 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2876 | 2564 |
do
|
2877 | 2565 |
CC="$ac_save_CC $ac_arg"
|
2878 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2566 |
rm -f conftest.$ac_objext
|
|
2567 |
if { (ac_try="$ac_compile"
|
|
2568 |
case "(($ac_try" in
|
|
2569 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2570 |
*) ac_try_echo=$ac_try;;
|
|
2571 |
esac
|
|
2572 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2573 |
(eval "$ac_compile") 2>conftest.er1
|
|
2574 |
ac_status=$?
|
|
2575 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2576 |
rm -f conftest.er1
|
|
2577 |
cat conftest.err >&5
|
|
2578 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2579 |
(exit $ac_status); } && {
|
|
2580 |
test -z "$ac_c_werror_flag" ||
|
|
2581 |
test ! -s conftest.err
|
|
2582 |
} && test -s conftest.$ac_objext; then
|
2879 | 2583 |
ac_cv_prog_cc_c89=$ac_arg
|
2880 | |
fi
|
|
2584 |
else
|
|
2585 |
echo "$as_me: failed program was:" >&5
|
|
2586 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2587 |
|
|
2588 |
|
|
2589 |
fi
|
|
2590 |
|
2881 | 2591 |
rm -f core conftest.err conftest.$ac_objext
|
2882 | 2592 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
2883 | 2593 |
done
|
|
2888 | 2598 |
# AC_CACHE_VAL
|
2889 | 2599 |
case "x$ac_cv_prog_cc_c89" in
|
2890 | 2600 |
x)
|
2891 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
2892 | |
$as_echo "none needed" >&6; } ;;
|
|
2601 |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
|
2602 |
echo "${ECHO_T}none needed" >&6; } ;;
|
2893 | 2603 |
xno)
|
2894 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
2895 | |
$as_echo "unsupported" >&6; } ;;
|
|
2604 |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
|
2605 |
echo "${ECHO_T}unsupported" >&6; } ;;
|
2896 | 2606 |
*)
|
2897 | 2607 |
CC="$CC $ac_cv_prog_cc_c89"
|
2898 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
2899 | |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
2900 | |
esac
|
2901 | |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
2902 | |
|
2903 | |
fi
|
|
2608 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
2609 |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
2610 |
esac
|
|
2611 |
|
2904 | 2612 |
|
2905 | 2613 |
ac_ext=c
|
2906 | 2614 |
ac_cpp='$CPP $CPPFLAGS'
|
|
2909 | 2617 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2910 | 2618 |
|
2911 | 2619 |
|
2912 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
|
2913 | |
$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
|
2914 | |
if test "${ac_cv_c_restrict+set}" = set; then :
|
2915 | |
$as_echo_n "(cached) " >&6
|
|
2620 |
{ echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
|
|
2621 |
echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; }
|
|
2622 |
if test "${ac_cv_c_restrict+set}" = set; then
|
|
2623 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2916 | 2624 |
else
|
2917 | 2625 |
ac_cv_c_restrict=no
|
2918 | |
# The order here caters to the fact that C++ does not require restrict.
|
2919 | |
for ac_kw in __restrict __restrict__ _Restrict restrict; do
|
2920 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2626 |
# Try the official restrict keyword, then gcc's __restrict, and
|
|
2627 |
# the less common variants.
|
|
2628 |
for ac_kw in restrict __restrict __restrict__ _Restrict; do
|
|
2629 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2630 |
/* confdefs.h. */
|
|
2631 |
_ACEOF
|
|
2632 |
cat confdefs.h >>conftest.$ac_ext
|
|
2633 |
cat >>conftest.$ac_ext <<_ACEOF
|
2921 | 2634 |
/* end confdefs.h. */
|
2922 | 2635 |
typedef int * int_ptr;
|
2923 | |
int foo (int_ptr $ac_kw ip) {
|
2924 | |
return ip[0];
|
|
2636 |
int foo (int_ptr $ac_kw ip) {
|
|
2637 |
return ip[0];
|
2925 | 2638 |
}
|
2926 | 2639 |
int
|
2927 | 2640 |
main ()
|
2928 | 2641 |
{
|
2929 | 2642 |
int s[1];
|
2930 | |
int * $ac_kw t = s;
|
2931 | |
t[0] = 0;
|
2932 | |
return foo(t)
|
|
2643 |
int * $ac_kw t = s;
|
|
2644 |
t[0] = 0;
|
|
2645 |
return foo(t)
|
2933 | 2646 |
;
|
2934 | 2647 |
return 0;
|
2935 | 2648 |
}
|
2936 | 2649 |
_ACEOF
|
2937 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2650 |
rm -f conftest.$ac_objext
|
|
2651 |
if { (ac_try="$ac_compile"
|
|
2652 |
case "(($ac_try" in
|
|
2653 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2654 |
*) ac_try_echo=$ac_try;;
|
|
2655 |
esac
|
|
2656 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2657 |
(eval "$ac_compile") 2>conftest.er1
|
|
2658 |
ac_status=$?
|
|
2659 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2660 |
rm -f conftest.er1
|
|
2661 |
cat conftest.err >&5
|
|
2662 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2663 |
(exit $ac_status); } && {
|
|
2664 |
test -z "$ac_c_werror_flag" ||
|
|
2665 |
test ! -s conftest.err
|
|
2666 |
} && test -s conftest.$ac_objext; then
|
2938 | 2667 |
ac_cv_c_restrict=$ac_kw
|
2939 | |
fi
|
|
2668 |
else
|
|
2669 |
echo "$as_me: failed program was:" >&5
|
|
2670 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2671 |
|
|
2672 |
|
|
2673 |
fi
|
|
2674 |
|
2940 | 2675 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2941 | 2676 |
test "$ac_cv_c_restrict" != no && break
|
2942 | 2677 |
done
|
2943 | 2678 |
|
2944 | 2679 |
fi
|
2945 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
|
2946 | |
$as_echo "$ac_cv_c_restrict" >&6; }
|
2947 | |
|
|
2680 |
{ echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
|
|
2681 |
echo "${ECHO_T}$ac_cv_c_restrict" >&6; }
|
2948 | 2682 |
case $ac_cv_c_restrict in
|
2949 | 2683 |
restrict) ;;
|
2950 | |
no) $as_echo "#define restrict /**/" >>confdefs.h
|
|
2684 |
no)
|
|
2685 |
cat >>confdefs.h <<\_ACEOF
|
|
2686 |
#define restrict
|
|
2687 |
_ACEOF
|
2951 | 2688 |
;;
|
2952 | 2689 |
*) cat >>confdefs.h <<_ACEOF
|
2953 | 2690 |
#define restrict $ac_cv_c_restrict
|
|
2955 | 2692 |
;;
|
2956 | 2693 |
esac
|
2957 | 2694 |
|
2958 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
|
2959 | |
$as_echo_n "checking for inline... " >&6; }
|
2960 | |
if test "${ac_cv_c_inline+set}" = set; then :
|
2961 | |
$as_echo_n "(cached) " >&6
|
|
2695 |
{ echo "$as_me:$LINENO: checking for inline" >&5
|
|
2696 |
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
|
|
2697 |
if test "${ac_cv_c_inline+set}" = set; then
|
|
2698 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2962 | 2699 |
else
|
2963 | 2700 |
ac_cv_c_inline=no
|
2964 | 2701 |
for ac_kw in inline __inline__ __inline; do
|
2965 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2702 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2703 |
/* confdefs.h. */
|
|
2704 |
_ACEOF
|
|
2705 |
cat confdefs.h >>conftest.$ac_ext
|
|
2706 |
cat >>conftest.$ac_ext <<_ACEOF
|
2966 | 2707 |
/* end confdefs.h. */
|
2967 | 2708 |
#ifndef __cplusplus
|
2968 | 2709 |
typedef int foo_t;
|
|
2971 | 2712 |
#endif
|
2972 | 2713 |
|
2973 | 2714 |
_ACEOF
|
2974 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2715 |
rm -f conftest.$ac_objext
|
|
2716 |
if { (ac_try="$ac_compile"
|
|
2717 |
case "(($ac_try" in
|
|
2718 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2719 |
*) ac_try_echo=$ac_try;;
|
|
2720 |
esac
|
|
2721 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2722 |
(eval "$ac_compile") 2>conftest.er1
|
|
2723 |
ac_status=$?
|
|
2724 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2725 |
rm -f conftest.er1
|
|
2726 |
cat conftest.err >&5
|
|
2727 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2728 |
(exit $ac_status); } && {
|
|
2729 |
test -z "$ac_c_werror_flag" ||
|
|
2730 |
test ! -s conftest.err
|
|
2731 |
} && test -s conftest.$ac_objext; then
|
2975 | 2732 |
ac_cv_c_inline=$ac_kw
|
2976 | |
fi
|
|
2733 |
else
|
|
2734 |
echo "$as_me: failed program was:" >&5
|
|
2735 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2736 |
|
|
2737 |
|
|
2738 |
fi
|
|
2739 |
|
2977 | 2740 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2978 | 2741 |
test "$ac_cv_c_inline" != no && break
|
2979 | 2742 |
done
|
2980 | 2743 |
|
2981 | 2744 |
fi
|
2982 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
|
2983 | |
$as_echo "$ac_cv_c_inline" >&6; }
|
|
2745 |
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
|
|
2746 |
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
|
|
2747 |
|
2984 | 2748 |
|
2985 | 2749 |
case $ac_cv_c_inline in
|
2986 | 2750 |
inline | yes) ;;
|
|
3003 | 2767 |
CFLAGS="${CFLAGS} -O2 -Wall"
|
3004 | 2768 |
cflags_tmp="${CFLAGS}"
|
3005 | 2769 |
CFLAGS="${CFLAGS} -m64"
|
3006 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $CFLAGS" >&5
|
3007 | |
$as_echo_n "checking whether $CC supports $CFLAGS... " >&6; }
|
3008 | |
if test "$cross_compiling" = yes; then :
|
3009 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3010 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3011 | |
as_fn_error "cannot run test program while cross compiling
|
3012 | |
See \`config.log' for more details." "$LINENO" 5; }
|
3013 | |
else
|
3014 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2770 |
{ echo "$as_me:$LINENO: checking whether $CC supports $CFLAGS" >&5
|
|
2771 |
echo $ECHO_N "checking whether $CC supports $CFLAGS... $ECHO_C" >&6; }
|
|
2772 |
if test "$cross_compiling" = yes; then
|
|
2773 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
|
2774 |
See \`config.log' for more details." >&5
|
|
2775 |
echo "$as_me: error: cannot run test program while cross compiling
|
|
2776 |
See \`config.log' for more details." >&2;}
|
|
2777 |
{ (exit 1); exit 1; }; }
|
|
2778 |
else
|
|
2779 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2780 |
/* confdefs.h. */
|
|
2781 |
_ACEOF
|
|
2782 |
cat confdefs.h >>conftest.$ac_ext
|
|
2783 |
cat >>conftest.$ac_ext <<_ACEOF
|
3015 | 2784 |
/* end confdefs.h. */
|
3016 | 2785 |
|
3017 | 2786 |
int
|
|
3022 | 2791 |
return 0;
|
3023 | 2792 |
}
|
3024 | 2793 |
_ACEOF
|
3025 | |
if ac_fn_c_try_run "$LINENO"; then :
|
3026 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3027 | |
$as_echo "yes" >&6; }
|
3028 | |
else
|
3029 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3030 | |
$as_echo "no" >&6; }
|
|
2794 |
rm -f conftest$ac_exeext
|
|
2795 |
if { (ac_try="$ac_link"
|
|
2796 |
case "(($ac_try" in
|
|
2797 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2798 |
*) ac_try_echo=$ac_try;;
|
|
2799 |
esac
|
|
2800 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2801 |
(eval "$ac_link") 2>&5
|
|
2802 |
ac_status=$?
|
|
2803 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2804 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
2805 |
{ (case "(($ac_try" in
|
|
2806 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2807 |
*) ac_try_echo=$ac_try;;
|
|
2808 |
esac
|
|
2809 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2810 |
(eval "$ac_try") 2>&5
|
|
2811 |
ac_status=$?
|
|
2812 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2813 |
(exit $ac_status); }; }; then
|
|
2814 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
2815 |
echo "${ECHO_T}yes" >&6; }
|
|
2816 |
else
|
|
2817 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
2818 |
echo "$as_me: failed program was:" >&5
|
|
2819 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2820 |
|
|
2821 |
( exit $ac_status )
|
|
2822 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2823 |
echo "${ECHO_T}no" >&6; }
|
3031 | 2824 |
CFLAGS="$cflags_tmp"
|
3032 | 2825 |
|
3033 | 2826 |
fi
|
3034 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
3035 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3036 | |
fi
|
|
2827 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
2828 |
fi
|
|
2829 |
|
3037 | 2830 |
|
3038 | 2831 |
else
|
3039 | 2832 |
SUNCCVERSION=`${CC} -V 2>&1 | grep Sun`
|
|
3044 | 2837 |
HAS_M64=`${CC} -flags | grep m64`
|
3045 | 2838 |
if test "${HAS_M64}" != "" ; then
|
3046 | 2839 |
CFLAGS="${CFLAGS} -m64"
|
3047 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $CFLAGS" >&5
|
3048 | |
$as_echo_n "checking whether $CC supports $CFLAGS... " >&6; }
|
3049 | |
if test "$cross_compiling" = yes; then :
|
3050 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3051 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3052 | |
as_fn_error "cannot run test program while cross compiling
|
3053 | |
See \`config.log' for more details." "$LINENO" 5; }
|
3054 | |
else
|
3055 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2840 |
{ echo "$as_me:$LINENO: checking whether $CC supports $CFLAGS" >&5
|
|
2841 |
echo $ECHO_N "checking whether $CC supports $CFLAGS... $ECHO_C" >&6; }
|
|
2842 |
if test "$cross_compiling" = yes; then
|
|
2843 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
|
2844 |
See \`config.log' for more details." >&5
|
|
2845 |
echo "$as_me: error: cannot run test program while cross compiling
|
|
2846 |
See \`config.log' for more details." >&2;}
|
|
2847 |
{ (exit 1); exit 1; }; }
|
|
2848 |
else
|
|
2849 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2850 |
/* confdefs.h. */
|
|
2851 |
_ACEOF
|
|
2852 |
cat confdefs.h >>conftest.$ac_ext
|
|
2853 |
cat >>conftest.$ac_ext <<_ACEOF
|
3056 | 2854 |
/* end confdefs.h. */
|
3057 | 2855 |
|
3058 | 2856 |
int
|
|
3063 | 2861 |
return 0;
|
3064 | 2862 |
}
|
3065 | 2863 |
_ACEOF
|
3066 | |
if ac_fn_c_try_run "$LINENO"; then :
|
3067 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3068 | |
$as_echo "yes" >&6; }
|
3069 | |
else
|
3070 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3071 | |
$as_echo "no" >&6; }
|
|
2864 |
rm -f conftest$ac_exeext
|
|
2865 |
if { (ac_try="$ac_link"
|
|
2866 |
case "(($ac_try" in
|
|
2867 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2868 |
*) ac_try_echo=$ac_try;;
|
|
2869 |
esac
|
|
2870 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2871 |
(eval "$ac_link") 2>&5
|
|
2872 |
ac_status=$?
|
|
2873 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2874 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
2875 |
{ (case "(($ac_try" in
|
|
2876 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2877 |
*) ac_try_echo=$ac_try;;
|
|
2878 |
esac
|
|
2879 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2880 |
(eval "$ac_try") 2>&5
|
|
2881 |
ac_status=$?
|
|
2882 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2883 |
(exit $ac_status); }; }; then
|
|
2884 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
2885 |
echo "${ECHO_T}yes" >&6; }
|
|
2886 |
else
|
|
2887 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
2888 |
echo "$as_me: failed program was:" >&5
|
|
2889 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2890 |
|
|
2891 |
( exit $ac_status )
|
|
2892 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2893 |
echo "${ECHO_T}no" >&6; }
|
3072 | 2894 |
CFLAGS="$cflags_tmp"
|
3073 | 2895 |
|
3074 | 2896 |
fi
|
3075 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
3076 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3077 | |
fi
|
|
2897 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
2898 |
fi
|
|
2899 |
|
3078 | 2900 |
|
3079 | 2901 |
else
|
3080 | 2902 |
CFLAGS="${CFLAGS} -xarch=generic64"
|
3081 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $CFLAGS" >&5
|
3082 | |
$as_echo_n "checking whether $CC supports $CFLAGS... " >&6; }
|
3083 | |
if test "$cross_compiling" = yes; then :
|
3084 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3085 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3086 | |
as_fn_error "cannot run test program while cross compiling
|
3087 | |
See \`config.log' for more details." "$LINENO" 5; }
|
3088 | |
else
|
3089 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2903 |
{ echo "$as_me:$LINENO: checking whether $CC supports $CFLAGS" >&5
|
|
2904 |
echo $ECHO_N "checking whether $CC supports $CFLAGS... $ECHO_C" >&6; }
|
|
2905 |
if test "$cross_compiling" = yes; then
|
|
2906 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
|
2907 |
See \`config.log' for more details." >&5
|
|
2908 |
echo "$as_me: error: cannot run test program while cross compiling
|
|
2909 |
See \`config.log' for more details." >&2;}
|
|
2910 |
{ (exit 1); exit 1; }; }
|
|
2911 |
else
|
|
2912 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2913 |
/* confdefs.h. */
|
|
2914 |
_ACEOF
|
|
2915 |
cat confdefs.h >>conftest.$ac_ext
|
|
2916 |
cat >>conftest.$ac_ext <<_ACEOF
|
3090 | 2917 |
/* end confdefs.h. */
|
3091 | 2918 |
|
3092 | 2919 |
int
|
|
3097 | 2924 |
return 0;
|
3098 | 2925 |
}
|
3099 | 2926 |
_ACEOF
|
3100 | |
if ac_fn_c_try_run "$LINENO"; then :
|
3101 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3102 | |
$as_echo "yes" >&6; }
|
3103 | |
else
|
3104 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3105 | |
$as_echo "no" >&6; }
|
|
2927 |
rm -f conftest$ac_exeext
|
|
2928 |
if { (ac_try="$ac_link"
|
|
2929 |
case "(($ac_try" in
|
|
2930 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2931 |
*) ac_try_echo=$ac_try;;
|
|
2932 |
esac
|
|
2933 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2934 |
(eval "$ac_link") 2>&5
|
|
2935 |
ac_status=$?
|
|
2936 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2937 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
2938 |
{ (case "(($ac_try" in
|
|
2939 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2940 |
*) ac_try_echo=$ac_try;;
|
|
2941 |
esac
|
|
2942 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2943 |
(eval "$ac_try") 2>&5
|
|
2944 |
ac_status=$?
|
|
2945 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2946 |
(exit $ac_status); }; }; then
|
|
2947 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
2948 |
echo "${ECHO_T}yes" >&6; }
|
|
2949 |
else
|
|
2950 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
2951 |
echo "$as_me: failed program was:" >&5
|
|
2952 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2953 |
|
|
2954 |
( exit $ac_status )
|
|
2955 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2956 |
echo "${ECHO_T}no" >&6; }
|
3106 | 2957 |
CFLAGS="$cflags_tmp"
|
3107 | 2958 |
|
3108 | 2959 |
fi
|
3109 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
3110 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
3111 | |
fi
|
|
2960 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
2961 |
fi
|
|
2962 |
|
3112 | 2963 |
|
3113 | 2964 |
fi
|
3114 | 2965 |
else
|
|
3133 | 2984 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
3134 | 2985 |
# OS/2's system install, which has a completely different semantic
|
3135 | 2986 |
# ./install, which can be erroneously created by make from ./install.sh.
|
3136 | |
# Reject install programs that cannot install multiple files.
|
3137 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
3138 | |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
2987 |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
2988 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
3139 | 2989 |
if test -z "$INSTALL"; then
|
3140 | |
if test "${ac_cv_path_install+set}" = set; then :
|
3141 | |
$as_echo_n "(cached) " >&6
|
|
2990 |
if test "${ac_cv_path_install+set}" = set; then
|
|
2991 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3142 | 2992 |
else
|
3143 | 2993 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3144 | 2994 |
for as_dir in $PATH
|
3145 | 2995 |
do
|
3146 | 2996 |
IFS=$as_save_IFS
|
3147 | 2997 |
test -z "$as_dir" && as_dir=.
|
3148 | |
# Account for people who put trailing slashes in PATH elements.
|
3149 | |
case $as_dir/ in #((
|
3150 | |
./ | .// | /[cC]/* | \
|
|
2998 |
# Account for people who put trailing slashes in PATH elements.
|
|
2999 |
case $as_dir/ in
|
|
3000 |
./ | .// | /cC/* | \
|
3151 | 3001 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
3152 | |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
|
3002 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
3153 | 3003 |
/usr/ucb/* ) ;;
|
3154 | 3004 |
*)
|
3155 | 3005 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
3167 | 3017 |
# program-specific install script used by HP pwplus--don't use.
|
3168 | 3018 |
:
|
3169 | 3019 |
else
|
3170 | |
rm -rf conftest.one conftest.two conftest.dir
|
3171 | |
echo one > conftest.one
|
3172 | |
echo two > conftest.two
|
3173 | |
mkdir conftest.dir
|
3174 | |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
3175 | |
test -s conftest.one && test -s conftest.two &&
|
3176 | |
test -s conftest.dir/conftest.one &&
|
3177 | |
test -s conftest.dir/conftest.two
|
3178 | |
then
|
3179 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
3180 | |
break 3
|
3181 | |
fi
|
|
3020 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
3021 |
break 3
|
3182 | 3022 |
fi
|
3183 | 3023 |
fi
|
3184 | 3024 |
done
|
3185 | 3025 |
done
|
3186 | 3026 |
;;
|
3187 | 3027 |
esac
|
3188 | |
|
3189 | |
done
|
|
3028 |
done
|
3190 | 3029 |
IFS=$as_save_IFS
|
3191 | 3030 |
|
3192 | |
rm -rf conftest.one conftest.two conftest.dir
|
3193 | 3031 |
|
3194 | 3032 |
fi
|
3195 | 3033 |
if test "${ac_cv_path_install+set}" = set; then
|
|
3202 | 3040 |
INSTALL=$ac_install_sh
|
3203 | 3041 |
fi
|
3204 | 3042 |
fi
|
3205 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
3206 | |
$as_echo "$INSTALL" >&6; }
|
|
3043 |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
3044 |
echo "${ECHO_T}$INSTALL" >&6; }
|
3207 | 3045 |
|
3208 | 3046 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
3209 | 3047 |
# It thinks the first close brace ends the variable substitution.
|
|
3215 | 3053 |
|
3216 | 3054 |
# Extract the first word of "rm", so it can be a program name with args.
|
3217 | 3055 |
set dummy rm; ac_word=$2
|
3218 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3219 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3220 | |
if test "${ac_cv_path_RM+set}" = set; then :
|
3221 | |
$as_echo_n "(cached) " >&6
|
|
3056 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3057 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
3058 |
if test "${ac_cv_path_RM+set}" = set; then
|
|
3059 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3222 | 3060 |
else
|
3223 | 3061 |
case $RM in
|
3224 | 3062 |
[\\/]* | ?:[\\/]*)
|
|
3230 | 3068 |
do
|
3231 | 3069 |
IFS=$as_save_IFS
|
3232 | 3070 |
test -z "$as_dir" && as_dir=.
|
3233 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3071 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3234 | 3072 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3235 | 3073 |
ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
|
3236 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3074 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3237 | 3075 |
break 2
|
3238 | 3076 |
fi
|
3239 | 3077 |
done
|
3240 | |
done
|
|
3078 |
done
|
3241 | 3079 |
IFS=$as_save_IFS
|
3242 | 3080 |
|
3243 | 3081 |
;;
|
|
3245 | 3083 |
fi
|
3246 | 3084 |
RM=$ac_cv_path_RM
|
3247 | 3085 |
if test -n "$RM"; then
|
3248 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
|
3249 | |
$as_echo "$RM" >&6; }
|
3250 | |
else
|
3251 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3252 | |
$as_echo "no" >&6; }
|
3253 | |
fi
|
3254 | |
|
3255 | |
|
3256 | |
|
3257 | |
|
3258 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
|
3259 | |
$as_echo_n "checking whether to enable assertions... " >&6; }
|
|
3086 |
{ echo "$as_me:$LINENO: result: $RM" >&5
|
|
3087 |
echo "${ECHO_T}$RM" >&6; }
|
|
3088 |
else
|
|
3089 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
3090 |
echo "${ECHO_T}no" >&6; }
|
|
3091 |
fi
|
|
3092 |
|
|
3093 |
|
|
3094 |
# Extract the first word of "mt", so it can be a program name with args.
|
|
3095 |
set dummy mt; ac_word=$2
|
|
3096 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3097 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
|
3098 |
if test "${ac_cv_path_MT+set}" = set; then
|
|
3099 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3100 |
else
|
|
3101 |
case $MT in
|
|
3102 |
[\\/]* | ?:[\\/]*)
|
|
3103 |
ac_cv_path_MT="$MT" # Let the user override the test with a path.
|
|
3104 |
;;
|
|
3105 |
*)
|
|
3106 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3107 |
for as_dir in $PATH
|
|
3108 |
do
|
|
3109 |
IFS=$as_save_IFS
|
|
3110 |
test -z "$as_dir" && as_dir=.
|
|
3111 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3112 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3113 |
ac_cv_path_MT="$as_dir/$ac_word$ac_exec_ext"
|
|
3114 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3115 |
break 2
|
|
3116 |
fi
|
|
3117 |
done
|
|
3118 |
done
|
|
3119 |
IFS=$as_save_IFS
|
|
3120 |
|
|
3121 |
test -z "$ac_cv_path_MT" && ac_cv_path_MT="{ echo "$as_me:$LINENO: WARNING: could not find the program mt - you might need this if you want autoloader support" >&5
|
|
3122 |
echo "$as_me: WARNING: could not find the program mt - you might need this if you want autoloader support" >&2;}"
|
|
3123 |
;;
|
|
3124 |
esac
|
|
3125 |
fi
|
|
3126 |
MT=$ac_cv_path_MT
|
|
3127 |
if test -n "$MT"; then
|
|
3128 |
{ echo "$as_me:$LINENO: result: $MT" >&5
|
|
3129 |
echo "${ECHO_T}$MT" >&6; }
|
|
3130 |
else
|
|
3131 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
3132 |
echo "${ECHO_T}no" >&6; }
|
|
3133 |
fi
|
|
3134 |
|
|
3135 |
|
|
3136 |
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
|
3137 |
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
|
|
3138 |
if test "${ac_cv_type_signal+set}" = set; then
|
|
3139 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3140 |
else
|
|
3141 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3142 |
/* confdefs.h. */
|
|
3143 |
_ACEOF
|
|
3144 |
cat confdefs.h >>conftest.$ac_ext
|
|
3145 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3146 |
/* end confdefs.h. */
|
|
3147 |
#include <sys/types.h>
|
|
3148 |
#include <signal.h>
|
|
3149 |
|
|
3150 |
int
|
|
3151 |
main ()
|
|
3152 |
{
|
|
3153 |
return *(signal (0, 0)) (0) == 1;
|
|
3154 |
;
|
|
3155 |
return 0;
|
|
3156 |
}
|
|
3157 |
_ACEOF
|
|
3158 |
rm -f conftest.$ac_objext
|
|
3159 |
if { (ac_try="$ac_compile"
|
|
3160 |
case "(($ac_try" in
|
|
3161 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3162 |
*) ac_try_echo=$ac_try;;
|
|
3163 |
esac
|
|
3164 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3165 |
(eval "$ac_compile") 2>conftest.er1
|
|
3166 |
ac_status=$?
|
|
3167 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3168 |
rm -f conftest.er1
|
|
3169 |
cat conftest.err >&5
|
|
3170 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3171 |
(exit $ac_status); } && {
|
|
3172 |
test -z "$ac_c_werror_flag" ||
|
|
3173 |
test ! -s conftest.err
|
|
3174 |
} && test -s conftest.$ac_objext; then
|
|
3175 |
ac_cv_type_signal=int
|
|
3176 |
else
|
|
3177 |
echo "$as_me: failed program was:" >&5
|
|
3178 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3179 |
|
|
3180 |
ac_cv_type_signal=void
|
|
3181 |
fi
|
|
3182 |
|
|
3183 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3184 |
fi
|
|
3185 |
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
|
3186 |
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
|
|
3187 |
|
|
3188 |
cat >>confdefs.h <<_ACEOF
|
|
3189 |
#define RETSIGTYPE $ac_cv_type_signal
|
|
3190 |
_ACEOF
|
|
3191 |
|
|
3192 |
|
|
3193 |
# Check whether --enable-largefile was given.
|
|
3194 |
if test "${enable_largefile+set}" = set; then
|
|
3195 |
enableval=$enable_largefile;
|
|
3196 |
fi
|
|
3197 |
|
|
3198 |
if test "$enable_largefile" != no; then
|
|
3199 |
|
|
3200 |
{ echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
|
|
3201 |
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
|
|
3202 |
if test "${ac_cv_sys_largefile_CC+set}" = set; then
|
|
3203 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3204 |
else
|
|
3205 |
ac_cv_sys_largefile_CC=no
|
|
3206 |
if test "$GCC" != yes; then
|
|
3207 |
ac_save_CC=$CC
|
|
3208 |
while :; do
|
|
3209 |
# IRIX 6.2 and later do not support large files by default,
|
|
3210 |
# so use the C compiler's -n32 option if that helps.
|
|
3211 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3212 |
/* confdefs.h. */
|
|
3213 |
_ACEOF
|
|
3214 |
cat confdefs.h >>conftest.$ac_ext
|
|
3215 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3216 |
/* end confdefs.h. */
|
|
3217 |
#include <sys/types.h>
|
|
3218 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
3219 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
3220 |
since some C++ compilers masquerading as C compilers
|
|
3221 |
incorrectly reject 9223372036854775807. */
|
|
3222 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
3223 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
3224 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
3225 |
? 1 : -1];
|
|
3226 |
int
|
|
3227 |
main ()
|
|
3228 |
{
|
|
3229 |
|
|
3230 |
;
|
|
3231 |
return 0;
|
|
3232 |
}
|
|
3233 |
_ACEOF
|
|
3234 |
rm -f conftest.$ac_objext
|
|
3235 |
if { (ac_try="$ac_compile"
|
|
3236 |
case "(($ac_try" in
|
|
3237 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3238 |
*) ac_try_echo=$ac_try;;
|
|
3239 |
esac
|
|
3240 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3241 |
(eval "$ac_compile") 2>conftest.er1
|
|
3242 |
ac_status=$?
|
|
3243 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3244 |
rm -f conftest.er1
|
|
3245 |
cat conftest.err >&5
|
|
3246 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3247 |
(exit $ac_status); } && {
|
|
3248 |
test -z "$ac_c_werror_flag" ||
|
|
3249 |
test ! -s conftest.err
|
|
3250 |
} && test -s conftest.$ac_objext; then
|
|
3251 |
break
|
|
3252 |
else
|
|
3253 |
echo "$as_me: failed program was:" >&5
|
|
3254 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3255 |
|
|
3256 |
|
|
3257 |
fi
|
|
3258 |
|
|
3259 |
rm -f core conftest.err conftest.$ac_objext
|
|
3260 |
CC="$CC -n32"
|
|
3261 |
rm -f conftest.$ac_objext
|
|
3262 |
if { (ac_try="$ac_compile"
|
|
3263 |
case "(($ac_try" in
|
|
3264 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3265 |
*) ac_try_echo=$ac_try;;
|
|
3266 |
esac
|
|
3267 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3268 |
(eval "$ac_compile") 2>conftest.er1
|
|
3269 |
ac_status=$?
|
|
3270 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3271 |
rm -f conftest.er1
|
|
3272 |
cat conftest.err >&5
|
|
3273 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3274 |
(exit $ac_status); } && {
|
|
3275 |
test -z "$ac_c_werror_flag" ||
|
|
3276 |
test ! -s conftest.err
|
|
3277 |
} && test -s conftest.$ac_objext; then
|
|
3278 |
ac_cv_sys_largefile_CC=' -n32'; break
|
|
3279 |
else
|
|
3280 |
echo "$as_me: failed program was:" >&5
|
|
3281 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3282 |
|
|
3283 |
|
|
3284 |
fi
|
|
3285 |
|
|
3286 |
rm -f core conftest.err conftest.$ac_objext
|
|
3287 |
break
|
|
3288 |
done
|
|
3289 |
CC=$ac_save_CC
|
|
3290 |
rm -f conftest.$ac_ext
|
|
3291 |
fi
|
|
3292 |
fi
|
|
3293 |
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
|
|
3294 |
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
|
|
3295 |
if test "$ac_cv_sys_largefile_CC" != no; then
|
|
3296 |
CC=$CC$ac_cv_sys_largefile_CC
|
|
3297 |
fi
|
|
3298 |
|
|
3299 |
{ echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
3300 |
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
|
|
3301 |
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
|
|
3302 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3303 |
else
|
|
3304 |
while :; do
|
|
3305 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3306 |
/* confdefs.h. */
|
|
3307 |
_ACEOF
|
|
3308 |
cat confdefs.h >>conftest.$ac_ext
|
|
3309 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3310 |
/* end confdefs.h. */
|
|
3311 |
#include <sys/types.h>
|
|
3312 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
3313 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
3314 |
since some C++ compilers masquerading as C compilers
|
|
3315 |
incorrectly reject 9223372036854775807. */
|
|
3316 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
3317 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
3318 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
3319 |
? 1 : -1];
|
|
3320 |
int
|
|
3321 |
main ()
|
|
3322 |
{
|
|
3323 |
|
|
3324 |
;
|
|
3325 |
return 0;
|
|
3326 |
}
|
|
3327 |
_ACEOF
|
|
3328 |
rm -f conftest.$ac_objext
|
|
3329 |
if { (ac_try="$ac_compile"
|
|
3330 |
case "(($ac_try" in
|
|
3331 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3332 |
*) ac_try_echo=$ac_try;;
|
|
3333 |
esac
|
|
3334 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3335 |
(eval "$ac_compile") 2>conftest.er1
|
|
3336 |
ac_status=$?
|
|
3337 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3338 |
rm -f conftest.er1
|
|
3339 |
cat conftest.err >&5
|
|
3340 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3341 |
(exit $ac_status); } && {
|
|
3342 |
test -z "$ac_c_werror_flag" ||
|
|
3343 |
test ! -s conftest.err
|
|
3344 |
} && test -s conftest.$ac_objext; then
|
|
3345 |
ac_cv_sys_file_offset_bits=no; break
|
|
3346 |
else
|
|
3347 |
echo "$as_me: failed program was:" >&5
|
|
3348 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3349 |
|
|
3350 |
|
|
3351 |
fi
|
|
3352 |
|
|
3353 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3354 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3355 |
/* confdefs.h. */
|
|
3356 |
_ACEOF
|
|
3357 |
cat confdefs.h >>conftest.$ac_ext
|
|
3358 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3359 |
/* end confdefs.h. */
|
|
3360 |
#define _FILE_OFFSET_BITS 64
|
|
3361 |
#include <sys/types.h>
|
|
3362 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
3363 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
3364 |
since some C++ compilers masquerading as C compilers
|
|
3365 |
incorrectly reject 9223372036854775807. */
|
|
3366 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
3367 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
3368 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
3369 |
? 1 : -1];
|
|
3370 |
int
|
|
3371 |
main ()
|
|
3372 |
{
|
|
3373 |
|
|
3374 |
;
|
|
3375 |
return 0;
|
|
3376 |
}
|
|
3377 |
_ACEOF
|
|
3378 |
rm -f conftest.$ac_objext
|
|
3379 |
if { (ac_try="$ac_compile"
|
|
3380 |
case "(($ac_try" in
|
|
3381 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3382 |
*) ac_try_echo=$ac_try;;
|
|
3383 |
esac
|
|
3384 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3385 |
(eval "$ac_compile") 2>conftest.er1
|
|
3386 |
ac_status=$?
|
|
3387 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3388 |
rm -f conftest.er1
|
|
3389 |
cat conftest.err >&5
|
|
3390 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3391 |
(exit $ac_status); } && {
|
|
3392 |
test -z "$ac_c_werror_flag" ||
|
|
3393 |
test ! -s conftest.err
|
|
3394 |
} && test -s conftest.$ac_objext; then
|
|
3395 |
ac_cv_sys_file_offset_bits=64; break
|
|
3396 |
else
|
|
3397 |
echo "$as_me: failed program was:" >&5
|
|
3398 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3399 |
|
|
3400 |
|
|
3401 |
fi
|
|
3402 |
|
|
3403 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3404 |
ac_cv_sys_file_offset_bits=unknown
|
|
3405 |
break
|
|
3406 |
done
|
|
3407 |
fi
|
|
3408 |
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
|
|
3409 |
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
|
|
3410 |
case $ac_cv_sys_file_offset_bits in #(
|
|
3411 |
no | unknown) ;;
|
|
3412 |
*)
|
|
3413 |
cat >>confdefs.h <<_ACEOF
|
|
3414 |
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
|
|
3415 |
_ACEOF
|
|
3416 |
;;
|
|
3417 |
esac
|
|
3418 |
rm -f conftest*
|
|
3419 |
if test $ac_cv_sys_file_offset_bits = unknown; then
|
|
3420 |
{ echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
|
|
3421 |
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
|
|
3422 |
if test "${ac_cv_sys_large_files+set}" = set; then
|
|
3423 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3424 |
else
|
|
3425 |
while :; do
|
|
3426 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3427 |
/* confdefs.h. */
|
|
3428 |
_ACEOF
|
|
3429 |
cat confdefs.h >>conftest.$ac_ext
|
|
3430 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3431 |
/* end confdefs.h. */
|
|
3432 |
#include <sys/types.h>
|
|
3433 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
3434 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
3435 |
since some C++ compilers masquerading as C compilers
|
|
3436 |
incorrectly reject 9223372036854775807. */
|
|
3437 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
3438 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
3439 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
3440 |
? 1 : -1];
|
|
3441 |
int
|
|
3442 |
main ()
|
|
3443 |
{
|
|
3444 |
|
|
3445 |
;
|
|
3446 |
return 0;
|
|
3447 |
}
|
|
3448 |
_ACEOF
|
|
3449 |
rm -f conftest.$ac_objext
|
|
3450 |
if { (ac_try="$ac_compile"
|
|
3451 |
case "(($ac_try" in
|
|
3452 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3453 |
*) ac_try_echo=$ac_try;;
|
|
3454 |
esac
|
|
3455 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3456 |
(eval "$ac_compile") 2>conftest.er1
|
|
3457 |
ac_status=$?
|
|
3458 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3459 |
rm -f conftest.er1
|
|
3460 |
cat conftest.err >&5
|
|
3461 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3462 |
(exit $ac_status); } && {
|
|
3463 |
test -z "$ac_c_werror_flag" ||
|
|
3464 |
test ! -s conftest.err
|
|
3465 |
} && test -s conftest.$ac_objext; then
|
|
3466 |
ac_cv_sys_large_files=no; break
|
|
3467 |
else
|
|
3468 |
echo "$as_me: failed program was:" >&5
|
|
3469 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3470 |
|
|
3471 |
|
|
3472 |
fi
|
|
3473 |
|
|
3474 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3475 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3476 |
/* confdefs.h. */
|
|
3477 |
_ACEOF
|
|
3478 |
cat confdefs.h >>conftest.$ac_ext
|
|
3479 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3480 |
/* end confdefs.h. */
|
|
3481 |
#define _LARGE_FILES 1
|
|
3482 |
#include <sys/types.h>
|
|
3483 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
3484 |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
|
3485 |
since some C++ compilers masquerading as C compilers
|
|
3486 |
incorrectly reject 9223372036854775807. */
|
|
3487 |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
|
3488 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
|
3489 |
&& LARGE_OFF_T % 2147483647 == 1)
|
|
3490 |
? 1 : -1];
|
|
3491 |
int
|
|
3492 |
main ()
|
|
3493 |
{
|
|
3494 |
|
|
3495 |
;
|
|
3496 |
return 0;
|
|
3497 |
}
|
|
3498 |
_ACEOF
|
|
3499 |
rm -f conftest.$ac_objext
|
|
3500 |
if { (ac_try="$ac_compile"
|
|
3501 |
case "(($ac_try" in
|
|
3502 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3503 |
*) ac_try_echo=$ac_try;;
|
|
3504 |
esac
|
|
3505 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3506 |
(eval "$ac_compile") 2>conftest.er1
|
|
3507 |
ac_status=$?
|
|
3508 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3509 |
rm -f conftest.er1
|
|
3510 |
cat conftest.err >&5
|
|
3511 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3512 |
(exit $ac_status); } && {
|
|
3513 |
test -z "$ac_c_werror_flag" ||
|
|
3514 |
test ! -s conftest.err
|
|
3515 |
} && test -s conftest.$ac_objext; then
|
|
3516 |
ac_cv_sys_large_files=1; break
|
|
3517 |
else
|
|
3518 |
echo "$as_me: failed program was:" >&5
|
|
3519 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3520 |
|
|
3521 |
|
|
3522 |
fi
|
|
3523 |
|
|
3524 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3525 |
ac_cv_sys_large_files=unknown
|
|
3526 |
break
|
|
3527 |
done
|
|
3528 |
fi
|
|
3529 |
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
|
|
3530 |
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
|
|
3531 |
case $ac_cv_sys_large_files in #(
|
|
3532 |
no | unknown) ;;
|
|
3533 |
*)
|
|
3534 |
cat >>confdefs.h <<_ACEOF
|
|
3535 |
#define _LARGE_FILES $ac_cv_sys_large_files
|
|
3536 |
_ACEOF
|
|
3537 |
;;
|
|
3538 |
esac
|
|
3539 |
rm -f conftest*
|
|
3540 |
fi
|
|
3541 |
fi
|
|
3542 |
|
|
3543 |
ac_ext=c
|
|
3544 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3545 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3546 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
3547 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
3548 |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
3549 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
|
3550 |
# On Suns, sometimes $CPP names a directory.
|
|
3551 |
if test -n "$CPP" && test -d "$CPP"; then
|
|
3552 |
CPP=
|
|
3553 |
fi
|
|
3554 |
if test -z "$CPP"; then
|
|
3555 |
if test "${ac_cv_prog_CPP+set}" = set; then
|
|
3556 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3557 |
else
|
|
3558 |
# Double quotes because CPP needs to be expanded
|
|
3559 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
3560 |
do
|
|
3561 |
ac_preproc_ok=false
|
|
3562 |
for ac_c_preproc_warn_flag in '' yes
|
|
3563 |
do
|
|
3564 |
# Use a header file that comes with gcc, so configuring glibc
|
|
3565 |
# with a fresh cross-compiler works.
|
|
3566 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
3567 |
# <limits.h> exists even on freestanding compilers.
|
|
3568 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
3569 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
3570 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3571 |
/* confdefs.h. */
|
|
3572 |
_ACEOF
|
|
3573 |
cat confdefs.h >>conftest.$ac_ext
|
|
3574 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3575 |
/* end confdefs.h. */
|
|
3576 |
#ifdef __STDC__
|
|
3577 |
# include <limits.h>
|
|
3578 |
#else
|
|
3579 |
# include <assert.h>
|
|
3580 |
#endif
|
|
3581 |
Syntax error
|
|
3582 |
_ACEOF
|
|
3583 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3584 |
case "(($ac_try" in
|
|
3585 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3586 |
*) ac_try_echo=$ac_try;;
|
|
3587 |
esac
|
|
3588 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3589 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
3590 |
ac_status=$?
|
|
3591 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3592 |
rm -f conftest.er1
|
|
3593 |
cat conftest.err >&5
|
|
3594 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3595 |
(exit $ac_status); } >/dev/null && {
|
|
3596 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3597 |
test ! -s conftest.err
|
|
3598 |
}; then
|
|
3599 |
:
|
|
3600 |
else
|
|
3601 |
echo "$as_me: failed program was:" >&5
|
|
3602 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3603 |
|
|
3604 |
# Broken: fails on valid input.
|
|
3605 |
continue
|
|
3606 |
fi
|
|
3607 |
|
|
3608 |
rm -f conftest.err conftest.$ac_ext
|
|
3609 |
|
|
3610 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
3611 |
# can be detected and how.
|
|
3612 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3613 |
/* confdefs.h. */
|
|
3614 |
_ACEOF
|
|
3615 |
cat confdefs.h >>conftest.$ac_ext
|
|
3616 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3617 |
/* end confdefs.h. */
|
|
3618 |
#include <ac_nonexistent.h>
|
|
3619 |
_ACEOF
|
|
3620 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3621 |
case "(($ac_try" in
|
|
3622 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3623 |
*) ac_try_echo=$ac_try;;
|
|
3624 |
esac
|
|
3625 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3626 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
3627 |
ac_status=$?
|
|
3628 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3629 |
rm -f conftest.er1
|
|
3630 |
cat conftest.err >&5
|
|
3631 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3632 |
(exit $ac_status); } >/dev/null && {
|
|
3633 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3634 |
test ! -s conftest.err
|
|
3635 |
}; then
|
|
3636 |
# Broken: success on invalid input.
|
|
3637 |
continue
|
|
3638 |
else
|
|
3639 |
echo "$as_me: failed program was:" >&5
|
|
3640 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3641 |
|
|
3642 |
# Passes both tests.
|
|
3643 |
ac_preproc_ok=:
|
|
3644 |
break
|
|
3645 |
fi
|
|
3646 |
|
|
3647 |
rm -f conftest.err conftest.$ac_ext
|
|
3648 |
|
|
3649 |
done
|
|
3650 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
3651 |
rm -f conftest.err conftest.$ac_ext
|
|
3652 |
if $ac_preproc_ok; then
|
|
3653 |
break
|
|
3654 |
fi
|
|
3655 |
|
|
3656 |
done
|
|
3657 |
ac_cv_prog_CPP=$CPP
|
|
3658 |
|
|
3659 |
fi
|
|
3660 |
CPP=$ac_cv_prog_CPP
|
|
3661 |
else
|
|
3662 |
ac_cv_prog_CPP=$CPP
|
|
3663 |
fi
|
|
3664 |
{ echo "$as_me:$LINENO: result: $CPP" >&5
|
|
3665 |
echo "${ECHO_T}$CPP" >&6; }
|
|
3666 |
ac_preproc_ok=false
|
|
3667 |
for ac_c_preproc_warn_flag in '' yes
|
|
3668 |
do
|
|
3669 |
# Use a header file that comes with gcc, so configuring glibc
|
|
3670 |
# with a fresh cross-compiler works.
|
|
3671 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
3672 |
# <limits.h> exists even on freestanding compilers.
|
|
3673 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
3674 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
3675 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3676 |
/* confdefs.h. */
|
|
3677 |
_ACEOF
|
|
3678 |
cat confdefs.h >>conftest.$ac_ext
|
|
3679 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3680 |
/* end confdefs.h. */
|
|
3681 |
#ifdef __STDC__
|
|
3682 |
# include <limits.h>
|
|
3683 |
#else
|
|
3684 |
# include <assert.h>
|
|
3685 |
#endif
|
|
3686 |
Syntax error
|
|
3687 |
_ACEOF
|
|
3688 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3689 |
case "(($ac_try" in
|
|
3690 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3691 |
*) ac_try_echo=$ac_try;;
|
|
3692 |
esac
|
|
3693 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3694 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
3695 |
ac_status=$?
|
|
3696 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3697 |
rm -f conftest.er1
|
|
3698 |
cat conftest.err >&5
|
|
3699 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3700 |
(exit $ac_status); } >/dev/null && {
|
|
3701 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3702 |
test ! -s conftest.err
|
|
3703 |
}; then
|
|
3704 |
:
|
|
3705 |
else
|
|
3706 |
echo "$as_me: failed program was:" >&5
|
|
3707 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3708 |
|
|
3709 |
# Broken: fails on valid input.
|
|
3710 |
continue
|
|
3711 |
fi
|
|
3712 |
|
|
3713 |
rm -f conftest.err conftest.$ac_ext
|
|
3714 |
|
|
3715 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
3716 |
# can be detected and how.
|
|
3717 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3718 |
/* confdefs.h. */
|
|
3719 |
_ACEOF
|
|
3720 |
cat confdefs.h >>conftest.$ac_ext
|
|
3721 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3722 |
/* end confdefs.h. */
|
|
3723 |
#include <ac_nonexistent.h>
|
|
3724 |
_ACEOF
|
|
3725 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3726 |
case "(($ac_try" in
|
|
3727 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3728 |
*) ac_try_echo=$ac_try;;
|
|
3729 |
esac
|
|
3730 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3731 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
3732 |
ac_status=$?
|
|
3733 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3734 |
rm -f conftest.er1
|
|
3735 |
cat conftest.err >&5
|
|
3736 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3737 |
(exit $ac_status); } >/dev/null && {
|
|
3738 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3739 |
test ! -s conftest.err
|
|
3740 |
}; then
|
|
3741 |
# Broken: success on invalid input.
|
|
3742 |
continue
|
|
3743 |
else
|
|
3744 |
echo "$as_me: failed program was:" >&5
|
|
3745 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3746 |
|
|
3747 |
# Passes both tests.
|
|
3748 |
ac_preproc_ok=:
|
|
3749 |
break
|
|
3750 |
fi
|
|
3751 |
|
|
3752 |
rm -f conftest.err conftest.$ac_ext
|
|
3753 |
|
|
3754 |
done
|
|
3755 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
3756 |
rm -f conftest.err conftest.$ac_ext
|
|
3757 |
if $ac_preproc_ok; then
|
|
3758 |
:
|
|
3759 |
else
|
|
3760 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
|
3761 |
See \`config.log' for more details." >&5
|
|
3762 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
|
3763 |
See \`config.log' for more details." >&2;}
|
|
3764 |
{ (exit 1); exit 1; }; }
|
|
3765 |
fi
|
|
3766 |
|
|
3767 |
ac_ext=c
|
|
3768 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3769 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3770 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
3771 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
3772 |
|
|
3773 |
|
|
3774 |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
3775 |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
|
3776 |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
3777 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3778 |
else
|
|
3779 |
# Extract the first word of "grep ggrep" to use in msg output
|
|
3780 |
if test -z "$GREP"; then
|
|
3781 |
set dummy grep ggrep; ac_prog_name=$2
|
|
3782 |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
3783 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3784 |
else
|
|
3785 |
ac_path_GREP_found=false
|
|
3786 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3787 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3788 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
3789 |
do
|
|
3790 |
IFS=$as_save_IFS
|
|
3791 |
test -z "$as_dir" && as_dir=.
|
|
3792 |
for ac_prog in grep ggrep; do
|
|
3793 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3794 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3795 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
3796 |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
3797 |
# Check for GNU $ac_path_GREP
|
|
3798 |
case `"$ac_path_GREP" --version 2>&1` in
|
|
3799 |
*GNU*)
|
|
3800 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
3801 |
*)
|
|
3802 |
ac_count=0
|
|
3803 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
3804 |
while :
|
|
3805 |
do
|
|
3806 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
3807 |
mv "conftest.tmp" "conftest.in"
|
|
3808 |
cp "conftest.in" "conftest.nl"
|
|
3809 |
echo 'GREP' >> "conftest.nl"
|
|
3810 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
3811 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
3812 |
ac_count=`expr $ac_count + 1`
|
|
3813 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
3814 |
# Best one so far, save it but keep looking for a better one
|
|
3815 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
3816 |
ac_path_GREP_max=$ac_count
|
|
3817 |
fi
|
|
3818 |
# 10*(2^10) chars as input seems more than enough
|
|
3819 |
test $ac_count -gt 10 && break
|
|
3820 |
done
|
|
3821 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
3822 |
esac
|
|
3823 |
|
|
3824 |
|
|
3825 |
$ac_path_GREP_found && break 3
|
|
3826 |
done
|
|
3827 |
done
|
|
3828 |
|
|
3829 |
done
|
|
3830 |
IFS=$as_save_IFS
|
|
3831 |
|
|
3832 |
|
|
3833 |
fi
|
|
3834 |
|
|
3835 |
GREP="$ac_cv_path_GREP"
|
|
3836 |
if test -z "$GREP"; then
|
|
3837 |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
3838 |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
3839 |
{ (exit 1); exit 1; }; }
|
|
3840 |
fi
|
|
3841 |
|
|
3842 |
else
|
|
3843 |
ac_cv_path_GREP=$GREP
|
|
3844 |
fi
|
|
3845 |
|
|
3846 |
|
|
3847 |
fi
|
|
3848 |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
3849 |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
3850 |
GREP="$ac_cv_path_GREP"
|
|
3851 |
|
|
3852 |
|
|
3853 |
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
|
3854 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
|
3855 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
3856 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3857 |
else
|
|
3858 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
3859 |
then ac_cv_path_EGREP="$GREP -E"
|
|
3860 |
else
|
|
3861 |
# Extract the first word of "egrep" to use in msg output
|
|
3862 |
if test -z "$EGREP"; then
|
|
3863 |
set dummy egrep; ac_prog_name=$2
|
|
3864 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
3865 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3866 |
else
|
|
3867 |
ac_path_EGREP_found=false
|
|
3868 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3869 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3870 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
3871 |
do
|
|
3872 |
IFS=$as_save_IFS
|
|
3873 |
test -z "$as_dir" && as_dir=.
|
|
3874 |
for ac_prog in egrep; do
|
|
3875 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3876 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3877 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
3878 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
3879 |
# Check for GNU $ac_path_EGREP
|
|
3880 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
3881 |
*GNU*)
|
|
3882 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
3883 |
*)
|
|
3884 |
ac_count=0
|
|
3885 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
3886 |
while :
|
|
3887 |
do
|
|
3888 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
3889 |
mv "conftest.tmp" "conftest.in"
|
|
3890 |
cp "conftest.in" "conftest.nl"
|
|
3891 |
echo 'EGREP' >> "conftest.nl"
|
|
3892 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
3893 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
3894 |
ac_count=`expr $ac_count + 1`
|
|
3895 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
3896 |
# Best one so far, save it but keep looking for a better one
|
|
3897 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
3898 |
ac_path_EGREP_max=$ac_count
|
|
3899 |
fi
|
|
3900 |
# 10*(2^10) chars as input seems more than enough
|
|
3901 |
test $ac_count -gt 10 && break
|
|
3902 |
done
|
|
3903 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
3904 |
esac
|
|
3905 |
|
|
3906 |
|
|
3907 |
$ac_path_EGREP_found && break 3
|
|
3908 |
done
|
|
3909 |
done
|
|
3910 |
|
|
3911 |
done
|
|
3912 |
IFS=$as_save_IFS
|
|
3913 |
|
|
3914 |
|
|
3915 |
fi
|
|
3916 |
|
|
3917 |
EGREP="$ac_cv_path_EGREP"
|
|
3918 |
if test -z "$EGREP"; then
|
|
3919 |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
3920 |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
3921 |
{ (exit 1); exit 1; }; }
|
|
3922 |
fi
|
|
3923 |
|
|
3924 |
else
|
|
3925 |
ac_cv_path_EGREP=$EGREP
|
|
3926 |
fi
|
|
3927 |
|
|
3928 |
|
|
3929 |
fi
|
|
3930 |
fi
|
|
3931 |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
3932 |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
3933 |
EGREP="$ac_cv_path_EGREP"
|
|
3934 |
|
|
3935 |
|
|
3936 |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
3937 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
|
3938 |
if test "${ac_cv_header_stdc+set}" = set; then
|
|
3939 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3940 |
else
|
|
3941 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3942 |
/* confdefs.h. */
|
|
3943 |
_ACEOF
|
|
3944 |
cat confdefs.h >>conftest.$ac_ext
|
|
3945 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3946 |
/* end confdefs.h. */
|
|
3947 |
#include <stdlib.h>
|
|
3948 |
#include <stdarg.h>
|
|
3949 |
#include <string.h>
|
|
3950 |
#include <float.h>
|
|
3951 |
|
|
3952 |
int
|
|
3953 |
main ()
|
|
3954 |
{
|
|
3955 |
|
|
3956 |
;
|
|
3957 |
return 0;
|
|
3958 |
}
|
|
3959 |
_ACEOF
|
|
3960 |
rm -f conftest.$ac_objext
|
|
3961 |
if { (ac_try="$ac_compile"
|
|
3962 |
case "(($ac_try" in
|
|
3963 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3964 |
*) ac_try_echo=$ac_try;;
|
|
3965 |
esac
|
|
3966 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3967 |
(eval "$ac_compile") 2>conftest.er1
|
|
3968 |
ac_status=$?
|
|
3969 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3970 |
rm -f conftest.er1
|
|
3971 |
cat conftest.err >&5
|
|
3972 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3973 |
(exit $ac_status); } && {
|
|
3974 |
test -z "$ac_c_werror_flag" ||
|
|
3975 |
test ! -s conftest.err
|
|
3976 |
} && test -s conftest.$ac_objext; then
|
|
3977 |
ac_cv_header_stdc=yes
|
|
3978 |
else
|
|
3979 |
echo "$as_me: failed program was:" >&5
|
|
3980 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3981 |
|
|
3982 |
ac_cv_header_stdc=no
|
|
3983 |
fi
|
|
3984 |
|
|
3985 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3986 |
|
|
3987 |
if test $ac_cv_header_stdc = yes; then
|
|
3988 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
3989 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3990 |
/* confdefs.h. */
|
|
3991 |
_ACEOF
|
|
3992 |
cat confdefs.h >>conftest.$ac_ext
|
|
3993 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3994 |
/* end confdefs.h. */
|
|
3995 |
#include <string.h>
|
|
3996 |
|
|
3997 |
_ACEOF
|
|
3998 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
3999 |
$EGREP "memchr" >/dev/null 2>&1; then
|
|
4000 |
:
|
|
4001 |
else
|
|
4002 |
ac_cv_header_stdc=no
|
|
4003 |
fi
|
|
4004 |
rm -f conftest*
|
|
4005 |
|
|
4006 |
fi
|
|
4007 |
|
|
4008 |
if test $ac_cv_header_stdc = yes; then
|
|
4009 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
4010 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4011 |
/* confdefs.h. */
|
|
4012 |
_ACEOF
|
|
4013 |
cat confdefs.h >>conftest.$ac_ext
|
|
4014 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4015 |
/* end confdefs.h. */
|
|
4016 |
#include <stdlib.h>
|
|
4017 |
|
|
4018 |
_ACEOF
|
|
4019 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
4020 |
$EGREP "free" >/dev/null 2>&1; then
|
|
4021 |
:
|
|
4022 |
else
|
|
4023 |
ac_cv_header_stdc=no
|
|
4024 |
fi
|
|
4025 |
rm -f conftest*
|
|
4026 |
|
|
4027 |
fi
|
|
4028 |
|
|
4029 |
if test $ac_cv_header_stdc = yes; then
|
|
4030 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
4031 |
if test "$cross_compiling" = yes; then
|
|
4032 |
:
|
|
4033 |
else
|
|
4034 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4035 |
/* confdefs.h. */
|
|
4036 |
_ACEOF
|
|
4037 |
cat confdefs.h >>conftest.$ac_ext
|
|
4038 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4039 |
/* end confdefs.h. */
|
|
4040 |
#include <ctype.h>
|
|
4041 |
#include <stdlib.h>
|
|
4042 |
#if ((' ' & 0x0FF) == 0x020)
|
|
4043 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
4044 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
4045 |
#else
|
|
4046 |
# define ISLOWER(c) \
|
|
4047 |
(('a' <= (c) && (c) <= 'i') \
|
|
4048 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
4049 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
4050 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
4051 |
#endif
|
|
4052 |
|
|
4053 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
4054 |
int
|
|
4055 |
main ()
|
|
4056 |
{
|
|
4057 |
int i;
|
|
4058 |
for (i = 0; i < 256; i++)
|
|
4059 |
if (XOR (islower (i), ISLOWER (i))
|
|
4060 |
|| toupper (i) != TOUPPER (i))
|
|
4061 |
return 2;
|
|
4062 |
return 0;
|
|
4063 |
}
|
|
4064 |
_ACEOF
|
|
4065 |
rm -f conftest$ac_exeext
|
|
4066 |
if { (ac_try="$ac_link"
|
|
4067 |
case "(($ac_try" in
|
|
4068 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4069 |
*) ac_try_echo=$ac_try;;
|
|
4070 |
esac
|
|
4071 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4072 |
(eval "$ac_link") 2>&5
|
|
4073 |
ac_status=$?
|
|
4074 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4075 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
4076 |
{ (case "(($ac_try" in
|
|
4077 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4078 |
*) ac_try_echo=$ac_try;;
|
|
4079 |
esac
|
|
4080 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4081 |
(eval "$ac_try") 2>&5
|
|
4082 |
ac_status=$?
|
|
4083 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4084 |
(exit $ac_status); }; }; then
|
|
4085 |
:
|
|
4086 |
else
|
|
4087 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
4088 |
echo "$as_me: failed program was:" >&5
|
|
4089 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4090 |
|
|
4091 |
( exit $ac_status )
|
|
4092 |
ac_cv_header_stdc=no
|
|
4093 |
fi
|
|
4094 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
4095 |
fi
|
|
4096 |
|
|
4097 |
|
|
4098 |
fi
|
|
4099 |
fi
|
|
4100 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
4101 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
|
4102 |
if test $ac_cv_header_stdc = yes; then
|
|
4103 |
|
|
4104 |
cat >>confdefs.h <<\_ACEOF
|
|
4105 |
#define STDC_HEADERS 1
|
|
4106 |
_ACEOF
|
|
4107 |
|
|
4108 |
fi
|
|
4109 |
|
|
4110 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
4111 |
|
|
4112 |
|
|
4113 |
|
|
4114 |
|
|
4115 |
|
|
4116 |
|
|
4117 |
|
|
4118 |
|
|
4119 |
|
|
4120 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
4121 |
inttypes.h stdint.h unistd.h
|
|
4122 |
do
|
|
4123 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4124 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4125 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4126 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4127 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4128 |
else
|
|
4129 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4130 |
/* confdefs.h. */
|
|
4131 |
_ACEOF
|
|
4132 |
cat confdefs.h >>conftest.$ac_ext
|
|
4133 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4134 |
/* end confdefs.h. */
|
|
4135 |
$ac_includes_default
|
|
4136 |
|
|
4137 |
#include <$ac_header>
|
|
4138 |
_ACEOF
|
|
4139 |
rm -f conftest.$ac_objext
|
|
4140 |
if { (ac_try="$ac_compile"
|
|
4141 |
case "(($ac_try" in
|
|
4142 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4143 |
*) ac_try_echo=$ac_try;;
|
|
4144 |
esac
|
|
4145 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4146 |
(eval "$ac_compile") 2>conftest.er1
|
|
4147 |
ac_status=$?
|
|
4148 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4149 |
rm -f conftest.er1
|
|
4150 |
cat conftest.err >&5
|
|
4151 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4152 |
(exit $ac_status); } && {
|
|
4153 |
test -z "$ac_c_werror_flag" ||
|
|
4154 |
test ! -s conftest.err
|
|
4155 |
} && test -s conftest.$ac_objext; then
|
|
4156 |
eval "$as_ac_Header=yes"
|
|
4157 |
else
|
|
4158 |
echo "$as_me: failed program was:" >&5
|
|
4159 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4160 |
|
|
4161 |
eval "$as_ac_Header=no"
|
|
4162 |
fi
|
|
4163 |
|
|
4164 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4165 |
fi
|
|
4166 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4167 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4168 |
echo "${ECHO_T}$ac_res" >&6; }
|
|
4169 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4170 |
cat >>confdefs.h <<_ACEOF
|
|
4171 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4172 |
_ACEOF
|
|
4173 |
|
|
4174 |
fi
|
|
4175 |
|
|
4176 |
done
|
|
4177 |
|
|
4178 |
|
|
4179 |
{ echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
|
|
4180 |
echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
|
|
4181 |
if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
|
|
4182 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4183 |
else
|
|
4184 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4185 |
/* confdefs.h. */
|
|
4186 |
_ACEOF
|
|
4187 |
cat confdefs.h >>conftest.$ac_ext
|
|
4188 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4189 |
/* end confdefs.h. */
|
|
4190 |
$ac_includes_default
|
|
4191 |
int
|
|
4192 |
main ()
|
|
4193 |
{
|
|
4194 |
static struct stat ac_aggr;
|
|
4195 |
if (ac_aggr.st_blksize)
|
|
4196 |
return 0;
|
|
4197 |
;
|
|
4198 |
return 0;
|
|
4199 |
}
|
|
4200 |
_ACEOF
|
|
4201 |
rm -f conftest.$ac_objext
|
|
4202 |
if { (ac_try="$ac_compile"
|
|
4203 |
case "(($ac_try" in
|
|
4204 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4205 |
*) ac_try_echo=$ac_try;;
|
|
4206 |
esac
|
|
4207 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4208 |
(eval "$ac_compile") 2>conftest.er1
|
|
4209 |
ac_status=$?
|
|
4210 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4211 |
rm -f conftest.er1
|
|
4212 |
cat conftest.err >&5
|
|
4213 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4214 |
(exit $ac_status); } && {
|
|
4215 |
test -z "$ac_c_werror_flag" ||
|
|
4216 |
test ! -s conftest.err
|
|
4217 |
} && test -s conftest.$ac_objext; then
|
|
4218 |
ac_cv_member_struct_stat_st_blksize=yes
|
|
4219 |
else
|
|
4220 |
echo "$as_me: failed program was:" >&5
|
|
4221 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4222 |
|
|
4223 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4224 |
/* confdefs.h. */
|
|
4225 |
_ACEOF
|
|
4226 |
cat confdefs.h >>conftest.$ac_ext
|
|
4227 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4228 |
/* end confdefs.h. */
|
|
4229 |
$ac_includes_default
|
|
4230 |
int
|
|
4231 |
main ()
|
|
4232 |
{
|
|
4233 |
static struct stat ac_aggr;
|
|
4234 |
if (sizeof ac_aggr.st_blksize)
|
|
4235 |
return 0;
|
|
4236 |
;
|
|
4237 |
return 0;
|
|
4238 |
}
|
|
4239 |
_ACEOF
|
|
4240 |
rm -f conftest.$ac_objext
|
|
4241 |
if { (ac_try="$ac_compile"
|
|
4242 |
case "(($ac_try" in
|
|
4243 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4244 |
*) ac_try_echo=$ac_try;;
|
|
4245 |
esac
|
|
4246 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4247 |
(eval "$ac_compile") 2>conftest.er1
|
|
4248 |
ac_status=$?
|
|
4249 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4250 |
rm -f conftest.er1
|
|
4251 |
cat conftest.err >&5
|
|
4252 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4253 |
(exit $ac_status); } && {
|
|
4254 |
test -z "$ac_c_werror_flag" ||
|
|
4255 |
test ! -s conftest.err
|
|
4256 |
} && test -s conftest.$ac_objext; then
|
|
4257 |
ac_cv_member_struct_stat_st_blksize=yes
|
|
4258 |
else
|
|
4259 |
echo "$as_me: failed program was:" >&5
|
|
4260 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4261 |
|
|
4262 |
ac_cv_member_struct_stat_st_blksize=no
|
|
4263 |
fi
|
|
4264 |
|
|
4265 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4266 |
fi
|
|
4267 |
|
|
4268 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4269 |
fi
|
|
4270 |
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
|
|
4271 |
echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
|
|
4272 |
if test $ac_cv_member_struct_stat_st_blksize = yes; then
|
|
4273 |
|
|
4274 |
cat >>confdefs.h <<_ACEOF
|
|
4275 |
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
|
|
4276 |
_ACEOF
|
|
4277 |
|
|
4278 |
|
|
4279 |
cat >>confdefs.h <<\_ACEOF
|
|
4280 |
#define HAVE_ST_BLKSIZE 1
|
|
4281 |
_ACEOF
|
|
4282 |
|
|
4283 |
fi
|
|
4284 |
|
|
4285 |
|
|
4286 |
|
|
4287 |
|
|
4288 |
{ echo "$as_me:$LINENO: checking whether to enable assertions" >&5
|
|
4289 |
echo $ECHO_N "checking whether to enable assertions... $ECHO_C" >&6; }
|
3260 | 4290 |
# Check whether --enable-assert was given.
|
3261 | |
if test "${enable_assert+set}" = set; then :
|
3262 | |
enableval=$enable_assert; ac_enable_assert=$enableval
|
3263 | |
if test "x$enableval" = xno; then :
|
3264 | |
|
3265 | |
$as_echo "#define NDEBUG 1" >>confdefs.h
|
3266 | |
|
3267 | |
elif test "x$enableval" != xyes; then :
|
3268 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
|
3269 | |
$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
|
3270 | |
ac_enable_assert=yes
|
3271 | |
fi
|
3272 | |
else
|
3273 | |
ac_enable_assert=yes
|
3274 | |
fi
|
3275 | |
|
3276 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
|
3277 | |
$as_echo "$ac_enable_assert" >&6; }
|
3278 | |
|
3279 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
|
3280 | |
$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
|
3281 | |
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then :
|
3282 | |
$as_echo_n "(cached) " >&6
|
|
4291 |
if test "${enable_assert+set}" = set; then
|
|
4292 |
enableval=$enable_assert; { echo "$as_me:$LINENO: result: no" >&5
|
|
4293 |
echo "${ECHO_T}no" >&6; }
|
|
4294 |
|
|
4295 |
cat >>confdefs.h <<\_ACEOF
|
|
4296 |
#define NDEBUG 1
|
|
4297 |
_ACEOF
|
|
4298 |
|
|
4299 |
else
|
|
4300 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
4301 |
echo "${ECHO_T}yes" >&6; }
|
|
4302 |
fi
|
|
4303 |
|
|
4304 |
|
|
4305 |
|
|
4306 |
{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
|
|
4307 |
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
|
|
4308 |
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
|
|
4309 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3283 | 4310 |
else
|
3284 | 4311 |
ac_check_lib_save_LIBS=$LIBS
|
3285 | 4312 |
LIBS="-lpthread $LIBS"
|
3286 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4313 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4314 |
/* confdefs.h. */
|
|
4315 |
_ACEOF
|
|
4316 |
cat confdefs.h >>conftest.$ac_ext
|
|
4317 |
cat >>conftest.$ac_ext <<_ACEOF
|
3287 | 4318 |
/* end confdefs.h. */
|
3288 | 4319 |
|
3289 | 4320 |
/* Override any GCC internal prototype to avoid an error.
|
|
3301 | 4332 |
return 0;
|
3302 | 4333 |
}
|
3303 | 4334 |
_ACEOF
|
3304 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4335 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4336 |
if { (ac_try="$ac_link"
|
|
4337 |
case "(($ac_try" in
|
|
4338 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4339 |
*) ac_try_echo=$ac_try;;
|
|
4340 |
esac
|
|
4341 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4342 |
(eval "$ac_link") 2>conftest.er1
|
|
4343 |
ac_status=$?
|
|
4344 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4345 |
rm -f conftest.er1
|
|
4346 |
cat conftest.err >&5
|
|
4347 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4348 |
(exit $ac_status); } && {
|
|
4349 |
test -z "$ac_c_werror_flag" ||
|
|
4350 |
test ! -s conftest.err
|
|
4351 |
} && test -s conftest$ac_exeext &&
|
|
4352 |
$as_test_x conftest$ac_exeext; then
|
3305 | 4353 |
ac_cv_lib_pthread_pthread_mutex_init=yes
|
3306 | 4354 |
else
|
3307 | |
ac_cv_lib_pthread_pthread_mutex_init=no
|
3308 | |
fi
|
3309 | |
rm -f core conftest.err conftest.$ac_objext \
|
3310 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4355 |
echo "$as_me: failed program was:" >&5
|
|
4356 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4357 |
|
|
4358 |
ac_cv_lib_pthread_pthread_mutex_init=no
|
|
4359 |
fi
|
|
4360 |
|
|
4361 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
4362 |
conftest$ac_exeext conftest.$ac_ext
|
3311 | 4363 |
LIBS=$ac_check_lib_save_LIBS
|
3312 | 4364 |
fi
|
3313 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
|
3314 | |
$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
|
3315 | |
if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then :
|
|
4365 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
|
|
4366 |
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
|
|
4367 |
if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
|
3316 | 4368 |
cat >>confdefs.h <<_ACEOF
|
3317 | 4369 |
#define HAVE_LIBPTHREAD 1
|
3318 | 4370 |
_ACEOF
|
|
3321 | 4373 |
|
3322 | 4374 |
fi
|
3323 | 4375 |
|
3324 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
|
3325 | |
$as_echo_n "checking for library containing sem_init... " >&6; }
|
3326 | |
if test "${ac_cv_search_sem_init+set}" = set; then :
|
3327 | |
$as_echo_n "(cached) " >&6
|
|
4376 |
{ echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
|
|
4377 |
echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6; }
|
|
4378 |
if test "${ac_cv_search_clock_gettime+set}" = set; then
|
|
4379 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3328 | 4380 |
else
|
3329 | 4381 |
ac_func_search_save_LIBS=$LIBS
|
3330 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4382 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4383 |
/* confdefs.h. */
|
|
4384 |
_ACEOF
|
|
4385 |
cat confdefs.h >>conftest.$ac_ext
|
|
4386 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4387 |
/* end confdefs.h. */
|
|
4388 |
|
|
4389 |
/* Override any GCC internal prototype to avoid an error.
|
|
4390 |
Use char because int might match the return type of a GCC
|
|
4391 |
builtin and then its argument prototype would still apply. */
|
|
4392 |
#ifdef __cplusplus
|
|
4393 |
extern "C"
|
|
4394 |
#endif
|
|
4395 |
char clock_gettime ();
|
|
4396 |
int
|
|
4397 |
main ()
|
|
4398 |
{
|
|
4399 |
return clock_gettime ();
|
|
4400 |
;
|
|
4401 |
return 0;
|
|
4402 |
}
|
|
4403 |
_ACEOF
|
|
4404 |
for ac_lib in '' rt; do
|
|
4405 |
if test -z "$ac_lib"; then
|
|
4406 |
ac_res="none required"
|
|
4407 |
else
|
|
4408 |
ac_res=-l$ac_lib
|
|
4409 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
|
4410 |
fi
|
|
4411 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4412 |
if { (ac_try="$ac_link"
|
|
4413 |
case "(($ac_try" in
|
|
4414 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4415 |
*) ac_try_echo=$ac_try;;
|
|
4416 |
esac
|
|
4417 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4418 |
(eval "$ac_link") 2>conftest.er1
|
|
4419 |
ac_status=$?
|
|
4420 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4421 |
rm -f conftest.er1
|
|
4422 |
cat conftest.err >&5
|
|
4423 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4424 |
(exit $ac_status); } && {
|
|
4425 |
test -z "$ac_c_werror_flag" ||
|
|
4426 |
test ! -s conftest.err
|
|
4427 |
} && test -s conftest$ac_exeext &&
|
|
4428 |
$as_test_x conftest$ac_exeext; then
|
|
4429 |
ac_cv_search_clock_gettime=$ac_res
|
|
4430 |
else
|
|
4431 |
echo "$as_me: failed program was:" >&5
|
|
4432 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4433 |
|
|
4434 |
|
|
4435 |
fi
|
|
4436 |
|
|
4437 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
4438 |
conftest$ac_exeext
|
|
4439 |
if test "${ac_cv_search_clock_gettime+set}" = set; then
|
|
4440 |
break
|
|
4441 |
fi
|
|
4442 |
done
|
|
4443 |
if test "${ac_cv_search_clock_gettime+set}" = set; then
|
|
4444 |
:
|
|
4445 |
else
|
|
4446 |
ac_cv_search_clock_gettime=no
|
|
4447 |
fi
|
|
4448 |
rm conftest.$ac_ext
|
|
4449 |
LIBS=$ac_func_search_save_LIBS
|
|
4450 |
fi
|
|
4451 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
|
|
4452 |
echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6; }
|
|
4453 |
ac_res=$ac_cv_search_clock_gettime
|
|
4454 |
if test "$ac_res" != no; then
|
|
4455 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
|
4456 |
|
|
4457 |
else
|
|
4458 |
{ { echo "$as_me:$LINENO: error: could not find the library containing clock_gettime!" >&5
|
|
4459 |
echo "$as_me: error: could not find the library containing clock_gettime!" >&2;}
|
|
4460 |
{ (exit 1); exit 1; }; }
|
|
4461 |
fi
|
|
4462 |
|
|
4463 |
{ echo "$as_me:$LINENO: checking for library containing sem_init" >&5
|
|
4464 |
echo $ECHO_N "checking for library containing sem_init... $ECHO_C" >&6; }
|
|
4465 |
if test "${ac_cv_search_sem_init+set}" = set; then
|
|
4466 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4467 |
else
|
|
4468 |
ac_func_search_save_LIBS=$LIBS
|
|
4469 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4470 |
/* confdefs.h. */
|
|
4471 |
_ACEOF
|
|
4472 |
cat confdefs.h >>conftest.$ac_ext
|
|
4473 |
cat >>conftest.$ac_ext <<_ACEOF
|
3331 | 4474 |
/* end confdefs.h. */
|
3332 | 4475 |
|
3333 | 4476 |
/* Override any GCC internal prototype to avoid an error.
|
|
3352 | 4495 |
ac_res=-l$ac_lib
|
3353 | 4496 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
3354 | 4497 |
fi
|
3355 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4498 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4499 |
if { (ac_try="$ac_link"
|
|
4500 |
case "(($ac_try" in
|
|
4501 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4502 |
*) ac_try_echo=$ac_try;;
|
|
4503 |
esac
|
|
4504 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4505 |
(eval "$ac_link") 2>conftest.er1
|
|
4506 |
ac_status=$?
|
|
4507 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4508 |
rm -f conftest.er1
|
|
4509 |
cat conftest.err >&5
|
|
4510 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4511 |
(exit $ac_status); } && {
|
|
4512 |
test -z "$ac_c_werror_flag" ||
|
|
4513 |
test ! -s conftest.err
|
|
4514 |
} && test -s conftest$ac_exeext &&
|
|
4515 |
$as_test_x conftest$ac_exeext; then
|
3356 | 4516 |
ac_cv_search_sem_init=$ac_res
|
3357 | |
fi
|
3358 | |
rm -f core conftest.err conftest.$ac_objext \
|
3359 | |
conftest$ac_exeext
|
3360 | |
if test "${ac_cv_search_sem_init+set}" = set; then :
|
|
4517 |
else
|
|
4518 |
echo "$as_me: failed program was:" >&5
|
|
4519 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4520 |
|
|
4521 |
|
|
4522 |
fi
|
|
4523 |
|
|
4524 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
4525 |
conftest$ac_exeext
|
|
4526 |
if test "${ac_cv_search_sem_init+set}" = set; then
|
3361 | 4527 |
break
|
3362 | 4528 |
fi
|
3363 | 4529 |
done
|
3364 | |
if test "${ac_cv_search_sem_init+set}" = set; then :
|
3365 | |
|
|
4530 |
if test "${ac_cv_search_sem_init+set}" = set; then
|
|
4531 |
:
|
3366 | 4532 |
else
|
3367 | 4533 |
ac_cv_search_sem_init=no
|
3368 | 4534 |
fi
|
3369 | 4535 |
rm conftest.$ac_ext
|
3370 | 4536 |
LIBS=$ac_func_search_save_LIBS
|
3371 | 4537 |
fi
|
3372 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
|
3373 | |
$as_echo "$ac_cv_search_sem_init" >&6; }
|
|
4538 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_sem_init" >&5
|
|
4539 |
echo "${ECHO_T}$ac_cv_search_sem_init" >&6; }
|
3374 | 4540 |
ac_res=$ac_cv_search_sem_init
|
3375 | |
if test "$ac_res" != no; then :
|
|
4541 |
if test "$ac_res" != no; then
|
3376 | 4542 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
3377 | 4543 |
|
3378 | 4544 |
else
|
3379 | |
as_fn_error "could not find semaphore functions!" "$LINENO" 5
|
3380 | |
fi
|
3381 | |
|
3382 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing rint" >&5
|
3383 | |
$as_echo_n "checking for library containing rint... " >&6; }
|
3384 | |
if test "${ac_cv_search_rint+set}" = set; then :
|
3385 | |
$as_echo_n "(cached) " >&6
|
|
4545 |
{ { echo "$as_me:$LINENO: error: could not find semaphore functions!" >&5
|
|
4546 |
echo "$as_me: error: could not find semaphore functions!" >&2;}
|
|
4547 |
{ (exit 1); exit 1; }; }
|
|
4548 |
fi
|
|
4549 |
|
|
4550 |
{ echo "$as_me:$LINENO: checking for library containing rint" >&5
|
|
4551 |
echo $ECHO_N "checking for library containing rint... $ECHO_C" >&6; }
|
|
4552 |
if test "${ac_cv_search_rint+set}" = set; then
|
|
4553 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3386 | 4554 |
else
|
3387 | 4555 |
ac_func_search_save_LIBS=$LIBS
|
3388 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4556 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4557 |
/* confdefs.h. */
|
|
4558 |
_ACEOF
|
|
4559 |
cat confdefs.h >>conftest.$ac_ext
|
|
4560 |
cat >>conftest.$ac_ext <<_ACEOF
|
3389 | 4561 |
/* end confdefs.h. */
|
3390 | 4562 |
|
3391 | 4563 |
/* Override any GCC internal prototype to avoid an error.
|
|
3410 | 4582 |
ac_res=-l$ac_lib
|
3411 | 4583 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
3412 | 4584 |
fi
|
3413 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4585 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4586 |
if { (ac_try="$ac_link"
|
|
4587 |
case "(($ac_try" in
|
|
4588 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4589 |
*) ac_try_echo=$ac_try;;
|
|
4590 |
esac
|
|
4591 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4592 |
(eval "$ac_link") 2>conftest.er1
|
|
4593 |
ac_status=$?
|
|
4594 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4595 |
rm -f conftest.er1
|
|
4596 |
cat conftest.err >&5
|
|
4597 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4598 |
(exit $ac_status); } && {
|
|
4599 |
test -z "$ac_c_werror_flag" ||
|
|
4600 |
test ! -s conftest.err
|
|
4601 |
} && test -s conftest$ac_exeext &&
|
|
4602 |
$as_test_x conftest$ac_exeext; then
|
3414 | 4603 |
ac_cv_search_rint=$ac_res
|
3415 | |
fi
|
3416 | |
rm -f core conftest.err conftest.$ac_objext \
|
3417 | |
conftest$ac_exeext
|
3418 | |
if test "${ac_cv_search_rint+set}" = set; then :
|
|
4604 |
else
|
|
4605 |
echo "$as_me: failed program was:" >&5
|
|
4606 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4607 |
|
|
4608 |
|
|
4609 |
fi
|
|
4610 |
|
|
4611 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
4612 |
conftest$ac_exeext
|
|
4613 |
if test "${ac_cv_search_rint+set}" = set; then
|
3419 | 4614 |
break
|
3420 | 4615 |
fi
|
3421 | 4616 |
done
|
3422 | |
if test "${ac_cv_search_rint+set}" = set; then :
|
3423 | |
|
|
4617 |
if test "${ac_cv_search_rint+set}" = set; then
|
|
4618 |
:
|
3424 | 4619 |
else
|
3425 | 4620 |
ac_cv_search_rint=no
|
3426 | 4621 |
fi
|
3427 | 4622 |
rm conftest.$ac_ext
|
3428 | 4623 |
LIBS=$ac_func_search_save_LIBS
|
3429 | 4624 |
fi
|
3430 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rint" >&5
|
3431 | |
$as_echo "$ac_cv_search_rint" >&6; }
|
|
4625 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_rint" >&5
|
|
4626 |
echo "${ECHO_T}$ac_cv_search_rint" >&6; }
|
3432 | 4627 |
ac_res=$ac_cv_search_rint
|
3433 | |
if test "$ac_res" != no; then :
|
|
4628 |
if test "$ac_res" != no; then
|
3434 | 4629 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
3435 | 4630 |
|
3436 | 4631 |
else
|
3437 | |
as_fn_error "unable to find rint" "$LINENO" 5
|
3438 | |
fi
|
3439 | |
|
3440 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing seteuid" >&5
|
3441 | |
$as_echo_n "checking for library containing seteuid... " >&6; }
|
3442 | |
if test "${ac_cv_search_seteuid+set}" = set; then :
|
3443 | |
$as_echo_n "(cached) " >&6
|
|
4632 |
{ { echo "$as_me:$LINENO: error: unable to find rint" >&5
|
|
4633 |
echo "$as_me: error: unable to find rint" >&2;}
|
|
4634 |
{ (exit 1); exit 1; }; }
|
|
4635 |
fi
|
|
4636 |
|
|
4637 |
{ echo "$as_me:$LINENO: checking for library containing seteuid" >&5
|
|
4638 |
echo $ECHO_N "checking for library containing seteuid... $ECHO_C" >&6; }
|
|
4639 |
if test "${ac_cv_search_seteuid+set}" = set; then
|
|
4640 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3444 | 4641 |
else
|
3445 | 4642 |
ac_func_search_save_LIBS=$LIBS
|
3446 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4643 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4644 |
/* confdefs.h. */
|
|
4645 |
_ACEOF
|
|
4646 |
cat confdefs.h >>conftest.$ac_ext
|
|
4647 |
cat >>conftest.$ac_ext <<_ACEOF
|
3447 | 4648 |
/* end confdefs.h. */
|
3448 | 4649 |
|
3449 | 4650 |
/* Override any GCC internal prototype to avoid an error.
|
|
3468 | 4669 |
ac_res=-l$ac_lib
|
3469 | 4670 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
3470 | 4671 |
fi
|
3471 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4672 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4673 |
if { (ac_try="$ac_link"
|
|
4674 |
case "(($ac_try" in
|
|
4675 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4676 |
*) ac_try_echo=$ac_try;;
|
|
4677 |
esac
|
|
4678 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4679 |
(eval "$ac_link") 2>conftest.er1
|
|
4680 |
ac_status=$?
|
|
4681 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4682 |
rm -f conftest.er1
|
|
4683 |
cat conftest.err >&5
|
|
4684 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4685 |
(exit $ac_status); } && {
|
|
4686 |
test -z "$ac_c_werror_flag" ||
|
|
4687 |
test ! -s conftest.err
|
|
4688 |
} && test -s conftest$ac_exeext &&
|
|
4689 |
$as_test_x conftest$ac_exeext; then
|
3472 | 4690 |
ac_cv_search_seteuid=$ac_res
|
3473 | |
fi
|
3474 | |
rm -f core conftest.err conftest.$ac_objext \
|
3475 | |
conftest$ac_exeext
|
3476 | |
if test "${ac_cv_search_seteuid+set}" = set; then :
|
|
4691 |
else
|
|
4692 |
echo "$as_me: failed program was:" >&5
|
|
4693 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4694 |
|
|
4695 |
|
|
4696 |
fi
|
|
4697 |
|
|
4698 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
4699 |
conftest$ac_exeext
|
|
4700 |
if test "${ac_cv_search_seteuid+set}" = set; then
|
3477 | 4701 |
break
|
3478 | 4702 |
fi
|
3479 | 4703 |
done
|
3480 | |
if test "${ac_cv_search_seteuid+set}" = set; then :
|
3481 | |
|
|
4704 |
if test "${ac_cv_search_seteuid+set}" = set; then
|
|
4705 |
:
|
3482 | 4706 |
else
|
3483 | 4707 |
ac_cv_search_seteuid=no
|
3484 | 4708 |
fi
|
3485 | 4709 |
rm conftest.$ac_ext
|
3486 | 4710 |
LIBS=$ac_func_search_save_LIBS
|
3487 | 4711 |
fi
|
3488 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_seteuid" >&5
|
3489 | |
$as_echo "$ac_cv_search_seteuid" >&6; }
|
|
4712 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_seteuid" >&5
|
|
4713 |
echo "${ECHO_T}$ac_cv_search_seteuid" >&6; }
|
3490 | 4714 |
ac_res=$ac_cv_search_seteuid
|
3491 | |
if test "$ac_res" != no; then :
|
|
4715 |
if test "$ac_res" != no; then
|
3492 | 4716 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
3493 | |
$as_echo "#define HAVE_SETEUID 1" >>confdefs.h
|
3494 | |
|
3495 | |
fi
|
3496 | |
|
3497 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing atoll" >&5
|
3498 | |
$as_echo_n "checking for library containing atoll... " >&6; }
|
3499 | |
if test "${ac_cv_search_atoll+set}" = set; then :
|
3500 | |
$as_echo_n "(cached) " >&6
|
|
4717 |
cat >>confdefs.h <<\_ACEOF
|
|
4718 |
#define HAVE_SETEUID 1
|
|
4719 |
_ACEOF
|
|
4720 |
|
|
4721 |
fi
|
|
4722 |
|
|
4723 |
{ echo "$as_me:$LINENO: checking for library containing atoll" >&5
|
|
4724 |
echo $ECHO_N "checking for library containing atoll... $ECHO_C" >&6; }
|
|
4725 |
if test "${ac_cv_search_atoll+set}" = set; then
|
|
4726 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3501 | 4727 |
else
|
3502 | 4728 |
ac_func_search_save_LIBS=$LIBS
|
3503 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4729 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4730 |
/* confdefs.h. */
|
|
4731 |
_ACEOF
|
|
4732 |
cat confdefs.h >>conftest.$ac_ext
|
|
4733 |
cat >>conftest.$ac_ext <<_ACEOF
|
3504 | 4734 |
/* end confdefs.h. */
|
3505 | 4735 |
|
3506 | 4736 |
/* Override any GCC internal prototype to avoid an error.
|
|
3525 | 4755 |
ac_res=-l$ac_lib
|
3526 | 4756 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
3527 | 4757 |
fi
|
3528 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4758 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4759 |
if { (ac_try="$ac_link"
|
|
4760 |
case "(($ac_try" in
|
|
4761 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4762 |
*) ac_try_echo=$ac_try;;
|
|
4763 |
esac
|
|
4764 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4765 |
(eval "$ac_link") 2>conftest.er1
|
|
4766 |
ac_status=$?
|
|
4767 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4768 |
rm -f conftest.er1
|
|
4769 |
cat conftest.err >&5
|
|
4770 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4771 |
(exit $ac_status); } && {
|
|
4772 |
test -z "$ac_c_werror_flag" ||
|
|
4773 |
test ! -s conftest.err
|
|
4774 |
} && test -s conftest$ac_exeext &&
|
|
4775 |
$as_test_x conftest$ac_exeext; then
|
3529 | 4776 |
ac_cv_search_atoll=$ac_res
|
3530 | |
fi
|
3531 | |
rm -f core conftest.err conftest.$ac_objext \
|
3532 | |
conftest$ac_exeext
|
3533 | |
if test "${ac_cv_search_atoll+set}" = set; then :
|
|
4777 |
else
|
|
4778 |
echo "$as_me: failed program was:" >&5
|
|
4779 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4780 |
|
|
4781 |
|
|
4782 |
fi
|
|
4783 |
|
|
4784 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
4785 |
conftest$ac_exeext
|
|
4786 |
if test "${ac_cv_search_atoll+set}" = set; then
|
3534 | 4787 |
break
|
3535 | 4788 |
fi
|
3536 | 4789 |
done
|
3537 | |
if test "${ac_cv_search_atoll+set}" = set; then :
|
3538 | |
|
|
4790 |
if test "${ac_cv_search_atoll+set}" = set; then
|
|
4791 |
:
|
3539 | 4792 |
else
|
3540 | 4793 |
ac_cv_search_atoll=no
|
3541 | 4794 |
fi
|
3542 | 4795 |
rm conftest.$ac_ext
|
3543 | 4796 |
LIBS=$ac_func_search_save_LIBS
|
3544 | 4797 |
fi
|
3545 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_atoll" >&5
|
3546 | |
$as_echo "$ac_cv_search_atoll" >&6; }
|
|
4798 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_atoll" >&5
|
|
4799 |
echo "${ECHO_T}$ac_cv_search_atoll" >&6; }
|
3547 | 4800 |
ac_res=$ac_cv_search_atoll
|
3548 | |
if test "$ac_res" != no; then :
|
|
4801 |
if test "$ac_res" != no; then
|
3549 | 4802 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
3550 | 4803 |
|
3551 | 4804 |
else
|
|
3555 | 4808 |
|
3556 | 4809 |
fi
|
3557 | 4810 |
|
3558 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5
|
3559 | |
$as_echo_n "checking for library containing hstrerror... " >&6; }
|
3560 | |
if test "${ac_cv_search_hstrerror+set}" = set; then :
|
3561 | |
$as_echo_n "(cached) " >&6
|
|
4811 |
{ echo "$as_me:$LINENO: checking for library containing hstrerror" >&5
|
|
4812 |
echo $ECHO_N "checking for library containing hstrerror... $ECHO_C" >&6; }
|
|
4813 |
if test "${ac_cv_search_hstrerror+set}" = set; then
|
|
4814 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3562 | 4815 |
else
|
3563 | 4816 |
ac_func_search_save_LIBS=$LIBS
|
3564 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4817 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4818 |
/* confdefs.h. */
|
|
4819 |
_ACEOF
|
|
4820 |
cat confdefs.h >>conftest.$ac_ext
|
|
4821 |
cat >>conftest.$ac_ext <<_ACEOF
|
3565 | 4822 |
/* end confdefs.h. */
|
3566 | 4823 |
|
3567 | 4824 |
/* Override any GCC internal prototype to avoid an error.
|
|
3586 | 4843 |
ac_res=-l$ac_lib
|
3587 | 4844 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
3588 | 4845 |
fi
|
3589 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4846 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4847 |
if { (ac_try="$ac_link"
|
|
4848 |
case "(($ac_try" in
|
|
4849 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4850 |
*) ac_try_echo=$ac_try;;
|
|
4851 |
esac
|
|
4852 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4853 |
(eval "$ac_link") 2>conftest.er1
|
|
4854 |
ac_status=$?
|
|
4855 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4856 |
rm -f conftest.er1
|
|
4857 |
cat conftest.err >&5
|
|
4858 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4859 |
(exit $ac_status); } && {
|
|
4860 |
test -z "$ac_c_werror_flag" ||
|
|
4861 |
test ! -s conftest.err
|
|
4862 |
} && test -s conftest$ac_exeext &&
|
|
4863 |
$as_test_x conftest$ac_exeext; then
|
3590 | 4864 |
ac_cv_search_hstrerror=$ac_res
|
3591 | |
fi
|
3592 | |
rm -f core conftest.err conftest.$ac_objext \
|
3593 | |
conftest$ac_exeext
|
3594 | |
if test "${ac_cv_search_hstrerror+set}" = set; then :
|
|
4865 |
else
|
|
4866 |
echo "$as_me: failed program was:" >&5
|
|
4867 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4868 |
|
|
4869 |
|
|
4870 |
fi
|
|
4871 |
|
|
4872 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
4873 |
conftest$ac_exeext
|
|
4874 |
if test "${ac_cv_search_hstrerror+set}" = set; then
|
3595 | 4875 |
break
|
3596 | 4876 |
fi
|
3597 | 4877 |
done
|
3598 | |
if test "${ac_cv_search_hstrerror+set}" = set; then :
|
3599 | |
|
|
4878 |
if test "${ac_cv_search_hstrerror+set}" = set; then
|
|
4879 |
:
|
3600 | 4880 |
else
|
3601 | 4881 |
ac_cv_search_hstrerror=no
|
3602 | 4882 |
fi
|
3603 | 4883 |
rm conftest.$ac_ext
|
3604 | 4884 |
LIBS=$ac_func_search_save_LIBS
|
3605 | 4885 |
fi
|
3606 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5
|
3607 | |
$as_echo "$ac_cv_search_hstrerror" >&6; }
|
|
4886 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_hstrerror" >&5
|
|
4887 |
echo "${ECHO_T}$ac_cv_search_hstrerror" >&6; }
|
3608 | 4888 |
ac_res=$ac_cv_search_hstrerror
|
3609 | |
if test "$ac_res" != no; then :
|
|
4889 |
if test "$ac_res" != no; then
|
3610 | 4890 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
3611 | |
$as_echo "#define HAVE_HSTRERROR 1" >>confdefs.h
|
3612 | |
|
3613 | |
fi
|
3614 | |
|
3615 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
|
3616 | |
$as_echo_n "checking for library containing getaddrinfo... " >&6; }
|
3617 | |
if test "${ac_cv_search_getaddrinfo+set}" = set; then :
|
3618 | |
$as_echo_n "(cached) " >&6
|
|
4891 |
cat >>confdefs.h <<\_ACEOF
|
|
4892 |
#define HAVE_HSTRERROR 1
|
|
4893 |
_ACEOF
|
|
4894 |
|
|
4895 |
fi
|
|
4896 |
|
|
4897 |
{ echo "$as_me:$LINENO: checking for library containing getaddrinfo" >&5
|
|
4898 |
echo $ECHO_N "checking for library containing getaddrinfo... $ECHO_C" >&6; }
|
|
4899 |
if test "${ac_cv_search_getaddrinfo+set}" = set; then
|
|
4900 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3619 | 4901 |
else
|
3620 | 4902 |
ac_func_search_save_LIBS=$LIBS
|
3621 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4903 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4904 |
/* confdefs.h. */
|
|
4905 |
_ACEOF
|
|
4906 |
cat confdefs.h >>conftest.$ac_ext
|
|
4907 |
cat >>conftest.$ac_ext <<_ACEOF
|
3622 | 4908 |
/* end confdefs.h. */
|
3623 | 4909 |
|
3624 | 4910 |
/* Override any GCC internal prototype to avoid an error.
|
|
3643 | 4929 |
ac_res=-l$ac_lib
|
3644 | 4930 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
3645 | 4931 |
fi
|
3646 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
4932 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
4933 |
if { (ac_try="$ac_link"
|
|
4934 |
case "(($ac_try" in
|
|
4935 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4936 |
*) ac_try_echo=$ac_try;;
|
|
4937 |
esac
|
|
4938 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4939 |
(eval "$ac_link") 2>conftest.er1
|
|
4940 |
ac_status=$?
|
|
4941 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
4942 |
rm -f conftest.er1
|
|
4943 |
cat conftest.err >&5
|
|
4944 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4945 |
(exit $ac_status); } && {
|
|
4946 |
test -z "$ac_c_werror_flag" ||
|
|
4947 |
test ! -s conftest.err
|
|
4948 |
} && test -s conftest$ac_exeext &&
|
|
4949 |
$as_test_x conftest$ac_exeext; then
|
3647 | 4950 |
ac_cv_search_getaddrinfo=$ac_res
|
3648 | |
fi
|
3649 | |
rm -f core conftest.err conftest.$ac_objext \
|
3650 | |
conftest$ac_exeext
|
3651 | |
if test "${ac_cv_search_getaddrinfo+set}" = set; then :
|
|
4951 |
else
|
|
4952 |
echo "$as_me: failed program was:" >&5
|
|
4953 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
4954 |
|
|
4955 |
|
|
4956 |
fi
|
|
4957 |
|
|
4958 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
4959 |
conftest$ac_exeext
|
|
4960 |
if test "${ac_cv_search_getaddrinfo+set}" = set; then
|
3652 | 4961 |
break
|
3653 | 4962 |
fi
|
3654 | 4963 |
done
|
3655 | |
if test "${ac_cv_search_getaddrinfo+set}" = set; then :
|
3656 | |
|
|
4964 |
if test "${ac_cv_search_getaddrinfo+set}" = set; then
|
|
4965 |
:
|
3657 | 4966 |
else
|
3658 | 4967 |
ac_cv_search_getaddrinfo=no
|
3659 | 4968 |
fi
|
3660 | 4969 |
rm conftest.$ac_ext
|
3661 | 4970 |
LIBS=$ac_func_search_save_LIBS
|
3662 | 4971 |
fi
|
3663 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
|
3664 | |
$as_echo "$ac_cv_search_getaddrinfo" >&6; }
|
|
4972 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_getaddrinfo" >&5
|
|
4973 |
echo "${ECHO_T}$ac_cv_search_getaddrinfo" >&6; }
|
3665 | 4974 |
ac_res=$ac_cv_search_getaddrinfo
|
3666 | |
if test "$ac_res" != no; then :
|
|
4975 |
if test "$ac_res" != no; then
|
3667 | 4976 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
3668 | |
$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
|
3669 | |
|
3670 | |
fi
|
3671 | |
|
3672 | |
# Extract the first word of "mt", so it can be a program name with args.
|
3673 | |
set dummy mt; ac_word=$2
|
3674 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3675 | |
$as_echo_n "checking for $ac_word... " >&6; }
|
3676 | |
if test "${ac_cv_path_MT+set}" = set; then :
|
3677 | |
$as_echo_n "(cached) " >&6
|
3678 | |
else
|
3679 | |
case $MT in
|
3680 | |
[\\/]* | ?:[\\/]*)
|
3681 | |
ac_cv_path_MT="$MT" # Let the user override the test with a path.
|
3682 | |
;;
|
3683 | |
*)
|
3684 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3685 | |
for as_dir in $PATH
|
3686 | |
do
|
3687 | |
IFS=$as_save_IFS
|
3688 | |
test -z "$as_dir" && as_dir=.
|
3689 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3690 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3691 | |
ac_cv_path_MT="$as_dir/$ac_word$ac_exec_ext"
|
3692 | |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3693 | |
break 2
|
3694 | |
fi
|
3695 | |
done
|
3696 | |
done
|
3697 | |
IFS=$as_save_IFS
|
3698 | |
|
3699 | |
test -z "$ac_cv_path_MT" && ac_cv_path_MT="{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the program mt - you might need this if you want autoloader support" >&5
|
3700 | |
$as_echo "$as_me: WARNING: could not find the program mt - you might need this if you want autoloader support" >&2;}"
|
3701 | |
;;
|
3702 | |
esac
|
3703 | |
fi
|
3704 | |
MT=$ac_cv_path_MT
|
3705 | |
if test -n "$MT"; then
|
3706 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MT" >&5
|
3707 | |
$as_echo "$MT" >&6; }
|
3708 | |
else
|
3709 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3710 | |
$as_echo "no" >&6; }
|
3711 | |
fi
|
3712 | |
|
3713 | |
|
3714 | |
|
3715 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
3716 | |
$as_echo_n "checking return type of signal handlers... " >&6; }
|
3717 | |
if test "${ac_cv_type_signal+set}" = set; then :
|
3718 | |
$as_echo_n "(cached) " >&6
|
3719 | |
else
|
3720 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3721 | |
/* end confdefs.h. */
|
3722 | |
#include <sys/types.h>
|
3723 | |
#include <signal.h>
|
3724 | |
|
3725 | |
int
|
3726 | |
main ()
|
3727 | |
{
|
3728 | |
return *(signal (0, 0)) (0) == 1;
|
3729 | |
;
|
3730 | |
return 0;
|
3731 | |
}
|
3732 | |
_ACEOF
|
3733 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
3734 | |
ac_cv_type_signal=int
|
3735 | |
else
|
3736 | |
ac_cv_type_signal=void
|
3737 | |
fi
|
3738 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3739 | |
fi
|
3740 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
3741 | |
$as_echo "$ac_cv_type_signal" >&6; }
|
3742 | |
|
3743 | |
cat >>confdefs.h <<_ACEOF
|
3744 | |
#define RETSIGTYPE $ac_cv_type_signal
|
3745 | |
_ACEOF
|
3746 | |
|
3747 | |
|
3748 | |
# Check whether --enable-largefile was given.
|
3749 | |
if test "${enable_largefile+set}" = set; then :
|
3750 | |
enableval=$enable_largefile;
|
3751 | |
fi
|
3752 | |
|
3753 | |
if test "$enable_largefile" != no; then
|
3754 | |
|
3755 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
|
3756 | |
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
3757 | |
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
|
3758 | |
$as_echo_n "(cached) " >&6
|
3759 | |
else
|
3760 | |
ac_cv_sys_largefile_CC=no
|
3761 | |
if test "$GCC" != yes; then
|
3762 | |
ac_save_CC=$CC
|
3763 | |
while :; do
|
3764 | |
# IRIX 6.2 and later do not support large files by default,
|
3765 | |
# so use the C compiler's -n32 option if that helps.
|
3766 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3767 | |
/* end confdefs.h. */
|
3768 | |
#include <sys/types.h>
|
3769 | |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3770 | |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3771 | |
since some C++ compilers masquerading as C compilers
|
3772 | |
incorrectly reject 9223372036854775807. */
|
3773 | |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
3774 | |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
3775 | |
&& LARGE_OFF_T % 2147483647 == 1)
|
3776 | |
? 1 : -1];
|
3777 | |
int
|
3778 | |
main ()
|
3779 | |
{
|
3780 | |
|
3781 | |
;
|
3782 | |
return 0;
|
3783 | |
}
|
3784 | |
_ACEOF
|
3785 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
3786 | |
break
|
3787 | |
fi
|
3788 | |
rm -f core conftest.err conftest.$ac_objext
|
3789 | |
CC="$CC -n32"
|
3790 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
3791 | |
ac_cv_sys_largefile_CC=' -n32'; break
|
3792 | |
fi
|
3793 | |
rm -f core conftest.err conftest.$ac_objext
|
3794 | |
break
|
3795 | |
done
|
3796 | |
CC=$ac_save_CC
|
3797 | |
rm -f conftest.$ac_ext
|
3798 | |
fi
|
3799 | |
fi
|
3800 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
|
3801 | |
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
3802 | |
if test "$ac_cv_sys_largefile_CC" != no; then
|
3803 | |
CC=$CC$ac_cv_sys_largefile_CC
|
3804 | |
fi
|
3805 | |
|
3806 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
3807 | |
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
3808 | |
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
|
3809 | |
$as_echo_n "(cached) " >&6
|
3810 | |
else
|
3811 | |
while :; do
|
3812 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3813 | |
/* end confdefs.h. */
|
3814 | |
#include <sys/types.h>
|
3815 | |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3816 | |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3817 | |
since some C++ compilers masquerading as C compilers
|
3818 | |
incorrectly reject 9223372036854775807. */
|
3819 | |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
3820 | |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
3821 | |
&& LARGE_OFF_T % 2147483647 == 1)
|
3822 | |
? 1 : -1];
|
3823 | |
int
|
3824 | |
main ()
|
3825 | |
{
|
3826 | |
|
3827 | |
;
|
3828 | |
return 0;
|
3829 | |
}
|
3830 | |
_ACEOF
|
3831 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
3832 | |
ac_cv_sys_file_offset_bits=no; break
|
3833 | |
fi
|
3834 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3835 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3836 | |
/* end confdefs.h. */
|
3837 | |
#define _FILE_OFFSET_BITS 64
|
3838 | |
#include <sys/types.h>
|
3839 | |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3840 | |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3841 | |
since some C++ compilers masquerading as C compilers
|
3842 | |
incorrectly reject 9223372036854775807. */
|
3843 | |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
3844 | |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
3845 | |
&& LARGE_OFF_T % 2147483647 == 1)
|
3846 | |
? 1 : -1];
|
3847 | |
int
|
3848 | |
main ()
|
3849 | |
{
|
3850 | |
|
3851 | |
;
|
3852 | |
return 0;
|
3853 | |
}
|
3854 | |
_ACEOF
|
3855 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
3856 | |
ac_cv_sys_file_offset_bits=64; break
|
3857 | |
fi
|
3858 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3859 | |
ac_cv_sys_file_offset_bits=unknown
|
3860 | |
break
|
3861 | |
done
|
3862 | |
fi
|
3863 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
|
3864 | |
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
3865 | |
case $ac_cv_sys_file_offset_bits in #(
|
3866 | |
no | unknown) ;;
|
3867 | |
*)
|
3868 | |
cat >>confdefs.h <<_ACEOF
|
3869 | |
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
|
3870 | |
_ACEOF
|
3871 | |
;;
|
3872 | |
esac
|
3873 | |
rm -rf conftest*
|
3874 | |
if test $ac_cv_sys_file_offset_bits = unknown; then
|
3875 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
|
3876 | |
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
3877 | |
if test "${ac_cv_sys_large_files+set}" = set; then :
|
3878 | |
$as_echo_n "(cached) " >&6
|
3879 | |
else
|
3880 | |
while :; do
|
3881 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3882 | |
/* end confdefs.h. */
|
3883 | |
#include <sys/types.h>
|
3884 | |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3885 | |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3886 | |
since some C++ compilers masquerading as C compilers
|
3887 | |
incorrectly reject 9223372036854775807. */
|
3888 | |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
3889 | |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
3890 | |
&& LARGE_OFF_T % 2147483647 == 1)
|
3891 | |
? 1 : -1];
|
3892 | |
int
|
3893 | |
main ()
|
3894 | |
{
|
3895 | |
|
3896 | |
;
|
3897 | |
return 0;
|
3898 | |
}
|
3899 | |
_ACEOF
|
3900 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
3901 | |
ac_cv_sys_large_files=no; break
|
3902 | |
fi
|
3903 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3904 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3905 | |
/* end confdefs.h. */
|
3906 | |
#define _LARGE_FILES 1
|
3907 | |
#include <sys/types.h>
|
3908 | |
/* Check that off_t can represent 2**63 - 1 correctly.
|
3909 | |
We can't simply define LARGE_OFF_T to be 9223372036854775807,
|
3910 | |
since some C++ compilers masquerading as C compilers
|
3911 | |
incorrectly reject 9223372036854775807. */
|
3912 | |
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
|
3913 | |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
|
3914 | |
&& LARGE_OFF_T % 2147483647 == 1)
|
3915 | |
? 1 : -1];
|
3916 | |
int
|
3917 | |
main ()
|
3918 | |
{
|
3919 | |
|
3920 | |
;
|
3921 | |
return 0;
|
3922 | |
}
|
3923 | |
_ACEOF
|
3924 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
3925 | |
ac_cv_sys_large_files=1; break
|
3926 | |
fi
|
3927 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3928 | |
ac_cv_sys_large_files=unknown
|
3929 | |
break
|
3930 | |
done
|
3931 | |
fi
|
3932 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
|
3933 | |
$as_echo "$ac_cv_sys_large_files" >&6; }
|
3934 | |
case $ac_cv_sys_large_files in #(
|
3935 | |
no | unknown) ;;
|
3936 | |
*)
|
3937 | |
cat >>confdefs.h <<_ACEOF
|
3938 | |
#define _LARGE_FILES $ac_cv_sys_large_files
|
3939 | |
_ACEOF
|
3940 | |
;;
|
3941 | |
esac
|
3942 | |
rm -rf conftest*
|
3943 | |
fi
|
3944 | |
fi
|
3945 | |
|
3946 | |
ac_ext=c
|
3947 | |
ac_cpp='$CPP $CPPFLAGS'
|
3948 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3949 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3950 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3951 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
3952 | |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
3953 | |
# On Suns, sometimes $CPP names a directory.
|
3954 | |
if test -n "$CPP" && test -d "$CPP"; then
|
3955 | |
CPP=
|
3956 | |
fi
|
3957 | |
if test -z "$CPP"; then
|
3958 | |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
3959 | |
$as_echo_n "(cached) " >&6
|
3960 | |
else
|
3961 | |
# Double quotes because CPP needs to be expanded
|
3962 | |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
3963 | |
do
|
3964 | |
ac_preproc_ok=false
|
3965 | |
for ac_c_preproc_warn_flag in '' yes
|
3966 | |
do
|
3967 | |
# Use a header file that comes with gcc, so configuring glibc
|
3968 | |
# with a fresh cross-compiler works.
|
3969 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3970 | |
# <limits.h> exists even on freestanding compilers.
|
3971 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3972 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
3973 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3974 | |
/* end confdefs.h. */
|
3975 | |
#ifdef __STDC__
|
3976 | |
# include <limits.h>
|
3977 | |
#else
|
3978 | |
# include <assert.h>
|
3979 | |
#endif
|
3980 | |
Syntax error
|
3981 | |
_ACEOF
|
3982 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3983 | |
|
3984 | |
else
|
3985 | |
# Broken: fails on valid input.
|
3986 | |
continue
|
3987 | |
fi
|
3988 | |
rm -f conftest.err conftest.$ac_ext
|
3989 | |
|
3990 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
3991 | |
# can be detected and how.
|
3992 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3993 | |
/* end confdefs.h. */
|
3994 | |
#include <ac_nonexistent.h>
|
3995 | |
_ACEOF
|
3996 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3997 | |
# Broken: success on invalid input.
|
3998 | |
continue
|
3999 | |
else
|
4000 | |
# Passes both tests.
|
4001 | |
ac_preproc_ok=:
|
4002 | |
break
|
4003 | |
fi
|
4004 | |
rm -f conftest.err conftest.$ac_ext
|
4005 | |
|
4006 | |
done
|
4007 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4008 | |
rm -f conftest.err conftest.$ac_ext
|
4009 | |
if $ac_preproc_ok; then :
|
4010 | |
break
|
4011 | |
fi
|
4012 | |
|
4013 | |
done
|
4014 | |
ac_cv_prog_CPP=$CPP
|
4015 | |
|
4016 | |
fi
|
4017 | |
CPP=$ac_cv_prog_CPP
|
4018 | |
else
|
4019 | |
ac_cv_prog_CPP=$CPP
|
4020 | |
fi
|
4021 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
4022 | |
$as_echo "$CPP" >&6; }
|
4023 | |
ac_preproc_ok=false
|
4024 | |
for ac_c_preproc_warn_flag in '' yes
|
4025 | |
do
|
4026 | |
# Use a header file that comes with gcc, so configuring glibc
|
4027 | |
# with a fresh cross-compiler works.
|
4028 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
4029 | |
# <limits.h> exists even on freestanding compilers.
|
4030 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4031 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
4032 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4033 | |
/* end confdefs.h. */
|
4034 | |
#ifdef __STDC__
|
4035 | |
# include <limits.h>
|
4036 | |
#else
|
4037 | |
# include <assert.h>
|
4038 | |
#endif
|
4039 | |
Syntax error
|
4040 | |
_ACEOF
|
4041 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4042 | |
|
4043 | |
else
|
4044 | |
# Broken: fails on valid input.
|
4045 | |
continue
|
4046 | |
fi
|
4047 | |
rm -f conftest.err conftest.$ac_ext
|
4048 | |
|
4049 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
4050 | |
# can be detected and how.
|
4051 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4052 | |
/* end confdefs.h. */
|
4053 | |
#include <ac_nonexistent.h>
|
4054 | |
_ACEOF
|
4055 | |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4056 | |
# Broken: success on invalid input.
|
4057 | |
continue
|
4058 | |
else
|
4059 | |
# Passes both tests.
|
4060 | |
ac_preproc_ok=:
|
4061 | |
break
|
4062 | |
fi
|
4063 | |
rm -f conftest.err conftest.$ac_ext
|
4064 | |
|
4065 | |
done
|
4066 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4067 | |
rm -f conftest.err conftest.$ac_ext
|
4068 | |
if $ac_preproc_ok; then :
|
4069 | |
|
4070 | |
else
|
4071 | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4072 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4073 | |
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
4074 | |
See \`config.log' for more details." "$LINENO" 5; }
|
4075 | |
fi
|
4076 | |
|
4077 | |
ac_ext=c
|
4078 | |
ac_cpp='$CPP $CPPFLAGS'
|
4079 | |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4080 | |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4081 | |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4082 | |
|
4083 | |
|
4084 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
4085 | |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
4086 | |
if test "${ac_cv_path_GREP+set}" = set; then :
|
4087 | |
$as_echo_n "(cached) " >&6
|
4088 | |
else
|
4089 | |
if test -z "$GREP"; then
|
4090 | |
ac_path_GREP_found=false
|
4091 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4092 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4093 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4094 | |
do
|
4095 | |
IFS=$as_save_IFS
|
4096 | |
test -z "$as_dir" && as_dir=.
|
4097 | |
for ac_prog in grep ggrep; do
|
4098 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4099 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
4100 | |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
4101 | |
# Check for GNU ac_path_GREP and select it if it is found.
|
4102 | |
# Check for GNU $ac_path_GREP
|
4103 | |
case `"$ac_path_GREP" --version 2>&1` in
|
4104 | |
*GNU*)
|
4105 | |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
4106 | |
*)
|
4107 | |
ac_count=0
|
4108 | |
$as_echo_n 0123456789 >"conftest.in"
|
4109 | |
while :
|
4110 | |
do
|
4111 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4112 | |
mv "conftest.tmp" "conftest.in"
|
4113 | |
cp "conftest.in" "conftest.nl"
|
4114 | |
$as_echo 'GREP' >> "conftest.nl"
|
4115 | |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4116 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4117 | |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4118 | |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
4119 | |
# Best one so far, save it but keep looking for a better one
|
4120 | |
ac_cv_path_GREP="$ac_path_GREP"
|
4121 | |
ac_path_GREP_max=$ac_count
|
4122 | |
fi
|
4123 | |
# 10*(2^10) chars as input seems more than enough
|
4124 | |
test $ac_count -gt 10 && break
|
4125 | |
done
|
4126 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
4127 | |
esac
|
4128 | |
|
4129 | |
$ac_path_GREP_found && break 3
|
4130 | |
done
|
4131 | |
done
|
4132 | |
done
|
4133 | |
IFS=$as_save_IFS
|
4134 | |
if test -z "$ac_cv_path_GREP"; then
|
4135 | |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4136 | |
fi
|
4137 | |
else
|
4138 | |
ac_cv_path_GREP=$GREP
|
4139 | |
fi
|
4140 | |
|
4141 | |
fi
|
4142 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
4143 | |
$as_echo "$ac_cv_path_GREP" >&6; }
|
4144 | |
GREP="$ac_cv_path_GREP"
|
4145 | |
|
4146 | |
|
4147 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
4148 | |
$as_echo_n "checking for egrep... " >&6; }
|
4149 | |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
4150 | |
$as_echo_n "(cached) " >&6
|
4151 | |
else
|
4152 | |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
4153 | |
then ac_cv_path_EGREP="$GREP -E"
|
4154 | |
else
|
4155 | |
if test -z "$EGREP"; then
|
4156 | |
ac_path_EGREP_found=false
|
4157 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4158 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4159 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4160 | |
do
|
4161 | |
IFS=$as_save_IFS
|
4162 | |
test -z "$as_dir" && as_dir=.
|
4163 | |
for ac_prog in egrep; do
|
4164 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4165 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
4166 | |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
4167 | |
# Check for GNU ac_path_EGREP and select it if it is found.
|
4168 | |
# Check for GNU $ac_path_EGREP
|
4169 | |
case `"$ac_path_EGREP" --version 2>&1` in
|
4170 | |
*GNU*)
|
4171 | |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
4172 | |
*)
|
4173 | |
ac_count=0
|
4174 | |
$as_echo_n 0123456789 >"conftest.in"
|
4175 | |
while :
|
4176 | |
do
|
4177 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4178 | |
mv "conftest.tmp" "conftest.in"
|
4179 | |
cp "conftest.in" "conftest.nl"
|
4180 | |
$as_echo 'EGREP' >> "conftest.nl"
|
4181 | |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4182 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4183 | |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4184 | |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
4185 | |
# Best one so far, save it but keep looking for a better one
|
4186 | |
ac_cv_path_EGREP="$ac_path_EGREP"
|
4187 | |
ac_path_EGREP_max=$ac_count
|
4188 | |
fi
|
4189 | |
# 10*(2^10) chars as input seems more than enough
|
4190 | |
test $ac_count -gt 10 && break
|
4191 | |
done
|
4192 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
4193 | |
esac
|
4194 | |
|
4195 | |
$ac_path_EGREP_found && break 3
|
4196 | |
done
|
4197 | |
done
|
4198 | |
done
|
4199 | |
IFS=$as_save_IFS
|
4200 | |
if test -z "$ac_cv_path_EGREP"; then
|
4201 | |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4202 | |
fi
|
4203 | |
else
|
4204 | |
ac_cv_path_EGREP=$EGREP
|
4205 | |
fi
|
4206 | |
|
4207 | |
fi
|
4208 | |
fi
|
4209 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
4210 | |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
4211 | |
EGREP="$ac_cv_path_EGREP"
|
4212 | |
|
4213 | |
|
4214 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
4215 | |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
4216 | |
if test "${ac_cv_header_stdc+set}" = set; then :
|
4217 | |
$as_echo_n "(cached) " >&6
|
4218 | |
else
|
4219 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4220 | |
/* end confdefs.h. */
|
4221 | |
#include <stdlib.h>
|
4222 | |
#include <stdarg.h>
|
4223 | |
#include <string.h>
|
4224 | |
#include <float.h>
|
4225 | |
|
4226 | |
int
|
4227 | |
main ()
|
4228 | |
{
|
4229 | |
|
4230 | |
;
|
4231 | |
return 0;
|
4232 | |
}
|
4233 | |
_ACEOF
|
4234 | |
if ac_fn_c_try_compile "$LINENO"; then :
|
4235 | |
ac_cv_header_stdc=yes
|
4236 | |
else
|
4237 | |
ac_cv_header_stdc=no
|
4238 | |
fi
|
4239 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4240 | |
|
4241 | |
if test $ac_cv_header_stdc = yes; then
|
4242 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
4243 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4244 | |
/* end confdefs.h. */
|
4245 | |
#include <string.h>
|
4246 | |
|
4247 | |
_ACEOF
|
4248 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4249 | |
$EGREP "memchr" >/dev/null 2>&1; then :
|
4250 | |
|
4251 | |
else
|
4252 | |
ac_cv_header_stdc=no
|
4253 | |
fi
|
4254 | |
rm -f conftest*
|
4255 | |
|
4256 | |
fi
|
4257 | |
|
4258 | |
if test $ac_cv_header_stdc = yes; then
|
4259 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
4260 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4261 | |
/* end confdefs.h. */
|
4262 | |
#include <stdlib.h>
|
4263 | |
|
4264 | |
_ACEOF
|
4265 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4266 | |
$EGREP "free" >/dev/null 2>&1; then :
|
4267 | |
|
4268 | |
else
|
4269 | |
ac_cv_header_stdc=no
|
4270 | |
fi
|
4271 | |
rm -f conftest*
|
4272 | |
|
4273 | |
fi
|
4274 | |
|
4275 | |
if test $ac_cv_header_stdc = yes; then
|
4276 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
4277 | |
if test "$cross_compiling" = yes; then :
|
4278 | |
:
|
4279 | |
else
|
4280 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4281 | |
/* end confdefs.h. */
|
4282 | |
#include <ctype.h>
|
4283 | |
#include <stdlib.h>
|
4284 | |
#if ((' ' & 0x0FF) == 0x020)
|
4285 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
4286 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
4287 | |
#else
|
4288 | |
# define ISLOWER(c) \
|
4289 | |
(('a' <= (c) && (c) <= 'i') \
|
4290 | |
|| ('j' <= (c) && (c) <= 'r') \
|
4291 | |
|| ('s' <= (c) && (c) <= 'z'))
|
4292 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
4293 | |
#endif
|
4294 | |
|
4295 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
4296 | |
int
|
4297 | |
main ()
|
4298 | |
{
|
4299 | |
int i;
|
4300 | |
for (i = 0; i < 256; i++)
|
4301 | |
if (XOR (islower (i), ISLOWER (i))
|
4302 | |
|| toupper (i) != TOUPPER (i))
|
4303 | |
return 2;
|
4304 | |
return 0;
|
4305 | |
}
|
4306 | |
_ACEOF
|
4307 | |
if ac_fn_c_try_run "$LINENO"; then :
|
4308 | |
|
4309 | |
else
|
4310 | |
ac_cv_header_stdc=no
|
4311 | |
fi
|
4312 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
4313 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4314 | |
fi
|
4315 | |
|
4316 | |
fi
|
4317 | |
fi
|
4318 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
4319 | |
$as_echo "$ac_cv_header_stdc" >&6; }
|
4320 | |
if test $ac_cv_header_stdc = yes; then
|
4321 | |
|
4322 | |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
4323 | |
|
4324 | |
fi
|
4325 | |
|
4326 | |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
4327 | |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
4328 | |
inttypes.h stdint.h unistd.h
|
4329 | |
do :
|
4330 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4331 | |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
4332 | |
"
|
4333 | |
eval as_val=\$$as_ac_Header
|
4334 | |
if test "x$as_val" = x""yes; then :
|
4335 | |
cat >>confdefs.h <<_ACEOF
|
4336 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4337 | |
_ACEOF
|
4338 | |
|
4339 | |
fi
|
4340 | |
|
4341 | |
done
|
4342 | |
|
4343 | |
|
4344 | |
ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
|
4345 | |
if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
|
4346 | |
|
4347 | |
cat >>confdefs.h <<_ACEOF
|
4348 | |
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
|
4349 | |
_ACEOF
|
4350 | |
|
4351 | |
|
4352 | |
$as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
|
4353 | |
|
4354 | |
fi
|
4355 | |
|
4356 | |
|
4357 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
|
4358 | |
$as_echo_n "checking for library containing socket... " >&6; }
|
4359 | |
if test "${ac_cv_search_socket+set}" = set; then :
|
4360 | |
$as_echo_n "(cached) " >&6
|
|
4977 |
cat >>confdefs.h <<\_ACEOF
|
|
4978 |
#define HAVE_GETADDRINFO 1
|
|
4979 |
_ACEOF
|
|
4980 |
|
|
4981 |
fi
|
|
4982 |
|
|
4983 |
{ echo "$as_me:$LINENO: checking for library containing socket" >&5
|
|
4984 |
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
|
|
4985 |
if test "${ac_cv_search_socket+set}" = set; then
|
|
4986 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4361 | 4987 |
else
|
4362 | 4988 |
ac_func_search_save_LIBS=$LIBS
|
4363 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4989 |
cat >conftest.$ac_ext <<_ACEOF
|
|
4990 |
/* confdefs.h. */
|
|
4991 |
_ACEOF
|
|
4992 |
cat confdefs.h >>conftest.$ac_ext
|
|
4993 |
cat >>conftest.$ac_ext <<_ACEOF
|
4364 | 4994 |
/* end confdefs.h. */
|
4365 | 4995 |
|
4366 | 4996 |
/* Override any GCC internal prototype to avoid an error.
|
|
4385 | 5015 |
ac_res=-l$ac_lib
|
4386 | 5016 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
4387 | 5017 |
fi
|
4388 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5018 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5019 |
if { (ac_try="$ac_link"
|
|
5020 |
case "(($ac_try" in
|
|
5021 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5022 |
*) ac_try_echo=$ac_try;;
|
|
5023 |
esac
|
|
5024 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5025 |
(eval "$ac_link") 2>conftest.er1
|
|
5026 |
ac_status=$?
|
|
5027 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5028 |
rm -f conftest.er1
|
|
5029 |
cat conftest.err >&5
|
|
5030 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5031 |
(exit $ac_status); } && {
|
|
5032 |
test -z "$ac_c_werror_flag" ||
|
|
5033 |
test ! -s conftest.err
|
|
5034 |
} && test -s conftest$ac_exeext &&
|
|
5035 |
$as_test_x conftest$ac_exeext; then
|
4389 | 5036 |
ac_cv_search_socket=$ac_res
|
4390 | |
fi
|
4391 | |
rm -f core conftest.err conftest.$ac_objext \
|
4392 | |
conftest$ac_exeext
|
4393 | |
if test "${ac_cv_search_socket+set}" = set; then :
|
|
5037 |
else
|
|
5038 |
echo "$as_me: failed program was:" >&5
|
|
5039 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5040 |
|
|
5041 |
|
|
5042 |
fi
|
|
5043 |
|
|
5044 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5045 |
conftest$ac_exeext
|
|
5046 |
if test "${ac_cv_search_socket+set}" = set; then
|
4394 | 5047 |
break
|
4395 | 5048 |
fi
|
4396 | 5049 |
done
|
4397 | |
if test "${ac_cv_search_socket+set}" = set; then :
|
4398 | |
|
|
5050 |
if test "${ac_cv_search_socket+set}" = set; then
|
|
5051 |
:
|
4399 | 5052 |
else
|
4400 | 5053 |
ac_cv_search_socket=no
|
4401 | 5054 |
fi
|
4402 | 5055 |
rm conftest.$ac_ext
|
4403 | 5056 |
LIBS=$ac_func_search_save_LIBS
|
4404 | 5057 |
fi
|
4405 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
|
4406 | |
$as_echo "$ac_cv_search_socket" >&6; }
|
|
5058 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
|
|
5059 |
echo "${ECHO_T}$ac_cv_search_socket" >&6; }
|
4407 | 5060 |
ac_res=$ac_cv_search_socket
|
4408 | |
if test "$ac_res" != no; then :
|
|
5061 |
if test "$ac_res" != no; then
|
4409 | 5062 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
4410 | 5063 |
|
4411 | 5064 |
else
|
4412 | |
as_fn_error "could not find the library containing network functions!" "$LINENO" 5
|
4413 | |
fi
|
4414 | |
|
4415 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
|
4416 | |
$as_echo_n "checking for library containing gethostbyname... " >&6; }
|
4417 | |
if test "${ac_cv_search_gethostbyname+set}" = set; then :
|
4418 | |
$as_echo_n "(cached) " >&6
|
|
5065 |
{ { echo "$as_me:$LINENO: error: could not find the library containing network functions!" >&5
|
|
5066 |
echo "$as_me: error: could not find the library containing network functions!" >&2;}
|
|
5067 |
{ (exit 1); exit 1; }; }
|
|
5068 |
fi
|
|
5069 |
|
|
5070 |
{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
|
|
5071 |
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
|
|
5072 |
if test "${ac_cv_search_gethostbyname+set}" = set; then
|
|
5073 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4419 | 5074 |
else
|
4420 | 5075 |
ac_func_search_save_LIBS=$LIBS
|
4421 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5076 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5077 |
/* confdefs.h. */
|
|
5078 |
_ACEOF
|
|
5079 |
cat confdefs.h >>conftest.$ac_ext
|
|
5080 |
cat >>conftest.$ac_ext <<_ACEOF
|
4422 | 5081 |
/* end confdefs.h. */
|
4423 | 5082 |
|
4424 | 5083 |
/* Override any GCC internal prototype to avoid an error.
|
|
4443 | 5102 |
ac_res=-l$ac_lib
|
4444 | 5103 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
4445 | 5104 |
fi
|
4446 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5105 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5106 |
if { (ac_try="$ac_link"
|
|
5107 |
case "(($ac_try" in
|
|
5108 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5109 |
*) ac_try_echo=$ac_try;;
|
|
5110 |
esac
|
|
5111 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5112 |
(eval "$ac_link") 2>conftest.er1
|
|
5113 |
ac_status=$?
|
|
5114 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5115 |
rm -f conftest.er1
|
|
5116 |
cat conftest.err >&5
|
|
5117 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5118 |
(exit $ac_status); } && {
|
|
5119 |
test -z "$ac_c_werror_flag" ||
|
|
5120 |
test ! -s conftest.err
|
|
5121 |
} && test -s conftest$ac_exeext &&
|
|
5122 |
$as_test_x conftest$ac_exeext; then
|
4447 | 5123 |
ac_cv_search_gethostbyname=$ac_res
|
4448 | |
fi
|
4449 | |
rm -f core conftest.err conftest.$ac_objext \
|
4450 | |
conftest$ac_exeext
|
4451 | |
if test "${ac_cv_search_gethostbyname+set}" = set; then :
|
|
5124 |
else
|
|
5125 |
echo "$as_me: failed program was:" >&5
|
|
5126 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5127 |
|
|
5128 |
|
|
5129 |
fi
|
|
5130 |
|
|
5131 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5132 |
conftest$ac_exeext
|
|
5133 |
if test "${ac_cv_search_gethostbyname+set}" = set; then
|
4452 | 5134 |
break
|
4453 | 5135 |
fi
|
4454 | 5136 |
done
|
4455 | |
if test "${ac_cv_search_gethostbyname+set}" = set; then :
|
4456 | |
|
|
5137 |
if test "${ac_cv_search_gethostbyname+set}" = set; then
|
|
5138 |
:
|
4457 | 5139 |
else
|
4458 | 5140 |
ac_cv_search_gethostbyname=no
|
4459 | 5141 |
fi
|
4460 | 5142 |
rm conftest.$ac_ext
|
4461 | 5143 |
LIBS=$ac_func_search_save_LIBS
|
4462 | 5144 |
fi
|
4463 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
|
4464 | |
$as_echo "$ac_cv_search_gethostbyname" >&6; }
|
|
5145 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
|
|
5146 |
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
|
4465 | 5147 |
ac_res=$ac_cv_search_gethostbyname
|
4466 | |
if test "$ac_res" != no; then :
|
|
5148 |
if test "$ac_res" != no; then
|
4467 | 5149 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
4468 | 5150 |
|
4469 | 5151 |
else
|
4470 | |
as_fn_error "could not find the library containing name convertion functions!" "$LINENO" 5
|
4471 | |
fi
|
4472 | |
|
4473 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendfile" >&5
|
4474 | |
$as_echo_n "checking for library containing sendfile... " >&6; }
|
4475 | |
if test "${ac_cv_search_sendfile+set}" = set; then :
|
4476 | |
$as_echo_n "(cached) " >&6
|
|
5152 |
{ { echo "$as_me:$LINENO: error: could not find the library containing name convertion functions!" >&5
|
|
5153 |
echo "$as_me: error: could not find the library containing name convertion functions!" >&2;}
|
|
5154 |
{ (exit 1); exit 1; }; }
|
|
5155 |
fi
|
|
5156 |
|
|
5157 |
{ echo "$as_me:$LINENO: checking for library containing sendfile" >&5
|
|
5158 |
echo $ECHO_N "checking for library containing sendfile... $ECHO_C" >&6; }
|
|
5159 |
if test "${ac_cv_search_sendfile+set}" = set; then
|
|
5160 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4477 | 5161 |
else
|
4478 | 5162 |
ac_func_search_save_LIBS=$LIBS
|
4479 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5163 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5164 |
/* confdefs.h. */
|
|
5165 |
_ACEOF
|
|
5166 |
cat confdefs.h >>conftest.$ac_ext
|
|
5167 |
cat >>conftest.$ac_ext <<_ACEOF
|
4480 | 5168 |
/* end confdefs.h. */
|
4481 | 5169 |
|
4482 | 5170 |
/* Override any GCC internal prototype to avoid an error.
|
|
4501 | 5189 |
ac_res=-l$ac_lib
|
4502 | 5190 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
4503 | 5191 |
fi
|
4504 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5192 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5193 |
if { (ac_try="$ac_link"
|
|
5194 |
case "(($ac_try" in
|
|
5195 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5196 |
*) ac_try_echo=$ac_try;;
|
|
5197 |
esac
|
|
5198 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5199 |
(eval "$ac_link") 2>conftest.er1
|
|
5200 |
ac_status=$?
|
|
5201 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5202 |
rm -f conftest.er1
|
|
5203 |
cat conftest.err >&5
|
|
5204 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5205 |
(exit $ac_status); } && {
|
|
5206 |
test -z "$ac_c_werror_flag" ||
|
|
5207 |
test ! -s conftest.err
|
|
5208 |
} && test -s conftest$ac_exeext &&
|
|
5209 |
$as_test_x conftest$ac_exeext; then
|
4505 | 5210 |
ac_cv_search_sendfile=$ac_res
|
4506 | |
fi
|
4507 | |
rm -f core conftest.err conftest.$ac_objext \
|
4508 | |
conftest$ac_exeext
|
4509 | |
if test "${ac_cv_search_sendfile+set}" = set; then :
|
|
5211 |
else
|
|
5212 |
echo "$as_me: failed program was:" >&5
|
|
5213 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5214 |
|
|
5215 |
|
|
5216 |
fi
|
|
5217 |
|
|
5218 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5219 |
conftest$ac_exeext
|
|
5220 |
if test "${ac_cv_search_sendfile+set}" = set; then
|
4510 | 5221 |
break
|
4511 | 5222 |
fi
|
4512 | 5223 |
done
|
4513 | |
if test "${ac_cv_search_sendfile+set}" = set; then :
|
4514 | |
|
|
5224 |
if test "${ac_cv_search_sendfile+set}" = set; then
|
|
5225 |
:
|
4515 | 5226 |
else
|
4516 | 5227 |
ac_cv_search_sendfile=no
|
4517 | 5228 |
fi
|
4518 | 5229 |
rm conftest.$ac_ext
|
4519 | 5230 |
LIBS=$ac_func_search_save_LIBS
|
4520 | 5231 |
fi
|
4521 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendfile" >&5
|
4522 | |
$as_echo "$ac_cv_search_sendfile" >&6; }
|
|
5232 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_sendfile" >&5
|
|
5233 |
echo "${ECHO_T}$ac_cv_search_sendfile" >&6; }
|
4523 | 5234 |
ac_res=$ac_cv_search_sendfile
|
4524 | |
if test "$ac_res" != no; then :
|
|
5235 |
if test "$ac_res" != no; then
|
4525 | 5236 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
4526 | 5237 |
|
4527 | |
$as_echo "#define HAVE_SENDFILE 1" >>confdefs.h
|
4528 | |
|
4529 | |
fi
|
4530 | |
|
4531 | |
ac_fn_c_check_header_mongrel "$LINENO" "sys/sendfile.h" "ac_cv_header_sys_sendfile_h" "$ac_includes_default"
|
4532 | |
if test "x$ac_cv_header_sys_sendfile_h" = x""yes; then :
|
4533 | |
|
4534 | |
$as_echo "#define HAVE_SENDFILE_H 1" >>confdefs.h
|
|
5238 |
cat >>confdefs.h <<\_ACEOF
|
|
5239 |
#define HAVE_SENDFILE 1
|
|
5240 |
_ACEOF
|
|
5241 |
|
|
5242 |
fi
|
|
5243 |
|
|
5244 |
if test "${ac_cv_header_sys_sendfile_h+set}" = set; then
|
|
5245 |
{ echo "$as_me:$LINENO: checking for sys/sendfile.h" >&5
|
|
5246 |
echo $ECHO_N "checking for sys/sendfile.h... $ECHO_C" >&6; }
|
|
5247 |
if test "${ac_cv_header_sys_sendfile_h+set}" = set; then
|
|
5248 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5249 |
fi
|
|
5250 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sendfile_h" >&5
|
|
5251 |
echo "${ECHO_T}$ac_cv_header_sys_sendfile_h" >&6; }
|
|
5252 |
else
|
|
5253 |
# Is the header compilable?
|
|
5254 |
{ echo "$as_me:$LINENO: checking sys/sendfile.h usability" >&5
|
|
5255 |
echo $ECHO_N "checking sys/sendfile.h usability... $ECHO_C" >&6; }
|
|
5256 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5257 |
/* confdefs.h. */
|
|
5258 |
_ACEOF
|
|
5259 |
cat confdefs.h >>conftest.$ac_ext
|
|
5260 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5261 |
/* end confdefs.h. */
|
|
5262 |
$ac_includes_default
|
|
5263 |
#include <sys/sendfile.h>
|
|
5264 |
_ACEOF
|
|
5265 |
rm -f conftest.$ac_objext
|
|
5266 |
if { (ac_try="$ac_compile"
|
|
5267 |
case "(($ac_try" in
|
|
5268 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5269 |
*) ac_try_echo=$ac_try;;
|
|
5270 |
esac
|
|
5271 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5272 |
(eval "$ac_compile") 2>conftest.er1
|
|
5273 |
ac_status=$?
|
|
5274 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5275 |
rm -f conftest.er1
|
|
5276 |
cat conftest.err >&5
|
|
5277 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5278 |
(exit $ac_status); } && {
|
|
5279 |
test -z "$ac_c_werror_flag" ||
|
|
5280 |
test ! -s conftest.err
|
|
5281 |
} && test -s conftest.$ac_objext; then
|
|
5282 |
ac_header_compiler=yes
|
|
5283 |
else
|
|
5284 |
echo "$as_me: failed program was:" >&5
|
|
5285 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5286 |
|
|
5287 |
ac_header_compiler=no
|
|
5288 |
fi
|
|
5289 |
|
|
5290 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5291 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
5292 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
|
5293 |
|
|
5294 |
# Is the header present?
|
|
5295 |
{ echo "$as_me:$LINENO: checking sys/sendfile.h presence" >&5
|
|
5296 |
echo $ECHO_N "checking sys/sendfile.h presence... $ECHO_C" >&6; }
|
|
5297 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5298 |
/* confdefs.h. */
|
|
5299 |
_ACEOF
|
|
5300 |
cat confdefs.h >>conftest.$ac_ext
|
|
5301 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5302 |
/* end confdefs.h. */
|
|
5303 |
#include <sys/sendfile.h>
|
|
5304 |
_ACEOF
|
|
5305 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
5306 |
case "(($ac_try" in
|
|
5307 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5308 |
*) ac_try_echo=$ac_try;;
|
|
5309 |
esac
|
|
5310 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5311 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
5312 |
ac_status=$?
|
|
5313 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5314 |
rm -f conftest.er1
|
|
5315 |
cat conftest.err >&5
|
|
5316 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5317 |
(exit $ac_status); } >/dev/null && {
|
|
5318 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
5319 |
test ! -s conftest.err
|
|
5320 |
}; then
|
|
5321 |
ac_header_preproc=yes
|
|
5322 |
else
|
|
5323 |
echo "$as_me: failed program was:" >&5
|
|
5324 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5325 |
|
|
5326 |
ac_header_preproc=no
|
|
5327 |
fi
|
|
5328 |
|
|
5329 |
rm -f conftest.err conftest.$ac_ext
|
|
5330 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
5331 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
|
5332 |
|
|
5333 |
# So? What about this header?
|
|
5334 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
5335 |
yes:no: )
|
|
5336 |
{ echo "$as_me:$LINENO: WARNING: sys/sendfile.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
5337 |
echo "$as_me: WARNING: sys/sendfile.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
5338 |
{ echo "$as_me:$LINENO: WARNING: sys/sendfile.h: proceeding with the compiler's result" >&5
|
|
5339 |
echo "$as_me: WARNING: sys/sendfile.h: proceeding with the compiler's result" >&2;}
|
|
5340 |
ac_header_preproc=yes
|
|
5341 |
;;
|
|
5342 |
no:yes:* )
|
|
5343 |
{ echo "$as_me:$LINENO: WARNING: sys/sendfile.h: present but cannot be compiled" >&5
|
|
5344 |
echo "$as_me: WARNING: sys/sendfile.h: present but cannot be compiled" >&2;}
|
|
5345 |
{ echo "$as_me:$LINENO: WARNING: sys/sendfile.h: check for missing prerequisite headers?" >&5
|
|
5346 |
echo "$as_me: WARNING: sys/sendfile.h: check for missing prerequisite headers?" >&2;}
|
|
5347 |
{ echo "$as_me:$LINENO: WARNING: sys/sendfile.h: see the Autoconf documentation" >&5
|
|
5348 |
echo "$as_me: WARNING: sys/sendfile.h: see the Autoconf documentation" >&2;}
|
|
5349 |
{ echo "$as_me:$LINENO: WARNING: sys/sendfile.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
5350 |
echo "$as_me: WARNING: sys/sendfile.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
5351 |
{ echo "$as_me:$LINENO: WARNING: sys/sendfile.h: proceeding with the preprocessor's result" >&5
|
|
5352 |
echo "$as_me: WARNING: sys/sendfile.h: proceeding with the preprocessor's result" >&2;}
|
|
5353 |
{ echo "$as_me:$LINENO: WARNING: sys/sendfile.h: in the future, the compiler will take precedence" >&5
|
|
5354 |
echo "$as_me: WARNING: sys/sendfile.h: in the future, the compiler will take precedence" >&2;}
|
|
5355 |
|
|
5356 |
;;
|
|
5357 |
esac
|
|
5358 |
{ echo "$as_me:$LINENO: checking for sys/sendfile.h" >&5
|
|
5359 |
echo $ECHO_N "checking for sys/sendfile.h... $ECHO_C" >&6; }
|
|
5360 |
if test "${ac_cv_header_sys_sendfile_h+set}" = set; then
|
|
5361 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5362 |
else
|
|
5363 |
ac_cv_header_sys_sendfile_h=$ac_header_preproc
|
|
5364 |
fi
|
|
5365 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sendfile_h" >&5
|
|
5366 |
echo "${ECHO_T}$ac_cv_header_sys_sendfile_h" >&6; }
|
|
5367 |
|
|
5368 |
fi
|
|
5369 |
if test $ac_cv_header_sys_sendfile_h = yes; then
|
|
5370 |
|
|
5371 |
cat >>confdefs.h <<\_ACEOF
|
|
5372 |
#define HAVE_SENDFILE_H 1
|
|
5373 |
_ACEOF
|
4535 | 5374 |
|
4536 | 5375 |
fi
|
4537 | 5376 |
|
4538 | 5377 |
|
4539 | 5378 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
4540 | 5379 |
# for constant arguments. Useless!
|
4541 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
4542 | |
$as_echo_n "checking for working alloca.h... " >&6; }
|
4543 | |
if test "${ac_cv_working_alloca_h+set}" = set; then :
|
4544 | |
$as_echo_n "(cached) " >&6
|
4545 | |
else
|
4546 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5380 |
{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
|
5381 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
|
|
5382 |
if test "${ac_cv_working_alloca_h+set}" = set; then
|
|
5383 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5384 |
else
|
|
5385 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5386 |
/* confdefs.h. */
|
|
5387 |
_ACEOF
|
|
5388 |
cat confdefs.h >>conftest.$ac_ext
|
|
5389 |
cat >>conftest.$ac_ext <<_ACEOF
|
4547 | 5390 |
/* end confdefs.h. */
|
4548 | 5391 |
#include <alloca.h>
|
4549 | 5392 |
int
|
|
4555 | 5398 |
return 0;
|
4556 | 5399 |
}
|
4557 | 5400 |
_ACEOF
|
4558 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5401 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5402 |
if { (ac_try="$ac_link"
|
|
5403 |
case "(($ac_try" in
|
|
5404 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5405 |
*) ac_try_echo=$ac_try;;
|
|
5406 |
esac
|
|
5407 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5408 |
(eval "$ac_link") 2>conftest.er1
|
|
5409 |
ac_status=$?
|
|
5410 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5411 |
rm -f conftest.er1
|
|
5412 |
cat conftest.err >&5
|
|
5413 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5414 |
(exit $ac_status); } && {
|
|
5415 |
test -z "$ac_c_werror_flag" ||
|
|
5416 |
test ! -s conftest.err
|
|
5417 |
} && test -s conftest$ac_exeext &&
|
|
5418 |
$as_test_x conftest$ac_exeext; then
|
4559 | 5419 |
ac_cv_working_alloca_h=yes
|
4560 | 5420 |
else
|
4561 | |
ac_cv_working_alloca_h=no
|
4562 | |
fi
|
4563 | |
rm -f core conftest.err conftest.$ac_objext \
|
4564 | |
conftest$ac_exeext conftest.$ac_ext
|
4565 | |
fi
|
4566 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
4567 | |
$as_echo "$ac_cv_working_alloca_h" >&6; }
|
|
5421 |
echo "$as_me: failed program was:" >&5
|
|
5422 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5423 |
|
|
5424 |
ac_cv_working_alloca_h=no
|
|
5425 |
fi
|
|
5426 |
|
|
5427 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5428 |
conftest$ac_exeext conftest.$ac_ext
|
|
5429 |
fi
|
|
5430 |
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
|
5431 |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
|
4568 | 5432 |
if test $ac_cv_working_alloca_h = yes; then
|
4569 | 5433 |
|
4570 | |
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
4571 | |
|
4572 | |
fi
|
4573 | |
|
4574 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
4575 | |
$as_echo_n "checking for alloca... " >&6; }
|
4576 | |
if test "${ac_cv_func_alloca_works+set}" = set; then :
|
4577 | |
$as_echo_n "(cached) " >&6
|
4578 | |
else
|
4579 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5434 |
cat >>confdefs.h <<\_ACEOF
|
|
5435 |
#define HAVE_ALLOCA_H 1
|
|
5436 |
_ACEOF
|
|
5437 |
|
|
5438 |
fi
|
|
5439 |
|
|
5440 |
{ echo "$as_me:$LINENO: checking for alloca" >&5
|
|
5441 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
|
|
5442 |
if test "${ac_cv_func_alloca_works+set}" = set; then
|
|
5443 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5444 |
else
|
|
5445 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5446 |
/* confdefs.h. */
|
|
5447 |
_ACEOF
|
|
5448 |
cat confdefs.h >>conftest.$ac_ext
|
|
5449 |
cat >>conftest.$ac_ext <<_ACEOF
|
4580 | 5450 |
/* end confdefs.h. */
|
4581 | 5451 |
#ifdef __GNUC__
|
4582 | 5452 |
# define alloca __builtin_alloca
|
|
4608 | 5478 |
return 0;
|
4609 | 5479 |
}
|
4610 | 5480 |
_ACEOF
|
4611 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5481 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5482 |
if { (ac_try="$ac_link"
|
|
5483 |
case "(($ac_try" in
|
|
5484 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5485 |
*) ac_try_echo=$ac_try;;
|
|
5486 |
esac
|
|
5487 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5488 |
(eval "$ac_link") 2>conftest.er1
|
|
5489 |
ac_status=$?
|
|
5490 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5491 |
rm -f conftest.er1
|
|
5492 |
cat conftest.err >&5
|
|
5493 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5494 |
(exit $ac_status); } && {
|
|
5495 |
test -z "$ac_c_werror_flag" ||
|
|
5496 |
test ! -s conftest.err
|
|
5497 |
} && test -s conftest$ac_exeext &&
|
|
5498 |
$as_test_x conftest$ac_exeext; then
|
4612 | 5499 |
ac_cv_func_alloca_works=yes
|
4613 | 5500 |
else
|
4614 | |
ac_cv_func_alloca_works=no
|
4615 | |
fi
|
4616 | |
rm -f core conftest.err conftest.$ac_objext \
|
4617 | |
conftest$ac_exeext conftest.$ac_ext
|
4618 | |
fi
|
4619 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
4620 | |
$as_echo "$ac_cv_func_alloca_works" >&6; }
|
|
5501 |
echo "$as_me: failed program was:" >&5
|
|
5502 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5503 |
|
|
5504 |
ac_cv_func_alloca_works=no
|
|
5505 |
fi
|
|
5506 |
|
|
5507 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5508 |
conftest$ac_exeext conftest.$ac_ext
|
|
5509 |
fi
|
|
5510 |
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
|
5511 |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
|
4621 | 5512 |
|
4622 | 5513 |
if test $ac_cv_func_alloca_works = yes; then
|
4623 | 5514 |
|
4624 | |
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
|
5515 |
cat >>confdefs.h <<\_ACEOF
|
|
5516 |
#define HAVE_ALLOCA 1
|
|
5517 |
_ACEOF
|
4625 | 5518 |
|
4626 | 5519 |
else
|
4627 | 5520 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
|
4631 | 5524 |
|
4632 | 5525 |
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
4633 | 5526 |
|
4634 | |
$as_echo "#define C_ALLOCA 1" >>confdefs.h
|
4635 | |
|
4636 | |
|
4637 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
4638 | |
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
4639 | |
if test "${ac_cv_os_cray+set}" = set; then :
|
4640 | |
$as_echo_n "(cached) " >&6
|
4641 | |
else
|
4642 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5527 |
cat >>confdefs.h <<\_ACEOF
|
|
5528 |
#define C_ALLOCA 1
|
|
5529 |
_ACEOF
|
|
5530 |
|
|
5531 |
|
|
5532 |
{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
|
5533 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
|
|
5534 |
if test "${ac_cv_os_cray+set}" = set; then
|
|
5535 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5536 |
else
|
|
5537 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5538 |
/* confdefs.h. */
|
|
5539 |
_ACEOF
|
|
5540 |
cat confdefs.h >>conftest.$ac_ext
|
|
5541 |
cat >>conftest.$ac_ext <<_ACEOF
|
4643 | 5542 |
/* end confdefs.h. */
|
4644 | 5543 |
#if defined CRAY && ! defined CRAY2
|
4645 | 5544 |
webecray
|
|
4649 | 5548 |
|
4650 | 5549 |
_ACEOF
|
4651 | 5550 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4652 | |
$EGREP "webecray" >/dev/null 2>&1; then :
|
|
5551 |
$EGREP "webecray" >/dev/null 2>&1; then
|
4653 | 5552 |
ac_cv_os_cray=yes
|
4654 | 5553 |
else
|
4655 | 5554 |
ac_cv_os_cray=no
|
|
4657 | 5556 |
rm -f conftest*
|
4658 | 5557 |
|
4659 | 5558 |
fi
|
4660 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
4661 | |
$as_echo "$ac_cv_os_cray" >&6; }
|
|
5559 |
{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
|
5560 |
echo "${ECHO_T}$ac_cv_os_cray" >&6; }
|
4662 | 5561 |
if test $ac_cv_os_cray = yes; then
|
4663 | 5562 |
for ac_func in _getb67 GETB67 getb67; do
|
4664 | |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
4665 | |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
4666 | |
eval as_val=\$$as_ac_var
|
4667 | |
if test "x$as_val" = x""yes; then :
|
|
5563 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
5564 |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
5565 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
5566 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
5567 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5568 |
else
|
|
5569 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5570 |
/* confdefs.h. */
|
|
5571 |
_ACEOF
|
|
5572 |
cat confdefs.h >>conftest.$ac_ext
|
|
5573 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5574 |
/* end confdefs.h. */
|
|
5575 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
5576 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
5577 |
#define $ac_func innocuous_$ac_func
|
|
5578 |
|
|
5579 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
5580 |
which can conflict with char $ac_func (); below.
|
|
5581 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
5582 |
<limits.h> exists even on freestanding compilers. */
|
|
5583 |
|
|
5584 |
#ifdef __STDC__
|
|
5585 |
# include <limits.h>
|
|
5586 |
#else
|
|
5587 |
# include <assert.h>
|
|
5588 |
#endif
|
|
5589 |
|
|
5590 |
#undef $ac_func
|
|
5591 |
|
|
5592 |
/* Override any GCC internal prototype to avoid an error.
|
|
5593 |
Use char because int might match the return type of a GCC
|
|
5594 |
builtin and then its argument prototype would still apply. */
|
|
5595 |
#ifdef __cplusplus
|
|
5596 |
extern "C"
|
|
5597 |
#endif
|
|
5598 |
char $ac_func ();
|
|
5599 |
/* The GNU C library defines this for functions which it implements
|
|
5600 |
to always fail with ENOSYS. Some functions are actually named
|
|
5601 |
something starting with __ and the normal name is an alias. */
|
|
5602 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
5603 |
choke me
|
|
5604 |
#endif
|
|
5605 |
|
|
5606 |
int
|
|
5607 |
main ()
|
|
5608 |
{
|
|
5609 |
return $ac_func ();
|
|
5610 |
;
|
|
5611 |
return 0;
|
|
5612 |
}
|
|
5613 |
_ACEOF
|
|
5614 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5615 |
if { (ac_try="$ac_link"
|
|
5616 |
case "(($ac_try" in
|
|
5617 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5618 |
*) ac_try_echo=$ac_try;;
|
|
5619 |
esac
|
|
5620 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5621 |
(eval "$ac_link") 2>conftest.er1
|
|
5622 |
ac_status=$?
|
|
5623 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5624 |
rm -f conftest.er1
|
|
5625 |
cat conftest.err >&5
|
|
5626 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5627 |
(exit $ac_status); } && {
|
|
5628 |
test -z "$ac_c_werror_flag" ||
|
|
5629 |
test ! -s conftest.err
|
|
5630 |
} && test -s conftest$ac_exeext &&
|
|
5631 |
$as_test_x conftest$ac_exeext; then
|
|
5632 |
eval "$as_ac_var=yes"
|
|
5633 |
else
|
|
5634 |
echo "$as_me: failed program was:" >&5
|
|
5635 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5636 |
|
|
5637 |
eval "$as_ac_var=no"
|
|
5638 |
fi
|
|
5639 |
|
|
5640 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5641 |
conftest$ac_exeext conftest.$ac_ext
|
|
5642 |
fi
|
|
5643 |
ac_res=`eval echo '${'$as_ac_var'}'`
|
|
5644 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
5645 |
echo "${ECHO_T}$ac_res" >&6; }
|
|
5646 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
4668 | 5647 |
|
4669 | 5648 |
cat >>confdefs.h <<_ACEOF
|
4670 | 5649 |
#define CRAY_STACKSEG_END $ac_func
|
|
4676 | 5655 |
done
|
4677 | 5656 |
fi
|
4678 | 5657 |
|
4679 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
4680 | |
$as_echo_n "checking stack direction for C alloca... " >&6; }
|
4681 | |
if test "${ac_cv_c_stack_direction+set}" = set; then :
|
4682 | |
$as_echo_n "(cached) " >&6
|
4683 | |
else
|
4684 | |
if test "$cross_compiling" = yes; then :
|
|
5658 |
{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
|
5659 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
|
|
5660 |
if test "${ac_cv_c_stack_direction+set}" = set; then
|
|
5661 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5662 |
else
|
|
5663 |
if test "$cross_compiling" = yes; then
|
4685 | 5664 |
ac_cv_c_stack_direction=0
|
4686 | 5665 |
else
|
4687 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5666 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5667 |
/* confdefs.h. */
|
|
5668 |
_ACEOF
|
|
5669 |
cat confdefs.h >>conftest.$ac_ext
|
|
5670 |
cat >>conftest.$ac_ext <<_ACEOF
|
4688 | 5671 |
/* end confdefs.h. */
|
4689 | 5672 |
$ac_includes_default
|
4690 | 5673 |
int
|
|
4707 | 5690 |
return find_stack_direction () < 0;
|
4708 | 5691 |
}
|
4709 | 5692 |
_ACEOF
|
4710 | |
if ac_fn_c_try_run "$LINENO"; then :
|
|
5693 |
rm -f conftest$ac_exeext
|
|
5694 |
if { (ac_try="$ac_link"
|
|
5695 |
case "(($ac_try" in
|
|
5696 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5697 |
*) ac_try_echo=$ac_try;;
|
|
5698 |
esac
|
|
5699 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5700 |
(eval "$ac_link") 2>&5
|
|
5701 |
ac_status=$?
|
|
5702 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5703 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
5704 |
{ (case "(($ac_try" in
|
|
5705 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5706 |
*) ac_try_echo=$ac_try;;
|
|
5707 |
esac
|
|
5708 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5709 |
(eval "$ac_try") 2>&5
|
|
5710 |
ac_status=$?
|
|
5711 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5712 |
(exit $ac_status); }; }; then
|
4711 | 5713 |
ac_cv_c_stack_direction=1
|
4712 | 5714 |
else
|
4713 | |
ac_cv_c_stack_direction=-1
|
4714 | |
fi
|
4715 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
4716 | |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
4717 | |
fi
|
4718 | |
|
4719 | |
fi
|
4720 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
4721 | |
$as_echo "$ac_cv_c_stack_direction" >&6; }
|
|
5715 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
5716 |
echo "$as_me: failed program was:" >&5
|
|
5717 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5718 |
|
|
5719 |
( exit $ac_status )
|
|
5720 |
ac_cv_c_stack_direction=-1
|
|
5721 |
fi
|
|
5722 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
5723 |
fi
|
|
5724 |
|
|
5725 |
|
|
5726 |
fi
|
|
5727 |
{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
|
5728 |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
|
|
5729 |
|
4722 | 5730 |
cat >>confdefs.h <<_ACEOF
|
4723 | 5731 |
#define STACK_DIRECTION $ac_cv_c_stack_direction
|
4724 | 5732 |
_ACEOF
|
|
4729 | 5737 |
|
4730 | 5738 |
|
4731 | 5739 |
# Check whether --enable-debug was given.
|
4732 | |
if test "${enable_debug+set}" = set; then :
|
|
5740 |
if test "${enable_debug+set}" = set; then
|
4733 | 5741 |
enableval=$enable_debug;
|
4734 | 5742 |
else
|
4735 | 5743 |
enable_debug=yes
|
|
4744 | 5752 |
fi
|
4745 | 5753 |
|
4746 | 5754 |
# Check whether --enable-md5 was given.
|
4747 | |
if test "${enable_md5+set}" = set; then :
|
|
5755 |
if test "${enable_md5+set}" = set; then
|
4748 | 5756 |
enableval=$enable_md5;
|
4749 | 5757 |
else
|
4750 | 5758 |
enable_md5=auto
|
|
4752 | 5760 |
fi
|
4753 | 5761 |
|
4754 | 5762 |
if test x$enable_md5 != xno ; then
|
4755 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mhash_init" >&5
|
4756 | |
$as_echo_n "checking for library containing mhash_init... " >&6; }
|
4757 | |
if test "${ac_cv_search_mhash_init+set}" = set; then :
|
4758 | |
$as_echo_n "(cached) " >&6
|
|
5763 |
{ echo "$as_me:$LINENO: checking for library containing mhash_init" >&5
|
|
5764 |
echo $ECHO_N "checking for library containing mhash_init... $ECHO_C" >&6; }
|
|
5765 |
if test "${ac_cv_search_mhash_init+set}" = set; then
|
|
5766 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4759 | 5767 |
else
|
4760 | 5768 |
ac_func_search_save_LIBS=$LIBS
|
4761 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5769 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5770 |
/* confdefs.h. */
|
|
5771 |
_ACEOF
|
|
5772 |
cat confdefs.h >>conftest.$ac_ext
|
|
5773 |
cat >>conftest.$ac_ext <<_ACEOF
|
4762 | 5774 |
/* end confdefs.h. */
|
4763 | 5775 |
|
4764 | 5776 |
/* Override any GCC internal prototype to avoid an error.
|
|
4783 | 5795 |
ac_res=-l$ac_lib
|
4784 | 5796 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
4785 | 5797 |
fi
|
4786 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5798 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5799 |
if { (ac_try="$ac_link"
|
|
5800 |
case "(($ac_try" in
|
|
5801 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5802 |
*) ac_try_echo=$ac_try;;
|
|
5803 |
esac
|
|
5804 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5805 |
(eval "$ac_link") 2>conftest.er1
|
|
5806 |
ac_status=$?
|
|
5807 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5808 |
rm -f conftest.er1
|
|
5809 |
cat conftest.err >&5
|
|
5810 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5811 |
(exit $ac_status); } && {
|
|
5812 |
test -z "$ac_c_werror_flag" ||
|
|
5813 |
test ! -s conftest.err
|
|
5814 |
} && test -s conftest$ac_exeext &&
|
|
5815 |
$as_test_x conftest$ac_exeext; then
|
4787 | 5816 |
ac_cv_search_mhash_init=$ac_res
|
4788 | |
fi
|
4789 | |
rm -f core conftest.err conftest.$ac_objext \
|
4790 | |
conftest$ac_exeext
|
4791 | |
if test "${ac_cv_search_mhash_init+set}" = set; then :
|
|
5817 |
else
|
|
5818 |
echo "$as_me: failed program was:" >&5
|
|
5819 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5820 |
|
|
5821 |
|
|
5822 |
fi
|
|
5823 |
|
|
5824 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5825 |
conftest$ac_exeext
|
|
5826 |
if test "${ac_cv_search_mhash_init+set}" = set; then
|
4792 | 5827 |
break
|
4793 | 5828 |
fi
|
4794 | 5829 |
done
|
4795 | |
if test "${ac_cv_search_mhash_init+set}" = set; then :
|
4796 | |
|
|
5830 |
if test "${ac_cv_search_mhash_init+set}" = set; then
|
|
5831 |
:
|
4797 | 5832 |
else
|
4798 | 5833 |
ac_cv_search_mhash_init=no
|
4799 | 5834 |
fi
|
4800 | 5835 |
rm conftest.$ac_ext
|
4801 | 5836 |
LIBS=$ac_func_search_save_LIBS
|
4802 | 5837 |
fi
|
4803 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mhash_init" >&5
|
4804 | |
$as_echo "$ac_cv_search_mhash_init" >&6; }
|
|
5838 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_mhash_init" >&5
|
|
5839 |
echo "${ECHO_T}$ac_cv_search_mhash_init" >&6; }
|
4805 | 5840 |
ac_res=$ac_cv_search_mhash_init
|
4806 | |
if test "$ac_res" != no; then :
|
|
5841 |
if test "$ac_res" != no; then
|
4807 | 5842 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
4808 | 5843 |
cat >>confdefs.h <<_ACEOF
|
4809 | 5844 |
#define HAVE_LIBMHASH 1
|
4810 | 5845 |
_ACEOF
|
4811 | 5846 |
|
4812 | 5847 |
else
|
4813 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MD5Init" >&5
|
4814 | |
$as_echo_n "checking for library containing MD5Init... " >&6; }
|
4815 | |
if test "${ac_cv_search_MD5Init+set}" = set; then :
|
4816 | |
$as_echo_n "(cached) " >&6
|
|
5848 |
{ echo "$as_me:$LINENO: checking for library containing MD5Init" >&5
|
|
5849 |
echo $ECHO_N "checking for library containing MD5Init... $ECHO_C" >&6; }
|
|
5850 |
if test "${ac_cv_search_MD5Init+set}" = set; then
|
|
5851 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4817 | 5852 |
else
|
4818 | 5853 |
ac_func_search_save_LIBS=$LIBS
|
4819 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5854 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5855 |
/* confdefs.h. */
|
|
5856 |
_ACEOF
|
|
5857 |
cat confdefs.h >>conftest.$ac_ext
|
|
5858 |
cat >>conftest.$ac_ext <<_ACEOF
|
4820 | 5859 |
/* end confdefs.h. */
|
4821 | 5860 |
|
4822 | 5861 |
/* Override any GCC internal prototype to avoid an error.
|
|
4841 | 5880 |
ac_res=-l$ac_lib
|
4842 | 5881 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
4843 | 5882 |
fi
|
4844 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5883 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5884 |
if { (ac_try="$ac_link"
|
|
5885 |
case "(($ac_try" in
|
|
5886 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5887 |
*) ac_try_echo=$ac_try;;
|
|
5888 |
esac
|
|
5889 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5890 |
(eval "$ac_link") 2>conftest.er1
|
|
5891 |
ac_status=$?
|
|
5892 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5893 |
rm -f conftest.er1
|
|
5894 |
cat conftest.err >&5
|
|
5895 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5896 |
(exit $ac_status); } && {
|
|
5897 |
test -z "$ac_c_werror_flag" ||
|
|
5898 |
test ! -s conftest.err
|
|
5899 |
} && test -s conftest$ac_exeext &&
|
|
5900 |
$as_test_x conftest$ac_exeext; then
|
4845 | 5901 |
ac_cv_search_MD5Init=$ac_res
|
4846 | |
fi
|
4847 | |
rm -f core conftest.err conftest.$ac_objext \
|
4848 | |
conftest$ac_exeext
|
4849 | |
if test "${ac_cv_search_MD5Init+set}" = set; then :
|
|
5902 |
else
|
|
5903 |
echo "$as_me: failed program was:" >&5
|
|
5904 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5905 |
|
|
5906 |
|
|
5907 |
fi
|
|
5908 |
|
|
5909 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5910 |
conftest$ac_exeext
|
|
5911 |
if test "${ac_cv_search_MD5Init+set}" = set; then
|
4850 | 5912 |
break
|
4851 | 5913 |
fi
|
4852 | 5914 |
done
|
4853 | |
if test "${ac_cv_search_MD5Init+set}" = set; then :
|
4854 | |
|
|
5915 |
if test "${ac_cv_search_MD5Init+set}" = set; then
|
|
5916 |
:
|
4855 | 5917 |
else
|
4856 | 5918 |
ac_cv_search_MD5Init=no
|
4857 | 5919 |
fi
|
4858 | 5920 |
rm conftest.$ac_ext
|
4859 | 5921 |
LIBS=$ac_func_search_save_LIBS
|
4860 | 5922 |
fi
|
4861 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5Init" >&5
|
4862 | |
$as_echo "$ac_cv_search_MD5Init" >&6; }
|
|
5923 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_MD5Init" >&5
|
|
5924 |
echo "${ECHO_T}$ac_cv_search_MD5Init" >&6; }
|
4863 | 5925 |
ac_res=$ac_cv_search_MD5Init
|
4864 | |
if test "$ac_res" != no; then :
|
|
5926 |
if test "$ac_res" != no; then
|
4865 | 5927 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
4866 | 5928 |
cat >>confdefs.h <<_ACEOF
|
4867 | 5929 |
#define HAVE_LIBMD5 1
|
4868 | 5930 |
_ACEOF
|
4869 | 5931 |
|
4870 | 5932 |
else
|
4871 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MD5_Init" >&5
|
4872 | |
$as_echo_n "checking for library containing MD5_Init... " >&6; }
|
4873 | |
if test "${ac_cv_search_MD5_Init+set}" = set; then :
|
4874 | |
$as_echo_n "(cached) " >&6
|
|
5933 |
{ echo "$as_me:$LINENO: checking for library containing MD5_Init" >&5
|
|
5934 |
echo $ECHO_N "checking for library containing MD5_Init... $ECHO_C" >&6; }
|
|
5935 |
if test "${ac_cv_search_MD5_Init+set}" = set; then
|
|
5936 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4875 | 5937 |
else
|
4876 | 5938 |
ac_func_search_save_LIBS=$LIBS
|
4877 | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5939 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5940 |
/* confdefs.h. */
|
|
5941 |
_ACEOF
|
|
5942 |
cat confdefs.h >>conftest.$ac_ext
|
|
5943 |
cat >>conftest.$ac_ext <<_ACEOF
|
4878 | 5944 |
/* end confdefs.h. */
|
4879 | 5945 |
|
4880 | 5946 |
/* Override any GCC internal prototype to avoid an error.
|
|
4899 | 5965 |
ac_res=-l$ac_lib
|
4900 | 5966 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
4901 | 5967 |
fi
|
4902 | |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5968 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
5969 |
if { (ac_try="$ac_link"
|
|
5970 |
case "(($ac_try" in
|
|
5971 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5972 |
*) ac_try_echo=$ac_try;;
|
|
5973 |
esac
|
|
5974 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
5975 |
(eval "$ac_link") 2>conftest.er1
|
|
5976 |
ac_status=$?
|
|
5977 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5978 |
rm -f conftest.er1
|
|
5979 |
cat conftest.err >&5
|
|
5980 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5981 |
(exit $ac_status); } && {
|
|
5982 |
test -z "$ac_c_werror_flag" ||
|
|
5983 |
test ! -s conftest.err
|
|
5984 |
} && test -s conftest$ac_exeext &&
|
|
5985 |
$as_test_x conftest$ac_exeext; then
|
4903 | 5986 |
ac_cv_search_MD5_Init=$ac_res
|
4904 | |
fi
|
4905 | |
rm -f core conftest.err conftest.$ac_objext \
|
4906 | |
conftest$ac_exeext
|
4907 | |
if test "${ac_cv_search_MD5_Init+set}" = set; then :
|
|
5987 |
else
|
|
5988 |
echo "$as_me: failed program was:" >&5
|
|
5989 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5990 |
|
|
5991 |
|
|
5992 |
fi
|
|
5993 |
|
|
5994 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
5995 |
conftest$ac_exeext
|
|
5996 |
if test "${ac_cv_search_MD5_Init+set}" = set; then
|
4908 | 5997 |
break
|
4909 | 5998 |
fi
|
4910 | 5999 |
done
|
4911 | |
if test "${ac_cv_search_MD5_Init+set}" = set; then :
|
4912 | |
|
|
6000 |
if test "${ac_cv_search_MD5_Init+set}" = set; then
|
|
6001 |
:
|
4913 | 6002 |
else
|
4914 | 6003 |
ac_cv_search_MD5_Init=no
|
4915 | 6004 |
fi
|
4916 | 6005 |
rm conftest.$ac_ext
|
4917 | 6006 |
LIBS=$ac_func_search_save_LIBS
|
4918 | 6007 |
fi
|
4919 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5_Init" >&5
|
4920 | |
$as_echo "$ac_cv_search_MD5_Init" >&6; }
|
|
6008 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_MD5_Init" >&5
|
|
6009 |
echo "${ECHO_T}$ac_cv_search_MD5_Init" >&6; }
|
4921 | 6010 |
ac_res=$ac_cv_search_MD5_Init
|
4922 | |
if test "$ac_res" != no; then :
|
|
6011 |
if test "$ac_res" != no; then
|
4923 | 6012 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
4924 | 6013 |
cat >>confdefs.h <<_ACEOF
|
4925 | 6014 |
#define HAVE_LIBCRYPTO 1
|
|
4927 | 6016 |
|
4928 | 6017 |
else
|
4929 | 6018 |
if test x$enable_md5 = xauto ; then
|
4930 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find a library containing the md5 hash functions - md5 support disabled" >&5
|
4931 | |
$as_echo "$as_me: WARNING: could not find a library containing the md5 hash functions - md5 support disabled" >&2;}
|
|
6019 |
{ echo "$as_me:$LINENO: WARNING: could not find a library containing the md5 hash functions - md5 support disabled" >&5
|
|
6020 |
echo "$as_me: WARNING: could not find a library containing the md5 hash functions - md5 support disabled" >&2;}
|
4932 | 6021 |
else
|
4933 | |
as_fn_error "could not find the mhash library" "$LINENO" 5
|
|
6022 |
{ { echo "$as_me:$LINENO: error: could not find the mhash library" >&5
|
|
6023 |
echo "$as_me: error: could not find the mhash library" >&2;}
|
|
6024 |
{ (exit 1); exit 1; }; }
|
4934 | 6025 |
fi
|
4935 | 6026 |
|
4936 | 6027 |
fi
|
|
4955 | 6046 |
|
4956 | 6047 |
|
4957 | 6048 |
|
4958 | |
$as_echo "#define _REENTRANT 1" >>confdefs.h
|
|
6049 |
cat >>confdefs.h <<\_ACEOF
|
|
6050 |
#define _REENTRANT 1
|
|
6051 |
_ACEOF
|
4959 | 6052 |
|
4960 | 6053 |
|
4961 | 6054 |
ac_config_files="$ac_config_files Makefile mbuffer.1"
|
|
4987 | 6080 |
case $ac_val in #(
|
4988 | 6081 |
*${as_nl}*)
|
4989 | 6082 |
case $ac_var in #(
|
4990 | |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
4991 | |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
6083 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
|
6084 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
4992 | 6085 |
esac
|
4993 | 6086 |
case $ac_var in #(
|
4994 | 6087 |
_ | IFS | as_nl) ;; #(
|
4995 | |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
4996 | |
*) { eval $ac_var=; unset $ac_var;} ;;
|
|
6088 |
*) $as_unset $ac_var ;;
|
4997 | 6089 |
esac ;;
|
4998 | 6090 |
esac
|
4999 | 6091 |
done
|
|
5001 | 6093 |
(set) 2>&1 |
|
5002 | 6094 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
5003 | 6095 |
*${as_nl}ac_space=\ *)
|
5004 | |
# `set' does not quote correctly, so add quotes: double-quote
|
5005 | |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
|
6096 |
# `set' does not quote correctly, so add quotes (double-quote
|
|
6097 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
5006 | 6098 |
sed -n \
|
5007 | 6099 |
"s/'/'\\\\''/g;
|
5008 | 6100 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
5025 | 6117 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
5026 | 6118 |
if test -w "$cache_file"; then
|
5027 | 6119 |
test "x$cache_file" != "x/dev/null" &&
|
5028 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
5029 | |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
6120 |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
6121 |
echo "$as_me: updating cache $cache_file" >&6;}
|
5030 | 6122 |
cat confcache >$cache_file
|
5031 | 6123 |
else
|
5032 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
5033 | |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
6124 |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
6125 |
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
5034 | 6126 |
fi
|
5035 | 6127 |
fi
|
5036 | 6128 |
rm -f confcache
|
|
5046 | 6138 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
5047 | 6139 |
# 1. Remove the extension, and $U if already installed.
|
5048 | 6140 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
5049 | |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
|
6141 |
ac_i=`echo "$ac_i" | sed "$ac_script"`
|
5050 | 6142 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
5051 | 6143 |
# will be set to the directory where LIBOBJS objects are built.
|
5052 | |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
5053 | |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
6144 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
6145 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
5054 | 6146 |
done
|
5055 | 6147 |
LIBOBJS=$ac_libobjs
|
5056 | 6148 |
|
|
5059 | 6151 |
|
5060 | 6152 |
|
5061 | 6153 |
: ${CONFIG_STATUS=./config.status}
|
5062 | |
ac_write_fail=0
|
5063 | 6154 |
ac_clean_files_save=$ac_clean_files
|
5064 | 6155 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
5065 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
5066 | |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
5067 | |
as_write_fail=0
|
5068 | |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
|
6156 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
6157 |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
6158 |
cat >$CONFIG_STATUS <<_ACEOF
|
5069 | 6159 |
#! $SHELL
|
5070 | 6160 |
# Generated by $as_me.
|
5071 | 6161 |
# Run this file to recreate the current configuration.
|
|
5075 | 6165 |
debug=false
|
5076 | 6166 |
ac_cs_recheck=false
|
5077 | 6167 |
ac_cs_silent=false
|
5078 | |
|
5079 | 6168 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
5080 | |
export SHELL
|
5081 | |
_ASEOF
|
5082 | |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
5083 | |
## -------------------- ##
|
5084 | |
## M4sh Initialization. ##
|
5085 | |
## -------------------- ##
|
|
6169 |
_ACEOF
|
|
6170 |
|
|
6171 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6172 |
## --------------------- ##
|
|
6173 |
## M4sh Initialization. ##
|
|
6174 |
## --------------------- ##
|
5086 | 6175 |
|
5087 | 6176 |
# Be more Bourne compatible
|
5088 | 6177 |
DUALCASE=1; export DUALCASE # for MKS sh
|
5089 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|
6178 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
5090 | 6179 |
emulate sh
|
5091 | 6180 |
NULLCMD=:
|
5092 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
6181 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
5093 | 6182 |
# is contrary to our usage. Disable this feature.
|
5094 | 6183 |
alias -g '${1+"$@"}'='"$@"'
|
5095 | 6184 |
setopt NO_GLOB_SUBST
|
5096 | 6185 |
else
|
5097 | |
case `(set -o) 2>/dev/null` in #(
|
5098 | |
*posix*) :
|
5099 | |
set -o posix ;; #(
|
5100 | |
*) :
|
5101 | |
;;
|
5102 | |
esac
|
5103 | |
fi
|
5104 | |
|
5105 | |
|
5106 | |
as_nl='
|
5107 | |
'
|
5108 | |
export as_nl
|
5109 | |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
5110 | |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
5111 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
5112 | |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
5113 | |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
5114 | |
# but without wasting forks for bash or zsh.
|
5115 | |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
5116 | |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
5117 | |
as_echo='print -r --'
|
5118 | |
as_echo_n='print -rn --'
|
5119 | |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
5120 | |
as_echo='printf %s\n'
|
5121 | |
as_echo_n='printf %s'
|
5122 | |
else
|
5123 | |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
5124 | |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
5125 | |
as_echo_n='/usr/ucb/echo -n'
|
5126 | |
else
|
5127 | |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
5128 | |
as_echo_n_body='eval
|
5129 | |
arg=$1;
|
5130 | |
case $arg in #(
|
5131 | |
*"$as_nl"*)
|
5132 | |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
5133 | |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
5134 | |
esac;
|
5135 | |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
5136 | |
'
|
5137 | |
export as_echo_n_body
|
5138 | |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
5139 | |
fi
|
5140 | |
export as_echo_body
|
5141 | |
as_echo='sh -c $as_echo_body as_echo'
|
5142 | |
fi
|
|
6186 |
case `(set -o) 2>/dev/null` in
|
|
6187 |
*posix*) set -o posix ;;
|
|
6188 |
esac
|
|
6189 |
|
|
6190 |
fi
|
|
6191 |
|
|
6192 |
|
|
6193 |
|
|
6194 |
|
|
6195 |
# PATH needs CR
|
|
6196 |
# Avoid depending upon Character Ranges.
|
|
6197 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
6198 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
6199 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
6200 |
as_cr_digits='0123456789'
|
|
6201 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
5143 | 6202 |
|
5144 | 6203 |
# The user is always right.
|
5145 | 6204 |
if test "${PATH_SEPARATOR+set}" != set; then
|
5146 | |
PATH_SEPARATOR=:
|
5147 | |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
5148 | |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
5149 | |
PATH_SEPARATOR=';'
|
5150 | |
}
|
|
6205 |
echo "#! /bin/sh" >conf$$.sh
|
|
6206 |
echo "exit 0" >>conf$$.sh
|
|
6207 |
chmod +x conf$$.sh
|
|
6208 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
6209 |
PATH_SEPARATOR=';'
|
|
6210 |
else
|
|
6211 |
PATH_SEPARATOR=:
|
|
6212 |
fi
|
|
6213 |
rm -f conf$$.sh
|
|
6214 |
fi
|
|
6215 |
|
|
6216 |
# Support unset when possible.
|
|
6217 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
6218 |
as_unset=unset
|
|
6219 |
else
|
|
6220 |
as_unset=false
|
5151 | 6221 |
fi
|
5152 | 6222 |
|
5153 | 6223 |
|
|
5156 | 6226 |
# there to prevent editors from complaining about space-tab.
|
5157 | 6227 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
5158 | 6228 |
# splitting by setting IFS to empty value.)
|
|
6229 |
as_nl='
|
|
6230 |
'
|
5159 | 6231 |
IFS=" "" $as_nl"
|
5160 | 6232 |
|
5161 | 6233 |
# Find who we are. Look in the path if we contain no directory separator.
|
5162 | |
case $0 in #((
|
|
6234 |
case $0 in
|
5163 | 6235 |
*[\\/]* ) as_myself=$0 ;;
|
5164 | 6236 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5165 | 6237 |
for as_dir in $PATH
|
5166 | 6238 |
do
|
5167 | 6239 |
IFS=$as_save_IFS
|
5168 | 6240 |
test -z "$as_dir" && as_dir=.
|
5169 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
5170 | |
done
|
|
6241 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
6242 |
done
|
5171 | 6243 |
IFS=$as_save_IFS
|
5172 | 6244 |
|
5173 | 6245 |
;;
|
|
5178 | 6250 |
as_myself=$0
|
5179 | 6251 |
fi
|
5180 | 6252 |
if test ! -f "$as_myself"; then
|
5181 | |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
5182 | |
exit 1
|
5183 | |
fi
|
5184 | |
|
5185 | |
# Unset variables that we do not need and which cause bugs (e.g. in
|
5186 | |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
5187 | |
# suppresses any "Segmentation fault" message there. '((' could
|
5188 | |
# trigger a bug in pdksh 5.2.14.
|
5189 | |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
5190 | |
do eval test x\${$as_var+set} = xset \
|
5191 | |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
6253 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
6254 |
{ (exit 1); exit 1; }
|
|
6255 |
fi
|
|
6256 |
|
|
6257 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
6258 |
for as_var in ENV MAIL MAILPATH
|
|
6259 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
5192 | 6260 |
done
|
5193 | 6261 |
PS1='$ '
|
5194 | 6262 |
PS2='> '
|
5195 | 6263 |
PS4='+ '
|
5196 | 6264 |
|
5197 | 6265 |
# NLS nuisances.
|
5198 | |
LC_ALL=C
|
5199 | |
export LC_ALL
|
5200 | |
LANGUAGE=C
|
5201 | |
export LANGUAGE
|
5202 | |
|
5203 | |
# CDPATH.
|
5204 | |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
5205 | |
|
5206 | |
|
5207 | |
# as_fn_error ERROR [LINENO LOG_FD]
|
5208 | |
# ---------------------------------
|
5209 | |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
5210 | |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
5211 | |
# script with status $?, using 1 if that was 0.
|
5212 | |
as_fn_error ()
|
5213 | |
{
|
5214 | |
as_status=$?; test $as_status -eq 0 && as_status=1
|
5215 | |
if test "$3"; then
|
5216 | |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
5217 | |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
6266 |
for as_var in \
|
|
6267 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
6268 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
6269 |
LC_TELEPHONE LC_TIME
|
|
6270 |
do
|
|
6271 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
6272 |
eval $as_var=C; export $as_var
|
|
6273 |
else
|
|
6274 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
5218 | 6275 |
fi
|
5219 | |
$as_echo "$as_me: error: $1" >&2
|
5220 | |
as_fn_exit $as_status
|
5221 | |
} # as_fn_error
|
5222 | |
|
5223 | |
|
5224 | |
# as_fn_set_status STATUS
|
5225 | |
# -----------------------
|
5226 | |
# Set $? to STATUS, without forking.
|
5227 | |
as_fn_set_status ()
|
5228 | |
{
|
5229 | |
return $1
|
5230 | |
} # as_fn_set_status
|
5231 | |
|
5232 | |
# as_fn_exit STATUS
|
5233 | |
# -----------------
|
5234 | |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
5235 | |
as_fn_exit ()
|
5236 | |
{
|
5237 | |
set +e
|
5238 | |
as_fn_set_status $1
|
5239 | |
exit $1
|
5240 | |
} # as_fn_exit
|
5241 | |
|
5242 | |
# as_fn_unset VAR
|
5243 | |
# ---------------
|
5244 | |
# Portably unset VAR.
|
5245 | |
as_fn_unset ()
|
5246 | |
{
|
5247 | |
{ eval $1=; unset $1;}
|
5248 | |
}
|
5249 | |
as_unset=as_fn_unset
|
5250 | |
# as_fn_append VAR VALUE
|
5251 | |
# ----------------------
|
5252 | |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
5253 | |
# advantage of any shell optimizations that allow amortized linear growth over
|
5254 | |
# repeated appends, instead of the typical quadratic growth present in naive
|
5255 | |
# implementations.
|
5256 | |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
5257 | |
eval 'as_fn_append ()
|
5258 | |
{
|
5259 | |
eval $1+=\$2
|
5260 | |
}'
|
5261 | |
else
|
5262 | |
as_fn_append ()
|
5263 | |
{
|
5264 | |
eval $1=\$$1\$2
|
5265 | |
}
|
5266 | |
fi # as_fn_append
|
5267 | |
|
5268 | |
# as_fn_arith ARG...
|
5269 | |
# ------------------
|
5270 | |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
5271 | |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
5272 | |
# must be portable across $(()) and expr.
|
5273 | |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
5274 | |
eval 'as_fn_arith ()
|
5275 | |
{
|
5276 | |
as_val=$(( $* ))
|
5277 | |
}'
|
5278 | |
else
|
5279 | |
as_fn_arith ()
|
5280 | |
{
|
5281 | |
as_val=`expr "$@" || test $? -eq 1`
|
5282 | |
}
|
5283 | |
fi # as_fn_arith
|
5284 | |
|
5285 | |
|
|
6276 |
done
|
|
6277 |
|
|
6278 |
# Required to use basename.
|
5286 | 6279 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
5287 | 6280 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
5288 | 6281 |
as_expr=expr
|
|
5296 | 6289 |
as_basename=false
|
5297 | 6290 |
fi
|
5298 | 6291 |
|
5299 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
5300 | |
as_dirname=dirname
|
5301 | |
else
|
5302 | |
as_dirname=false
|
5303 | |
fi
|
5304 | |
|
|
6292 |
|
|
6293 |
# Name of the executable.
|
5305 | 6294 |
as_me=`$as_basename -- "$0" ||
|
5306 | 6295 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
5307 | 6296 |
X"$0" : 'X\(//\)$' \| \
|
5308 | 6297 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
5309 | |
$as_echo X/"$0" |
|
|
6298 |
echo X/"$0" |
|
5310 | 6299 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
5311 | 6300 |
s//\1/
|
5312 | 6301 |
q
|
|
5321 | 6310 |
}
|
5322 | 6311 |
s/.*/./; q'`
|
5323 | 6312 |
|
5324 | |
# Avoid depending upon Character Ranges.
|
5325 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
5326 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
5327 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
5328 | |
as_cr_digits='0123456789'
|
5329 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
6313 |
# CDPATH.
|
|
6314 |
$as_unset CDPATH
|
|
6315 |
|
|
6316 |
|
|
6317 |
|
|
6318 |
as_lineno_1=$LINENO
|
|
6319 |
as_lineno_2=$LINENO
|
|
6320 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
6321 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
|
6322 |
|
|
6323 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
6324 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
6325 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
6326 |
# does the real work. The second script uses 'N' to pair each
|
|
6327 |
# line-number line with the line containing $LINENO, and appends
|
|
6328 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
6329 |
# case at line end.
|
|
6330 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
6331 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
6332 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
6333 |
sed -n '
|
|
6334 |
p
|
|
6335 |
/[$]LINENO/=
|
|
6336 |
' <$as_myself |
|
|
6337 |
sed '
|
|
6338 |
s/[$]LINENO.*/&-/
|
|
6339 |
t lineno
|
|
6340 |
b
|
|
6341 |
:lineno
|
|
6342 |
N
|
|
6343 |
:loop
|
|
6344 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
|
6345 |
t loop
|
|
6346 |
s/-\n.*//
|
|
6347 |
' >$as_me.lineno &&
|
|
6348 |
chmod +x "$as_me.lineno" ||
|
|
6349 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
|
6350 |
{ (exit 1); exit 1; }; }
|
|
6351 |
|
|
6352 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
6353 |
# (the dirname of $[0] is not the place where we might find the
|
|
6354 |
# original and so on. Autoconf is especially sensitive to this).
|
|
6355 |
. "./$as_me.lineno"
|
|
6356 |
# Exit status is that of the last command.
|
|
6357 |
exit
|
|
6358 |
}
|
|
6359 |
|
|
6360 |
|
|
6361 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
6362 |
as_dirname=dirname
|
|
6363 |
else
|
|
6364 |
as_dirname=false
|
|
6365 |
fi
|
5330 | 6366 |
|
5331 | 6367 |
ECHO_C= ECHO_N= ECHO_T=
|
5332 | |
case `echo -n x` in #(((((
|
|
6368 |
case `echo -n x` in
|
5333 | 6369 |
-n*)
|
5334 | |
case `echo 'xy\c'` in
|
|
6370 |
case `echo 'x\c'` in
|
5335 | 6371 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
5336 | |
xy) ECHO_C='\c';;
|
5337 | |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
5338 | |
ECHO_T=' ';;
|
|
6372 |
*) ECHO_C='\c';;
|
5339 | 6373 |
esac;;
|
5340 | 6374 |
*)
|
5341 | 6375 |
ECHO_N='-n';;
|
5342 | 6376 |
esac
|
5343 | 6377 |
|
|
6378 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
6379 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
6380 |
as_expr=expr
|
|
6381 |
else
|
|
6382 |
as_expr=false
|
|
6383 |
fi
|
|
6384 |
|
5344 | 6385 |
rm -f conf$$ conf$$.exe conf$$.file
|
5345 | 6386 |
if test -d conf$$.dir; then
|
5346 | 6387 |
rm -f conf$$.dir/conf$$.file
|
5347 | 6388 |
else
|
5348 | 6389 |
rm -f conf$$.dir
|
5349 | |
mkdir conf$$.dir 2>/dev/null
|
5350 | |
fi
|
5351 | |
if (echo >conf$$.file) 2>/dev/null; then
|
5352 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
5353 | |
as_ln_s='ln -s'
|
5354 | |
# ... but there are two gotchas:
|
5355 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
5356 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
5357 | |
# In both cases, we have to default to `cp -p'.
|
5358 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
5359 | |
as_ln_s='cp -p'
|
5360 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
5361 | |
as_ln_s=ln
|
5362 | |
else
|
|
6390 |
mkdir conf$$.dir
|
|
6391 |
fi
|
|
6392 |
echo >conf$$.file
|
|
6393 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
6394 |
as_ln_s='ln -s'
|
|
6395 |
# ... but there are two gotchas:
|
|
6396 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
6397 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
6398 |
# In both cases, we have to default to `cp -p'.
|
|
6399 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
5363 | 6400 |
as_ln_s='cp -p'
|
5364 | |
fi
|
|
6401 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
6402 |
as_ln_s=ln
|
5365 | 6403 |
else
|
5366 | 6404 |
as_ln_s='cp -p'
|
5367 | 6405 |
fi
|
5368 | 6406 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
5369 | 6407 |
rmdir conf$$.dir 2>/dev/null
|
5370 | 6408 |
|
5371 | |
|
5372 | |
# as_fn_mkdir_p
|
5373 | |
# -------------
|
5374 | |
# Create "$as_dir" as a directory, including parents if necessary.
|
5375 | |
as_fn_mkdir_p ()
|
|
6409 |
if mkdir -p . 2>/dev/null; then
|
|
6410 |
as_mkdir_p=:
|
|
6411 |
else
|
|
6412 |
test -d ./-p && rmdir ./-p
|
|
6413 |
as_mkdir_p=false
|
|
6414 |
fi
|
|
6415 |
|
|
6416 |
if test -x / >/dev/null 2>&1; then
|
|
6417 |
as_test_x='test -x'
|
|
6418 |
else
|
|
6419 |
if ls -dL / >/dev/null 2>&1; then
|
|
6420 |
as_ls_L_option=L
|
|
6421 |
else
|
|
6422 |
as_ls_L_option=
|
|
6423 |
fi
|
|
6424 |
as_test_x='
|
|
6425 |
eval sh -c '\''
|
|
6426 |
if test -d "$1"; then
|
|
6427 |
test -d "$1/.";
|
|
6428 |
else
|
|
6429 |
case $1 in
|
|
6430 |
-*)set "./$1";;
|
|
6431 |
esac;
|
|
6432 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
6433 |
???[sx]*):;;*)false;;esac;fi
|
|
6434 |
'\'' sh
|
|
6435 |
'
|
|
6436 |
fi
|
|
6437 |
as_executable_p=$as_test_x
|
|
6438 |
|
|
6439 |
# Sed expression to map a string onto a valid CPP name.
|
|
6440 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
6441 |
|
|
6442 |
# Sed expression to map a string onto a valid variable name.
|
|
6443 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
6444 |
|
|
6445 |
|
|
6446 |
exec 6>&1
|
|
6447 |
|
|
6448 |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
6449 |
# report actual input values of CONFIG_FILES etc. instead of their
|
|
6450 |
# values after options handling.
|
|
6451 |
ac_log="
|
|
6452 |
This file was extended by $as_me, which was
|
|
6453 |
generated by GNU Autoconf 2.61. Invocation command line was
|
|
6454 |
|
|
6455 |
CONFIG_FILES = $CONFIG_FILES
|
|
6456 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
6457 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
6458 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
6459 |
$ $0 $@
|
|
6460 |
|
|
6461 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
6462 |
"
|
|
6463 |
|
|
6464 |
_ACEOF
|
|
6465 |
|
|
6466 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6467 |
# Files that config.status was made for.
|
|
6468 |
config_files="$ac_config_files"
|
|
6469 |
config_headers="$ac_config_headers"
|
|
6470 |
|
|
6471 |
_ACEOF
|
|
6472 |
|
|
6473 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6474 |
ac_cs_usage="\
|
|
6475 |
\`$as_me' instantiates files from templates according to the
|
|
6476 |
current configuration.
|
|
6477 |
|
|
6478 |
Usage: $0 [OPTIONS] [FILE]...
|
|
6479 |
|
|
6480 |
-h, --help print this help, then exit
|
|
6481 |
-V, --version print version number and configuration settings, then exit
|
|
6482 |
-q, --quiet do not print progress messages
|
|
6483 |
-d, --debug don't remove temporary files
|
|
6484 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
6485 |
--file=FILE[:TEMPLATE]
|
|
6486 |
instantiate the configuration file FILE
|
|
6487 |
--header=FILE[:TEMPLATE]
|
|
6488 |
instantiate the configuration header FILE
|
|
6489 |
|
|
6490 |
Configuration files:
|
|
6491 |
$config_files
|
|
6492 |
|
|
6493 |
Configuration headers:
|
|
6494 |
$config_headers
|
|
6495 |
|
|
6496 |
Report bugs to <bug-autoconf@gnu.org>."
|
|
6497 |
|
|
6498 |
_ACEOF
|
|
6499 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6500 |
ac_cs_version="\\
|
|
6501 |
config.status
|
|
6502 |
configured by $0, generated by GNU Autoconf 2.61,
|
|
6503 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
6504 |
|
|
6505 |
Copyright (C) 2006 Free Software Foundation, Inc.
|
|
6506 |
This config.status script is free software; the Free Software Foundation
|
|
6507 |
gives unlimited permission to copy, distribute and modify it."
|
|
6508 |
|
|
6509 |
ac_pwd='$ac_pwd'
|
|
6510 |
srcdir='$srcdir'
|
|
6511 |
INSTALL='$INSTALL'
|
|
6512 |
_ACEOF
|
|
6513 |
|
|
6514 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6515 |
# If no file are specified by the user, then we need to provide default
|
|
6516 |
# value. By we need to know if files were specified by the user.
|
|
6517 |
ac_need_defaults=:
|
|
6518 |
while test $# != 0
|
|
6519 |
do
|
|
6520 |
case $1 in
|
|
6521 |
--*=*)
|
|
6522 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
6523 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
6524 |
ac_shift=:
|
|
6525 |
;;
|
|
6526 |
*)
|
|
6527 |
ac_option=$1
|
|
6528 |
ac_optarg=$2
|
|
6529 |
ac_shift=shift
|
|
6530 |
;;
|
|
6531 |
esac
|
|
6532 |
|
|
6533 |
case $ac_option in
|
|
6534 |
# Handling of the options.
|
|
6535 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
6536 |
ac_cs_recheck=: ;;
|
|
6537 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
6538 |
echo "$ac_cs_version"; exit ;;
|
|
6539 |
--debug | --debu | --deb | --de | --d | -d )
|
|
6540 |
debug=: ;;
|
|
6541 |
--file | --fil | --fi | --f )
|
|
6542 |
$ac_shift
|
|
6543 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
|
6544 |
ac_need_defaults=false;;
|
|
6545 |
--header | --heade | --head | --hea )
|
|
6546 |
$ac_shift
|
|
6547 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
|
6548 |
ac_need_defaults=false;;
|
|
6549 |
--he | --h)
|
|
6550 |
# Conflict between --help and --header
|
|
6551 |
{ echo "$as_me: error: ambiguous option: $1
|
|
6552 |
Try \`$0 --help' for more information." >&2
|
|
6553 |
{ (exit 1); exit 1; }; };;
|
|
6554 |
--help | --hel | -h )
|
|
6555 |
echo "$ac_cs_usage"; exit ;;
|
|
6556 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
6557 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
6558 |
ac_cs_silent=: ;;
|
|
6559 |
|
|
6560 |
# This is an error.
|
|
6561 |
-*) { echo "$as_me: error: unrecognized option: $1
|
|
6562 |
Try \`$0 --help' for more information." >&2
|
|
6563 |
{ (exit 1); exit 1; }; } ;;
|
|
6564 |
|
|
6565 |
*) ac_config_targets="$ac_config_targets $1"
|
|
6566 |
ac_need_defaults=false ;;
|
|
6567 |
|
|
6568 |
esac
|
|
6569 |
shift
|
|
6570 |
done
|
|
6571 |
|
|
6572 |
ac_configure_extra_args=
|
|
6573 |
|
|
6574 |
if $ac_cs_silent; then
|
|
6575 |
exec 6>/dev/null
|
|
6576 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
6577 |
fi
|
|
6578 |
|
|
6579 |
_ACEOF
|
|
6580 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6581 |
if \$ac_cs_recheck; then
|
|
6582 |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
|
6583 |
CONFIG_SHELL=$SHELL
|
|
6584 |
export CONFIG_SHELL
|
|
6585 |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
6586 |
fi
|
|
6587 |
|
|
6588 |
_ACEOF
|
|
6589 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6590 |
exec 5>>config.log
|
5376 | 6591 |
{
|
5377 | |
|
|
6592 |
echo
|
|
6593 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
6594 |
## Running $as_me. ##
|
|
6595 |
_ASBOX
|
|
6596 |
echo "$ac_log"
|
|
6597 |
} >&5
|
|
6598 |
|
|
6599 |
_ACEOF
|
|
6600 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6601 |
_ACEOF
|
|
6602 |
|
|
6603 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6604 |
|
|
6605 |
# Handling of arguments.
|
|
6606 |
for ac_config_target in $ac_config_targets
|
|
6607 |
do
|
|
6608 |
case $ac_config_target in
|
|
6609 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
6610 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
6611 |
"mbuffer.1") CONFIG_FILES="$CONFIG_FILES mbuffer.1" ;;
|
|
6612 |
|
|
6613 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
|
6614 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
6615 |
{ (exit 1); exit 1; }; };;
|
|
6616 |
esac
|
|
6617 |
done
|
|
6618 |
|
|
6619 |
|
|
6620 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
6621 |
# then the envvar interface is used. Set only those that are not.
|
|
6622 |
# We use the long form for the default assignment because of an extremely
|
|
6623 |
# bizarre bug on SunOS 4.1.3.
|
|
6624 |
if $ac_need_defaults; then
|
|
6625 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
6626 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
6627 |
fi
|
|
6628 |
|
|
6629 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
6630 |
# simply because there is no reason against having it here, and in addition,
|
|
6631 |
# creating and moving files from /tmp can sometimes cause problems.
|
|
6632 |
# Hook for its removal unless debugging.
|
|
6633 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
6634 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
6635 |
$debug ||
|
|
6636 |
{
|
|
6637 |
tmp=
|
|
6638 |
trap 'exit_status=$?
|
|
6639 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
6640 |
' 0
|
|
6641 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
6642 |
}
|
|
6643 |
# Create a (secure) tmp directory for tmp files.
|
|
6644 |
|
|
6645 |
{
|
|
6646 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
6647 |
test -n "$tmp" && test -d "$tmp"
|
|
6648 |
} ||
|
|
6649 |
{
|
|
6650 |
tmp=./conf$$-$RANDOM
|
|
6651 |
(umask 077 && mkdir "$tmp")
|
|
6652 |
} ||
|
|
6653 |
{
|
|
6654 |
echo "$me: cannot create a temporary directory in ." >&2
|
|
6655 |
{ (exit 1); exit 1; }
|
|
6656 |
}
|
|
6657 |
|
|
6658 |
#
|
|
6659 |
# Set up the sed scripts for CONFIG_FILES section.
|
|
6660 |
#
|
|
6661 |
|
|
6662 |
# No need to generate the scripts if there are no CONFIG_FILES.
|
|
6663 |
# This happens for instance when ./config.status config.h
|
|
6664 |
if test -n "$CONFIG_FILES"; then
|
|
6665 |
|
|
6666 |
_ACEOF
|
|
6667 |
|
|
6668 |
|
|
6669 |
|
|
6670 |
ac_delim='%!_!# '
|
|
6671 |
for ac_last_try in false false false false false :; do
|
|
6672 |
cat >conf$$subs.sed <<_ACEOF
|
|
6673 |
SHELL!$SHELL$ac_delim
|
|
6674 |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
|
6675 |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
|
6676 |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
|
6677 |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
|
6678 |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
|
6679 |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
|
6680 |
exec_prefix!$exec_prefix$ac_delim
|
|
6681 |
prefix!$prefix$ac_delim
|
|
6682 |
program_transform_name!$program_transform_name$ac_delim
|
|
6683 |
bindir!$bindir$ac_delim
|
|
6684 |
sbindir!$sbindir$ac_delim
|
|
6685 |
libexecdir!$libexecdir$ac_delim
|
|
6686 |
datarootdir!$datarootdir$ac_delim
|
|
6687 |
datadir!$datadir$ac_delim
|
|
6688 |
sysconfdir!$sysconfdir$ac_delim
|
|
6689 |
sharedstatedir!$sharedstatedir$ac_delim
|
|
6690 |
localstatedir!$localstatedir$ac_delim
|
|
6691 |
includedir!$includedir$ac_delim
|
|
6692 |
oldincludedir!$oldincludedir$ac_delim
|
|
6693 |
docdir!$docdir$ac_delim
|
|
6694 |
infodir!$infodir$ac_delim
|
|
6695 |
htmldir!$htmldir$ac_delim
|
|
6696 |
dvidir!$dvidir$ac_delim
|
|
6697 |
pdfdir!$pdfdir$ac_delim
|
|
6698 |
psdir!$psdir$ac_delim
|
|
6699 |
libdir!$libdir$ac_delim
|
|
6700 |
localedir!$localedir$ac_delim
|
|
6701 |
mandir!$mandir$ac_delim
|
|
6702 |
DEFS!$DEFS$ac_delim
|
|
6703 |
ECHO_C!$ECHO_C$ac_delim
|
|
6704 |
ECHO_N!$ECHO_N$ac_delim
|
|
6705 |
ECHO_T!$ECHO_T$ac_delim
|
|
6706 |
LIBS!$LIBS$ac_delim
|
|
6707 |
build_alias!$build_alias$ac_delim
|
|
6708 |
host_alias!$host_alias$ac_delim
|
|
6709 |
target_alias!$target_alias$ac_delim
|
|
6710 |
build!$build$ac_delim
|
|
6711 |
build_cpu!$build_cpu$ac_delim
|
|
6712 |
build_vendor!$build_vendor$ac_delim
|
|
6713 |
build_os!$build_os$ac_delim
|
|
6714 |
host!$host$ac_delim
|
|
6715 |
host_cpu!$host_cpu$ac_delim
|
|
6716 |
host_vendor!$host_vendor$ac_delim
|
|
6717 |
host_os!$host_os$ac_delim
|
|
6718 |
target!$target$ac_delim
|
|
6719 |
target_cpu!$target_cpu$ac_delim
|
|
6720 |
target_vendor!$target_vendor$ac_delim
|
|
6721 |
target_os!$target_os$ac_delim
|
|
6722 |
CC!$CC$ac_delim
|
|
6723 |
CFLAGS!$CFLAGS$ac_delim
|
|
6724 |
LDFLAGS!$LDFLAGS$ac_delim
|
|
6725 |
CPPFLAGS!$CPPFLAGS$ac_delim
|
|
6726 |
ac_ct_CC!$ac_ct_CC$ac_delim
|
|
6727 |
EXEEXT!$EXEEXT$ac_delim
|
|
6728 |
OBJEXT!$OBJEXT$ac_delim
|
|
6729 |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
|
6730 |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
|
6731 |
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
|
6732 |
RM!$RM$ac_delim
|
|
6733 |
MT!$MT$ac_delim
|
|
6734 |
CPP!$CPP$ac_delim
|
|
6735 |
GREP!$GREP$ac_delim
|
|
6736 |
EGREP!$EGREP$ac_delim
|
|
6737 |
ALLOCA!$ALLOCA$ac_delim
|
|
6738 |
DEBUG!$DEBUG$ac_delim
|
|
6739 |
PACKAGE!$PACKAGE$ac_delim
|
|
6740 |
VERSION!$VERSION$ac_delim
|
|
6741 |
AUTOCONF!$AUTOCONF$ac_delim
|
|
6742 |
LIBOBJS!$LIBOBJS$ac_delim
|
|
6743 |
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
|
6744 |
_ACEOF
|
|
6745 |
|
|
6746 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
|
|
6747 |
break
|
|
6748 |
elif $ac_last_try; then
|
|
6749 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
6750 |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
6751 |
{ (exit 1); exit 1; }; }
|
|
6752 |
else
|
|
6753 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
6754 |
fi
|
|
6755 |
done
|
|
6756 |
|
|
6757 |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
|
6758 |
if test -n "$ac_eof"; then
|
|
6759 |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
|
6760 |
ac_eof=`expr $ac_eof + 1`
|
|
6761 |
fi
|
|
6762 |
|
|
6763 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6764 |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
|
6765 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
|
6766 |
_ACEOF
|
|
6767 |
sed '
|
|
6768 |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
|
6769 |
s/^/s,@/; s/!/@,|#_!!_#|/
|
|
6770 |
:n
|
|
6771 |
t n
|
|
6772 |
s/'"$ac_delim"'$/,g/; t
|
|
6773 |
s/$/\\/; p
|
|
6774 |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
|
6775 |
' >>$CONFIG_STATUS <conf$$subs.sed
|
|
6776 |
rm -f conf$$subs.sed
|
|
6777 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6778 |
:end
|
|
6779 |
s/|#_!!_#|//g
|
|
6780 |
CEOF$ac_eof
|
|
6781 |
_ACEOF
|
|
6782 |
|
|
6783 |
|
|
6784 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
6785 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
6786 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
6787 |
# (actually we leave an empty line to preserve line numbers).
|
|
6788 |
if test "x$srcdir" = x.; then
|
|
6789 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
6790 |
s/:*\$(srcdir):*/:/
|
|
6791 |
s/:*\${srcdir}:*/:/
|
|
6792 |
s/:*@srcdir@:*/:/
|
|
6793 |
s/^\([^=]*=[ ]*\):*/\1/
|
|
6794 |
s/:*$//
|
|
6795 |
s/^[^=]*=[ ]*$//
|
|
6796 |
}'
|
|
6797 |
fi
|
|
6798 |
|
|
6799 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6800 |
fi # test -n "$CONFIG_FILES"
|
|
6801 |
|
|
6802 |
|
|
6803 |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
|
|
6804 |
do
|
|
6805 |
case $ac_tag in
|
|
6806 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
6807 |
esac
|
|
6808 |
case $ac_mode$ac_tag in
|
|
6809 |
:[FHL]*:*);;
|
|
6810 |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
|
6811 |
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
|
6812 |
{ (exit 1); exit 1; }; };;
|
|
6813 |
:[FH]-) ac_tag=-:-;;
|
|
6814 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
6815 |
esac
|
|
6816 |
ac_save_IFS=$IFS
|
|
6817 |
IFS=:
|
|
6818 |
set x $ac_tag
|
|
6819 |
IFS=$ac_save_IFS
|
|
6820 |
shift
|
|
6821 |
ac_file=$1
|
|
6822 |
shift
|
|
6823 |
|
|
6824 |
case $ac_mode in
|
|
6825 |
:L) ac_source=$1;;
|
|
6826 |
:[FH])
|
|
6827 |
ac_file_inputs=
|
|
6828 |
for ac_f
|
|
6829 |
do
|
|
6830 |
case $ac_f in
|
|
6831 |
-) ac_f="$tmp/stdin";;
|
|
6832 |
*) # Look for the file first in the build tree, then in the source tree
|
|
6833 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
6834 |
# because $ac_f cannot contain `:'.
|
|
6835 |
test -f "$ac_f" ||
|
|
6836 |
case $ac_f in
|
|
6837 |
[\\/$]*) false;;
|
|
6838 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
6839 |
esac ||
|
|
6840 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
|
6841 |
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
|
6842 |
{ (exit 1); exit 1; }; };;
|
|
6843 |
esac
|
|
6844 |
ac_file_inputs="$ac_file_inputs $ac_f"
|
|
6845 |
done
|
|
6846 |
|
|
6847 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
6848 |
# use $as_me), people would be surprised to read:
|
|
6849 |
# /* config.h. Generated by config.status. */
|
|
6850 |
configure_input="Generated from "`IFS=:
|
|
6851 |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
|
6852 |
if test x"$ac_file" != x-; then
|
|
6853 |
configure_input="$ac_file. $configure_input"
|
|
6854 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
6855 |
echo "$as_me: creating $ac_file" >&6;}
|
|
6856 |
fi
|
|
6857 |
|
|
6858 |
case $ac_tag in
|
|
6859 |
*:-:* | *:-) cat >"$tmp/stdin";;
|
|
6860 |
esac
|
|
6861 |
;;
|
|
6862 |
esac
|
|
6863 |
|
|
6864 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
6865 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
6866 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
6867 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
6868 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
6869 |
echo X"$ac_file" |
|
|
6870 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
6871 |
s//\1/
|
|
6872 |
q
|
|
6873 |
}
|
|
6874 |
/^X\(\/\/\)[^/].*/{
|
|
6875 |
s//\1/
|
|
6876 |
q
|
|
6877 |
}
|
|
6878 |
/^X\(\/\/\)$/{
|
|
6879 |
s//\1/
|
|
6880 |
q
|
|
6881 |
}
|
|
6882 |
/^X\(\/\).*/{
|
|
6883 |
s//\1/
|
|
6884 |
q
|
|
6885 |
}
|
|
6886 |
s/.*/./; q'`
|
|
6887 |
{ as_dir="$ac_dir"
|
5378 | 6888 |
case $as_dir in #(
|
5379 | 6889 |
-*) as_dir=./$as_dir;;
|
5380 | 6890 |
esac
|
5381 | |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
6891 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
5382 | 6892 |
as_dirs=
|
5383 | 6893 |
while :; do
|
5384 | 6894 |
case $as_dir in #(
|
5385 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
6895 |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
5386 | 6896 |
*) as_qdir=$as_dir;;
|
5387 | 6897 |
esac
|
5388 | 6898 |
as_dirs="'$as_qdir' $as_dirs"
|
|
5391 | 6901 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5392 | 6902 |
X"$as_dir" : 'X\(//\)$' \| \
|
5393 | 6903 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
5394 | |
$as_echo X"$as_dir" |
|
|
6904 |
echo X"$as_dir" |
|
5395 | 6905 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
5396 | 6906 |
s//\1/
|
5397 | 6907 |
q
|
|
5412 | 6922 |
test -d "$as_dir" && break
|
5413 | 6923 |
done
|
5414 | 6924 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
5415 | |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
5416 | |
|
5417 | |
|
5418 | |
} # as_fn_mkdir_p
|
5419 | |
if mkdir -p . 2>/dev/null; then
|
5420 | |
as_mkdir_p='mkdir -p "$as_dir"'
|
5421 | |
else
|
5422 | |
test -d ./-p && rmdir ./-p
|
5423 | |
as_mkdir_p=false
|
5424 | |
fi
|
5425 | |
|
5426 | |
if test -x / >/dev/null 2>&1; then
|
5427 | |
as_test_x='test -x'
|
5428 | |
else
|
5429 | |
if ls -dL / >/dev/null 2>&1; then
|
5430 | |
as_ls_L_option=L
|
5431 | |
else
|
5432 | |
as_ls_L_option=
|
5433 | |
fi
|
5434 | |
as_test_x='
|
5435 | |
eval sh -c '\''
|
5436 | |
if test -d "$1"; then
|
5437 | |
test -d "$1/.";
|
5438 | |
else
|
5439 | |
case $1 in #(
|
5440 | |
-*)set "./$1";;
|
5441 | |
esac;
|
5442 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
5443 | |
???[sx]*):;;*)false;;esac;fi
|
5444 | |
'\'' sh
|
5445 | |
'
|
5446 | |
fi
|
5447 | |
as_executable_p=$as_test_x
|
5448 | |
|
5449 | |
# Sed expression to map a string onto a valid CPP name.
|
5450 | |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
5451 | |
|
5452 | |
# Sed expression to map a string onto a valid variable name.
|
5453 | |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
5454 | |
|
5455 | |
|
5456 | |
exec 6>&1
|
5457 | |
## ----------------------------------- ##
|
5458 | |
## Main body of $CONFIG_STATUS script. ##
|
5459 | |
## ----------------------------------- ##
|
5460 | |
_ASEOF
|
5461 | |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
5462 | |
|
5463 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5464 | |
# Save the log message, to keep $0 and so on meaningful, and to
|
5465 | |
# report actual input values of CONFIG_FILES etc. instead of their
|
5466 | |
# values after options handling.
|
5467 | |
ac_log="
|
5468 | |
This file was extended by $as_me, which was
|
5469 | |
generated by GNU Autoconf 2.65. Invocation command line was
|
5470 | |
|
5471 | |
CONFIG_FILES = $CONFIG_FILES
|
5472 | |
CONFIG_HEADERS = $CONFIG_HEADERS
|
5473 | |
CONFIG_LINKS = $CONFIG_LINKS
|
5474 | |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
5475 | |
$ $0 $@
|
5476 | |
|
5477 | |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
5478 | |
"
|
5479 | |
|
5480 | |
_ACEOF
|
5481 | |
|
5482 | |
case $ac_config_files in *"
|
5483 | |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
5484 | |
esac
|
5485 | |
|
5486 | |
case $ac_config_headers in *"
|
5487 | |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
5488 | |
esac
|
5489 | |
|
5490 | |
|
5491 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5492 | |
# Files that config.status was made for.
|
5493 | |
config_files="$ac_config_files"
|
5494 | |
config_headers="$ac_config_headers"
|
5495 | |
|
5496 | |
_ACEOF
|
5497 | |
|
5498 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5499 | |
ac_cs_usage="\
|
5500 | |
\`$as_me' instantiates files and other configuration actions
|
5501 | |
from templates according to the current configuration. Unless the files
|
5502 | |
and actions are specified as TAGs, all are instantiated by default.
|
5503 | |
|
5504 | |
Usage: $0 [OPTION]... [TAG]...
|
5505 | |
|
5506 | |
-h, --help print this help, then exit
|
5507 | |
-V, --version print version number and configuration settings, then exit
|
5508 | |
--config print configuration, then exit
|
5509 | |
-q, --quiet, --silent
|
5510 | |
do not print progress messages
|
5511 | |
-d, --debug don't remove temporary files
|
5512 | |
--recheck update $as_me by reconfiguring in the same conditions
|
5513 | |
--file=FILE[:TEMPLATE]
|
5514 | |
instantiate the configuration file FILE
|
5515 | |
--header=FILE[:TEMPLATE]
|
5516 | |
instantiate the configuration header FILE
|
5517 | |
|
5518 | |
Configuration files:
|
5519 | |
$config_files
|
5520 | |
|
5521 | |
Configuration headers:
|
5522 | |
$config_headers
|
5523 | |
|
5524 | |
Report bugs to the package provider."
|
5525 | |
|
5526 | |
_ACEOF
|
5527 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5528 | |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
5529 | |
ac_cs_version="\\
|
5530 | |
config.status
|
5531 | |
configured by $0, generated by GNU Autoconf 2.65,
|
5532 | |
with options \\"\$ac_cs_config\\"
|
5533 | |
|
5534 | |
Copyright (C) 2009 Free Software Foundation, Inc.
|
5535 | |
This config.status script is free software; the Free Software Foundation
|
5536 | |
gives unlimited permission to copy, distribute and modify it."
|
5537 | |
|
5538 | |
ac_pwd='$ac_pwd'
|
5539 | |
srcdir='$srcdir'
|
5540 | |
INSTALL='$INSTALL'
|
5541 | |
test -n "\$AWK" || AWK=awk
|
5542 | |
_ACEOF
|
5543 | |
|
5544 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5545 | |
# The default lists apply if the user does not specify any file.
|
5546 | |
ac_need_defaults=:
|
5547 | |
while test $# != 0
|
5548 | |
do
|
5549 | |
case $1 in
|
5550 | |
--*=*)
|
5551 | |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
5552 | |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
5553 | |
ac_shift=:
|
5554 | |
;;
|
5555 | |
*)
|
5556 | |
ac_option=$1
|
5557 | |
ac_optarg=$2
|
5558 | |
ac_shift=shift
|
5559 | |
;;
|
5560 | |
esac
|
5561 | |
|
5562 | |
case $ac_option in
|
5563 | |
# Handling of the options.
|
5564 | |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
5565 | |
ac_cs_recheck=: ;;
|
5566 | |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
5567 | |
$as_echo "$ac_cs_version"; exit ;;
|
5568 | |
--config | --confi | --conf | --con | --co | --c )
|
5569 | |
$as_echo "$ac_cs_config"; exit ;;
|
5570 | |
--debug | --debu | --deb | --de | --d | -d )
|
5571 | |
debug=: ;;
|
5572 | |
--file | --fil | --fi | --f )
|
5573 | |
$ac_shift
|
5574 | |
case $ac_optarg in
|
5575 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
5576 | |
esac
|
5577 | |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
5578 | |
ac_need_defaults=false;;
|
5579 | |
--header | --heade | --head | --hea )
|
5580 | |
$ac_shift
|
5581 | |
case $ac_optarg in
|
5582 | |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
5583 | |
esac
|
5584 | |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
5585 | |
ac_need_defaults=false;;
|
5586 | |
--he | --h)
|
5587 | |
# Conflict between --help and --header
|
5588 | |
as_fn_error "ambiguous option: \`$1'
|
5589 | |
Try \`$0 --help' for more information.";;
|
5590 | |
--help | --hel | -h )
|
5591 | |
$as_echo "$ac_cs_usage"; exit ;;
|
5592 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
5593 | |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
5594 | |
ac_cs_silent=: ;;
|
5595 | |
|
5596 | |
# This is an error.
|
5597 | |
-*) as_fn_error "unrecognized option: \`$1'
|
5598 | |
Try \`$0 --help' for more information." ;;
|
5599 | |
|
5600 | |
*) as_fn_append ac_config_targets " $1"
|
5601 | |
ac_need_defaults=false ;;
|
5602 | |
|
5603 | |
esac
|
5604 | |
shift
|
5605 | |
done
|
5606 | |
|
5607 | |
ac_configure_extra_args=
|
5608 | |
|
5609 | |
if $ac_cs_silent; then
|
5610 | |
exec 6>/dev/null
|
5611 | |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
5612 | |
fi
|
5613 | |
|
5614 | |
_ACEOF
|
5615 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5616 | |
if \$ac_cs_recheck; then
|
5617 | |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
5618 | |
shift
|
5619 | |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
5620 | |
CONFIG_SHELL='$SHELL'
|
5621 | |
export CONFIG_SHELL
|
5622 | |
exec "\$@"
|
5623 | |
fi
|
5624 | |
|
5625 | |
_ACEOF
|
5626 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5627 | |
exec 5>>config.log
|
5628 | |
{
|
5629 | |
echo
|
5630 | |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
5631 | |
## Running $as_me. ##
|
5632 | |
_ASBOX
|
5633 | |
$as_echo "$ac_log"
|
5634 | |
} >&5
|
5635 | |
|
5636 | |
_ACEOF
|
5637 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5638 | |
_ACEOF
|
5639 | |
|
5640 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5641 | |
|
5642 | |
# Handling of arguments.
|
5643 | |
for ac_config_target in $ac_config_targets
|
5644 | |
do
|
5645 | |
case $ac_config_target in
|
5646 | |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
5647 | |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
5648 | |
"mbuffer.1") CONFIG_FILES="$CONFIG_FILES mbuffer.1" ;;
|
5649 | |
|
5650 | |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
5651 | |
esac
|
5652 | |
done
|
5653 | |
|
5654 | |
|
5655 | |
# If the user did not use the arguments to specify the items to instantiate,
|
5656 | |
# then the envvar interface is used. Set only those that are not.
|
5657 | |
# We use the long form for the default assignment because of an extremely
|
5658 | |
# bizarre bug on SunOS 4.1.3.
|
5659 | |
if $ac_need_defaults; then
|
5660 | |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
5661 | |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
5662 | |
fi
|
5663 | |
|
5664 | |
# Have a temporary directory for convenience. Make it in the build tree
|
5665 | |
# simply because there is no reason against having it here, and in addition,
|
5666 | |
# creating and moving files from /tmp can sometimes cause problems.
|
5667 | |
# Hook for its removal unless debugging.
|
5668 | |
# Note that there is a small window in which the directory will not be cleaned:
|
5669 | |
# after its creation but before its name has been assigned to `$tmp'.
|
5670 | |
$debug ||
|
5671 | |
{
|
5672 | |
tmp=
|
5673 | |
trap 'exit_status=$?
|
5674 | |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
5675 | |
' 0
|
5676 | |
trap 'as_fn_exit 1' 1 2 13 15
|
5677 | |
}
|
5678 | |
# Create a (secure) tmp directory for tmp files.
|
5679 | |
|
5680 | |
{
|
5681 | |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
5682 | |
test -n "$tmp" && test -d "$tmp"
|
5683 | |
} ||
|
5684 | |
{
|
5685 | |
tmp=./conf$$-$RANDOM
|
5686 | |
(umask 077 && mkdir "$tmp")
|
5687 | |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
5688 | |
|
5689 | |
# Set up the scripts for CONFIG_FILES section.
|
5690 | |
# No need to generate them if there are no CONFIG_FILES.
|
5691 | |
# This happens for instance with `./config.status config.h'.
|
5692 | |
if test -n "$CONFIG_FILES"; then
|
5693 | |
|
5694 | |
|
5695 | |
ac_cr=`echo X | tr X '\015'`
|
5696 | |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
5697 | |
# But we know of no other shell where ac_cr would be empty at this
|
5698 | |
# point, so we can use a bashism as a fallback.
|
5699 | |
if test "x$ac_cr" = x; then
|
5700 | |
eval ac_cr=\$\'\\r\'
|
5701 | |
fi
|
5702 | |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
5703 | |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
5704 | |
ac_cs_awk_cr='\r'
|
5705 | |
else
|
5706 | |
ac_cs_awk_cr=$ac_cr
|
5707 | |
fi
|
5708 | |
|
5709 | |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
5710 | |
_ACEOF
|
5711 | |
|
5712 | |
|
5713 | |
{
|
5714 | |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
5715 | |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
5716 | |
echo "_ACEOF"
|
5717 | |
} >conf$$subs.sh ||
|
5718 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
5719 | |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
5720 | |
ac_delim='%!_!# '
|
5721 | |
for ac_last_try in false false false false false :; do
|
5722 | |
. ./conf$$subs.sh ||
|
5723 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
5724 | |
|
5725 | |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
5726 | |
if test $ac_delim_n = $ac_delim_num; then
|
5727 | |
break
|
5728 | |
elif $ac_last_try; then
|
5729 | |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
5730 | |
else
|
5731 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
5732 | |
fi
|
5733 | |
done
|
5734 | |
rm -f conf$$subs.sh
|
5735 | |
|
5736 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5737 | |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
5738 | |
_ACEOF
|
5739 | |
sed -n '
|
5740 | |
h
|
5741 | |
s/^/S["/; s/!.*/"]=/
|
5742 | |
p
|
5743 | |
g
|
5744 | |
s/^[^!]*!//
|
5745 | |
:repl
|
5746 | |
t repl
|
5747 | |
s/'"$ac_delim"'$//
|
5748 | |
t delim
|
5749 | |
:nl
|
5750 | |
h
|
5751 | |
s/\(.\{148\}\)..*/\1/
|
5752 | |
t more1
|
5753 | |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
5754 | |
p
|
5755 | |
n
|
5756 | |
b repl
|
5757 | |
:more1
|
5758 | |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
5759 | |
p
|
5760 | |
g
|
5761 | |
s/.\{148\}//
|
5762 | |
t nl
|
5763 | |
:delim
|
5764 | |
h
|
5765 | |
s/\(.\{148\}\)..*/\1/
|
5766 | |
t more2
|
5767 | |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
5768 | |
p
|
5769 | |
b
|
5770 | |
:more2
|
5771 | |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
5772 | |
p
|
5773 | |
g
|
5774 | |
s/.\{148\}//
|
5775 | |
t delim
|
5776 | |
' <conf$$subs.awk | sed '
|
5777 | |
/^[^""]/{
|
5778 | |
N
|
5779 | |
s/\n//
|
5780 | |
}
|
5781 | |
' >>$CONFIG_STATUS || ac_write_fail=1
|
5782 | |
rm -f conf$$subs.awk
|
5783 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5784 | |
_ACAWK
|
5785 | |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
5786 | |
for (key in S) S_is_set[key] = 1
|
5787 | |
FS = ""
|
5788 | |
|
5789 | |
}
|
5790 | |
{
|
5791 | |
line = $ 0
|
5792 | |
nfields = split(line, field, "@")
|
5793 | |
substed = 0
|
5794 | |
len = length(field[1])
|
5795 | |
for (i = 2; i < nfields; i++) {
|
5796 | |
key = field[i]
|
5797 | |
keylen = length(key)
|
5798 | |
if (S_is_set[key]) {
|
5799 | |
value = S[key]
|
5800 | |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
5801 | |
len += length(value) + length(field[++i])
|
5802 | |
substed = 1
|
5803 | |
} else
|
5804 | |
len += 1 + keylen
|
5805 | |
}
|
5806 | |
|
5807 | |
print line
|
5808 | |
}
|
5809 | |
|
5810 | |
_ACAWK
|
5811 | |
_ACEOF
|
5812 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5813 | |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
5814 | |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
5815 | |
else
|
5816 | |
cat
|
5817 | |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
5818 | |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
5819 | |
_ACEOF
|
5820 | |
|
5821 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
5822 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
5823 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
5824 | |
# (actually we leave an empty line to preserve line numbers).
|
5825 | |
if test "x$srcdir" = x.; then
|
5826 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
5827 | |
s/:*\$(srcdir):*/:/
|
5828 | |
s/:*\${srcdir}:*/:/
|
5829 | |
s/:*@srcdir@:*/:/
|
5830 | |
s/^\([^=]*=[ ]*\):*/\1/
|
5831 | |
s/:*$//
|
5832 | |
s/^[^=]*=[ ]*$//
|
5833 | |
}'
|
5834 | |
fi
|
5835 | |
|
5836 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5837 | |
fi # test -n "$CONFIG_FILES"
|
5838 | |
|
5839 | |
# Set up the scripts for CONFIG_HEADERS section.
|
5840 | |
# No need to generate them if there are no CONFIG_HEADERS.
|
5841 | |
# This happens for instance with `./config.status Makefile'.
|
5842 | |
if test -n "$CONFIG_HEADERS"; then
|
5843 | |
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
5844 | |
BEGIN {
|
5845 | |
_ACEOF
|
5846 | |
|
5847 | |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
5848 | |
# here-document in config.status, that substitutes the proper values into
|
5849 | |
# config.h.in to produce config.h.
|
5850 | |
|
5851 | |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
5852 | |
# handling of long lines.
|
5853 | |
ac_delim='%!_!# '
|
5854 | |
for ac_last_try in false false :; do
|
5855 | |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
5856 | |
if test -z "$ac_t"; then
|
5857 | |
break
|
5858 | |
elif $ac_last_try; then
|
5859 | |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
5860 | |
else
|
5861 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
5862 | |
fi
|
5863 | |
done
|
5864 | |
|
5865 | |
# For the awk script, D is an array of macro values keyed by name,
|
5866 | |
# likewise P contains macro parameters if any. Preserve backslash
|
5867 | |
# newline sequences.
|
5868 | |
|
5869 | |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
5870 | |
sed -n '
|
5871 | |
s/.\{148\}/&'"$ac_delim"'/g
|
5872 | |
t rset
|
5873 | |
:rset
|
5874 | |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
5875 | |
t def
|
5876 | |
d
|
5877 | |
:def
|
5878 | |
s/\\$//
|
5879 | |
t bsnl
|
5880 | |
s/["\\]/\\&/g
|
5881 | |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
5882 | |
D["\1"]=" \3"/p
|
5883 | |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
5884 | |
d
|
5885 | |
:bsnl
|
5886 | |
s/["\\]/\\&/g
|
5887 | |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
5888 | |
D["\1"]=" \3\\\\\\n"\\/p
|
5889 | |
t cont
|
5890 | |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
5891 | |
t cont
|
5892 | |
d
|
5893 | |
:cont
|
5894 | |
n
|
5895 | |
s/.\{148\}/&'"$ac_delim"'/g
|
5896 | |
t clear
|
5897 | |
:clear
|
5898 | |
s/\\$//
|
5899 | |
t bsnlc
|
5900 | |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
5901 | |
d
|
5902 | |
:bsnlc
|
5903 | |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
5904 | |
b cont
|
5905 | |
' <confdefs.h | sed '
|
5906 | |
s/'"$ac_delim"'/"\\\
|
5907 | |
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
5908 | |
|
5909 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
5910 | |
for (key in D) D_is_set[key] = 1
|
5911 | |
FS = ""
|
5912 | |
}
|
5913 | |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
5914 | |
line = \$ 0
|
5915 | |
split(line, arg, " ")
|
5916 | |
if (arg[1] == "#") {
|
5917 | |
defundef = arg[2]
|
5918 | |
mac1 = arg[3]
|
5919 | |
} else {
|
5920 | |
defundef = substr(arg[1], 2)
|
5921 | |
mac1 = arg[2]
|
5922 | |
}
|
5923 | |
split(mac1, mac2, "(") #)
|
5924 | |
macro = mac2[1]
|
5925 | |
prefix = substr(line, 1, index(line, defundef) - 1)
|
5926 | |
if (D_is_set[macro]) {
|
5927 | |
# Preserve the white space surrounding the "#".
|
5928 | |
print prefix "define", macro P[macro] D[macro]
|
5929 | |
next
|
5930 | |
} else {
|
5931 | |
# Replace #undef with comments. This is necessary, for example,
|
5932 | |
# in the case of _POSIX_SOURCE, which is predefined and required
|
5933 | |
# on some systems where configure will not decide to define it.
|
5934 | |
if (defundef == "undef") {
|
5935 | |
print "/*", prefix defundef, macro, "*/"
|
5936 | |
next
|
5937 | |
}
|
5938 | |
}
|
5939 | |
}
|
5940 | |
{ print }
|
5941 | |
_ACAWK
|
5942 | |
_ACEOF
|
5943 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
5944 | |
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
5945 | |
fi # test -n "$CONFIG_HEADERS"
|
5946 | |
|
5947 | |
|
5948 | |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
5949 | |
shift
|
5950 | |
for ac_tag
|
5951 | |
do
|
5952 | |
case $ac_tag in
|
5953 | |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
5954 | |
esac
|
5955 | |
case $ac_mode$ac_tag in
|
5956 | |
:[FHL]*:*);;
|
5957 | |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
5958 | |
:[FH]-) ac_tag=-:-;;
|
5959 | |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
5960 | |
esac
|
5961 | |
ac_save_IFS=$IFS
|
5962 | |
IFS=:
|
5963 | |
set x $ac_tag
|
5964 | |
IFS=$ac_save_IFS
|
5965 | |
shift
|
5966 | |
ac_file=$1
|
5967 | |
shift
|
5968 | |
|
5969 | |
case $ac_mode in
|
5970 | |
:L) ac_source=$1;;
|
5971 | |
:[FH])
|
5972 | |
ac_file_inputs=
|
5973 | |
for ac_f
|
5974 | |
do
|
5975 | |
case $ac_f in
|
5976 | |
-) ac_f="$tmp/stdin";;
|
5977 | |
*) # Look for the file first in the build tree, then in the source tree
|
5978 | |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
5979 | |
# because $ac_f cannot contain `:'.
|
5980 | |
test -f "$ac_f" ||
|
5981 | |
case $ac_f in
|
5982 | |
[\\/$]*) false;;
|
5983 | |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
5984 | |
esac ||
|
5985 | |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
5986 | |
esac
|
5987 | |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
5988 | |
as_fn_append ac_file_inputs " '$ac_f'"
|
5989 | |
done
|
5990 | |
|
5991 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
5992 | |
# use $as_me), people would be surprised to read:
|
5993 | |
# /* config.h. Generated by config.status. */
|
5994 | |
configure_input='Generated from '`
|
5995 | |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
5996 | |
`' by configure.'
|
5997 | |
if test x"$ac_file" != x-; then
|
5998 | |
configure_input="$ac_file. $configure_input"
|
5999 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
6000 | |
$as_echo "$as_me: creating $ac_file" >&6;}
|
6001 | |
fi
|
6002 | |
# Neutralize special characters interpreted by sed in replacement strings.
|
6003 | |
case $configure_input in #(
|
6004 | |
*\&* | *\|* | *\\* )
|
6005 | |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
6006 | |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
6007 | |
*) ac_sed_conf_input=$configure_input;;
|
6008 | |
esac
|
6009 | |
|
6010 | |
case $ac_tag in
|
6011 | |
*:-:* | *:-) cat >"$tmp/stdin" \
|
6012 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
6013 | |
esac
|
6014 | |
;;
|
6015 | |
esac
|
6016 | |
|
6017 | |
ac_dir=`$as_dirname -- "$ac_file" ||
|
6018 | |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6019 | |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
6020 | |
X"$ac_file" : 'X\(//\)$' \| \
|
6021 | |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
6022 | |
$as_echo X"$ac_file" |
|
6023 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6024 | |
s//\1/
|
6025 | |
q
|
6026 | |
}
|
6027 | |
/^X\(\/\/\)[^/].*/{
|
6028 | |
s//\1/
|
6029 | |
q
|
6030 | |
}
|
6031 | |
/^X\(\/\/\)$/{
|
6032 | |
s//\1/
|
6033 | |
q
|
6034 | |
}
|
6035 | |
/^X\(\/\).*/{
|
6036 | |
s//\1/
|
6037 | |
q
|
6038 | |
}
|
6039 | |
s/.*/./; q'`
|
6040 | |
as_dir="$ac_dir"; as_fn_mkdir_p
|
|
6925 |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
6926 |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
|
6927 |
{ (exit 1); exit 1; }; }; }
|
6041 | 6928 |
ac_builddir=.
|
6042 | 6929 |
|
6043 | 6930 |
case "$ac_dir" in
|
6044 | 6931 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
6045 | 6932 |
*)
|
6046 | |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
6933 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
6047 | 6934 |
# A ".." for each directory in $ac_dir_suffix.
|
6048 | |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
6935 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
6049 | 6936 |
case $ac_top_builddir_sub in
|
6050 | 6937 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
6051 | 6938 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
6085 | 6972 |
esac
|
6086 | 6973 |
_ACEOF
|
6087 | 6974 |
|
6088 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6975 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6089 | 6976 |
# If the template does not know about datarootdir, expand it.
|
6090 | 6977 |
# FIXME: This hack should be removed a few years after 2.60.
|
6091 | 6978 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
6092 | |
ac_sed_dataroot='
|
6093 | |
/datarootdir/ {
|
|
6979 |
|
|
6980 |
case `sed -n '/datarootdir/ {
|
6094 | 6981 |
p
|
6095 | 6982 |
q
|
6096 | 6983 |
}
|
|
6098 | 6985 |
/@docdir@/p
|
6099 | 6986 |
/@infodir@/p
|
6100 | 6987 |
/@localedir@/p
|
6101 | |
/@mandir@/p'
|
6102 | |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
|
6988 |
/@mandir@/p
|
|
6989 |
' $ac_file_inputs` in
|
6103 | 6990 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
6104 | 6991 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
6105 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
6106 | |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
6107 | |
_ACEOF
|
6108 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6992 |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
6993 |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
6994 |
_ACEOF
|
|
6995 |
cat >>$CONFIG_STATUS <<_ACEOF
|
6109 | 6996 |
ac_datarootdir_hack='
|
6110 | 6997 |
s&@datadir@&$datadir&g
|
6111 | 6998 |
s&@docdir@&$docdir&g
|
6112 | 6999 |
s&@infodir@&$infodir&g
|
6113 | 7000 |
s&@localedir@&$localedir&g
|
6114 | 7001 |
s&@mandir@&$mandir&g
|
6115 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
7002 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
6116 | 7003 |
esac
|
6117 | 7004 |
_ACEOF
|
6118 | 7005 |
|
6119 | 7006 |
# Neutralize VPATH when `$srcdir' = `.'.
|
6120 | 7007 |
# Shell code in configure.ac might set extrasub.
|
6121 | 7008 |
# FIXME: do we really want to maintain this feature?
|
6122 | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6123 | |
ac_sed_extra="$ac_vpsub
|
|
7009 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
7010 |
sed "$ac_vpsub
|
6124 | 7011 |
$extrasub
|
6125 | 7012 |
_ACEOF
|
6126 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7013 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6127 | 7014 |
:t
|
6128 | 7015 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
6129 | |
s|@configure_input@|$ac_sed_conf_input|;t t
|
|
7016 |
s&@configure_input@&$configure_input&;t t
|
6130 | 7017 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
6131 | |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
6132 | 7018 |
s&@srcdir@&$ac_srcdir&;t t
|
6133 | 7019 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
6134 | 7020 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
6138 | 7024 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
6139 | 7025 |
s&@INSTALL@&$ac_INSTALL&;t t
|
6140 | 7026 |
$ac_datarootdir_hack
|
6141 | |
"
|
6142 | |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
6143 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
7027 |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
6144 | 7028 |
|
6145 | 7029 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
6146 | 7030 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
6147 | 7031 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
6148 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
7032 |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6149 | 7033 |
which seems to be undefined. Please make sure it is defined." >&5
|
6150 | |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
7034 |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6151 | 7035 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
6152 | 7036 |
|
6153 | 7037 |
rm -f "$tmp/stdin"
|
6154 | 7038 |
case $ac_file in
|
6155 | |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
6156 | |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
6157 | |
esac \
|
6158 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
7039 |
-) cat "$tmp/out"; rm -f "$tmp/out";;
|
|
7040 |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
|
7041 |
esac
|
6159 | 7042 |
;;
|
6160 | 7043 |
:H)
|
6161 | 7044 |
#
|
6162 | 7045 |
# CONFIG_HEADER
|
6163 | 7046 |
#
|
|
7047 |
_ACEOF
|
|
7048 |
|
|
7049 |
# Transform confdefs.h into a sed script `conftest.defines', that
|
|
7050 |
# substitutes the proper values into config.h.in to produce config.h.
|
|
7051 |
rm -f conftest.defines conftest.tail
|
|
7052 |
# First, append a space to every undef/define line, to ease matching.
|
|
7053 |
echo 's/$/ /' >conftest.defines
|
|
7054 |
# Then, protect against being on the right side of a sed subst, or in
|
|
7055 |
# an unquoted here document, in config.status. If some macros were
|
|
7056 |
# called several times there might be several #defines for the same
|
|
7057 |
# symbol, which is useless. But do not sort them, since the last
|
|
7058 |
# AC_DEFINE must be honored.
|
|
7059 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
7060 |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
|
7061 |
# NAME is the cpp macro being defined, VALUE is the value it is being given.
|
|
7062 |
# PARAMS is the parameter list in the macro definition--in most cases, it's
|
|
7063 |
# just an empty string.
|
|
7064 |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
|
7065 |
ac_dB='\\)[ (].*,\\1define\\2'
|
|
7066 |
ac_dC=' '
|
|
7067 |
ac_dD=' ,'
|
|
7068 |
|
|
7069 |
uniq confdefs.h |
|
|
7070 |
sed -n '
|
|
7071 |
t rset
|
|
7072 |
:rset
|
|
7073 |
s/^[ ]*#[ ]*define[ ][ ]*//
|
|
7074 |
t ok
|
|
7075 |
d
|
|
7076 |
:ok
|
|
7077 |
s/[\\&,]/\\&/g
|
|
7078 |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
|
7079 |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
|
7080 |
' >>conftest.defines
|
|
7081 |
|
|
7082 |
# Remove the space that was appended to ease matching.
|
|
7083 |
# Then replace #undef with comments. This is necessary, for
|
|
7084 |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
7085 |
# on some systems where configure will not decide to define it.
|
|
7086 |
# (The regexp can be short, since the line contains either #define or #undef.)
|
|
7087 |
echo 's/ $//
|
|
7088 |
s,^[ #]*u.*,/* & */,' >>conftest.defines
|
|
7089 |
|
|
7090 |
# Break up conftest.defines:
|
|
7091 |
ac_max_sed_lines=50
|
|
7092 |
|
|
7093 |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
|
7094 |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
|
7095 |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
|
7096 |
# et cetera.
|
|
7097 |
ac_in='$ac_file_inputs'
|
|
7098 |
ac_out='"$tmp/out1"'
|
|
7099 |
ac_nxt='"$tmp/out2"'
|
|
7100 |
|
|
7101 |
while :
|
|
7102 |
do
|
|
7103 |
# Write a here document:
|
|
7104 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
7105 |
# First, check the format of the line:
|
|
7106 |
cat >"\$tmp/defines.sed" <<\\CEOF
|
|
7107 |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
|
7108 |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
|
7109 |
b
|
|
7110 |
:def
|
|
7111 |
_ACEOF
|
|
7112 |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
|
7113 |
echo 'CEOF
|
|
7114 |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
|
7115 |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
|
7116 |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
|
7117 |
grep . conftest.tail >/dev/null || break
|
|
7118 |
rm -f conftest.defines
|
|
7119 |
mv conftest.tail conftest.defines
|
|
7120 |
done
|
|
7121 |
rm -f conftest.defines conftest.tail
|
|
7122 |
|
|
7123 |
echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
|
7124 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6164 | 7125 |
if test x"$ac_file" != x-; then
|
6165 | |
{
|
6166 | |
$as_echo "/* $configure_input */" \
|
6167 | |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
6168 | |
} >"$tmp/config.h" \
|
6169 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
6170 | |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
6171 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
6172 | |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
|
7126 |
echo "/* $configure_input */" >"$tmp/config.h"
|
|
7127 |
cat "$ac_result" >>"$tmp/config.h"
|
|
7128 |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
|
7129 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
7130 |
echo "$as_me: $ac_file is unchanged" >&6;}
|
6173 | 7131 |
else
|
6174 | |
rm -f "$ac_file"
|
6175 | |
mv "$tmp/config.h" "$ac_file" \
|
6176 | |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
7132 |
rm -f $ac_file
|
|
7133 |
mv "$tmp/config.h" $ac_file
|
6177 | 7134 |
fi
|
6178 | 7135 |
else
|
6179 | |
$as_echo "/* $configure_input */" \
|
6180 | |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
6181 | |
|| as_fn_error "could not create -" "$LINENO" 5
|
|
7136 |
echo "/* $configure_input */"
|
|
7137 |
cat "$ac_result"
|
6182 | 7138 |
fi
|
|
7139 |
rm -f "$tmp/out12"
|
6183 | 7140 |
;;
|
6184 | 7141 |
|
6185 | 7142 |
|
|
6188 | 7145 |
done # for ac_tag
|
6189 | 7146 |
|
6190 | 7147 |
|
6191 | |
as_fn_exit 0
|
6192 | |
_ACEOF
|
|
7148 |
{ (exit 0); exit 0; }
|
|
7149 |
_ACEOF
|
|
7150 |
chmod +x $CONFIG_STATUS
|
6193 | 7151 |
ac_clean_files=$ac_clean_files_save
|
6194 | |
|
6195 | |
test $ac_write_fail = 0 ||
|
6196 | |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
6197 | 7152 |
|
6198 | 7153 |
|
6199 | 7154 |
# configure is writing to config.log, and then calls config.status.
|
|
6214 | 7169 |
exec 5>>config.log
|
6215 | 7170 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
6216 | 7171 |
# would make configure fail if this is the last instruction.
|
6217 | |
$ac_cs_success || as_fn_exit $?
|
6218 | |
fi
|
6219 | |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
6220 | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
6221 | |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
7172 |
$ac_cs_success || { (exit 1); exit 1; }
|
6222 | 7173 |
fi
|
6223 | 7174 |
|
6224 | 7175 |
|