0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.61.
|
|
2 |
# Generated by GNU Autoconf 2.65.
|
|
3 |
#
|
3 | 4 |
#
|
4 | 5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
5 | |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
6 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
7 |
# Inc.
|
|
8 |
#
|
|
9 |
#
|
6 | 10 |
# This configure script is free software; the Free Software Foundation
|
7 | 11 |
# gives unlimited permission to copy, distribute and modify it.
|
8 | |
## --------------------- ##
|
9 | |
## M4sh Initialization. ##
|
10 | |
## --------------------- ##
|
|
12 |
## -------------------- ##
|
|
13 |
## M4sh Initialization. ##
|
|
14 |
## -------------------- ##
|
11 | 15 |
|
12 | 16 |
# Be more Bourne compatible
|
13 | 17 |
DUALCASE=1; export DUALCASE # for MKS sh
|
14 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
18 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
15 | 19 |
emulate sh
|
16 | 20 |
NULLCMD=:
|
17 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
21 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
18 | 22 |
# is contrary to our usage. Disable this feature.
|
19 | 23 |
alias -g '${1+"$@"}'='"$@"'
|
20 | 24 |
setopt NO_GLOB_SUBST
|
21 | 25 |
else
|
22 | |
case `(set -o) 2>/dev/null` in
|
23 | |
*posix*) set -o posix ;;
|
|
26 |
case `(set -o) 2>/dev/null` in #(
|
|
27 |
*posix*) :
|
|
28 |
set -o posix ;; #(
|
|
29 |
*) :
|
|
30 |
;;
|
24 | 31 |
esac
|
25 | |
|
26 | |
fi
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
# PATH needs CR
|
32 | |
# Avoid depending upon Character Ranges.
|
33 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
34 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
35 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
36 | |
as_cr_digits='0123456789'
|
37 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
32 |
fi
|
|
33 |
|
|
34 |
|
|
35 |
as_nl='
|
|
36 |
'
|
|
37 |
export as_nl
|
|
38 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
39 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
40 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
42 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
43 |
# but without wasting forks for bash or zsh.
|
|
44 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
45 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
46 |
as_echo='print -r --'
|
|
47 |
as_echo_n='print -rn --'
|
|
48 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
49 |
as_echo='printf %s\n'
|
|
50 |
as_echo_n='printf %s'
|
|
51 |
else
|
|
52 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
53 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
54 |
as_echo_n='/usr/ucb/echo -n'
|
|
55 |
else
|
|
56 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
57 |
as_echo_n_body='eval
|
|
58 |
arg=$1;
|
|
59 |
case $arg in #(
|
|
60 |
*"$as_nl"*)
|
|
61 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
62 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
63 |
esac;
|
|
64 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
65 |
'
|
|
66 |
export as_echo_n_body
|
|
67 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
68 |
fi
|
|
69 |
export as_echo_body
|
|
70 |
as_echo='sh -c $as_echo_body as_echo'
|
|
71 |
fi
|
38 | 72 |
|
39 | 73 |
# The user is always right.
|
40 | 74 |
if test "${PATH_SEPARATOR+set}" != set; then
|
41 | |
echo "#! /bin/sh" >conf$$.sh
|
42 | |
echo "exit 0" >>conf$$.sh
|
43 | |
chmod +x conf$$.sh
|
44 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
45 | |
PATH_SEPARATOR=';'
|
46 | |
else
|
47 | |
PATH_SEPARATOR=:
|
48 | |
fi
|
49 | |
rm -f conf$$.sh
|
50 | |
fi
|
51 | |
|
52 | |
# Support unset when possible.
|
53 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
54 | |
as_unset=unset
|
55 | |
else
|
56 | |
as_unset=false
|
|
75 |
PATH_SEPARATOR=:
|
|
76 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
77 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
78 |
PATH_SEPARATOR=';'
|
|
79 |
}
|
57 | 80 |
fi
|
58 | 81 |
|
59 | 82 |
|
|
62 | 85 |
# there to prevent editors from complaining about space-tab.
|
63 | 86 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
64 | 87 |
# splitting by setting IFS to empty value.)
|
65 | |
as_nl='
|
66 | |
'
|
67 | 88 |
IFS=" "" $as_nl"
|
68 | 89 |
|
69 | 90 |
# Find who we are. Look in the path if we contain no directory separator.
|
70 | |
case $0 in
|
|
91 |
case $0 in #((
|
71 | 92 |
*[\\/]* ) as_myself=$0 ;;
|
72 | 93 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
73 | 94 |
for as_dir in $PATH
|
74 | 95 |
do
|
75 | 96 |
IFS=$as_save_IFS
|
76 | 97 |
test -z "$as_dir" && as_dir=.
|
77 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
78 | |
done
|
|
98 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
99 |
done
|
79 | 100 |
IFS=$as_save_IFS
|
80 | 101 |
|
81 | 102 |
;;
|
|
86 | 107 |
as_myself=$0
|
87 | 108 |
fi
|
88 | 109 |
if test ! -f "$as_myself"; then
|
89 | |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
90 | |
{ (exit 1); exit 1; }
|
91 | |
fi
|
92 | |
|
93 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
94 | |
for as_var in ENV MAIL MAILPATH
|
95 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
110 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
111 |
exit 1
|
|
112 |
fi
|
|
113 |
|
|
114 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
115 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
116 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
117 |
# trigger a bug in pdksh 5.2.14.
|
|
118 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
119 |
do eval test x\${$as_var+set} = xset \
|
|
120 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
96 | 121 |
done
|
97 | 122 |
PS1='$ '
|
98 | 123 |
PS2='> '
|
99 | 124 |
PS4='+ '
|
100 | 125 |
|
101 | 126 |
# NLS nuisances.
|
102 | |
for as_var in \
|
103 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
104 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
105 | |
LC_TELEPHONE LC_TIME
|
|
127 |
LC_ALL=C
|
|
128 |
export LC_ALL
|
|
129 |
LANGUAGE=C
|
|
130 |
export LANGUAGE
|
|
131 |
|
|
132 |
# CDPATH.
|
|
133 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
134 |
|
|
135 |
if test "x$CONFIG_SHELL" = x; then
|
|
136 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
137 |
emulate sh
|
|
138 |
NULLCMD=:
|
|
139 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
140 |
# is contrary to our usage. Disable this feature.
|
|
141 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
142 |
setopt NO_GLOB_SUBST
|
|
143 |
else
|
|
144 |
case \`(set -o) 2>/dev/null\` in #(
|
|
145 |
*posix*) :
|
|
146 |
set -o posix ;; #(
|
|
147 |
*) :
|
|
148 |
;;
|
|
149 |
esac
|
|
150 |
fi
|
|
151 |
"
|
|
152 |
as_required="as_fn_return () { (exit \$1); }
|
|
153 |
as_fn_success () { as_fn_return 0; }
|
|
154 |
as_fn_failure () { as_fn_return 1; }
|
|
155 |
as_fn_ret_success () { return 0; }
|
|
156 |
as_fn_ret_failure () { return 1; }
|
|
157 |
|
|
158 |
exitcode=0
|
|
159 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
160 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
161 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
162 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
163 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
164 |
|
|
165 |
else
|
|
166 |
exitcode=1; echo positional parameters were not saved.
|
|
167 |
fi
|
|
168 |
test x\$exitcode = x0 || exit 1"
|
|
169 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
170 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
171 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
172 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
173 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
174 |
if (eval "$as_required") 2>/dev/null; then :
|
|
175 |
as_have_required=yes
|
|
176 |
else
|
|
177 |
as_have_required=no
|
|
178 |
fi
|
|
179 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
180 |
|
|
181 |
else
|
|
182 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
183 |
as_found=false
|
|
184 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
106 | 185 |
do
|
107 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
108 | |
eval $as_var=C; export $as_var
|
|
186 |
IFS=$as_save_IFS
|
|
187 |
test -z "$as_dir" && as_dir=.
|
|
188 |
as_found=:
|
|
189 |
case $as_dir in #(
|
|
190 |
/*)
|
|
191 |
for as_base in sh bash ksh sh5; do
|
|
192 |
# Try only shells that exist, to save several forks.
|
|
193 |
as_shell=$as_dir/$as_base
|
|
194 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
195 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
196 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
197 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
198 |
break 2
|
|
199 |
fi
|
|
200 |
fi
|
|
201 |
done;;
|
|
202 |
esac
|
|
203 |
as_found=false
|
|
204 |
done
|
|
205 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
206 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
207 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
208 |
fi; }
|
|
209 |
IFS=$as_save_IFS
|
|
210 |
|
|
211 |
|
|
212 |
if test "x$CONFIG_SHELL" != x; then :
|
|
213 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
214 |
# neutralization value for shells without unset; and this also
|
|
215 |
# works around shells that cannot unset nonexistent variables.
|
|
216 |
BASH_ENV=/dev/null
|
|
217 |
ENV=/dev/null
|
|
218 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
219 |
export CONFIG_SHELL
|
|
220 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
221 |
fi
|
|
222 |
|
|
223 |
if test x$as_have_required = xno; then :
|
|
224 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
225 |
$as_echo "$0: the shells that I found on your system."
|
|
226 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
227 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
228 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
109 | 229 |
else
|
110 | |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
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."
|
111 | 234 |
fi
|
112 | |
done
|
113 | |
|
114 | |
# Required to use basename.
|
|
235 |
exit 1
|
|
236 |
fi
|
|
237 |
fi
|
|
238 |
fi
|
|
239 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
240 |
export SHELL
|
|
241 |
# Unset more variables known to interfere with behavior of common tools.
|
|
242 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
243 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
244 |
|
|
245 |
## --------------------- ##
|
|
246 |
## M4sh Shell Functions. ##
|
|
247 |
## --------------------- ##
|
|
248 |
# as_fn_unset VAR
|
|
249 |
# ---------------
|
|
250 |
# Portably unset VAR.
|
|
251 |
as_fn_unset ()
|
|
252 |
{
|
|
253 |
{ eval $1=; unset $1;}
|
|
254 |
}
|
|
255 |
as_unset=as_fn_unset
|
|
256 |
|
|
257 |
# as_fn_set_status STATUS
|
|
258 |
# -----------------------
|
|
259 |
# Set $? to STATUS, without forking.
|
|
260 |
as_fn_set_status ()
|
|
261 |
{
|
|
262 |
return $1
|
|
263 |
} # as_fn_set_status
|
|
264 |
|
|
265 |
# as_fn_exit STATUS
|
|
266 |
# -----------------
|
|
267 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
268 |
as_fn_exit ()
|
|
269 |
{
|
|
270 |
set +e
|
|
271 |
as_fn_set_status $1
|
|
272 |
exit $1
|
|
273 |
} # as_fn_exit
|
|
274 |
|
|
275 |
# as_fn_mkdir_p
|
|
276 |
# -------------
|
|
277 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
278 |
as_fn_mkdir_p ()
|
|
279 |
{
|
|
280 |
|
|
281 |
case $as_dir in #(
|
|
282 |
-*) as_dir=./$as_dir;;
|
|
283 |
esac
|
|
284 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
285 |
as_dirs=
|
|
286 |
while :; do
|
|
287 |
case $as_dir in #(
|
|
288 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
289 |
*) as_qdir=$as_dir;;
|
|
290 |
esac
|
|
291 |
as_dirs="'$as_qdir' $as_dirs"
|
|
292 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
293 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
294 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
295 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
296 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
297 |
$as_echo X"$as_dir" |
|
|
298 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
299 |
s//\1/
|
|
300 |
q
|
|
301 |
}
|
|
302 |
/^X\(\/\/\)[^/].*/{
|
|
303 |
s//\1/
|
|
304 |
q
|
|
305 |
}
|
|
306 |
/^X\(\/\/\)$/{
|
|
307 |
s//\1/
|
|
308 |
q
|
|
309 |
}
|
|
310 |
/^X\(\/\).*/{
|
|
311 |
s//\1/
|
|
312 |
q
|
|
313 |
}
|
|
314 |
s/.*/./; q'`
|
|
315 |
test -d "$as_dir" && break
|
|
316 |
done
|
|
317 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
318 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
319 |
|
|
320 |
|
|
321 |
} # as_fn_mkdir_p
|
|
322 |
# as_fn_append VAR VALUE
|
|
323 |
# ----------------------
|
|
324 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
325 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
326 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
327 |
# implementations.
|
|
328 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
329 |
eval 'as_fn_append ()
|
|
330 |
{
|
|
331 |
eval $1+=\$2
|
|
332 |
}'
|
|
333 |
else
|
|
334 |
as_fn_append ()
|
|
335 |
{
|
|
336 |
eval $1=\$$1\$2
|
|
337 |
}
|
|
338 |
fi # as_fn_append
|
|
339 |
|
|
340 |
# as_fn_arith ARG...
|
|
341 |
# ------------------
|
|
342 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
343 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
344 |
# must be portable across $(()) and expr.
|
|
345 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
346 |
eval 'as_fn_arith ()
|
|
347 |
{
|
|
348 |
as_val=$(( $* ))
|
|
349 |
}'
|
|
350 |
else
|
|
351 |
as_fn_arith ()
|
|
352 |
{
|
|
353 |
as_val=`expr "$@" || test $? -eq 1`
|
|
354 |
}
|
|
355 |
fi # as_fn_arith
|
|
356 |
|
|
357 |
|
|
358 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
359 |
# ---------------------------------
|
|
360 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
361 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
362 |
# script with status $?, using 1 if that was 0.
|
|
363 |
as_fn_error ()
|
|
364 |
{
|
|
365 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
366 |
if test "$3"; then
|
|
367 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
368 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
369 |
fi
|
|
370 |
$as_echo "$as_me: error: $1" >&2
|
|
371 |
as_fn_exit $as_status
|
|
372 |
} # as_fn_error
|
|
373 |
|
115 | 374 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
116 | 375 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
117 | 376 |
as_expr=expr
|
|
125 | 384 |
as_basename=false
|
126 | 385 |
fi
|
127 | 386 |
|
128 | |
|
129 | |
# Name of the executable.
|
|
387 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
388 |
as_dirname=dirname
|
|
389 |
else
|
|
390 |
as_dirname=false
|
|
391 |
fi
|
|
392 |
|
130 | 393 |
as_me=`$as_basename -- "$0" ||
|
131 | 394 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
132 | 395 |
X"$0" : 'X\(//\)$' \| \
|
133 | 396 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
134 | |
echo X/"$0" |
|
|
397 |
$as_echo X/"$0" |
|
135 | 398 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
136 | 399 |
s//\1/
|
137 | 400 |
q
|
|
146 | 409 |
}
|
147 | 410 |
s/.*/./; q'`
|
148 | 411 |
|
149 | |
# CDPATH.
|
150 | |
$as_unset CDPATH
|
151 | |
|
152 | |
|
153 | |
if test "x$CONFIG_SHELL" = x; then
|
154 | |
if (eval ":") 2>/dev/null; then
|
155 | |
as_have_required=yes
|
156 | |
else
|
157 | |
as_have_required=no
|
158 | |
fi
|
159 | |
|
160 | |
if test $as_have_required = yes && (eval ":
|
161 | |
(as_func_return () {
|
162 | |
(exit \$1)
|
163 | |
}
|
164 | |
as_func_success () {
|
165 | |
as_func_return 0
|
166 | |
}
|
167 | |
as_func_failure () {
|
168 | |
as_func_return 1
|
169 | |
}
|
170 | |
as_func_ret_success () {
|
171 | |
return 0
|
172 | |
}
|
173 | |
as_func_ret_failure () {
|
174 | |
return 1
|
175 | |
}
|
176 | |
|
177 | |
exitcode=0
|
178 | |
if as_func_success; then
|
179 | |
:
|
180 | |
else
|
181 | |
exitcode=1
|
182 | |
echo as_func_success failed.
|
183 | |
fi
|
184 | |
|
185 | |
if as_func_failure; then
|
186 | |
exitcode=1
|
187 | |
echo as_func_failure succeeded.
|
188 | |
fi
|
189 | |
|
190 | |
if as_func_ret_success; then
|
191 | |
:
|
192 | |
else
|
193 | |
exitcode=1
|
194 | |
echo as_func_ret_success failed.
|
195 | |
fi
|
196 | |
|
197 | |
if as_func_ret_failure; then
|
198 | |
exitcode=1
|
199 | |
echo as_func_ret_failure succeeded.
|
200 | |
fi
|
201 | |
|
202 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
203 | |
:
|
204 | |
else
|
205 | |
exitcode=1
|
206 | |
echo positional parameters were not saved.
|
207 | |
fi
|
208 | |
|
209 | |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
210 | |
|
211 | |
(
|
212 | |
as_lineno_1=\$LINENO
|
213 | |
as_lineno_2=\$LINENO
|
214 | |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
215 | |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
216 | |
") 2> /dev/null; then
|
217 | |
:
|
218 | |
else
|
219 | |
as_candidate_shells=
|
220 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
221 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
222 | |
do
|
223 | |
IFS=$as_save_IFS
|
224 | |
test -z "$as_dir" && as_dir=.
|
225 | |
case $as_dir in
|
226 | |
/*)
|
227 | |
for as_base in sh bash ksh sh5; do
|
228 | |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
229 | |
done;;
|
230 | |
esac
|
231 | |
done
|
232 | |
IFS=$as_save_IFS
|
233 | |
|
234 | |
|
235 | |
for as_shell in $as_candidate_shells $SHELL; do
|
236 | |
# Try only shells that exist, to save several forks.
|
237 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
238 | |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
239 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
240 | |
emulate sh
|
241 | |
NULLCMD=:
|
242 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
243 | |
# is contrary to our usage. Disable this feature.
|
244 | |
alias -g '${1+"$@"}'='"$@"'
|
245 | |
setopt NO_GLOB_SUBST
|
246 | |
else
|
247 | |
case `(set -o) 2>/dev/null` in
|
248 | |
*posix*) set -o posix ;;
|
249 | |
esac
|
250 | |
|
251 | |
fi
|
252 | |
|
253 | |
|
254 | |
:
|
255 | |
_ASEOF
|
256 | |
}; then
|
257 | |
CONFIG_SHELL=$as_shell
|
258 | |
as_have_required=yes
|
259 | |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
260 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
261 | |
emulate sh
|
262 | |
NULLCMD=:
|
263 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
264 | |
# is contrary to our usage. Disable this feature.
|
265 | |
alias -g '${1+"$@"}'='"$@"'
|
266 | |
setopt NO_GLOB_SUBST
|
267 | |
else
|
268 | |
case `(set -o) 2>/dev/null` in
|
269 | |
*posix*) set -o posix ;;
|
270 | |
esac
|
271 | |
|
272 | |
fi
|
273 | |
|
274 | |
|
275 | |
:
|
276 | |
(as_func_return () {
|
277 | |
(exit $1)
|
278 | |
}
|
279 | |
as_func_success () {
|
280 | |
as_func_return 0
|
281 | |
}
|
282 | |
as_func_failure () {
|
283 | |
as_func_return 1
|
284 | |
}
|
285 | |
as_func_ret_success () {
|
286 | |
return 0
|
287 | |
}
|
288 | |
as_func_ret_failure () {
|
289 | |
return 1
|
290 | |
}
|
291 | |
|
292 | |
exitcode=0
|
293 | |
if as_func_success; then
|
294 | |
:
|
295 | |
else
|
296 | |
exitcode=1
|
297 | |
echo as_func_success failed.
|
298 | |
fi
|
299 | |
|
300 | |
if as_func_failure; then
|
301 | |
exitcode=1
|
302 | |
echo as_func_failure succeeded.
|
303 | |
fi
|
304 | |
|
305 | |
if as_func_ret_success; then
|
306 | |
:
|
307 | |
else
|
308 | |
exitcode=1
|
309 | |
echo as_func_ret_success failed.
|
310 | |
fi
|
311 | |
|
312 | |
if as_func_ret_failure; then
|
313 | |
exitcode=1
|
314 | |
echo as_func_ret_failure succeeded.
|
315 | |
fi
|
316 | |
|
317 | |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
318 | |
:
|
319 | |
else
|
320 | |
exitcode=1
|
321 | |
echo positional parameters were not saved.
|
322 | |
fi
|
323 | |
|
324 | |
test $exitcode = 0) || { (exit 1); exit 1; }
|
325 | |
|
326 | |
(
|
327 | |
as_lineno_1=$LINENO
|
328 | |
as_lineno_2=$LINENO
|
329 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
330 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
331 | |
|
332 | |
_ASEOF
|
333 | |
}; then
|
334 | |
break
|
335 | |
fi
|
336 | |
|
337 | |
fi
|
338 | |
|
339 | |
done
|
340 | |
|
341 | |
if test "x$CONFIG_SHELL" != x; then
|
342 | |
for as_var in BASH_ENV ENV
|
343 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
344 | |
done
|
345 | |
export CONFIG_SHELL
|
346 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
347 | |
fi
|
348 | |
|
349 | |
|
350 | |
if test $as_have_required = no; then
|
351 | |
echo This script requires a shell more modern than all the
|
352 | |
echo shells that I found on your system. Please install a
|
353 | |
echo modern shell, or manually run the script under such a
|
354 | |
echo shell if you do have one.
|
355 | |
{ (exit 1); exit 1; }
|
356 | |
fi
|
357 | |
|
358 | |
|
359 | |
fi
|
360 | |
|
361 | |
fi
|
362 | |
|
363 | |
|
364 | |
|
365 | |
(eval "as_func_return () {
|
366 | |
(exit \$1)
|
367 | |
}
|
368 | |
as_func_success () {
|
369 | |
as_func_return 0
|
370 | |
}
|
371 | |
as_func_failure () {
|
372 | |
as_func_return 1
|
373 | |
}
|
374 | |
as_func_ret_success () {
|
375 | |
return 0
|
376 | |
}
|
377 | |
as_func_ret_failure () {
|
378 | |
return 1
|
379 | |
}
|
380 | |
|
381 | |
exitcode=0
|
382 | |
if as_func_success; then
|
383 | |
:
|
384 | |
else
|
385 | |
exitcode=1
|
386 | |
echo as_func_success failed.
|
387 | |
fi
|
388 | |
|
389 | |
if as_func_failure; then
|
390 | |
exitcode=1
|
391 | |
echo as_func_failure succeeded.
|
392 | |
fi
|
393 | |
|
394 | |
if as_func_ret_success; then
|
395 | |
:
|
396 | |
else
|
397 | |
exitcode=1
|
398 | |
echo as_func_ret_success failed.
|
399 | |
fi
|
400 | |
|
401 | |
if as_func_ret_failure; then
|
402 | |
exitcode=1
|
403 | |
echo as_func_ret_failure succeeded.
|
404 | |
fi
|
405 | |
|
406 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
407 | |
:
|
408 | |
else
|
409 | |
exitcode=1
|
410 | |
echo positional parameters were not saved.
|
411 | |
fi
|
412 | |
|
413 | |
test \$exitcode = 0") || {
|
414 | |
echo No shell found that supports shell functions.
|
415 | |
echo Please tell autoconf@gnu.org about your system,
|
416 | |
echo including any error possibly output before this
|
417 | |
echo message
|
418 | |
}
|
419 | |
|
420 | |
|
421 | |
|
422 | |
as_lineno_1=$LINENO
|
423 | |
as_lineno_2=$LINENO
|
424 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
425 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
426 | |
|
427 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
428 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
429 | |
# line-number line after each line using $LINENO; the second 'sed'
|
430 | |
# does the real work. The second script uses 'N' to pair each
|
431 | |
# line-number line with the line containing $LINENO, and appends
|
432 | |
# trailing '-' during substitution so that $LINENO is not a special
|
433 | |
# case at line end.
|
434 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
435 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
436 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
412 |
# Avoid depending upon Character Ranges.
|
|
413 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
414 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
415 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
416 |
as_cr_digits='0123456789'
|
|
417 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
418 |
|
|
419 |
|
|
420 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
421 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
422 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
423 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
424 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
437 | 425 |
sed -n '
|
438 | 426 |
p
|
439 | 427 |
/[$]LINENO/=
|
|
450 | 438 |
s/-\n.*//
|
451 | 439 |
' >$as_me.lineno &&
|
452 | 440 |
chmod +x "$as_me.lineno" ||
|
453 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
454 | |
{ (exit 1); exit 1; }; }
|
|
441 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
455 | 442 |
|
456 | 443 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
457 | 444 |
# (the dirname of $[0] is not the place where we might find the
|
|
461 | 448 |
exit
|
462 | 449 |
}
|
463 | 450 |
|
464 | |
|
465 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
466 | |
as_dirname=dirname
|
467 | |
else
|
468 | |
as_dirname=false
|
469 | |
fi
|
470 | |
|
471 | 451 |
ECHO_C= ECHO_N= ECHO_T=
|
472 | |
case `echo -n x` in
|
|
452 |
case `echo -n x` in #(((((
|
473 | 453 |
-n*)
|
474 | |
case `echo 'x\c'` in
|
|
454 |
case `echo 'xy\c'` in
|
475 | 455 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
476 | |
*) ECHO_C='\c';;
|
|
456 |
xy) ECHO_C='\c';;
|
|
457 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
458 |
ECHO_T=' ';;
|
477 | 459 |
esac;;
|
478 | 460 |
*)
|
479 | 461 |
ECHO_N='-n';;
|
480 | 462 |
esac
|
481 | 463 |
|
482 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
483 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
484 | |
as_expr=expr
|
485 | |
else
|
486 | |
as_expr=false
|
487 | |
fi
|
488 | |
|
489 | 464 |
rm -f conf$$ conf$$.exe conf$$.file
|
490 | 465 |
if test -d conf$$.dir; then
|
491 | 466 |
rm -f conf$$.dir/conf$$.file
|
492 | 467 |
else
|
493 | 468 |
rm -f conf$$.dir
|
494 | |
mkdir conf$$.dir
|
495 | |
fi
|
496 | |
echo >conf$$.file
|
497 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
498 | |
as_ln_s='ln -s'
|
499 | |
# ... but there are two gotchas:
|
500 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
501 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
502 | |
# In both cases, we have to default to `cp -p'.
|
503 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
469 |
mkdir conf$$.dir 2>/dev/null
|
|
470 |
fi
|
|
471 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
472 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
473 |
as_ln_s='ln -s'
|
|
474 |
# ... but there are two gotchas:
|
|
475 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
476 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
477 |
# In both cases, we have to default to `cp -p'.
|
|
478 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
479 |
as_ln_s='cp -p'
|
|
480 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
481 |
as_ln_s=ln
|
|
482 |
else
|
504 | 483 |
as_ln_s='cp -p'
|
505 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
506 | |
as_ln_s=ln
|
|
484 |
fi
|
507 | 485 |
else
|
508 | 486 |
as_ln_s='cp -p'
|
509 | 487 |
fi
|
|
511 | 489 |
rmdir conf$$.dir 2>/dev/null
|
512 | 490 |
|
513 | 491 |
if mkdir -p . 2>/dev/null; then
|
514 | |
as_mkdir_p=:
|
|
492 |
as_mkdir_p='mkdir -p "$as_dir"'
|
515 | 493 |
else
|
516 | 494 |
test -d ./-p && rmdir ./-p
|
517 | 495 |
as_mkdir_p=false
|
|
528 | 506 |
as_test_x='
|
529 | 507 |
eval sh -c '\''
|
530 | 508 |
if test -d "$1"; then
|
531 | |
test -d "$1/.";
|
|
509 |
test -d "$1/.";
|
532 | 510 |
else
|
533 | |
case $1 in
|
534 | |
-*)set "./$1";;
|
|
511 |
case $1 in #(
|
|
512 |
-*)set "./$1";;
|
535 | 513 |
esac;
|
536 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
514 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
537 | 515 |
???[sx]*):;;*)false;;esac;fi
|
538 | 516 |
'\'' sh
|
539 | 517 |
'
|
|
547 | 525 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
548 | 526 |
|
549 | 527 |
|
550 | |
|
551 | |
exec 7<&0 </dev/null 6>&1
|
|
528 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
529 |
exec 6>&1
|
552 | 530 |
|
553 | 531 |
# Name of the host.
|
554 | 532 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
566 | 544 |
subdirs=
|
567 | 545 |
MFLAGS=
|
568 | 546 |
MAKEFLAGS=
|
569 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
570 | 547 |
|
571 | 548 |
# Identity of this package.
|
572 | 549 |
PACKAGE_NAME=
|
|
574 | 551 |
PACKAGE_VERSION=
|
575 | 552 |
PACKAGE_STRING=
|
576 | 553 |
PACKAGE_BUGREPORT=
|
|
554 |
PACKAGE_URL=
|
577 | 555 |
|
578 | 556 |
ac_unique_file="mtr.c"
|
579 | 557 |
# Factoring default headers for most tests.
|
|
612 | 590 |
# include <unistd.h>
|
613 | 591 |
#endif"
|
614 | 592 |
|
615 | |
ac_subst_vars='SHELL
|
|
593 |
ac_subst_vars='am__EXEEXT_FALSE
|
|
594 |
am__EXEEXT_TRUE
|
|
595 |
LTLIBOBJS
|
|
596 |
LIBOBJS
|
|
597 |
GTK_LIBS
|
|
598 |
GTK_CFLAGS
|
|
599 |
PKG_CONFIG
|
|
600 |
EGREP
|
|
601 |
GREP
|
|
602 |
CPP
|
|
603 |
am__fastdepCC_FALSE
|
|
604 |
am__fastdepCC_TRUE
|
|
605 |
CCDEPMODE
|
|
606 |
AMDEPBACKSLASH
|
|
607 |
AMDEP_FALSE
|
|
608 |
AMDEP_TRUE
|
|
609 |
am__quote
|
|
610 |
am__include
|
|
611 |
DEPDIR
|
|
612 |
OBJEXT
|
|
613 |
EXEEXT
|
|
614 |
ac_ct_CC
|
|
615 |
CPPFLAGS
|
|
616 |
LDFLAGS
|
|
617 |
CFLAGS
|
|
618 |
CC
|
|
619 |
CURSES_OBJ
|
|
620 |
GTK_OBJ
|
|
621 |
am__untar
|
|
622 |
am__tar
|
|
623 |
AMTAR
|
|
624 |
am__leading_dot
|
|
625 |
SET_MAKE
|
|
626 |
AWK
|
|
627 |
mkdir_p
|
|
628 |
MKDIR_P
|
|
629 |
INSTALL_STRIP_PROGRAM
|
|
630 |
STRIP
|
|
631 |
install_sh
|
|
632 |
MAKEINFO
|
|
633 |
AUTOHEADER
|
|
634 |
AUTOMAKE
|
|
635 |
AUTOCONF
|
|
636 |
ACLOCAL
|
|
637 |
VERSION
|
|
638 |
PACKAGE
|
|
639 |
CYGPATH_W
|
|
640 |
am__isrc
|
|
641 |
INSTALL_DATA
|
|
642 |
INSTALL_SCRIPT
|
|
643 |
INSTALL_PROGRAM
|
|
644 |
target_alias
|
|
645 |
host_alias
|
|
646 |
build_alias
|
|
647 |
LIBS
|
|
648 |
ECHO_T
|
|
649 |
ECHO_N
|
|
650 |
ECHO_C
|
|
651 |
DEFS
|
|
652 |
mandir
|
|
653 |
localedir
|
|
654 |
libdir
|
|
655 |
psdir
|
|
656 |
pdfdir
|
|
657 |
dvidir
|
|
658 |
htmldir
|
|
659 |
infodir
|
|
660 |
docdir
|
|
661 |
oldincludedir
|
|
662 |
includedir
|
|
663 |
localstatedir
|
|
664 |
sharedstatedir
|
|
665 |
sysconfdir
|
|
666 |
datadir
|
|
667 |
datarootdir
|
|
668 |
libexecdir
|
|
669 |
sbindir
|
|
670 |
bindir
|
|
671 |
program_transform_name
|
|
672 |
prefix
|
|
673 |
exec_prefix
|
|
674 |
PACKAGE_URL
|
|
675 |
PACKAGE_BUGREPORT
|
|
676 |
PACKAGE_STRING
|
|
677 |
PACKAGE_VERSION
|
|
678 |
PACKAGE_TARNAME
|
|
679 |
PACKAGE_NAME
|
616 | 680 |
PATH_SEPARATOR
|
617 | |
PACKAGE_NAME
|
618 | |
PACKAGE_TARNAME
|
619 | |
PACKAGE_VERSION
|
620 | |
PACKAGE_STRING
|
621 | |
PACKAGE_BUGREPORT
|
622 | |
exec_prefix
|
623 | |
prefix
|
624 | |
program_transform_name
|
625 | |
bindir
|
626 | |
sbindir
|
627 | |
libexecdir
|
628 | |
datarootdir
|
629 | |
datadir
|
630 | |
sysconfdir
|
631 | |
sharedstatedir
|
632 | |
localstatedir
|
633 | |
includedir
|
634 | |
oldincludedir
|
635 | |
docdir
|
636 | |
infodir
|
637 | |
htmldir
|
638 | |
dvidir
|
639 | |
pdfdir
|
640 | |
psdir
|
641 | |
libdir
|
642 | |
localedir
|
643 | |
mandir
|
644 | |
DEFS
|
645 | |
ECHO_C
|
646 | |
ECHO_N
|
647 | |
ECHO_T
|
648 | |
LIBS
|
649 | |
build_alias
|
650 | |
host_alias
|
651 | |
target_alias
|
652 | |
INSTALL_PROGRAM
|
653 | |
INSTALL_SCRIPT
|
654 | |
INSTALL_DATA
|
655 | |
CYGPATH_W
|
656 | |
PACKAGE
|
657 | |
VERSION
|
658 | |
ACLOCAL
|
659 | |
AUTOCONF
|
660 | |
AUTOMAKE
|
661 | |
AUTOHEADER
|
662 | |
MAKEINFO
|
663 | |
install_sh
|
664 | |
STRIP
|
665 | |
INSTALL_STRIP_PROGRAM
|
666 | |
mkdir_p
|
667 | |
AWK
|
668 | |
SET_MAKE
|
669 | |
am__leading_dot
|
670 | |
AMTAR
|
671 | |
am__tar
|
672 | |
am__untar
|
673 | |
GTK_OBJ
|
674 | |
CURSES_OBJ
|
675 | |
CC
|
676 | |
CFLAGS
|
677 | |
LDFLAGS
|
678 | |
CPPFLAGS
|
679 | |
ac_ct_CC
|
680 | |
EXEEXT
|
681 | |
OBJEXT
|
682 | |
DEPDIR
|
683 | |
am__include
|
684 | |
am__quote
|
685 | |
AMDEP_TRUE
|
686 | |
AMDEP_FALSE
|
687 | |
AMDEPBACKSLASH
|
688 | |
CCDEPMODE
|
689 | |
am__fastdepCC_TRUE
|
690 | |
am__fastdepCC_FALSE
|
691 | |
CPP
|
692 | |
GREP
|
693 | |
EGREP
|
694 | |
PKG_CONFIG
|
695 | |
GTK_CFLAGS
|
696 | |
GTK_LIBS
|
697 | |
LIBOBJS
|
698 | |
LTLIBOBJS'
|
|
681 |
SHELL'
|
699 | 682 |
ac_subst_files=''
|
|
683 |
ac_user_opts='
|
|
684 |
enable_option_checking
|
|
685 |
enable_dependency_tracking
|
|
686 |
with_gtk
|
|
687 |
enable_ipv6
|
|
688 |
enable_gtktest
|
|
689 |
'
|
700 | 690 |
ac_precious_vars='build_alias
|
701 | 691 |
host_alias
|
702 | 692 |
target_alias
|
|
711 | 701 |
# Initialize some variables set by options.
|
712 | 702 |
ac_init_help=
|
713 | 703 |
ac_init_version=false
|
|
704 |
ac_unrecognized_opts=
|
|
705 |
ac_unrecognized_sep=
|
714 | 706 |
# The variables have the same names as the options, with
|
715 | 707 |
# dashes changed to underlines.
|
716 | 708 |
cache_file=/dev/null
|
|
809 | 801 |
datarootdir=$ac_optarg ;;
|
810 | 802 |
|
811 | 803 |
-disable-* | --disable-*)
|
812 | |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
804 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
813 | 805 |
# Reject names that are not valid shell variable names.
|
814 | |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
815 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
816 | |
{ (exit 1); exit 1; }; }
|
817 | |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
818 | |
eval enable_$ac_feature=no ;;
|
|
806 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
807 |
as_fn_error "invalid feature name: $ac_useropt"
|
|
808 |
ac_useropt_orig=$ac_useropt
|
|
809 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
810 |
case $ac_user_opts in
|
|
811 |
*"
|
|
812 |
"enable_$ac_useropt"
|
|
813 |
"*) ;;
|
|
814 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
|
815 |
ac_unrecognized_sep=', ';;
|
|
816 |
esac
|
|
817 |
eval enable_$ac_useropt=no ;;
|
819 | 818 |
|
820 | 819 |
-docdir | --docdir | --docdi | --doc | --do)
|
821 | 820 |
ac_prev=docdir ;;
|
|
828 | 827 |
dvidir=$ac_optarg ;;
|
829 | 828 |
|
830 | 829 |
-enable-* | --enable-*)
|
831 | |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
830 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
832 | 831 |
# Reject names that are not valid shell variable names.
|
833 | |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
834 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
835 | |
{ (exit 1); exit 1; }; }
|
836 | |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
837 | |
eval enable_$ac_feature=\$ac_optarg ;;
|
|
832 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
833 |
as_fn_error "invalid feature name: $ac_useropt"
|
|
834 |
ac_useropt_orig=$ac_useropt
|
|
835 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
836 |
case $ac_user_opts in
|
|
837 |
*"
|
|
838 |
"enable_$ac_useropt"
|
|
839 |
"*) ;;
|
|
840 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
|
841 |
ac_unrecognized_sep=', ';;
|
|
842 |
esac
|
|
843 |
eval enable_$ac_useropt=\$ac_optarg ;;
|
838 | 844 |
|
839 | 845 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
840 | 846 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
1025 | 1031 |
ac_init_version=: ;;
|
1026 | 1032 |
|
1027 | 1033 |
-with-* | --with-*)
|
1028 | |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
1034 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1029 | 1035 |
# Reject names that are not valid shell variable names.
|
1030 | |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1031 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1032 | |
{ (exit 1); exit 1; }; }
|
1033 | |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1034 | |
eval with_$ac_package=\$ac_optarg ;;
|
|
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--with-$ac_useropt_orig"
|
|
1045 |
ac_unrecognized_sep=', ';;
|
|
1046 |
esac
|
|
1047 |
eval with_$ac_useropt=\$ac_optarg ;;
|
1035 | 1048 |
|
1036 | 1049 |
-without-* | --without-*)
|
1037 | |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
1050 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1038 | 1051 |
# Reject names that are not valid shell variable names.
|
1039 | |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1040 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1041 | |
{ (exit 1); exit 1; }; }
|
1042 | |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1043 | |
eval with_$ac_package=no ;;
|
|
1052 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1053 |
as_fn_error "invalid package name: $ac_useropt"
|
|
1054 |
ac_useropt_orig=$ac_useropt
|
|
1055 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1056 |
case $ac_user_opts in
|
|
1057 |
*"
|
|
1058 |
"with_$ac_useropt"
|
|
1059 |
"*) ;;
|
|
1060 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
|
1061 |
ac_unrecognized_sep=', ';;
|
|
1062 |
esac
|
|
1063 |
eval with_$ac_useropt=no ;;
|
1044 | 1064 |
|
1045 | 1065 |
--x)
|
1046 | 1066 |
# Obsolete; use --with-x.
|
|
1060 | 1080 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1061 | 1081 |
x_libraries=$ac_optarg ;;
|
1062 | 1082 |
|
1063 | |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
1064 | |
Try \`$0 --help' for more information." >&2
|
1065 | |
{ (exit 1); exit 1; }; }
|
|
1083 |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
|
1084 |
Try \`$0 --help' for more information."
|
1066 | 1085 |
;;
|
1067 | 1086 |
|
1068 | 1087 |
*=*)
|
1069 | 1088 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1070 | 1089 |
# Reject names that are not valid shell variable names.
|
1071 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1072 | |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1073 | |
{ (exit 1); exit 1; }; }
|
|
1090 |
case $ac_envvar in #(
|
|
1091 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1092 |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
|
1093 |
esac
|
1074 | 1094 |
eval $ac_envvar=\$ac_optarg
|
1075 | 1095 |
export $ac_envvar ;;
|
1076 | 1096 |
|
1077 | 1097 |
*)
|
1078 | 1098 |
# FIXME: should be removed in autoconf 3.0.
|
1079 | |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1099 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1080 | 1100 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1081 | |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1101 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1082 | 1102 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
1083 | 1103 |
;;
|
1084 | 1104 |
|
|
1087 | 1107 |
|
1088 | 1108 |
if test -n "$ac_prev"; then
|
1089 | 1109 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1090 | |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
1091 | |
{ (exit 1); exit 1; }; }
|
1092 | |
fi
|
1093 | |
|
1094 | |
# Be sure to have absolute directory names.
|
|
1110 |
as_fn_error "missing argument to $ac_option"
|
|
1111 |
fi
|
|
1112 |
|
|
1113 |
if test -n "$ac_unrecognized_opts"; then
|
|
1114 |
case $enable_option_checking in
|
|
1115 |
no) ;;
|
|
1116 |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
|
1117 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1118 |
esac
|
|
1119 |
fi
|
|
1120 |
|
|
1121 |
# Check all directory arguments for consistency.
|
1095 | 1122 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1096 | 1123 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1097 | 1124 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1098 | 1125 |
libdir localedir mandir
|
1099 | 1126 |
do
|
1100 | 1127 |
eval ac_val=\$$ac_var
|
|
1128 |
# Remove trailing slashes.
|
|
1129 |
case $ac_val in
|
|
1130 |
*/ )
|
|
1131 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
|
1132 |
eval $ac_var=\$ac_val;;
|
|
1133 |
esac
|
|
1134 |
# Be sure to have absolute directory names.
|
1101 | 1135 |
case $ac_val in
|
1102 | 1136 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1103 | 1137 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1104 | 1138 |
esac
|
1105 | |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1106 | |
{ (exit 1); exit 1; }; }
|
|
1139 |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1107 | 1140 |
done
|
1108 | 1141 |
|
1109 | 1142 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1117 | 1150 |
if test "x$host_alias" != x; then
|
1118 | 1151 |
if test "x$build_alias" = x; then
|
1119 | 1152 |
cross_compiling=maybe
|
1120 | |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|
1153 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1121 | 1154 |
If a cross compiler is detected then cross compile mode will be used." >&2
|
1122 | 1155 |
elif test "x$build_alias" != "x$host_alias"; then
|
1123 | 1156 |
cross_compiling=yes
|
|
1133 | 1166 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1134 | 1167 |
ac_ls_di=`ls -di .` &&
|
1135 | 1168 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1136 | |
{ echo "$as_me: error: Working directory cannot be determined" >&2
|
1137 | |
{ (exit 1); exit 1; }; }
|
|
1169 |
as_fn_error "working directory cannot be determined"
|
1138 | 1170 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1139 | |
{ echo "$as_me: error: pwd does not report name of working directory" >&2
|
1140 | |
{ (exit 1); exit 1; }; }
|
|
1171 |
as_fn_error "pwd does not report name of working directory"
|
1141 | 1172 |
|
1142 | 1173 |
|
1143 | 1174 |
# Find the source files, if location was not specified.
|
1144 | 1175 |
if test -z "$srcdir"; then
|
1145 | 1176 |
ac_srcdir_defaulted=yes
|
1146 | 1177 |
# Try the directory containing this script, then the parent directory.
|
1147 | |
ac_confdir=`$as_dirname -- "$0" ||
|
1148 | |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1149 | |
X"$0" : 'X\(//\)[^/]' \| \
|
1150 | |
X"$0" : 'X\(//\)$' \| \
|
1151 | |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
1152 | |
echo X"$0" |
|
|
1178 |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
|
1179 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
1180 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
|
1181 |
X"$as_myself" : 'X\(//\)$' \| \
|
|
1182 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1183 |
$as_echo X"$as_myself" |
|
1153 | 1184 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1154 | 1185 |
s//\1/
|
1155 | 1186 |
q
|
|
1176 | 1207 |
fi
|
1177 | 1208 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1178 | 1209 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1179 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1180 | |
{ (exit 1); exit 1; }; }
|
|
1210 |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1181 | 1211 |
fi
|
1182 | 1212 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1183 | 1213 |
ac_abs_confdir=`(
|
1184 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
1185 | |
{ (exit 1); exit 1; }; }
|
|
1214 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1186 | 1215 |
pwd)`
|
1187 | 1216 |
# When building in place, set srcdir=.
|
1188 | 1217 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1230 | 1259 |
|
1231 | 1260 |
Installation directories:
|
1232 | 1261 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1233 | |
[$ac_default_prefix]
|
|
1262 |
[$ac_default_prefix]
|
1234 | 1263 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1235 | |
[PREFIX]
|
|
1264 |
[PREFIX]
|
1236 | 1265 |
|
1237 | 1266 |
By default, \`make install' will install all the files in
|
1238 | 1267 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1242 | 1271 |
For better control, use the options below.
|
1243 | 1272 |
|
1244 | 1273 |
Fine tuning of the installation directories:
|
1245 | |
--bindir=DIR user executables [EPREFIX/bin]
|
1246 | |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1247 | |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1248 | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1249 | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1250 | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1251 | |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1252 | |
--includedir=DIR C header files [PREFIX/include]
|
1253 | |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1254 | |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1255 | |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1256 | |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1257 | |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1258 | |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1259 | |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
1260 | |
--htmldir=DIR html documentation [DOCDIR]
|
1261 | |
--dvidir=DIR dvi documentation [DOCDIR]
|
1262 | |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1263 | |
--psdir=DIR ps documentation [DOCDIR]
|
|
1274 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
1275 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1276 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1277 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1278 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1279 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1280 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1281 |
--includedir=DIR C header files [PREFIX/include]
|
|
1282 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1283 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1284 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1285 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1286 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1287 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1288 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
1289 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1290 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1291 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1292 |
--psdir=DIR ps documentation [DOCDIR]
|
1264 | 1293 |
_ACEOF
|
1265 | 1294 |
|
1266 | 1295 |
cat <<\_ACEOF
|
|
1277 | 1306 |
cat <<\_ACEOF
|
1278 | 1307 |
|
1279 | 1308 |
Optional Features:
|
|
1309 |
--disable-option-checking ignore unrecognized --enable/--with options
|
1280 | 1310 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1281 | 1311 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1282 | 1312 |
--disable-dependency-tracking speeds up one-time build
|
|
1295 | 1325 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1296 | 1326 |
nonstandard directory <lib dir>
|
1297 | 1327 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1298 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1328 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1299 | 1329 |
you have headers in a nonstandard directory <include dir>
|
1300 | 1330 |
CPP C preprocessor
|
1301 | 1331 |
|
1302 | 1332 |
Use these variables to override the choices made by `configure' or to help
|
1303 | 1333 |
it to find libraries and programs with nonstandard names/locations.
|
1304 | 1334 |
|
|
1335 |
Report bugs to the package provider.
|
1305 | 1336 |
_ACEOF
|
1306 | 1337 |
ac_status=$?
|
1307 | 1338 |
fi
|
|
1309 | 1340 |
if test "$ac_init_help" = "recursive"; then
|
1310 | 1341 |
# If there are subdirs, report their specific --help.
|
1311 | 1342 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1312 | |
test -d "$ac_dir" || continue
|
|
1343 |
test -d "$ac_dir" ||
|
|
1344 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
|
1345 |
continue
|
1313 | 1346 |
ac_builddir=.
|
1314 | 1347 |
|
1315 | 1348 |
case "$ac_dir" in
|
1316 | 1349 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1317 | 1350 |
*)
|
1318 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
1351 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1319 | 1352 |
# A ".." for each directory in $ac_dir_suffix.
|
1320 | |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
1353 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1321 | 1354 |
case $ac_top_builddir_sub in
|
1322 | 1355 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1323 | 1356 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1353 | 1386 |
echo &&
|
1354 | 1387 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1355 | 1388 |
else
|
1356 | |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1389 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1357 | 1390 |
fi || ac_status=$?
|
1358 | 1391 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1359 | 1392 |
done
|
|
1363 | 1396 |
if $ac_init_version; then
|
1364 | 1397 |
cat <<\_ACEOF
|
1365 | 1398 |
configure
|
1366 | |
generated by GNU Autoconf 2.61
|
1367 | |
|
1368 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1369 | |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
1399 |
generated by GNU Autoconf 2.65
|
|
1400 |
|
|
1401 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
1370 | 1402 |
This configure script is free software; the Free Software Foundation
|
1371 | 1403 |
gives unlimited permission to copy, distribute and modify it.
|
1372 | 1404 |
_ACEOF
|
1373 | 1405 |
exit
|
1374 | 1406 |
fi
|
|
1407 |
|
|
1408 |
## ------------------------ ##
|
|
1409 |
## Autoconf initialization. ##
|
|
1410 |
## ------------------------ ##
|
|
1411 |
|
|
1412 |
# ac_fn_c_try_compile LINENO
|
|
1413 |
# --------------------------
|
|
1414 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1415 |
ac_fn_c_try_compile ()
|
|
1416 |
{
|
|
1417 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1418 |
rm -f conftest.$ac_objext
|
|
1419 |
if { { ac_try="$ac_compile"
|
|
1420 |
case "(($ac_try" in
|
|
1421 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1422 |
*) ac_try_echo=$ac_try;;
|
|
1423 |
esac
|
|
1424 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1425 |
$as_echo "$ac_try_echo"; } >&5
|
|
1426 |
(eval "$ac_compile") 2>conftest.err
|
|
1427 |
ac_status=$?
|
|
1428 |
if test -s conftest.err; then
|
|
1429 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1430 |
cat conftest.er1 >&5
|
|
1431 |
mv -f conftest.er1 conftest.err
|
|
1432 |
fi
|
|
1433 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1434 |
test $ac_status = 0; } && {
|
|
1435 |
test -z "$ac_c_werror_flag" ||
|
|
1436 |
test ! -s conftest.err
|
|
1437 |
} && test -s conftest.$ac_objext; then :
|
|
1438 |
ac_retval=0
|
|
1439 |
else
|
|
1440 |
$as_echo "$as_me: failed program was:" >&5
|
|
1441 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1442 |
|
|
1443 |
ac_retval=1
|
|
1444 |
fi
|
|
1445 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1446 |
as_fn_set_status $ac_retval
|
|
1447 |
|
|
1448 |
} # ac_fn_c_try_compile
|
|
1449 |
|
|
1450 |
# ac_fn_c_try_run LINENO
|
|
1451 |
# ----------------------
|
|
1452 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1453 |
# that executables *can* be run.
|
|
1454 |
ac_fn_c_try_run ()
|
|
1455 |
{
|
|
1456 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1457 |
if { { ac_try="$ac_link"
|
|
1458 |
case "(($ac_try" in
|
|
1459 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1460 |
*) ac_try_echo=$ac_try;;
|
|
1461 |
esac
|
|
1462 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1463 |
$as_echo "$ac_try_echo"; } >&5
|
|
1464 |
(eval "$ac_link") 2>&5
|
|
1465 |
ac_status=$?
|
|
1466 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1467 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1468 |
{ { case "(($ac_try" in
|
|
1469 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1470 |
*) ac_try_echo=$ac_try;;
|
|
1471 |
esac
|
|
1472 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1473 |
$as_echo "$ac_try_echo"; } >&5
|
|
1474 |
(eval "$ac_try") 2>&5
|
|
1475 |
ac_status=$?
|
|
1476 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1477 |
test $ac_status = 0; }; }; then :
|
|
1478 |
ac_retval=0
|
|
1479 |
else
|
|
1480 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1481 |
$as_echo "$as_me: failed program was:" >&5
|
|
1482 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1483 |
|
|
1484 |
ac_retval=$ac_status
|
|
1485 |
fi
|
|
1486 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1487 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1488 |
as_fn_set_status $ac_retval
|
|
1489 |
|
|
1490 |
} # ac_fn_c_try_run
|
|
1491 |
|
|
1492 |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
|
|
1493 |
# --------------------------------------------
|
|
1494 |
# Tries to find the compile-time value of EXPR in a program that includes
|
|
1495 |
# INCLUDES, setting VAR accordingly. Returns whether the value could be
|
|
1496 |
# computed
|
|
1497 |
ac_fn_c_compute_int ()
|
|
1498 |
{
|
|
1499 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1500 |
if test "$cross_compiling" = yes; then
|
|
1501 |
# Depending upon the size, compute the lo and hi bounds.
|
|
1502 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1503 |
/* end confdefs.h. */
|
|
1504 |
$4
|
|
1505 |
int
|
|
1506 |
main ()
|
|
1507 |
{
|
|
1508 |
static int test_array [1 - 2 * !(($2) >= 0)];
|
|
1509 |
test_array [0] = 0
|
|
1510 |
|
|
1511 |
;
|
|
1512 |
return 0;
|
|
1513 |
}
|
|
1514 |
_ACEOF
|
|
1515 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1516 |
ac_lo=0 ac_mid=0
|
|
1517 |
while :; do
|
|
1518 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1519 |
/* end confdefs.h. */
|
|
1520 |
$4
|
|
1521 |
int
|
|
1522 |
main ()
|
|
1523 |
{
|
|
1524 |
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
|
1525 |
test_array [0] = 0
|
|
1526 |
|
|
1527 |
;
|
|
1528 |
return 0;
|
|
1529 |
}
|
|
1530 |
_ACEOF
|
|
1531 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1532 |
ac_hi=$ac_mid; break
|
|
1533 |
else
|
|
1534 |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
|
|
1535 |
if test $ac_lo -le $ac_mid; then
|
|
1536 |
ac_lo= ac_hi=
|
|
1537 |
break
|
|
1538 |
fi
|
|
1539 |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
|
|
1540 |
fi
|
|
1541 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1542 |
done
|
|
1543 |
else
|
|
1544 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1545 |
/* end confdefs.h. */
|
|
1546 |
$4
|
|
1547 |
int
|
|
1548 |
main ()
|
|
1549 |
{
|
|
1550 |
static int test_array [1 - 2 * !(($2) < 0)];
|
|
1551 |
test_array [0] = 0
|
|
1552 |
|
|
1553 |
;
|
|
1554 |
return 0;
|
|
1555 |
}
|
|
1556 |
_ACEOF
|
|
1557 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1558 |
ac_hi=-1 ac_mid=-1
|
|
1559 |
while :; do
|
|
1560 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1561 |
/* end confdefs.h. */
|
|
1562 |
$4
|
|
1563 |
int
|
|
1564 |
main ()
|
|
1565 |
{
|
|
1566 |
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
|
|
1567 |
test_array [0] = 0
|
|
1568 |
|
|
1569 |
;
|
|
1570 |
return 0;
|
|
1571 |
}
|
|
1572 |
_ACEOF
|
|
1573 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1574 |
ac_lo=$ac_mid; break
|
|
1575 |
else
|
|
1576 |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
|
|
1577 |
if test $ac_mid -le $ac_hi; then
|
|
1578 |
ac_lo= ac_hi=
|
|
1579 |
break
|
|
1580 |
fi
|
|
1581 |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
|
|
1582 |
fi
|
|
1583 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1584 |
done
|
|
1585 |
else
|
|
1586 |
ac_lo= ac_hi=
|
|
1587 |
fi
|
|
1588 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1589 |
fi
|
|
1590 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1591 |
# Binary search between lo and hi bounds.
|
|
1592 |
while test "x$ac_lo" != "x$ac_hi"; do
|
|
1593 |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
|
|
1594 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1595 |
/* end confdefs.h. */
|
|
1596 |
$4
|
|
1597 |
int
|
|
1598 |
main ()
|
|
1599 |
{
|
|
1600 |
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
|
1601 |
test_array [0] = 0
|
|
1602 |
|
|
1603 |
;
|
|
1604 |
return 0;
|
|
1605 |
}
|
|
1606 |
_ACEOF
|
|
1607 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1608 |
ac_hi=$ac_mid
|
|
1609 |
else
|
|
1610 |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
|
|
1611 |
fi
|
|
1612 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1613 |
done
|
|
1614 |
case $ac_lo in #((
|
|
1615 |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
|
|
1616 |
'') ac_retval=1 ;;
|
|
1617 |
esac
|
|
1618 |
else
|
|
1619 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1620 |
/* end confdefs.h. */
|
|
1621 |
$4
|
|
1622 |
static long int longval () { return $2; }
|
|
1623 |
static unsigned long int ulongval () { return $2; }
|
|
1624 |
#include <stdio.h>
|
|
1625 |
#include <stdlib.h>
|
|
1626 |
int
|
|
1627 |
main ()
|
|
1628 |
{
|
|
1629 |
|
|
1630 |
FILE *f = fopen ("conftest.val", "w");
|
|
1631 |
if (! f)
|
|
1632 |
return 1;
|
|
1633 |
if (($2) < 0)
|
|
1634 |
{
|
|
1635 |
long int i = longval ();
|
|
1636 |
if (i != ($2))
|
|
1637 |
return 1;
|
|
1638 |
fprintf (f, "%ld", i);
|
|
1639 |
}
|
|
1640 |
else
|
|
1641 |
{
|
|
1642 |
unsigned long int i = ulongval ();
|
|
1643 |
if (i != ($2))
|
|
1644 |
return 1;
|
|
1645 |
fprintf (f, "%lu", i);
|
|
1646 |
}
|
|
1647 |
/* Do not output a trailing newline, as this causes \r\n confusion
|
|
1648 |
on some platforms. */
|
|
1649 |
return ferror (f) || fclose (f) != 0;
|
|
1650 |
|
|
1651 |
;
|
|
1652 |
return 0;
|
|
1653 |
}
|
|
1654 |
_ACEOF
|
|
1655 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
1656 |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
|
|
1657 |
else
|
|
1658 |
ac_retval=1
|
|
1659 |
fi
|
|
1660 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
1661 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
1662 |
rm -f conftest.val
|
|
1663 |
|
|
1664 |
fi
|
|
1665 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1666 |
as_fn_set_status $ac_retval
|
|
1667 |
|
|
1668 |
} # ac_fn_c_compute_int
|
|
1669 |
|
|
1670 |
# ac_fn_c_try_cpp LINENO
|
|
1671 |
# ----------------------
|
|
1672 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1673 |
ac_fn_c_try_cpp ()
|
|
1674 |
{
|
|
1675 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1676 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1677 |
case "(($ac_try" in
|
|
1678 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1679 |
*) ac_try_echo=$ac_try;;
|
|
1680 |
esac
|
|
1681 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1682 |
$as_echo "$ac_try_echo"; } >&5
|
|
1683 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1684 |
ac_status=$?
|
|
1685 |
if test -s conftest.err; then
|
|
1686 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1687 |
cat conftest.er1 >&5
|
|
1688 |
mv -f conftest.er1 conftest.err
|
|
1689 |
fi
|
|
1690 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1691 |
test $ac_status = 0; } >/dev/null && {
|
|
1692 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1693 |
test ! -s conftest.err
|
|
1694 |
}; then :
|
|
1695 |
ac_retval=0
|
|
1696 |
else
|
|
1697 |
$as_echo "$as_me: failed program was:" >&5
|
|
1698 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1699 |
|
|
1700 |
ac_retval=1
|
|
1701 |
fi
|
|
1702 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1703 |
as_fn_set_status $ac_retval
|
|
1704 |
|
|
1705 |
} # ac_fn_c_try_cpp
|
|
1706 |
|
|
1707 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1708 |
# -------------------------------------------------------
|
|
1709 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1710 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1711 |
ac_fn_c_check_header_compile ()
|
|
1712 |
{
|
|
1713 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
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 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1720 |
/* end confdefs.h. */
|
|
1721 |
$4
|
|
1722 |
#include <$2>
|
|
1723 |
_ACEOF
|
|
1724 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1725 |
eval "$3=yes"
|
|
1726 |
else
|
|
1727 |
eval "$3=no"
|
|
1728 |
fi
|
|
1729 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1730 |
fi
|
|
1731 |
eval ac_res=\$$3
|
|
1732 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1733 |
$as_echo "$ac_res" >&6; }
|
|
1734 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1735 |
|
|
1736 |
} # ac_fn_c_check_header_compile
|
|
1737 |
|
|
1738 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1739 |
# -------------------------------------------------------
|
|
1740 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1741 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1742 |
# accordingly.
|
|
1743 |
ac_fn_c_check_header_mongrel ()
|
|
1744 |
{
|
|
1745 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1746 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1747 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1748 |
$as_echo_n "checking for $2... " >&6; }
|
|
1749 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1750 |
$as_echo_n "(cached) " >&6
|
|
1751 |
fi
|
|
1752 |
eval ac_res=\$$3
|
|
1753 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1754 |
$as_echo "$ac_res" >&6; }
|
|
1755 |
else
|
|
1756 |
# Is the header compilable?
|
|
1757 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1758 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1759 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1760 |
/* end confdefs.h. */
|
|
1761 |
$4
|
|
1762 |
#include <$2>
|
|
1763 |
_ACEOF
|
|
1764 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1765 |
ac_header_compiler=yes
|
|
1766 |
else
|
|
1767 |
ac_header_compiler=no
|
|
1768 |
fi
|
|
1769 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1771 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1772 |
|
|
1773 |
# Is the header present?
|
|
1774 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1775 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1776 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1777 |
/* end confdefs.h. */
|
|
1778 |
#include <$2>
|
|
1779 |
_ACEOF
|
|
1780 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1781 |
ac_header_preproc=yes
|
|
1782 |
else
|
|
1783 |
ac_header_preproc=no
|
|
1784 |
fi
|
|
1785 |
rm -f conftest.err conftest.$ac_ext
|
|
1786 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1787 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1788 |
|
|
1789 |
# So? What about this header?
|
|
1790 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1791 |
yes:no: )
|
|
1792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1793 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1794 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1795 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1796 |
;;
|
|
1797 |
no:yes:* )
|
|
1798 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1799 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1800 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1801 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1802 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1803 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1805 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1806 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1807 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1808 |
;;
|
|
1809 |
esac
|
|
1810 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1811 |
$as_echo_n "checking for $2... " >&6; }
|
|
1812 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1813 |
$as_echo_n "(cached) " >&6
|
|
1814 |
else
|
|
1815 |
eval "$3=\$ac_header_compiler"
|
|
1816 |
fi
|
|
1817 |
eval ac_res=\$$3
|
|
1818 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1819 |
$as_echo "$ac_res" >&6; }
|
|
1820 |
fi
|
|
1821 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1822 |
|
|
1823 |
} # ac_fn_c_check_header_mongrel
|
|
1824 |
|
|
1825 |
# ac_fn_c_try_link LINENO
|
|
1826 |
# -----------------------
|
|
1827 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1828 |
ac_fn_c_try_link ()
|
|
1829 |
{
|
|
1830 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1831 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1832 |
if { { ac_try="$ac_link"
|
|
1833 |
case "(($ac_try" in
|
|
1834 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1835 |
*) ac_try_echo=$ac_try;;
|
|
1836 |
esac
|
|
1837 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1838 |
$as_echo "$ac_try_echo"; } >&5
|
|
1839 |
(eval "$ac_link") 2>conftest.err
|
|
1840 |
ac_status=$?
|
|
1841 |
if test -s conftest.err; then
|
|
1842 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1843 |
cat conftest.er1 >&5
|
|
1844 |
mv -f conftest.er1 conftest.err
|
|
1845 |
fi
|
|
1846 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1847 |
test $ac_status = 0; } && {
|
|
1848 |
test -z "$ac_c_werror_flag" ||
|
|
1849 |
test ! -s conftest.err
|
|
1850 |
} && test -s conftest$ac_exeext && {
|
|
1851 |
test "$cross_compiling" = yes ||
|
|
1852 |
$as_test_x conftest$ac_exeext
|
|
1853 |
}; then :
|
|
1854 |
ac_retval=0
|
|
1855 |
else
|
|
1856 |
$as_echo "$as_me: failed program was:" >&5
|
|
1857 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1858 |
|
|
1859 |
ac_retval=1
|
|
1860 |
fi
|
|
1861 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1862 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1863 |
# interfere with the next link command; also delete a directory that is
|
|
1864 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1865 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1866 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1867 |
as_fn_set_status $ac_retval
|
|
1868 |
|
|
1869 |
} # ac_fn_c_try_link
|
|
1870 |
|
|
1871 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1872 |
# ----------------------------------
|
|
1873 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1874 |
ac_fn_c_check_func ()
|
|
1875 |
{
|
|
1876 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1878 |
$as_echo_n "checking for $2... " >&6; }
|
|
1879 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1880 |
$as_echo_n "(cached) " >&6
|
|
1881 |
else
|
|
1882 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1883 |
/* end confdefs.h. */
|
|
1884 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1885 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1886 |
#define $2 innocuous_$2
|
|
1887 |
|
|
1888 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1889 |
which can conflict with char $2 (); below.
|
|
1890 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1891 |
<limits.h> exists even on freestanding compilers. */
|
|
1892 |
|
|
1893 |
#ifdef __STDC__
|
|
1894 |
# include <limits.h>
|
|
1895 |
#else
|
|
1896 |
# include <assert.h>
|
|
1897 |
#endif
|
|
1898 |
|
|
1899 |
#undef $2
|
|
1900 |
|
|
1901 |
/* Override any GCC internal prototype to avoid an error.
|
|
1902 |
Use char because int might match the return type of a GCC
|
|
1903 |
builtin and then its argument prototype would still apply. */
|
|
1904 |
#ifdef __cplusplus
|
|
1905 |
extern "C"
|
|
1906 |
#endif
|
|
1907 |
char $2 ();
|
|
1908 |
/* The GNU C library defines this for functions which it implements
|
|
1909 |
to always fail with ENOSYS. Some functions are actually named
|
|
1910 |
something starting with __ and the normal name is an alias. */
|
|
1911 |
#if defined __stub_$2 || defined __stub___$2
|
|
1912 |
choke me
|
|
1913 |
#endif
|
|
1914 |
|
|
1915 |
int
|
|
1916 |
main ()
|
|
1917 |
{
|
|
1918 |
return $2 ();
|
|
1919 |
;
|
|
1920 |
return 0;
|
|
1921 |
}
|
|
1922 |
_ACEOF
|
|
1923 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
1924 |
eval "$3=yes"
|
|
1925 |
else
|
|
1926 |
eval "$3=no"
|
|
1927 |
fi
|
|
1928 |
rm -f core conftest.err conftest.$ac_objext \
|
|
1929 |
conftest$ac_exeext conftest.$ac_ext
|
|
1930 |
fi
|
|
1931 |
eval ac_res=\$$3
|
|
1932 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1933 |
$as_echo "$ac_res" >&6; }
|
|
1934 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1935 |
|
|
1936 |
} # ac_fn_c_check_func
|
|
1937 |
|
|
1938 |
# ac_fn_c_check_decl LINENO SYMBOL VAR
|
|
1939 |
# ------------------------------------
|
|
1940 |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
|
|
1941 |
ac_fn_c_check_decl ()
|
|
1942 |
{
|
|
1943 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
|
|
1945 |
$as_echo_n "checking whether $2 is declared... " >&6; }
|
|
1946 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1947 |
$as_echo_n "(cached) " >&6
|
|
1948 |
else
|
|
1949 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1950 |
/* end confdefs.h. */
|
|
1951 |
$4
|
|
1952 |
int
|
|
1953 |
main ()
|
|
1954 |
{
|
|
1955 |
#ifndef $2
|
|
1956 |
(void) $2;
|
|
1957 |
#endif
|
|
1958 |
|
|
1959 |
;
|
|
1960 |
return 0;
|
|
1961 |
}
|
|
1962 |
_ACEOF
|
|
1963 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1964 |
eval "$3=yes"
|
|
1965 |
else
|
|
1966 |
eval "$3=no"
|
|
1967 |
fi
|
|
1968 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1969 |
fi
|
|
1970 |
eval ac_res=\$$3
|
|
1971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1972 |
$as_echo "$ac_res" >&6; }
|
|
1973 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1974 |
|
|
1975 |
} # ac_fn_c_check_decl
|
|
1976 |
|
|
1977 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
|
1978 |
# -------------------------------------------
|
|
1979 |
# Tests whether TYPE exists after having included INCLUDES, setting cache
|
|
1980 |
# variable VAR accordingly.
|
|
1981 |
ac_fn_c_check_type ()
|
|
1982 |
{
|
|
1983 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1984 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1985 |
$as_echo_n "checking for $2... " >&6; }
|
|
1986 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1987 |
$as_echo_n "(cached) " >&6
|
|
1988 |
else
|
|
1989 |
eval "$3=no"
|
|
1990 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1991 |
/* end confdefs.h. */
|
|
1992 |
$4
|
|
1993 |
int
|
|
1994 |
main ()
|
|
1995 |
{
|
|
1996 |
if (sizeof ($2))
|
|
1997 |
return 0;
|
|
1998 |
;
|
|
1999 |
return 0;
|
|
2000 |
}
|
|
2001 |
_ACEOF
|
|
2002 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2003 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2004 |
/* end confdefs.h. */
|
|
2005 |
$4
|
|
2006 |
int
|
|
2007 |
main ()
|
|
2008 |
{
|
|
2009 |
if (sizeof (($2)))
|
|
2010 |
return 0;
|
|
2011 |
;
|
|
2012 |
return 0;
|
|
2013 |
}
|
|
2014 |
_ACEOF
|
|
2015 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2016 |
|
|
2017 |
else
|
|
2018 |
eval "$3=yes"
|
|
2019 |
fi
|
|
2020 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2021 |
fi
|
|
2022 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2023 |
fi
|
|
2024 |
eval ac_res=\$$3
|
|
2025 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
2026 |
$as_echo "$ac_res" >&6; }
|
|
2027 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2028 |
|
|
2029 |
} # ac_fn_c_check_type
|
1375 | 2030 |
cat >config.log <<_ACEOF
|
1376 | 2031 |
This file contains any messages produced by compilers while
|
1377 | 2032 |
running configure, to aid debugging if configure makes a mistake.
|
1378 | 2033 |
|
1379 | 2034 |
It was created by $as_me, which was
|
1380 | |
generated by GNU Autoconf 2.61. Invocation command line was
|
|
2035 |
generated by GNU Autoconf 2.65. Invocation command line was
|
1381 | 2036 |
|
1382 | 2037 |
$ $0 $@
|
1383 | 2038 |
|
|
1413 | 2068 |
do
|
1414 | 2069 |
IFS=$as_save_IFS
|
1415 | 2070 |
test -z "$as_dir" && as_dir=.
|
1416 | |
echo "PATH: $as_dir"
|
1417 | |
done
|
|
2071 |
$as_echo "PATH: $as_dir"
|
|
2072 |
done
|
1418 | 2073 |
IFS=$as_save_IFS
|
1419 | 2074 |
|
1420 | 2075 |
} >&5
|
|
1448 | 2103 |
| -silent | --silent | --silen | --sile | --sil)
|
1449 | 2104 |
continue ;;
|
1450 | 2105 |
*\'*)
|
1451 | |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2106 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1452 | 2107 |
esac
|
1453 | 2108 |
case $ac_pass in
|
1454 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
2109 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1455 | 2110 |
2)
|
1456 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
2111 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1457 | 2112 |
if test $ac_must_keep_next = true; then
|
1458 | 2113 |
ac_must_keep_next=false # Got value, back to normal.
|
1459 | 2114 |
else
|
|
1469 | 2124 |
-* ) ac_must_keep_next=true ;;
|
1470 | 2125 |
esac
|
1471 | 2126 |
fi
|
1472 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
2127 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1473 | 2128 |
;;
|
1474 | 2129 |
esac
|
1475 | 2130 |
done
|
1476 | 2131 |
done
|
1477 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1478 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
2132 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
2133 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1479 | 2134 |
|
1480 | 2135 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1481 | 2136 |
# config.log. We remove comments because anyway the quotes in there
|
|
1500 | 2155 |
case $ac_val in #(
|
1501 | 2156 |
*${as_nl}*)
|
1502 | 2157 |
case $ac_var in #(
|
1503 | |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
1504 | |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
2158 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2159 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1505 | 2160 |
esac
|
1506 | 2161 |
case $ac_var in #(
|
1507 | 2162 |
_ | IFS | as_nl) ;; #(
|
1508 | |
*) $as_unset $ac_var ;;
|
|
2163 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
2164 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1509 | 2165 |
esac ;;
|
1510 | 2166 |
esac
|
1511 | 2167 |
done
|
|
1534 | 2190 |
do
|
1535 | 2191 |
eval ac_val=\$$ac_var
|
1536 | 2192 |
case $ac_val in
|
1537 | |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2193 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1538 | 2194 |
esac
|
1539 | |
echo "$ac_var='\''$ac_val'\''"
|
|
2195 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1540 | 2196 |
done | sort
|
1541 | 2197 |
echo
|
1542 | 2198 |
|
|
1551 | 2207 |
do
|
1552 | 2208 |
eval ac_val=\$$ac_var
|
1553 | 2209 |
case $ac_val in
|
1554 | |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2210 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1555 | 2211 |
esac
|
1556 | |
echo "$ac_var='\''$ac_val'\''"
|
|
2212 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1557 | 2213 |
done | sort
|
1558 | 2214 |
echo
|
1559 | 2215 |
fi
|
|
1569 | 2225 |
echo
|
1570 | 2226 |
fi
|
1571 | 2227 |
test "$ac_signal" != 0 &&
|
1572 | |
echo "$as_me: caught signal $ac_signal"
|
1573 | |
echo "$as_me: exit $exit_status"
|
|
2228 |
$as_echo "$as_me: caught signal $ac_signal"
|
|
2229 |
$as_echo "$as_me: exit $exit_status"
|
1574 | 2230 |
} >&5
|
1575 | 2231 |
rm -f core *.core core.conftest.* &&
|
1576 | 2232 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1577 | 2233 |
exit $exit_status
|
1578 | 2234 |
' 0
|
1579 | 2235 |
for ac_signal in 1 2 13 15; do
|
1580 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
2236 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1581 | 2237 |
done
|
1582 | 2238 |
ac_signal=0
|
1583 | 2239 |
|
1584 | 2240 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1585 | 2241 |
rm -f -r conftest* confdefs.h
|
1586 | 2242 |
|
|
2243 |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2244 |
|
1587 | 2245 |
# Predefined preprocessor variables.
|
1588 | 2246 |
|
1589 | 2247 |
cat >>confdefs.h <<_ACEOF
|
1590 | 2248 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1591 | 2249 |
_ACEOF
|
1592 | 2250 |
|
1593 | |
|
1594 | 2251 |
cat >>confdefs.h <<_ACEOF
|
1595 | 2252 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1596 | 2253 |
_ACEOF
|
1597 | 2254 |
|
1598 | |
|
1599 | 2255 |
cat >>confdefs.h <<_ACEOF
|
1600 | 2256 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1601 | 2257 |
_ACEOF
|
1602 | 2258 |
|
1603 | |
|
1604 | 2259 |
cat >>confdefs.h <<_ACEOF
|
1605 | 2260 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1606 | 2261 |
_ACEOF
|
1607 | 2262 |
|
1608 | |
|
1609 | 2263 |
cat >>confdefs.h <<_ACEOF
|
1610 | 2264 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1611 | 2265 |
_ACEOF
|
1612 | 2266 |
|
|
2267 |
cat >>confdefs.h <<_ACEOF
|
|
2268 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
2269 |
_ACEOF
|
|
2270 |
|
1613 | 2271 |
|
1614 | 2272 |
# Let the site file select an alternate cache file if it wants to.
|
1615 | |
# Prefer explicitly selected file to automatically selected ones.
|
|
2273 |
# Prefer an explicitly selected file to automatically selected ones.
|
|
2274 |
ac_site_file1=NONE
|
|
2275 |
ac_site_file2=NONE
|
1616 | 2276 |
if test -n "$CONFIG_SITE"; then
|
1617 | |
set x "$CONFIG_SITE"
|
|
2277 |
ac_site_file1=$CONFIG_SITE
|
1618 | 2278 |
elif test "x$prefix" != xNONE; then
|
1619 | |
set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
1620 | |
else
|
1621 | |
set x "$ac_default_prefix/share/config.site" \
|
1622 | |
"$ac_default_prefix/etc/config.site"
|
1623 | |
fi
|
1624 | |
shift
|
1625 | |
for ac_site_file
|
|
2279 |
ac_site_file1=$prefix/share/config.site
|
|
2280 |
ac_site_file2=$prefix/etc/config.site
|
|
2281 |
else
|
|
2282 |
ac_site_file1=$ac_default_prefix/share/config.site
|
|
2283 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
|
2284 |
fi
|
|
2285 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1626 | 2286 |
do
|
1627 | |
if test -r "$ac_site_file"; then
|
1628 | |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1629 | |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
2287 |
test "x$ac_site_file" = xNONE && continue
|
|
2288 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2289 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
2290 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1630 | 2291 |
sed 's/^/| /' "$ac_site_file" >&5
|
1631 | 2292 |
. "$ac_site_file"
|
1632 | 2293 |
fi
|
1633 | 2294 |
done
|
1634 | 2295 |
|
1635 | 2296 |
if test -r "$cache_file"; then
|
1636 | |
# Some versions of bash will fail to source /dev/null (special
|
1637 | |
# files actually), so we avoid doing that.
|
1638 | |
if test -f "$cache_file"; then
|
1639 | |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1640 | |
echo "$as_me: loading cache $cache_file" >&6;}
|
|
2297 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2298 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2299 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
2300 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
2301 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1641 | 2302 |
case $cache_file in
|
1642 | 2303 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
1643 | 2304 |
*) . "./$cache_file";;
|
1644 | 2305 |
esac
|
1645 | 2306 |
fi
|
1646 | 2307 |
else
|
1647 | |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1648 | |
echo "$as_me: creating cache $cache_file" >&6;}
|
|
2308 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
2309 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1649 | 2310 |
>$cache_file
|
1650 | 2311 |
fi
|
1651 | 2312 |
|
|
1659 | 2320 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1660 | 2321 |
case $ac_old_set,$ac_new_set in
|
1661 | 2322 |
set,)
|
1662 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1663 | |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
2323 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2324 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1664 | 2325 |
ac_cache_corrupted=: ;;
|
1665 | 2326 |
,set)
|
1666 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1667 | |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
2327 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
2328 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1668 | 2329 |
ac_cache_corrupted=: ;;
|
1669 | 2330 |
,);;
|
1670 | 2331 |
*)
|
1671 | 2332 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1672 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1673 | |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1674 | |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1675 | |
echo "$as_me: former value: $ac_old_val" >&2;}
|
1676 | |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1677 | |
echo "$as_me: current value: $ac_new_val" >&2;}
|
1678 | |
ac_cache_corrupted=:
|
|
2333 |
# differences in whitespace do not lead to failure.
|
|
2334 |
ac_old_val_w=`echo x $ac_old_val`
|
|
2335 |
ac_new_val_w=`echo x $ac_new_val`
|
|
2336 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
|
2337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2338 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
2339 |
ac_cache_corrupted=:
|
|
2340 |
else
|
|
2341 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2342 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
2343 |
eval $ac_var=\$ac_old_val
|
|
2344 |
fi
|
|
2345 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
2346 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
2347 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
2348 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1679 | 2349 |
fi;;
|
1680 | 2350 |
esac
|
1681 | 2351 |
# Pass precious variables to config.status.
|
1682 | 2352 |
if test "$ac_new_set" = set; then
|
1683 | 2353 |
case $ac_new_val in
|
1684 | |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2354 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1685 | 2355 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1686 | 2356 |
esac
|
1687 | 2357 |
case " $ac_configure_args " in
|
1688 | 2358 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1689 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2359 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1690 | 2360 |
esac
|
1691 | 2361 |
fi
|
1692 | 2362 |
done
|
1693 | 2363 |
if $ac_cache_corrupted; then
|
1694 | |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1695 | |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1696 | |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1697 | |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1698 | |
{ (exit 1); exit 1; }; }
|
1699 | |
fi
|
1700 | |
|
1701 | |
|
1702 | |
|
1703 | |
|
1704 | |
|
1705 | |
|
1706 | |
|
1707 | |
|
1708 | |
|
1709 | |
|
1710 | |
|
1711 | |
|
1712 | |
|
1713 | |
|
1714 | |
|
1715 | |
|
|
2364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2365 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2366 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
2367 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
2368 |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2369 |
fi
|
|
2370 |
## -------------------- ##
|
|
2371 |
## Main body of script. ##
|
|
2372 |
## -------------------- ##
|
1716 | 2373 |
|
1717 | 2374 |
ac_ext=c
|
1718 | 2375 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1721 | 2378 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1722 | 2379 |
|
1723 | 2380 |
|
1724 | |
am__api_version="1.9"
|
|
2381 |
am__api_version='1.11'
|
|
2382 |
|
1725 | 2383 |
ac_aux_dir=
|
1726 | 2384 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
1727 | |
if test -f "$ac_dir/install-sh"; then
|
1728 | |
ac_aux_dir=$ac_dir
|
1729 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1730 | |
break
|
1731 | |
elif test -f "$ac_dir/install.sh"; then
|
1732 | |
ac_aux_dir=$ac_dir
|
1733 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1734 | |
break
|
1735 | |
elif test -f "$ac_dir/shtool"; then
|
1736 | |
ac_aux_dir=$ac_dir
|
1737 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1738 | |
break
|
1739 | |
fi
|
|
2385 |
for ac_t in install-sh install.sh shtool; do
|
|
2386 |
if test -f "$ac_dir/$ac_t"; then
|
|
2387 |
ac_aux_dir=$ac_dir
|
|
2388 |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
|
2389 |
break 2
|
|
2390 |
fi
|
|
2391 |
done
|
1740 | 2392 |
done
|
1741 | 2393 |
if test -z "$ac_aux_dir"; then
|
1742 | |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
1743 | |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1744 | |
{ (exit 1); exit 1; }; }
|
|
2394 |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1745 | 2395 |
fi
|
1746 | 2396 |
|
1747 | 2397 |
# These three variables are undocumented and unsupported,
|
|
1766 | 2416 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1767 | 2417 |
# OS/2's system install, which has a completely different semantic
|
1768 | 2418 |
# ./install, which can be erroneously created by make from ./install.sh.
|
1769 | |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
1770 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
|
2419 |
# Reject install programs that cannot install multiple files.
|
|
2420 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
2421 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
1771 | 2422 |
if test -z "$INSTALL"; then
|
1772 | |
if test "${ac_cv_path_install+set}" = set; then
|
1773 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2423 |
if test "${ac_cv_path_install+set}" = set; then :
|
|
2424 |
$as_echo_n "(cached) " >&6
|
1774 | 2425 |
else
|
1775 | 2426 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1776 | 2427 |
for as_dir in $PATH
|
1777 | 2428 |
do
|
1778 | 2429 |
IFS=$as_save_IFS
|
1779 | 2430 |
test -z "$as_dir" && as_dir=.
|
1780 | |
# Account for people who put trailing slashes in PATH elements.
|
1781 | |
case $as_dir/ in
|
1782 | |
./ | .// | /cC/* | \
|
|
2431 |
# Account for people who put trailing slashes in PATH elements.
|
|
2432 |
case $as_dir/ in #((
|
|
2433 |
./ | .// | /[cC]/* | \
|
1783 | 2434 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1784 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
2435 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
1785 | 2436 |
/usr/ucb/* ) ;;
|
1786 | 2437 |
*)
|
1787 | 2438 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
1799 | 2450 |
# program-specific install script used by HP pwplus--don't use.
|
1800 | 2451 |
:
|
1801 | 2452 |
else
|
1802 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
1803 | |
break 3
|
|
2453 |
rm -rf conftest.one conftest.two conftest.dir
|
|
2454 |
echo one > conftest.one
|
|
2455 |
echo two > conftest.two
|
|
2456 |
mkdir conftest.dir
|
|
2457 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
2458 |
test -s conftest.one && test -s conftest.two &&
|
|
2459 |
test -s conftest.dir/conftest.one &&
|
|
2460 |
test -s conftest.dir/conftest.two
|
|
2461 |
then
|
|
2462 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
2463 |
break 3
|
|
2464 |
fi
|
1804 | 2465 |
fi
|
1805 | 2466 |
fi
|
1806 | 2467 |
done
|
1807 | 2468 |
done
|
1808 | 2469 |
;;
|
1809 | 2470 |
esac
|
1810 | |
done
|
|
2471 |
|
|
2472 |
done
|
1811 | 2473 |
IFS=$as_save_IFS
|
1812 | 2474 |
|
|
2475 |
rm -rf conftest.one conftest.two conftest.dir
|
1813 | 2476 |
|
1814 | 2477 |
fi
|
1815 | 2478 |
if test "${ac_cv_path_install+set}" = set; then
|
|
1822 | 2485 |
INSTALL=$ac_install_sh
|
1823 | 2486 |
fi
|
1824 | 2487 |
fi
|
1825 | |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
1826 | |
echo "${ECHO_T}$INSTALL" >&6; }
|
|
2488 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
2489 |
$as_echo "$INSTALL" >&6; }
|
1827 | 2490 |
|
1828 | 2491 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1829 | 2492 |
# It thinks the first close brace ends the variable substitution.
|
|
1833 | 2496 |
|
1834 | 2497 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1835 | 2498 |
|
1836 | |
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
1837 | |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
|
|
2499 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
2500 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
1838 | 2501 |
# Just in case
|
1839 | 2502 |
sleep 1
|
1840 | 2503 |
echo timestamp > conftest.file
|
|
2504 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
|
2505 |
# name. Accept space and tab only in the latter.
|
|
2506 |
am_lf='
|
|
2507 |
'
|
|
2508 |
case `pwd` in
|
|
2509 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
|
2510 |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
|
2511 |
esac
|
|
2512 |
case $srcdir in
|
|
2513 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
2514 |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
|
2515 |
esac
|
|
2516 |
|
1841 | 2517 |
# Do `set' in a subshell so we don't clobber the current shell's
|
1842 | 2518 |
# arguments. Must try -L first in case configure is actually a
|
1843 | 2519 |
# symlink; some systems play weird games with the mod time of symlinks
|
1844 | 2520 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
1845 | 2521 |
# directory).
|
1846 | 2522 |
if (
|
1847 | |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
|
2523 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
1848 | 2524 |
if test "$*" = "X"; then
|
1849 | 2525 |
# -L didn't work.
|
1850 | |
set X `ls -t $srcdir/configure conftest.file`
|
|
2526 |
set X `ls -t "$srcdir/configure" conftest.file`
|
1851 | 2527 |
fi
|
1852 | 2528 |
rm -f conftest.file
|
1853 | 2529 |
if test "$*" != "X $srcdir/configure conftest.file" \
|
|
1857 | 2533 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1858 | 2534 |
# broken ls alias from the environment. This has actually
|
1859 | 2535 |
# happened. Such a system could not be considered "sane".
|
1860 | |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
1861 | |
alias in your environment" >&5
|
1862 | |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1863 | |
alias in your environment" >&2;}
|
1864 | |
{ (exit 1); exit 1; }; }
|
|
2536 |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
|
2537 |
alias in your environment" "$LINENO" 5
|
1865 | 2538 |
fi
|
1866 | 2539 |
|
1867 | 2540 |
test "$2" = conftest.file
|
|
1870 | 2543 |
# Ok.
|
1871 | 2544 |
:
|
1872 | 2545 |
else
|
1873 | |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
1874 | |
Check your system clock" >&5
|
1875 | |
echo "$as_me: error: newly created file is older than distributed files!
|
1876 | |
Check your system clock" >&2;}
|
1877 | |
{ (exit 1); exit 1; }; }
|
1878 | |
fi
|
1879 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
1880 | |
echo "${ECHO_T}yes" >&6; }
|
|
2546 |
as_fn_error "newly created file is older than distributed files!
|
|
2547 |
Check your system clock" "$LINENO" 5
|
|
2548 |
fi
|
|
2549 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2550 |
$as_echo "yes" >&6; }
|
1881 | 2551 |
test "$program_prefix" != NONE &&
|
1882 | 2552 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
1883 | 2553 |
# Use a double $ so make ignores it.
|
1884 | 2554 |
test "$program_suffix" != NONE &&
|
1885 | 2555 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
1886 | |
# Double any \ or $. echo might interpret backslashes.
|
|
2556 |
# Double any \ or $.
|
1887 | 2557 |
# By default was `s,x,x', remove it if useless.
|
1888 | |
cat <<\_ACEOF >conftest.sed
|
1889 | |
s/[\\$]/&&/g;s/;s,x,x,$//
|
1890 | |
_ACEOF
|
1891 | |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1892 | |
rm -f conftest.sed
|
|
2558 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
|
2559 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
1893 | 2560 |
|
1894 | 2561 |
# expand $ac_aux_dir to an absolute path
|
1895 | 2562 |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
1896 | 2563 |
|
1897 | |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
2564 |
if test x"${MISSING+set}" != xset; then
|
|
2565 |
case $am_aux_dir in
|
|
2566 |
*\ * | *\ *)
|
|
2567 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
2568 |
*)
|
|
2569 |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
2570 |
esac
|
|
2571 |
fi
|
1898 | 2572 |
# Use eval to expand $SHELL
|
1899 | 2573 |
if eval "$MISSING --run true"; then
|
1900 | 2574 |
am_missing_run="$MISSING --run "
|
1901 | 2575 |
else
|
1902 | 2576 |
am_missing_run=
|
1903 | |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
1904 | |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
1905 | |
fi
|
1906 | |
|
1907 | |
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
1908 | |
# We used to keeping the `.' as first argument, in order to
|
1909 | |
# allow $(mkdir_p) to be used without argument. As in
|
1910 | |
# $(mkdir_p) $(somedir)
|
1911 | |
# where $(somedir) is conditionally defined. However this is wrong
|
1912 | |
# for two reasons:
|
1913 | |
# 1. if the package is installed by a user who cannot write `.'
|
1914 | |
# make install will fail,
|
1915 | |
# 2. the above comment should most certainly read
|
1916 | |
# $(mkdir_p) $(DESTDIR)$(somedir)
|
1917 | |
# so it does not work when $(somedir) is undefined and
|
1918 | |
# $(DESTDIR) is not.
|
1919 | |
# To support the latter case, we have to write
|
1920 | |
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
1921 | |
# so the `.' trick is pointless.
|
1922 | |
mkdir_p='mkdir -p --'
|
1923 | |
else
|
1924 | |
# On NextStep and OpenStep, the `mkdir' command does not
|
1925 | |
# recognize any option. It will interpret all options as
|
1926 | |
# directories to create, and then abort because `.' already
|
1927 | |
# exists.
|
1928 | |
for d in ./-p ./--version;
|
1929 | |
do
|
1930 | |
test -d $d && rmdir $d
|
1931 | |
done
|
1932 | |
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
1933 | |
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
1934 | |
mkdir_p='$(mkinstalldirs)'
|
1935 | |
else
|
1936 | |
mkdir_p='$(install_sh) -d'
|
1937 | |
fi
|
1938 | |
fi
|
1939 | |
|
1940 | |
for ac_prog in gawk mawk nawk awk
|
1941 | |
do
|
1942 | |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1943 | |
set dummy $ac_prog; ac_word=$2
|
1944 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1945 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1946 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
1947 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1948 | |
else
|
1949 | |
if test -n "$AWK"; then
|
1950 | |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
2577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
|
2578 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
2579 |
fi
|
|
2580 |
|
|
2581 |
if test x"${install_sh}" != xset; then
|
|
2582 |
case $am_aux_dir in
|
|
2583 |
*\ * | *\ *)
|
|
2584 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
2585 |
*)
|
|
2586 |
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
2587 |
esac
|
|
2588 |
fi
|
|
2589 |
|
|
2590 |
# Installed binaries are usually stripped using `strip' when the user
|
|
2591 |
# run `make install-strip'. However `strip' might not be the right
|
|
2592 |
# tool to use in cross-compilation environments, therefore Automake
|
|
2593 |
# will honor the `STRIP' environment variable to overrule this program.
|
|
2594 |
if test "$cross_compiling" != no; then
|
|
2595 |
if test -n "$ac_tool_prefix"; then
|
|
2596 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
2597 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|
2598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2599 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2600 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
|
2601 |
$as_echo_n "(cached) " >&6
|
|
2602 |
else
|
|
2603 |
if test -n "$STRIP"; then
|
|
2604 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
1951 | 2605 |
else
|
1952 | 2606 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1953 | 2607 |
for as_dir in $PATH
|
1954 | 2608 |
do
|
1955 | 2609 |
IFS=$as_save_IFS
|
1956 | 2610 |
test -z "$as_dir" && as_dir=.
|
1957 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2611 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1958 | 2612 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1959 | |
ac_cv_prog_AWK="$ac_prog"
|
1960 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2613 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
2614 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1961 | 2615 |
break 2
|
1962 | 2616 |
fi
|
1963 | 2617 |
done
|
|
2618 |
done
|
|
2619 |
IFS=$as_save_IFS
|
|
2620 |
|
|
2621 |
fi
|
|
2622 |
fi
|
|
2623 |
STRIP=$ac_cv_prog_STRIP
|
|
2624 |
if test -n "$STRIP"; then
|
|
2625 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
2626 |
$as_echo "$STRIP" >&6; }
|
|
2627 |
else
|
|
2628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2629 |
$as_echo "no" >&6; }
|
|
2630 |
fi
|
|
2631 |
|
|
2632 |
|
|
2633 |
fi
|
|
2634 |
if test -z "$ac_cv_prog_STRIP"; then
|
|
2635 |
ac_ct_STRIP=$STRIP
|
|
2636 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
2637 |
set dummy strip; ac_word=$2
|
|
2638 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2639 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2640 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
|
2641 |
$as_echo_n "(cached) " >&6
|
|
2642 |
else
|
|
2643 |
if test -n "$ac_ct_STRIP"; then
|
|
2644 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
2645 |
else
|
|
2646 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2647 |
for as_dir in $PATH
|
|
2648 |
do
|
|
2649 |
IFS=$as_save_IFS
|
|
2650 |
test -z "$as_dir" && as_dir=.
|
|
2651 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2652 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2653 |
ac_cv_prog_ac_ct_STRIP="strip"
|
|
2654 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2655 |
break 2
|
|
2656 |
fi
|
1964 | 2657 |
done
|
|
2658 |
done
|
|
2659 |
IFS=$as_save_IFS
|
|
2660 |
|
|
2661 |
fi
|
|
2662 |
fi
|
|
2663 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|
2664 |
if test -n "$ac_ct_STRIP"; then
|
|
2665 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
2666 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
2667 |
else
|
|
2668 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2669 |
$as_echo "no" >&6; }
|
|
2670 |
fi
|
|
2671 |
|
|
2672 |
if test "x$ac_ct_STRIP" = x; then
|
|
2673 |
STRIP=":"
|
|
2674 |
else
|
|
2675 |
case $cross_compiling:$ac_tool_warned in
|
|
2676 |
yes:)
|
|
2677 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2678 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2679 |
ac_tool_warned=yes ;;
|
|
2680 |
esac
|
|
2681 |
STRIP=$ac_ct_STRIP
|
|
2682 |
fi
|
|
2683 |
else
|
|
2684 |
STRIP="$ac_cv_prog_STRIP"
|
|
2685 |
fi
|
|
2686 |
|
|
2687 |
fi
|
|
2688 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
2689 |
|
|
2690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
|
2691 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
2692 |
if test -z "$MKDIR_P"; then
|
|
2693 |
if test "${ac_cv_path_mkdir+set}" = set; then :
|
|
2694 |
$as_echo_n "(cached) " >&6
|
|
2695 |
else
|
|
2696 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2697 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
|
2698 |
do
|
|
2699 |
IFS=$as_save_IFS
|
|
2700 |
test -z "$as_dir" && as_dir=.
|
|
2701 |
for ac_prog in mkdir gmkdir; do
|
|
2702 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2703 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
|
2704 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2705 |
'mkdir (GNU coreutils) '* | \
|
|
2706 |
'mkdir (coreutils) '* | \
|
|
2707 |
'mkdir (fileutils) '4.1*)
|
|
2708 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
2709 |
break 3;;
|
|
2710 |
esac
|
|
2711 |
done
|
|
2712 |
done
|
|
2713 |
done
|
|
2714 |
IFS=$as_save_IFS
|
|
2715 |
|
|
2716 |
fi
|
|
2717 |
|
|
2718 |
test -d ./--version && rmdir ./--version
|
|
2719 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2720 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
|
2721 |
else
|
|
2722 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2723 |
# value for MKDIR_P within a source directory, because that will
|
|
2724 |
# break other packages using the cache if that directory is
|
|
2725 |
# removed, or if the value is a relative name.
|
|
2726 |
MKDIR_P="$ac_install_sh -d"
|
|
2727 |
fi
|
|
2728 |
fi
|
|
2729 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
2730 |
$as_echo "$MKDIR_P" >&6; }
|
|
2731 |
|
|
2732 |
mkdir_p="$MKDIR_P"
|
|
2733 |
case $mkdir_p in
|
|
2734 |
[\\/$]* | ?:[\\/]*) ;;
|
|
2735 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
|
2736 |
esac
|
|
2737 |
|
|
2738 |
for ac_prog in gawk mawk nawk awk
|
|
2739 |
do
|
|
2740 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2741 |
set dummy $ac_prog; ac_word=$2
|
|
2742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2743 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2744 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
|
2745 |
$as_echo_n "(cached) " >&6
|
|
2746 |
else
|
|
2747 |
if test -n "$AWK"; then
|
|
2748 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
2749 |
else
|
|
2750 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2751 |
for as_dir in $PATH
|
|
2752 |
do
|
|
2753 |
IFS=$as_save_IFS
|
|
2754 |
test -z "$as_dir" && as_dir=.
|
|
2755 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2756 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2757 |
ac_cv_prog_AWK="$ac_prog"
|
|
2758 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2759 |
break 2
|
|
2760 |
fi
|
|
2761 |
done
|
|
2762 |
done
|
1965 | 2763 |
IFS=$as_save_IFS
|
1966 | 2764 |
|
1967 | 2765 |
fi
|
1968 | 2766 |
fi
|
1969 | 2767 |
AWK=$ac_cv_prog_AWK
|
1970 | 2768 |
if test -n "$AWK"; then
|
1971 | |
{ echo "$as_me:$LINENO: result: $AWK" >&5
|
1972 | |
echo "${ECHO_T}$AWK" >&6; }
|
1973 | |
else
|
1974 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
1975 | |
echo "${ECHO_T}no" >&6; }
|
|
2769 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
2770 |
$as_echo "$AWK" >&6; }
|
|
2771 |
else
|
|
2772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2773 |
$as_echo "no" >&6; }
|
1976 | 2774 |
fi
|
1977 | 2775 |
|
1978 | 2776 |
|
1979 | 2777 |
test -n "$AWK" && break
|
1980 | 2778 |
done
|
1981 | 2779 |
|
1982 | |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
1983 | |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
1984 | |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
1985 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
1986 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2780 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2781 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
2782 |
set x ${MAKE-make}
|
|
2783 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
2784 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
2785 |
$as_echo_n "(cached) " >&6
|
1987 | 2786 |
else
|
1988 | 2787 |
cat >conftest.make <<\_ACEOF
|
1989 | 2788 |
SHELL = /bin/sh
|
|
2000 | 2799 |
rm -f conftest.make
|
2001 | 2800 |
fi
|
2002 | 2801 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2003 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2004 | |
echo "${ECHO_T}yes" >&6; }
|
|
2802 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2803 |
$as_echo "yes" >&6; }
|
2005 | 2804 |
SET_MAKE=
|
2006 | 2805 |
else
|
2007 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2008 | |
echo "${ECHO_T}no" >&6; }
|
|
2806 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2807 |
$as_echo "no" >&6; }
|
2009 | 2808 |
SET_MAKE="MAKE=${MAKE-make}"
|
2010 | 2809 |
fi
|
2011 | 2810 |
|
|
2018 | 2817 |
fi
|
2019 | 2818 |
rmdir .tst 2>/dev/null
|
2020 | 2819 |
|
2021 | |
# test to see if srcdir already configured
|
2022 | |
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
2023 | |
test -f $srcdir/config.status; then
|
2024 | |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
2025 | |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2026 | |
{ (exit 1); exit 1; }; }
|
|
2820 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
2821 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
2822 |
# is not polluted with repeated "-I."
|
|
2823 |
am__isrc=' -I$(srcdir)'
|
|
2824 |
# test to see if srcdir already configured
|
|
2825 |
if test -f $srcdir/config.status; then
|
|
2826 |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
|
2827 |
fi
|
2027 | 2828 |
fi
|
2028 | 2829 |
|
2029 | 2830 |
# test whether we have cygpath
|
|
2038 | 2839 |
|
2039 | 2840 |
# Define the identity of the package.
|
2040 | 2841 |
PACKAGE=mtr
|
2041 | |
VERSION=0.80
|
|
2842 |
VERSION=0.81
|
2042 | 2843 |
|
2043 | 2844 |
|
2044 | 2845 |
cat >>confdefs.h <<_ACEOF
|
|
2065 | 2866 |
|
2066 | 2867 |
|
2067 | 2868 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
2068 | |
|
2069 | |
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
2070 | |
|
2071 | |
# Installed binaries are usually stripped using `strip' when the user
|
2072 | |
# run `make install-strip'. However `strip' might not be the right
|
2073 | |
# tool to use in cross-compilation environments, therefore Automake
|
2074 | |
# will honor the `STRIP' environment variable to overrule this program.
|
2075 | |
if test "$cross_compiling" != no; then
|
2076 | |
if test -n "$ac_tool_prefix"; then
|
2077 | |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2078 | |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2079 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2080 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2081 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
2082 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2083 | |
else
|
2084 | |
if test -n "$STRIP"; then
|
2085 | |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
2086 | |
else
|
2087 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2088 | |
for as_dir in $PATH
|
2089 | |
do
|
2090 | |
IFS=$as_save_IFS
|
2091 | |
test -z "$as_dir" && as_dir=.
|
2092 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2093 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2094 | |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2095 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2096 | |
break 2
|
2097 | |
fi
|
2098 | |
done
|
2099 | |
done
|
2100 | |
IFS=$as_save_IFS
|
2101 | |
|
2102 | |
fi
|
2103 | |
fi
|
2104 | |
STRIP=$ac_cv_prog_STRIP
|
2105 | |
if test -n "$STRIP"; then
|
2106 | |
{ echo "$as_me:$LINENO: result: $STRIP" >&5
|
2107 | |
echo "${ECHO_T}$STRIP" >&6; }
|
2108 | |
else
|
2109 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2110 | |
echo "${ECHO_T}no" >&6; }
|
2111 | |
fi
|
2112 | |
|
2113 | |
|
2114 | |
fi
|
2115 | |
if test -z "$ac_cv_prog_STRIP"; then
|
2116 | |
ac_ct_STRIP=$STRIP
|
2117 | |
# Extract the first word of "strip", so it can be a program name with args.
|
2118 | |
set dummy strip; ac_word=$2
|
2119 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2120 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2121 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
2122 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2123 | |
else
|
2124 | |
if test -n "$ac_ct_STRIP"; then
|
2125 | |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
2126 | |
else
|
2127 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2128 | |
for as_dir in $PATH
|
2129 | |
do
|
2130 | |
IFS=$as_save_IFS
|
2131 | |
test -z "$as_dir" && as_dir=.
|
2132 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2133 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2134 | |
ac_cv_prog_ac_ct_STRIP="strip"
|
2135 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2136 | |
break 2
|
2137 | |
fi
|
2138 | |
done
|
2139 | |
done
|
2140 | |
IFS=$as_save_IFS
|
2141 | |
|
2142 | |
fi
|
2143 | |
fi
|
2144 | |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2145 | |
if test -n "$ac_ct_STRIP"; then
|
2146 | |
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
2147 | |
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
|
2148 | |
else
|
2149 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2150 | |
echo "${ECHO_T}no" >&6; }
|
2151 | |
fi
|
2152 | |
|
2153 | |
if test "x$ac_ct_STRIP" = x; then
|
2154 | |
STRIP=":"
|
2155 | |
else
|
2156 | |
case $cross_compiling:$ac_tool_warned in
|
2157 | |
yes:)
|
2158 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2159 | |
whose name does not start with the host triplet. If you think this
|
2160 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2161 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2162 | |
whose name does not start with the host triplet. If you think this
|
2163 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
2164 | |
ac_tool_warned=yes ;;
|
2165 | |
esac
|
2166 | |
STRIP=$ac_ct_STRIP
|
2167 | |
fi
|
2168 | |
else
|
2169 | |
STRIP="$ac_cv_prog_STRIP"
|
2170 | |
fi
|
2171 | |
|
2172 | |
fi
|
2173 | |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
2174 | 2869 |
|
2175 | 2870 |
# We need awk for the "check" target. The system "awk" is bad on
|
2176 | 2871 |
# some platforms.
|
|
2200 | 2895 |
if test -n "$ac_tool_prefix"; then
|
2201 | 2896 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2202 | 2897 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2203 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2204 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2205 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2206 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2898 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2899 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2900 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2901 |
$as_echo_n "(cached) " >&6
|
2207 | 2902 |
else
|
2208 | 2903 |
if test -n "$CC"; then
|
2209 | 2904 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2213 | 2908 |
do
|
2214 | 2909 |
IFS=$as_save_IFS
|
2215 | 2910 |
test -z "$as_dir" && as_dir=.
|
2216 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2911 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2217 | 2912 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2218 | 2913 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2219 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2914 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2220 | 2915 |
break 2
|
2221 | 2916 |
fi
|
2222 | 2917 |
done
|
2223 | |
done
|
|
2918 |
done
|
2224 | 2919 |
IFS=$as_save_IFS
|
2225 | 2920 |
|
2226 | 2921 |
fi
|
2227 | 2922 |
fi
|
2228 | 2923 |
CC=$ac_cv_prog_CC
|
2229 | 2924 |
if test -n "$CC"; then
|
2230 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2231 | |
echo "${ECHO_T}$CC" >&6; }
|
2232 | |
else
|
2233 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2234 | |
echo "${ECHO_T}no" >&6; }
|
|
2925 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2926 |
$as_echo "$CC" >&6; }
|
|
2927 |
else
|
|
2928 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2929 |
$as_echo "no" >&6; }
|
2235 | 2930 |
fi
|
2236 | 2931 |
|
2237 | 2932 |
|
|
2240 | 2935 |
ac_ct_CC=$CC
|
2241 | 2936 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2242 | 2937 |
set dummy gcc; ac_word=$2
|
2243 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2244 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2245 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2246 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2938 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2939 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2940 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
2941 |
$as_echo_n "(cached) " >&6
|
2247 | 2942 |
else
|
2248 | 2943 |
if test -n "$ac_ct_CC"; then
|
2249 | 2944 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2253 | 2948 |
do
|
2254 | 2949 |
IFS=$as_save_IFS
|
2255 | 2950 |
test -z "$as_dir" && as_dir=.
|
2256 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2951 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2257 | 2952 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2258 | 2953 |
ac_cv_prog_ac_ct_CC="gcc"
|
2259 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2954 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2260 | 2955 |
break 2
|
2261 | 2956 |
fi
|
2262 | 2957 |
done
|
2263 | |
done
|
|
2958 |
done
|
2264 | 2959 |
IFS=$as_save_IFS
|
2265 | 2960 |
|
2266 | 2961 |
fi
|
2267 | 2962 |
fi
|
2268 | 2963 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2269 | 2964 |
if test -n "$ac_ct_CC"; then
|
2270 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2271 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
2272 | |
else
|
2273 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2274 | |
echo "${ECHO_T}no" >&6; }
|
|
2965 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
2966 |
$as_echo "$ac_ct_CC" >&6; }
|
|
2967 |
else
|
|
2968 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2969 |
$as_echo "no" >&6; }
|
2275 | 2970 |
fi
|
2276 | 2971 |
|
2277 | 2972 |
if test "x$ac_ct_CC" = x; then
|
|
2279 | 2974 |
else
|
2280 | 2975 |
case $cross_compiling:$ac_tool_warned in
|
2281 | 2976 |
yes:)
|
2282 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2283 | |
whose name does not start with the host triplet. If you think this
|
2284 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2285 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2286 | |
whose name does not start with the host triplet. If you think this
|
2287 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2977 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2978 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2288 | 2979 |
ac_tool_warned=yes ;;
|
2289 | 2980 |
esac
|
2290 | 2981 |
CC=$ac_ct_CC
|
|
2297 | 2988 |
if test -n "$ac_tool_prefix"; then
|
2298 | 2989 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2299 | 2990 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2300 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2301 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2302 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2303 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2991 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2992 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2993 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2994 |
$as_echo_n "(cached) " >&6
|
2304 | 2995 |
else
|
2305 | 2996 |
if test -n "$CC"; then
|
2306 | 2997 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2310 | 3001 |
do
|
2311 | 3002 |
IFS=$as_save_IFS
|
2312 | 3003 |
test -z "$as_dir" && as_dir=.
|
2313 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3004 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2314 | 3005 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2315 | 3006 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2316 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3007 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2317 | 3008 |
break 2
|
2318 | 3009 |
fi
|
2319 | 3010 |
done
|
2320 | |
done
|
|
3011 |
done
|
2321 | 3012 |
IFS=$as_save_IFS
|
2322 | 3013 |
|
2323 | 3014 |
fi
|
2324 | 3015 |
fi
|
2325 | 3016 |
CC=$ac_cv_prog_CC
|
2326 | 3017 |
if test -n "$CC"; then
|
2327 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2328 | |
echo "${ECHO_T}$CC" >&6; }
|
2329 | |
else
|
2330 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2331 | |
echo "${ECHO_T}no" >&6; }
|
|
3018 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3019 |
$as_echo "$CC" >&6; }
|
|
3020 |
else
|
|
3021 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3022 |
$as_echo "no" >&6; }
|
2332 | 3023 |
fi
|
2333 | 3024 |
|
2334 | 3025 |
|
|
2337 | 3028 |
if test -z "$CC"; then
|
2338 | 3029 |
# Extract the first word of "cc", so it can be a program name with args.
|
2339 | 3030 |
set dummy cc; ac_word=$2
|
2340 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2341 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2342 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2343 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3032 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3033 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
3034 |
$as_echo_n "(cached) " >&6
|
2344 | 3035 |
else
|
2345 | 3036 |
if test -n "$CC"; then
|
2346 | 3037 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2351 | 3042 |
do
|
2352 | 3043 |
IFS=$as_save_IFS
|
2353 | 3044 |
test -z "$as_dir" && as_dir=.
|
2354 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3045 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2355 | 3046 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2356 | 3047 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2357 | 3048 |
ac_prog_rejected=yes
|
2358 | 3049 |
continue
|
2359 | 3050 |
fi
|
2360 | 3051 |
ac_cv_prog_CC="cc"
|
2361 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3052 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2362 | 3053 |
break 2
|
2363 | 3054 |
fi
|
2364 | 3055 |
done
|
2365 | |
done
|
|
3056 |
done
|
2366 | 3057 |
IFS=$as_save_IFS
|
2367 | 3058 |
|
2368 | 3059 |
if test $ac_prog_rejected = yes; then
|
|
2381 | 3072 |
fi
|
2382 | 3073 |
CC=$ac_cv_prog_CC
|
2383 | 3074 |
if test -n "$CC"; then
|
2384 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2385 | |
echo "${ECHO_T}$CC" >&6; }
|
2386 | |
else
|
2387 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2388 | |
echo "${ECHO_T}no" >&6; }
|
|
3075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3076 |
$as_echo "$CC" >&6; }
|
|
3077 |
else
|
|
3078 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3079 |
$as_echo "no" >&6; }
|
2389 | 3080 |
fi
|
2390 | 3081 |
|
2391 | 3082 |
|
|
2396 | 3087 |
do
|
2397 | 3088 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2398 | 3089 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2399 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2400 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2401 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2402 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3090 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3091 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3092 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
3093 |
$as_echo_n "(cached) " >&6
|
2403 | 3094 |
else
|
2404 | 3095 |
if test -n "$CC"; then
|
2405 | 3096 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2409 | 3100 |
do
|
2410 | 3101 |
IFS=$as_save_IFS
|
2411 | 3102 |
test -z "$as_dir" && as_dir=.
|
2412 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3103 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2413 | 3104 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2414 | 3105 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2415 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3106 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2416 | 3107 |
break 2
|
2417 | 3108 |
fi
|
2418 | 3109 |
done
|
2419 | |
done
|
|
3110 |
done
|
2420 | 3111 |
IFS=$as_save_IFS
|
2421 | 3112 |
|
2422 | 3113 |
fi
|
2423 | 3114 |
fi
|
2424 | 3115 |
CC=$ac_cv_prog_CC
|
2425 | 3116 |
if test -n "$CC"; then
|
2426 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2427 | |
echo "${ECHO_T}$CC" >&6; }
|
2428 | |
else
|
2429 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2430 | |
echo "${ECHO_T}no" >&6; }
|
|
3117 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3118 |
$as_echo "$CC" >&6; }
|
|
3119 |
else
|
|
3120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3121 |
$as_echo "no" >&6; }
|
2431 | 3122 |
fi
|
2432 | 3123 |
|
2433 | 3124 |
|
|
2440 | 3131 |
do
|
2441 | 3132 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2442 | 3133 |
set dummy $ac_prog; ac_word=$2
|
2443 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2444 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2445 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2446 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3134 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3135 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3136 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
3137 |
$as_echo_n "(cached) " >&6
|
2447 | 3138 |
else
|
2448 | 3139 |
if test -n "$ac_ct_CC"; then
|
2449 | 3140 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2453 | 3144 |
do
|
2454 | 3145 |
IFS=$as_save_IFS
|
2455 | 3146 |
test -z "$as_dir" && as_dir=.
|
2456 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3147 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2457 | 3148 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2458 | 3149 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2459 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3150 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2460 | 3151 |
break 2
|
2461 | 3152 |
fi
|
2462 | 3153 |
done
|
2463 | |
done
|
|
3154 |
done
|
2464 | 3155 |
IFS=$as_save_IFS
|
2465 | 3156 |
|
2466 | 3157 |
fi
|
2467 | 3158 |
fi
|
2468 | 3159 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2469 | 3160 |
if test -n "$ac_ct_CC"; then
|
2470 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2471 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
2472 | |
else
|
2473 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2474 | |
echo "${ECHO_T}no" >&6; }
|
|
3161 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
3162 |
$as_echo "$ac_ct_CC" >&6; }
|
|
3163 |
else
|
|
3164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3165 |
$as_echo "no" >&6; }
|
2475 | 3166 |
fi
|
2476 | 3167 |
|
2477 | 3168 |
|
|
2483 | 3174 |
else
|
2484 | 3175 |
case $cross_compiling:$ac_tool_warned in
|
2485 | 3176 |
yes:)
|
2486 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2487 | |
whose name does not start with the host triplet. If you think this
|
2488 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2489 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2490 | |
whose name does not start with the host triplet. If you think this
|
2491 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3177 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3178 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2492 | 3179 |
ac_tool_warned=yes ;;
|
2493 | 3180 |
esac
|
2494 | 3181 |
CC=$ac_ct_CC
|
|
2498 | 3185 |
fi
|
2499 | 3186 |
|
2500 | 3187 |
|
2501 | |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2502 | |
See \`config.log' for more details." >&5
|
2503 | |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2504 | |
See \`config.log' for more details." >&2;}
|
2505 | |
{ (exit 1); exit 1; }; }
|
|
3188 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3189 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3190 |
as_fn_error "no acceptable C compiler found in \$PATH
|
|
3191 |
See \`config.log' for more details." "$LINENO" 5; }
|
2506 | 3192 |
|
2507 | 3193 |
# Provide some information about the compiler.
|
2508 | |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
2509 | |
ac_compiler=`set X $ac_compile; echo $2`
|
2510 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
3194 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
3195 |
set X $ac_compile
|
|
3196 |
ac_compiler=$2
|
|
3197 |
for ac_option in --version -v -V -qversion; do
|
|
3198 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2511 | 3199 |
case "(($ac_try" in
|
2512 | 3200 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2513 | 3201 |
*) ac_try_echo=$ac_try;;
|
2514 | 3202 |
esac
|
2515 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2516 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
3203 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3204 |
$as_echo "$ac_try_echo"; } >&5
|
|
3205 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2517 | 3206 |
ac_status=$?
|
2518 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2519 | |
(exit $ac_status); }
|
2520 | |
{ (ac_try="$ac_compiler -v >&5"
|
|
3207 |
if test -s conftest.err; then
|
|
3208 |
sed '10a\
|
|
3209 |
... rest of stderr output deleted ...
|
|
3210 |
10q' conftest.err >conftest.er1
|
|
3211 |
cat conftest.er1 >&5
|
|
3212 |
fi
|
|
3213 |
rm -f conftest.er1 conftest.err
|
|
3214 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3215 |
test $ac_status = 0; }
|
|
3216 |
done
|
|
3217 |
|
|
3218 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3219 |
/* end confdefs.h. */
|
|
3220 |
|
|
3221 |
int
|
|
3222 |
main ()
|
|
3223 |
{
|
|
3224 |
|
|
3225 |
;
|
|
3226 |
return 0;
|
|
3227 |
}
|
|
3228 |
_ACEOF
|
|
3229 |
ac_clean_files_save=$ac_clean_files
|
|
3230 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
|
3231 |
# Try to create an executable without -o first, disregard a.out.
|
|
3232 |
# It will help us diagnose broken compilers, and finding out an intuition
|
|
3233 |
# of exeext.
|
|
3234 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
3235 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
|
3236 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
3237 |
|
|
3238 |
# The possible output files:
|
|
3239 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
3240 |
|
|
3241 |
ac_rmfiles=
|
|
3242 |
for ac_file in $ac_files
|
|
3243 |
do
|
|
3244 |
case $ac_file in
|
|
3245 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
|
3246 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
|
3247 |
esac
|
|
3248 |
done
|
|
3249 |
rm -f $ac_rmfiles
|
|
3250 |
|
|
3251 |
if { { ac_try="$ac_link_default"
|
2521 | 3252 |
case "(($ac_try" in
|
2522 | 3253 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2523 | 3254 |
*) ac_try_echo=$ac_try;;
|
2524 | 3255 |
esac
|
2525 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2526 | |
(eval "$ac_compiler -v >&5") 2>&5
|
2527 | |
ac_status=$?
|
2528 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2529 | |
(exit $ac_status); }
|
2530 | |
{ (ac_try="$ac_compiler -V >&5"
|
2531 | |
case "(($ac_try" in
|
2532 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2533 | |
*) ac_try_echo=$ac_try;;
|
2534 | |
esac
|
2535 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2536 | |
(eval "$ac_compiler -V >&5") 2>&5
|
2537 | |
ac_status=$?
|
2538 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2539 | |
(exit $ac_status); }
|
2540 | |
|
2541 | |
cat >conftest.$ac_ext <<_ACEOF
|
2542 | |
/* confdefs.h. */
|
2543 | |
_ACEOF
|
2544 | |
cat confdefs.h >>conftest.$ac_ext
|
2545 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2546 | |
/* end confdefs.h. */
|
2547 | |
|
2548 | |
int
|
2549 | |
main ()
|
2550 | |
{
|
2551 | |
|
2552 | |
;
|
2553 | |
return 0;
|
2554 | |
}
|
2555 | |
_ACEOF
|
2556 | |
ac_clean_files_save=$ac_clean_files
|
2557 | |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
2558 | |
# Try to create an executable without -o first, disregard a.out.
|
2559 | |
# It will help us diagnose broken compilers, and finding out an intuition
|
2560 | |
# of exeext.
|
2561 | |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2562 | |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
2563 | |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2564 | |
#
|
2565 | |
# List of possible output files, starting from the most likely.
|
2566 | |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
2567 | |
# only as a last resort. b.out is created by i960 compilers.
|
2568 | |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
2569 | |
#
|
2570 | |
# The IRIX 6 linker writes into existing files which may not be
|
2571 | |
# executable, retaining their permissions. Remove them first so a
|
2572 | |
# subsequent execution test works.
|
2573 | |
ac_rmfiles=
|
2574 | |
for ac_file in $ac_files
|
2575 | |
do
|
2576 | |
case $ac_file in
|
2577 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
2578 | |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
2579 | |
esac
|
2580 | |
done
|
2581 | |
rm -f $ac_rmfiles
|
2582 | |
|
2583 | |
if { (ac_try="$ac_link_default"
|
2584 | |
case "(($ac_try" in
|
2585 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2586 | |
*) ac_try_echo=$ac_try;;
|
2587 | |
esac
|
2588 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3256 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3257 |
$as_echo "$ac_try_echo"; } >&5
|
2589 | 3258 |
(eval "$ac_link_default") 2>&5
|
2590 | 3259 |
ac_status=$?
|
2591 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2592 | |
(exit $ac_status); }; then
|
|
3260 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3261 |
test $ac_status = 0; }; then :
|
2593 | 3262 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2594 | 3263 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2595 | 3264 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2599 | 3268 |
do
|
2600 | 3269 |
test -f "$ac_file" || continue
|
2601 | 3270 |
case $ac_file in
|
2602 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
|
3271 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
2603 | 3272 |
;;
|
2604 | 3273 |
[ab].out )
|
2605 | 3274 |
# We found the default executable, but exeext='' is most
|
2606 | 3275 |
# certainly right.
|
2607 | 3276 |
break;;
|
2608 | 3277 |
*.* )
|
2609 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
3278 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2610 | 3279 |
then :; else
|
2611 | 3280 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2612 | 3281 |
fi
|
|
2625 | 3294 |
else
|
2626 | 3295 |
ac_file=''
|
2627 | 3296 |
fi
|
2628 | |
|
2629 | |
{ echo "$as_me:$LINENO: result: $ac_file" >&5
|
2630 | |
echo "${ECHO_T}$ac_file" >&6; }
|
2631 | |
if test -z "$ac_file"; then
|
2632 | |
echo "$as_me: failed program was:" >&5
|
|
3297 |
if test -z "$ac_file"; then :
|
|
3298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3299 |
$as_echo "no" >&6; }
|
|
3300 |
$as_echo "$as_me: failed program was:" >&5
|
2633 | 3301 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2634 | 3302 |
|
2635 | |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2636 | |
See \`config.log' for more details." >&5
|
2637 | |
echo "$as_me: error: C compiler cannot create executables
|
2638 | |
See \`config.log' for more details." >&2;}
|
2639 | |
{ (exit 77); exit 77; }; }
|
2640 | |
fi
|
2641 | |
|
|
3303 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3304 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3305 |
{ as_fn_set_status 77
|
|
3306 |
as_fn_error "C compiler cannot create executables
|
|
3307 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
|
3308 |
else
|
|
3309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3310 |
$as_echo "yes" >&6; }
|
|
3311 |
fi
|
|
3312 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
3313 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3314 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
3315 |
$as_echo "$ac_file" >&6; }
|
2642 | 3316 |
ac_exeext=$ac_cv_exeext
|
2643 | 3317 |
|
2644 | |
# Check that the compiler produces executables we can run. If not, either
|
2645 | |
# the compiler is broken, or we cross compile.
|
2646 | |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2647 | |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
2648 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2649 | |
# If not cross compiling, check that we can run a simple program.
|
2650 | |
if test "$cross_compiling" != yes; then
|
2651 | |
if { ac_try='./$ac_file'
|
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_try") 2>&5
|
2658 | |
ac_status=$?
|
2659 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2660 | |
(exit $ac_status); }; }; then
|
2661 | |
cross_compiling=no
|
2662 | |
else
|
2663 | |
if test "$cross_compiling" = maybe; then
|
2664 | |
cross_compiling=yes
|
2665 | |
else
|
2666 | |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
2667 | |
If you meant to cross compile, use \`--host'.
|
2668 | |
See \`config.log' for more details." >&5
|
2669 | |
echo "$as_me: error: cannot run C compiled programs.
|
2670 | |
If you meant to cross compile, use \`--host'.
|
2671 | |
See \`config.log' for more details." >&2;}
|
2672 | |
{ (exit 1); exit 1; }; }
|
2673 | |
fi
|
2674 | |
fi
|
2675 | |
fi
|
2676 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2677 | |
echo "${ECHO_T}yes" >&6; }
|
2678 | |
|
2679 | |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
|
3318 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2680 | 3319 |
ac_clean_files=$ac_clean_files_save
|
2681 | |
# Check that the compiler produces executables we can run. If not, either
|
2682 | |
# the compiler is broken, or we cross compile.
|
2683 | |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2684 | |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
2685 | |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2686 | |
echo "${ECHO_T}$cross_compiling" >&6; }
|
2687 | |
|
2688 | |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
2689 | |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
2690 | |
if { (ac_try="$ac_link"
|
|
3320 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
3321 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
3322 |
if { { ac_try="$ac_link"
|
2691 | 3323 |
case "(($ac_try" in
|
2692 | 3324 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2693 | 3325 |
*) ac_try_echo=$ac_try;;
|
2694 | 3326 |
esac
|
2695 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3327 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3328 |
$as_echo "$ac_try_echo"; } >&5
|
2696 | 3329 |
(eval "$ac_link") 2>&5
|
2697 | 3330 |
ac_status=$?
|
2698 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2699 | |
(exit $ac_status); }; then
|
|
3331 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3332 |
test $ac_status = 0; }; then :
|
2700 | 3333 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2701 | 3334 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2702 | 3335 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2704 | 3337 |
for ac_file in conftest.exe conftest conftest.*; do
|
2705 | 3338 |
test -f "$ac_file" || continue
|
2706 | 3339 |
case $ac_file in
|
2707 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
3340 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
2708 | 3341 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2709 | 3342 |
break;;
|
2710 | 3343 |
* ) break;;
|
2711 | 3344 |
esac
|
2712 | 3345 |
done
|
2713 | 3346 |
else
|
2714 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2715 | |
See \`config.log' for more details." >&5
|
2716 | |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2717 | |
See \`config.log' for more details." >&2;}
|
2718 | |
{ (exit 1); exit 1; }; }
|
2719 | |
fi
|
2720 | |
|
2721 | |
rm -f conftest$ac_cv_exeext
|
2722 | |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
2723 | |
echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
|
3347 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3348 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3349 |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
|
3350 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3351 |
fi
|
|
3352 |
rm -f conftest conftest$ac_cv_exeext
|
|
3353 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
3354 |
$as_echo "$ac_cv_exeext" >&6; }
|
2724 | 3355 |
|
2725 | 3356 |
rm -f conftest.$ac_ext
|
2726 | 3357 |
EXEEXT=$ac_cv_exeext
|
2727 | 3358 |
ac_exeext=$EXEEXT
|
2728 | |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
2729 | |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
2730 | |
if test "${ac_cv_objext+set}" = set; then
|
2731 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2732 | |
else
|
2733 | |
cat >conftest.$ac_ext <<_ACEOF
|
2734 | |
/* confdefs.h. */
|
2735 | |
_ACEOF
|
2736 | |
cat confdefs.h >>conftest.$ac_ext
|
2737 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3359 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2738 | 3360 |
/* end confdefs.h. */
|
2739 | |
|
|
3361 |
#include <stdio.h>
|
2740 | 3362 |
int
|
2741 | 3363 |
main ()
|
2742 | 3364 |
{
|
|
3365 |
FILE *f = fopen ("conftest.out", "w");
|
|
3366 |
return ferror (f) || fclose (f) != 0;
|
2743 | 3367 |
|
2744 | 3368 |
;
|
2745 | 3369 |
return 0;
|
2746 | 3370 |
}
|
2747 | 3371 |
_ACEOF
|
2748 | |
rm -f conftest.o conftest.obj
|
2749 | |
if { (ac_try="$ac_compile"
|
|
3372 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
3373 |
# Check that the compiler produces executables we can run. If not, either
|
|
3374 |
# the compiler is broken, or we cross compile.
|
|
3375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
3376 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
3377 |
if test "$cross_compiling" != yes; then
|
|
3378 |
{ { ac_try="$ac_link"
|
2750 | 3379 |
case "(($ac_try" in
|
2751 | 3380 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2752 | 3381 |
*) ac_try_echo=$ac_try;;
|
2753 | 3382 |
esac
|
2754 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3383 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3384 |
$as_echo "$ac_try_echo"; } >&5
|
|
3385 |
(eval "$ac_link") 2>&5
|
|
3386 |
ac_status=$?
|
|
3387 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3388 |
test $ac_status = 0; }
|
|
3389 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
3390 |
{ { case "(($ac_try" in
|
|
3391 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3392 |
*) ac_try_echo=$ac_try;;
|
|
3393 |
esac
|
|
3394 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3395 |
$as_echo "$ac_try_echo"; } >&5
|
|
3396 |
(eval "$ac_try") 2>&5
|
|
3397 |
ac_status=$?
|
|
3398 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3399 |
test $ac_status = 0; }; }; then
|
|
3400 |
cross_compiling=no
|
|
3401 |
else
|
|
3402 |
if test "$cross_compiling" = maybe; then
|
|
3403 |
cross_compiling=yes
|
|
3404 |
else
|
|
3405 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3406 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3407 |
as_fn_error "cannot run C compiled programs.
|
|
3408 |
If you meant to cross compile, use \`--host'.
|
|
3409 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3410 |
fi
|
|
3411 |
fi
|
|
3412 |
fi
|
|
3413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
3414 |
$as_echo "$cross_compiling" >&6; }
|
|
3415 |
|
|
3416 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
3417 |
ac_clean_files=$ac_clean_files_save
|
|
3418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
3419 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
3420 |
if test "${ac_cv_objext+set}" = set; then :
|
|
3421 |
$as_echo_n "(cached) " >&6
|
|
3422 |
else
|
|
3423 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3424 |
/* end confdefs.h. */
|
|
3425 |
|
|
3426 |
int
|
|
3427 |
main ()
|
|
3428 |
{
|
|
3429 |
|
|
3430 |
;
|
|
3431 |
return 0;
|
|
3432 |
}
|
|
3433 |
_ACEOF
|
|
3434 |
rm -f conftest.o conftest.obj
|
|
3435 |
if { { ac_try="$ac_compile"
|
|
3436 |
case "(($ac_try" in
|
|
3437 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3438 |
*) ac_try_echo=$ac_try;;
|
|
3439 |
esac
|
|
3440 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3441 |
$as_echo "$ac_try_echo"; } >&5
|
2755 | 3442 |
(eval "$ac_compile") 2>&5
|
2756 | 3443 |
ac_status=$?
|
2757 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2758 | |
(exit $ac_status); }; then
|
|
3444 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3445 |
test $ac_status = 0; }; then :
|
2759 | 3446 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2760 | 3447 |
test -f "$ac_file" || continue;
|
2761 | 3448 |
case $ac_file in
|
2762 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
|
3449 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
2763 | 3450 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2764 | 3451 |
break;;
|
2765 | 3452 |
esac
|
2766 | 3453 |
done
|
2767 | 3454 |
else
|
2768 | |
echo "$as_me: failed program was:" >&5
|
|
3455 |
$as_echo "$as_me: failed program was:" >&5
|
2769 | 3456 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2770 | 3457 |
|
2771 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2772 | |
See \`config.log' for more details." >&5
|
2773 | |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2774 | |
See \`config.log' for more details." >&2;}
|
2775 | |
{ (exit 1); exit 1; }; }
|
2776 | |
fi
|
2777 | |
|
|
3458 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3459 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3460 |
as_fn_error "cannot compute suffix of object files: cannot compile
|
|
3461 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3462 |
fi
|
2778 | 3463 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2779 | 3464 |
fi
|
2780 | |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
2781 | |
echo "${ECHO_T}$ac_cv_objext" >&6; }
|
|
3465 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
3466 |
$as_echo "$ac_cv_objext" >&6; }
|
2782 | 3467 |
OBJEXT=$ac_cv_objext
|
2783 | 3468 |
ac_objext=$OBJEXT
|
2784 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
2785 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
2786 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2787 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2788 | |
else
|
2789 | |
cat >conftest.$ac_ext <<_ACEOF
|
2790 | |
/* confdefs.h. */
|
2791 | |
_ACEOF
|
2792 | |
cat confdefs.h >>conftest.$ac_ext
|
2793 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
|
3470 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
3471 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
|
3472 |
$as_echo_n "(cached) " >&6
|
|
3473 |
else
|
|
3474 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2794 | 3475 |
/* end confdefs.h. */
|
2795 | 3476 |
|
2796 | 3477 |
int
|
|
2804 | 3485 |
return 0;
|
2805 | 3486 |
}
|
2806 | 3487 |
_ACEOF
|
2807 | |
rm -f conftest.$ac_objext
|
2808 | |
if { (ac_try="$ac_compile"
|
2809 | |
case "(($ac_try" in
|
2810 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2811 | |
*) ac_try_echo=$ac_try;;
|
2812 | |
esac
|
2813 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2814 | |
(eval "$ac_compile") 2>conftest.er1
|
2815 | |
ac_status=$?
|
2816 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2817 | |
rm -f conftest.er1
|
2818 | |
cat conftest.err >&5
|
2819 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2820 | |
(exit $ac_status); } && {
|
2821 | |
test -z "$ac_c_werror_flag" ||
|
2822 | |
test ! -s conftest.err
|
2823 | |
} && test -s conftest.$ac_objext; then
|
|
3488 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2824 | 3489 |
ac_compiler_gnu=yes
|
2825 | 3490 |
else
|
2826 | |
echo "$as_me: failed program was:" >&5
|
2827 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2828 | |
|
2829 | |
ac_compiler_gnu=no
|
2830 | |
fi
|
2831 | |
|
|
3491 |
ac_compiler_gnu=no
|
|
3492 |
fi
|
2832 | 3493 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2833 | 3494 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2834 | 3495 |
|
2835 | 3496 |
fi
|
2836 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
2837 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
2838 | |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
3497 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
3498 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
3499 |
if test $ac_compiler_gnu = yes; then
|
|
3500 |
GCC=yes
|
|
3501 |
else
|
|
3502 |
GCC=
|
|
3503 |
fi
|
2839 | 3504 |
ac_test_CFLAGS=${CFLAGS+set}
|
2840 | 3505 |
ac_save_CFLAGS=$CFLAGS
|
2841 | |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
2842 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
2843 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2844 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
3507 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
3508 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
|
3509 |
$as_echo_n "(cached) " >&6
|
2845 | 3510 |
else
|
2846 | 3511 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
2847 | 3512 |
ac_c_werror_flag=yes
|
2848 | 3513 |
ac_cv_prog_cc_g=no
|
2849 | 3514 |
CFLAGS="-g"
|
2850 | |
cat >conftest.$ac_ext <<_ACEOF
|
2851 | |
/* confdefs.h. */
|
2852 | |
_ACEOF
|
2853 | |
cat confdefs.h >>conftest.$ac_ext
|
2854 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3515 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2855 | 3516 |
/* end confdefs.h. */
|
2856 | 3517 |
|
2857 | 3518 |
int
|
|
2862 | 3523 |
return 0;
|
2863 | 3524 |
}
|
2864 | 3525 |
_ACEOF
|
2865 | |
rm -f conftest.$ac_objext
|
2866 | |
if { (ac_try="$ac_compile"
|
2867 | |
case "(($ac_try" in
|
2868 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2869 | |
*) ac_try_echo=$ac_try;;
|
2870 | |
esac
|
2871 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2872 | |
(eval "$ac_compile") 2>conftest.er1
|
2873 | |
ac_status=$?
|
2874 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2875 | |
rm -f conftest.er1
|
2876 | |
cat conftest.err >&5
|
2877 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2878 | |
(exit $ac_status); } && {
|
2879 | |
test -z "$ac_c_werror_flag" ||
|
2880 | |
test ! -s conftest.err
|
2881 | |
} && test -s conftest.$ac_objext; then
|
|
3526 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2882 | 3527 |
ac_cv_prog_cc_g=yes
|
2883 | 3528 |
else
|
2884 | |
echo "$as_me: failed program was:" >&5
|
2885 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2886 | |
|
2887 | |
CFLAGS=""
|
2888 | |
cat >conftest.$ac_ext <<_ACEOF
|
2889 | |
/* confdefs.h. */
|
2890 | |
_ACEOF
|
2891 | |
cat confdefs.h >>conftest.$ac_ext
|
2892 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3529 |
CFLAGS=""
|
|
3530 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2893 | 3531 |
/* end confdefs.h. */
|
2894 | 3532 |
|
2895 | 3533 |
int
|
|
2900 | 3538 |
return 0;
|
2901 | 3539 |
}
|
2902 | 3540 |
_ACEOF
|
2903 | |
rm -f conftest.$ac_objext
|
2904 | |
if { (ac_try="$ac_compile"
|
2905 | |
case "(($ac_try" in
|
2906 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2907 | |
*) ac_try_echo=$ac_try;;
|
2908 | |
esac
|
2909 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2910 | |
(eval "$ac_compile") 2>conftest.er1
|
2911 | |
ac_status=$?
|
2912 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2913 | |
rm -f conftest.er1
|
2914 | |
cat conftest.err >&5
|
2915 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2916 | |
(exit $ac_status); } && {
|
2917 | |
test -z "$ac_c_werror_flag" ||
|
2918 | |
test ! -s conftest.err
|
2919 | |
} && test -s conftest.$ac_objext; then
|
2920 | |
:
|
2921 | |
else
|
2922 | |
echo "$as_me: failed program was:" >&5
|
2923 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2924 | |
|
2925 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3541 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3542 |
|
|
3543 |
else
|
|
3544 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
2926 | 3545 |
CFLAGS="-g"
|
2927 | |
cat >conftest.$ac_ext <<_ACEOF
|
2928 | |
/* confdefs.h. */
|
2929 | |
_ACEOF
|
2930 | |
cat confdefs.h >>conftest.$ac_ext
|
2931 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3546 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2932 | 3547 |
/* end confdefs.h. */
|
2933 | 3548 |
|
2934 | 3549 |
int
|
|
2939 | 3554 |
return 0;
|
2940 | 3555 |
}
|
2941 | 3556 |
_ACEOF
|
2942 | |
rm -f conftest.$ac_objext
|
2943 | |
if { (ac_try="$ac_compile"
|
2944 | |
case "(($ac_try" in
|
2945 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2946 | |
*) ac_try_echo=$ac_try;;
|
2947 | |
esac
|
2948 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2949 | |
(eval "$ac_compile") 2>conftest.er1
|
2950 | |
ac_status=$?
|
2951 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2952 | |
rm -f conftest.er1
|
2953 | |
cat conftest.err >&5
|
2954 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2955 | |
(exit $ac_status); } && {
|
2956 | |
test -z "$ac_c_werror_flag" ||
|
2957 | |
test ! -s conftest.err
|
2958 | |
} && test -s conftest.$ac_objext; then
|
|
3557 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2959 | 3558 |
ac_cv_prog_cc_g=yes
|
2960 | |
else
|
2961 | |
echo "$as_me: failed program was:" >&5
|
2962 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2963 | |
|
2964 | |
|
2965 | |
fi
|
2966 | |
|
|
3559 |
fi
|
2967 | 3560 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2968 | 3561 |
fi
|
2969 | |
|
2970 | 3562 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2971 | 3563 |
fi
|
2972 | |
|
2973 | 3564 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2974 | 3565 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
2975 | 3566 |
fi
|
2976 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
2977 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
|
3567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
3568 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
2978 | 3569 |
if test "$ac_test_CFLAGS" = set; then
|
2979 | 3570 |
CFLAGS=$ac_save_CFLAGS
|
2980 | 3571 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
2990 | 3581 |
CFLAGS=
|
2991 | 3582 |
fi
|
2992 | 3583 |
fi
|
2993 | |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
2994 | |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
2995 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
2996 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
3585 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
3586 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
|
3587 |
$as_echo_n "(cached) " >&6
|
2997 | 3588 |
else
|
2998 | 3589 |
ac_cv_prog_cc_c89=no
|
2999 | 3590 |
ac_save_CC=$CC
|
3000 | |
cat >conftest.$ac_ext <<_ACEOF
|
3001 | |
/* confdefs.h. */
|
3002 | |
_ACEOF
|
3003 | |
cat confdefs.h >>conftest.$ac_ext
|
3004 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3591 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3005 | 3592 |
/* end confdefs.h. */
|
3006 | 3593 |
#include <stdarg.h>
|
3007 | 3594 |
#include <stdio.h>
|
|
3058 | 3645 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3059 | 3646 |
do
|
3060 | 3647 |
CC="$ac_save_CC $ac_arg"
|
3061 | |
rm -f conftest.$ac_objext
|
3062 | |
if { (ac_try="$ac_compile"
|
3063 | |
case "(($ac_try" in
|
3064 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3065 | |
*) ac_try_echo=$ac_try;;
|
3066 | |
esac
|
3067 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3068 | |
(eval "$ac_compile") 2>conftest.er1
|
3069 | |
ac_status=$?
|
3070 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3071 | |
rm -f conftest.er1
|
3072 | |
cat conftest.err >&5
|
3073 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3074 | |
(exit $ac_status); } && {
|
3075 | |
test -z "$ac_c_werror_flag" ||
|
3076 | |
test ! -s conftest.err
|
3077 | |
} && test -s conftest.$ac_objext; then
|
|
3648 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3078 | 3649 |
ac_cv_prog_cc_c89=$ac_arg
|
3079 | |
else
|
3080 | |
echo "$as_me: failed program was:" >&5
|
3081 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3082 | |
|
3083 | |
|
3084 | |
fi
|
3085 | |
|
|
3650 |
fi
|
3086 | 3651 |
rm -f core conftest.err conftest.$ac_objext
|
3087 | 3652 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3088 | 3653 |
done
|
|
3093 | 3658 |
# AC_CACHE_VAL
|
3094 | 3659 |
case "x$ac_cv_prog_cc_c89" in
|
3095 | 3660 |
x)
|
3096 | |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
3097 | |
echo "${ECHO_T}none needed" >&6; } ;;
|
|
3661 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
3662 |
$as_echo "none needed" >&6; } ;;
|
3098 | 3663 |
xno)
|
3099 | |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
3100 | |
echo "${ECHO_T}unsupported" >&6; } ;;
|
|
3664 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
3665 |
$as_echo "unsupported" >&6; } ;;
|
3101 | 3666 |
*)
|
3102 | 3667 |
CC="$CC $ac_cv_prog_cc_c89"
|
3103 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
3104 | |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
3668 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
3669 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3105 | 3670 |
esac
|
3106 | |
|
|
3671 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3672 |
|
|
3673 |
fi
|
3107 | 3674 |
|
3108 | 3675 |
ac_ext=c
|
3109 | 3676 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3118 | 3685 |
am_make=${MAKE-make}
|
3119 | 3686 |
cat > confinc << 'END'
|
3120 | 3687 |
am__doit:
|
3121 | |
@echo done
|
|
3688 |
@echo this is the am__doit target
|
3122 | 3689 |
.PHONY: am__doit
|
3123 | 3690 |
END
|
3124 | 3691 |
# If we don't find an include directive, just comment out the code.
|
3125 | |
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
3126 | |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
|
|
3692 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
|
3693 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
3127 | 3694 |
am__include="#"
|
3128 | 3695 |
am__quote=
|
3129 | 3696 |
_am_result=none
|
3130 | 3697 |
# First try GNU make style include.
|
3131 | 3698 |
echo "include confinc" > confmf
|
3132 | |
# We grep out `Entering directory' and `Leaving directory'
|
3133 | |
# messages which can occur if `w' ends up in MAKEFLAGS.
|
3134 | |
# In particular we don't look at `^make:' because GNU make might
|
3135 | |
# be invoked under some other name (usually "gmake"), in which
|
3136 | |
# case it prints its new name instead of `make'.
|
3137 | |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
3138 | |
am__include=include
|
3139 | |
am__quote=
|
3140 | |
_am_result=GNU
|
3141 | |
fi
|
|
3699 |
# Ignore all kinds of additional output from `make'.
|
|
3700 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3701 |
*the\ am__doit\ target*)
|
|
3702 |
am__include=include
|
|
3703 |
am__quote=
|
|
3704 |
_am_result=GNU
|
|
3705 |
;;
|
|
3706 |
esac
|
3142 | 3707 |
# Now try BSD make style include.
|
3143 | 3708 |
if test "$am__include" = "#"; then
|
3144 | 3709 |
echo '.include "confinc"' > confmf
|
3145 | |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
3146 | |
am__include=.include
|
3147 | |
am__quote="\""
|
3148 | |
_am_result=BSD
|
3149 | |
fi
|
3150 | |
fi
|
3151 | |
|
3152 | |
|
3153 | |
{ echo "$as_me:$LINENO: result: $_am_result" >&5
|
3154 | |
echo "${ECHO_T}$_am_result" >&6; }
|
|
3710 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3711 |
*the\ am__doit\ target*)
|
|
3712 |
am__include=.include
|
|
3713 |
am__quote="\""
|
|
3714 |
_am_result=BSD
|
|
3715 |
;;
|
|
3716 |
esac
|
|
3717 |
fi
|
|
3718 |
|
|
3719 |
|
|
3720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
|
3721 |
$as_echo "$_am_result" >&6; }
|
3155 | 3722 |
rm -f confinc confmf
|
3156 | 3723 |
|
3157 | 3724 |
# Check whether --enable-dependency-tracking was given.
|
3158 | |
if test "${enable_dependency_tracking+set}" = set; then
|
|
3725 |
if test "${enable_dependency_tracking+set}" = set; then :
|
3159 | 3726 |
enableval=$enable_dependency_tracking;
|
3160 | 3727 |
fi
|
3161 | 3728 |
|
|
3163 | 3730 |
am_depcomp="$ac_aux_dir/depcomp"
|
3164 | 3731 |
AMDEPBACKSLASH='\'
|
3165 | 3732 |
fi
|
3166 | |
|
3167 | |
|
3168 | |
if test "x$enable_dependency_tracking" != xno; then
|
|
3733 |
if test "x$enable_dependency_tracking" != xno; then
|
3169 | 3734 |
AMDEP_TRUE=
|
3170 | 3735 |
AMDEP_FALSE='#'
|
3171 | 3736 |
else
|
|
3175 | 3740 |
|
3176 | 3741 |
|
3177 | 3742 |
|
3178 | |
|
3179 | 3743 |
depcc="$CC" am_compiler_list=
|
3180 | 3744 |
|
3181 | |
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
3182 | |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
|
3183 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
3184 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
3746 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
3747 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
|
3748 |
$as_echo_n "(cached) " >&6
|
3185 | 3749 |
else
|
3186 | 3750 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
3187 | 3751 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
3206 | 3770 |
if test "$am_compiler_list" = ""; then
|
3207 | 3771 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
3208 | 3772 |
fi
|
|
3773 |
am__universal=false
|
|
3774 |
case " $depcc " in #(
|
|
3775 |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
3776 |
esac
|
|
3777 |
|
3209 | 3778 |
for depmode in $am_compiler_list; do
|
3210 | 3779 |
# Setup a source with many dependencies, because some compilers
|
3211 | 3780 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
3223 | 3792 |
done
|
3224 | 3793 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
3225 | 3794 |
|
|
3795 |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
3796 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
3797 |
# handle `-M -o', and we need to detect this. Also, some Intel
|
|
3798 |
# versions had trouble with output in subdirs
|
|
3799 |
am__obj=sub/conftest.${OBJEXT-o}
|
|
3800 |
am__minus_obj="-o $am__obj"
|
3226 | 3801 |
case $depmode in
|
|
3802 |
gcc)
|
|
3803 |
# This depmode causes a compiler race in universal mode.
|
|
3804 |
test "$am__universal" = false || continue
|
|
3805 |
;;
|
3227 | 3806 |
nosideeffect)
|
3228 | 3807 |
# after this tag, mechanisms are not by side-effect, so they'll
|
3229 | 3808 |
# only be used when explicitly requested
|
|
3233 | 3812 |
break
|
3234 | 3813 |
fi
|
3235 | 3814 |
;;
|
|
3815 |
msvisualcpp | msvcmsys)
|
|
3816 |
# This compiler won't grok `-c -o', but also, the minuso test has
|
|
3817 |
# not run yet. These depmodes are late enough in the game, and
|
|
3818 |
# so weak that their functioning should not be impacted.
|
|
3819 |
am__obj=conftest.${OBJEXT-o}
|
|
3820 |
am__minus_obj=
|
|
3821 |
;;
|
3236 | 3822 |
none) break ;;
|
3237 | 3823 |
esac
|
3238 | |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
3239 | |
# mode. It turns out that the SunPro C++ compiler does not properly
|
3240 | |
# handle `-M -o', and we need to detect this.
|
3241 | 3824 |
if depmode=$depmode \
|
3242 | |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
3825 |
source=sub/conftest.c object=$am__obj \
|
3243 | 3826 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
3244 | |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
3827 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
3245 | 3828 |
>/dev/null 2>conftest.err &&
|
|
3829 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
3246 | 3830 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
3247 | |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
3831 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
3248 | 3832 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
3249 | 3833 |
# icc doesn't choke on unknown options, it will just issue warnings
|
3250 | 3834 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
3268 | 3852 |
fi
|
3269 | 3853 |
|
3270 | 3854 |
fi
|
3271 | |
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3272 | |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
3855 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3856 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
3273 | 3857 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
3274 | 3858 |
|
3275 | |
|
3276 | |
|
3277 | |
if
|
|
3859 |
if
|
3278 | 3860 |
test "x$enable_dependency_tracking" != xno \
|
3279 | 3861 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
3280 | 3862 |
am__fastdepCC_TRUE=
|
|
3292 | 3874 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3293 | 3875 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3294 | 3876 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3295 | |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
3296 | |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
|
3877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
|
3878 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
3297 | 3879 |
# On Suns, sometimes $CPP names a directory.
|
3298 | 3880 |
if test -n "$CPP" && test -d "$CPP"; then
|
3299 | 3881 |
CPP=
|
3300 | 3882 |
fi
|
3301 | 3883 |
if test -z "$CPP"; then
|
3302 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
3303 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3884 |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
|
3885 |
$as_echo_n "(cached) " >&6
|
3304 | 3886 |
else
|
3305 | 3887 |
# Double quotes because CPP needs to be expanded
|
3306 | 3888 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
3314 | 3896 |
# <limits.h> exists even on freestanding compilers.
|
3315 | 3897 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3316 | 3898 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3317 | |
cat >conftest.$ac_ext <<_ACEOF
|
3318 | |
/* confdefs.h. */
|
3319 | |
_ACEOF
|
3320 | |
cat confdefs.h >>conftest.$ac_ext
|
3321 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3899 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3322 | 3900 |
/* end confdefs.h. */
|
3323 | 3901 |
#ifdef __STDC__
|
3324 | 3902 |
# include <limits.h>
|
|
3327 | 3905 |
#endif
|
3328 | 3906 |
Syntax error
|
3329 | 3907 |
_ACEOF
|
3330 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3331 | |
case "(($ac_try" in
|
3332 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3333 | |
*) ac_try_echo=$ac_try;;
|
3334 | |
esac
|
3335 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3336 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3337 | |
ac_status=$?
|
3338 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3339 | |
rm -f conftest.er1
|
3340 | |
cat conftest.err >&5
|
3341 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3342 | |
(exit $ac_status); } >/dev/null && {
|
3343 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3344 | |
test ! -s conftest.err
|
3345 | |
}; then
|
3346 | |
:
|
3347 | |
else
|
3348 | |
echo "$as_me: failed program was:" >&5
|
3349 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3350 | |
|
|
3908 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
3909 |
|
|
3910 |
else
|
3351 | 3911 |
# Broken: fails on valid input.
|
3352 | 3912 |
continue
|
3353 | 3913 |
fi
|
3354 | |
|
3355 | 3914 |
rm -f conftest.err conftest.$ac_ext
|
3356 | 3915 |
|
3357 | 3916 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3358 | 3917 |
# can be detected and how.
|
3359 | |
cat >conftest.$ac_ext <<_ACEOF
|
3360 | |
/* confdefs.h. */
|
3361 | |
_ACEOF
|
3362 | |
cat confdefs.h >>conftest.$ac_ext
|
3363 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3918 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3364 | 3919 |
/* end confdefs.h. */
|
3365 | 3920 |
#include <ac_nonexistent.h>
|
3366 | 3921 |
_ACEOF
|
3367 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3368 | |
case "(($ac_try" in
|
3369 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3370 | |
*) ac_try_echo=$ac_try;;
|
3371 | |
esac
|
3372 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3373 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3374 | |
ac_status=$?
|
3375 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3376 | |
rm -f conftest.er1
|
3377 | |
cat conftest.err >&5
|
3378 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3379 | |
(exit $ac_status); } >/dev/null && {
|
3380 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3381 | |
test ! -s conftest.err
|
3382 | |
}; then
|
|
3922 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3383 | 3923 |
# Broken: success on invalid input.
|
3384 | 3924 |
continue
|
3385 | 3925 |
else
|
3386 | |
echo "$as_me: failed program was:" >&5
|
3387 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3388 | |
|
3389 | 3926 |
# Passes both tests.
|
3390 | 3927 |
ac_preproc_ok=:
|
3391 | 3928 |
break
|
3392 | 3929 |
fi
|
3393 | |
|
3394 | 3930 |
rm -f conftest.err conftest.$ac_ext
|
3395 | 3931 |
|
3396 | 3932 |
done
|
3397 | 3933 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3398 | 3934 |
rm -f conftest.err conftest.$ac_ext
|
3399 | |
if $ac_preproc_ok; then
|
|
3935 |
if $ac_preproc_ok; then :
|
3400 | 3936 |
break
|
3401 | 3937 |
fi
|
3402 | 3938 |
|
|
3408 | 3944 |
else
|
3409 | 3945 |
ac_cv_prog_CPP=$CPP
|
3410 | 3946 |
fi
|
3411 | |
{ echo "$as_me:$LINENO: result: $CPP" >&5
|
3412 | |
echo "${ECHO_T}$CPP" >&6; }
|
|
3947 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
|
3948 |
$as_echo "$CPP" >&6; }
|
3413 | 3949 |
ac_preproc_ok=false
|
3414 | 3950 |
for ac_c_preproc_warn_flag in '' yes
|
3415 | 3951 |
do
|
|
3419 | 3955 |
# <limits.h> exists even on freestanding compilers.
|
3420 | 3956 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3421 | 3957 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3422 | |
cat >conftest.$ac_ext <<_ACEOF
|
3423 | |
/* confdefs.h. */
|
3424 | |
_ACEOF
|
3425 | |
cat confdefs.h >>conftest.$ac_ext
|
3426 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3958 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3427 | 3959 |
/* end confdefs.h. */
|
3428 | 3960 |
#ifdef __STDC__
|
3429 | 3961 |
# include <limits.h>
|
|
3432 | 3964 |
#endif
|
3433 | 3965 |
Syntax error
|
3434 | 3966 |
_ACEOF
|
3435 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3436 | |
case "(($ac_try" in
|
3437 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3438 | |
*) ac_try_echo=$ac_try;;
|
3439 | |
esac
|
3440 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3441 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3442 | |
ac_status=$?
|
3443 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3444 | |
rm -f conftest.er1
|
3445 | |
cat conftest.err >&5
|
3446 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3447 | |
(exit $ac_status); } >/dev/null && {
|
3448 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3449 | |
test ! -s conftest.err
|
3450 | |
}; then
|
3451 | |
:
|
3452 | |
else
|
3453 | |
echo "$as_me: failed program was:" >&5
|
3454 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3455 | |
|
|
3967 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
3968 |
|
|
3969 |
else
|
3456 | 3970 |
# Broken: fails on valid input.
|
3457 | 3971 |
continue
|
3458 | 3972 |
fi
|
3459 | |
|
3460 | 3973 |
rm -f conftest.err conftest.$ac_ext
|
3461 | 3974 |
|
3462 | 3975 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3463 | 3976 |
# can be detected and how.
|
3464 | |
cat >conftest.$ac_ext <<_ACEOF
|
3465 | |
/* confdefs.h. */
|
3466 | |
_ACEOF
|
3467 | |
cat confdefs.h >>conftest.$ac_ext
|
3468 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3977 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3469 | 3978 |
/* end confdefs.h. */
|
3470 | 3979 |
#include <ac_nonexistent.h>
|
3471 | 3980 |
_ACEOF
|
3472 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3473 | |
case "(($ac_try" in
|
3474 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3475 | |
*) ac_try_echo=$ac_try;;
|
3476 | |
esac
|
3477 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3478 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3479 | |
ac_status=$?
|
3480 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3481 | |
rm -f conftest.er1
|
3482 | |
cat conftest.err >&5
|
3483 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3484 | |
(exit $ac_status); } >/dev/null && {
|
3485 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3486 | |
test ! -s conftest.err
|
3487 | |
}; then
|
|
3981 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3488 | 3982 |
# Broken: success on invalid input.
|
3489 | 3983 |
continue
|
3490 | 3984 |
else
|
3491 | |
echo "$as_me: failed program was:" >&5
|
3492 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3493 | |
|
3494 | 3985 |
# Passes both tests.
|
3495 | 3986 |
ac_preproc_ok=:
|
3496 | 3987 |
break
|
3497 | 3988 |
fi
|
3498 | |
|
3499 | 3989 |
rm -f conftest.err conftest.$ac_ext
|
3500 | 3990 |
|
3501 | 3991 |
done
|
3502 | 3992 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3503 | 3993 |
rm -f conftest.err conftest.$ac_ext
|
3504 | |
if $ac_preproc_ok; then
|
3505 | |
:
|
3506 | |
else
|
3507 | |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
3508 | |
See \`config.log' for more details." >&5
|
3509 | |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
3510 | |
See \`config.log' for more details." >&2;}
|
3511 | |
{ (exit 1); exit 1; }; }
|
|
3994 |
if $ac_preproc_ok; then :
|
|
3995 |
|
|
3996 |
else
|
|
3997 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3998 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3999 |
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
|
4000 |
See \`config.log' for more details." "$LINENO" 5; }
|
3512 | 4001 |
fi
|
3513 | 4002 |
|
3514 | 4003 |
ac_ext=c
|
|
3518 | 4007 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3519 | 4008 |
|
3520 | 4009 |
|
3521 | |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
3522 | |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
3523 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
3524 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3525 | |
else
|
3526 | |
# Extract the first word of "grep ggrep" to use in msg output
|
3527 | |
if test -z "$GREP"; then
|
3528 | |
set dummy grep ggrep; ac_prog_name=$2
|
3529 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
3530 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3531 | |
else
|
|
4010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
|
4011 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
|
4012 |
if test "${ac_cv_path_GREP+set}" = set; then :
|
|
4013 |
$as_echo_n "(cached) " >&6
|
|
4014 |
else
|
|
4015 |
if test -z "$GREP"; then
|
3532 | 4016 |
ac_path_GREP_found=false
|
3533 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3534 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4017 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4018 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3535 | 4019 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3536 | 4020 |
do
|
3537 | 4021 |
IFS=$as_save_IFS
|
3538 | 4022 |
test -z "$as_dir" && as_dir=.
|
3539 | |
for ac_prog in grep ggrep; do
|
3540 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3541 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
3542 | |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
3543 | |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
4023 |
for ac_prog in grep ggrep; do
|
|
4024 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4025 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
4026 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
4027 |
# Check for GNU ac_path_GREP and select it if it is found.
|
3544 | 4028 |
# Check for GNU $ac_path_GREP
|
3545 | 4029 |
case `"$ac_path_GREP" --version 2>&1` in
|
3546 | 4030 |
*GNU*)
|
3547 | 4031 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
3548 | 4032 |
*)
|
3549 | 4033 |
ac_count=0
|
3550 | |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
4034 |
$as_echo_n 0123456789 >"conftest.in"
|
3551 | 4035 |
while :
|
3552 | 4036 |
do
|
3553 | 4037 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3554 | 4038 |
mv "conftest.tmp" "conftest.in"
|
3555 | 4039 |
cp "conftest.in" "conftest.nl"
|
3556 | |
echo 'GREP' >> "conftest.nl"
|
|
4040 |
$as_echo 'GREP' >> "conftest.nl"
|
3557 | 4041 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3558 | 4042 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3559 | |
ac_count=`expr $ac_count + 1`
|
|
4043 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3560 | 4044 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
3561 | 4045 |
# Best one so far, save it but keep looking for a better one
|
3562 | 4046 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
3568 | 4052 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3569 | 4053 |
esac
|
3570 | 4054 |
|
3571 | |
|
3572 | |
$ac_path_GREP_found && break 3
|
|
4055 |
$ac_path_GREP_found && break 3
|
|
4056 |
done
|
3573 | 4057 |
done
|
3574 | |
done
|
3575 | |
|
3576 | |
done
|
|
4058 |
done
|
3577 | 4059 |
IFS=$as_save_IFS
|
3578 | |
|
3579 | |
|
3580 | |
fi
|
3581 | |
|
3582 | |
GREP="$ac_cv_path_GREP"
|
3583 | |
if test -z "$GREP"; then
|
3584 | |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3585 | |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3586 | |
{ (exit 1); exit 1; }; }
|
3587 | |
fi
|
3588 | |
|
|
4060 |
if test -z "$ac_cv_path_GREP"; then
|
|
4061 |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
4062 |
fi
|
3589 | 4063 |
else
|
3590 | 4064 |
ac_cv_path_GREP=$GREP
|
3591 | 4065 |
fi
|
3592 | 4066 |
|
3593 | |
|
3594 | |
fi
|
3595 | |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
3596 | |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
4067 |
fi
|
|
4068 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
|
4069 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
3597 | 4070 |
GREP="$ac_cv_path_GREP"
|
3598 | 4071 |
|
3599 | 4072 |
|
3600 | |
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
3601 | |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
3602 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3603 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4073 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
4074 |
$as_echo_n "checking for egrep... " >&6; }
|
|
4075 |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
|
4076 |
$as_echo_n "(cached) " >&6
|
3604 | 4077 |
else
|
3605 | 4078 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
3606 | 4079 |
then ac_cv_path_EGREP="$GREP -E"
|
3607 | 4080 |
else
|
3608 | |
# Extract the first word of "egrep" to use in msg output
|
3609 | |
if test -z "$EGREP"; then
|
3610 | |
set dummy egrep; ac_prog_name=$2
|
3611 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3612 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3613 | |
else
|
|
4081 |
if test -z "$EGREP"; then
|
3614 | 4082 |
ac_path_EGREP_found=false
|
3615 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3616 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4083 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4084 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3617 | 4085 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3618 | 4086 |
do
|
3619 | 4087 |
IFS=$as_save_IFS
|
3620 | 4088 |
test -z "$as_dir" && as_dir=.
|
3621 | |
for ac_prog in egrep; do
|
3622 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3623 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
3624 | |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
3625 | |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
4089 |
for ac_prog in egrep; do
|
|
4090 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4091 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
4092 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
4093 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
3626 | 4094 |
# Check for GNU $ac_path_EGREP
|
3627 | 4095 |
case `"$ac_path_EGREP" --version 2>&1` in
|
3628 | 4096 |
*GNU*)
|
3629 | 4097 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
3630 | 4098 |
*)
|
3631 | 4099 |
ac_count=0
|
3632 | |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
4100 |
$as_echo_n 0123456789 >"conftest.in"
|
3633 | 4101 |
while :
|
3634 | 4102 |
do
|
3635 | 4103 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3636 | 4104 |
mv "conftest.tmp" "conftest.in"
|
3637 | 4105 |
cp "conftest.in" "conftest.nl"
|
3638 | |
echo 'EGREP' >> "conftest.nl"
|
|
4106 |
$as_echo 'EGREP' >> "conftest.nl"
|
3639 | 4107 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3640 | 4108 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3641 | |
ac_count=`expr $ac_count + 1`
|
|
4109 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3642 | 4110 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
3643 | 4111 |
# Best one so far, save it but keep looking for a better one
|
3644 | 4112 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
3650 | 4118 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3651 | 4119 |
esac
|
3652 | 4120 |
|
3653 | |
|
3654 | |
$ac_path_EGREP_found && break 3
|
|
4121 |
$ac_path_EGREP_found && break 3
|
|
4122 |
done
|
3655 | 4123 |
done
|
3656 | |
done
|
3657 | |
|
3658 | |
done
|
|
4124 |
done
|
3659 | 4125 |
IFS=$as_save_IFS
|
3660 | |
|
3661 | |
|
3662 | |
fi
|
3663 | |
|
3664 | |
EGREP="$ac_cv_path_EGREP"
|
3665 | |
if test -z "$EGREP"; then
|
3666 | |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3667 | |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3668 | |
{ (exit 1); exit 1; }; }
|
3669 | |
fi
|
3670 | |
|
|
4126 |
if test -z "$ac_cv_path_EGREP"; then
|
|
4127 |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
4128 |
fi
|
3671 | 4129 |
else
|
3672 | 4130 |
ac_cv_path_EGREP=$EGREP
|
3673 | 4131 |
fi
|
3674 | 4132 |
|
3675 | |
|
3676 | 4133 |
fi
|
3677 | 4134 |
fi
|
3678 | |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
3679 | |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
4135 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
4136 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
3680 | 4137 |
EGREP="$ac_cv_path_EGREP"
|
3681 | 4138 |
|
3682 | 4139 |
|
3683 | |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
3684 | |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
3685 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
3686 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3687 | |
else
|
3688 | |
cat >conftest.$ac_ext <<_ACEOF
|
3689 | |
/* confdefs.h. */
|
3690 | |
_ACEOF
|
3691 | |
cat confdefs.h >>conftest.$ac_ext
|
3692 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4140 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
|
4141 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
|
4142 |
if test "${ac_cv_header_stdc+set}" = set; then :
|
|
4143 |
$as_echo_n "(cached) " >&6
|
|
4144 |
else
|
|
4145 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3693 | 4146 |
/* end confdefs.h. */
|
3694 | 4147 |
#include <stdlib.h>
|
3695 | 4148 |
#include <stdarg.h>
|
|
3704 | 4157 |
return 0;
|
3705 | 4158 |
}
|
3706 | 4159 |
_ACEOF
|
3707 | |
rm -f conftest.$ac_objext
|
3708 | |
if { (ac_try="$ac_compile"
|
3709 | |
case "(($ac_try" in
|
3710 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3711 | |
*) ac_try_echo=$ac_try;;
|
3712 | |
esac
|
3713 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3714 | |
(eval "$ac_compile") 2>conftest.er1
|
3715 | |
ac_status=$?
|
3716 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3717 | |
rm -f conftest.er1
|
3718 | |
cat conftest.err >&5
|
3719 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3720 | |
(exit $ac_status); } && {
|
3721 | |
test -z "$ac_c_werror_flag" ||
|
3722 | |
test ! -s conftest.err
|
3723 | |
} && test -s conftest.$ac_objext; then
|
|
4160 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3724 | 4161 |
ac_cv_header_stdc=yes
|
3725 | 4162 |
else
|
3726 | |
echo "$as_me: failed program was:" >&5
|
3727 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3728 | |
|
3729 | |
ac_cv_header_stdc=no
|
3730 | |
fi
|
3731 | |
|
|
4163 |
ac_cv_header_stdc=no
|
|
4164 |
fi
|
3732 | 4165 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3733 | 4166 |
|
3734 | 4167 |
if test $ac_cv_header_stdc = yes; then
|
3735 | 4168 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
3736 | |
cat >conftest.$ac_ext <<_ACEOF
|
3737 | |
/* confdefs.h. */
|
3738 | |
_ACEOF
|
3739 | |
cat confdefs.h >>conftest.$ac_ext
|
3740 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4169 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3741 | 4170 |
/* end confdefs.h. */
|
3742 | 4171 |
#include <string.h>
|
3743 | 4172 |
|
3744 | 4173 |
_ACEOF
|
3745 | 4174 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3746 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
3747 | |
:
|
|
4175 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
4176 |
|
3748 | 4177 |
else
|
3749 | 4178 |
ac_cv_header_stdc=no
|
3750 | 4179 |
fi
|
|
3754 | 4183 |
|
3755 | 4184 |
if test $ac_cv_header_stdc = yes; then
|
3756 | 4185 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
3757 | |
cat >conftest.$ac_ext <<_ACEOF
|
3758 | |
/* confdefs.h. */
|
3759 | |
_ACEOF
|
3760 | |
cat confdefs.h >>conftest.$ac_ext
|
3761 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4186 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3762 | 4187 |
/* end confdefs.h. */
|
3763 | 4188 |
#include <stdlib.h>
|
3764 | 4189 |
|
3765 | 4190 |
_ACEOF
|
3766 | 4191 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3767 | |
$EGREP "free" >/dev/null 2>&1; then
|
3768 | |
:
|
|
4192 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
4193 |
|
3769 | 4194 |
else
|
3770 | 4195 |
ac_cv_header_stdc=no
|
3771 | 4196 |
fi
|
|
3775 | 4200 |
|
3776 | 4201 |
if test $ac_cv_header_stdc = yes; then
|
3777 | 4202 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
3778 | |
if test "$cross_compiling" = yes; then
|
|
4203 |
if test "$cross_compiling" = yes; then :
|
3779 | 4204 |
:
|
3780 | 4205 |
else
|
3781 | |
cat >conftest.$ac_ext <<_ACEOF
|
3782 | |
/* confdefs.h. */
|
3783 | |
_ACEOF
|
3784 | |
cat confdefs.h >>conftest.$ac_ext
|
3785 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4206 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3786 | 4207 |
/* end confdefs.h. */
|
3787 | 4208 |
#include <ctype.h>
|
3788 | 4209 |
#include <stdlib.h>
|
|
3809 | 4230 |
return 0;
|
3810 | 4231 |
}
|
3811 | 4232 |
_ACEOF
|
3812 | |
rm -f conftest$ac_exeext
|
3813 | |
if { (ac_try="$ac_link"
|
3814 | |
case "(($ac_try" in
|
3815 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3816 | |
*) ac_try_echo=$ac_try;;
|
3817 | |
esac
|
3818 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3819 | |
(eval "$ac_link") 2>&5
|
3820 | |
ac_status=$?
|
3821 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3822 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3823 | |
{ (case "(($ac_try" in
|
3824 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3825 | |
*) ac_try_echo=$ac_try;;
|
3826 | |
esac
|
3827 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3828 | |
(eval "$ac_try") 2>&5
|
3829 | |
ac_status=$?
|
3830 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3831 | |
(exit $ac_status); }; }; then
|
3832 | |
:
|
3833 | |
else
|
3834 | |
echo "$as_me: program exited with status $ac_status" >&5
|
3835 | |
echo "$as_me: failed program was:" >&5
|
3836 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3837 | |
|
3838 | |
( exit $ac_status )
|
3839 | |
ac_cv_header_stdc=no
|
3840 | |
fi
|
3841 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3842 | |
fi
|
3843 | |
|
3844 | |
|
3845 | |
fi
|
3846 | |
fi
|
3847 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
3848 | |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
|
4233 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
4234 |
|
|
4235 |
else
|
|
4236 |
ac_cv_header_stdc=no
|
|
4237 |
fi
|
|
4238 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
4239 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4240 |
fi
|
|
4241 |
|
|
4242 |
fi
|
|
4243 |
fi
|
|
4244 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
|
4245 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
3849 | 4246 |
if test $ac_cv_header_stdc = yes; then
|
3850 | 4247 |
|
3851 | |
cat >>confdefs.h <<\_ACEOF
|
3852 | |
#define STDC_HEADERS 1
|
3853 | |
_ACEOF
|
|
4248 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
3854 | 4249 |
|
3855 | 4250 |
fi
|
3856 | 4251 |
|
3857 | 4252 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
3858 | |
|
3859 | |
|
3860 | |
|
3861 | |
|
3862 | |
|
3863 | |
|
3864 | |
|
3865 | |
|
3866 | |
|
3867 | 4253 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
3868 | 4254 |
inttypes.h stdint.h unistd.h
|
3869 | |
do
|
3870 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3871 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3872 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
3873 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3874 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3875 | |
else
|
3876 | |
cat >conftest.$ac_ext <<_ACEOF
|
3877 | |
/* confdefs.h. */
|
3878 | |
_ACEOF
|
3879 | |
cat confdefs.h >>conftest.$ac_ext
|
3880 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3881 | |
/* end confdefs.h. */
|
3882 | |
$ac_includes_default
|
3883 | |
|
3884 | |
#include <$ac_header>
|
3885 | |
_ACEOF
|
3886 | |
rm -f conftest.$ac_objext
|
3887 | |
if { (ac_try="$ac_compile"
|
3888 | |
case "(($ac_try" in
|
3889 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3890 | |
*) ac_try_echo=$ac_try;;
|
3891 | |
esac
|
3892 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3893 | |
(eval "$ac_compile") 2>conftest.er1
|
3894 | |
ac_status=$?
|
3895 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3896 | |
rm -f conftest.er1
|
3897 | |
cat conftest.err >&5
|
3898 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3899 | |
(exit $ac_status); } && {
|
3900 | |
test -z "$ac_c_werror_flag" ||
|
3901 | |
test ! -s conftest.err
|
3902 | |
} && test -s conftest.$ac_objext; then
|
3903 | |
eval "$as_ac_Header=yes"
|
3904 | |
else
|
3905 | |
echo "$as_me: failed program was:" >&5
|
3906 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3907 | |
|
3908 | |
eval "$as_ac_Header=no"
|
3909 | |
fi
|
3910 | |
|
3911 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3912 | |
fi
|
3913 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
3914 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3915 | |
echo "${ECHO_T}$ac_res" >&6; }
|
3916 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4255 |
do :
|
|
4256 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4257 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
4258 |
"
|
|
4259 |
eval as_val=\$$as_ac_Header
|
|
4260 |
if test "x$as_val" = x""yes; then :
|
3917 | 4261 |
cat >>confdefs.h <<_ACEOF
|
3918 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4262 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3919 | 4263 |
_ACEOF
|
3920 | 4264 |
|
3921 | 4265 |
fi
|
3922 | 4266 |
|
3923 | 4267 |
done
|
3924 | 4268 |
|
3925 | |
|
3926 | |
{ echo "$as_me:$LINENO: checking for unsigned char" >&5
|
3927 | |
echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
|
3928 | |
if test "${ac_cv_type_unsigned_char+set}" = set; then
|
3929 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3930 | |
else
|
3931 | |
cat >conftest.$ac_ext <<_ACEOF
|
3932 | |
/* confdefs.h. */
|
3933 | |
_ACEOF
|
3934 | |
cat confdefs.h >>conftest.$ac_ext
|
3935 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3936 | |
/* end confdefs.h. */
|
3937 | |
$ac_includes_default
|
3938 | |
typedef unsigned char ac__type_new_;
|
3939 | |
int
|
3940 | |
main ()
|
3941 | |
{
|
3942 | |
if ((ac__type_new_ *) 0)
|
3943 | |
return 0;
|
3944 | |
if (sizeof (ac__type_new_))
|
3945 | |
return 0;
|
3946 | |
;
|
3947 | |
return 0;
|
3948 | |
}
|
3949 | |
_ACEOF
|
3950 | |
rm -f conftest.$ac_objext
|
3951 | |
if { (ac_try="$ac_compile"
|
3952 | |
case "(($ac_try" in
|
3953 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3954 | |
*) ac_try_echo=$ac_try;;
|
3955 | |
esac
|
3956 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3957 | |
(eval "$ac_compile") 2>conftest.er1
|
3958 | |
ac_status=$?
|
3959 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3960 | |
rm -f conftest.er1
|
3961 | |
cat conftest.err >&5
|
3962 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3963 | |
(exit $ac_status); } && {
|
3964 | |
test -z "$ac_c_werror_flag" ||
|
3965 | |
test ! -s conftest.err
|
3966 | |
} && test -s conftest.$ac_objext; then
|
3967 | |
ac_cv_type_unsigned_char=yes
|
3968 | |
else
|
3969 | |
echo "$as_me: failed program was:" >&5
|
3970 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3971 | |
|
3972 | |
ac_cv_type_unsigned_char=no
|
3973 | |
fi
|
3974 | |
|
3975 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3976 | |
fi
|
3977 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
|
3978 | |
echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
|
3979 | 4269 |
|
3980 | 4270 |
# The cast to long int works around a bug in the HP C Compiler
|
3981 | 4271 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
3982 | 4272 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
3983 | 4273 |
# This bug is HP SR number 8606223364.
|
3984 | |
{ echo "$as_me:$LINENO: checking size of unsigned char" >&5
|
3985 | |
echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
|
3986 | |
if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
|
3987 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3988 | |
else
|
3989 | |
if test "$cross_compiling" = yes; then
|
3990 | |
# Depending upon the size, compute the lo and hi bounds.
|
3991 | |
cat >conftest.$ac_ext <<_ACEOF
|
3992 | |
/* confdefs.h. */
|
3993 | |
_ACEOF
|
3994 | |
cat confdefs.h >>conftest.$ac_ext
|
3995 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3996 | |
/* end confdefs.h. */
|
3997 | |
$ac_includes_default
|
3998 | |
typedef unsigned char ac__type_sizeof_;
|
3999 | |
int
|
4000 | |
main ()
|
4001 | |
{
|
4002 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
|
4003 | |
test_array [0] = 0
|
4004 | |
|
4005 | |
;
|
4006 | |
return 0;
|
4007 | |
}
|
4008 | |
_ACEOF
|
4009 | |
rm -f conftest.$ac_objext
|
4010 | |
if { (ac_try="$ac_compile"
|
4011 | |
case "(($ac_try" in
|
4012 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4013 | |
*) ac_try_echo=$ac_try;;
|
4014 | |
esac
|
4015 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4016 | |
(eval "$ac_compile") 2>conftest.er1
|
4017 | |
ac_status=$?
|
4018 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4019 | |
rm -f conftest.er1
|
4020 | |
cat conftest.err >&5
|
4021 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4022 | |
(exit $ac_status); } && {
|
4023 | |
test -z "$ac_c_werror_flag" ||
|
4024 | |
test ! -s conftest.err
|
4025 | |
} && test -s conftest.$ac_objext; then
|
4026 | |
ac_lo=0 ac_mid=0
|
4027 | |
while :; do
|
4028 | |
cat >conftest.$ac_ext <<_ACEOF
|
4029 | |
/* confdefs.h. */
|
4030 | |
_ACEOF
|
4031 | |
cat confdefs.h >>conftest.$ac_ext
|
4032 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4033 | |
/* end confdefs.h. */
|
4034 | |
$ac_includes_default
|
4035 | |
typedef unsigned char ac__type_sizeof_;
|
4036 | |
int
|
4037 | |
main ()
|
4038 | |
{
|
4039 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
4040 | |
test_array [0] = 0
|
4041 | |
|
4042 | |
;
|
4043 | |
return 0;
|
4044 | |
}
|
4045 | |
_ACEOF
|
4046 | |
rm -f conftest.$ac_objext
|
4047 | |
if { (ac_try="$ac_compile"
|
4048 | |
case "(($ac_try" in
|
4049 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4050 | |
*) ac_try_echo=$ac_try;;
|
4051 | |
esac
|
4052 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4053 | |
(eval "$ac_compile") 2>conftest.er1
|
4054 | |
ac_status=$?
|
4055 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4056 | |
rm -f conftest.er1
|
4057 | |
cat conftest.err >&5
|
4058 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4059 | |
(exit $ac_status); } && {
|
4060 | |
test -z "$ac_c_werror_flag" ||
|
4061 | |
test ! -s conftest.err
|
4062 | |
} && test -s conftest.$ac_objext; then
|
4063 | |
ac_hi=$ac_mid; break
|
4064 | |
else
|
4065 | |
echo "$as_me: failed program was:" >&5
|
4066 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4067 | |
|
4068 | |
ac_lo=`expr $ac_mid + 1`
|
4069 | |
if test $ac_lo -le $ac_mid; then
|
4070 | |
ac_lo= ac_hi=
|
4071 | |
break
|
4072 | |
fi
|
4073 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
4074 | |
fi
|
4075 | |
|
4076 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4077 | |
done
|
4078 | |
else
|
4079 | |
echo "$as_me: failed program was:" >&5
|
4080 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4081 | |
|
4082 | |
cat >conftest.$ac_ext <<_ACEOF
|
4083 | |
/* confdefs.h. */
|
4084 | |
_ACEOF
|
4085 | |
cat confdefs.h >>conftest.$ac_ext
|
4086 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4087 | |
/* end confdefs.h. */
|
4088 | |
$ac_includes_default
|
4089 | |
typedef unsigned char ac__type_sizeof_;
|
4090 | |
int
|
4091 | |
main ()
|
4092 | |
{
|
4093 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
|
4094 | |
test_array [0] = 0
|
4095 | |
|
4096 | |
;
|
4097 | |
return 0;
|
4098 | |
}
|
4099 | |
_ACEOF
|
4100 | |
rm -f conftest.$ac_objext
|
4101 | |
if { (ac_try="$ac_compile"
|
4102 | |
case "(($ac_try" in
|
4103 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4104 | |
*) ac_try_echo=$ac_try;;
|
4105 | |
esac
|
4106 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4107 | |
(eval "$ac_compile") 2>conftest.er1
|
4108 | |
ac_status=$?
|
4109 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4110 | |
rm -f conftest.er1
|
4111 | |
cat conftest.err >&5
|
4112 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4113 | |
(exit $ac_status); } && {
|
4114 | |
test -z "$ac_c_werror_flag" ||
|
4115 | |
test ! -s conftest.err
|
4116 | |
} && test -s conftest.$ac_objext; then
|
4117 | |
ac_hi=-1 ac_mid=-1
|
4118 | |
while :; do
|
4119 | |
cat >conftest.$ac_ext <<_ACEOF
|
4120 | |
/* confdefs.h. */
|
4121 | |
_ACEOF
|
4122 | |
cat confdefs.h >>conftest.$ac_ext
|
4123 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4124 | |
/* end confdefs.h. */
|
4125 | |
$ac_includes_default
|
4126 | |
typedef unsigned char ac__type_sizeof_;
|
4127 | |
int
|
4128 | |
main ()
|
4129 | |
{
|
4130 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
|
4131 | |
test_array [0] = 0
|
4132 | |
|
4133 | |
;
|
4134 | |
return 0;
|
4135 | |
}
|
4136 | |
_ACEOF
|
4137 | |
rm -f conftest.$ac_objext
|
4138 | |
if { (ac_try="$ac_compile"
|
4139 | |
case "(($ac_try" in
|
4140 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4141 | |
*) ac_try_echo=$ac_try;;
|
4142 | |
esac
|
4143 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4144 | |
(eval "$ac_compile") 2>conftest.er1
|
4145 | |
ac_status=$?
|
4146 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4147 | |
rm -f conftest.er1
|
4148 | |
cat conftest.err >&5
|
4149 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4150 | |
(exit $ac_status); } && {
|
4151 | |
test -z "$ac_c_werror_flag" ||
|
4152 | |
test ! -s conftest.err
|
4153 | |
} && test -s conftest.$ac_objext; then
|
4154 | |
ac_lo=$ac_mid; break
|
4155 | |
else
|
4156 | |
echo "$as_me: failed program was:" >&5
|
4157 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4158 | |
|
4159 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
4160 | |
if test $ac_mid -le $ac_hi; then
|
4161 | |
ac_lo= ac_hi=
|
4162 | |
break
|
4163 | |
fi
|
4164 | |
ac_mid=`expr 2 '*' $ac_mid`
|
4165 | |
fi
|
4166 | |
|
4167 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4168 | |
done
|
4169 | |
else
|
4170 | |
echo "$as_me: failed program was:" >&5
|
4171 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4172 | |
|
4173 | |
ac_lo= ac_hi=
|
4174 | |
fi
|
4175 | |
|
4176 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4177 | |
fi
|
4178 | |
|
4179 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4180 | |
# Binary search between lo and hi bounds.
|
4181 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
4182 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
4183 | |
cat >conftest.$ac_ext <<_ACEOF
|
4184 | |
/* confdefs.h. */
|
4185 | |
_ACEOF
|
4186 | |
cat confdefs.h >>conftest.$ac_ext
|
4187 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4188 | |
/* end confdefs.h. */
|
4189 | |
$ac_includes_default
|
4190 | |
typedef unsigned char ac__type_sizeof_;
|
4191 | |
int
|
4192 | |
main ()
|
4193 | |
{
|
4194 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
4195 | |
test_array [0] = 0
|
4196 | |
|
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_hi=$ac_mid
|
4219 | |
else
|
4220 | |
echo "$as_me: failed program was:" >&5
|
4221 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4222 | |
|
4223 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
4224 | |
fi
|
4225 | |
|
4226 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4227 | |
done
|
4228 | |
case $ac_lo in
|
4229 | |
?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
|
4230 | |
'') if test "$ac_cv_type_unsigned_char" = yes; then
|
4231 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
|
4232 | |
See \`config.log' for more details." >&5
|
4233 | |
echo "$as_me: error: cannot compute sizeof (unsigned char)
|
4234 | |
See \`config.log' for more details." >&2;}
|
4235 | |
{ (exit 77); exit 77; }; }
|
4236 | |
else
|
4237 | |
ac_cv_sizeof_unsigned_char=0
|
4238 | |
fi ;;
|
4239 | |
esac
|
4240 | |
else
|
4241 | |
cat >conftest.$ac_ext <<_ACEOF
|
4242 | |
/* confdefs.h. */
|
4243 | |
_ACEOF
|
4244 | |
cat confdefs.h >>conftest.$ac_ext
|
4245 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4246 | |
/* end confdefs.h. */
|
4247 | |
$ac_includes_default
|
4248 | |
typedef unsigned char ac__type_sizeof_;
|
4249 | |
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
4250 | |
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
4251 | |
#include <stdio.h>
|
4252 | |
#include <stdlib.h>
|
4253 | |
int
|
4254 | |
main ()
|
4255 | |
{
|
4256 | |
|
4257 | |
FILE *f = fopen ("conftest.val", "w");
|
4258 | |
if (! f)
|
4259 | |
return 1;
|
4260 | |
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|
4261 | |
{
|
4262 | |
long int i = longval ();
|
4263 | |
if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
4264 | |
return 1;
|
4265 | |
fprintf (f, "%ld\n", i);
|
4266 | |
}
|
4267 | |
else
|
4268 | |
{
|
4269 | |
unsigned long int i = ulongval ();
|
4270 | |
if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
4271 | |
return 1;
|
4272 | |
fprintf (f, "%lu\n", i);
|
4273 | |
}
|
4274 | |
return ferror (f) || fclose (f) != 0;
|
4275 | |
|
4276 | |
;
|
4277 | |
return 0;
|
4278 | |
}
|
4279 | |
_ACEOF
|
4280 | |
rm -f conftest$ac_exeext
|
4281 | |
if { (ac_try="$ac_link"
|
4282 | |
case "(($ac_try" in
|
4283 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4284 | |
*) ac_try_echo=$ac_try;;
|
4285 | |
esac
|
4286 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4287 | |
(eval "$ac_link") 2>&5
|
4288 | |
ac_status=$?
|
4289 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4290 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
4291 | |
{ (case "(($ac_try" in
|
4292 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4293 | |
*) ac_try_echo=$ac_try;;
|
4294 | |
esac
|
4295 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4296 | |
(eval "$ac_try") 2>&5
|
4297 | |
ac_status=$?
|
4298 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4299 | |
(exit $ac_status); }; }; then
|
4300 | |
ac_cv_sizeof_unsigned_char=`cat conftest.val`
|
4301 | |
else
|
4302 | |
echo "$as_me: program exited with status $ac_status" >&5
|
4303 | |
echo "$as_me: failed program was:" >&5
|
4304 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4305 | |
|
4306 | |
( exit $ac_status )
|
4307 | |
if test "$ac_cv_type_unsigned_char" = yes; then
|
4308 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
|
4309 | |
See \`config.log' for more details." >&5
|
4310 | |
echo "$as_me: error: cannot compute sizeof (unsigned char)
|
4311 | |
See \`config.log' for more details." >&2;}
|
4312 | |
{ (exit 77); exit 77; }; }
|
|
4274 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5
|
|
4275 |
$as_echo_n "checking size of unsigned char... " >&6; }
|
|
4276 |
if test "${ac_cv_sizeof_unsigned_char+set}" = set; then :
|
|
4277 |
$as_echo_n "(cached) " >&6
|
|
4278 |
else
|
|
4279 |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char" "$ac_includes_default"; then :
|
|
4280 |
|
|
4281 |
else
|
|
4282 |
if test "$ac_cv_type_unsigned_char" = yes; then
|
|
4283 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4284 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4285 |
{ as_fn_set_status 77
|
|
4286 |
as_fn_error "cannot compute sizeof (unsigned char)
|
|
4287 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
4313 | 4288 |
else
|
4314 | 4289 |
ac_cv_sizeof_unsigned_char=0
|
4315 | 4290 |
fi
|
4316 | 4291 |
fi
|
4317 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
4318 | |
fi
|
4319 | |
rm -f conftest.val
|
4320 | |
fi
|
4321 | |
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
|
4322 | |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
|
|
4292 |
|
|
4293 |
fi
|
|
4294 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5
|
|
4295 |
$as_echo "$ac_cv_sizeof_unsigned_char" >&6; }
|
4323 | 4296 |
|
4324 | 4297 |
|
4325 | 4298 |
|
|
4327 | 4300 |
#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
|
4328 | 4301 |
_ACEOF
|
4329 | 4302 |
|
4330 | |
|
4331 | |
{ echo "$as_me:$LINENO: checking for unsigned short" >&5
|
4332 | |
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
|
4333 | |
if test "${ac_cv_type_unsigned_short+set}" = set; then
|
4334 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4335 | |
else
|
4336 | |
cat >conftest.$ac_ext <<_ACEOF
|
4337 | |
/* confdefs.h. */
|
4338 | |
_ACEOF
|
4339 | |
cat confdefs.h >>conftest.$ac_ext
|
4340 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4341 | |
/* end confdefs.h. */
|
4342 | |
$ac_includes_default
|
4343 | |
typedef unsigned short ac__type_new_;
|
4344 | |
int
|
4345 | |
main ()
|
4346 | |
{
|
4347 | |
if ((ac__type_new_ *) 0)
|
4348 | |
return 0;
|
4349 | |
if (sizeof (ac__type_new_))
|
4350 | |
return 0;
|
4351 | |
;
|
4352 | |
return 0;
|
4353 | |
}
|
4354 | |
_ACEOF
|
4355 | |
rm -f conftest.$ac_objext
|
4356 | |
if { (ac_try="$ac_compile"
|
4357 | |
case "(($ac_try" in
|
4358 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4359 | |
*) ac_try_echo=$ac_try;;
|
4360 | |
esac
|
4361 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4362 | |
(eval "$ac_compile") 2>conftest.er1
|
4363 | |
ac_status=$?
|
4364 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4365 | |
rm -f conftest.er1
|
4366 | |
cat conftest.err >&5
|
4367 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4368 | |
(exit $ac_status); } && {
|
4369 | |
test -z "$ac_c_werror_flag" ||
|
4370 | |
test ! -s conftest.err
|
4371 | |
} && test -s conftest.$ac_objext; then
|
4372 | |
ac_cv_type_unsigned_short=yes
|
4373 | |
else
|
4374 | |
echo "$as_me: failed program was:" >&5
|
4375 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4376 | |
|
4377 | |
ac_cv_type_unsigned_short=no
|
4378 | |
fi
|
4379 | |
|
4380 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4381 | |
fi
|
4382 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
|
4383 | |
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
|
4384 | 4303 |
|
4385 | 4304 |
# The cast to long int works around a bug in the HP C Compiler
|
4386 | 4305 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
4387 | 4306 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
4388 | 4307 |
# This bug is HP SR number 8606223364.
|
4389 | |
{ echo "$as_me:$LINENO: checking size of unsigned short" >&5
|
4390 | |
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
|
4391 | |
if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
|
4392 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4393 | |
else
|
4394 | |
if test "$cross_compiling" = yes; then
|
4395 | |
# Depending upon the size, compute the lo and hi bounds.
|
4396 | |
cat >conftest.$ac_ext <<_ACEOF
|
4397 | |
/* confdefs.h. */
|
4398 | |
_ACEOF
|
4399 | |
cat confdefs.h >>conftest.$ac_ext
|
4400 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4401 | |
/* end confdefs.h. */
|
4402 | |
$ac_includes_default
|
4403 | |
typedef unsigned short ac__type_sizeof_;
|
4404 | |
int
|
4405 | |
main ()
|
4406 | |
{
|
4407 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
|
4408 | |
test_array [0] = 0
|
4409 | |
|
4410 | |
;
|
4411 | |
return 0;
|
4412 | |
}
|
4413 | |
_ACEOF
|
4414 | |
rm -f conftest.$ac_objext
|
4415 | |
if { (ac_try="$ac_compile"
|
4416 | |
case "(($ac_try" in
|
4417 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4418 | |
*) ac_try_echo=$ac_try;;
|
4419 | |
esac
|
4420 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4421 | |
(eval "$ac_compile") 2>conftest.er1
|
4422 | |
ac_status=$?
|
4423 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4424 | |
rm -f conftest.er1
|
4425 | |
cat conftest.err >&5
|
4426 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4427 | |
(exit $ac_status); } && {
|
4428 | |
test -z "$ac_c_werror_flag" ||
|
4429 | |
test ! -s conftest.err
|
4430 | |
} && test -s conftest.$ac_objext; then
|
4431 | |
ac_lo=0 ac_mid=0
|
4432 | |
while :; do
|
4433 | |
cat >conftest.$ac_ext <<_ACEOF
|
4434 | |
/* confdefs.h. */
|
4435 | |
_ACEOF
|
4436 | |
cat confdefs.h >>conftest.$ac_ext
|
4437 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4438 | |
/* end confdefs.h. */
|
4439 | |
$ac_includes_default
|
4440 | |
typedef unsigned short ac__type_sizeof_;
|
4441 | |
int
|
4442 | |
main ()
|
4443 | |
{
|
4444 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
4445 | |
test_array [0] = 0
|
4446 | |
|
4447 | |
;
|
4448 | |
return 0;
|
4449 | |
}
|
4450 | |
_ACEOF
|
4451 | |
rm -f conftest.$ac_objext
|
4452 | |
if { (ac_try="$ac_compile"
|
4453 | |
case "(($ac_try" in
|
4454 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4455 | |
*) ac_try_echo=$ac_try;;
|
4456 | |
esac
|
4457 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4458 | |
(eval "$ac_compile") 2>conftest.er1
|
4459 | |
ac_status=$?
|
4460 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4461 | |
rm -f conftest.er1
|
4462 | |
cat conftest.err >&5
|
4463 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4464 | |
(exit $ac_status); } && {
|
4465 | |
test -z "$ac_c_werror_flag" ||
|
4466 | |
test ! -s conftest.err
|
4467 | |
} && test -s conftest.$ac_objext; then
|
4468 | |
ac_hi=$ac_mid; break
|
4469 | |
else
|
4470 | |
echo "$as_me: failed program was:" >&5
|
4471 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4472 | |
|
4473 | |
ac_lo=`expr $ac_mid + 1`
|
4474 | |
if test $ac_lo -le $ac_mid; then
|
4475 | |
ac_lo= ac_hi=
|
4476 | |
break
|
4477 | |
fi
|
4478 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
4479 | |
fi
|
4480 | |
|
4481 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4482 | |
done
|
4483 | |
else
|
4484 | |
echo "$as_me: failed program was:" >&5
|
4485 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4486 | |
|
4487 | |
cat >conftest.$ac_ext <<_ACEOF
|
4488 | |
/* confdefs.h. */
|
4489 | |
_ACEOF
|
4490 | |
cat confdefs.h >>conftest.$ac_ext
|
4491 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4492 | |
/* end confdefs.h. */
|
4493 | |
$ac_includes_default
|
4494 | |
typedef unsigned short ac__type_sizeof_;
|
4495 | |
int
|
4496 | |
main ()
|
4497 | |
{
|
4498 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
|
4499 | |
test_array [0] = 0
|
4500 | |
|
4501 | |
;
|
4502 | |
return 0;
|
4503 | |
}
|
4504 | |
_ACEOF
|
4505 | |
rm -f conftest.$ac_objext
|
4506 | |
if { (ac_try="$ac_compile"
|
4507 | |
case "(($ac_try" in
|
4508 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4509 | |
*) ac_try_echo=$ac_try;;
|
4510 | |
esac
|
4511 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4512 | |
(eval "$ac_compile") 2>conftest.er1
|
4513 | |
ac_status=$?
|
4514 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4515 | |
rm -f conftest.er1
|
4516 | |
cat conftest.err >&5
|
4517 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4518 | |
(exit $ac_status); } && {
|
4519 | |
test -z "$ac_c_werror_flag" ||
|
4520 | |
test ! -s conftest.err
|
4521 | |
} && test -s conftest.$ac_objext; then
|
4522 | |
ac_hi=-1 ac_mid=-1
|
4523 | |
while :; do
|
4524 | |
cat >conftest.$ac_ext <<_ACEOF
|
4525 | |
/* confdefs.h. */
|
4526 | |
_ACEOF
|
4527 | |
cat confdefs.h >>conftest.$ac_ext
|
4528 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4529 | |
/* end confdefs.h. */
|
4530 | |
$ac_includes_default
|
4531 | |
typedef unsigned short ac__type_sizeof_;
|
4532 | |
int
|
4533 | |
main ()
|
4534 | |
{
|
4535 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
|
4536 | |
test_array [0] = 0
|
4537 | |
|
4538 | |
;
|
4539 | |
return 0;
|
4540 | |
}
|
4541 | |
_ACEOF
|
4542 | |
rm -f conftest.$ac_objext
|
4543 | |
if { (ac_try="$ac_compile"
|
4544 | |
case "(($ac_try" in
|
4545 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4546 | |
*) ac_try_echo=$ac_try;;
|
4547 | |
esac
|
4548 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4549 | |
(eval "$ac_compile") 2>conftest.er1
|
4550 | |
ac_status=$?
|
4551 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4552 | |
rm -f conftest.er1
|
4553 | |
cat conftest.err >&5
|
4554 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4555 | |
(exit $ac_status); } && {
|
4556 | |
test -z "$ac_c_werror_flag" ||
|
4557 | |
test ! -s conftest.err
|
4558 | |
} && test -s conftest.$ac_objext; then
|
4559 | |
ac_lo=$ac_mid; break
|
4560 | |
else
|
4561 | |
echo "$as_me: failed program was:" >&5
|
4562 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4563 | |
|
4564 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
4565 | |
if test $ac_mid -le $ac_hi; then
|
4566 | |
ac_lo= ac_hi=
|
4567 | |
break
|
4568 | |
fi
|
4569 | |
ac_mid=`expr 2 '*' $ac_mid`
|
4570 | |
fi
|
4571 | |
|
4572 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4573 | |
done
|
4574 | |
else
|
4575 | |
echo "$as_me: failed program was:" >&5
|
4576 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4577 | |
|
4578 | |
ac_lo= ac_hi=
|
4579 | |
fi
|
4580 | |
|
4581 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4582 | |
fi
|
4583 | |
|
4584 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4585 | |
# Binary search between lo and hi bounds.
|
4586 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
4587 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
4588 | |
cat >conftest.$ac_ext <<_ACEOF
|
4589 | |
/* confdefs.h. */
|
4590 | |
_ACEOF
|
4591 | |
cat confdefs.h >>conftest.$ac_ext
|
4592 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4593 | |
/* end confdefs.h. */
|
4594 | |
$ac_includes_default
|
4595 | |
typedef unsigned short ac__type_sizeof_;
|
4596 | |
int
|
4597 | |
main ()
|
4598 | |
{
|
4599 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
4600 | |
test_array [0] = 0
|
4601 | |
|
4602 | |
;
|
4603 | |
return 0;
|
4604 | |
}
|
4605 | |
_ACEOF
|
4606 | |
rm -f conftest.$ac_objext
|
4607 | |
if { (ac_try="$ac_compile"
|
4608 | |
case "(($ac_try" in
|
4609 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4610 | |
*) ac_try_echo=$ac_try;;
|
4611 | |
esac
|
4612 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4613 | |
(eval "$ac_compile") 2>conftest.er1
|
4614 | |
ac_status=$?
|
4615 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4616 | |
rm -f conftest.er1
|
4617 | |
cat conftest.err >&5
|
4618 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4619 | |
(exit $ac_status); } && {
|
4620 | |
test -z "$ac_c_werror_flag" ||
|
4621 | |
test ! -s conftest.err
|
4622 | |
} && test -s conftest.$ac_objext; then
|
4623 | |
ac_hi=$ac_mid
|
4624 | |
else
|
4625 | |
echo "$as_me: failed program was:" >&5
|
4626 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4627 | |
|
4628 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
4629 | |
fi
|
4630 | |
|
4631 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4632 | |
done
|
4633 | |
case $ac_lo in
|
4634 | |
?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
|
4635 | |
'') if test "$ac_cv_type_unsigned_short" = yes; then
|
4636 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
|
4637 | |
See \`config.log' for more details." >&5
|
4638 | |
echo "$as_me: error: cannot compute sizeof (unsigned short)
|
4639 | |
See \`config.log' for more details." >&2;}
|
4640 | |
{ (exit 77); exit 77; }; }
|
4641 | |
else
|
4642 | |
ac_cv_sizeof_unsigned_short=0
|
4643 | |
fi ;;
|
4644 | |
esac
|
4645 | |
else
|
4646 | |
cat >conftest.$ac_ext <<_ACEOF
|
4647 | |
/* confdefs.h. */
|
4648 | |
_ACEOF
|
4649 | |
cat confdefs.h >>conftest.$ac_ext
|
4650 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4651 | |
/* end confdefs.h. */
|
4652 | |
$ac_includes_default
|
4653 | |
typedef unsigned short ac__type_sizeof_;
|
4654 | |
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
4655 | |
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
4656 | |
#include <stdio.h>
|
4657 | |
#include <stdlib.h>
|
4658 | |
int
|
4659 | |
main ()
|
4660 | |
{
|
4661 | |
|
4662 | |
FILE *f = fopen ("conftest.val", "w");
|
4663 | |
if (! f)
|
4664 | |
return 1;
|
4665 | |
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|
4666 | |
{
|
4667 | |
long int i = longval ();
|
4668 | |
if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
4669 | |
return 1;
|
4670 | |
fprintf (f, "%ld\n", i);
|
4671 | |
}
|
4672 | |
else
|
4673 | |
{
|
4674 | |
unsigned long int i = ulongval ();
|
4675 | |
if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
4676 | |
return 1;
|
4677 | |
fprintf (f, "%lu\n", i);
|
4678 | |
}
|
4679 | |
return ferror (f) || fclose (f) != 0;
|
4680 | |
|
4681 | |
;
|
4682 | |
return 0;
|
4683 | |
}
|
4684 | |
_ACEOF
|
4685 | |
rm -f conftest$ac_exeext
|
4686 | |
if { (ac_try="$ac_link"
|
4687 | |
case "(($ac_try" in
|
4688 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4689 | |
*) ac_try_echo=$ac_try;;
|
4690 | |
esac
|
4691 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4692 | |
(eval "$ac_link") 2>&5
|
4693 | |
ac_status=$?
|
4694 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4695 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
4696 | |
{ (case "(($ac_try" in
|
4697 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4698 | |
*) ac_try_echo=$ac_try;;
|
4699 | |
esac
|
4700 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4701 | |
(eval "$ac_try") 2>&5
|
4702 | |
ac_status=$?
|
4703 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4704 | |
(exit $ac_status); }; }; then
|
4705 | |
ac_cv_sizeof_unsigned_short=`cat conftest.val`
|
4706 | |
else
|
4707 | |
echo "$as_me: program exited with status $ac_status" >&5
|
4708 | |
echo "$as_me: failed program was:" >&5
|
4709 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4710 | |
|
4711 | |
( exit $ac_status )
|
4712 | |
if test "$ac_cv_type_unsigned_short" = yes; then
|
4713 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
|
4714 | |
See \`config.log' for more details." >&5
|
4715 | |
echo "$as_me: error: cannot compute sizeof (unsigned short)
|
4716 | |
See \`config.log' for more details." >&2;}
|
4717 | |
{ (exit 77); exit 77; }; }
|
|
4308 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
|
|
4309 |
$as_echo_n "checking size of unsigned short... " >&6; }
|
|
4310 |
if test "${ac_cv_sizeof_unsigned_short+set}" = set; then :
|
|
4311 |
$as_echo_n "(cached) " >&6
|
|
4312 |
else
|
|
4313 |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
|
|
4314 |
|
|
4315 |
else
|
|
4316 |
if test "$ac_cv_type_unsigned_short" = yes; then
|
|
4317 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4318 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4319 |
{ as_fn_set_status 77
|
|
4320 |
as_fn_error "cannot compute sizeof (unsigned short)
|
|
4321 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
4718 | 4322 |
else
|
4719 | 4323 |
ac_cv_sizeof_unsigned_short=0
|
4720 | 4324 |
fi
|
4721 | 4325 |
fi
|
4722 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
4723 | |
fi
|
4724 | |
rm -f conftest.val
|
4725 | |
fi
|
4726 | |
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
|
4727 | |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
|
|
4326 |
|
|
4327 |
fi
|
|
4328 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
|
|
4329 |
$as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
|
4728 | 4330 |
|
4729 | 4331 |
|
4730 | 4332 |
|
|
4732 | 4334 |
#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
|
4733 | 4335 |
_ACEOF
|
4734 | 4336 |
|
4735 | |
|
4736 | |
{ echo "$as_me:$LINENO: checking for unsigned int" >&5
|
4737 | |
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
|
4738 | |
if test "${ac_cv_type_unsigned_int+set}" = set; then
|
4739 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4740 | |
else
|
4741 | |
cat >conftest.$ac_ext <<_ACEOF
|
4742 | |
/* confdefs.h. */
|
4743 | |
_ACEOF
|
4744 | |
cat confdefs.h >>conftest.$ac_ext
|
4745 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4746 | |
/* end confdefs.h. */
|
4747 | |
$ac_includes_default
|
4748 | |
typedef unsigned int ac__type_new_;
|
4749 | |
int
|
4750 | |
main ()
|
4751 | |
{
|
4752 | |
if ((ac__type_new_ *) 0)
|
4753 | |
return 0;
|
4754 | |
if (sizeof (ac__type_new_))
|
4755 | |
return 0;
|
4756 | |
;
|
4757 | |
return 0;
|
4758 | |
}
|
4759 | |
_ACEOF
|
4760 | |
rm -f conftest.$ac_objext
|
4761 | |
if { (ac_try="$ac_compile"
|
4762 | |
case "(($ac_try" in
|
4763 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4764 | |
*) ac_try_echo=$ac_try;;
|
4765 | |
esac
|
4766 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4767 | |
(eval "$ac_compile") 2>conftest.er1
|
4768 | |
ac_status=$?
|
4769 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4770 | |
rm -f conftest.er1
|
4771 | |
cat conftest.err >&5
|
4772 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4773 | |
(exit $ac_status); } && {
|
4774 | |
test -z "$ac_c_werror_flag" ||
|
4775 | |
test ! -s conftest.err
|
4776 | |
} && test -s conftest.$ac_objext; then
|
4777 | |
ac_cv_type_unsigned_int=yes
|
4778 | |
else
|
4779 | |
echo "$as_me: failed program was:" >&5
|
4780 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4781 | |
|
4782 | |
ac_cv_type_unsigned_int=no
|
4783 | |
fi
|
4784 | |
|
4785 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4786 | |
fi
|
4787 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
|
4788 | |
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
|
4789 | 4337 |
|
4790 | 4338 |
# The cast to long int works around a bug in the HP C Compiler
|
4791 | 4339 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
4792 | 4340 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
4793 | 4341 |
# This bug is HP SR number 8606223364.
|
4794 | |
{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
|
4795 | |
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
|
4796 | |
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
|
4797 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4798 | |
else
|
4799 | |
if test "$cross_compiling" = yes; then
|
4800 | |
# Depending upon the size, compute the lo and hi bounds.
|
4801 | |
cat >conftest.$ac_ext <<_ACEOF
|
4802 | |
/* confdefs.h. */
|
4803 | |
_ACEOF
|
4804 | |
cat confdefs.h >>conftest.$ac_ext
|
4805 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4806 | |
/* end confdefs.h. */
|
4807 | |
$ac_includes_default
|
4808 | |
typedef unsigned int ac__type_sizeof_;
|
4809 | |
int
|
4810 | |
main ()
|
4811 | |
{
|
4812 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
|
4813 | |
test_array [0] = 0
|
4814 | |
|
4815 | |
;
|
4816 | |
return 0;
|
4817 | |
}
|
4818 | |
_ACEOF
|
4819 | |
rm -f conftest.$ac_objext
|
4820 | |
if { (ac_try="$ac_compile"
|
4821 | |
case "(($ac_try" in
|
4822 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4823 | |
*) ac_try_echo=$ac_try;;
|
4824 | |
esac
|
4825 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4826 | |
(eval "$ac_compile") 2>conftest.er1
|
4827 | |
ac_status=$?
|
4828 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4829 | |
rm -f conftest.er1
|
4830 | |
cat conftest.err >&5
|
4831 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4832 | |
(exit $ac_status); } && {
|
4833 | |
test -z "$ac_c_werror_flag" ||
|
4834 | |
test ! -s conftest.err
|
4835 | |
} && test -s conftest.$ac_objext; then
|
4836 | |
ac_lo=0 ac_mid=0
|
4837 | |
while :; do
|
4838 | |
cat >conftest.$ac_ext <<_ACEOF
|
4839 | |
/* confdefs.h. */
|
4840 | |
_ACEOF
|
4841 | |
cat confdefs.h >>conftest.$ac_ext
|
4842 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4843 | |
/* end confdefs.h. */
|
4844 | |
$ac_includes_default
|
4845 | |
typedef unsigned int ac__type_sizeof_;
|
4846 | |
int
|
4847 | |
main ()
|
4848 | |
{
|
4849 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
4850 | |
test_array [0] = 0
|
4851 | |
|
4852 | |
;
|
4853 | |
return 0;
|
4854 | |
}
|
4855 | |
_ACEOF
|
4856 | |
rm -f conftest.$ac_objext
|
4857 | |
if { (ac_try="$ac_compile"
|
4858 | |
case "(($ac_try" in
|
4859 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4860 | |
*) ac_try_echo=$ac_try;;
|
4861 | |
esac
|
4862 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4863 | |
(eval "$ac_compile") 2>conftest.er1
|
4864 | |
ac_status=$?
|
4865 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4866 | |
rm -f conftest.er1
|
4867 | |
cat conftest.err >&5
|
4868 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4869 | |
(exit $ac_status); } && {
|
4870 | |
test -z "$ac_c_werror_flag" ||
|
4871 | |
test ! -s conftest.err
|
4872 | |
} && test -s conftest.$ac_objext; then
|
4873 | |
ac_hi=$ac_mid; break
|
4874 | |
else
|
4875 | |
echo "$as_me: failed program was:" >&5
|
4876 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4877 | |
|
4878 | |
ac_lo=`expr $ac_mid + 1`
|
4879 | |
if test $ac_lo -le $ac_mid; then
|
4880 | |
ac_lo= ac_hi=
|
4881 | |
break
|
4882 | |
fi
|
4883 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
4884 | |
fi
|
4885 | |
|
4886 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4887 | |
done
|
4888 | |
else
|
4889 | |
echo "$as_me: failed program was:" >&5
|
4890 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4891 | |
|
4892 | |
cat >conftest.$ac_ext <<_ACEOF
|
4893 | |
/* confdefs.h. */
|
4894 | |
_ACEOF
|
4895 | |
cat confdefs.h >>conftest.$ac_ext
|
4896 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4897 | |
/* end confdefs.h. */
|
4898 | |
$ac_includes_default
|
4899 | |
typedef unsigned int ac__type_sizeof_;
|
4900 | |
int
|
4901 | |
main ()
|
4902 | |
{
|
4903 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
|
4904 | |
test_array [0] = 0
|
4905 | |
|
4906 | |
;
|
4907 | |
return 0;
|
4908 | |
}
|
4909 | |
_ACEOF
|
4910 | |
rm -f conftest.$ac_objext
|
4911 | |
if { (ac_try="$ac_compile"
|
4912 | |
case "(($ac_try" in
|
4913 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4914 | |
*) ac_try_echo=$ac_try;;
|
4915 | |
esac
|
4916 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4917 | |
(eval "$ac_compile") 2>conftest.er1
|
4918 | |
ac_status=$?
|
4919 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4920 | |
rm -f conftest.er1
|
4921 | |
cat conftest.err >&5
|
4922 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4923 | |
(exit $ac_status); } && {
|
4924 | |
test -z "$ac_c_werror_flag" ||
|
4925 | |
test ! -s conftest.err
|
4926 | |
} && test -s conftest.$ac_objext; then
|
4927 | |
ac_hi=-1 ac_mid=-1
|
4928 | |
while :; do
|
4929 | |
cat >conftest.$ac_ext <<_ACEOF
|
4930 | |
/* confdefs.h. */
|
4931 | |
_ACEOF
|
4932 | |
cat confdefs.h >>conftest.$ac_ext
|
4933 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4934 | |
/* end confdefs.h. */
|
4935 | |
$ac_includes_default
|
4936 | |
typedef unsigned int ac__type_sizeof_;
|
4937 | |
int
|
4938 | |
main ()
|
4939 | |
{
|
4940 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
|
4941 | |
test_array [0] = 0
|
4942 | |
|
4943 | |
;
|
4944 | |
return 0;
|
4945 | |
}
|
4946 | |
_ACEOF
|
4947 | |
rm -f conftest.$ac_objext
|
4948 | |
if { (ac_try="$ac_compile"
|
4949 | |
case "(($ac_try" in
|
4950 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4951 | |
*) ac_try_echo=$ac_try;;
|
4952 | |
esac
|
4953 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4954 | |
(eval "$ac_compile") 2>conftest.er1
|
4955 | |
ac_status=$?
|
4956 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4957 | |
rm -f conftest.er1
|
4958 | |
cat conftest.err >&5
|
4959 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4960 | |
(exit $ac_status); } && {
|
4961 | |
test -z "$ac_c_werror_flag" ||
|
4962 | |
test ! -s conftest.err
|
4963 | |
} && test -s conftest.$ac_objext; then
|
4964 | |
ac_lo=$ac_mid; break
|
4965 | |
else
|
4966 | |
echo "$as_me: failed program was:" >&5
|
4967 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4968 | |
|
4969 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
4970 | |
if test $ac_mid -le $ac_hi; then
|
4971 | |
ac_lo= ac_hi=
|
4972 | |
break
|
4973 | |
fi
|
4974 | |
ac_mid=`expr 2 '*' $ac_mid`
|
4975 | |
fi
|
4976 | |
|
4977 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4978 | |
done
|
4979 | |
else
|
4980 | |
echo "$as_me: failed program was:" >&5
|
4981 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4982 | |
|
4983 | |
ac_lo= ac_hi=
|
4984 | |
fi
|
4985 | |
|
4986 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4987 | |
fi
|
4988 | |
|
4989 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4990 | |
# Binary search between lo and hi bounds.
|
4991 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
4992 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
4993 | |
cat >conftest.$ac_ext <<_ACEOF
|
4994 | |
/* confdefs.h. */
|
4995 | |
_ACEOF
|
4996 | |
cat confdefs.h >>conftest.$ac_ext
|
4997 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4998 | |
/* end confdefs.h. */
|
4999 | |
$ac_includes_default
|
5000 | |
typedef unsigned int ac__type_sizeof_;
|
5001 | |
int
|
5002 | |
main ()
|
5003 | |
{
|
5004 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
5005 | |
test_array [0] = 0
|
5006 | |
|
5007 | |
;
|
5008 | |
return 0;
|
5009 | |
}
|
5010 | |
_ACEOF
|
5011 | |
rm -f conftest.$ac_objext
|
5012 | |
if { (ac_try="$ac_compile"
|
5013 | |
case "(($ac_try" in
|
5014 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5015 | |
*) ac_try_echo=$ac_try;;
|
5016 | |
esac
|
5017 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5018 | |
(eval "$ac_compile") 2>conftest.er1
|
5019 | |
ac_status=$?
|
5020 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5021 | |
rm -f conftest.er1
|
5022 | |
cat conftest.err >&5
|
5023 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5024 | |
(exit $ac_status); } && {
|
5025 | |
test -z "$ac_c_werror_flag" ||
|
5026 | |
test ! -s conftest.err
|
5027 | |
} && test -s conftest.$ac_objext; then
|
5028 | |
ac_hi=$ac_mid
|
5029 | |
else
|
5030 | |
echo "$as_me: failed program was:" >&5
|
5031 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5032 | |
|
5033 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
5034 | |
fi
|
5035 | |
|
5036 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5037 | |
done
|
5038 | |
case $ac_lo in
|
5039 | |
?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
|
5040 | |
'') if test "$ac_cv_type_unsigned_int" = yes; then
|
5041 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
|
5042 | |
See \`config.log' for more details." >&5
|
5043 | |
echo "$as_me: error: cannot compute sizeof (unsigned int)
|
5044 | |
See \`config.log' for more details." >&2;}
|
5045 | |
{ (exit 77); exit 77; }; }
|
5046 | |
else
|
5047 | |
ac_cv_sizeof_unsigned_int=0
|
5048 | |
fi ;;
|
5049 | |
esac
|
5050 | |
else
|
5051 | |
cat >conftest.$ac_ext <<_ACEOF
|
5052 | |
/* confdefs.h. */
|
5053 | |
_ACEOF
|
5054 | |
cat confdefs.h >>conftest.$ac_ext
|
5055 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5056 | |
/* end confdefs.h. */
|
5057 | |
$ac_includes_default
|
5058 | |
typedef unsigned int ac__type_sizeof_;
|
5059 | |
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
5060 | |
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
5061 | |
#include <stdio.h>
|
5062 | |
#include <stdlib.h>
|
5063 | |
int
|
5064 | |
main ()
|
5065 | |
{
|
5066 | |
|
5067 | |
FILE *f = fopen ("conftest.val", "w");
|
5068 | |
if (! f)
|
5069 | |
return 1;
|
5070 | |
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|
5071 | |
{
|
5072 | |
long int i = longval ();
|
5073 | |
if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
5074 | |
return 1;
|
5075 | |
fprintf (f, "%ld\n", i);
|
5076 | |
}
|
5077 | |
else
|
5078 | |
{
|
5079 | |
unsigned long int i = ulongval ();
|
5080 | |
if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
5081 | |
return 1;
|
5082 | |
fprintf (f, "%lu\n", i);
|
5083 | |
}
|
5084 | |
return ferror (f) || fclose (f) != 0;
|
5085 | |
|
5086 | |
;
|
5087 | |
return 0;
|
5088 | |
}
|
5089 | |
_ACEOF
|
5090 | |
rm -f conftest$ac_exeext
|
5091 | |
if { (ac_try="$ac_link"
|
5092 | |
case "(($ac_try" in
|
5093 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5094 | |
*) ac_try_echo=$ac_try;;
|
5095 | |
esac
|
5096 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5097 | |
(eval "$ac_link") 2>&5
|
5098 | |
ac_status=$?
|
5099 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5100 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5101 | |
{ (case "(($ac_try" in
|
5102 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5103 | |
*) ac_try_echo=$ac_try;;
|
5104 | |
esac
|
5105 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5106 | |
(eval "$ac_try") 2>&5
|
5107 | |
ac_status=$?
|
5108 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5109 | |
(exit $ac_status); }; }; then
|
5110 | |
ac_cv_sizeof_unsigned_int=`cat conftest.val`
|
5111 | |
else
|
5112 | |
echo "$as_me: program exited with status $ac_status" >&5
|
5113 | |
echo "$as_me: failed program was:" >&5
|
5114 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5115 | |
|
5116 | |
( exit $ac_status )
|
5117 | |
if test "$ac_cv_type_unsigned_int" = yes; then
|
5118 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
|
5119 | |
See \`config.log' for more details." >&5
|
5120 | |
echo "$as_me: error: cannot compute sizeof (unsigned int)
|
5121 | |
See \`config.log' for more details." >&2;}
|
5122 | |
{ (exit 77); exit 77; }; }
|
|
4342 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
|
|
4343 |
$as_echo_n "checking size of unsigned int... " >&6; }
|
|
4344 |
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then :
|
|
4345 |
$as_echo_n "(cached) " >&6
|
|
4346 |
else
|
|
4347 |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
|
|
4348 |
|
|
4349 |
else
|
|
4350 |
if test "$ac_cv_type_unsigned_int" = yes; then
|
|
4351 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4352 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4353 |
{ as_fn_set_status 77
|
|
4354 |
as_fn_error "cannot compute sizeof (unsigned int)
|
|
4355 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
5123 | 4356 |
else
|
5124 | 4357 |
ac_cv_sizeof_unsigned_int=0
|
5125 | 4358 |
fi
|
5126 | 4359 |
fi
|
5127 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5128 | |
fi
|
5129 | |
rm -f conftest.val
|
5130 | |
fi
|
5131 | |
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
|
5132 | |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
|
|
4360 |
|
|
4361 |
fi
|
|
4362 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
|
|
4363 |
$as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
|
5133 | 4364 |
|
5134 | 4365 |
|
5135 | 4366 |
|
|
5137 | 4368 |
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
|
5138 | 4369 |
_ACEOF
|
5139 | 4370 |
|
5140 | |
|
5141 | |
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
|
5142 | |
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
|
5143 | |
if test "${ac_cv_type_unsigned_long+set}" = set; then
|
5144 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5145 | |
else
|
5146 | |
cat >conftest.$ac_ext <<_ACEOF
|
5147 | |
/* confdefs.h. */
|
5148 | |
_ACEOF
|
5149 | |
cat confdefs.h >>conftest.$ac_ext
|
5150 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5151 | |
/* end confdefs.h. */
|
5152 | |
$ac_includes_default
|
5153 | |
typedef unsigned long ac__type_new_;
|
5154 | |
int
|
5155 | |
main ()
|
5156 | |
{
|
5157 | |
if ((ac__type_new_ *) 0)
|
5158 | |
return 0;
|
5159 | |
if (sizeof (ac__type_new_))
|
5160 | |
return 0;
|
5161 | |
;
|
5162 | |
return 0;
|
5163 | |
}
|
5164 | |
_ACEOF
|
5165 | |
rm -f conftest.$ac_objext
|
5166 | |
if { (ac_try="$ac_compile"
|
5167 | |
case "(($ac_try" in
|
5168 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5169 | |
*) ac_try_echo=$ac_try;;
|
5170 | |
esac
|
5171 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5172 | |
(eval "$ac_compile") 2>conftest.er1
|
5173 | |
ac_status=$?
|
5174 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5175 | |
rm -f conftest.er1
|
5176 | |
cat conftest.err >&5
|
5177 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5178 | |
(exit $ac_status); } && {
|
5179 | |
test -z "$ac_c_werror_flag" ||
|
5180 | |
test ! -s conftest.err
|
5181 | |
} && test -s conftest.$ac_objext; then
|
5182 | |
ac_cv_type_unsigned_long=yes
|
5183 | |
else
|
5184 | |
echo "$as_me: failed program was:" >&5
|
5185 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5186 | |
|
5187 | |
ac_cv_type_unsigned_long=no
|
5188 | |
fi
|
5189 | |
|
5190 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5191 | |
fi
|
5192 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
|
5193 | |
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
|
5194 | 4371 |
|
5195 | 4372 |
# The cast to long int works around a bug in the HP C Compiler
|
5196 | 4373 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
5197 | 4374 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
5198 | 4375 |
# This bug is HP SR number 8606223364.
|
5199 | |
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
|
5200 | |
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
|
5201 | |
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
|
5202 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5203 | |
else
|
5204 | |
if test "$cross_compiling" = yes; then
|
5205 | |
# Depending upon the size, compute the lo and hi bounds.
|
5206 | |
cat >conftest.$ac_ext <<_ACEOF
|
5207 | |
/* confdefs.h. */
|
5208 | |
_ACEOF
|
5209 | |
cat confdefs.h >>conftest.$ac_ext
|
5210 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5211 | |
/* end confdefs.h. */
|
5212 | |
$ac_includes_default
|
5213 | |
typedef unsigned long ac__type_sizeof_;
|
5214 | |
int
|
5215 | |
main ()
|
5216 | |
{
|
5217 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
|
5218 | |
test_array [0] = 0
|
5219 | |
|
5220 | |
;
|
5221 | |
return 0;
|
5222 | |
}
|
5223 | |
_ACEOF
|
5224 | |
rm -f conftest.$ac_objext
|
5225 | |
if { (ac_try="$ac_compile"
|
5226 | |
case "(($ac_try" in
|
5227 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5228 | |
*) ac_try_echo=$ac_try;;
|
5229 | |
esac
|
5230 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5231 | |
(eval "$ac_compile") 2>conftest.er1
|
5232 | |
ac_status=$?
|
5233 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5234 | |
rm -f conftest.er1
|
5235 | |
cat conftest.err >&5
|
5236 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5237 | |
(exit $ac_status); } && {
|
5238 | |
test -z "$ac_c_werror_flag" ||
|
5239 | |
test ! -s conftest.err
|
5240 | |
} && test -s conftest.$ac_objext; then
|
5241 | |
ac_lo=0 ac_mid=0
|
5242 | |
while :; do
|
5243 | |
cat >conftest.$ac_ext <<_ACEOF
|
5244 | |
/* confdefs.h. */
|
5245 | |
_ACEOF
|
5246 | |
cat confdefs.h >>conftest.$ac_ext
|
5247 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5248 | |
/* end confdefs.h. */
|
5249 | |
$ac_includes_default
|
5250 | |
typedef unsigned long ac__type_sizeof_;
|
5251 | |
int
|
5252 | |
main ()
|
5253 | |
{
|
5254 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
5255 | |
test_array [0] = 0
|
5256 | |
|
5257 | |
;
|
5258 | |
return 0;
|
5259 | |
}
|
5260 | |
_ACEOF
|
5261 | |
rm -f conftest.$ac_objext
|
5262 | |
if { (ac_try="$ac_compile"
|
5263 | |
case "(($ac_try" in
|
5264 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5265 | |
*) ac_try_echo=$ac_try;;
|
5266 | |
esac
|
5267 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5268 | |
(eval "$ac_compile") 2>conftest.er1
|
5269 | |
ac_status=$?
|
5270 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5271 | |
rm -f conftest.er1
|
5272 | |
cat conftest.err >&5
|
5273 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5274 | |
(exit $ac_status); } && {
|
5275 | |
test -z "$ac_c_werror_flag" ||
|
5276 | |
test ! -s conftest.err
|
5277 | |
} && test -s conftest.$ac_objext; then
|
5278 | |
ac_hi=$ac_mid; break
|
5279 | |
else
|
5280 | |
echo "$as_me: failed program was:" >&5
|
5281 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5282 | |
|
5283 | |
ac_lo=`expr $ac_mid + 1`
|
5284 | |
if test $ac_lo -le $ac_mid; then
|
5285 | |
ac_lo= ac_hi=
|
5286 | |
break
|
5287 | |
fi
|
5288 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
5289 | |
fi
|
5290 | |
|
5291 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5292 | |
done
|
5293 | |
else
|
5294 | |
echo "$as_me: failed program was:" >&5
|
5295 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5296 | |
|
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 | |
$ac_includes_default
|
5304 | |
typedef unsigned long ac__type_sizeof_;
|
5305 | |
int
|
5306 | |
main ()
|
5307 | |
{
|
5308 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
|
5309 | |
test_array [0] = 0
|
5310 | |
|
5311 | |
;
|
5312 | |
return 0;
|
5313 | |
}
|
5314 | |
_ACEOF
|
5315 | |
rm -f conftest.$ac_objext
|
5316 | |
if { (ac_try="$ac_compile"
|
5317 | |
case "(($ac_try" in
|
5318 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5319 | |
*) ac_try_echo=$ac_try;;
|
5320 | |
esac
|
5321 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5322 | |
(eval "$ac_compile") 2>conftest.er1
|
5323 | |
ac_status=$?
|
5324 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5325 | |
rm -f conftest.er1
|
5326 | |
cat conftest.err >&5
|
5327 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5328 | |
(exit $ac_status); } && {
|
5329 | |
test -z "$ac_c_werror_flag" ||
|
5330 | |
test ! -s conftest.err
|
5331 | |
} && test -s conftest.$ac_objext; then
|
5332 | |
ac_hi=-1 ac_mid=-1
|
5333 | |
while :; do
|
5334 | |
cat >conftest.$ac_ext <<_ACEOF
|
5335 | |
/* confdefs.h. */
|
5336 | |
_ACEOF
|
5337 | |
cat confdefs.h >>conftest.$ac_ext
|
5338 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5339 | |
/* end confdefs.h. */
|
5340 | |
$ac_includes_default
|
5341 | |
typedef unsigned long ac__type_sizeof_;
|
5342 | |
int
|
5343 | |
main ()
|
5344 | |
{
|
5345 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
|
5346 | |
test_array [0] = 0
|
5347 | |
|
5348 | |
;
|
5349 | |
return 0;
|
5350 | |
}
|
5351 | |
_ACEOF
|
5352 | |
rm -f conftest.$ac_objext
|
5353 | |
if { (ac_try="$ac_compile"
|
5354 | |
case "(($ac_try" in
|
5355 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5356 | |
*) ac_try_echo=$ac_try;;
|
5357 | |
esac
|
5358 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5359 | |
(eval "$ac_compile") 2>conftest.er1
|
5360 | |
ac_status=$?
|
5361 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5362 | |
rm -f conftest.er1
|
5363 | |
cat conftest.err >&5
|
5364 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5365 | |
(exit $ac_status); } && {
|
5366 | |
test -z "$ac_c_werror_flag" ||
|
5367 | |
test ! -s conftest.err
|
5368 | |
} && test -s conftest.$ac_objext; then
|
5369 | |
ac_lo=$ac_mid; break
|
5370 | |
else
|
5371 | |
echo "$as_me: failed program was:" >&5
|
5372 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5373 | |
|
5374 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
5375 | |
if test $ac_mid -le $ac_hi; then
|
5376 | |
ac_lo= ac_hi=
|
5377 | |
break
|
5378 | |
fi
|
5379 | |
ac_mid=`expr 2 '*' $ac_mid`
|
5380 | |
fi
|
5381 | |
|
5382 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5383 | |
done
|
5384 | |
else
|
5385 | |
echo "$as_me: failed program was:" >&5
|
5386 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5387 | |
|
5388 | |
ac_lo= ac_hi=
|
5389 | |
fi
|
5390 | |
|
5391 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5392 | |
fi
|
5393 | |
|
5394 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5395 | |
# Binary search between lo and hi bounds.
|
5396 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
5397 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
5398 | |
cat >conftest.$ac_ext <<_ACEOF
|
5399 | |
/* confdefs.h. */
|
5400 | |
_ACEOF
|
5401 | |
cat confdefs.h >>conftest.$ac_ext
|
5402 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5403 | |
/* end confdefs.h. */
|
5404 | |
$ac_includes_default
|
5405 | |
typedef unsigned long ac__type_sizeof_;
|
5406 | |
int
|
5407 | |
main ()
|
5408 | |
{
|
5409 | |
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
|
5410 | |
test_array [0] = 0
|
5411 | |
|
5412 | |
;
|
5413 | |
return 0;
|
5414 | |
}
|
5415 | |
_ACEOF
|
5416 | |
rm -f conftest.$ac_objext
|
5417 | |
if { (ac_try="$ac_compile"
|
5418 | |
case "(($ac_try" in
|
5419 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5420 | |
*) ac_try_echo=$ac_try;;
|
5421 | |
esac
|
5422 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5423 | |
(eval "$ac_compile") 2>conftest.er1
|
5424 | |
ac_status=$?
|
5425 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5426 | |
rm -f conftest.er1
|
5427 | |
cat conftest.err >&5
|
5428 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5429 | |
(exit $ac_status); } && {
|
5430 | |
test -z "$ac_c_werror_flag" ||
|
5431 | |
test ! -s conftest.err
|
5432 | |
} && test -s conftest.$ac_objext; then
|
5433 | |
ac_hi=$ac_mid
|
5434 | |
else
|
5435 | |
echo "$as_me: failed program was:" >&5
|
5436 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5437 | |
|
5438 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
5439 | |
fi
|
5440 | |
|
5441 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5442 | |
done
|
5443 | |
case $ac_lo in
|
5444 | |
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
|
5445 | |
'') if test "$ac_cv_type_unsigned_long" = yes; then
|
5446 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
|
5447 | |
See \`config.log' for more details." >&5
|
5448 | |
echo "$as_me: error: cannot compute sizeof (unsigned long)
|
5449 | |
See \`config.log' for more details." >&2;}
|
5450 | |
{ (exit 77); exit 77; }; }
|
5451 | |
else
|
5452 | |
ac_cv_sizeof_unsigned_long=0
|
5453 | |
fi ;;
|
5454 | |
esac
|
5455 | |
else
|
5456 | |
cat >conftest.$ac_ext <<_ACEOF
|
5457 | |
/* confdefs.h. */
|
5458 | |
_ACEOF
|
5459 | |
cat confdefs.h >>conftest.$ac_ext
|
5460 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5461 | |
/* end confdefs.h. */
|
5462 | |
$ac_includes_default
|
5463 | |
typedef unsigned long ac__type_sizeof_;
|
5464 | |
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
5465 | |
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
|
5466 | |
#include <stdio.h>
|
5467 | |
#include <stdlib.h>
|
5468 | |
int
|
5469 | |
main ()
|
5470 | |
{
|
5471 | |
|
5472 | |
FILE *f = fopen ("conftest.val", "w");
|
5473 | |
if (! f)
|
5474 | |
return 1;
|
5475 | |
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|
5476 | |
{
|
5477 | |
long int i = longval ();
|
5478 | |
if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
5479 | |
return 1;
|
5480 | |
fprintf (f, "%ld\n", i);
|
5481 | |
}
|
5482 | |
else
|
5483 | |
{
|
5484 | |
unsigned long int i = ulongval ();
|
5485 | |
if (i != ((long int) (sizeof (ac__type_sizeof_))))
|
5486 | |
return 1;
|
5487 | |
fprintf (f, "%lu\n", i);
|
5488 | |
}
|
5489 | |
return ferror (f) || fclose (f) != 0;
|
5490 | |
|
5491 | |
;
|
5492 | |
return 0;
|
5493 | |
}
|
5494 | |
_ACEOF
|
5495 | |
rm -f conftest$ac_exeext
|
5496 | |
if { (ac_try="$ac_link"
|
5497 | |
case "(($ac_try" in
|
5498 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5499 | |
*) ac_try_echo=$ac_try;;
|
5500 | |
esac
|
5501 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5502 | |
(eval "$ac_link") 2>&5
|
5503 | |
ac_status=$?
|
5504 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5505 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5506 | |
{ (case "(($ac_try" in
|
5507 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5508 | |
*) ac_try_echo=$ac_try;;
|
5509 | |
esac
|
5510 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5511 | |
(eval "$ac_try") 2>&5
|
5512 | |
ac_status=$?
|
5513 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5514 | |
(exit $ac_status); }; }; then
|
5515 | |
ac_cv_sizeof_unsigned_long=`cat conftest.val`
|
5516 | |
else
|
5517 | |
echo "$as_me: program exited with status $ac_status" >&5
|
5518 | |
echo "$as_me: failed program was:" >&5
|
5519 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5520 | |
|
5521 | |
( exit $ac_status )
|
5522 | |
if test "$ac_cv_type_unsigned_long" = yes; then
|
5523 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
|
5524 | |
See \`config.log' for more details." >&5
|
5525 | |
echo "$as_me: error: cannot compute sizeof (unsigned long)
|
5526 | |
See \`config.log' for more details." >&2;}
|
5527 | |
{ (exit 77); exit 77; }; }
|
|
4376 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
|
|
4377 |
$as_echo_n "checking size of unsigned long... " >&6; }
|
|
4378 |
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then :
|
|
4379 |
$as_echo_n "(cached) " >&6
|
|
4380 |
else
|
|
4381 |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
|
|
4382 |
|
|
4383 |
else
|
|
4384 |
if test "$ac_cv_type_unsigned_long" = yes; then
|
|
4385 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4386 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4387 |
{ as_fn_set_status 77
|
|
4388 |
as_fn_error "cannot compute sizeof (unsigned long)
|
|
4389 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
5528 | 4390 |
else
|
5529 | 4391 |
ac_cv_sizeof_unsigned_long=0
|
5530 | 4392 |
fi
|
5531 | 4393 |
fi
|
5532 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5533 | |
fi
|
5534 | |
rm -f conftest.val
|
5535 | |
fi
|
5536 | |
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
|
5537 | |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
|
|
4394 |
|
|
4395 |
fi
|
|
4396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
|
|
4397 |
$as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
|
5538 | 4398 |
|
5539 | 4399 |
|
5540 | 4400 |
|
|
5544 | 4404 |
|
5545 | 4405 |
|
5546 | 4406 |
|
5547 | |
|
5548 | |
|
5549 | |
|
5550 | |
|
5551 | |
|
5552 | |
|
5553 | 4407 |
for ac_header in ncurses.h ncurses/curses.h curses.h cursesX.h sys/types.h fcntl.h
|
5554 | |
do
|
5555 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5556 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5557 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5558 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
5559 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5560 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5561 | |
fi
|
5562 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
5563 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
5564 | |
echo "${ECHO_T}$ac_res" >&6; }
|
5565 | |
else
|
5566 | |
# Is the header compilable?
|
5567 | |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
5568 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
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 | |
$ac_includes_default
|
5576 | |
#include <$ac_header>
|
5577 | |
_ACEOF
|
5578 | |
rm -f conftest.$ac_objext
|
5579 | |
if { (ac_try="$ac_compile"
|
5580 | |
case "(($ac_try" in
|
5581 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5582 | |
*) ac_try_echo=$ac_try;;
|
5583 | |
esac
|
5584 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5585 | |
(eval "$ac_compile") 2>conftest.er1
|
5586 | |
ac_status=$?
|
5587 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5588 | |
rm -f conftest.er1
|
5589 | |
cat conftest.err >&5
|
5590 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5591 | |
(exit $ac_status); } && {
|
5592 | |
test -z "$ac_c_werror_flag" ||
|
5593 | |
test ! -s conftest.err
|
5594 | |
} && test -s conftest.$ac_objext; then
|
5595 | |
ac_header_compiler=yes
|
5596 | |
else
|
5597 | |
echo "$as_me: failed program was:" >&5
|
5598 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5599 | |
|
5600 | |
ac_header_compiler=no
|
5601 | |
fi
|
5602 | |
|
5603 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5604 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
5605 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
5606 | |
|
5607 | |
# Is the header present?
|
5608 | |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
5609 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
5610 | |
cat >conftest.$ac_ext <<_ACEOF
|
5611 | |
/* confdefs.h. */
|
5612 | |
_ACEOF
|
5613 | |
cat confdefs.h >>conftest.$ac_ext
|
5614 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5615 | |
/* end confdefs.h. */
|
5616 | |
#include <$ac_header>
|
5617 | |
_ACEOF
|
5618 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5619 | |
case "(($ac_try" in
|
5620 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5621 | |
*) ac_try_echo=$ac_try;;
|
5622 | |
esac
|
5623 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5624 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5625 | |
ac_status=$?
|
5626 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5627 | |
rm -f conftest.er1
|
5628 | |
cat conftest.err >&5
|
5629 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5630 | |
(exit $ac_status); } >/dev/null && {
|
5631 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
5632 | |
test ! -s conftest.err
|
5633 | |
}; then
|
5634 | |
ac_header_preproc=yes
|
5635 | |
else
|
5636 | |
echo "$as_me: failed program was:" >&5
|
5637 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5638 | |
|
5639 | |
ac_header_preproc=no
|
5640 | |
fi
|
5641 | |
|
5642 | |
rm -f conftest.err conftest.$ac_ext
|
5643 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
5644 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
5645 | |
|
5646 | |
# So? What about this header?
|
5647 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
5648 | |
yes:no: )
|
5649 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
5650 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5651 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
5652 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
5653 | |
ac_header_preproc=yes
|
5654 | |
;;
|
5655 | |
no:yes:* )
|
5656 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
5657 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
5658 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
5659 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
5660 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
5661 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
5662 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
5663 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
5664 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
5665 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
5666 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
5667 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
5668 | |
|
5669 | |
;;
|
5670 | |
esac
|
5671 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5672 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
5673 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5674 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5675 | |
else
|
5676 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
5677 | |
fi
|
5678 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
5679 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
5680 | |
echo "${ECHO_T}$ac_res" >&6; }
|
5681 | |
|
5682 | |
fi
|
5683 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4408 |
do :
|
|
4409 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4410 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
4411 |
eval as_val=\$$as_ac_Header
|
|
4412 |
if test "x$as_val" = x""yes; then :
|
5684 | 4413 |
cat >>confdefs.h <<_ACEOF
|
5685 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4414 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5686 | 4415 |
_ACEOF
|
5687 | 4416 |
|
5688 | 4417 |
fi
|
5689 | 4418 |
|
5690 | 4419 |
done
|
5691 | 4420 |
|
5692 | |
|
5693 | |
|
5694 | |
|
5695 | 4421 |
for ac_header in socket.h sys/socket.h sys/xti.h
|
5696 | |
do
|
5697 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5698 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5699 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5700 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
5701 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5702 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5703 | |
fi
|
5704 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
5705 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
5706 | |
echo "${ECHO_T}$ac_res" >&6; }
|
5707 | |
else
|
5708 | |
# Is the header compilable?
|
5709 | |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
5710 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
5711 | |
cat >conftest.$ac_ext <<_ACEOF
|
5712 | |
/* confdefs.h. */
|
5713 | |
_ACEOF
|
5714 | |
cat confdefs.h >>conftest.$ac_ext
|
5715 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5716 | |
/* end confdefs.h. */
|
5717 | |
$ac_includes_default
|
5718 | |
#include <$ac_header>
|
5719 | |
_ACEOF
|
5720 | |
rm -f conftest.$ac_objext
|
5721 | |
if { (ac_try="$ac_compile"
|
5722 | |
case "(($ac_try" in
|
5723 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5724 | |
*) ac_try_echo=$ac_try;;
|
5725 | |
esac
|
5726 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5727 | |
(eval "$ac_compile") 2>conftest.er1
|
5728 | |
ac_status=$?
|
5729 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5730 | |
rm -f conftest.er1
|
5731 | |
cat conftest.err >&5
|
5732 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5733 | |
(exit $ac_status); } && {
|
5734 | |
test -z "$ac_c_werror_flag" ||
|
5735 | |
test ! -s conftest.err
|
5736 | |
} && test -s conftest.$ac_objext; then
|
5737 | |
ac_header_compiler=yes
|
5738 | |
else
|
5739 | |
echo "$as_me: failed program was:" >&5
|
5740 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5741 | |
|
5742 | |
ac_header_compiler=no
|
5743 | |
fi
|
5744 | |
|
5745 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5746 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
5747 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
5748 | |
|
5749 | |
# Is the header present?
|
5750 | |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
5751 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
5752 | |
cat >conftest.$ac_ext <<_ACEOF
|
5753 | |
/* confdefs.h. */
|
5754 | |
_ACEOF
|
5755 | |
cat confdefs.h >>conftest.$ac_ext
|
5756 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5757 | |
/* end confdefs.h. */
|
5758 | |
#include <$ac_header>
|
5759 | |
_ACEOF
|
5760 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5761 | |
case "(($ac_try" in
|
5762 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5763 | |
*) ac_try_echo=$ac_try;;
|
5764 | |
esac
|
5765 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5766 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5767 | |
ac_status=$?
|
5768 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5769 | |
rm -f conftest.er1
|
5770 | |
cat conftest.err >&5
|
5771 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5772 | |
(exit $ac_status); } >/dev/null && {
|
5773 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
5774 | |
test ! -s conftest.err
|
5775 | |
}; then
|
5776 | |
ac_header_preproc=yes
|
5777 | |
else
|
5778 | |
echo "$as_me: failed program was:" >&5
|
5779 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5780 | |
|
5781 | |
ac_header_preproc=no
|
5782 | |
fi
|
5783 | |
|
5784 | |
rm -f conftest.err conftest.$ac_ext
|
5785 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
5786 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
5787 | |
|
5788 | |
# So? What about this header?
|
5789 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
5790 | |
yes:no: )
|
5791 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
5792 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5793 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
5794 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
5795 | |
ac_header_preproc=yes
|
5796 | |
;;
|
5797 | |
no:yes:* )
|
5798 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
5799 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
5800 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
5801 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
5802 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
5803 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
5804 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
5805 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
5806 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
5807 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
5808 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
5809 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
5810 | |
|
5811 | |
;;
|
5812 | |
esac
|
5813 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5814 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
5815 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5816 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5817 | |
else
|
5818 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
5819 | |
fi
|
5820 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
5821 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
5822 | |
echo "${ECHO_T}$ac_res" >&6; }
|
5823 | |
|
5824 | |
fi
|
5825 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4422 |
do :
|
|
4423 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4424 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
4425 |
eval as_val=\$$as_ac_Header
|
|
4426 |
if test "x$as_val" = x""yes; then :
|
5826 | 4427 |
cat >>confdefs.h <<_ACEOF
|
5827 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4428 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5828 | 4429 |
_ACEOF
|
5829 | 4430 |
|
5830 | 4431 |
fi
|
|
5839 | 4440 |
# We don't refer to any symbols in termcap, but -lcurses on SunOS does.
|
5840 | 4441 |
# We have to trust the linker not to mess things up... (It should not
|
5841 | 4442 |
# pull in anything if we don't refer to anything in the lib).
|
5842 | |
|
5843 | |
{ echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
|
5844 | |
echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
|
5845 | |
if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
|
5846 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4443 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
|
|
4444 |
$as_echo_n "checking for tgetent in -ltermcap... " >&6; }
|
|
4445 |
if test "${ac_cv_lib_termcap_tgetent+set}" = set; then :
|
|
4446 |
$as_echo_n "(cached) " >&6
|
5847 | 4447 |
else
|
5848 | 4448 |
ac_check_lib_save_LIBS=$LIBS
|
5849 | 4449 |
LIBS="-ltermcap $LIBS"
|
5850 | |
cat >conftest.$ac_ext <<_ACEOF
|
5851 | |
/* confdefs.h. */
|
5852 | |
_ACEOF
|
5853 | |
cat confdefs.h >>conftest.$ac_ext
|
5854 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4450 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5855 | 4451 |
/* end confdefs.h. */
|
5856 | 4452 |
|
5857 | 4453 |
/* Override any GCC internal prototype to avoid an error.
|
|
5869 | 4465 |
return 0;
|
5870 | 4466 |
}
|
5871 | 4467 |
_ACEOF
|
5872 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5873 | |
if { (ac_try="$ac_link"
|
5874 | |
case "(($ac_try" in
|
5875 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5876 | |
*) ac_try_echo=$ac_try;;
|
5877 | |
esac
|
5878 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5879 | |
(eval "$ac_link") 2>conftest.er1
|
5880 | |
ac_status=$?
|
5881 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5882 | |
rm -f conftest.er1
|
5883 | |
cat conftest.err >&5
|
5884 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5885 | |
(exit $ac_status); } && {
|
5886 | |
test -z "$ac_c_werror_flag" ||
|
5887 | |
test ! -s conftest.err
|
5888 | |
} && test -s conftest$ac_exeext &&
|
5889 | |
$as_test_x conftest$ac_exeext; then
|
|
4468 |
if ac_fn_c_try_link "$LINENO"; then :
|
5890 | 4469 |
ac_cv_lib_termcap_tgetent=yes
|
5891 | 4470 |
else
|
5892 | |
echo "$as_me: failed program was:" >&5
|
5893 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5894 | |
|
5895 | |
ac_cv_lib_termcap_tgetent=no
|
5896 | |
fi
|
5897 | |
|
5898 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5899 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4471 |
ac_cv_lib_termcap_tgetent=no
|
|
4472 |
fi
|
|
4473 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4474 |
conftest$ac_exeext conftest.$ac_ext
|
5900 | 4475 |
LIBS=$ac_check_lib_save_LIBS
|
5901 | 4476 |
fi
|
5902 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
|
5903 | |
echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
|
5904 | |
if test $ac_cv_lib_termcap_tgetent = yes; then
|
|
4477 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
|
|
4478 |
$as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
|
|
4479 |
if test "x$ac_cv_lib_termcap_tgetent" = x""yes; then :
|
5905 | 4480 |
cat >>confdefs.h <<_ACEOF
|
5906 | 4481 |
#define HAVE_LIBTERMCAP 1
|
5907 | 4482 |
_ACEOF
|
|
5911 | 4486 |
fi
|
5912 | 4487 |
|
5913 | 4488 |
|
5914 | |
{ echo "$as_me:$LINENO: checking for initscr" >&5
|
5915 | |
echo $ECHO_N "checking for initscr... $ECHO_C" >&6; }
|
5916 | |
if test "${ac_cv_func_initscr+set}" = set; then
|
5917 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5918 | |
else
|
5919 | |
cat >conftest.$ac_ext <<_ACEOF
|
5920 | |
/* confdefs.h. */
|
5921 | |
_ACEOF
|
5922 | |
cat confdefs.h >>conftest.$ac_ext
|
5923 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5924 | |
/* end confdefs.h. */
|
5925 | |
/* Define initscr to an innocuous variant, in case <limits.h> declares initscr.
|
5926 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
5927 | |
#define initscr innocuous_initscr
|
5928 | |
|
5929 | |
/* System header to define __stub macros and hopefully few prototypes,
|
5930 | |
which can conflict with char initscr (); below.
|
5931 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
5932 | |
<limits.h> exists even on freestanding compilers. */
|
5933 | |
|
5934 | |
#ifdef __STDC__
|
5935 | |
# include <limits.h>
|
5936 | |
#else
|
5937 | |
# include <assert.h>
|
5938 | |
#endif
|
5939 | |
|
5940 | |
#undef initscr
|
5941 | |
|
5942 | |
/* Override any GCC internal prototype to avoid an error.
|
5943 | |
Use char because int might match the return type of a GCC
|
5944 | |
builtin and then its argument prototype would still apply. */
|
5945 | |
#ifdef __cplusplus
|
5946 | |
extern "C"
|
5947 | |
#endif
|
5948 | |
char initscr ();
|
5949 | |
/* The GNU C library defines this for functions which it implements
|
5950 | |
to always fail with ENOSYS. Some functions are actually named
|
5951 | |
something starting with __ and the normal name is an alias. */
|
5952 | |
#if defined __stub_initscr || defined __stub___initscr
|
5953 | |
choke me
|
5954 | |
#endif
|
5955 | |
|
5956 | |
int
|
5957 | |
main ()
|
5958 | |
{
|
5959 | |
return initscr ();
|
5960 | |
;
|
5961 | |
return 0;
|
5962 | |
}
|
5963 | |
_ACEOF
|
5964 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5965 | |
if { (ac_try="$ac_link"
|
5966 | |
case "(($ac_try" in
|
5967 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5968 | |
*) ac_try_echo=$ac_try;;
|
5969 | |
esac
|
5970 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5971 | |
(eval "$ac_link") 2>conftest.er1
|
5972 | |
ac_status=$?
|
5973 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5974 | |
rm -f conftest.er1
|
5975 | |
cat conftest.err >&5
|
5976 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5977 | |
(exit $ac_status); } && {
|
5978 | |
test -z "$ac_c_werror_flag" ||
|
5979 | |
test ! -s conftest.err
|
5980 | |
} && test -s conftest$ac_exeext &&
|
5981 | |
$as_test_x conftest$ac_exeext; then
|
5982 | |
ac_cv_func_initscr=yes
|
5983 | |
else
|
5984 | |
echo "$as_me: failed program was:" >&5
|
5985 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5986 | |
|
5987 | |
ac_cv_func_initscr=no
|
5988 | |
fi
|
5989 | |
|
5990 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5991 | |
conftest$ac_exeext conftest.$ac_ext
|
5992 | |
fi
|
5993 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_initscr" >&5
|
5994 | |
echo "${ECHO_T}$ac_cv_func_initscr" >&6; }
|
5995 | |
if test $ac_cv_func_initscr = yes; then
|
5996 | |
:
|
5997 | |
else
|
5998 | |
|
5999 | |
{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
|
6000 | |
echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
|
6001 | |
if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
|
6002 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4489 |
ac_fn_c_check_func "$LINENO" "initscr" "ac_cv_func_initscr"
|
|
4490 |
if test "x$ac_cv_func_initscr" = x""yes; then :
|
|
4491 |
|
|
4492 |
else
|
|
4493 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
|
|
4494 |
$as_echo_n "checking for initscr in -lncurses... " >&6; }
|
|
4495 |
if test "${ac_cv_lib_ncurses_initscr+set}" = set; then :
|
|
4496 |
$as_echo_n "(cached) " >&6
|
6003 | 4497 |
else
|
6004 | 4498 |
ac_check_lib_save_LIBS=$LIBS
|
6005 | 4499 |
LIBS="-lncurses $LIBS"
|
6006 | |
cat >conftest.$ac_ext <<_ACEOF
|
6007 | |
/* confdefs.h. */
|
6008 | |
_ACEOF
|
6009 | |
cat confdefs.h >>conftest.$ac_ext
|
6010 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4500 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6011 | 4501 |
/* end confdefs.h. */
|
6012 | 4502 |
|
6013 | 4503 |
/* Override any GCC internal prototype to avoid an error.
|
|
6025 | 4515 |
return 0;
|
6026 | 4516 |
}
|
6027 | 4517 |
_ACEOF
|
6028 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6029 | |
if { (ac_try="$ac_link"
|
6030 | |
case "(($ac_try" in
|
6031 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6032 | |
*) ac_try_echo=$ac_try;;
|
6033 | |
esac
|
6034 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6035 | |
(eval "$ac_link") 2>conftest.er1
|
6036 | |
ac_status=$?
|
6037 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6038 | |
rm -f conftest.er1
|
6039 | |
cat conftest.err >&5
|
6040 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6041 | |
(exit $ac_status); } && {
|
6042 | |
test -z "$ac_c_werror_flag" ||
|
6043 | |
test ! -s conftest.err
|
6044 | |
} && test -s conftest$ac_exeext &&
|
6045 | |
$as_test_x conftest$ac_exeext; then
|
|
4518 |
if ac_fn_c_try_link "$LINENO"; then :
|
6046 | 4519 |
ac_cv_lib_ncurses_initscr=yes
|
6047 | 4520 |
else
|
6048 | |
echo "$as_me: failed program was:" >&5
|
6049 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6050 | |
|
6051 | |
ac_cv_lib_ncurses_initscr=no
|
6052 | |
fi
|
6053 | |
|
6054 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6055 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4521 |
ac_cv_lib_ncurses_initscr=no
|
|
4522 |
fi
|
|
4523 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4524 |
conftest$ac_exeext conftest.$ac_ext
|
6056 | 4525 |
LIBS=$ac_check_lib_save_LIBS
|
6057 | 4526 |
fi
|
6058 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
|
6059 | |
echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
|
6060 | |
if test $ac_cv_lib_ncurses_initscr = yes; then
|
|
4527 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
|
|
4528 |
$as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
|
|
4529 |
if test "x$ac_cv_lib_ncurses_initscr" = x""yes; then :
|
6061 | 4530 |
cat >>confdefs.h <<_ACEOF
|
6062 | 4531 |
#define HAVE_LIBNCURSES 1
|
6063 | 4532 |
_ACEOF
|
|
6065 | 4534 |
LIBS="-lncurses $LIBS"
|
6066 | 4535 |
|
6067 | 4536 |
else
|
6068 | |
|
6069 | |
{ echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
|
6070 | |
echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
|
6071 | |
if test "${ac_cv_lib_curses_initscr+set}" = set; then
|
6072 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
|
|
4538 |
$as_echo_n "checking for initscr in -lcurses... " >&6; }
|
|
4539 |
if test "${ac_cv_lib_curses_initscr+set}" = set; then :
|
|
4540 |
$as_echo_n "(cached) " >&6
|
6073 | 4541 |
else
|
6074 | 4542 |
ac_check_lib_save_LIBS=$LIBS
|
6075 | 4543 |
LIBS="-lcurses $LIBS"
|
6076 | |
cat >conftest.$ac_ext <<_ACEOF
|
6077 | |
/* confdefs.h. */
|
6078 | |
_ACEOF
|
6079 | |
cat confdefs.h >>conftest.$ac_ext
|
6080 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4544 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6081 | 4545 |
/* end confdefs.h. */
|
6082 | 4546 |
|
6083 | 4547 |
/* Override any GCC internal prototype to avoid an error.
|
|
6095 | 4559 |
return 0;
|
6096 | 4560 |
}
|
6097 | 4561 |
_ACEOF
|
6098 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6099 | |
if { (ac_try="$ac_link"
|
6100 | |
case "(($ac_try" in
|
6101 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6102 | |
*) ac_try_echo=$ac_try;;
|
6103 | |
esac
|
6104 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6105 | |
(eval "$ac_link") 2>conftest.er1
|
6106 | |
ac_status=$?
|
6107 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6108 | |
rm -f conftest.er1
|
6109 | |
cat conftest.err >&5
|
6110 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6111 | |
(exit $ac_status); } && {
|
6112 | |
test -z "$ac_c_werror_flag" ||
|
6113 | |
test ! -s conftest.err
|
6114 | |
} && test -s conftest$ac_exeext &&
|
6115 | |
$as_test_x conftest$ac_exeext; then
|
|
4562 |
if ac_fn_c_try_link "$LINENO"; then :
|
6116 | 4563 |
ac_cv_lib_curses_initscr=yes
|
6117 | 4564 |
else
|
6118 | |
echo "$as_me: failed program was:" >&5
|
6119 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6120 | |
|
6121 | |
ac_cv_lib_curses_initscr=no
|
6122 | |
fi
|
6123 | |
|
6124 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6125 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4565 |
ac_cv_lib_curses_initscr=no
|
|
4566 |
fi
|
|
4567 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4568 |
conftest$ac_exeext conftest.$ac_ext
|
6126 | 4569 |
LIBS=$ac_check_lib_save_LIBS
|
6127 | 4570 |
fi
|
6128 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
|
6129 | |
echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
|
6130 | |
if test $ac_cv_lib_curses_initscr = yes; then
|
|
4571 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
|
|
4572 |
$as_echo "$ac_cv_lib_curses_initscr" >&6; }
|
|
4573 |
if test "x$ac_cv_lib_curses_initscr" = x""yes; then :
|
6131 | 4574 |
cat >>confdefs.h <<_ACEOF
|
6132 | 4575 |
#define HAVE_LIBCURSES 1
|
6133 | 4576 |
_ACEOF
|
|
6135 | 4578 |
LIBS="-lcurses $LIBS"
|
6136 | 4579 |
|
6137 | 4580 |
else
|
6138 | |
|
6139 | |
{ echo "$as_me:$LINENO: checking for initscr in -lcursesX" >&5
|
6140 | |
echo $ECHO_N "checking for initscr in -lcursesX... $ECHO_C" >&6; }
|
6141 | |
if test "${ac_cv_lib_cursesX_initscr+set}" = set; then
|
6142 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcursesX" >&5
|
|
4582 |
$as_echo_n "checking for initscr in -lcursesX... " >&6; }
|
|
4583 |
if test "${ac_cv_lib_cursesX_initscr+set}" = set; then :
|
|
4584 |
$as_echo_n "(cached) " >&6
|
6143 | 4585 |
else
|
6144 | 4586 |
ac_check_lib_save_LIBS=$LIBS
|
6145 | 4587 |
LIBS="-lcursesX $LIBS"
|
6146 | |
cat >conftest.$ac_ext <<_ACEOF
|
6147 | |
/* confdefs.h. */
|
6148 | |
_ACEOF
|
6149 | |
cat confdefs.h >>conftest.$ac_ext
|
6150 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4588 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6151 | 4589 |
/* end confdefs.h. */
|
6152 | 4590 |
|
6153 | 4591 |
/* Override any GCC internal prototype to avoid an error.
|
|
6165 | 4603 |
return 0;
|
6166 | 4604 |
}
|
6167 | 4605 |
_ACEOF
|
6168 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6169 | |
if { (ac_try="$ac_link"
|
6170 | |
case "(($ac_try" in
|
6171 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6172 | |
*) ac_try_echo=$ac_try;;
|
6173 | |
esac
|
6174 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6175 | |
(eval "$ac_link") 2>conftest.er1
|
6176 | |
ac_status=$?
|
6177 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6178 | |
rm -f conftest.er1
|
6179 | |
cat conftest.err >&5
|
6180 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6181 | |
(exit $ac_status); } && {
|
6182 | |
test -z "$ac_c_werror_flag" ||
|
6183 | |
test ! -s conftest.err
|
6184 | |
} && test -s conftest$ac_exeext &&
|
6185 | |
$as_test_x conftest$ac_exeext; then
|
|
4606 |
if ac_fn_c_try_link "$LINENO"; then :
|
6186 | 4607 |
ac_cv_lib_cursesX_initscr=yes
|
6187 | 4608 |
else
|
6188 | |
echo "$as_me: failed program was:" >&5
|
6189 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6190 | |
|
6191 | |
ac_cv_lib_cursesX_initscr=no
|
6192 | |
fi
|
6193 | |
|
6194 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6195 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4609 |
ac_cv_lib_cursesX_initscr=no
|
|
4610 |
fi
|
|
4611 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4612 |
conftest$ac_exeext conftest.$ac_ext
|
6196 | 4613 |
LIBS=$ac_check_lib_save_LIBS
|
6197 | 4614 |
fi
|
6198 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cursesX_initscr" >&5
|
6199 | |
echo "${ECHO_T}$ac_cv_lib_cursesX_initscr" >&6; }
|
6200 | |
if test $ac_cv_lib_cursesX_initscr = yes; then
|
|
4615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cursesX_initscr" >&5
|
|
4616 |
$as_echo "$ac_cv_lib_cursesX_initscr" >&6; }
|
|
4617 |
if test "x$ac_cv_lib_cursesX_initscr" = x""yes; then :
|
6201 | 4618 |
cat >>confdefs.h <<_ACEOF
|
6202 | 4619 |
#define HAVE_LIBCURSESX 1
|
6203 | 4620 |
_ACEOF
|
|
6205 | 4622 |
LIBS="-lcursesX $LIBS"
|
6206 | 4623 |
|
6207 | 4624 |
else
|
6208 | |
{ echo "$as_me:$LINENO: WARNING: Building without curses display support" >&5
|
6209 | |
echo "$as_me: WARNING: Building without curses display support" >&2;}
|
6210 | |
|
6211 | |
cat >>confdefs.h <<\_ACEOF
|
6212 | |
#define NO_CURSES 1
|
6213 | |
_ACEOF
|
|
4625 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without curses display support" >&5
|
|
4626 |
$as_echo "$as_me: WARNING: Building without curses display support" >&2;}
|
|
4627 |
|
|
4628 |
$as_echo "#define NO_CURSES 1" >>confdefs.h
|
6214 | 4629 |
|
6215 | 4630 |
CURSES_OBJ=
|
6216 | 4631 |
fi
|
|
6222 | 4637 |
fi
|
6223 | 4638 |
|
6224 | 4639 |
|
6225 | |
|
6226 | |
|
6227 | 4640 |
for ac_func in attron fcntl
|
6228 | |
do
|
6229 | |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6230 | |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
6231 | |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
6232 | |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
6233 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6234 | |
else
|
6235 | |
cat >conftest.$ac_ext <<_ACEOF
|
6236 | |
/* confdefs.h. */
|
6237 | |
_ACEOF
|
6238 | |
cat confdefs.h >>conftest.$ac_ext
|
6239 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6240 | |
/* end confdefs.h. */
|
6241 | |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
6242 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
6243 | |
#define $ac_func innocuous_$ac_func
|
6244 | |
|
6245 | |
/* System header to define __stub macros and hopefully few prototypes,
|
6246 | |
which can conflict with char $ac_func (); below.
|
6247 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
6248 | |
<limits.h> exists even on freestanding compilers. */
|
6249 | |
|
6250 | |
#ifdef __STDC__
|
6251 | |
# include <limits.h>
|
6252 | |
#else
|
6253 | |
# include <assert.h>
|
6254 | |
#endif
|
6255 | |
|
6256 | |
#undef $ac_func
|
6257 | |
|
6258 | |
/* Override any GCC internal prototype to avoid an error.
|
6259 | |
Use char because int might match the return type of a GCC
|
6260 | |
builtin and then its argument prototype would still apply. */
|
6261 | |
#ifdef __cplusplus
|
6262 | |
extern "C"
|
6263 | |
#endif
|
6264 | |
char $ac_func ();
|
6265 | |
/* The GNU C library defines this for functions which it implements
|
6266 | |
to always fail with ENOSYS. Some functions are actually named
|
6267 | |
something starting with __ and the normal name is an alias. */
|
6268 | |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
6269 | |
choke me
|
6270 | |
#endif
|
6271 | |
|
6272 | |
int
|
6273 | |
main ()
|
6274 | |
{
|
6275 | |
return $ac_func ();
|
6276 | |
;
|
6277 | |
return 0;
|
6278 | |
}
|
6279 | |
_ACEOF
|
6280 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6281 | |
if { (ac_try="$ac_link"
|
6282 | |
case "(($ac_try" in
|
6283 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6284 | |
*) ac_try_echo=$ac_try;;
|
6285 | |
esac
|
6286 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6287 | |
(eval "$ac_link") 2>conftest.er1
|
6288 | |
ac_status=$?
|
6289 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6290 | |
rm -f conftest.er1
|
6291 | |
cat conftest.err >&5
|
6292 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6293 | |
(exit $ac_status); } && {
|
6294 | |
test -z "$ac_c_werror_flag" ||
|
6295 | |
test ! -s conftest.err
|
6296 | |
} && test -s conftest$ac_exeext &&
|
6297 | |
$as_test_x conftest$ac_exeext; then
|
6298 | |
eval "$as_ac_var=yes"
|
6299 | |
else
|
6300 | |
echo "$as_me: failed program was:" >&5
|
6301 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6302 | |
|
6303 | |
eval "$as_ac_var=no"
|
6304 | |
fi
|
6305 | |
|
6306 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6307 | |
conftest$ac_exeext conftest.$ac_ext
|
6308 | |
fi
|
6309 | |
ac_res=`eval echo '${'$as_ac_var'}'`
|
6310 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
6311 | |
echo "${ECHO_T}$ac_res" >&6; }
|
6312 | |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
4641 |
do :
|
|
4642 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
4643 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
4644 |
eval as_val=\$$as_ac_var
|
|
4645 |
if test "x$as_val" = x""yes; then :
|
6313 | 4646 |
cat >>confdefs.h <<_ACEOF
|
6314 | |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
4647 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
6315 | 4648 |
_ACEOF
|
6316 | 4649 |
|
6317 | 4650 |
fi
|
6318 | 4651 |
done
|
6319 | 4652 |
|
6320 | 4653 |
|
6321 | |
|
6322 | |
{ echo "$as_me:$LINENO: checking for floor in -lm" >&5
|
6323 | |
echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6; }
|
6324 | |
if test "${ac_cv_lib_m_floor+set}" = set; then
|
6325 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4654 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
|
|
4655 |
$as_echo_n "checking for floor in -lm... " >&6; }
|
|
4656 |
if test "${ac_cv_lib_m_floor+set}" = set; then :
|
|
4657 |
$as_echo_n "(cached) " >&6
|
6326 | 4658 |
else
|
6327 | 4659 |
ac_check_lib_save_LIBS=$LIBS
|
6328 | 4660 |
LIBS="-lm $LIBS"
|
6329 | |
cat >conftest.$ac_ext <<_ACEOF
|
6330 | |
/* confdefs.h. */
|
6331 | |
_ACEOF
|
6332 | |
cat confdefs.h >>conftest.$ac_ext
|
6333 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4661 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6334 | 4662 |
/* end confdefs.h. */
|
6335 | 4663 |
|
6336 | 4664 |
/* Override any GCC internal prototype to avoid an error.
|
|
6348 | 4676 |
return 0;
|
6349 | 4677 |
}
|
6350 | 4678 |
_ACEOF
|
6351 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6352 | |
if { (ac_try="$ac_link"
|
6353 | |
case "(($ac_try" in
|
6354 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6355 | |
*) ac_try_echo=$ac_try;;
|
6356 | |
esac
|
6357 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6358 | |
(eval "$ac_link") 2>conftest.er1
|
6359 | |
ac_status=$?
|
6360 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6361 | |
rm -f conftest.er1
|
6362 | |
cat conftest.err >&5
|
6363 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6364 | |
(exit $ac_status); } && {
|
6365 | |
test -z "$ac_c_werror_flag" ||
|
6366 | |
test ! -s conftest.err
|
6367 | |
} && test -s conftest$ac_exeext &&
|
6368 | |
$as_test_x conftest$ac_exeext; then
|
|
4679 |
if ac_fn_c_try_link "$LINENO"; then :
|
6369 | 4680 |
ac_cv_lib_m_floor=yes
|
6370 | 4681 |
else
|
6371 | |
echo "$as_me: failed program was:" >&5
|
6372 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6373 | |
|
6374 | |
ac_cv_lib_m_floor=no
|
6375 | |
fi
|
6376 | |
|
6377 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6378 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4682 |
ac_cv_lib_m_floor=no
|
|
4683 |
fi
|
|
4684 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4685 |
conftest$ac_exeext conftest.$ac_ext
|
6379 | 4686 |
LIBS=$ac_check_lib_save_LIBS
|
6380 | 4687 |
fi
|
6381 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
|
6382 | |
echo "${ECHO_T}$ac_cv_lib_m_floor" >&6; }
|
6383 | |
if test $ac_cv_lib_m_floor = yes; then
|
|
4688 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
|
|
4689 |
$as_echo "$ac_cv_lib_m_floor" >&6; }
|
|
4690 |
if test "x$ac_cv_lib_m_floor" = x""yes; then :
|
6384 | 4691 |
cat >>confdefs.h <<_ACEOF
|
6385 | 4692 |
#define HAVE_LIBM 1
|
6386 | 4693 |
_ACEOF
|
|
6388 | 4695 |
LIBS="-lm $LIBS"
|
6389 | 4696 |
|
6390 | 4697 |
else
|
6391 | |
{ { echo "$as_me:$LINENO: error: No math library found" >&5
|
6392 | |
echo "$as_me: error: No math library found" >&2;}
|
6393 | |
{ (exit 1); exit 1; }; }
|
|
4698 |
as_fn_error "No math library found" "$LINENO" 5
|
6394 | 4699 |
fi
|
6395 | 4700 |
|
6396 | 4701 |
|
6397 | 4702 |
|
6398 | 4703 |
# Check whether --with-gtk was given.
|
6399 | |
if test "${with_gtk+set}" = set; then
|
|
4704 |
if test "${with_gtk+set}" = set; then :
|
6400 | 4705 |
withval=$with_gtk; WANTS_GTK=$withval
|
6401 | 4706 |
else
|
6402 | 4707 |
WANTS_GTK=yes
|
|
6404 | 4709 |
|
6405 | 4710 |
|
6406 | 4711 |
# Check whether --enable-ipv6 was given.
|
6407 | |
if test "${enable_ipv6+set}" = set; then
|
|
4712 |
if test "${enable_ipv6+set}" = set; then :
|
6408 | 4713 |
enableval=$enable_ipv6; WANTS_IPV6=$enableval
|
6409 | 4714 |
else
|
6410 | 4715 |
WANTS_IPV6=yes
|
|
6413 | 4718 |
|
6414 | 4719 |
if test "x$WANTS_GTK" = "xyes"; then
|
6415 | 4720 |
# Check whether --enable-gtktest was given.
|
6416 | |
if test "${enable_gtktest+set}" = set; then
|
|
4721 |
if test "${enable_gtktest+set}" = set; then :
|
6417 | 4722 |
enableval=$enable_gtktest;
|
6418 | 4723 |
else
|
6419 | 4724 |
enable_gtktest=yes
|
|
6434 | 4739 |
|
6435 | 4740 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
6436 | 4741 |
set dummy pkg-config; ac_word=$2
|
6437 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6438 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6439 | |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
|
6440 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4743 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4744 |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
|
|
4745 |
$as_echo_n "(cached) " >&6
|
6441 | 4746 |
else
|
6442 | 4747 |
case $PKG_CONFIG in
|
6443 | 4748 |
[\\/]* | ?:[\\/]*)
|
|
6449 | 4754 |
do
|
6450 | 4755 |
IFS=$as_save_IFS
|
6451 | 4756 |
test -z "$as_dir" && as_dir=.
|
6452 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4757 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6453 | 4758 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6454 | 4759 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
6455 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4760 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6456 | 4761 |
break 2
|
6457 | 4762 |
fi
|
6458 | 4763 |
done
|
6459 | |
done
|
|
4764 |
done
|
6460 | 4765 |
IFS=$as_save_IFS
|
6461 | 4766 |
|
6462 | 4767 |
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
|
|
6465 | 4770 |
fi
|
6466 | 4771 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
6467 | 4772 |
if test -n "$PKG_CONFIG"; then
|
6468 | |
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
|
6469 | |
echo "${ECHO_T}$PKG_CONFIG" >&6; }
|
6470 | |
else
|
6471 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6472 | |
echo "${ECHO_T}no" >&6; }
|
|
4773 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
|
4774 |
$as_echo "$PKG_CONFIG" >&6; }
|
|
4775 |
else
|
|
4776 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4777 |
$as_echo "no" >&6; }
|
6473 | 4778 |
fi
|
6474 | 4779 |
|
6475 | 4780 |
|
|
6487 | 4792 |
fi
|
6488 | 4793 |
|
6489 | 4794 |
min_gtk_version=2.6.0
|
6490 | |
{ echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
|
6491 | |
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
|
|
4795 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
|
|
4796 |
$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
|
6492 | 4797 |
|
6493 | 4798 |
if test x$PKG_CONFIG != xno ; then
|
6494 | 4799 |
## don't try to run the test against uninstalled libtool libs
|
|
6519 | 4824 |
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
6520 | 4825 |
LIBS="$GTK_LIBS $LIBS"
|
6521 | 4826 |
rm -f conf.gtktest
|
6522 | |
if test "$cross_compiling" = yes; then
|
|
4827 |
if test "$cross_compiling" = yes; then :
|
6523 | 4828 |
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
6524 | 4829 |
else
|
6525 | |
cat >conftest.$ac_ext <<_ACEOF
|
6526 | |
/* confdefs.h. */
|
6527 | |
_ACEOF
|
6528 | |
cat confdefs.h >>conftest.$ac_ext
|
6529 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4830 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6530 | 4831 |
/* end confdefs.h. */
|
6531 | 4832 |
|
6532 | 4833 |
#include <gtk/gtk.h>
|
|
6539 | 4840 |
int major, minor, micro;
|
6540 | 4841 |
char *tmp_version;
|
6541 | 4842 |
|
6542 | |
system ("touch conf.gtktest");
|
|
4843 |
fclose (fopen ("conf.gtktest", "w"));
|
6543 | 4844 |
|
6544 | 4845 |
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
6545 | 4846 |
tmp_version = g_strdup("$min_gtk_version");
|
|
6601 | 4902 |
}
|
6602 | 4903 |
|
6603 | 4904 |
_ACEOF
|
6604 | |
rm -f conftest$ac_exeext
|
6605 | |
if { (ac_try="$ac_link"
|
6606 | |
case "(($ac_try" in
|
6607 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6608 | |
*) ac_try_echo=$ac_try;;
|
6609 | |
esac
|
6610 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6611 | |
(eval "$ac_link") 2>&5
|
6612 | |
ac_status=$?
|
6613 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6614 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
6615 | |
{ (case "(($ac_try" in
|
6616 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6617 | |
*) ac_try_echo=$ac_try;;
|
6618 | |
esac
|
6619 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6620 | |
(eval "$ac_try") 2>&5
|
6621 | |
ac_status=$?
|
6622 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6623 | |
(exit $ac_status); }; }; then
|
6624 | |
:
|
6625 | |
else
|
6626 | |
echo "$as_me: program exited with status $ac_status" >&5
|
6627 | |
echo "$as_me: failed program was:" >&5
|
6628 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6629 | |
|
6630 | |
( exit $ac_status )
|
6631 | |
no_gtk=yes
|
6632 | |
fi
|
6633 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
6634 | |
fi
|
6635 | |
|
|
4905 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
4906 |
|
|
4907 |
else
|
|
4908 |
no_gtk=yes
|
|
4909 |
fi
|
|
4910 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
4911 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4912 |
fi
|
6636 | 4913 |
|
6637 | 4914 |
CFLAGS="$ac_save_CFLAGS"
|
6638 | 4915 |
LIBS="$ac_save_LIBS"
|
6639 | 4916 |
fi
|
6640 | 4917 |
fi
|
6641 | 4918 |
if test "x$no_gtk" = x ; then
|
6642 | |
{ echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
|
6643 | |
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
|
|
4919 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
|
|
4920 |
$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
|
6644 | 4921 |
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
6645 | 4922 |
LIBS="$LIBS $GTK_LIBS -lm"
|
6646 | 4923 |
else
|
6647 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6648 | |
echo "${ECHO_T}no" >&6; }
|
|
4924 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4925 |
$as_echo "no" >&6; }
|
6649 | 4926 |
if test "$PKG_CONFIG" = "no" ; then
|
6650 | 4927 |
echo "*** A new enough version of pkg-config was not found."
|
6651 | 4928 |
echo "*** See http://pkgconfig.sourceforge.net"
|
|
6658 | 4935 |
ac_save_LIBS="$LIBS"
|
6659 | 4936 |
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
6660 | 4937 |
LIBS="$LIBS $GTK_LIBS"
|
6661 | |
cat >conftest.$ac_ext <<_ACEOF
|
6662 | |
/* confdefs.h. */
|
6663 | |
_ACEOF
|
6664 | |
cat confdefs.h >>conftest.$ac_ext
|
6665 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4938 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6666 | 4939 |
/* end confdefs.h. */
|
6667 | 4940 |
|
6668 | 4941 |
#include <gtk/gtk.h>
|
|
6676 | 4949 |
return 0;
|
6677 | 4950 |
}
|
6678 | 4951 |
_ACEOF
|
6679 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6680 | |
if { (ac_try="$ac_link"
|
6681 | |
case "(($ac_try" in
|
6682 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6683 | |
*) ac_try_echo=$ac_try;;
|
6684 | |
esac
|
6685 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6686 | |
(eval "$ac_link") 2>conftest.er1
|
6687 | |
ac_status=$?
|
6688 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6689 | |
rm -f conftest.er1
|
6690 | |
cat conftest.err >&5
|
6691 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6692 | |
(exit $ac_status); } && {
|
6693 | |
test -z "$ac_c_werror_flag" ||
|
6694 | |
test ! -s conftest.err
|
6695 | |
} && test -s conftest$ac_exeext &&
|
6696 | |
$as_test_x conftest$ac_exeext; then
|
|
4952 |
if ac_fn_c_try_link "$LINENO"; then :
|
6697 | 4953 |
echo "*** The test program compiled, but did not run. This usually means"
|
6698 | 4954 |
echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
|
6699 | 4955 |
echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
|
|
6704 | 4960 |
echo "*** If you have an old version installed, it is best to remove it, although"
|
6705 | 4961 |
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
6706 | 4962 |
else
|
6707 | |
echo "$as_me: failed program was:" >&5
|
6708 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6709 | |
|
6710 | |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
|
4963 |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
6711 | 4964 |
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
|
6712 | 4965 |
fi
|
6713 | |
|
6714 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6715 | |
conftest$ac_exeext conftest.$ac_ext
|
|
4966 |
rm -f core conftest.err conftest.$ac_objext \
|
|
4967 |
conftest$ac_exeext conftest.$ac_ext
|
6716 | 4968 |
CFLAGS="$ac_save_CFLAGS"
|
6717 | 4969 |
LIBS="$ac_save_LIBS"
|
6718 | 4970 |
fi
|
6719 | 4971 |
fi
|
6720 | 4972 |
GTK_CFLAGS=""
|
6721 | 4973 |
GTK_LIBS=""
|
6722 | |
{ echo "$as_me:$LINENO: WARNING: Building without GTK2 display support" >&5
|
6723 | |
echo "$as_me: WARNING: Building without GTK2 display support" >&2;}
|
6724 | |
|
6725 | |
cat >>confdefs.h <<\_ACEOF
|
6726 | |
#define NO_GTK 1
|
6727 | |
_ACEOF
|
|
4974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without GTK2 display support" >&5
|
|
4975 |
$as_echo "$as_me: WARNING: Building without GTK2 display support" >&2;}
|
|
4976 |
|
|
4977 |
$as_echo "#define NO_GTK 1" >>confdefs.h
|
6728 | 4978 |
|
6729 | 4979 |
GTK_OBJ=""
|
6730 | 4980 |
fi
|
|
6733 | 4983 |
rm -f conf.gtktest
|
6734 | 4984 |
|
6735 | 4985 |
else
|
6736 | |
cat >>confdefs.h <<\_ACEOF
|
6737 | |
#define NO_GTK 1
|
6738 | |
_ACEOF
|
|
4986 |
$as_echo "#define NO_GTK 1" >>confdefs.h
|
6739 | 4987 |
|
6740 | 4988 |
GTK_OBJ=""
|
6741 | 4989 |
fi
|
6742 | 4990 |
|
6743 | |
{ echo "$as_me:$LINENO: checking for socket" >&5
|
6744 | |
echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
|
6745 | |
if test "${ac_cv_func_socket+set}" = set; then
|
6746 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6747 | |
else
|
6748 | |
cat >conftest.$ac_ext <<_ACEOF
|
6749 | |
/* confdefs.h. */
|
6750 | |
_ACEOF
|
6751 | |
cat confdefs.h >>conftest.$ac_ext
|
6752 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6753 | |
/* end confdefs.h. */
|
6754 | |
/* Define socket to an innocuous variant, in case <limits.h> declares socket.
|
6755 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
6756 | |
#define socket innocuous_socket
|
6757 | |
|
6758 | |
/* System header to define __stub macros and hopefully few prototypes,
|
6759 | |
which can conflict with char socket (); below.
|
6760 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
6761 | |
<limits.h> exists even on freestanding compilers. */
|
6762 | |
|
6763 | |
#ifdef __STDC__
|
6764 | |
# include <limits.h>
|
6765 | |
#else
|
6766 | |
# include <assert.h>
|
6767 | |
#endif
|
6768 | |
|
6769 | |
#undef socket
|
6770 | |
|
6771 | |
/* Override any GCC internal prototype to avoid an error.
|
6772 | |
Use char because int might match the return type of a GCC
|
6773 | |
builtin and then its argument prototype would still apply. */
|
6774 | |
#ifdef __cplusplus
|
6775 | |
extern "C"
|
6776 | |
#endif
|
6777 | |
char socket ();
|
6778 | |
/* The GNU C library defines this for functions which it implements
|
6779 | |
to always fail with ENOSYS. Some functions are actually named
|
6780 | |
something starting with __ and the normal name is an alias. */
|
6781 | |
#if defined __stub_socket || defined __stub___socket
|
6782 | |
choke me
|
6783 | |
#endif
|
6784 | |
|
6785 | |
int
|
6786 | |
main ()
|
6787 | |
{
|
6788 | |
return socket ();
|
6789 | |
;
|
6790 | |
return 0;
|
6791 | |
}
|
6792 | |
_ACEOF
|
6793 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6794 | |
if { (ac_try="$ac_link"
|
6795 | |
case "(($ac_try" in
|
6796 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6797 | |
*) ac_try_echo=$ac_try;;
|
6798 | |
esac
|
6799 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6800 | |
(eval "$ac_link") 2>conftest.er1
|
6801 | |
ac_status=$?
|
6802 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6803 | |
rm -f conftest.er1
|
6804 | |
cat conftest.err >&5
|
6805 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6806 | |
(exit $ac_status); } && {
|
6807 | |
test -z "$ac_c_werror_flag" ||
|
6808 | |
test ! -s conftest.err
|
6809 | |
} && test -s conftest$ac_exeext &&
|
6810 | |
$as_test_x conftest$ac_exeext; then
|
6811 | |
ac_cv_func_socket=yes
|
6812 | |
else
|
6813 | |
echo "$as_me: failed program was:" >&5
|
6814 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6815 | |
|
6816 | |
ac_cv_func_socket=no
|
6817 | |
fi
|
6818 | |
|
6819 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6820 | |
conftest$ac_exeext conftest.$ac_ext
|
6821 | |
fi
|
6822 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
|
6823 | |
echo "${ECHO_T}$ac_cv_func_socket" >&6; }
|
6824 | |
if test $ac_cv_func_socket = yes; then
|
6825 | |
:
|
6826 | |
else
|
6827 | |
|
6828 | |
{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
|
6829 | |
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
|
6830 | |
if test "${ac_cv_lib_socket_socket+set}" = set; then
|
6831 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4991 |
ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
|
|
4992 |
if test "x$ac_cv_func_socket" = x""yes; then :
|
|
4993 |
|
|
4994 |
else
|
|
4995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
|
|
4996 |
$as_echo_n "checking for socket in -lsocket... " >&6; }
|
|
4997 |
if test "${ac_cv_lib_socket_socket+set}" = set; then :
|
|
4998 |
$as_echo_n "(cached) " >&6
|
6832 | 4999 |
else
|
6833 | 5000 |
ac_check_lib_save_LIBS=$LIBS
|
6834 | 5001 |
LIBS="-lsocket $LIBS"
|
6835 | |
cat >conftest.$ac_ext <<_ACEOF
|
6836 | |
/* confdefs.h. */
|
6837 | |
_ACEOF
|
6838 | |
cat confdefs.h >>conftest.$ac_ext
|
6839 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5002 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6840 | 5003 |
/* end confdefs.h. */
|
6841 | 5004 |
|
6842 | 5005 |
/* Override any GCC internal prototype to avoid an error.
|
|
6854 | 5017 |
return 0;
|
6855 | 5018 |
}
|
6856 | 5019 |
_ACEOF
|
6857 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6858 | |
if { (ac_try="$ac_link"
|
6859 | |
case "(($ac_try" in
|
6860 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6861 | |
*) ac_try_echo=$ac_try;;
|
6862 | |
esac
|
6863 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6864 | |
(eval "$ac_link") 2>conftest.er1
|
6865 | |
ac_status=$?
|
6866 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6867 | |
rm -f conftest.er1
|
6868 | |
cat conftest.err >&5
|
6869 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6870 | |
(exit $ac_status); } && {
|
6871 | |
test -z "$ac_c_werror_flag" ||
|
6872 | |
test ! -s conftest.err
|
6873 | |
} && test -s conftest$ac_exeext &&
|
6874 | |
$as_test_x conftest$ac_exeext; then
|
|
5020 |
if ac_fn_c_try_link "$LINENO"; then :
|
6875 | 5021 |
ac_cv_lib_socket_socket=yes
|
6876 | 5022 |
else
|
6877 | |
echo "$as_me: failed program was:" >&5
|
6878 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6879 | |
|
6880 | |
ac_cv_lib_socket_socket=no
|
6881 | |
fi
|
6882 | |
|
6883 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6884 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5023 |
ac_cv_lib_socket_socket=no
|
|
5024 |
fi
|
|
5025 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5026 |
conftest$ac_exeext conftest.$ac_ext
|
6885 | 5027 |
LIBS=$ac_check_lib_save_LIBS
|
6886 | 5028 |
fi
|
6887 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
|
6888 | |
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
|
6889 | |
if test $ac_cv_lib_socket_socket = yes; then
|
|
5029 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
|
|
5030 |
$as_echo "$ac_cv_lib_socket_socket" >&6; }
|
|
5031 |
if test "x$ac_cv_lib_socket_socket" = x""yes; then :
|
6890 | 5032 |
cat >>confdefs.h <<_ACEOF
|
6891 | 5033 |
#define HAVE_LIBSOCKET 1
|
6892 | 5034 |
_ACEOF
|
|
6894 | 5036 |
LIBS="-lsocket $LIBS"
|
6895 | 5037 |
|
6896 | 5038 |
else
|
6897 | |
{ { echo "$as_me:$LINENO: error: No socket library found" >&5
|
6898 | |
echo "$as_me: error: No socket library found" >&2;}
|
6899 | |
{ (exit 1); exit 1; }; }
|
6900 | |
fi
|
6901 | |
|
6902 | |
fi
|
6903 | |
|
6904 | |
|
6905 | |
{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
|
6906 | |
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
|
6907 | |
if test "${ac_cv_func_gethostbyname+set}" = set; then
|
6908 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6909 | |
else
|
6910 | |
cat >conftest.$ac_ext <<_ACEOF
|
6911 | |
/* confdefs.h. */
|
6912 | |
_ACEOF
|
6913 | |
cat confdefs.h >>conftest.$ac_ext
|
6914 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6915 | |
/* end confdefs.h. */
|
6916 | |
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
|
6917 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
6918 | |
#define gethostbyname innocuous_gethostbyname
|
6919 | |
|
6920 | |
/* System header to define __stub macros and hopefully few prototypes,
|
6921 | |
which can conflict with char gethostbyname (); below.
|
6922 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
6923 | |
<limits.h> exists even on freestanding compilers. */
|
6924 | |
|
6925 | |
#ifdef __STDC__
|
6926 | |
# include <limits.h>
|
6927 | |
#else
|
6928 | |
# include <assert.h>
|
6929 | |
#endif
|
6930 | |
|
6931 | |
#undef gethostbyname
|
6932 | |
|
6933 | |
/* Override any GCC internal prototype to avoid an error.
|
6934 | |
Use char because int might match the return type of a GCC
|
6935 | |
builtin and then its argument prototype would still apply. */
|
6936 | |
#ifdef __cplusplus
|
6937 | |
extern "C"
|
6938 | |
#endif
|
6939 | |
char gethostbyname ();
|
6940 | |
/* The GNU C library defines this for functions which it implements
|
6941 | |
to always fail with ENOSYS. Some functions are actually named
|
6942 | |
something starting with __ and the normal name is an alias. */
|
6943 | |
#if defined __stub_gethostbyname || defined __stub___gethostbyname
|
6944 | |
choke me
|
6945 | |
#endif
|
6946 | |
|
6947 | |
int
|
6948 | |
main ()
|
6949 | |
{
|
6950 | |
return gethostbyname ();
|
6951 | |
;
|
6952 | |
return 0;
|
6953 | |
}
|
6954 | |
_ACEOF
|
6955 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
6956 | |
if { (ac_try="$ac_link"
|
6957 | |
case "(($ac_try" in
|
6958 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6959 | |
*) ac_try_echo=$ac_try;;
|
6960 | |
esac
|
6961 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6962 | |
(eval "$ac_link") 2>conftest.er1
|
6963 | |
ac_status=$?
|
6964 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6965 | |
rm -f conftest.er1
|
6966 | |
cat conftest.err >&5
|
6967 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6968 | |
(exit $ac_status); } && {
|
6969 | |
test -z "$ac_c_werror_flag" ||
|
6970 | |
test ! -s conftest.err
|
6971 | |
} && test -s conftest$ac_exeext &&
|
6972 | |
$as_test_x conftest$ac_exeext; then
|
6973 | |
ac_cv_func_gethostbyname=yes
|
6974 | |
else
|
6975 | |
echo "$as_me: failed program was:" >&5
|
6976 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6977 | |
|
6978 | |
ac_cv_func_gethostbyname=no
|
6979 | |
fi
|
6980 | |
|
6981 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
6982 | |
conftest$ac_exeext conftest.$ac_ext
|
6983 | |
fi
|
6984 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
|
6985 | |
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
|
6986 | |
if test $ac_cv_func_gethostbyname = yes; then
|
6987 | |
:
|
6988 | |
else
|
6989 | |
|
6990 | |
{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
|
6991 | |
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
|
6992 | |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
|
6993 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5039 |
as_fn_error "No socket library found" "$LINENO" 5
|
|
5040 |
fi
|
|
5041 |
|
|
5042 |
fi
|
|
5043 |
|
|
5044 |
|
|
5045 |
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
|
|
5046 |
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
|
|
5047 |
|
|
5048 |
else
|
|
5049 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
|
|
5050 |
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
|
|
5051 |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
|
|
5052 |
$as_echo_n "(cached) " >&6
|
6994 | 5053 |
else
|
6995 | 5054 |
ac_check_lib_save_LIBS=$LIBS
|
6996 | 5055 |
LIBS="-lnsl $LIBS"
|
6997 | |
cat >conftest.$ac_ext <<_ACEOF
|
6998 | |
/* confdefs.h. */
|
6999 | |
_ACEOF
|
7000 | |
cat confdefs.h >>conftest.$ac_ext
|
7001 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5056 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7002 | 5057 |
/* end confdefs.h. */
|
7003 | 5058 |
|
7004 | 5059 |
/* Override any GCC internal prototype to avoid an error.
|
|
7016 | 5071 |
return 0;
|
7017 | 5072 |
}
|
7018 | 5073 |
_ACEOF
|
7019 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7020 | |
if { (ac_try="$ac_link"
|
7021 | |
case "(($ac_try" in
|
7022 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7023 | |
*) ac_try_echo=$ac_try;;
|
7024 | |
esac
|
7025 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7026 | |
(eval "$ac_link") 2>conftest.er1
|
7027 | |
ac_status=$?
|
7028 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7029 | |
rm -f conftest.er1
|
7030 | |
cat conftest.err >&5
|
7031 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7032 | |
(exit $ac_status); } && {
|
7033 | |
test -z "$ac_c_werror_flag" ||
|
7034 | |
test ! -s conftest.err
|
7035 | |
} && test -s conftest$ac_exeext &&
|
7036 | |
$as_test_x conftest$ac_exeext; then
|
|
5074 |
if ac_fn_c_try_link "$LINENO"; then :
|
7037 | 5075 |
ac_cv_lib_nsl_gethostbyname=yes
|
7038 | 5076 |
else
|
7039 | |
echo "$as_me: failed program was:" >&5
|
7040 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7041 | |
|
7042 | |
ac_cv_lib_nsl_gethostbyname=no
|
7043 | |
fi
|
7044 | |
|
7045 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7046 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5077 |
ac_cv_lib_nsl_gethostbyname=no
|
|
5078 |
fi
|
|
5079 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5080 |
conftest$ac_exeext conftest.$ac_ext
|
7047 | 5081 |
LIBS=$ac_check_lib_save_LIBS
|
7048 | 5082 |
fi
|
7049 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
|
7050 | |
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
|
7051 | |
if test $ac_cv_lib_nsl_gethostbyname = yes; then
|
|
5083 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
|
|
5084 |
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
|
|
5085 |
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
|
7052 | 5086 |
cat >>confdefs.h <<_ACEOF
|
7053 | 5087 |
#define HAVE_LIBNSL 1
|
7054 | 5088 |
_ACEOF
|
|
7056 | 5090 |
LIBS="-lnsl $LIBS"
|
7057 | 5091 |
|
7058 | 5092 |
else
|
7059 | |
{ { echo "$as_me:$LINENO: error: No nameservice library found" >&5
|
7060 | |
echo "$as_me: error: No nameservice library found" >&2;}
|
7061 | |
{ (exit 1); exit 1; }; }
|
|
5093 |
as_fn_error "No nameservice library found" "$LINENO" 5
|
7062 | 5094 |
fi
|
7063 | 5095 |
|
7064 | 5096 |
fi
|
|
7068 | 5100 |
# AC_CHECK_LIB(bind, res_init, ,
|
7069 | 5101 |
# AC_CHECK_LIB(resolv, res_init, , AC_MSG_ERROR(No resolver library found))))
|
7070 | 5102 |
|
7071 | |
|
7072 | 5103 |
for ac_func in seteuid
|
7073 | |
do
|
7074 | |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
7075 | |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
7076 | |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
7077 | |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
7078 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7079 | |
else
|
7080 | |
cat >conftest.$ac_ext <<_ACEOF
|
7081 | |
/* confdefs.h. */
|
7082 | |
_ACEOF
|
7083 | |
cat confdefs.h >>conftest.$ac_ext
|
7084 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7085 | |
/* end confdefs.h. */
|
7086 | |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
7087 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
7088 | |
#define $ac_func innocuous_$ac_func
|
7089 | |
|
7090 | |
/* System header to define __stub macros and hopefully few prototypes,
|
7091 | |
which can conflict with char $ac_func (); below.
|
7092 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
7093 | |
<limits.h> exists even on freestanding compilers. */
|
7094 | |
|
7095 | |
#ifdef __STDC__
|
7096 | |
# include <limits.h>
|
7097 | |
#else
|
7098 | |
# include <assert.h>
|
7099 | |
#endif
|
7100 | |
|
7101 | |
#undef $ac_func
|
7102 | |
|
7103 | |
/* Override any GCC internal prototype to avoid an error.
|
7104 | |
Use char because int might match the return type of a GCC
|
7105 | |
builtin and then its argument prototype would still apply. */
|
7106 | |
#ifdef __cplusplus
|
7107 | |
extern "C"
|
7108 | |
#endif
|
7109 | |
char $ac_func ();
|
7110 | |
/* The GNU C library defines this for functions which it implements
|
7111 | |
to always fail with ENOSYS. Some functions are actually named
|
7112 | |
something starting with __ and the normal name is an alias. */
|
7113 | |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
7114 | |
choke me
|
7115 | |
#endif
|
7116 | |
|
7117 | |
int
|
7118 | |
main ()
|
7119 | |
{
|
7120 | |
return $ac_func ();
|
7121 | |
;
|
7122 | |
return 0;
|
7123 | |
}
|
7124 | |
_ACEOF
|
7125 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7126 | |
if { (ac_try="$ac_link"
|
7127 | |
case "(($ac_try" in
|
7128 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7129 | |
*) ac_try_echo=$ac_try;;
|
7130 | |
esac
|
7131 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7132 | |
(eval "$ac_link") 2>conftest.er1
|
7133 | |
ac_status=$?
|
7134 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7135 | |
rm -f conftest.er1
|
7136 | |
cat conftest.err >&5
|
7137 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7138 | |
(exit $ac_status); } && {
|
7139 | |
test -z "$ac_c_werror_flag" ||
|
7140 | |
test ! -s conftest.err
|
7141 | |
} && test -s conftest$ac_exeext &&
|
7142 | |
$as_test_x conftest$ac_exeext; then
|
7143 | |
eval "$as_ac_var=yes"
|
7144 | |
else
|
7145 | |
echo "$as_me: failed program was:" >&5
|
7146 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7147 | |
|
7148 | |
eval "$as_ac_var=no"
|
7149 | |
fi
|
7150 | |
|
7151 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7152 | |
conftest$ac_exeext conftest.$ac_ext
|
7153 | |
fi
|
7154 | |
ac_res=`eval echo '${'$as_ac_var'}'`
|
7155 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
7156 | |
echo "${ECHO_T}$ac_res" >&6; }
|
7157 | |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
5104 |
do :
|
|
5105 |
ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
|
|
5106 |
if test "x$ac_cv_func_seteuid" = x""yes; then :
|
7158 | 5107 |
cat >>confdefs.h <<_ACEOF
|
7159 | |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
5108 |
#define HAVE_SETEUID 1
|
7160 | 5109 |
_ACEOF
|
7161 | 5110 |
|
7162 | 5111 |
fi
|
|
7164 | 5113 |
|
7165 | 5114 |
# AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid))
|
7166 | 5115 |
|
7167 | |
{ echo "$as_me:$LINENO: checking for res_mkquery" >&5
|
7168 | |
echo $ECHO_N "checking for res_mkquery... $ECHO_C" >&6; }
|
7169 | |
if test "${ac_cv_func_res_mkquery+set}" = set; then
|
7170 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7171 | |
else
|
7172 | |
cat >conftest.$ac_ext <<_ACEOF
|
7173 | |
/* confdefs.h. */
|
7174 | |
_ACEOF
|
7175 | |
cat confdefs.h >>conftest.$ac_ext
|
7176 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7177 | |
/* end confdefs.h. */
|
7178 | |
/* Define res_mkquery to an innocuous variant, in case <limits.h> declares res_mkquery.
|
7179 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
7180 | |
#define res_mkquery innocuous_res_mkquery
|
7181 | |
|
7182 | |
/* System header to define __stub macros and hopefully few prototypes,
|
7183 | |
which can conflict with char res_mkquery (); below.
|
7184 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
7185 | |
<limits.h> exists even on freestanding compilers. */
|
7186 | |
|
7187 | |
#ifdef __STDC__
|
7188 | |
# include <limits.h>
|
7189 | |
#else
|
7190 | |
# include <assert.h>
|
7191 | |
#endif
|
7192 | |
|
7193 | |
#undef res_mkquery
|
7194 | |
|
7195 | |
/* Override any GCC internal prototype to avoid an error.
|
7196 | |
Use char because int might match the return type of a GCC
|
7197 | |
builtin and then its argument prototype would still apply. */
|
7198 | |
#ifdef __cplusplus
|
7199 | |
extern "C"
|
7200 | |
#endif
|
7201 | |
char res_mkquery ();
|
7202 | |
/* The GNU C library defines this for functions which it implements
|
7203 | |
to always fail with ENOSYS. Some functions are actually named
|
7204 | |
something starting with __ and the normal name is an alias. */
|
7205 | |
#if defined __stub_res_mkquery || defined __stub___res_mkquery
|
7206 | |
choke me
|
7207 | |
#endif
|
7208 | |
|
7209 | |
int
|
7210 | |
main ()
|
7211 | |
{
|
7212 | |
return res_mkquery ();
|
7213 | |
;
|
7214 | |
return 0;
|
7215 | |
}
|
7216 | |
_ACEOF
|
7217 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7218 | |
if { (ac_try="$ac_link"
|
7219 | |
case "(($ac_try" in
|
7220 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7221 | |
*) ac_try_echo=$ac_try;;
|
7222 | |
esac
|
7223 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7224 | |
(eval "$ac_link") 2>conftest.er1
|
7225 | |
ac_status=$?
|
7226 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7227 | |
rm -f conftest.er1
|
7228 | |
cat conftest.err >&5
|
7229 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7230 | |
(exit $ac_status); } && {
|
7231 | |
test -z "$ac_c_werror_flag" ||
|
7232 | |
test ! -s conftest.err
|
7233 | |
} && test -s conftest$ac_exeext &&
|
7234 | |
$as_test_x conftest$ac_exeext; then
|
7235 | |
ac_cv_func_res_mkquery=yes
|
7236 | |
else
|
7237 | |
echo "$as_me: failed program was:" >&5
|
7238 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7239 | |
|
7240 | |
ac_cv_func_res_mkquery=no
|
7241 | |
fi
|
7242 | |
|
7243 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7244 | |
conftest$ac_exeext conftest.$ac_ext
|
7245 | |
fi
|
7246 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_res_mkquery" >&5
|
7247 | |
echo "${ECHO_T}$ac_cv_func_res_mkquery" >&6; }
|
7248 | |
if test $ac_cv_func_res_mkquery = yes; then
|
7249 | |
:
|
7250 | |
else
|
7251 | |
|
7252 | |
{ echo "$as_me:$LINENO: checking for res_mkquery in -lbind" >&5
|
7253 | |
echo $ECHO_N "checking for res_mkquery in -lbind... $ECHO_C" >&6; }
|
7254 | |
if test "${ac_cv_lib_bind_res_mkquery+set}" = set; then
|
7255 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5116 |
ac_fn_c_check_func "$LINENO" "res_mkquery" "ac_cv_func_res_mkquery"
|
|
5117 |
if test "x$ac_cv_func_res_mkquery" = x""yes; then :
|
|
5118 |
|
|
5119 |
else
|
|
5120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_mkquery in -lbind" >&5
|
|
5121 |
$as_echo_n "checking for res_mkquery in -lbind... " >&6; }
|
|
5122 |
if test "${ac_cv_lib_bind_res_mkquery+set}" = set; then :
|
|
5123 |
$as_echo_n "(cached) " >&6
|
7256 | 5124 |
else
|
7257 | 5125 |
ac_check_lib_save_LIBS=$LIBS
|
7258 | 5126 |
LIBS="-lbind $LIBS"
|
7259 | |
cat >conftest.$ac_ext <<_ACEOF
|
7260 | |
/* confdefs.h. */
|
7261 | |
_ACEOF
|
7262 | |
cat confdefs.h >>conftest.$ac_ext
|
7263 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5127 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7264 | 5128 |
/* end confdefs.h. */
|
7265 | 5129 |
|
7266 | 5130 |
/* Override any GCC internal prototype to avoid an error.
|
|
7278 | 5142 |
return 0;
|
7279 | 5143 |
}
|
7280 | 5144 |
_ACEOF
|
7281 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7282 | |
if { (ac_try="$ac_link"
|
7283 | |
case "(($ac_try" in
|
7284 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7285 | |
*) ac_try_echo=$ac_try;;
|
7286 | |
esac
|
7287 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7288 | |
(eval "$ac_link") 2>conftest.er1
|
7289 | |
ac_status=$?
|
7290 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7291 | |
rm -f conftest.er1
|
7292 | |
cat conftest.err >&5
|
7293 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7294 | |
(exit $ac_status); } && {
|
7295 | |
test -z "$ac_c_werror_flag" ||
|
7296 | |
test ! -s conftest.err
|
7297 | |
} && test -s conftest$ac_exeext &&
|
7298 | |
$as_test_x conftest$ac_exeext; then
|
|
5145 |
if ac_fn_c_try_link "$LINENO"; then :
|
7299 | 5146 |
ac_cv_lib_bind_res_mkquery=yes
|
7300 | 5147 |
else
|
7301 | |
echo "$as_me: failed program was:" >&5
|
7302 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7303 | |
|
7304 | |
ac_cv_lib_bind_res_mkquery=no
|
7305 | |
fi
|
7306 | |
|
7307 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7308 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5148 |
ac_cv_lib_bind_res_mkquery=no
|
|
5149 |
fi
|
|
5150 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5151 |
conftest$ac_exeext conftest.$ac_ext
|
7309 | 5152 |
LIBS=$ac_check_lib_save_LIBS
|
7310 | 5153 |
fi
|
7311 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_mkquery" >&5
|
7312 | |
echo "${ECHO_T}$ac_cv_lib_bind_res_mkquery" >&6; }
|
7313 | |
if test $ac_cv_lib_bind_res_mkquery = yes; then
|
|
5154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_res_mkquery" >&5
|
|
5155 |
$as_echo "$ac_cv_lib_bind_res_mkquery" >&6; }
|
|
5156 |
if test "x$ac_cv_lib_bind_res_mkquery" = x""yes; then :
|
7314 | 5157 |
cat >>confdefs.h <<_ACEOF
|
7315 | 5158 |
#define HAVE_LIBBIND 1
|
7316 | 5159 |
_ACEOF
|
|
7318 | 5161 |
LIBS="-lbind $LIBS"
|
7319 | 5162 |
|
7320 | 5163 |
else
|
7321 | |
|
7322 | |
{ echo "$as_me:$LINENO: checking for res_mkquery in -lresolv" >&5
|
7323 | |
echo $ECHO_N "checking for res_mkquery in -lresolv... $ECHO_C" >&6; }
|
7324 | |
if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then
|
7325 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_mkquery in -lresolv" >&5
|
|
5165 |
$as_echo_n "checking for res_mkquery in -lresolv... " >&6; }
|
|
5166 |
if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then :
|
|
5167 |
$as_echo_n "(cached) " >&6
|
7326 | 5168 |
else
|
7327 | 5169 |
ac_check_lib_save_LIBS=$LIBS
|
7328 | 5170 |
LIBS="-lresolv $LIBS"
|
7329 | |
cat >conftest.$ac_ext <<_ACEOF
|
7330 | |
/* confdefs.h. */
|
7331 | |
_ACEOF
|
7332 | |
cat confdefs.h >>conftest.$ac_ext
|
7333 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5171 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7334 | 5172 |
/* end confdefs.h. */
|
7335 | 5173 |
|
7336 | 5174 |
/* Override any GCC internal prototype to avoid an error.
|
|
7348 | 5186 |
return 0;
|
7349 | 5187 |
}
|
7350 | 5188 |
_ACEOF
|
7351 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7352 | |
if { (ac_try="$ac_link"
|
7353 | |
case "(($ac_try" in
|
7354 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7355 | |
*) ac_try_echo=$ac_try;;
|
7356 | |
esac
|
7357 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7358 | |
(eval "$ac_link") 2>conftest.er1
|
7359 | |
ac_status=$?
|
7360 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7361 | |
rm -f conftest.er1
|
7362 | |
cat conftest.err >&5
|
7363 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7364 | |
(exit $ac_status); } && {
|
7365 | |
test -z "$ac_c_werror_flag" ||
|
7366 | |
test ! -s conftest.err
|
7367 | |
} && test -s conftest$ac_exeext &&
|
7368 | |
$as_test_x conftest$ac_exeext; then
|
|
5189 |
if ac_fn_c_try_link "$LINENO"; then :
|
7369 | 5190 |
ac_cv_lib_resolv_res_mkquery=yes
|
7370 | 5191 |
else
|
7371 | |
echo "$as_me: failed program was:" >&5
|
7372 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7373 | |
|
7374 | |
ac_cv_lib_resolv_res_mkquery=no
|
7375 | |
fi
|
7376 | |
|
7377 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7378 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5192 |
ac_cv_lib_resolv_res_mkquery=no
|
|
5193 |
fi
|
|
5194 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5195 |
conftest$ac_exeext conftest.$ac_ext
|
7379 | 5196 |
LIBS=$ac_check_lib_save_LIBS
|
7380 | 5197 |
fi
|
7381 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_mkquery" >&5
|
7382 | |
echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6; }
|
7383 | |
if test $ac_cv_lib_resolv_res_mkquery = yes; then
|
|
5198 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_mkquery" >&5
|
|
5199 |
$as_echo "$ac_cv_lib_resolv_res_mkquery" >&6; }
|
|
5200 |
if test "x$ac_cv_lib_resolv_res_mkquery" = x""yes; then :
|
7384 | 5201 |
cat >>confdefs.h <<_ACEOF
|
7385 | 5202 |
#define HAVE_LIBRESOLV 1
|
7386 | 5203 |
_ACEOF
|
|
7388 | 5205 |
LIBS="-lresolv $LIBS"
|
7389 | 5206 |
|
7390 | 5207 |
else
|
7391 | |
|
7392 | |
{ echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5
|
7393 | |
echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6; }
|
7394 | |
if test "${ac_cv_lib_resolv___res_mkquery+set}" = set; then
|
7395 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_mkquery in -lresolv" >&5
|
|
5209 |
$as_echo_n "checking for __res_mkquery in -lresolv... " >&6; }
|
|
5210 |
if test "${ac_cv_lib_resolv___res_mkquery+set}" = set; then :
|
|
5211 |
$as_echo_n "(cached) " >&6
|
7396 | 5212 |
else
|
7397 | 5213 |
ac_check_lib_save_LIBS=$LIBS
|
7398 | 5214 |
LIBS="-lresolv $LIBS"
|
7399 | |
cat >conftest.$ac_ext <<_ACEOF
|
7400 | |
/* confdefs.h. */
|
7401 | |
_ACEOF
|
7402 | |
cat confdefs.h >>conftest.$ac_ext
|
7403 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5215 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7404 | 5216 |
/* end confdefs.h. */
|
7405 | 5217 |
|
7406 | 5218 |
/* Override any GCC internal prototype to avoid an error.
|
|
7418 | 5230 |
return 0;
|
7419 | 5231 |
}
|
7420 | 5232 |
_ACEOF
|
7421 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7422 | |
if { (ac_try="$ac_link"
|
7423 | |
case "(($ac_try" in
|
7424 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7425 | |
*) ac_try_echo=$ac_try;;
|
7426 | |
esac
|
7427 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7428 | |
(eval "$ac_link") 2>conftest.er1
|
7429 | |
ac_status=$?
|
7430 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7431 | |
rm -f conftest.er1
|
7432 | |
cat conftest.err >&5
|
7433 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7434 | |
(exit $ac_status); } && {
|
7435 | |
test -z "$ac_c_werror_flag" ||
|
7436 | |
test ! -s conftest.err
|
7437 | |
} && test -s conftest$ac_exeext &&
|
7438 | |
$as_test_x conftest$ac_exeext; then
|
|
5233 |
if ac_fn_c_try_link "$LINENO"; then :
|
7439 | 5234 |
ac_cv_lib_resolv___res_mkquery=yes
|
7440 | 5235 |
else
|
7441 | |
echo "$as_me: failed program was:" >&5
|
7442 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7443 | |
|
7444 | |
ac_cv_lib_resolv___res_mkquery=no
|
7445 | |
fi
|
7446 | |
|
7447 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7448 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5236 |
ac_cv_lib_resolv___res_mkquery=no
|
|
5237 |
fi
|
|
5238 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5239 |
conftest$ac_exeext conftest.$ac_ext
|
7449 | 5240 |
LIBS=$ac_check_lib_save_LIBS
|
7450 | 5241 |
fi
|
7451 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_mkquery" >&5
|
7452 | |
echo "${ECHO_T}$ac_cv_lib_resolv___res_mkquery" >&6; }
|
7453 | |
if test $ac_cv_lib_resolv___res_mkquery = yes; then
|
|
5242 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_mkquery" >&5
|
|
5243 |
$as_echo "$ac_cv_lib_resolv___res_mkquery" >&6; }
|
|
5244 |
if test "x$ac_cv_lib_resolv___res_mkquery" = x""yes; then :
|
7454 | 5245 |
cat >>confdefs.h <<_ACEOF
|
7455 | 5246 |
#define HAVE_LIBRESOLV 1
|
7456 | 5247 |
_ACEOF
|
|
7458 | 5249 |
LIBS="-lresolv $LIBS"
|
7459 | 5250 |
|
7460 | 5251 |
else
|
7461 | |
{ { echo "$as_me:$LINENO: error: No resolver library found" >&5
|
7462 | |
echo "$as_me: error: No resolver library found" >&2;}
|
7463 | |
{ (exit 1); exit 1; }; }
|
|
5252 |
as_fn_error "No resolver library found" "$LINENO" 5
|
7464 | 5253 |
fi
|
7465 | 5254 |
|
7466 | 5255 |
fi
|
|
7475 | 5264 |
# removing it hurts your OS.... -- REW
|
7476 | 5265 |
#LIBS="$LIBS -lresolv"
|
7477 | 5266 |
|
7478 | |
{ echo "$as_me:$LINENO: checking for herror" >&5
|
7479 | |
echo $ECHO_N "checking for herror... $ECHO_C" >&6; }
|
7480 | |
if test "${ac_cv_func_herror+set}" = set; then
|
7481 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7482 | |
else
|
7483 | |
cat >conftest.$ac_ext <<_ACEOF
|
7484 | |
/* confdefs.h. */
|
7485 | |
_ACEOF
|
7486 | |
cat confdefs.h >>conftest.$ac_ext
|
7487 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7488 | |
/* end confdefs.h. */
|
7489 | |
/* Define herror to an innocuous variant, in case <limits.h> declares herror.
|
7490 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
7491 | |
#define herror innocuous_herror
|
7492 | |
|
7493 | |
/* System header to define __stub macros and hopefully few prototypes,
|
7494 | |
which can conflict with char herror (); below.
|
7495 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
7496 | |
<limits.h> exists even on freestanding compilers. */
|
7497 | |
|
7498 | |
#ifdef __STDC__
|
7499 | |
# include <limits.h>
|
7500 | |
#else
|
7501 | |
# include <assert.h>
|
7502 | |
#endif
|
7503 | |
|
7504 | |
#undef herror
|
7505 | |
|
7506 | |
/* Override any GCC internal prototype to avoid an error.
|
7507 | |
Use char because int might match the return type of a GCC
|
7508 | |
builtin and then its argument prototype would still apply. */
|
7509 | |
#ifdef __cplusplus
|
7510 | |
extern "C"
|
7511 | |
#endif
|
7512 | |
char herror ();
|
7513 | |
/* The GNU C library defines this for functions which it implements
|
7514 | |
to always fail with ENOSYS. Some functions are actually named
|
7515 | |
something starting with __ and the normal name is an alias. */
|
7516 | |
#if defined __stub_herror || defined __stub___herror
|
7517 | |
choke me
|
7518 | |
#endif
|
7519 | |
|
7520 | |
int
|
7521 | |
main ()
|
7522 | |
{
|
7523 | |
return herror ();
|
7524 | |
;
|
7525 | |
return 0;
|
7526 | |
}
|
7527 | |
_ACEOF
|
7528 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7529 | |
if { (ac_try="$ac_link"
|
7530 | |
case "(($ac_try" in
|
7531 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7532 | |
*) ac_try_echo=$ac_try;;
|
7533 | |
esac
|
7534 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7535 | |
(eval "$ac_link") 2>conftest.er1
|
7536 | |
ac_status=$?
|
7537 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7538 | |
rm -f conftest.er1
|
7539 | |
cat conftest.err >&5
|
7540 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7541 | |
(exit $ac_status); } && {
|
7542 | |
test -z "$ac_c_werror_flag" ||
|
7543 | |
test ! -s conftest.err
|
7544 | |
} && test -s conftest$ac_exeext &&
|
7545 | |
$as_test_x conftest$ac_exeext; then
|
7546 | |
ac_cv_func_herror=yes
|
7547 | |
else
|
7548 | |
echo "$as_me: failed program was:" >&5
|
7549 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7550 | |
|
7551 | |
ac_cv_func_herror=no
|
7552 | |
fi
|
7553 | |
|
7554 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7555 | |
conftest$ac_exeext conftest.$ac_ext
|
7556 | |
fi
|
7557 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_herror" >&5
|
7558 | |
echo "${ECHO_T}$ac_cv_func_herror" >&6; }
|
7559 | |
if test $ac_cv_func_herror = yes; then
|
7560 | |
:
|
7561 | |
else
|
7562 | |
|
7563 | |
cat >>confdefs.h <<\_ACEOF
|
7564 | |
#define NO_HERROR 1
|
7565 | |
_ACEOF
|
7566 | |
|
7567 | |
fi
|
7568 | |
|
7569 | |
{ echo "$as_me:$LINENO: checking for strerror" >&5
|
7570 | |
echo $ECHO_N "checking for strerror... $ECHO_C" >&6; }
|
7571 | |
if test "${ac_cv_func_strerror+set}" = set; then
|
7572 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7573 | |
else
|
7574 | |
cat >conftest.$ac_ext <<_ACEOF
|
7575 | |
/* confdefs.h. */
|
7576 | |
_ACEOF
|
7577 | |
cat confdefs.h >>conftest.$ac_ext
|
7578 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7579 | |
/* end confdefs.h. */
|
7580 | |
/* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
|
7581 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
7582 | |
#define strerror innocuous_strerror
|
7583 | |
|
7584 | |
/* System header to define __stub macros and hopefully few prototypes,
|
7585 | |
which can conflict with char strerror (); below.
|
7586 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
7587 | |
<limits.h> exists even on freestanding compilers. */
|
7588 | |
|
7589 | |
#ifdef __STDC__
|
7590 | |
# include <limits.h>
|
7591 | |
#else
|
7592 | |
# include <assert.h>
|
7593 | |
#endif
|
7594 | |
|
7595 | |
#undef strerror
|
7596 | |
|
7597 | |
/* Override any GCC internal prototype to avoid an error.
|
7598 | |
Use char because int might match the return type of a GCC
|
7599 | |
builtin and then its argument prototype would still apply. */
|
7600 | |
#ifdef __cplusplus
|
7601 | |
extern "C"
|
7602 | |
#endif
|
7603 | |
char strerror ();
|
7604 | |
/* The GNU C library defines this for functions which it implements
|
7605 | |
to always fail with ENOSYS. Some functions are actually named
|
7606 | |
something starting with __ and the normal name is an alias. */
|
7607 | |
#if defined __stub_strerror || defined __stub___strerror
|
7608 | |
choke me
|
7609 | |
#endif
|
7610 | |
|
7611 | |
int
|
7612 | |
main ()
|
7613 | |
{
|
7614 | |
return strerror ();
|
7615 | |
;
|
7616 | |
return 0;
|
7617 | |
}
|
7618 | |
_ACEOF
|
7619 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7620 | |
if { (ac_try="$ac_link"
|
7621 | |
case "(($ac_try" in
|
7622 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7623 | |
*) ac_try_echo=$ac_try;;
|
7624 | |
esac
|
7625 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7626 | |
(eval "$ac_link") 2>conftest.er1
|
7627 | |
ac_status=$?
|
7628 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7629 | |
rm -f conftest.er1
|
7630 | |
cat conftest.err >&5
|
7631 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7632 | |
(exit $ac_status); } && {
|
7633 | |
test -z "$ac_c_werror_flag" ||
|
7634 | |
test ! -s conftest.err
|
7635 | |
} && test -s conftest$ac_exeext &&
|
7636 | |
$as_test_x conftest$ac_exeext; then
|
7637 | |
ac_cv_func_strerror=yes
|
7638 | |
else
|
7639 | |
echo "$as_me: failed program was:" >&5
|
7640 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7641 | |
|
7642 | |
ac_cv_func_strerror=no
|
7643 | |
fi
|
7644 | |
|
7645 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7646 | |
conftest$ac_exeext conftest.$ac_ext
|
7647 | |
fi
|
7648 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
|
7649 | |
echo "${ECHO_T}$ac_cv_func_strerror" >&6; }
|
7650 | |
if test $ac_cv_func_strerror = yes; then
|
7651 | |
:
|
7652 | |
else
|
7653 | |
|
7654 | |
cat >>confdefs.h <<\_ACEOF
|
7655 | |
#define NO_STRERROR 1
|
7656 | |
_ACEOF
|
7657 | |
|
7658 | |
fi
|
7659 | |
|
7660 | |
|
7661 | |
{ echo "$as_me:$LINENO: checking for getaddrinfo" >&5
|
7662 | |
echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
|
7663 | |
if test "${ac_cv_func_getaddrinfo+set}" = set; then
|
7664 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7665 | |
else
|
7666 | |
cat >conftest.$ac_ext <<_ACEOF
|
7667 | |
/* confdefs.h. */
|
7668 | |
_ACEOF
|
7669 | |
cat confdefs.h >>conftest.$ac_ext
|
7670 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7671 | |
/* end confdefs.h. */
|
7672 | |
/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
|
7673 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
7674 | |
#define getaddrinfo innocuous_getaddrinfo
|
7675 | |
|
7676 | |
/* System header to define __stub macros and hopefully few prototypes,
|
7677 | |
which can conflict with char getaddrinfo (); below.
|
7678 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
7679 | |
<limits.h> exists even on freestanding compilers. */
|
7680 | |
|
7681 | |
#ifdef __STDC__
|
7682 | |
# include <limits.h>
|
7683 | |
#else
|
7684 | |
# include <assert.h>
|
7685 | |
#endif
|
7686 | |
|
7687 | |
#undef getaddrinfo
|
7688 | |
|
7689 | |
/* Override any GCC internal prototype to avoid an error.
|
7690 | |
Use char because int might match the return type of a GCC
|
7691 | |
builtin and then its argument prototype would still apply. */
|
7692 | |
#ifdef __cplusplus
|
7693 | |
extern "C"
|
7694 | |
#endif
|
7695 | |
char getaddrinfo ();
|
7696 | |
/* The GNU C library defines this for functions which it implements
|
7697 | |
to always fail with ENOSYS. Some functions are actually named
|
7698 | |
something starting with __ and the normal name is an alias. */
|
7699 | |
#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
|
7700 | |
choke me
|
7701 | |
#endif
|
7702 | |
|
7703 | |
int
|
7704 | |
main ()
|
7705 | |
{
|
7706 | |
return getaddrinfo ();
|
7707 | |
;
|
7708 | |
return 0;
|
7709 | |
}
|
7710 | |
_ACEOF
|
7711 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7712 | |
if { (ac_try="$ac_link"
|
7713 | |
case "(($ac_try" in
|
7714 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7715 | |
*) ac_try_echo=$ac_try;;
|
7716 | |
esac
|
7717 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7718 | |
(eval "$ac_link") 2>conftest.er1
|
7719 | |
ac_status=$?
|
7720 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7721 | |
rm -f conftest.er1
|
7722 | |
cat conftest.err >&5
|
7723 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7724 | |
(exit $ac_status); } && {
|
7725 | |
test -z "$ac_c_werror_flag" ||
|
7726 | |
test ! -s conftest.err
|
7727 | |
} && test -s conftest$ac_exeext &&
|
7728 | |
$as_test_x conftest$ac_exeext; then
|
7729 | |
ac_cv_func_getaddrinfo=yes
|
7730 | |
else
|
7731 | |
echo "$as_me: failed program was:" >&5
|
7732 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7733 | |
|
7734 | |
ac_cv_func_getaddrinfo=no
|
7735 | |
fi
|
7736 | |
|
7737 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7738 | |
conftest$ac_exeext conftest.$ac_ext
|
7739 | |
fi
|
7740 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
|
7741 | |
echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
|
7742 | |
if test $ac_cv_func_getaddrinfo = yes; then
|
|
5267 |
ac_fn_c_check_func "$LINENO" "herror" "ac_cv_func_herror"
|
|
5268 |
if test "x$ac_cv_func_herror" = x""yes; then :
|
|
5269 |
|
|
5270 |
else
|
|
5271 |
|
|
5272 |
$as_echo "#define NO_HERROR 1" >>confdefs.h
|
|
5273 |
|
|
5274 |
fi
|
|
5275 |
|
|
5276 |
ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
|
|
5277 |
if test "x$ac_cv_func_strerror" = x""yes; then :
|
|
5278 |
|
|
5279 |
else
|
|
5280 |
|
|
5281 |
$as_echo "#define NO_STRERROR 1" >>confdefs.h
|
|
5282 |
|
|
5283 |
fi
|
|
5284 |
|
|
5285 |
|
|
5286 |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
|
|
5287 |
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
|
7743 | 5288 |
if test "$WANTS_IPV6" = "yes"; then
|
7744 | 5289 |
|
7745 | |
cat >>confdefs.h <<\_ACEOF
|
7746 | |
#define ENABLE_IPV6
|
7747 | |
_ACEOF
|
7748 | |
|
7749 | |
fi
|
7750 | |
fi
|
7751 | |
|
7752 | |
|
7753 | |
{ echo "$as_me:$LINENO: checking whether errno is declared" >&5
|
7754 | |
echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6; }
|
7755 | |
if test "${ac_cv_have_decl_errno+set}" = set; then
|
7756 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7757 | |
else
|
7758 | |
cat >conftest.$ac_ext <<_ACEOF
|
7759 | |
/* confdefs.h. */
|
7760 | |
_ACEOF
|
7761 | |
cat confdefs.h >>conftest.$ac_ext
|
7762 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7763 | |
/* end confdefs.h. */
|
7764 | |
|
|
5290 |
$as_echo "#define ENABLE_IPV6 /**/" >>confdefs.h
|
|
5291 |
|
|
5292 |
fi
|
|
5293 |
fi
|
|
5294 |
|
|
5295 |
|
|
5296 |
ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "
|
7765 | 5297 |
#include <errno.h>
|
7766 | 5298 |
#include <sys/errno.h>
|
7767 | 5299 |
|
7768 | |
|
7769 | |
int
|
7770 | |
main ()
|
7771 | |
{
|
7772 | |
#ifndef errno
|
7773 | |
(void) errno;
|
7774 | |
#endif
|
7775 | |
|
7776 | |
;
|
7777 | |
return 0;
|
7778 | |
}
|
7779 | |
_ACEOF
|
7780 | |
rm -f conftest.$ac_objext
|
7781 | |
if { (ac_try="$ac_compile"
|
7782 | |
case "(($ac_try" in
|
7783 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7784 | |
*) ac_try_echo=$ac_try;;
|
7785 | |
esac
|
7786 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7787 | |
(eval "$ac_compile") 2>conftest.er1
|
7788 | |
ac_status=$?
|
7789 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7790 | |
rm -f conftest.er1
|
7791 | |
cat conftest.err >&5
|
7792 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7793 | |
(exit $ac_status); } && {
|
7794 | |
test -z "$ac_c_werror_flag" ||
|
7795 | |
test ! -s conftest.err
|
7796 | |
} && test -s conftest.$ac_objext; then
|
7797 | |
ac_cv_have_decl_errno=yes
|
7798 | |
else
|
7799 | |
echo "$as_me: failed program was:" >&5
|
7800 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7801 | |
|
7802 | |
ac_cv_have_decl_errno=no
|
7803 | |
fi
|
7804 | |
|
7805 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7806 | |
fi
|
7807 | |
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
|
7808 | |
echo "${ECHO_T}$ac_cv_have_decl_errno" >&6; }
|
7809 | |
if test $ac_cv_have_decl_errno = yes; then
|
|
5300 |
"
|
|
5301 |
if test "x$ac_cv_have_decl_errno" = x""yes; then :
|
|
5302 |
ac_have_decl=1
|
|
5303 |
else
|
|
5304 |
ac_have_decl=0
|
|
5305 |
fi
|
7810 | 5306 |
|
7811 | 5307 |
cat >>confdefs.h <<_ACEOF
|
7812 | |
#define HAVE_DECL_ERRNO 1
|
7813 | |
_ACEOF
|
7814 | |
|
7815 | |
|
7816 | |
else
|
7817 | |
cat >>confdefs.h <<_ACEOF
|
7818 | |
#define HAVE_DECL_ERRNO 0
|
7819 | |
_ACEOF
|
7820 | |
|
7821 | |
|
7822 | |
fi
|
7823 | |
|
7824 | |
|
7825 | |
|
7826 | |
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
|
7827 | |
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
|
7828 | |
if test "${ac_cv_type_socklen_t+set}" = set; then
|
7829 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7830 | |
else
|
7831 | |
cat >conftest.$ac_ext <<_ACEOF
|
7832 | |
/* confdefs.h. */
|
7833 | |
_ACEOF
|
7834 | |
cat confdefs.h >>conftest.$ac_ext
|
7835 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7836 | |
/* end confdefs.h. */
|
7837 | |
|
|
5308 |
#define HAVE_DECL_ERRNO $ac_have_decl
|
|
5309 |
_ACEOF
|
|
5310 |
|
|
5311 |
|
|
5312 |
ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
|
7838 | 5313 |
#include <netinet/in.h>
|
7839 | 5314 |
#ifdef HAVE_SOCKET_H
|
7840 | 5315 |
#include <socket.h>
|
|
7843 | 5318 |
#include <sys/socket.h>
|
7844 | 5319 |
#endif
|
7845 | 5320 |
|
7846 | |
|
7847 | |
typedef socklen_t ac__type_new_;
|
7848 | |
int
|
7849 | |
main ()
|
7850 | |
{
|
7851 | |
if ((ac__type_new_ *) 0)
|
7852 | |
return 0;
|
7853 | |
if (sizeof (ac__type_new_))
|
7854 | |
return 0;
|
7855 | |
;
|
7856 | |
return 0;
|
7857 | |
}
|
7858 | |
_ACEOF
|
7859 | |
rm -f conftest.$ac_objext
|
7860 | |
if { (ac_try="$ac_compile"
|
7861 | |
case "(($ac_try" in
|
7862 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7863 | |
*) ac_try_echo=$ac_try;;
|
7864 | |
esac
|
7865 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7866 | |
(eval "$ac_compile") 2>conftest.er1
|
7867 | |
ac_status=$?
|
7868 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7869 | |
rm -f conftest.er1
|
7870 | |
cat conftest.err >&5
|
7871 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7872 | |
(exit $ac_status); } && {
|
7873 | |
test -z "$ac_c_werror_flag" ||
|
7874 | |
test ! -s conftest.err
|
7875 | |
} && test -s conftest.$ac_objext; then
|
7876 | |
ac_cv_type_socklen_t=yes
|
7877 | |
else
|
7878 | |
echo "$as_me: failed program was:" >&5
|
7879 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7880 | |
|
7881 | |
ac_cv_type_socklen_t=no
|
7882 | |
fi
|
7883 | |
|
7884 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7885 | |
fi
|
7886 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
|
7887 | |
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
|
7888 | |
if test $ac_cv_type_socklen_t = yes; then
|
7889 | |
|
7890 | |
cat >>confdefs.h <<\_ACEOF
|
7891 | |
#define HAVE_SOCKLEN_T
|
7892 | |
_ACEOF
|
7893 | |
|
7894 | |
fi
|
7895 | |
|
7896 | |
|
7897 | |
{ echo "$as_me:$LINENO: checking for struct in_addr" >&5
|
7898 | |
echo $ECHO_N "checking for struct in_addr... $ECHO_C" >&6; }
|
7899 | |
if test "${ac_cv_type_struct_in_addr+set}" = set; then
|
7900 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7901 | |
else
|
7902 | |
cat >conftest.$ac_ext <<_ACEOF
|
7903 | |
/* confdefs.h. */
|
7904 | |
_ACEOF
|
7905 | |
cat confdefs.h >>conftest.$ac_ext
|
7906 | |
cat >>conftest.$ac_ext <<_ACEOF
|
7907 | |
/* end confdefs.h. */
|
7908 | |
|
|
5321 |
"
|
|
5322 |
if test "x$ac_cv_type_socklen_t" = x""yes; then :
|
|
5323 |
|
|
5324 |
$as_echo "#define HAVE_SOCKLEN_T /**/" >>confdefs.h
|
|
5325 |
|
|
5326 |
fi
|
|
5327 |
|
|
5328 |
|
|
5329 |
ac_fn_c_check_type "$LINENO" "struct in_addr" "ac_cv_type_struct_in_addr" "
|
7909 | 5330 |
#include <netinet/in.h>
|
7910 | 5331 |
|
7911 | |
|
7912 | |
typedef struct in_addr ac__type_new_;
|
7913 | |
int
|
7914 | |
main ()
|
7915 | |
{
|
7916 | |
if ((ac__type_new_ *) 0)
|
7917 | |
return 0;
|
7918 | |
if (sizeof (ac__type_new_))
|
7919 | |
return 0;
|
7920 | |
;
|
7921 | |
return 0;
|
7922 | |
}
|
7923 | |
_ACEOF
|
7924 | |
rm -f conftest.$ac_objext
|
7925 | |
if { (ac_try="$ac_compile"
|
7926 | |
case "(($ac_try" in
|
7927 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7928 | |
*) ac_try_echo=$ac_try;;
|
7929 | |
esac
|
7930 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7931 | |
(eval "$ac_compile") 2>conftest.er1
|
7932 | |
ac_status=$?
|
7933 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7934 | |
rm -f conftest.er1
|
7935 | |
cat conftest.err >&5
|
7936 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7937 | |
(exit $ac_status); } && {
|
7938 | |
test -z "$ac_c_werror_flag" ||
|
7939 | |
test ! -s conftest.err
|
7940 | |
} && test -s conftest.$ac_objext; then
|
7941 | |
ac_cv_type_struct_in_addr=yes
|
7942 | |
else
|
7943 | |
echo "$as_me: failed program was:" >&5
|
7944 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7945 | |
|
7946 | |
ac_cv_type_struct_in_addr=no
|
7947 | |
fi
|
7948 | |
|
7949 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7950 | |
fi
|
7951 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_in_addr" >&5
|
7952 | |
echo "${ECHO_T}$ac_cv_type_struct_in_addr" >&6; }
|
7953 | |
if test $ac_cv_type_struct_in_addr = yes; then
|
7954 | |
|
7955 | |
cat >>confdefs.h <<\_ACEOF
|
7956 | |
#define HAVE_STRUCT_INADDR
|
7957 | |
_ACEOF
|
7958 | |
|
7959 | |
fi
|
7960 | |
|
7961 | |
|
7962 | |
{ echo "$as_me:$LINENO: checking for C flags to get more warnings" >&5
|
7963 | |
echo $ECHO_N "checking for C flags to get more warnings... $ECHO_C" >&6; }
|
|
5332 |
"
|
|
5333 |
if test "x$ac_cv_type_struct_in_addr" = x""yes; then :
|
|
5334 |
|
|
5335 |
$as_echo "#define HAVE_STRUCT_INADDR /**/" >>confdefs.h
|
|
5336 |
|
|
5337 |
fi
|
|
5338 |
|
|
5339 |
|
|
5340 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C flags to get more warnings" >&5
|
|
5341 |
$as_echo_n "checking for C flags to get more warnings... " >&6; }
|
7964 | 5342 |
ac_save_CFLAGS="$CFLAGS"
|
7965 | 5343 |
if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
|
7966 | 5344 |
warning_CFLAGS="-Wall"
|
7967 | 5345 |
# Check if compiler supports -Wno-pointer-sign and add it if supports
|
7968 | 5346 |
CFLAGS_saved="$CFLAGS"
|
7969 | 5347 |
CFLAGS="$CFLAGS -Wno-pointer-sign"
|
7970 | |
cat >conftest.$ac_ext <<_ACEOF
|
7971 | |
/* confdefs.h. */
|
7972 | |
_ACEOF
|
7973 | |
cat confdefs.h >>conftest.$ac_ext
|
7974 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5348 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7975 | 5349 |
/* end confdefs.h. */
|
7976 | |
int foo;
|
7977 | |
_ACEOF
|
7978 | |
rm -f conftest.$ac_objext
|
7979 | |
if { (ac_try="$ac_compile"
|
7980 | |
case "(($ac_try" in
|
7981 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7982 | |
*) ac_try_echo=$ac_try;;
|
7983 | |
esac
|
7984 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
7985 | |
(eval "$ac_compile") 2>conftest.er1
|
7986 | |
ac_status=$?
|
7987 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7988 | |
rm -f conftest.er1
|
7989 | |
cat conftest.err >&5
|
7990 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7991 | |
(exit $ac_status); } && {
|
7992 | |
test -z "$ac_c_werror_flag" ||
|
7993 | |
test ! -s conftest.err
|
7994 | |
} && test -s conftest.$ac_objext; then
|
|
5350 |
int foo;
|
|
5351 |
_ACEOF
|
|
5352 |
if ac_fn_c_try_compile "$LINENO"; then :
|
7995 | 5353 |
warning_CFLAGS="${warning_CFLAGS} -Wno-pointer-sign"
|
7996 | |
else
|
7997 | |
echo "$as_me: failed program was:" >&5
|
7998 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7999 | |
|
8000 | |
|
8001 | |
fi
|
8002 | |
|
|
5354 |
fi
|
8003 | 5355 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8004 | 5356 |
CFLAGS="$CFLAGS_saved"
|
8005 | 5357 |
else
|
8006 | 5358 |
case "$host_os" in
|
8007 | 5359 |
irix*)
|
8008 | 5360 |
CFLAGS="$CFLAGS -fullwarn"
|
8009 | |
cat >conftest.$ac_ext <<_ACEOF
|
8010 | |
/* confdefs.h. */
|
8011 | |
_ACEOF
|
8012 | |
cat confdefs.h >>conftest.$ac_ext
|
8013 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5361 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8014 | 5362 |
/* end confdefs.h. */
|
8015 | 5363 |
#include <stdio.h>
|
8016 | 5364 |
int
|
|
8021 | 5369 |
return 0;
|
8022 | 5370 |
}
|
8023 | 5371 |
_ACEOF
|
8024 | |
rm -f conftest.$ac_objext
|
8025 | |
if { (ac_try="$ac_compile"
|
8026 | |
case "(($ac_try" in
|
8027 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8028 | |
*) ac_try_echo=$ac_try;;
|
8029 | |
esac
|
8030 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8031 | |
(eval "$ac_compile") 2>conftest.er1
|
8032 | |
ac_status=$?
|
8033 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8034 | |
rm -f conftest.er1
|
8035 | |
cat conftest.err >&5
|
8036 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8037 | |
(exit $ac_status); } && {
|
8038 | |
test -z "$ac_c_werror_flag" ||
|
8039 | |
test ! -s conftest.err
|
8040 | |
} && test -s conftest.$ac_objext; then
|
|
5372 |
if ac_fn_c_try_compile "$LINENO"; then :
|
8041 | 5373 |
warning_CFLAGS="-fullwarn"
|
8042 | |
else
|
8043 | |
echo "$as_me: failed program was:" >&5
|
8044 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8045 | |
|
8046 | |
|
8047 | |
fi
|
8048 | |
|
|
5374 |
fi
|
8049 | 5375 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8050 | 5376 |
;;
|
8051 | 5377 |
|
8052 | 5378 |
sunos*)
|
8053 | 5379 |
if "$CC" = "acc" ; then
|
8054 | 5380 |
CFLAGS="$CFLAGS -vc"
|
8055 | |
cat >conftest.$ac_ext <<_ACEOF
|
8056 | |
/* confdefs.h. */
|
8057 | |
_ACEOF
|
8058 | |
cat confdefs.h >>conftest.$ac_ext
|
8059 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5381 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8060 | 5382 |
/* end confdefs.h. */
|
8061 | 5383 |
#include <stdio.h>
|
8062 | 5384 |
int
|
|
8067 | 5389 |
return 0;
|
8068 | 5390 |
}
|
8069 | 5391 |
_ACEOF
|
8070 | |
rm -f conftest.$ac_objext
|
8071 | |
if { (ac_try="$ac_compile"
|
8072 | |
case "(($ac_try" in
|
8073 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8074 | |
*) ac_try_echo=$ac_try;;
|
8075 | |
esac
|
8076 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8077 | |
(eval "$ac_compile") 2>conftest.er1
|
8078 | |
ac_status=$?
|
8079 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8080 | |
rm -f conftest.er1
|
8081 | |
cat conftest.err >&5
|
8082 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8083 | |
(exit $ac_status); } && {
|
8084 | |
test -z "$ac_c_werror_flag" ||
|
8085 | |
test ! -s conftest.err
|
8086 | |
} && test -s conftest.$ac_objext; then
|
|
5392 |
if ac_fn_c_try_compile "$LINENO"; then :
|
8087 | 5393 |
warning_CFLAGS="-vc"
|
8088 | |
else
|
8089 | |
echo "$as_me: failed program was:" >&5
|
8090 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8091 | |
|
8092 | |
|
8093 | |
fi
|
8094 | |
|
|
5394 |
fi
|
8095 | 5395 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8096 | 5396 |
fi
|
8097 | 5397 |
;;
|
|
8103 | 5403 |
fi
|
8104 | 5404 |
CFLAGS="$ac_save_CFLAGS"
|
8105 | 5405 |
if test "$warning_CFLAGS" = "none" ; then
|
8106 | |
{ echo "$as_me:$LINENO: result: none" >&5
|
8107 | |
echo "${ECHO_T}none" >&6; }
|
|
5406 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
|
5407 |
$as_echo "none" >&6; }
|
8108 | 5408 |
else
|
8109 | 5409 |
CFLAGS="$CFLAGS $warning_CFLAGS"
|
8110 | |
{ echo "$as_me:$LINENO: result: $warning_CFLAGS" >&5
|
8111 | |
echo "${ECHO_T}$warning_CFLAGS" >&6; }
|
|
5410 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_CFLAGS" >&5
|
|
5411 |
$as_echo "$warning_CFLAGS" >&6; }
|
8112 | 5412 |
fi
|
8113 | 5413 |
|
8114 | 5414 |
|
|
8145 | 5445 |
case $ac_val in #(
|
8146 | 5446 |
*${as_nl}*)
|
8147 | 5447 |
case $ac_var in #(
|
8148 | |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
8149 | |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
5448 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
5449 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
8150 | 5450 |
esac
|
8151 | 5451 |
case $ac_var in #(
|
8152 | 5452 |
_ | IFS | as_nl) ;; #(
|
8153 | |
*) $as_unset $ac_var ;;
|
|
5453 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
5454 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
8154 | 5455 |
esac ;;
|
8155 | 5456 |
esac
|
8156 | 5457 |
done
|
|
8158 | 5459 |
(set) 2>&1 |
|
8159 | 5460 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
8160 | 5461 |
*${as_nl}ac_space=\ *)
|
8161 | |
# `set' does not quote correctly, so add quotes (double-quote
|
8162 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
5462 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
5463 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
8163 | 5464 |
sed -n \
|
8164 | 5465 |
"s/'/'\\\\''/g;
|
8165 | 5466 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
8182 | 5483 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
8183 | 5484 |
if test -w "$cache_file"; then
|
8184 | 5485 |
test "x$cache_file" != "x/dev/null" &&
|
8185 | |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
8186 | |
echo "$as_me: updating cache $cache_file" >&6;}
|
|
5486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
5487 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
8187 | 5488 |
cat confcache >$cache_file
|
8188 | 5489 |
else
|
8189 | |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
8190 | |
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
5490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
5491 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
8191 | 5492 |
fi
|
8192 | 5493 |
fi
|
8193 | 5494 |
rm -f confcache
|
|
8203 | 5504 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
8204 | 5505 |
# 1. Remove the extension, and $U if already installed.
|
8205 | 5506 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
8206 | |
ac_i=`echo "$ac_i" | sed "$ac_script"`
|
|
5507 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
8207 | 5508 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
8208 | 5509 |
# will be set to the directory where LIBOBJS objects are built.
|
8209 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
8210 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
5510 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
5511 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
8211 | 5512 |
done
|
8212 | 5513 |
LIBOBJS=$ac_libobjs
|
8213 | 5514 |
|
8214 | 5515 |
LTLIBOBJS=$ac_ltlibobjs
|
8215 | 5516 |
|
8216 | 5517 |
|
|
5518 |
if test -n "$EXEEXT"; then
|
|
5519 |
am__EXEEXT_TRUE=
|
|
5520 |
am__EXEEXT_FALSE='#'
|
|
5521 |
else
|
|
5522 |
am__EXEEXT_TRUE='#'
|
|
5523 |
am__EXEEXT_FALSE=
|
|
5524 |
fi
|
|
5525 |
|
8217 | 5526 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
8218 | |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
8219 | |
Usually this means the macro was only invoked conditionally." >&5
|
8220 | |
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
8221 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
8222 | |
{ (exit 1); exit 1; }; }
|
|
5527 |
as_fn_error "conditional \"AMDEP\" was never defined.
|
|
5528 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
8223 | 5529 |
fi
|
8224 | 5530 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
8225 | |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
8226 | |
Usually this means the macro was only invoked conditionally." >&5
|
8227 | |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
8228 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
8229 | |
{ (exit 1); exit 1; }; }
|
|
5531 |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
|
5532 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
8230 | 5533 |
fi
|
8231 | 5534 |
|
8232 | 5535 |
: ${CONFIG_STATUS=./config.status}
|
|
5536 |
ac_write_fail=0
|
8233 | 5537 |
ac_clean_files_save=$ac_clean_files
|
8234 | 5538 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
8235 | |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
8236 | |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
8237 | |
cat >$CONFIG_STATUS <<_ACEOF
|
|
5539 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
5540 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
5541 |
as_write_fail=0
|
|
5542 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
8238 | 5543 |
#! $SHELL
|
8239 | 5544 |
# Generated by $as_me.
|
8240 | 5545 |
# Run this file to recreate the current configuration.
|
|
8244 | 5549 |
debug=false
|
8245 | 5550 |
ac_cs_recheck=false
|
8246 | 5551 |
ac_cs_silent=false
|
|
5552 |
|
8247 | 5553 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
8248 | |
_ACEOF
|
8249 | |
|
8250 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
8251 | |
## --------------------- ##
|
8252 | |
## M4sh Initialization. ##
|
8253 | |
## --------------------- ##
|
|
5554 |
export SHELL
|
|
5555 |
_ASEOF
|
|
5556 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
5557 |
## -------------------- ##
|
|
5558 |
## M4sh Initialization. ##
|
|
5559 |
## -------------------- ##
|
8254 | 5560 |
|
8255 | 5561 |
# Be more Bourne compatible
|
8256 | 5562 |
DUALCASE=1; export DUALCASE # for MKS sh
|
8257 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
5563 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
8258 | 5564 |
emulate sh
|
8259 | 5565 |
NULLCMD=:
|
8260 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
5566 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
8261 | 5567 |
# is contrary to our usage. Disable this feature.
|
8262 | 5568 |
alias -g '${1+"$@"}'='"$@"'
|
8263 | 5569 |
setopt NO_GLOB_SUBST
|
8264 | 5570 |
else
|
8265 | |
case `(set -o) 2>/dev/null` in
|
8266 | |
*posix*) set -o posix ;;
|
|
5571 |
case `(set -o) 2>/dev/null` in #(
|
|
5572 |
*posix*) :
|
|
5573 |
set -o posix ;; #(
|
|
5574 |
*) :
|
|
5575 |
;;
|
8267 | 5576 |
esac
|
8268 | |
|
8269 | |
fi
|
8270 | |
|
8271 | |
|
8272 | |
|
8273 | |
|
8274 | |
# PATH needs CR
|
8275 | |
# Avoid depending upon Character Ranges.
|
8276 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
8277 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
8278 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
8279 | |
as_cr_digits='0123456789'
|
8280 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
5577 |
fi
|
|
5578 |
|
|
5579 |
|
|
5580 |
as_nl='
|
|
5581 |
'
|
|
5582 |
export as_nl
|
|
5583 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
5584 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
5585 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
5586 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
5587 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
5588 |
# but without wasting forks for bash or zsh.
|
|
5589 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
5590 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
5591 |
as_echo='print -r --'
|
|
5592 |
as_echo_n='print -rn --'
|
|
5593 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
5594 |
as_echo='printf %s\n'
|
|
5595 |
as_echo_n='printf %s'
|
|
5596 |
else
|
|
5597 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
5598 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
5599 |
as_echo_n='/usr/ucb/echo -n'
|
|
5600 |
else
|
|
5601 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
5602 |
as_echo_n_body='eval
|
|
5603 |
arg=$1;
|
|
5604 |
case $arg in #(
|
|
5605 |
*"$as_nl"*)
|
|
5606 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
5607 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
5608 |
esac;
|
|
5609 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
5610 |
'
|
|
5611 |
export as_echo_n_body
|
|
5612 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
5613 |
fi
|
|
5614 |
export as_echo_body
|
|
5615 |
as_echo='sh -c $as_echo_body as_echo'
|
|
5616 |
fi
|
8281 | 5617 |
|
8282 | 5618 |
# The user is always right.
|
8283 | 5619 |
if test "${PATH_SEPARATOR+set}" != set; then
|
8284 | |
echo "#! /bin/sh" >conf$$.sh
|
8285 | |
echo "exit 0" >>conf$$.sh
|
8286 | |
chmod +x conf$$.sh
|
8287 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
8288 | |
PATH_SEPARATOR=';'
|
8289 | |
else
|
8290 | |
PATH_SEPARATOR=:
|
8291 | |
fi
|
8292 | |
rm -f conf$$.sh
|
8293 | |
fi
|
8294 | |
|
8295 | |
# Support unset when possible.
|
8296 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
8297 | |
as_unset=unset
|
8298 | |
else
|
8299 | |
as_unset=false
|
|
5620 |
PATH_SEPARATOR=:
|
|
5621 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
5622 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
5623 |
PATH_SEPARATOR=';'
|
|
5624 |
}
|
8300 | 5625 |
fi
|
8301 | 5626 |
|
8302 | 5627 |
|
|
8305 | 5630 |
# there to prevent editors from complaining about space-tab.
|
8306 | 5631 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
8307 | 5632 |
# splitting by setting IFS to empty value.)
|
8308 | |
as_nl='
|
8309 | |
'
|
8310 | 5633 |
IFS=" "" $as_nl"
|
8311 | 5634 |
|
8312 | 5635 |
# Find who we are. Look in the path if we contain no directory separator.
|
8313 | |
case $0 in
|
|
5636 |
case $0 in #((
|
8314 | 5637 |
*[\\/]* ) as_myself=$0 ;;
|
8315 | 5638 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
8316 | 5639 |
for as_dir in $PATH
|
8317 | 5640 |
do
|
8318 | 5641 |
IFS=$as_save_IFS
|
8319 | 5642 |
test -z "$as_dir" && as_dir=.
|
8320 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
8321 | |
done
|
|
5643 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
5644 |
done
|
8322 | 5645 |
IFS=$as_save_IFS
|
8323 | 5646 |
|
8324 | 5647 |
;;
|
|
8329 | 5652 |
as_myself=$0
|
8330 | 5653 |
fi
|
8331 | 5654 |
if test ! -f "$as_myself"; then
|
8332 | |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
8333 | |
{ (exit 1); exit 1; }
|
8334 | |
fi
|
8335 | |
|
8336 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
8337 | |
for as_var in ENV MAIL MAILPATH
|
8338 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
5655 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
5656 |
exit 1
|
|
5657 |
fi
|
|
5658 |
|
|
5659 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
5660 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
5661 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
5662 |
# trigger a bug in pdksh 5.2.14.
|
|
5663 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
5664 |
do eval test x\${$as_var+set} = xset \
|
|
5665 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
8339 | 5666 |
done
|
8340 | 5667 |
PS1='$ '
|
8341 | 5668 |
PS2='> '
|
8342 | 5669 |
PS4='+ '
|
8343 | 5670 |
|
8344 | 5671 |
# NLS nuisances.
|
8345 | |
for as_var in \
|
8346 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
8347 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
8348 | |
LC_TELEPHONE LC_TIME
|
8349 | |
do
|
8350 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
8351 | |
eval $as_var=C; export $as_var
|
8352 | |
else
|
8353 | |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
5672 |
LC_ALL=C
|
|
5673 |
export LC_ALL
|
|
5674 |
LANGUAGE=C
|
|
5675 |
export LANGUAGE
|
|
5676 |
|
|
5677 |
# CDPATH.
|
|
5678 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
5679 |
|
|
5680 |
|
|
5681 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
5682 |
# ---------------------------------
|
|
5683 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
5684 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
5685 |
# script with status $?, using 1 if that was 0.
|
|
5686 |
as_fn_error ()
|
|
5687 |
{
|
|
5688 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
5689 |
if test "$3"; then
|
|
5690 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
5691 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
8354 | 5692 |
fi
|
8355 | |
done
|
8356 | |
|
8357 | |
# Required to use basename.
|
|
5693 |
$as_echo "$as_me: error: $1" >&2
|
|
5694 |
as_fn_exit $as_status
|
|
5695 |
} # as_fn_error
|
|
5696 |
|
|
5697 |
|
|
5698 |
# as_fn_set_status STATUS
|
|
5699 |
# -----------------------
|
|
5700 |
# Set $? to STATUS, without forking.
|
|
5701 |
as_fn_set_status ()
|
|
5702 |
{
|
|
5703 |
return $1
|
|
5704 |
} # as_fn_set_status
|
|
5705 |
|
|
5706 |
# as_fn_exit STATUS
|
|
5707 |
# -----------------
|
|
5708 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
5709 |
as_fn_exit ()
|
|
5710 |
{
|
|
5711 |
set +e
|
|
5712 |
as_fn_set_status $1
|
|
5713 |
exit $1
|
|
5714 |
} # as_fn_exit
|
|
5715 |
|
|
5716 |
# as_fn_unset VAR
|
|
5717 |
# ---------------
|
|
5718 |
# Portably unset VAR.
|
|
5719 |
as_fn_unset ()
|
|
5720 |
{
|
|
5721 |
{ eval $1=; unset $1;}
|
|
5722 |
}
|
|
5723 |
as_unset=as_fn_unset
|
|
5724 |
# as_fn_append VAR VALUE
|
|
5725 |
# ----------------------
|
|
5726 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
5727 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
5728 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
5729 |
# implementations.
|
|
5730 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
5731 |
eval 'as_fn_append ()
|
|
5732 |
{
|
|
5733 |
eval $1+=\$2
|
|
5734 |
}'
|
|
5735 |
else
|
|
5736 |
as_fn_append ()
|
|
5737 |
{
|
|
5738 |
eval $1=\$$1\$2
|
|
5739 |
}
|
|
5740 |
fi # as_fn_append
|
|
5741 |
|
|
5742 |
# as_fn_arith ARG...
|
|
5743 |
# ------------------
|
|
5744 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
5745 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
5746 |
# must be portable across $(()) and expr.
|
|
5747 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
5748 |
eval 'as_fn_arith ()
|
|
5749 |
{
|
|
5750 |
as_val=$(( $* ))
|
|
5751 |
}'
|
|
5752 |
else
|
|
5753 |
as_fn_arith ()
|
|
5754 |
{
|
|
5755 |
as_val=`expr "$@" || test $? -eq 1`
|
|
5756 |
}
|
|
5757 |
fi # as_fn_arith
|
|
5758 |
|
|
5759 |
|
8358 | 5760 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
8359 | 5761 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
8360 | 5762 |
as_expr=expr
|
|
8368 | 5770 |
as_basename=false
|
8369 | 5771 |
fi
|
8370 | 5772 |
|
8371 | |
|
8372 | |
# Name of the executable.
|
|
5773 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
5774 |
as_dirname=dirname
|
|
5775 |
else
|
|
5776 |
as_dirname=false
|
|
5777 |
fi
|
|
5778 |
|
8373 | 5779 |
as_me=`$as_basename -- "$0" ||
|
8374 | 5780 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
8375 | 5781 |
X"$0" : 'X\(//\)$' \| \
|
8376 | 5782 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
8377 | |
echo X/"$0" |
|
|
5783 |
$as_echo X/"$0" |
|
8378 | 5784 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
8379 | 5785 |
s//\1/
|
8380 | 5786 |
q
|
|
8389 | 5795 |
}
|
8390 | 5796 |
s/.*/./; q'`
|
8391 | 5797 |
|
8392 | |
# CDPATH.
|
8393 | |
$as_unset CDPATH
|
8394 | |
|
8395 | |
|
8396 | |
|
8397 | |
as_lineno_1=$LINENO
|
8398 | |
as_lineno_2=$LINENO
|
8399 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
8400 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
8401 | |
|
8402 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
8403 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
8404 | |
# line-number line after each line using $LINENO; the second 'sed'
|
8405 | |
# does the real work. The second script uses 'N' to pair each
|
8406 | |
# line-number line with the line containing $LINENO, and appends
|
8407 | |
# trailing '-' during substitution so that $LINENO is not a special
|
8408 | |
# case at line end.
|
8409 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
8410 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
8411 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
8412 | |
sed -n '
|
8413 | |
p
|
8414 | |
/[$]LINENO/=
|
8415 | |
' <$as_myself |
|
8416 | |
sed '
|
8417 | |
s/[$]LINENO.*/&-/
|
8418 | |
t lineno
|
8419 | |
b
|
8420 | |
:lineno
|
8421 | |
N
|
8422 | |
:loop
|
8423 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
8424 | |
t loop
|
8425 | |
s/-\n.*//
|
8426 | |
' >$as_me.lineno &&
|
8427 | |
chmod +x "$as_me.lineno" ||
|
8428 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
8429 | |
{ (exit 1); exit 1; }; }
|
8430 | |
|
8431 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
8432 | |
# (the dirname of $[0] is not the place where we might find the
|
8433 | |
# original and so on. Autoconf is especially sensitive to this).
|
8434 | |
. "./$as_me.lineno"
|
8435 | |
# Exit status is that of the last command.
|
8436 | |
exit
|
8437 | |
}
|
8438 | |
|
8439 | |
|
8440 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
8441 | |
as_dirname=dirname
|
8442 | |
else
|
8443 | |
as_dirname=false
|
8444 | |
fi
|
|
5798 |
# Avoid depending upon Character Ranges.
|
|
5799 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
5800 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
5801 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
5802 |
as_cr_digits='0123456789'
|
|
5803 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
8445 | 5804 |
|
8446 | 5805 |
ECHO_C= ECHO_N= ECHO_T=
|
8447 | |
case `echo -n x` in
|
|
5806 |
case `echo -n x` in #(((((
|
8448 | 5807 |
-n*)
|
8449 | |
case `echo 'x\c'` in
|
|
5808 |
case `echo 'xy\c'` in
|
8450 | 5809 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
8451 | |
*) ECHO_C='\c';;
|
|
5810 |
xy) ECHO_C='\c';;
|
|
5811 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
5812 |
ECHO_T=' ';;
|
8452 | 5813 |
esac;;
|
8453 | 5814 |
*)
|
8454 | 5815 |
ECHO_N='-n';;
|
8455 | 5816 |
esac
|
8456 | 5817 |
|
8457 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
8458 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
8459 | |
as_expr=expr
|
8460 | |
else
|
8461 | |
as_expr=false
|
8462 | |
fi
|
8463 | |
|
8464 | 5818 |
rm -f conf$$ conf$$.exe conf$$.file
|
8465 | 5819 |
if test -d conf$$.dir; then
|
8466 | 5820 |
rm -f conf$$.dir/conf$$.file
|
8467 | 5821 |
else
|
8468 | 5822 |
rm -f conf$$.dir
|
8469 | |
mkdir conf$$.dir
|
8470 | |
fi
|
8471 | |
echo >conf$$.file
|
8472 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
8473 | |
as_ln_s='ln -s'
|
8474 | |
# ... but there are two gotchas:
|
8475 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
8476 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
8477 | |
# In both cases, we have to default to `cp -p'.
|
8478 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
5823 |
mkdir conf$$.dir 2>/dev/null
|
|
5824 |
fi
|
|
5825 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
5826 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
5827 |
as_ln_s='ln -s'
|
|
5828 |
# ... but there are two gotchas:
|
|
5829 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
5830 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
5831 |
# In both cases, we have to default to `cp -p'.
|
|
5832 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
5833 |
as_ln_s='cp -p'
|
|
5834 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
5835 |
as_ln_s=ln
|
|
5836 |
else
|
8479 | 5837 |
as_ln_s='cp -p'
|
8480 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
8481 | |
as_ln_s=ln
|
|
5838 |
fi
|
8482 | 5839 |
else
|
8483 | 5840 |
as_ln_s='cp -p'
|
8484 | 5841 |
fi
|
8485 | 5842 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
8486 | 5843 |
rmdir conf$$.dir 2>/dev/null
|
8487 | 5844 |
|
8488 | |
if mkdir -p . 2>/dev/null; then
|
8489 | |
as_mkdir_p=:
|
8490 | |
else
|
8491 | |
test -d ./-p && rmdir ./-p
|
8492 | |
as_mkdir_p=false
|
8493 | |
fi
|
8494 | |
|
8495 | |
if test -x / >/dev/null 2>&1; then
|
8496 | |
as_test_x='test -x'
|
8497 | |
else
|
8498 | |
if ls -dL / >/dev/null 2>&1; then
|
8499 | |
as_ls_L_option=L
|
8500 | |
else
|
8501 | |
as_ls_L_option=
|
8502 | |
fi
|
8503 | |
as_test_x='
|
8504 | |
eval sh -c '\''
|
8505 | |
if test -d "$1"; then
|
8506 | |
test -d "$1/.";
|
8507 | |
else
|
8508 | |
case $1 in
|
8509 | |
-*)set "./$1";;
|
8510 | |
esac;
|
8511 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
8512 | |
???[sx]*):;;*)false;;esac;fi
|
8513 | |
'\'' sh
|
8514 | |
'
|
8515 | |
fi
|
8516 | |
as_executable_p=$as_test_x
|
8517 | |
|
8518 | |
# Sed expression to map a string onto a valid CPP name.
|
8519 | |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
8520 | |
|
8521 | |
# Sed expression to map a string onto a valid variable name.
|
8522 | |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
8523 | |
|
8524 | |
|
8525 | |
exec 6>&1
|
8526 | |
|
8527 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
8528 | |
# report actual input values of CONFIG_FILES etc. instead of their
|
8529 | |
# values after options handling.
|
8530 | |
ac_log="
|
8531 | |
This file was extended by $as_me, which was
|
8532 | |
generated by GNU Autoconf 2.61. Invocation command line was
|
8533 | |
|
8534 | |
CONFIG_FILES = $CONFIG_FILES
|
8535 | |
CONFIG_HEADERS = $CONFIG_HEADERS
|
8536 | |
CONFIG_LINKS = $CONFIG_LINKS
|
8537 | |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
8538 | |
$ $0 $@
|
8539 | |
|
8540 | |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
8541 | |
"
|
8542 | |
|
8543 | |
_ACEOF
|
8544 | |
|
8545 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
8546 | |
# Files that config.status was made for.
|
8547 | |
config_files="$ac_config_files"
|
8548 | |
config_headers="$ac_config_headers"
|
8549 | |
config_commands="$ac_config_commands"
|
8550 | |
|
8551 | |
_ACEOF
|
8552 | |
|
8553 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
8554 | |
ac_cs_usage="\
|
8555 | |
\`$as_me' instantiates files from templates according to the
|
8556 | |
current configuration.
|
8557 | |
|
8558 | |
Usage: $0 [OPTIONS] [FILE]...
|
8559 | |
|
8560 | |
-h, --help print this help, then exit
|
8561 | |
-V, --version print version number and configuration settings, then exit
|
8562 | |
-q, --quiet do not print progress messages
|
8563 | |
-d, --debug don't remove temporary files
|
8564 | |
--recheck update $as_me by reconfiguring in the same conditions
|
8565 | |
--file=FILE[:TEMPLATE]
|
8566 | |
instantiate the configuration file FILE
|
8567 | |
--header=FILE[:TEMPLATE]
|
8568 | |
instantiate the configuration header FILE
|
8569 | |
|
8570 | |
Configuration files:
|
8571 | |
$config_files
|
8572 | |
|
8573 | |
Configuration headers:
|
8574 | |
$config_headers
|
8575 | |
|
8576 | |
Configuration commands:
|
8577 | |
$config_commands
|
8578 | |
|
8579 | |
Report bugs to <bug-autoconf@gnu.org>."
|
8580 | |
|
8581 | |
_ACEOF
|
8582 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
8583 | |
ac_cs_version="\\
|
8584 | |
config.status
|
8585 | |
configured by $0, generated by GNU Autoconf 2.61,
|
8586 | |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
8587 | |
|
8588 | |
Copyright (C) 2006 Free Software Foundation, Inc.
|
8589 | |
This config.status script is free software; the Free Software Foundation
|
8590 | |
gives unlimited permission to copy, distribute and modify it."
|
8591 | |
|
8592 | |
ac_pwd='$ac_pwd'
|
8593 | |
srcdir='$srcdir'
|
8594 | |
INSTALL='$INSTALL'
|
8595 | |
_ACEOF
|
8596 | |
|
8597 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
8598 | |
# If no file are specified by the user, then we need to provide default
|
8599 | |
# value. By we need to know if files were specified by the user.
|
8600 | |
ac_need_defaults=:
|
8601 | |
while test $# != 0
|
8602 | |
do
|
8603 | |
case $1 in
|
8604 | |
--*=*)
|
8605 | |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
8606 | |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
8607 | |
ac_shift=:
|
8608 | |
;;
|
8609 | |
*)
|
8610 | |
ac_option=$1
|
8611 | |
ac_optarg=$2
|
8612 | |
ac_shift=shift
|
8613 | |
;;
|
8614 | |
esac
|
8615 | |
|
8616 | |
case $ac_option in
|
8617 | |
# Handling of the options.
|
8618 | |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
8619 | |
ac_cs_recheck=: ;;
|
8620 | |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
8621 | |
echo "$ac_cs_version"; exit ;;
|
8622 | |
--debug | --debu | --deb | --de | --d | -d )
|
8623 | |
debug=: ;;
|
8624 | |
--file | --fil | --fi | --f )
|
8625 | |
$ac_shift
|
8626 | |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
8627 | |
ac_need_defaults=false;;
|
8628 | |
--header | --heade | --head | --hea )
|
8629 | |
$ac_shift
|
8630 | |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
8631 | |
ac_need_defaults=false;;
|
8632 | |
--he | --h)
|
8633 | |
# Conflict between --help and --header
|
8634 | |
{ echo "$as_me: error: ambiguous option: $1
|
8635 | |
Try \`$0 --help' for more information." >&2
|
8636 | |
{ (exit 1); exit 1; }; };;
|
8637 | |
--help | --hel | -h )
|
8638 | |
echo "$ac_cs_usage"; exit ;;
|
8639 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
8640 | |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
8641 | |
ac_cs_silent=: ;;
|
8642 | |
|
8643 | |
# This is an error.
|
8644 | |
-*) { echo "$as_me: error: unrecognized option: $1
|
8645 | |
Try \`$0 --help' for more information." >&2
|
8646 | |
{ (exit 1); exit 1; }; } ;;
|
8647 | |
|
8648 | |
*) ac_config_targets="$ac_config_targets $1"
|
8649 | |
ac_need_defaults=false ;;
|
8650 | |
|
8651 | |
esac
|
8652 | |
shift
|
8653 | |
done
|
8654 | |
|
8655 | |
ac_configure_extra_args=
|
8656 | |
|
8657 | |
if $ac_cs_silent; then
|
8658 | |
exec 6>/dev/null
|
8659 | |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
8660 | |
fi
|
8661 | |
|
8662 | |
_ACEOF
|
8663 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
8664 | |
if \$ac_cs_recheck; then
|
8665 | |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
8666 | |
CONFIG_SHELL=$SHELL
|
8667 | |
export CONFIG_SHELL
|
8668 | |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
8669 | |
fi
|
8670 | |
|
8671 | |
_ACEOF
|
8672 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
8673 | |
exec 5>>config.log
|
|
5845 |
|
|
5846 |
# as_fn_mkdir_p
|
|
5847 |
# -------------
|
|
5848 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
5849 |
as_fn_mkdir_p ()
|
8674 | 5850 |
{
|
8675 | |
echo
|
8676 | |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
8677 | |
## Running $as_me. ##
|
8678 | |
_ASBOX
|
8679 | |
echo "$ac_log"
|
8680 | |
} >&5
|
8681 | |
|
8682 | |
_ACEOF
|
8683 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
8684 | |
#
|
8685 | |
# INIT-COMMANDS
|
8686 | |
#
|
8687 | |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
8688 | |
|
8689 | |
_ACEOF
|
8690 | |
|
8691 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
8692 | |
|
8693 | |
# Handling of arguments.
|
8694 | |
for ac_config_target in $ac_config_targets
|
8695 | |
do
|
8696 | |
case $ac_config_target in
|
8697 | |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
8698 | |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
8699 | |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
8700 | |
"img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
|
8701 | |
|
8702 | |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
8703 | |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
8704 | |
{ (exit 1); exit 1; }; };;
|
8705 | |
esac
|
8706 | |
done
|
8707 | |
|
8708 | |
|
8709 | |
# If the user did not use the arguments to specify the items to instantiate,
|
8710 | |
# then the envvar interface is used. Set only those that are not.
|
8711 | |
# We use the long form for the default assignment because of an extremely
|
8712 | |
# bizarre bug on SunOS 4.1.3.
|
8713 | |
if $ac_need_defaults; then
|
8714 | |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
8715 | |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
8716 | |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
8717 | |
fi
|
8718 | |
|
8719 | |
# Have a temporary directory for convenience. Make it in the build tree
|
8720 | |
# simply because there is no reason against having it here, and in addition,
|
8721 | |
# creating and moving files from /tmp can sometimes cause problems.
|
8722 | |
# Hook for its removal unless debugging.
|
8723 | |
# Note that there is a small window in which the directory will not be cleaned:
|
8724 | |
# after its creation but before its name has been assigned to `$tmp'.
|
8725 | |
$debug ||
|
8726 | |
{
|
8727 | |
tmp=
|
8728 | |
trap 'exit_status=$?
|
8729 | |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
8730 | |
' 0
|
8731 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
8732 | |
}
|
8733 | |
# Create a (secure) tmp directory for tmp files.
|
8734 | |
|
8735 | |
{
|
8736 | |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
8737 | |
test -n "$tmp" && test -d "$tmp"
|
8738 | |
} ||
|
8739 | |
{
|
8740 | |
tmp=./conf$$-$RANDOM
|
8741 | |
(umask 077 && mkdir "$tmp")
|
8742 | |
} ||
|
8743 | |
{
|
8744 | |
echo "$me: cannot create a temporary directory in ." >&2
|
8745 | |
{ (exit 1); exit 1; }
|
8746 | |
}
|
8747 | |
|
8748 | |
#
|
8749 | |
# Set up the sed scripts for CONFIG_FILES section.
|
8750 | |
#
|
8751 | |
|
8752 | |
# No need to generate the scripts if there are no CONFIG_FILES.
|
8753 | |
# This happens for instance when ./config.status config.h
|
8754 | |
if test -n "$CONFIG_FILES"; then
|
8755 | |
|
8756 | |
_ACEOF
|
8757 | |
|
8758 | |
|
8759 | |
|
8760 | |
ac_delim='%!_!# '
|
8761 | |
for ac_last_try in false false false false false :; do
|
8762 | |
cat >conf$$subs.sed <<_ACEOF
|
8763 | |
SHELL!$SHELL$ac_delim
|
8764 | |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
8765 | |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
8766 | |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
8767 | |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
8768 | |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
8769 | |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
8770 | |
exec_prefix!$exec_prefix$ac_delim
|
8771 | |
prefix!$prefix$ac_delim
|
8772 | |
program_transform_name!$program_transform_name$ac_delim
|
8773 | |
bindir!$bindir$ac_delim
|
8774 | |
sbindir!$sbindir$ac_delim
|
8775 | |
libexecdir!$libexecdir$ac_delim
|
8776 | |
datarootdir!$datarootdir$ac_delim
|
8777 | |
datadir!$datadir$ac_delim
|
8778 | |
sysconfdir!$sysconfdir$ac_delim
|
8779 | |
sharedstatedir!$sharedstatedir$ac_delim
|
8780 | |
localstatedir!$localstatedir$ac_delim
|
8781 | |
includedir!$includedir$ac_delim
|
8782 | |
oldincludedir!$oldincludedir$ac_delim
|
8783 | |
docdir!$docdir$ac_delim
|
8784 | |
infodir!$infodir$ac_delim
|
8785 | |
htmldir!$htmldir$ac_delim
|
8786 | |
dvidir!$dvidir$ac_delim
|
8787 | |
pdfdir!$pdfdir$ac_delim
|
8788 | |
psdir!$psdir$ac_delim
|
8789 | |
libdir!$libdir$ac_delim
|
8790 | |
localedir!$localedir$ac_delim
|
8791 | |
mandir!$mandir$ac_delim
|
8792 | |
DEFS!$DEFS$ac_delim
|
8793 | |
ECHO_C!$ECHO_C$ac_delim
|
8794 | |
ECHO_N!$ECHO_N$ac_delim
|
8795 | |
ECHO_T!$ECHO_T$ac_delim
|
8796 | |
LIBS!$LIBS$ac_delim
|
8797 | |
build_alias!$build_alias$ac_delim
|
8798 | |
host_alias!$host_alias$ac_delim
|
8799 | |
target_alias!$target_alias$ac_delim
|
8800 | |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
8801 | |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
8802 | |
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
8803 | |
CYGPATH_W!$CYGPATH_W$ac_delim
|
8804 | |
PACKAGE!$PACKAGE$ac_delim
|
8805 | |
VERSION!$VERSION$ac_delim
|
8806 | |
ACLOCAL!$ACLOCAL$ac_delim
|
8807 | |
AUTOCONF!$AUTOCONF$ac_delim
|
8808 | |
AUTOMAKE!$AUTOMAKE$ac_delim
|
8809 | |
AUTOHEADER!$AUTOHEADER$ac_delim
|
8810 | |
MAKEINFO!$MAKEINFO$ac_delim
|
8811 | |
install_sh!$install_sh$ac_delim
|
8812 | |
STRIP!$STRIP$ac_delim
|
8813 | |
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
|
8814 | |
mkdir_p!$mkdir_p$ac_delim
|
8815 | |
AWK!$AWK$ac_delim
|
8816 | |
SET_MAKE!$SET_MAKE$ac_delim
|
8817 | |
am__leading_dot!$am__leading_dot$ac_delim
|
8818 | |
AMTAR!$AMTAR$ac_delim
|
8819 | |
am__tar!$am__tar$ac_delim
|
8820 | |
am__untar!$am__untar$ac_delim
|
8821 | |
GTK_OBJ!$GTK_OBJ$ac_delim
|
8822 | |
CURSES_OBJ!$CURSES_OBJ$ac_delim
|
8823 | |
CC!$CC$ac_delim
|
8824 | |
CFLAGS!$CFLAGS$ac_delim
|
8825 | |
LDFLAGS!$LDFLAGS$ac_delim
|
8826 | |
CPPFLAGS!$CPPFLAGS$ac_delim
|
8827 | |
ac_ct_CC!$ac_ct_CC$ac_delim
|
8828 | |
EXEEXT!$EXEEXT$ac_delim
|
8829 | |
OBJEXT!$OBJEXT$ac_delim
|
8830 | |
DEPDIR!$DEPDIR$ac_delim
|
8831 | |
am__include!$am__include$ac_delim
|
8832 | |
am__quote!$am__quote$ac_delim
|
8833 | |
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
|
8834 | |
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
|
8835 | |
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
|
8836 | |
CCDEPMODE!$CCDEPMODE$ac_delim
|
8837 | |
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
|
8838 | |
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
|
8839 | |
CPP!$CPP$ac_delim
|
8840 | |
GREP!$GREP$ac_delim
|
8841 | |
EGREP!$EGREP$ac_delim
|
8842 | |
PKG_CONFIG!$PKG_CONFIG$ac_delim
|
8843 | |
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
|
8844 | |
GTK_LIBS!$GTK_LIBS$ac_delim
|
8845 | |
LIBOBJS!$LIBOBJS$ac_delim
|
8846 | |
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
8847 | |
_ACEOF
|
8848 | |
|
8849 | |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
|
8850 | |
break
|
8851 | |
elif $ac_last_try; then
|
8852 | |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
8853 | |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
8854 | |
{ (exit 1); exit 1; }; }
|
8855 | |
else
|
8856 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
8857 | |
fi
|
8858 | |
done
|
8859 | |
|
8860 | |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
8861 | |
if test -n "$ac_eof"; then
|
8862 | |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
8863 | |
ac_eof=`expr $ac_eof + 1`
|
8864 | |
fi
|
8865 | |
|
8866 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
8867 | |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
8868 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
8869 | |
_ACEOF
|
8870 | |
sed '
|
8871 | |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
8872 | |
s/^/s,@/; s/!/@,|#_!!_#|/
|
8873 | |
:n
|
8874 | |
t n
|
8875 | |
s/'"$ac_delim"'$/,g/; t
|
8876 | |
s/$/\\/; p
|
8877 | |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
8878 | |
' >>$CONFIG_STATUS <conf$$subs.sed
|
8879 | |
rm -f conf$$subs.sed
|
8880 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
8881 | |
:end
|
8882 | |
s/|#_!!_#|//g
|
8883 | |
CEOF$ac_eof
|
8884 | |
_ACEOF
|
8885 | |
|
8886 | |
|
8887 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
8888 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
8889 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
8890 | |
# (actually we leave an empty line to preserve line numbers).
|
8891 | |
if test "x$srcdir" = x.; then
|
8892 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
8893 | |
s/:*\$(srcdir):*/:/
|
8894 | |
s/:*\${srcdir}:*/:/
|
8895 | |
s/:*@srcdir@:*/:/
|
8896 | |
s/^\([^=]*=[ ]*\):*/\1/
|
8897 | |
s/:*$//
|
8898 | |
s/^[^=]*=[ ]*$//
|
8899 | |
}'
|
8900 | |
fi
|
8901 | |
|
8902 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
8903 | |
fi # test -n "$CONFIG_FILES"
|
8904 | |
|
8905 | |
|
8906 | |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
|
8907 | |
do
|
8908 | |
case $ac_tag in
|
8909 | |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
8910 | |
esac
|
8911 | |
case $ac_mode$ac_tag in
|
8912 | |
:[FHL]*:*);;
|
8913 | |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
8914 | |
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
8915 | |
{ (exit 1); exit 1; }; };;
|
8916 | |
:[FH]-) ac_tag=-:-;;
|
8917 | |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
8918 | |
esac
|
8919 | |
ac_save_IFS=$IFS
|
8920 | |
IFS=:
|
8921 | |
set x $ac_tag
|
8922 | |
IFS=$ac_save_IFS
|
8923 | |
shift
|
8924 | |
ac_file=$1
|
8925 | |
shift
|
8926 | |
|
8927 | |
case $ac_mode in
|
8928 | |
:L) ac_source=$1;;
|
8929 | |
:[FH])
|
8930 | |
ac_file_inputs=
|
8931 | |
for ac_f
|
8932 | |
do
|
8933 | |
case $ac_f in
|
8934 | |
-) ac_f="$tmp/stdin";;
|
8935 | |
*) # Look for the file first in the build tree, then in the source tree
|
8936 | |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
8937 | |
# because $ac_f cannot contain `:'.
|
8938 | |
test -f "$ac_f" ||
|
8939 | |
case $ac_f in
|
8940 | |
[\\/$]*) false;;
|
8941 | |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
8942 | |
esac ||
|
8943 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
8944 | |
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
8945 | |
{ (exit 1); exit 1; }; };;
|
8946 | |
esac
|
8947 | |
ac_file_inputs="$ac_file_inputs $ac_f"
|
8948 | |
done
|
8949 | |
|
8950 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
8951 | |
# use $as_me), people would be surprised to read:
|
8952 | |
# /* config.h. Generated by config.status. */
|
8953 | |
configure_input="Generated from "`IFS=:
|
8954 | |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
8955 | |
if test x"$ac_file" != x-; then
|
8956 | |
configure_input="$ac_file. $configure_input"
|
8957 | |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
8958 | |
echo "$as_me: creating $ac_file" >&6;}
|
8959 | |
fi
|
8960 | |
|
8961 | |
case $ac_tag in
|
8962 | |
*:-:* | *:-) cat >"$tmp/stdin";;
|
8963 | |
esac
|
8964 | |
;;
|
8965 | |
esac
|
8966 | |
|
8967 | |
ac_dir=`$as_dirname -- "$ac_file" ||
|
8968 | |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
8969 | |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
8970 | |
X"$ac_file" : 'X\(//\)$' \| \
|
8971 | |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
8972 | |
echo X"$ac_file" |
|
8973 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
8974 | |
s//\1/
|
8975 | |
q
|
8976 | |
}
|
8977 | |
/^X\(\/\/\)[^/].*/{
|
8978 | |
s//\1/
|
8979 | |
q
|
8980 | |
}
|
8981 | |
/^X\(\/\/\)$/{
|
8982 | |
s//\1/
|
8983 | |
q
|
8984 | |
}
|
8985 | |
/^X\(\/\).*/{
|
8986 | |
s//\1/
|
8987 | |
q
|
8988 | |
}
|
8989 | |
s/.*/./; q'`
|
8990 | |
{ as_dir="$ac_dir"
|
|
5851 |
|
8991 | 5852 |
case $as_dir in #(
|
8992 | 5853 |
-*) as_dir=./$as_dir;;
|
8993 | 5854 |
esac
|
8994 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
5855 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
8995 | 5856 |
as_dirs=
|
8996 | 5857 |
while :; do
|
8997 | 5858 |
case $as_dir in #(
|
8998 | |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
|
5859 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
8999 | 5860 |
*) as_qdir=$as_dir;;
|
9000 | 5861 |
esac
|
9001 | 5862 |
as_dirs="'$as_qdir' $as_dirs"
|
|
9004 | 5865 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
9005 | 5866 |
X"$as_dir" : 'X\(//\)$' \| \
|
9006 | 5867 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
9007 | |
echo X"$as_dir" |
|
|
5868 |
$as_echo X"$as_dir" |
|
9008 | 5869 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9009 | 5870 |
s//\1/
|
9010 | 5871 |
q
|
|
9025 | 5886 |
test -d "$as_dir" && break
|
9026 | 5887 |
done
|
9027 | 5888 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
9028 | |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
9029 | |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
9030 | |
{ (exit 1); exit 1; }; }; }
|
|
5889 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
5890 |
|
|
5891 |
|
|
5892 |
} # as_fn_mkdir_p
|
|
5893 |
if mkdir -p . 2>/dev/null; then
|
|
5894 |
as_mkdir_p='mkdir -p "$as_dir"'
|
|
5895 |
else
|
|
5896 |
test -d ./-p && rmdir ./-p
|
|
5897 |
as_mkdir_p=false
|
|
5898 |
fi
|
|
5899 |
|
|
5900 |
if test -x / >/dev/null 2>&1; then
|
|
5901 |
as_test_x='test -x'
|
|
5902 |
else
|
|
5903 |
if ls -dL / >/dev/null 2>&1; then
|
|
5904 |
as_ls_L_option=L
|
|
5905 |
else
|
|
5906 |
as_ls_L_option=
|
|
5907 |
fi
|
|
5908 |
as_test_x='
|
|
5909 |
eval sh -c '\''
|
|
5910 |
if test -d "$1"; then
|
|
5911 |
test -d "$1/.";
|
|
5912 |
else
|
|
5913 |
case $1 in #(
|
|
5914 |
-*)set "./$1";;
|
|
5915 |
esac;
|
|
5916 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|
5917 |
???[sx]*):;;*)false;;esac;fi
|
|
5918 |
'\'' sh
|
|
5919 |
'
|
|
5920 |
fi
|
|
5921 |
as_executable_p=$as_test_x
|
|
5922 |
|
|
5923 |
# Sed expression to map a string onto a valid CPP name.
|
|
5924 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
5925 |
|
|
5926 |
# Sed expression to map a string onto a valid variable name.
|
|
5927 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
5928 |
|
|
5929 |
|
|
5930 |
exec 6>&1
|
|
5931 |
## ----------------------------------- ##
|
|
5932 |
## Main body of $CONFIG_STATUS script. ##
|
|
5933 |
## ----------------------------------- ##
|
|
5934 |
_ASEOF
|
|
5935 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
5936 |
|
|
5937 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
5938 |
# Save the log message, to keep $0 and so on meaningful, and to
|
|
5939 |
# report actual input values of CONFIG_FILES etc. instead of their
|
|
5940 |
# values after options handling.
|
|
5941 |
ac_log="
|
|
5942 |
This file was extended by $as_me, which was
|
|
5943 |
generated by GNU Autoconf 2.65. Invocation command line was
|
|
5944 |
|
|
5945 |
CONFIG_FILES = $CONFIG_FILES
|
|
5946 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
5947 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
5948 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
5949 |
$ $0 $@
|
|
5950 |
|
|
5951 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
5952 |
"
|
|
5953 |
|
|
5954 |
_ACEOF
|
|
5955 |
|
|
5956 |
case $ac_config_files in *"
|
|
5957 |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
5958 |
esac
|
|
5959 |
|
|
5960 |
case $ac_config_headers in *"
|
|
5961 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
|
5962 |
esac
|
|
5963 |
|
|
5964 |
|
|
5965 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
5966 |
# Files that config.status was made for.
|
|
5967 |
config_files="$ac_config_files"
|
|
5968 |
config_headers="$ac_config_headers"
|
|
5969 |
config_commands="$ac_config_commands"
|
|
5970 |
|
|
5971 |
_ACEOF
|
|
5972 |
|
|
5973 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
5974 |
ac_cs_usage="\
|
|
5975 |
\`$as_me' instantiates files and other configuration actions
|
|
5976 |
from templates according to the current configuration. Unless the files
|
|
5977 |
and actions are specified as TAGs, all are instantiated by default.
|
|
5978 |
|
|
5979 |
Usage: $0 [OPTION]... [TAG]...
|
|
5980 |
|
|
5981 |
-h, --help print this help, then exit
|
|
5982 |
-V, --version print version number and configuration settings, then exit
|
|
5983 |
--config print configuration, then exit
|
|
5984 |
-q, --quiet, --silent
|
|
5985 |
do not print progress messages
|
|
5986 |
-d, --debug don't remove temporary files
|
|
5987 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
5988 |
--file=FILE[:TEMPLATE]
|
|
5989 |
instantiate the configuration file FILE
|
|
5990 |
--header=FILE[:TEMPLATE]
|
|
5991 |
instantiate the configuration header FILE
|
|
5992 |
|
|
5993 |
Configuration files:
|
|
5994 |
$config_files
|
|
5995 |
|
|
5996 |
Configuration headers:
|
|
5997 |
$config_headers
|
|
5998 |
|
|
5999 |
Configuration commands:
|
|
6000 |
$config_commands
|
|
6001 |
|
|
6002 |
Report bugs to the package provider."
|
|
6003 |
|
|
6004 |
_ACEOF
|
|
6005 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6006 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
6007 |
ac_cs_version="\\
|
|
6008 |
config.status
|
|
6009 |
configured by $0, generated by GNU Autoconf 2.65,
|
|
6010 |
with options \\"\$ac_cs_config\\"
|
|
6011 |
|
|
6012 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
|
6013 |
This config.status script is free software; the Free Software Foundation
|
|
6014 |
gives unlimited permission to copy, distribute and modify it."
|
|
6015 |
|
|
6016 |
ac_pwd='$ac_pwd'
|
|
6017 |
srcdir='$srcdir'
|
|
6018 |
INSTALL='$INSTALL'
|
|
6019 |
MKDIR_P='$MKDIR_P'
|
|
6020 |
AWK='$AWK'
|
|
6021 |
test -n "\$AWK" || AWK=awk
|
|
6022 |
_ACEOF
|
|
6023 |
|
|
6024 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6025 |
# The default lists apply if the user does not specify any file.
|
|
6026 |
ac_need_defaults=:
|
|
6027 |
while test $# != 0
|
|
6028 |
do
|
|
6029 |
case $1 in
|
|
6030 |
--*=*)
|
|
6031 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
6032 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
6033 |
ac_shift=:
|
|
6034 |
;;
|
|
6035 |
*)
|
|
6036 |
ac_option=$1
|
|
6037 |
ac_optarg=$2
|
|
6038 |
ac_shift=shift
|
|
6039 |
;;
|
|
6040 |
esac
|
|
6041 |
|
|
6042 |
case $ac_option in
|
|
6043 |
# Handling of the options.
|
|
6044 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
6045 |
ac_cs_recheck=: ;;
|
|
6046 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
6047 |
$as_echo "$ac_cs_version"; exit ;;
|
|
6048 |
--config | --confi | --conf | --con | --co | --c )
|
|
6049 |
$as_echo "$ac_cs_config"; exit ;;
|
|
6050 |
--debug | --debu | --deb | --de | --d | -d )
|
|
6051 |
debug=: ;;
|
|
6052 |
--file | --fil | --fi | --f )
|
|
6053 |
$ac_shift
|
|
6054 |
case $ac_optarg in
|
|
6055 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
6056 |
esac
|
|
6057 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
6058 |
ac_need_defaults=false;;
|
|
6059 |
--header | --heade | --head | --hea )
|
|
6060 |
$ac_shift
|
|
6061 |
case $ac_optarg in
|
|
6062 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
6063 |
esac
|
|
6064 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
|
6065 |
ac_need_defaults=false;;
|
|
6066 |
--he | --h)
|
|
6067 |
# Conflict between --help and --header
|
|
6068 |
as_fn_error "ambiguous option: \`$1'
|
|
6069 |
Try \`$0 --help' for more information.";;
|
|
6070 |
--help | --hel | -h )
|
|
6071 |
$as_echo "$ac_cs_usage"; exit ;;
|
|
6072 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
6073 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
6074 |
ac_cs_silent=: ;;
|
|
6075 |
|
|
6076 |
# This is an error.
|
|
6077 |
-*) as_fn_error "unrecognized option: \`$1'
|
|
6078 |
Try \`$0 --help' for more information." ;;
|
|
6079 |
|
|
6080 |
*) as_fn_append ac_config_targets " $1"
|
|
6081 |
ac_need_defaults=false ;;
|
|
6082 |
|
|
6083 |
esac
|
|
6084 |
shift
|
|
6085 |
done
|
|
6086 |
|
|
6087 |
ac_configure_extra_args=
|
|
6088 |
|
|
6089 |
if $ac_cs_silent; then
|
|
6090 |
exec 6>/dev/null
|
|
6091 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
6092 |
fi
|
|
6093 |
|
|
6094 |
_ACEOF
|
|
6095 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6096 |
if \$ac_cs_recheck; then
|
|
6097 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
6098 |
shift
|
|
6099 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
6100 |
CONFIG_SHELL='$SHELL'
|
|
6101 |
export CONFIG_SHELL
|
|
6102 |
exec "\$@"
|
|
6103 |
fi
|
|
6104 |
|
|
6105 |
_ACEOF
|
|
6106 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6107 |
exec 5>>config.log
|
|
6108 |
{
|
|
6109 |
echo
|
|
6110 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
6111 |
## Running $as_me. ##
|
|
6112 |
_ASBOX
|
|
6113 |
$as_echo "$ac_log"
|
|
6114 |
} >&5
|
|
6115 |
|
|
6116 |
_ACEOF
|
|
6117 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6118 |
#
|
|
6119 |
# INIT-COMMANDS
|
|
6120 |
#
|
|
6121 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
6122 |
|
|
6123 |
_ACEOF
|
|
6124 |
|
|
6125 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6126 |
|
|
6127 |
# Handling of arguments.
|
|
6128 |
for ac_config_target in $ac_config_targets
|
|
6129 |
do
|
|
6130 |
case $ac_config_target in
|
|
6131 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
6132 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
6133 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
6134 |
"img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
|
|
6135 |
|
|
6136 |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
6137 |
esac
|
|
6138 |
done
|
|
6139 |
|
|
6140 |
|
|
6141 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
6142 |
# then the envvar interface is used. Set only those that are not.
|
|
6143 |
# We use the long form for the default assignment because of an extremely
|
|
6144 |
# bizarre bug on SunOS 4.1.3.
|
|
6145 |
if $ac_need_defaults; then
|
|
6146 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
6147 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
6148 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
6149 |
fi
|
|
6150 |
|
|
6151 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
6152 |
# simply because there is no reason against having it here, and in addition,
|
|
6153 |
# creating and moving files from /tmp can sometimes cause problems.
|
|
6154 |
# Hook for its removal unless debugging.
|
|
6155 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
6156 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
6157 |
$debug ||
|
|
6158 |
{
|
|
6159 |
tmp=
|
|
6160 |
trap 'exit_status=$?
|
|
6161 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
6162 |
' 0
|
|
6163 |
trap 'as_fn_exit 1' 1 2 13 15
|
|
6164 |
}
|
|
6165 |
# Create a (secure) tmp directory for tmp files.
|
|
6166 |
|
|
6167 |
{
|
|
6168 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
6169 |
test -n "$tmp" && test -d "$tmp"
|
|
6170 |
} ||
|
|
6171 |
{
|
|
6172 |
tmp=./conf$$-$RANDOM
|
|
6173 |
(umask 077 && mkdir "$tmp")
|
|
6174 |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
|
6175 |
|
|
6176 |
# Set up the scripts for CONFIG_FILES section.
|
|
6177 |
# No need to generate them if there are no CONFIG_FILES.
|
|
6178 |
# This happens for instance with `./config.status config.h'.
|
|
6179 |
if test -n "$CONFIG_FILES"; then
|
|
6180 |
|
|
6181 |
|
|
6182 |
ac_cr=`echo X | tr X '\015'`
|
|
6183 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
6184 |
# But we know of no other shell where ac_cr would be empty at this
|
|
6185 |
# point, so we can use a bashism as a fallback.
|
|
6186 |
if test "x$ac_cr" = x; then
|
|
6187 |
eval ac_cr=\$\'\\r\'
|
|
6188 |
fi
|
|
6189 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
6190 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
6191 |
ac_cs_awk_cr='\r'
|
|
6192 |
else
|
|
6193 |
ac_cs_awk_cr=$ac_cr
|
|
6194 |
fi
|
|
6195 |
|
|
6196 |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
|
6197 |
_ACEOF
|
|
6198 |
|
|
6199 |
|
|
6200 |
{
|
|
6201 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
|
6202 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
|
6203 |
echo "_ACEOF"
|
|
6204 |
} >conf$$subs.sh ||
|
|
6205 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
6206 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
|
6207 |
ac_delim='%!_!# '
|
|
6208 |
for ac_last_try in false false false false false :; do
|
|
6209 |
. ./conf$$subs.sh ||
|
|
6210 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
6211 |
|
|
6212 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|
6213 |
if test $ac_delim_n = $ac_delim_num; then
|
|
6214 |
break
|
|
6215 |
elif $ac_last_try; then
|
|
6216 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
6217 |
else
|
|
6218 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
6219 |
fi
|
|
6220 |
done
|
|
6221 |
rm -f conf$$subs.sh
|
|
6222 |
|
|
6223 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6224 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
|
6225 |
_ACEOF
|
|
6226 |
sed -n '
|
|
6227 |
h
|
|
6228 |
s/^/S["/; s/!.*/"]=/
|
|
6229 |
p
|
|
6230 |
g
|
|
6231 |
s/^[^!]*!//
|
|
6232 |
:repl
|
|
6233 |
t repl
|
|
6234 |
s/'"$ac_delim"'$//
|
|
6235 |
t delim
|
|
6236 |
:nl
|
|
6237 |
h
|
|
6238 |
s/\(.\{148\}\)..*/\1/
|
|
6239 |
t more1
|
|
6240 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
6241 |
p
|
|
6242 |
n
|
|
6243 |
b repl
|
|
6244 |
:more1
|
|
6245 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
6246 |
p
|
|
6247 |
g
|
|
6248 |
s/.\{148\}//
|
|
6249 |
t nl
|
|
6250 |
:delim
|
|
6251 |
h
|
|
6252 |
s/\(.\{148\}\)..*/\1/
|
|
6253 |
t more2
|
|
6254 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
6255 |
p
|
|
6256 |
b
|
|
6257 |
:more2
|
|
6258 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
6259 |
p
|
|
6260 |
g
|
|
6261 |
s/.\{148\}//
|
|
6262 |
t delim
|
|
6263 |
' <conf$$subs.awk | sed '
|
|
6264 |
/^[^""]/{
|
|
6265 |
N
|
|
6266 |
s/\n//
|
|
6267 |
}
|
|
6268 |
' >>$CONFIG_STATUS || ac_write_fail=1
|
|
6269 |
rm -f conf$$subs.awk
|
|
6270 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6271 |
_ACAWK
|
|
6272 |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
|
6273 |
for (key in S) S_is_set[key] = 1
|
|
6274 |
FS = ""
|
|
6275 |
|
|
6276 |
}
|
|
6277 |
{
|
|
6278 |
line = $ 0
|
|
6279 |
nfields = split(line, field, "@")
|
|
6280 |
substed = 0
|
|
6281 |
len = length(field[1])
|
|
6282 |
for (i = 2; i < nfields; i++) {
|
|
6283 |
key = field[i]
|
|
6284 |
keylen = length(key)
|
|
6285 |
if (S_is_set[key]) {
|
|
6286 |
value = S[key]
|
|
6287 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
6288 |
len += length(value) + length(field[++i])
|
|
6289 |
substed = 1
|
|
6290 |
} else
|
|
6291 |
len += 1 + keylen
|
|
6292 |
}
|
|
6293 |
|
|
6294 |
print line
|
|
6295 |
}
|
|
6296 |
|
|
6297 |
_ACAWK
|
|
6298 |
_ACEOF
|
|
6299 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6300 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
6301 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
6302 |
else
|
|
6303 |
cat
|
|
6304 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
|
6305 |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
|
6306 |
_ACEOF
|
|
6307 |
|
|
6308 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
6309 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
6310 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
6311 |
# (actually we leave an empty line to preserve line numbers).
|
|
6312 |
if test "x$srcdir" = x.; then
|
|
6313 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
6314 |
s/:*\$(srcdir):*/:/
|
|
6315 |
s/:*\${srcdir}:*/:/
|
|
6316 |
s/:*@srcdir@:*/:/
|
|
6317 |
s/^\([^=]*=[ ]*\):*/\1/
|
|
6318 |
s/:*$//
|
|
6319 |
s/^[^=]*=[ ]*$//
|
|
6320 |
}'
|
|
6321 |
fi
|
|
6322 |
|
|
6323 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6324 |
fi # test -n "$CONFIG_FILES"
|
|
6325 |
|
|
6326 |
# Set up the scripts for CONFIG_HEADERS section.
|
|
6327 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
6328 |
# This happens for instance with `./config.status Makefile'.
|
|
6329 |
if test -n "$CONFIG_HEADERS"; then
|
|
6330 |
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
|
6331 |
BEGIN {
|
|
6332 |
_ACEOF
|
|
6333 |
|
|
6334 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
6335 |
# here-document in config.status, that substitutes the proper values into
|
|
6336 |
# config.h.in to produce config.h.
|
|
6337 |
|
|
6338 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
6339 |
# handling of long lines.
|
|
6340 |
ac_delim='%!_!# '
|
|
6341 |
for ac_last_try in false false :; do
|
|
6342 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
|
6343 |
if test -z "$ac_t"; then
|
|
6344 |
break
|
|
6345 |
elif $ac_last_try; then
|
|
6346 |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
|
6347 |
else
|
|
6348 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
6349 |
fi
|
|
6350 |
done
|
|
6351 |
|
|
6352 |
# For the awk script, D is an array of macro values keyed by name,
|
|
6353 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
6354 |
# newline sequences.
|
|
6355 |
|
|
6356 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
6357 |
sed -n '
|
|
6358 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
6359 |
t rset
|
|
6360 |
:rset
|
|
6361 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
6362 |
t def
|
|
6363 |
d
|
|
6364 |
:def
|
|
6365 |
s/\\$//
|
|
6366 |
t bsnl
|
|
6367 |
s/["\\]/\\&/g
|
|
6368 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
6369 |
D["\1"]=" \3"/p
|
|
6370 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
|
6371 |
d
|
|
6372 |
:bsnl
|
|
6373 |
s/["\\]/\\&/g
|
|
6374 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
6375 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
6376 |
t cont
|
|
6377 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
|
6378 |
t cont
|
|
6379 |
d
|
|
6380 |
:cont
|
|
6381 |
n
|
|
6382 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
6383 |
t clear
|
|
6384 |
:clear
|
|
6385 |
s/\\$//
|
|
6386 |
t bsnlc
|
|
6387 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
6388 |
d
|
|
6389 |
:bsnlc
|
|
6390 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
6391 |
b cont
|
|
6392 |
' <confdefs.h | sed '
|
|
6393 |
s/'"$ac_delim"'/"\\\
|
|
6394 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
|
6395 |
|
|
6396 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6397 |
for (key in D) D_is_set[key] = 1
|
|
6398 |
FS = ""
|
|
6399 |
}
|
|
6400 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
6401 |
line = \$ 0
|
|
6402 |
split(line, arg, " ")
|
|
6403 |
if (arg[1] == "#") {
|
|
6404 |
defundef = arg[2]
|
|
6405 |
mac1 = arg[3]
|
|
6406 |
} else {
|
|
6407 |
defundef = substr(arg[1], 2)
|
|
6408 |
mac1 = arg[2]
|
|
6409 |
}
|
|
6410 |
split(mac1, mac2, "(") #)
|
|
6411 |
macro = mac2[1]
|
|
6412 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
6413 |
if (D_is_set[macro]) {
|
|
6414 |
# Preserve the white space surrounding the "#".
|
|
6415 |
print prefix "define", macro P[macro] D[macro]
|
|
6416 |
next
|
|
6417 |
} else {
|
|
6418 |
# Replace #undef with comments. This is necessary, for example,
|
|
6419 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
6420 |
# on some systems where configure will not decide to define it.
|
|
6421 |
if (defundef == "undef") {
|
|
6422 |
print "/*", prefix defundef, macro, "*/"
|
|
6423 |
next
|
|
6424 |
}
|
|
6425 |
}
|
|
6426 |
}
|
|
6427 |
{ print }
|
|
6428 |
_ACAWK
|
|
6429 |
_ACEOF
|
|
6430 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6431 |
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
|
6432 |
fi # test -n "$CONFIG_HEADERS"
|
|
6433 |
|
|
6434 |
|
|
6435 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
6436 |
shift
|
|
6437 |
for ac_tag
|
|
6438 |
do
|
|
6439 |
case $ac_tag in
|
|
6440 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
6441 |
esac
|
|
6442 |
case $ac_mode$ac_tag in
|
|
6443 |
:[FHL]*:*);;
|
|
6444 |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
|
6445 |
:[FH]-) ac_tag=-:-;;
|
|
6446 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
6447 |
esac
|
|
6448 |
ac_save_IFS=$IFS
|
|
6449 |
IFS=:
|
|
6450 |
set x $ac_tag
|
|
6451 |
IFS=$ac_save_IFS
|
|
6452 |
shift
|
|
6453 |
ac_file=$1
|
|
6454 |
shift
|
|
6455 |
|
|
6456 |
case $ac_mode in
|
|
6457 |
:L) ac_source=$1;;
|
|
6458 |
:[FH])
|
|
6459 |
ac_file_inputs=
|
|
6460 |
for ac_f
|
|
6461 |
do
|
|
6462 |
case $ac_f in
|
|
6463 |
-) ac_f="$tmp/stdin";;
|
|
6464 |
*) # Look for the file first in the build tree, then in the source tree
|
|
6465 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
6466 |
# because $ac_f cannot contain `:'.
|
|
6467 |
test -f "$ac_f" ||
|
|
6468 |
case $ac_f in
|
|
6469 |
[\\/$]*) false;;
|
|
6470 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
6471 |
esac ||
|
|
6472 |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
|
6473 |
esac
|
|
6474 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
6475 |
as_fn_append ac_file_inputs " '$ac_f'"
|
|
6476 |
done
|
|
6477 |
|
|
6478 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
6479 |
# use $as_me), people would be surprised to read:
|
|
6480 |
# /* config.h. Generated by config.status. */
|
|
6481 |
configure_input='Generated from '`
|
|
6482 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
6483 |
`' by configure.'
|
|
6484 |
if test x"$ac_file" != x-; then
|
|
6485 |
configure_input="$ac_file. $configure_input"
|
|
6486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
6487 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
|
6488 |
fi
|
|
6489 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
6490 |
case $configure_input in #(
|
|
6491 |
*\&* | *\|* | *\\* )
|
|
6492 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
6493 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
6494 |
*) ac_sed_conf_input=$configure_input;;
|
|
6495 |
esac
|
|
6496 |
|
|
6497 |
case $ac_tag in
|
|
6498 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
|
6499 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
|
6500 |
esac
|
|
6501 |
;;
|
|
6502 |
esac
|
|
6503 |
|
|
6504 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
6505 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
6506 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
6507 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
6508 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
6509 |
$as_echo X"$ac_file" |
|
|
6510 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
6511 |
s//\1/
|
|
6512 |
q
|
|
6513 |
}
|
|
6514 |
/^X\(\/\/\)[^/].*/{
|
|
6515 |
s//\1/
|
|
6516 |
q
|
|
6517 |
}
|
|
6518 |
/^X\(\/\/\)$/{
|
|
6519 |
s//\1/
|
|
6520 |
q
|
|
6521 |
}
|
|
6522 |
/^X\(\/\).*/{
|
|
6523 |
s//\1/
|
|
6524 |
q
|
|
6525 |
}
|
|
6526 |
s/.*/./; q'`
|
|
6527 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
9031 | 6528 |
ac_builddir=.
|
9032 | 6529 |
|
9033 | 6530 |
case "$ac_dir" in
|
9034 | 6531 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
9035 | 6532 |
*)
|
9036 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
6533 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
9037 | 6534 |
# A ".." for each directory in $ac_dir_suffix.
|
9038 | |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
6535 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
9039 | 6536 |
case $ac_top_builddir_sub in
|
9040 | 6537 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
9041 | 6538 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
9073 | 6570 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
9074 | 6571 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
9075 | 6572 |
esac
|
9076 | |
_ACEOF
|
9077 | |
|
9078 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6573 |
ac_MKDIR_P=$MKDIR_P
|
|
6574 |
case $MKDIR_P in
|
|
6575 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
6576 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
6577 |
esac
|
|
6578 |
_ACEOF
|
|
6579 |
|
|
6580 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
9079 | 6581 |
# If the template does not know about datarootdir, expand it.
|
9080 | 6582 |
# FIXME: This hack should be removed a few years after 2.60.
|
9081 | 6583 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
9082 | |
|
9083 | |
case `sed -n '/datarootdir/ {
|
|
6584 |
ac_sed_dataroot='
|
|
6585 |
/datarootdir/ {
|
9084 | 6586 |
p
|
9085 | 6587 |
q
|
9086 | 6588 |
}
|
|
9088 | 6590 |
/@docdir@/p
|
9089 | 6591 |
/@infodir@/p
|
9090 | 6592 |
/@localedir@/p
|
9091 | |
/@mandir@/p
|
9092 | |
' $ac_file_inputs` in
|
|
6593 |
/@mandir@/p'
|
|
6594 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
9093 | 6595 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
9094 | 6596 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
9095 | |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
9096 | |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
9097 | |
_ACEOF
|
9098 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6597 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
6598 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
6599 |
_ACEOF
|
|
6600 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
9099 | 6601 |
ac_datarootdir_hack='
|
9100 | 6602 |
s&@datadir@&$datadir&g
|
9101 | 6603 |
s&@docdir@&$docdir&g
|
9102 | 6604 |
s&@infodir@&$infodir&g
|
9103 | 6605 |
s&@localedir@&$localedir&g
|
9104 | 6606 |
s&@mandir@&$mandir&g
|
9105 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
6607 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
9106 | 6608 |
esac
|
9107 | 6609 |
_ACEOF
|
9108 | 6610 |
|
9109 | 6611 |
# Neutralize VPATH when `$srcdir' = `.'.
|
9110 | 6612 |
# Shell code in configure.ac might set extrasub.
|
9111 | 6613 |
# FIXME: do we really want to maintain this feature?
|
9112 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
9113 | |
sed "$ac_vpsub
|
|
6614 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6615 |
ac_sed_extra="$ac_vpsub
|
9114 | 6616 |
$extrasub
|
9115 | 6617 |
_ACEOF
|
9116 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6618 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
9117 | 6619 |
:t
|
9118 | 6620 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
9119 | |
s&@configure_input@&$configure_input&;t t
|
|
6621 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
9120 | 6622 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
6623 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
9121 | 6624 |
s&@srcdir@&$ac_srcdir&;t t
|
9122 | 6625 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
9123 | 6626 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
9126 | 6629 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
9127 | 6630 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
9128 | 6631 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
6632 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
9129 | 6633 |
$ac_datarootdir_hack
|
9130 | |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
|
6634 |
"
|
|
6635 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
|
6636 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
9131 | 6637 |
|
9132 | 6638 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
9133 | 6639 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
9134 | 6640 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
9135 | |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
6641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
9136 | 6642 |
which seems to be undefined. Please make sure it is defined." >&5
|
9137 | |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
6643 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
9138 | 6644 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
9139 | 6645 |
|
9140 | 6646 |
rm -f "$tmp/stdin"
|
9141 | 6647 |
case $ac_file in
|
9142 | |
-) cat "$tmp/out"; rm -f "$tmp/out";;
|
9143 | |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
9144 | |
esac
|
|
6648 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
|
6649 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
|
6650 |
esac \
|
|
6651 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
9145 | 6652 |
;;
|
9146 | 6653 |
:H)
|
9147 | 6654 |
#
|
9148 | 6655 |
# CONFIG_HEADER
|
9149 | 6656 |
#
|
9150 | |
_ACEOF
|
9151 | |
|
9152 | |
# Transform confdefs.h into a sed script `conftest.defines', that
|
9153 | |
# substitutes the proper values into config.h.in to produce config.h.
|
9154 | |
rm -f conftest.defines conftest.tail
|
9155 | |
# First, append a space to every undef/define line, to ease matching.
|
9156 | |
echo 's/$/ /' >conftest.defines
|
9157 | |
# Then, protect against being on the right side of a sed subst, or in
|
9158 | |
# an unquoted here document, in config.status. If some macros were
|
9159 | |
# called several times there might be several #defines for the same
|
9160 | |
# symbol, which is useless. But do not sort them, since the last
|
9161 | |
# AC_DEFINE must be honored.
|
9162 | |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
9163 | |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
9164 | |
# NAME is the cpp macro being defined, VALUE is the value it is being given.
|
9165 | |
# PARAMS is the parameter list in the macro definition--in most cases, it's
|
9166 | |
# just an empty string.
|
9167 | |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
9168 | |
ac_dB='\\)[ (].*,\\1define\\2'
|
9169 | |
ac_dC=' '
|
9170 | |
ac_dD=' ,'
|
9171 | |
|
9172 | |
uniq confdefs.h |
|
9173 | |
sed -n '
|
9174 | |
t rset
|
9175 | |
:rset
|
9176 | |
s/^[ ]*#[ ]*define[ ][ ]*//
|
9177 | |
t ok
|
9178 | |
d
|
9179 | |
:ok
|
9180 | |
s/[\\&,]/\\&/g
|
9181 | |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
9182 | |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
9183 | |
' >>conftest.defines
|
9184 | |
|
9185 | |
# Remove the space that was appended to ease matching.
|
9186 | |
# Then replace #undef with comments. This is necessary, for
|
9187 | |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
9188 | |
# on some systems where configure will not decide to define it.
|
9189 | |
# (The regexp can be short, since the line contains either #define or #undef.)
|
9190 | |
echo 's/ $//
|
9191 | |
s,^[ #]*u.*,/* & */,' >>conftest.defines
|
9192 | |
|
9193 | |
# Break up conftest.defines:
|
9194 | |
ac_max_sed_lines=50
|
9195 | |
|
9196 | |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
9197 | |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
9198 | |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
9199 | |
# et cetera.
|
9200 | |
ac_in='$ac_file_inputs'
|
9201 | |
ac_out='"$tmp/out1"'
|
9202 | |
ac_nxt='"$tmp/out2"'
|
9203 | |
|
9204 | |
while :
|
9205 | |
do
|
9206 | |
# Write a here document:
|
9207 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
9208 | |
# First, check the format of the line:
|
9209 | |
cat >"\$tmp/defines.sed" <<\\CEOF
|
9210 | |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
9211 | |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
9212 | |
b
|
9213 | |
:def
|
9214 | |
_ACEOF
|
9215 | |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
9216 | |
echo 'CEOF
|
9217 | |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
9218 | |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
9219 | |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
9220 | |
grep . conftest.tail >/dev/null || break
|
9221 | |
rm -f conftest.defines
|
9222 | |
mv conftest.tail conftest.defines
|
9223 | |
done
|
9224 | |
rm -f conftest.defines conftest.tail
|
9225 | |
|
9226 | |
echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
9227 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
9228 | 6657 |
if test x"$ac_file" != x-; then
|
9229 | |
echo "/* $configure_input */" >"$tmp/config.h"
|
9230 | |
cat "$ac_result" >>"$tmp/config.h"
|
9231 | |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
9232 | |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
9233 | |
echo "$as_me: $ac_file is unchanged" >&6;}
|
|
6658 |
{
|
|
6659 |
$as_echo "/* $configure_input */" \
|
|
6660 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
|
6661 |
} >"$tmp/config.h" \
|
|
6662 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
6663 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
|
6664 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
6665 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
9234 | 6666 |
else
|
9235 | |
rm -f $ac_file
|
9236 | |
mv "$tmp/config.h" $ac_file
|
|
6667 |
rm -f "$ac_file"
|
|
6668 |
mv "$tmp/config.h" "$ac_file" \
|
|
6669 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
9237 | 6670 |
fi
|
9238 | 6671 |
else
|
9239 | |
echo "/* $configure_input */"
|
9240 | |
cat "$ac_result"
|
|
6672 |
$as_echo "/* $configure_input */" \
|
|
6673 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
|
6674 |
|| as_fn_error "could not create -" "$LINENO" 5
|
9241 | 6675 |
fi
|
9242 | |
rm -f "$tmp/out12"
|
9243 | |
# Compute $ac_file's index in $config_headers.
|
|
6676 |
# Compute "$ac_file"'s index in $config_headers.
|
|
6677 |
_am_arg="$ac_file"
|
9244 | 6678 |
_am_stamp_count=1
|
9245 | 6679 |
for _am_header in $config_headers :; do
|
9246 | 6680 |
case $_am_header in
|
9247 | |
$ac_file | $ac_file:* )
|
|
6681 |
$_am_arg | $_am_arg:* )
|
9248 | 6682 |
break ;;
|
9249 | 6683 |
* )
|
9250 | 6684 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
9251 | 6685 |
esac
|
9252 | 6686 |
done
|
9253 | |
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
|
9254 | |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
9255 | |
X$ac_file : 'X\(//\)[^/]' \| \
|
9256 | |
X$ac_file : 'X\(//\)$' \| \
|
9257 | |
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
|
9258 | |
echo X$ac_file |
|
|
6687 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
|
6688 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
6689 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
6690 |
X"$_am_arg" : 'X\(//\)$' \| \
|
|
6691 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
|
6692 |
$as_echo X"$_am_arg" |
|
9259 | 6693 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9260 | 6694 |
s//\1/
|
9261 | 6695 |
q
|
|
9275 | 6709 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
9276 | 6710 |
;;
|
9277 | 6711 |
|
9278 | |
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
9279 | |
echo "$as_me: executing $ac_file commands" >&6;}
|
|
6712 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
6713 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
9280 | 6714 |
;;
|
9281 | 6715 |
esac
|
9282 | 6716 |
|
9283 | 6717 |
|
9284 | 6718 |
case $ac_file$ac_mode in
|
9285 | |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
9286 | |
# Strip MF so we end up with the name of the file.
|
9287 | |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
9288 | |
# Check whether this is an Automake generated Makefile or not.
|
9289 | |
# We used to match only the files named `Makefile.in', but
|
9290 | |
# some people rename them; so instead we look at the file content.
|
9291 | |
# Grep'ing the first line is not enough: some people post-process
|
9292 | |
# each Makefile.in and add a new line on top of each file to say so.
|
9293 | |
# So let's grep whole file.
|
9294 | |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
9295 | |
dirpart=`$as_dirname -- "$mf" ||
|
|
6719 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
6720 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
6721 |
# are listed without --file. Let's play safe and only enable the eval
|
|
6722 |
# if we detect the quoting.
|
|
6723 |
case $CONFIG_FILES in
|
|
6724 |
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
6725 |
*) set x $CONFIG_FILES ;;
|
|
6726 |
esac
|
|
6727 |
shift
|
|
6728 |
for mf
|
|
6729 |
do
|
|
6730 |
# Strip MF so we end up with the name of the file.
|
|
6731 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
6732 |
# Check whether this is an Automake generated Makefile or not.
|
|
6733 |
# We used to match only the files named `Makefile.in', but
|
|
6734 |
# some people rename them; so instead we look at the file content.
|
|
6735 |
# Grep'ing the first line is not enough: some people post-process
|
|
6736 |
# each Makefile.in and add a new line on top of each file to say so.
|
|
6737 |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
6738 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
6739 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
6740 |
dirpart=`$as_dirname -- "$mf" ||
|
9296 | 6741 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
9297 | 6742 |
X"$mf" : 'X\(//\)[^/]' \| \
|
9298 | 6743 |
X"$mf" : 'X\(//\)$' \| \
|
9299 | 6744 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
9300 | |
echo X"$mf" |
|
|
6745 |
$as_echo X"$mf" |
|
9301 | 6746 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9302 | 6747 |
s//\1/
|
9303 | 6748 |
q
|
|
9315 | 6760 |
q
|
9316 | 6761 |
}
|
9317 | 6762 |
s/.*/./; q'`
|
9318 | |
else
|
9319 | |
continue
|
9320 | |
fi
|
9321 | |
# Extract the definition of DEPDIR, am__include, and am__quote
|
9322 | |
# from the Makefile without running `make'.
|
9323 | |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
9324 | |
test -z "$DEPDIR" && continue
|
9325 | |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
9326 | |
test -z "am__include" && continue
|
9327 | |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
9328 | |
# When using ansi2knr, U may be empty or an underscore; expand it
|
9329 | |
U=`sed -n 's/^U = //p' < "$mf"`
|
9330 | |
# Find all dependency output files, they are included files with
|
9331 | |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
9332 | |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
9333 | |
# expansion.
|
9334 | |
for file in `sed -n "
|
9335 | |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
9336 | |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
9337 | |
# Make sure the directory exists.
|
9338 | |
test -f "$dirpart/$file" && continue
|
9339 | |
fdir=`$as_dirname -- "$file" ||
|
|
6763 |
else
|
|
6764 |
continue
|
|
6765 |
fi
|
|
6766 |
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
6767 |
# from the Makefile without running `make'.
|
|
6768 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
6769 |
test -z "$DEPDIR" && continue
|
|
6770 |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
6771 |
test -z "am__include" && continue
|
|
6772 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
6773 |
# When using ansi2knr, U may be empty or an underscore; expand it
|
|
6774 |
U=`sed -n 's/^U = //p' < "$mf"`
|
|
6775 |
# Find all dependency output files, they are included files with
|
|
6776 |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
6777 |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
6778 |
# expansion.
|
|
6779 |
for file in `sed -n "
|
|
6780 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
6781 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
6782 |
# Make sure the directory exists.
|
|
6783 |
test -f "$dirpart/$file" && continue
|
|
6784 |
fdir=`$as_dirname -- "$file" ||
|
9340 | 6785 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
9341 | 6786 |
X"$file" : 'X\(//\)[^/]' \| \
|
9342 | 6787 |
X"$file" : 'X\(//\)$' \| \
|
9343 | 6788 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
9344 | |
echo X"$file" |
|
|
6789 |
$as_echo X"$file" |
|
9345 | 6790 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9346 | 6791 |
s//\1/
|
9347 | 6792 |
q
|
|
9359 | 6804 |
q
|
9360 | 6805 |
}
|
9361 | 6806 |
s/.*/./; q'`
|
9362 | |
{ as_dir=$dirpart/$fdir
|
9363 | |
case $as_dir in #(
|
9364 | |
-*) as_dir=./$as_dir;;
|
9365 | |
esac
|
9366 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
9367 | |
as_dirs=
|
9368 | |
while :; do
|
9369 | |
case $as_dir in #(
|
9370 | |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
9371 | |
*) as_qdir=$as_dir;;
|
9372 | |
esac
|
9373 | |
as_dirs="'$as_qdir' $as_dirs"
|
9374 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
9375 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
9376 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
9377 | |
X"$as_dir" : 'X\(//\)$' \| \
|
9378 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
9379 | |
echo X"$as_dir" |
|
9380 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
9381 | |
s//\1/
|
9382 | |
q
|
9383 | |
}
|
9384 | |
/^X\(\/\/\)[^/].*/{
|
9385 | |
s//\1/
|
9386 | |
q
|
9387 | |
}
|
9388 | |
/^X\(\/\/\)$/{
|
9389 | |
s//\1/
|
9390 | |
q
|
9391 | |
}
|
9392 | |
/^X\(\/\).*/{
|
9393 | |
s//\1/
|
9394 | |
q
|
9395 | |
}
|
9396 | |
s/.*/./; q'`
|
9397 | |
test -d "$as_dir" && break
|
|
6807 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
|
6808 |
# echo "creating $dirpart/$file"
|
|
6809 |
echo '# dummy' > "$dirpart/$file"
|
9398 | 6810 |
done
|
9399 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
9400 | |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
9401 | |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
9402 | |
{ (exit 1); exit 1; }; }; }
|
9403 | |
# echo "creating $dirpart/$file"
|
9404 | |
echo '# dummy' > "$dirpart/$file"
|
9405 | 6811 |
done
|
9406 | |
done
|
|
6812 |
}
|
9407 | 6813 |
;;
|
9408 | 6814 |
|
9409 | 6815 |
esac
|
9410 | 6816 |
done # for ac_tag
|
9411 | 6817 |
|
9412 | 6818 |
|
9413 | |
{ (exit 0); exit 0; }
|
9414 | |
_ACEOF
|
9415 | |
chmod +x $CONFIG_STATUS
|
|
6819 |
as_fn_exit 0
|
|
6820 |
_ACEOF
|
9416 | 6821 |
ac_clean_files=$ac_clean_files_save
|
|
6822 |
|
|
6823 |
test $ac_write_fail = 0 ||
|
|
6824 |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
9417 | 6825 |
|
9418 | 6826 |
|
9419 | 6827 |
# configure is writing to config.log, and then calls config.status.
|
|
9434 | 6842 |
exec 5>>config.log
|
9435 | 6843 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
9436 | 6844 |
# would make configure fail if this is the last instruction.
|
9437 | |
$ac_cs_success || { (exit 1); exit 1; }
|
9438 | |
fi
|
9439 | |
|
9440 | |
|
|
6845 |
$ac_cs_success || as_fn_exit $?
|
|
6846 |
fi
|
|
6847 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
6848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
6849 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
6850 |
fi
|
|
6851 |
|
|
6852 |
|